mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-06 04:44:21 +01:00
Merge branch 'main' into feat/walkthrough-plan-explain
Resolve ChangesWalkthroughSheet conflicts by keeping main's overview/paging model and the branch's source picker, per-stop status, and mechanical hunks.
This commit is contained in:
commit
b01d3ab6db
21 files changed
+390
-121
No files matched your search
@@ -34,6 +34,7 @@ type ReplayEventType = 'permission.asked' | 'form.created' | 'session.status'
|
||||
|
||||
const { RECONNECT_DELAY_MS, MAX_RECONNECT_DELAY_MS } = DEFAULTS.SSE
|
||||
const MULTILINE_PATTERN = /[\r\n]/
|
||||
const LOCATION_CATALOG_EVENT_TYPES = new Set(['command.updated', 'agent.updated', 'skill.updated'])
|
||||
|
||||
function serializeEnvelope(directory: string | null, payloadJson: string): string {
|
||||
return '{"directory":' + JSON.stringify(directory) + ',"payload":' + payloadJson + '}'
|
||||
@@ -434,7 +435,11 @@ class SSEAggregator {
|
||||
}
|
||||
|
||||
if (directory) {
|
||||
this.deliverEvent(directory, event, payloadJson)
|
||||
if (LOCATION_CATALOG_EVENT_TYPES.has(event.type)) {
|
||||
this.deliverResolvedEvent(directory, event, payloadJson)
|
||||
} else {
|
||||
this.deliverEvent(directory, event, payloadJson)
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user