arco-workbench 0.1.5 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +9 -0
- package/README.md +17 -5
- package/client/dist/assets/{PhosphorBackdrop-D6cbmLNY.js → PhosphorBackdrop-DVQdBrTw.js} +1 -1
- package/client/dist/assets/{ThemedBackgroundShaderImpl-2dyerOi4.js → ThemedBackgroundShaderImpl-BfSs2tB4.js} +1 -1
- package/client/dist/assets/{XtermView-AIwo7O3D.js → XtermView-DaMjC8Ny.js} +1 -1
- package/client/dist/assets/{galleryEditor-DXAuxS8D.js → galleryEditor-BCQnXj7R.js} +1 -1
- package/client/dist/assets/{index-8j6p-pmQ.js → index-COfbHCYv.js} +245 -243
- package/client/dist/index.html +1 -1
- package/client/src/alerts/desktopAlerts.ts +13 -0
- package/client/src/buildCheck.ts +3 -1
- package/client/src/components/AppUpdateNotice.tsx +2 -1
- package/client/src/components/ClusterRightPanel/AutoPickupControl.tsx +46 -11
- package/client/src/components/ClusterRightPanel/MemberRow.tsx +1 -1
- package/client/src/components/ClusterRightPanel/index.tsx +2 -1
- package/client/src/components/ClusterTaskBoardTab.tsx +54 -3
- package/client/src/components/ContextMeter.tsx +7 -0
- package/client/src/components/HeaderVersionBox.tsx +7 -4
- package/client/src/components/Home/HomeView.tsx +1 -1
- package/client/src/components/NeedsYouBadge.tsx +31 -16
- package/client/src/components/OperatorQuestionNotice.tsx +10 -1
- package/client/src/components/ProvidersPopover.tsx +23 -12
- package/client/src/components/TabBar.tsx +11 -8
- package/client/src/components/TabStatusChip.tsx +8 -7
- package/client/src/components/UpdateAction.tsx +18 -4
- package/client/src/components/UpdateResultNotice.tsx +3 -1
- package/client/src/components/clusterNeedsYou.ts +27 -8
- package/client/src/help/content/cluster.tsx +50 -27
- package/client/src/help/content/composer.tsx +8 -1
- package/client/src/help/content/header.tsx +25 -14
- package/client/src/help/content/misc.tsx +8 -0
- package/client/src/help/content/rightPanel.tsx +1 -1
- package/client/src/help/content/settings.tsx +1 -1
- package/client/src/help/content/tabbar.tsx +2 -1
- package/client/src/help/manualSections/clusters.tsx +78 -19
- package/client/src/help/manualSections/configuration.tsx +20 -4
- package/client/src/help/manualSections/gettingStarted.tsx +10 -0
- package/client/src/help/manualSections/maintenance.tsx +50 -8
- package/client/src/help/manualSections/plans.tsx +5 -1
- package/client/src/help/manualSections/providers.tsx +10 -3
- package/client/src/help/manualSections/reference.tsx +1 -1
- package/client/src/help/manualSections/workflows.tsx +20 -0
- package/client/src/help/manualSections/workspace.tsx +7 -1
- package/client/src/questions/waitingQuestion.ts +3 -2
- package/client/src/stores/appStore.ts +1 -1
- package/client/src/stores/appStore.types.ts +1 -0
- package/client/src/stores/appUpdateStore.ts +29 -8
- package/client/src/stores/notificationStore.ts +2 -0
- package/client/src/utils/activityPresentation.ts +1 -1
- package/client/src/utils/tabStatus.ts +8 -0
- package/client/src/utils/wsSession.ts +2 -1
- package/client/src/voice/commands.ts +4 -3
- package/client/src/voice/executor.ts +3 -3
- package/client/src/ws/handleServerMessage.ts +22 -2
- package/client/src/ws/operatorQuestions.ts +2 -0
- package/docs/CLIENT.md +3 -3
- package/docs/FEATURES.md +1 -1
- package/docs/GETTING_STARTED.md +16 -6
- package/docs/GLOSSARY.md +6 -2
- package/docs/GOTCHAS.md +17 -5
- package/docs/OPERATIONS.md +207 -5
- package/docs/PERSISTENCE.md +22 -1
- package/docs/PRIMITIVES.md +1 -1
- package/docs/PROTOCOL.md +1 -1
- package/docs/PROTOCOL_CLUSTER.md +18 -7
- package/docs/PROVIDERS.md +10 -5
- package/docs/SETTINGS.md +4 -2
- package/docs/TASK_LEDGER.md +6 -0
- package/docs/VOICE.md +2 -0
- package/native/darwin-arm64/manifest.json +1 -1
- package/native/win32-arm64/manifest.json +1 -1
- package/node_modules/@arco/shared/dist/clusterRolePresets.d.ts +1 -1
- package/node_modules/@arco/shared/dist/clusterRolePresets.js +10 -0
- package/node_modules/@arco/shared/dist/protocol/autoPickup.d.ts +3 -0
- package/node_modules/@arco/shared/dist/protocol/autoPickup.js +9 -1
- package/node_modules/@arco/shared/dist/protocol/clientMessages.d.ts +2 -2
- package/node_modules/@arco/shared/dist/protocol/models.d.ts +6 -0
- package/node_modules/@arco/shared/dist/protocol/notifications.d.ts +4 -0
- package/node_modules/@arco/shared/dist/protocol/operatorQuestions.d.ts +12 -0
- package/node_modules/@arco/shared/dist/protocol/serverMessages.d.ts +9 -3
- package/node_modules/@arco/shared/dist/protocol/workflows.d.ts +1 -0
- package/node_modules/@arco/shared/package.json +1 -1
- package/package.json +2 -2
- package/scripts/packaging/arco.mjs +1 -0
- package/scripts/packaging/native-repair.mjs +46 -8
- package/scripts/packaging/update.mjs +5 -1
- package/server/dist/attention.d.ts +1 -1
- package/server/dist/attention.js +6 -4
- package/server/dist/capabilities.d.ts +9 -8
- package/server/dist/capabilities.js +71 -102
- package/server/dist/cliUpdateDecision.d.ts +34 -0
- package/server/dist/cliUpdateDecision.js +152 -0
- package/server/dist/clusterAutoTurn.d.ts +4 -0
- package/server/dist/clusterAutoTurn.js +29 -25
- package/server/dist/clusterBusyReminder.js +1 -1
- package/server/dist/clusterDirector.js +1 -0
- package/server/dist/clusterPeerOps.js +2 -2
- package/server/dist/clusterStore.d.ts +3 -0
- package/server/dist/clusterStore.js +22 -0
- package/server/dist/defaults/models.md +1 -1
- package/server/dist/fileAccessPolicy.js +7 -5
- package/server/dist/http/workflowDataRoutes.js +1 -1
- package/server/dist/index.js +5 -1
- package/server/dist/primitives/seedWorker.d.ts +1 -0
- package/server/dist/primitives/seedWorker.js +2 -1
- package/server/dist/providerConversation.d.ts +9 -0
- package/server/dist/providerConversation.js +80 -0
- package/server/dist/providers/claude-native/retainedContext.d.ts +4 -0
- package/server/dist/providers/claude-native/retainedContext.js +20 -0
- package/server/dist/providers/claude-native/worker.d.ts +1 -0
- package/server/dist/providers/claude-native/worker.js +34 -6
- package/server/dist/providers/codex-appserver/operatorQuestions.d.ts +5 -0
- package/server/dist/providers/codex-appserver/operatorQuestions.js +30 -0
- package/server/dist/providers/codex-appserver/worker.js +9 -4
- package/server/dist/providers/ollama.js +2 -3
- package/server/dist/server/broadcast.d.ts +1 -1
- package/server/dist/smartPickup.d.ts +2 -1
- package/server/dist/smartPickup.js +28 -1
- package/server/dist/smartPickupAdapters.d.ts +1 -0
- package/server/dist/smartPickupAdapters.js +18 -5
- package/server/dist/smartPickupLedger.js +6 -4
- package/server/dist/smartPickupObserver.d.ts +1 -0
- package/server/dist/smartPickupObserver.js +69 -23
- package/server/dist/workers/WorkerManager.d.ts +1 -0
- package/server/dist/workers/WorkerManager.js +1 -0
- package/server/dist/workers/limits.js +6 -2
- package/server/dist/workflowMeta.d.ts +11 -1
- package/server/dist/workflowMeta.js +132 -6
- package/server/dist/workflows/types.d.ts +1 -0
- package/server/dist/ws/clusterHandlers.d.ts +1 -0
- package/server/dist/ws/clusterHandlers.js +2 -1
- package/server/dist/ws/compactHandlers.d.ts +1 -1
- package/server/dist/ws/compactHandlers.js +11 -4
- package/server/dist/ws/handoffHandlers.js +16 -6
- package/server/dist/ws/operatorQuestionHandlers.d.ts +2 -1
- package/server/dist/ws/operatorQuestionHandlers.js +9 -1
- package/server/dist/ws/turnEngine.d.ts +2 -4
- package/server/dist/ws/turnEngine.js +88 -129
- package/server/package.json +1 -1
- package/server/src/attention.ts +5 -4
- package/server/src/capabilities.ts +70 -111
- package/server/src/cliUpdateDecision.ts +159 -0
- package/server/src/clusterAutoTurn.ts +26 -21
- package/server/src/clusterBusyReminder.ts +1 -1
- package/server/src/clusterDirector.ts +1 -0
- package/server/src/clusterPeerOps.ts +2 -2
- package/server/src/clusterStore.ts +26 -1
- package/server/src/defaults/models.md +1 -1
- package/server/src/fileAccessPolicy.ts +7 -5
- package/server/src/http/workflowDataRoutes.ts +1 -1
- package/server/src/index.ts +5 -1
- package/server/src/primitives/seedWorker.ts +3 -1
- package/server/src/providerConversation.ts +71 -0
- package/server/src/providers/claude-native/retainedContext.ts +22 -0
- package/server/src/providers/claude-native/worker.ts +33 -5
- package/server/src/providers/codex-appserver/operatorQuestions.ts +24 -0
- package/server/src/providers/codex-appserver/worker.ts +8 -4
- package/server/src/providers/ollama.ts +2 -3
- package/server/src/smartPickup.ts +27 -3
- package/server/src/smartPickupAdapters.ts +19 -5
- package/server/src/smartPickupLedger.ts +6 -4
- package/server/src/smartPickupObserver.ts +51 -17
- package/server/src/workers/WorkerManager.ts +2 -0
- package/server/src/workers/limits.ts +7 -2
- package/server/src/workflowMeta.ts +139 -5
- package/server/src/workflows/types.ts +1 -0
- package/server/src/ws/clusterHandlers.ts +3 -2
- package/server/src/ws/compactHandlers.ts +9 -3
- package/server/src/ws/handoffHandlers.ts +13 -6
- package/server/src/ws/operatorQuestionHandlers.ts +10 -2
- package/server/src/ws/turnEngine.ts +80 -135
- package/shared/dist/clusterRolePresets.d.ts +1 -1
- package/shared/dist/clusterRolePresets.js +10 -0
- package/shared/dist/protocol/autoPickup.d.ts +3 -0
- package/shared/dist/protocol/autoPickup.js +9 -1
- package/shared/dist/protocol/clientMessages.d.ts +2 -2
- package/shared/dist/protocol/models.d.ts +6 -0
- package/shared/dist/protocol/notifications.d.ts +4 -0
- package/shared/dist/protocol/operatorQuestions.d.ts +12 -0
- package/shared/dist/protocol/serverMessages.d.ts +9 -3
- package/shared/dist/protocol/workflows.d.ts +1 -0
- package/shared/src/clusterRolePresets.ts +11 -1
- package/shared/src/protocol/autoPickup.ts +14 -1
- package/shared/src/protocol/clientMessages.ts +2 -1
- package/shared/src/protocol/models.ts +5 -2
- package/shared/src/protocol/notifications.ts +5 -0
- package/shared/src/protocol/operatorQuestions.ts +13 -0
- package/shared/src/protocol/serverMessages.ts +12 -2
- package/shared/src/protocol/workflows.ts +4 -0
|
@@ -75,7 +75,7 @@ export const SMART_PICKUP_LIMIT_SPECS: Record<keyof SmartPickupLimits, SmartPick
|
|
|
75
75
|
callsPerMemberHour: { default: 3, min: 1, max: 60, label: 'Evaluator requests per hour, each member', unit: 'per hour' },
|
|
76
76
|
wakesPerMemberHour: { default: 3, min: 1, max: 60, label: 'Automatic wakes per hour, each member', unit: 'per hour' },
|
|
77
77
|
wakesPerSession: { default: 12, min: 1, max: 200, label: 'Automatic wakes per armed session', unit: 'wakes' },
|
|
78
|
-
sessionMinutes: { default: 30, min: 5, max:
|
|
78
|
+
sessionMinutes: { default: 30, min: 5, max: 240, label: 'Armed session length', unit: 'minutes' },
|
|
79
79
|
timeoutSeconds: { default: 30, min: 5, max: 120, label: 'Evaluator time limit', unit: 'seconds' },
|
|
80
80
|
maxInputBytes: { default: 12288, min: 2048, max: 65536, label: 'Most mail and context sent per request', unit: 'bytes' },
|
|
81
81
|
maxOutputTokens: { default: 64, min: 16, max: 512, label: 'Longest evaluator answer', unit: 'tokens' },
|
|
@@ -89,12 +89,20 @@ export const DEFAULT_SMART_PICKUP_LIMITS: SmartPickupLimits = Object.fromEntries
|
|
|
89
89
|
|
|
90
90
|
// Whole numbers within each limit's bounds; anything missing or invalid reads
|
|
91
91
|
// as the default, so a hand-edited file can never raise a limit past its max.
|
|
92
|
+
// Previously valid longer session lengths instead clamp to the new ceiling.
|
|
92
93
|
export function sanitizeSmartPickupLimits(raw: unknown): SmartPickupLimits {
|
|
93
94
|
const r = raw && typeof raw === 'object' ? raw as Record<string, unknown> : {};
|
|
94
95
|
const out = { ...DEFAULT_SMART_PICKUP_LIMITS };
|
|
95
96
|
for (const key of SMART_PICKUP_LIMIT_KEYS) {
|
|
96
97
|
const spec = SMART_PICKUP_LIMIT_SPECS[key];
|
|
97
98
|
const value = r[key];
|
|
99
|
+
// Older saved sessions allowed up to eight hours. Preserve the chosen
|
|
100
|
+
// longer duration at the new four-hour ceiling instead of resetting it
|
|
101
|
+
// to the thirty-minute default when the saved limits are read again.
|
|
102
|
+
if (key === 'sessionMinutes' && typeof value === 'number' && Number.isInteger(value) && value > spec.max) {
|
|
103
|
+
out[key] = spec.max;
|
|
104
|
+
continue;
|
|
105
|
+
}
|
|
98
106
|
if (typeof value === 'number' && Number.isInteger(value) && value >= spec.min && value <= spec.max) out[key] = value;
|
|
99
107
|
}
|
|
100
108
|
return out;
|
|
@@ -148,6 +156,8 @@ export interface SmartPickupCounters {
|
|
|
148
156
|
|
|
149
157
|
export interface ClusterAutoPickupState {
|
|
150
158
|
remindBusy?: boolean;
|
|
159
|
+
paused?: boolean;
|
|
160
|
+
pausedAt?: number;
|
|
151
161
|
mode: AutoPickupMode;
|
|
152
162
|
limits: SmartPickupLimits;
|
|
153
163
|
evaluator?: SmartPickupEvaluator;
|
|
@@ -163,6 +173,7 @@ export interface ClusterAutoPickupState {
|
|
|
163
173
|
|
|
164
174
|
// Operator sets the mode. Smart modes need an evaluator; limits are
|
|
165
175
|
// optional and default per SMART_PICKUP_LIMIT_SPECS.
|
|
176
|
+
// A pause-only request keeps the current mode and omits arming fields.
|
|
166
177
|
export interface ClusterAutoPickupSetMessage {
|
|
167
178
|
type: 'cluster_auto_pickup_set';
|
|
168
179
|
clusterId: string;
|
|
@@ -171,6 +182,8 @@ export interface ClusterAutoPickupSetMessage {
|
|
|
171
182
|
limits?: Partial<SmartPickupLimits>;
|
|
172
183
|
ruleLimits?: Partial<RulePickupLimits>;
|
|
173
184
|
resumeRule?: boolean;
|
|
185
|
+
// Pause/resume the current mode without rearming or resetting its budgets.
|
|
186
|
+
paused?: boolean;
|
|
174
187
|
remindBusy?: boolean;
|
|
175
188
|
}
|
|
176
189
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// ── Client → Server messages ──
|
|
2
2
|
|
|
3
3
|
import type { AutomaticMessageKind } from './chat.js';
|
|
4
|
-
import type { OperatorQuestionReplyMessage } from './operatorQuestions.js';
|
|
4
|
+
import type { OperatorQuestionReplyMessage, OperatorQuestionDismissMessage } from './operatorQuestions.js';
|
|
5
5
|
import type { VoiceToolResultMessage, ComputerContextControlMessage } from './voiceOperator.js';
|
|
6
6
|
|
|
7
7
|
import type { HubLinkSetEnabledMessage } from './remoteManagement.js';
|
|
@@ -548,6 +548,7 @@ export type ClientMessage =
|
|
|
548
548
|
| PlanDetachMessage
|
|
549
549
|
| SetPreviewPortMessage
|
|
550
550
|
| ClearPreviewPortMessage
|
|
551
|
+
| OperatorQuestionDismissMessage
|
|
551
552
|
| OperatorQuestionReplyMessage
|
|
552
553
|
| VoiceToolResultMessage
|
|
553
554
|
| AskUserQuestionReplyMessage
|
|
@@ -645,11 +645,14 @@ export const CLAUDE_MODEL_EFFORTS: Record<string, EffortLevel[]> = {
|
|
|
645
645
|
haiku: ['low', 'medium', 'high'],
|
|
646
646
|
};
|
|
647
647
|
|
|
648
|
+
export type CliUpdateOutcome = 'updated' | 'current' | 'unchanged' | 'deferred' | 'manual' | 'failed';
|
|
649
|
+
|
|
648
650
|
export interface Capabilities {
|
|
649
651
|
efforts: EffortLevel[];
|
|
650
652
|
models: ModelName[];
|
|
651
653
|
cliVersion: string;
|
|
652
654
|
codexVersion?: string;
|
|
655
|
+
codexUpdate?: { kind: 'standalone' | 'npm' | 'unknown'; updateAvailable: boolean; instruction?: string };
|
|
653
656
|
// `cursor-agent --version` — date-stamped (e.g. "2026.07.08-0c04a8a"), not
|
|
654
657
|
// semver, and not npm-installed, so there's no upstream `latestVersions.cursor`
|
|
655
658
|
// and no self-update path: display-only in the PROVIDERS popover.
|
|
@@ -658,8 +661,8 @@ export interface Capabilities {
|
|
|
658
661
|
strataVersion?: string;
|
|
659
662
|
// Xolotl checkout revision; source tracking, not a claim about a rebuilt binary.
|
|
660
663
|
xolotlRevision?: string;
|
|
661
|
-
// Latest
|
|
662
|
-
// npm
|
|
664
|
+
// Latest versions from the selected update source (Codex's installation
|
|
665
|
+
// decision, npm for Claude, GitHub Releases for Ollama). Best-effort: any
|
|
663
666
|
// probe failure leaves that key undefined and the UI falls back to the
|
|
664
667
|
// installed-only display. Refreshed on the same cadence as the local
|
|
665
668
|
// CLI re-probe.
|
|
@@ -185,3 +185,8 @@ export interface AttentionEventMessage {
|
|
|
185
185
|
// Short turns and filtered cluster members can still produce in-app notices.
|
|
186
186
|
desktopEligible?: boolean;
|
|
187
187
|
}
|
|
188
|
+
|
|
189
|
+
export interface AttentionQuestionClosedMessage {
|
|
190
|
+
type: 'attention_question_closed';
|
|
191
|
+
requestId: string;
|
|
192
|
+
}
|
|
@@ -38,3 +38,16 @@ export interface OperatorQuestionReplyResultMessage {
|
|
|
38
38
|
ok: boolean;
|
|
39
39
|
error?: string;
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
export interface OperatorQuestionDismissMessage {
|
|
43
|
+
type: 'operator_question_dismiss';
|
|
44
|
+
workflowId: string;
|
|
45
|
+
requestId: string;
|
|
46
|
+
}
|
|
47
|
+
export interface OperatorQuestionDismissResultMessage {
|
|
48
|
+
type: 'operator_question_dismiss_result';
|
|
49
|
+
workflowId: string;
|
|
50
|
+
requestId: string;
|
|
51
|
+
ok: boolean;
|
|
52
|
+
error?: string;
|
|
53
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OutputSavedMessage } from '../outputs.js';
|
|
2
2
|
// ── Server → Client messages ──
|
|
3
3
|
|
|
4
|
-
import type { OperatorQuestionMessage, OperatorQuestionReplyResultMessage, OperatorQuestionState } from './operatorQuestions.js';
|
|
4
|
+
import type { OperatorQuestionMessage, OperatorQuestionReplyResultMessage, OperatorQuestionDismissResultMessage, OperatorQuestionState } from './operatorQuestions.js';
|
|
5
5
|
import type { VoiceToolCallMessage, ComputerContextUpdatedMessage, ComputerActivityChangedMessage } from './voiceOperator.js';
|
|
6
6
|
|
|
7
7
|
import type { HubLinkStatusMessage } from './remoteManagement.js';
|
|
@@ -32,7 +32,7 @@ import type { DocEditStartedMessage, DocEditProposedMessage } from './docEdit.js
|
|
|
32
32
|
import type { MdTuneupStartedMessage, MdTuneupProposedMessage, MdTuneupAppliedMessage, MdTuneupCandidatesMessage, MdTuneupUndoneMessage } from './mdTuneup.js';
|
|
33
33
|
import type { KnowledgeDistillStartedMessage, KnowledgeDistillProposedMessage } from './knowledge.js';
|
|
34
34
|
import type { RecallSummaryReadyMessage } from './recall.js';
|
|
35
|
-
import type { WorkbenchNoticeMessage, NotificationMutesMessage, AttentionEventMessage } from './notifications.js';
|
|
35
|
+
import type { WorkbenchNoticeMessage, NotificationMutesMessage, AttentionEventMessage, AttentionQuestionClosedMessage } from './notifications.js';
|
|
36
36
|
import type {
|
|
37
37
|
HandoffStartedMessage,
|
|
38
38
|
HandoffArtifactReadyMessage,
|
|
@@ -950,10 +950,17 @@ export interface ConversationChangedMessage {
|
|
|
950
950
|
note: string;
|
|
951
951
|
}
|
|
952
952
|
|
|
953
|
+
export interface ProviderConversationStateMessage {
|
|
954
|
+
type: 'provider_conversation_state';
|
|
955
|
+
workflowId: string;
|
|
956
|
+
state: 'unavailable' | 'awaiting-reading' | 'ready';
|
|
957
|
+
}
|
|
958
|
+
|
|
953
959
|
// Lossless state sync on reconnect. Tells the client what the server considers
|
|
954
960
|
// ground truth so stale client-side state snaps to truth immediately.
|
|
955
961
|
export interface WorkflowStateSnapshotMessage {
|
|
956
962
|
type: 'workflow_state_snapshot';
|
|
963
|
+
providerConversation?: 'unavailable' | 'awaiting-reading';
|
|
957
964
|
workflowId: string;
|
|
958
965
|
workers: Record<string, WorkerState>;
|
|
959
966
|
busy: boolean;
|
|
@@ -1554,6 +1561,7 @@ export type ServerMessage =
|
|
|
1554
1561
|
| QuotaStatusMessage
|
|
1555
1562
|
| TurnCancelledMessage
|
|
1556
1563
|
| WorkflowStateSnapshotMessage
|
|
1564
|
+
| ProviderConversationStateMessage
|
|
1557
1565
|
| WorkflowSessionMetadataMessage
|
|
1558
1566
|
| ReplayBatchMessage
|
|
1559
1567
|
| ShutdownMessage
|
|
@@ -1603,6 +1611,7 @@ export type ServerMessage =
|
|
|
1603
1611
|
| UltracodeFleetProgressMessage
|
|
1604
1612
|
| ContextBudgetMessage
|
|
1605
1613
|
| OperatorQuestionMessage
|
|
1614
|
+
| OperatorQuestionDismissResultMessage
|
|
1606
1615
|
| OperatorQuestionReplyResultMessage
|
|
1607
1616
|
| VoiceToolCallMessage
|
|
1608
1617
|
| SystemNoticeMessage
|
|
@@ -1677,6 +1686,7 @@ export type ServerMessage =
|
|
|
1677
1686
|
| WorkbenchNoticeMessage
|
|
1678
1687
|
| NotificationMutesMessage
|
|
1679
1688
|
| AttentionEventMessage
|
|
1689
|
+
| AttentionQuestionClosedMessage
|
|
1680
1690
|
| HubLinkStatusMessage;
|
|
1681
1691
|
|
|
1682
1692
|
// Phase 0 — typed envelope for events read off events.jsonl or received over
|
|
@@ -575,6 +575,10 @@ export interface WorkerConfig {
|
|
|
575
575
|
// first real reply rather than landing inside the ack.
|
|
576
576
|
// In-process callback only; not serialized.
|
|
577
577
|
drainSteer?: () => SteerItem[];
|
|
578
|
+
// Server-local, non-destructive view of the same eligible queue objects.
|
|
579
|
+
// Native uses their identity to show one notice per held message without
|
|
580
|
+
// acknowledging or removing input before its safe delivery boundary.
|
|
581
|
+
peekSteer?: () => readonly SteerItem[];
|
|
578
582
|
// Phase 6b — re-enqueue hook for the Codex app-server worker. Called when
|
|
579
583
|
// a `turn/steer` round-trip fails and the drained items have to land
|
|
580
584
|
// back in a queue: `'steer'` for `activeTurnNotSteerable` (the next
|