Skip to content
This repository was archived by the owner on Jun 8, 2026. It is now read-only.

PLAN-73: Add intermediate event reporting to Electron loop harness - #40

Merged
shafty023 merged 6 commits into
mainfrom
symphony/plan-73
Mar 25, 2026
Merged

PLAN-73: Add intermediate event reporting to Electron loop harness#40
shafty023 merged 6 commits into
mainfrom
symphony/plan-73

Conversation

@shafty023

@shafty023 shafty023 commented Mar 24, 2026

Copy link
Copy Markdown
Contributor

@shafty023 shafty023 changed the title Symphony: implement plan PLAN-73: Add intermediate event reporting to Electron loop harness Mar 24, 2026
@shafty023
shafty023 requested review from thadeusb and wongk March 24, 2026 21:46
- Resolve version conflict in package.json (take 0.8.1)
- Merge fs imports: keep statSync from branch, add mkdirSync/unlinkSync/writeFileSync from main
- Merge completion handler: keep stopTailer.flush() from branch, add webAppOrigin param and enhanced error logging from main
- Patch version bump for desktop changes in this branch

Testing: typecheck passes
Risks: none
Comment thread apps/desktop/src/server/operations/output-tailer.ts Outdated
- Rename text to chunk in postLoopEvent payload to match
  the API LoopEventOutput type contract
- Update test assertion to check for data.chunk

Testing: Ran full test suite (18/18 pass), lint, typecheck

Risks: None identified
- Define ContentBlock, AssistantRecord, UserRecord,
  ContentBlockDeltaRecord, and ResultRecord types
- Export JsonlRecord discriminated union
- Refactor summarizeJsonlRecord to use switch/case over
  the typed union instead of if-chains on untyped records

Testing: All 18 tests pass, lint and typecheck clean

Risks: None identified
@shafty023
shafty023 requested a review from wongk March 25, 2026 16:46
@shafty023

Copy link
Copy Markdown
Contributor Author
image

- Tool calls now include key input (file path, command, pattern)
  e.g. 'Tool: Read(/src/server/app.ts)' instead of 'Tool: Read'
- Tool results now include a truncated preview of the output
  e.g. 'Tool result: found 3 matches...' instead of 'Tool result'

Testing: All 18 tests pass, lint and typecheck clean

Risks: None identified
@shafty023
shafty023 merged commit 3fc1867 into main Mar 25, 2026
2 checks passed
@shafty023
shafty023 deleted the symphony/plan-73 branch March 25, 2026 17:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants