Skip to content

Instantly share code, notes, and snippets.

View cdeil's full-sized avatar

Christoph Deil cdeil

View GitHub Profile
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Runner [83564]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/AF113FB9-9946-4379-A8CB-C154569BFF3A/data/Containers/Bundle/Application/E650F580-944C-4136-B654-E1FEF3336DFB/Runner.app/Runner
Identifier: de.stocadro.stocadroai
Version: 1.0.0 (1)
Code Type: ARM-64 (Native)
Role: Foreground
Parent Process: launchd_sim [79348]

VSCode Copilot Parser - Technical Summary

Implementation notes for the VSCode Copilot chat session parser in agentsview.

What's Implemented

The parser ingests VSCode Copilot chat sessions from local disk, covering:

  • VSCode Stable (~/Library/Application Support/Code/User/)
  • VSCode Insiders (~/Library/Application Support/Code - Insiders/User/)

Count Discrepancies in agentsview UI

The status bar (bottom-left) and analytics dashboard (main area) show different numbers for sessions, messages, and projects. There are three separate causes.

Sessions

  • Status bar: stats.session_count — trigger-maintained counter on INSERT/DELETE on the sessions table. Counts all sessions including empty ones (message_count = 0).
  • Dashboard: SELECT ... FROM sessions WHERE message_count > 0 AND <date/project/agent filters>. Excludes empty sessions and defaults to a 1-year date range (analytics.svelte.ts sets from = daysAgo(365)).
  • Sidebar: Like dashboard but with sidebar-specific filters and no default date range.

Swift Package Manager Support for printing Plugin

I have implemented full Swift Package Manager (SPM) support for the printing package on iOS and macOS, following the official Flutter guidelines and addressing the limitations of mixed-language targets in SPM.

Implementation Details

1. Package.swift Creation

I created printing/ios/Package.swift and printing/macos/Package.swift. These manifests define the library targets and dependencies.

2. Handling Mixed Language Limitations

Swift Package Manager Support for package:printing — Implementation Report

Summary

This report documents the implementation of Swift Package Manager (SPM) support for the printing Flutter plugin, as requested in DavBfr/dart_pdf#1778.

Flutter is migrating from CocoaPods to Swift Package Manager. CocoaPods is now in maintenance mode. This change future-proofs the printing plugin by supporting both SPM and CocoaPods.

What Was Done

Prompt

I'm running into this issue again:

Dart-Code/Dart-Code#5847 microsoft/vscode#284024

Can you please check any relevant logs or state concerning VS Code and try to figure out what happened?

Write a Markdown report with your findings.

import SwiftUI
import YOLO
struct StocadroYOLOView: View {
@State private var inputImage: UIImage = UIImage(named: "bus") ?? UIImage()
@State private var isYoloLoading: Bool = true;
@State private var yoloResult: YOLOResult?
let yolo = YOLO("yolo11n", task: .detect)
name: Integration Tests
on: [pull_request]
jobs:
android-test:
runs-on: ubuntu-latest-8-core
timeout-minutes: 25
steps:
Overwriting grammar scope name to file mapping for scope source.dart.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/dart/syntaxes/dart.tmLanguage.json.
New grammar file: file:///Users/cdeil/.vscode/extensions/dart-code.dart-code-3.114.2/syntaxes/dart.json
register @ textMateTokenization…er.workerMain.js:26
Overwriting grammar scope name to file mapping for scope source.java.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/java/syntaxes/java.tmLanguage.json.
New grammar file: file:///Users/cdeil/.vscode/extensions/redhat.java-1.43.1-darwin-arm64/language-support/java/java.tmLanguage.json
register @ textMateTokenization…er.workerMain.js:26
Overwriting grammar scope name to file mapping for scope source.groovy.
Old grammar file: file:///Applications/Visual%20Studio%20Code.app/Contents/Resources/app/extensions/groovy/syntaxes/groovy.tmLanguage.json.
log.ts:460 ERR [158] potential listener LEAK detected, having 210 listeners already. MOST frequent listener (10):: Error
at gEi.create (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:27:11906)
at $Be.q [as onDidChange] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29:1377)
at Object.u [as onWillAddFirstListener] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:409:115047)
at pce.q [as onDidChange] (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:29:1565)
at Zps.r (vscode-file://vscode-app/Applications/Visual%20Studio%20Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:679:20320)
at Zps.n (vscode-file://vscode-app/Applications/Vi