@songsid/agend 2.4.0-beta.3 → 2.4.0-beta.4
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/dist/agent-endpoint.d.ts +1 -1
- package/dist/agent-endpoint.js +8 -2
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/auth-api.d.ts +3 -0
- package/dist/auth-api.js +15 -1
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/agy-model-switch.d.ts +22 -0
- package/dist/backend/agy-model-switch.js +62 -0
- package/dist/backend/agy-model-switch.js.map +1 -0
- package/dist/backend/antigravity.js +50 -1
- package/dist/backend/antigravity.js.map +1 -1
- package/dist/backend/cli-runtime-switch.d.ts +71 -0
- package/dist/backend/cli-runtime-switch.js +176 -0
- package/dist/backend/cli-runtime-switch.js.map +1 -0
- package/dist/backend/codex-model-switch.d.ts +41 -0
- package/dist/backend/codex-model-switch.js +170 -0
- package/dist/backend/codex-model-switch.js.map +1 -0
- package/dist/backend/grok-model-switch.d.ts +16 -0
- package/dist/backend/grok-model-switch.js +45 -0
- package/dist/backend/grok-model-switch.js.map +1 -0
- package/dist/backend/grok.js +1 -1
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/muse.d.ts +2 -0
- package/dist/backend/muse.js +7 -3
- package/dist/backend/muse.js.map +1 -1
- package/dist/build-provenance.json +1 -1
- package/dist/channel/mcp-server.js +10 -1
- package/dist/channel/mcp-server.js.map +1 -1
- package/dist/channel/mcp-tools.js +8 -0
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/cli-audited.js +12 -12
- package/dist/cli-audited.js.map +1 -1
- package/dist/daemon.d.ts +47 -1
- package/dist/daemon.js +301 -20
- package/dist/daemon.js.map +1 -1
- package/dist/delivery-consumed-watch.js +3 -0
- package/dist/delivery-consumed-watch.js.map +1 -1
- package/dist/fleet-manager.d.ts +102 -0
- package/dist/fleet-manager.js +663 -25
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +2 -0
- package/dist/general-knowledge/skills/fleet-health/SKILL.md +9 -1
- package/dist/general-knowledge/skills/hub/SKILL.md +154 -0
- package/dist/general-knowledge/skills/model-discovery/SKILL.md +4 -0
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +7 -3
- package/dist/hub/admin-dashboard.d.ts +85 -0
- package/dist/hub/admin-dashboard.js +161 -0
- package/dist/hub/admin-dashboard.js.map +1 -0
- package/dist/hub/attachments/store.d.ts +2 -0
- package/dist/hub/attachments/store.js +6 -0
- package/dist/hub/attachments/store.js.map +1 -1
- package/dist/hub/client.d.ts +10 -0
- package/dist/hub/client.js +72 -10
- package/dist/hub/client.js.map +1 -1
- package/dist/hub/compose/member.d.ts +20 -0
- package/dist/hub/compose/member.js +212 -17
- package/dist/hub/compose/member.js.map +1 -1
- package/dist/hub/compose/server.d.ts +8 -0
- package/dist/hub/compose/server.js +13 -2
- package/dist/hub/compose/server.js.map +1 -1
- package/dist/hub/display-name.d.ts +10 -0
- package/dist/hub/display-name.js +35 -0
- package/dist/hub/display-name.js.map +1 -0
- package/dist/hub/execution/service.d.ts +1 -0
- package/dist/hub/execution/service.js +1 -1
- package/dist/hub/execution/service.js.map +1 -1
- package/dist/hub/fleet-info.d.ts +12 -0
- package/dist/hub/fleet-info.js +14 -0
- package/dist/hub/fleet-info.js.map +1 -0
- package/dist/hub/fleet-update-model.d.ts +100 -0
- package/dist/hub/fleet-update-model.js +15 -0
- package/dist/hub/fleet-update-model.js.map +1 -0
- package/dist/hub/fleet-updates.d.ts +46 -0
- package/dist/hub/fleet-updates.js +282 -0
- package/dist/hub/fleet-updates.js.map +1 -0
- package/dist/hub/fleet-versions.d.ts +28 -0
- package/dist/hub/fleet-versions.js +80 -0
- package/dist/hub/fleet-versions.js.map +1 -0
- package/dist/hub/http/compose.d.ts +2 -0
- package/dist/hub/http/compose.js +192 -16
- package/dist/hub/http/compose.js.map +1 -1
- package/dist/hub/http/deps.d.ts +1 -0
- package/dist/hub/http/schema.js +13 -1
- package/dist/hub/http/schema.js.map +1 -1
- package/dist/hub/member/display-name.d.ts +9 -0
- package/dist/hub/member/display-name.js +71 -0
- package/dist/hub/member/display-name.js.map +1 -0
- package/dist/hub/member/exposure-api.d.ts +4 -0
- package/dist/hub/member/exposure-api.js +8 -3
- package/dist/hub/member/exposure-api.js.map +1 -1
- package/dist/hub/member/exposures.d.ts +4 -0
- package/dist/hub/member/exposures.js +20 -0
- package/dist/hub/member/exposures.js.map +1 -1
- package/dist/hub/member/pairing-api.js +3 -2
- package/dist/hub/member/pairing-api.js.map +1 -1
- package/dist/hub/member/recommendations.d.ts +37 -0
- package/dist/hub/member/recommendations.js +129 -0
- package/dist/hub/member/recommendations.js.map +1 -0
- package/dist/hub/member/room-ask.d.ts +60 -1
- package/dist/hub/member/room-ask.js +250 -22
- package/dist/hub/member/room-ask.js.map +1 -1
- package/dist/hub/member/room-post-answers.d.ts +52 -0
- package/dist/hub/member/room-post-answers.js +152 -0
- package/dist/hub/member/room-post-answers.js.map +1 -0
- package/dist/hub/member/room-post-receipt.d.ts +21 -0
- package/dist/hub/member/room-post-receipt.js +49 -0
- package/dist/hub/member/room-post-receipt.js.map +1 -0
- package/dist/hub/member/room-post.d.ts +100 -0
- package/dist/hub/member/room-post.js +223 -0
- package/dist/hub/member/room-post.js.map +1 -0
- package/dist/hub/member/updates.d.ts +92 -0
- package/dist/hub/member/updates.js +316 -0
- package/dist/hub/member/updates.js.map +1 -0
- package/dist/hub/protocol.d.ts +658 -1
- package/dist/hub/protocol.js +90 -13
- package/dist/hub/protocol.js.map +1 -1
- package/dist/hub/published-version.d.ts +3 -0
- package/dist/hub/published-version.js +35 -0
- package/dist/hub/published-version.js.map +1 -0
- package/dist/hub/recommendation-model.d.ts +36 -0
- package/dist/hub/recommendation-model.js +9 -0
- package/dist/hub/recommendation-model.js.map +1 -0
- package/dist/hub/recommendations.d.ts +58 -0
- package/dist/hub/recommendations.js +211 -0
- package/dist/hub/recommendations.js.map +1 -0
- package/dist/hub/representative.d.ts +3 -0
- package/dist/hub/representative.js +1 -0
- package/dist/hub/representative.js.map +1 -1
- package/dist/hub/room-context-model.d.ts +43 -0
- package/dist/hub/room-context-model.js +12 -0
- package/dist/hub/room-context-model.js.map +1 -0
- package/dist/hub/rooms/agents.d.ts +41 -9
- package/dist/hub/rooms/agents.js +183 -21
- package/dist/hub/rooms/agents.js.map +1 -1
- package/dist/hub/rooms/assistant.d.ts +1 -6
- package/dist/hub/rooms/assistant.js +7 -2
- package/dist/hub/rooms/assistant.js.map +1 -1
- package/dist/hub/rooms/automation.d.ts +24 -0
- package/dist/hub/rooms/automation.js +66 -0
- package/dist/hub/rooms/automation.js.map +1 -0
- package/dist/hub/rooms/buttons.d.ts +85 -0
- package/dist/hub/rooms/buttons.js +62 -0
- package/dist/hub/rooms/buttons.js.map +1 -0
- package/dist/hub/rooms/context-cursor.d.ts +18 -0
- package/dist/hub/rooms/context-cursor.js +61 -0
- package/dist/hub/rooms/context-cursor.js.map +1 -0
- package/dist/hub/rooms/context.d.ts +1 -1
- package/dist/hub/rooms/context.js +4 -4
- package/dist/hub/rooms/context.js.map +1 -1
- package/dist/hub/rooms/mentions.d.ts +15 -0
- package/dist/hub/rooms/mentions.js +43 -0
- package/dist/hub/rooms/mentions.js.map +1 -0
- package/dist/hub/rooms/post-replies.d.ts +23 -0
- package/dist/hub/rooms/post-replies.js +114 -0
- package/dist/hub/rooms/post-replies.js.map +1 -0
- package/dist/hub/rooms/schema.d.ts +9 -0
- package/dist/hub/rooms/schema.js +43 -0
- package/dist/hub/rooms/schema.js.map +1 -1
- package/dist/hub/rooms/service.d.ts +136 -1
- package/dist/hub/rooms/service.js +727 -18
- package/dist/hub/rooms/service.js.map +1 -1
- package/dist/hub/rooms/types.d.ts +27 -3
- package/dist/hub/rooms.js +1 -1
- package/dist/hub/rooms.js.map +1 -1
- package/dist/hub/runtime.d.ts +1 -1
- package/dist/hub/runtime.js +12 -0
- package/dist/hub/runtime.js.map +1 -1
- package/dist/hub/server.d.ts +6 -1
- package/dist/hub/server.js +75 -5
- package/dist/hub/server.js.map +1 -1
- package/dist/hub/settings-directory-proof.js +22 -1
- package/dist/hub/settings-directory-proof.js.map +1 -1
- package/dist/hub/types.d.ts +133 -2
- package/dist/hub-contact-windows.d.ts +11 -0
- package/dist/hub-contact-windows.js +56 -0
- package/dist/hub-contact-windows.js.map +1 -0
- package/dist/hub-pairing-summary.d.ts +1 -1
- package/dist/hub-room-conversation.d.ts +14 -0
- package/dist/hub-room-conversation.js +60 -0
- package/dist/hub-room-conversation.js.map +1 -0
- package/dist/hub-update-notice.d.ts +12 -0
- package/dist/hub-update-notice.js +35 -0
- package/dist/hub-update-notice.js.map +1 -0
- package/dist/locale.js +56 -2
- package/dist/locale.js.map +1 -1
- package/dist/native-mcp.js +9 -6
- package/dist/native-mcp.js.map +1 -1
- package/dist/outbound-handlers.d.ts +14 -4
- package/dist/outbound-handlers.js +54 -1
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +12 -0
- package/dist/outbound-schemas.js +12 -0
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/pane-port.d.ts +2 -0
- package/dist/queued-handoffs.d.ts +16 -4
- package/dist/queued-handoffs.js +18 -1
- package/dist/queued-handoffs.js.map +1 -1
- package/dist/runtime-cli-install.js +13 -10
- package/dist/runtime-cli-install.js.map +1 -1
- package/dist/settings-api.d.ts +1 -0
- package/dist/settings-api.js +87 -0
- package/dist/settings-api.js.map +1 -1
- package/dist/tmux-manager.d.ts +2 -0
- package/dist/tmux-manager.js +2 -0
- package/dist/tmux-manager.js.map +1 -1
- package/dist/tool-permissions.js +3 -0
- package/dist/tool-permissions.js.map +1 -1
- package/dist/ui/chat-msg-actions.js +3 -222
- package/dist/ui/hub-admin-overview.js +189 -0
- package/dist/ui/hub-client.js +36 -4
- package/dist/ui/hub-fleet-versions.js +393 -0
- package/dist/ui/hub-room-agent-strings.js +28 -0
- package/dist/ui/hub-room-composer.js +5 -3
- package/dist/ui/hub-room-members-strings.js +2 -2
- package/dist/ui/hub-room-members.js +3 -2
- package/dist/ui/hub-room-notify.js +161 -0
- package/dist/ui/hub-room-search.js +126 -0
- package/dist/ui/hub-room-strings.js +46 -0
- package/dist/ui/hub-room-thread.js +239 -34
- package/dist/ui/hub-room-unread.js +2 -1
- package/dist/ui/hub-strings.js +8 -0
- package/dist/ui/image-annotate.js +2 -283
- package/dist/ui/image-lightbox.js +2 -176
- package/dist/ui/image-zoom.js +2 -242
- package/dist/ui/notice-hub-update.js +94 -0
- package/dist/ui/panel-chat.js +35 -6
- package/dist/ui/panel-hub.js +133 -19
- package/dist/ui/panel-notices.js +3 -1
- package/dist/ui/panel-settings.js +1 -1
- package/dist/ui/settings-hub-updates.js +67 -0
- package/dist/ui/settings-hub.js +28 -3
- package/dist/ui/settings-registry.js +1 -0
- package/dist/ui/settings-update.js +11 -5
- package/dist/ui/settings-web-authority.js +1 -1
- package/dist/ui/shared/app-i18n.js +2 -0
- package/dist/ui/shared/app-nav.js +6 -2
- package/dist/ui/shared/app-prefs.js +2 -1
- package/dist/ui/shared/app-shell.js +11 -1
- package/dist/ui/shared/app-update.js +90 -8
- package/dist/ui/shared/app.css +20 -0
- package/dist/ui/shared/chat-msg-actions.js +225 -0
- package/dist/ui/shared/chat-thread.js +70 -5
- package/dist/ui/shared/chat-work-bar.css +25 -13
- package/dist/ui/shared/hub-chat.css +6 -1
- package/dist/ui/shared/hub-owner.css +104 -0
- package/dist/ui/shared/hub-rooms-u2.css +16 -0
- package/dist/ui/shared/hub.css +5 -0
- package/dist/ui/shared/image-annotate.js +306 -0
- package/dist/ui/shared/image-lightbox.js +183 -0
- package/dist/ui/shared/image-zoom.js +242 -0
- package/dist/ui/shared/instance-nav.js +36 -7
- package/dist/ui/shared/view-strings.js +6 -0
- package/dist/ui/shared/web-authorize.js +2 -2
- package/dist/update-dispatch.d.ts +8 -1
- package/dist/update-dispatch.js +16 -1
- package/dist/update-dispatch.js.map +1 -1
- package/dist/update-idle.d.ts +65 -0
- package/dist/update-idle.js +190 -0
- package/dist/update-idle.js.map +1 -0
- package/dist/update-launch.d.ts +1 -1
- package/dist/update-launch.js +9 -2
- package/dist/update-launch.js.map +1 -1
- package/dist/usage/profile-timeline.d.ts +2 -0
- package/dist/usage/profile-timeline.js +4 -0
- package/dist/usage/profile-timeline.js.map +1 -1
- package/dist/web-api.js +19 -2
- package/dist/web-api.js.map +1 -1
- package/dist/web-notices.d.ts +3 -0
- package/dist/web-notices.js +17 -2
- package/dist/web-notices.js.map +1 -1
- package/dist/web-prefs.js +1 -0
- package/dist/web-prefs.js.map +1 -1
- package/dist/web-update.d.ts +15 -1
- package/package.json +1 -1
package/dist/cli-audited.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
/** Audited releases, oldest first. The last entry is the one an update goes to. A list is `readonly`: nothing at run time adds to it. */
|
|
2
2
|
export const AUDITED_CLI_VERSIONS = Object.freeze({
|
|
3
|
-
// The maintainer-confirmed ledger of 2026-11-
|
|
3
|
+
// The maintainer-confirmed ledger of 2026-11-15 (Taipei): Claude 2.1.325, Codex 0.169.0, Kiro 3.3.0, Grok 1.0.77, Antigravity 1.5.9, OpenCode 1.19.5, Muse 1.4.20-R8619.1 are
|
|
4
4
|
// the newest audited release of each. (Maintaining this shipped ledger is part of our audit PRs: when a version is marked audited, the maintainer who audits it adds it here.)
|
|
5
|
-
// 2.1.316: native persistent-pane acceptance. 2.1.318: upstream watch audit (#3048). 2.1.319: live-captured (tests/claude-cold-resume-2.1.319.test.ts).
|
|
6
|
-
"claude-code": Object.freeze(["2.1.316", "2.1.318", "2.1.319"]),
|
|
7
|
-
// 0.165.0: native persistent-pane acceptance (#2954 / #3001 / #3219). 0.166.0: upstream watch audit. 0.167.0: tests/codex-0167-audit.test.ts.
|
|
8
|
-
codex: Object.freeze(["0.165.0", "0.166.0", "0.167.0"]),
|
|
9
|
-
// tests/kiro-*-audit.test.ts: 2.29.0 … 3.1.0.
|
|
10
|
-
"kiro-cli": Object.freeze(["2.29.0", "2.29.1", "2.30.0", "2.33.0", "2.34.0", "2.37.0", "3.0.0", "3.1.0"]),
|
|
11
|
-
// tests/fixtures/agy-1.3.5-audit, agy-1.3.6-audit; 1.5.3 on the maintainer's ledger.
|
|
12
|
-
antigravity: Object.freeze(["1.3.5", "1.3.6", "1.5.3"]),
|
|
5
|
+
// 2.1.316: native persistent-pane acceptance. 2.1.318: upstream watch audit (#3048). 2.1.319: live-captured (tests/claude-cold-resume-2.1.319.test.ts). 2.1.325: upstream watch audit (tests/fixtures/claude-2.1.325-*).
|
|
6
|
+
"claude-code": Object.freeze(["2.1.316", "2.1.318", "2.1.319", "2.1.325"]),
|
|
7
|
+
// 0.165.0: native persistent-pane acceptance (#2954 / #3001 / #3219). 0.166.0: upstream watch audit. 0.167.0: tests/codex-0167-audit.test.ts. 0.169.0: tests/codex-0169-audit.test.ts (#3830).
|
|
8
|
+
codex: Object.freeze(["0.165.0", "0.166.0", "0.167.0", "0.169.0"]),
|
|
9
|
+
// tests/kiro-*-audit.test.ts: 2.29.0 … 3.1.0. 3.3.0: no detector change (M-3072, #3831), on the maintainer's ledger.
|
|
10
|
+
"kiro-cli": Object.freeze(["2.29.0", "2.29.1", "2.30.0", "2.33.0", "2.34.0", "2.37.0", "3.0.0", "3.1.0", "3.3.0"]),
|
|
11
|
+
// tests/fixtures/agy-1.3.5-audit, agy-1.3.6-audit; 1.5.3 and 1.5.9 on the maintainer's ledger.
|
|
12
|
+
antigravity: Object.freeze(["1.3.5", "1.3.6", "1.5.3", "1.5.9"]),
|
|
13
13
|
// tests/grok-1.0.*-audit.test.ts: 1.0.52 … 1.0.77.
|
|
14
14
|
grok: Object.freeze(["1.0.52", "1.0.60", "1.0.67", "1.0.70", "1.0.77"]),
|
|
15
|
-
// tests/muse-1.4.*-audit.test.ts. The newest is kept with its build (`1.4.
|
|
16
|
-
// and the page can say so. (Older entries are the numbers
|
|
17
|
-
muse: Object.freeze(["1.4.4", "1.4.6", "1.4.7", "1.4.11", "1.4.12", "1.4.13", "1.4.14-
|
|
15
|
+
// tests/muse-1.4.*-audit.test.ts. The newest is kept with its build (`1.4.20-R8619.1`, tests/fixtures/muse-1.4.20, M-3113 #3906): an installed `1.4.20-R8500.1` is not the
|
|
16
|
+
// audited release, and the page can say so. (Older entries are the numbers, without a build: 1.4.14 was R7309.1, 1.4.15 was R8339.1, tests/fixtures/muse-1.4.15.)
|
|
17
|
+
muse: Object.freeze(["1.4.4", "1.4.6", "1.4.7", "1.4.11", "1.4.12", "1.4.13", "1.4.14", "1.4.15", "1.4.20-R8619.1"]),
|
|
18
18
|
// tests/fixtures/opencode-1.18.34-*; 1.19.5 on the maintainer's ledger.
|
|
19
19
|
opencode: Object.freeze(["1.18.34", "1.19.5"]),
|
|
20
20
|
});
|
package/dist/cli-audited.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli-audited.js","sourceRoot":"","sources":["../src/cli-audited.ts"],"names":[],"mappings":"AAaA,yIAAyI;AACzI,MAAM,CAAC,MAAM,oBAAoB,GAA+C,MAAM,CAAC,MAAM,CAAC;IAC5F,
|
|
1
|
+
{"version":3,"file":"cli-audited.js","sourceRoot":"","sources":["../src/cli-audited.ts"],"names":[],"mappings":"AAaA,yIAAyI;AACzI,MAAM,CAAC,MAAM,oBAAoB,GAA+C,MAAM,CAAC,MAAM,CAAC;IAC5F,8KAA8K;IAC9K,+KAA+K;IAC/K,yNAAyN;IACzN,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAC1E,+LAA+L;IAC/L,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC;IAClE,qHAAqH;IACrH,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,QAAQ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M,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IACxG,MAAM,KAAK,GAAG,eAAe,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAClD,MAAM,KAAK,GAAmB,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;IACrF,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,IAAI,CAAC,SAAS,IAAI,KAAK,KAAK,QAAQ,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;AAClH,CAAC"}
|
package/dist/daemon.d.ts
CHANGED
|
@@ -19,6 +19,7 @@ import type { StormWindow } from "./storm-window.js";
|
|
|
19
19
|
import type { BackendOutageView } from "./backend-outage.js";
|
|
20
20
|
import { type DaemonDeliveryPort } from "./delivery-outbox.js";
|
|
21
21
|
import type { NativePaneLifecycle } from "./native-pane-lifecycle.js";
|
|
22
|
+
import { type CliSwitchWant } from "./backend/cli-runtime-switch.js";
|
|
22
23
|
import type { InteractionOwner, InteractionSnapshot } from "./backend/types.js";
|
|
23
24
|
import type { KiroLogLaunch } from "./kiro-log-gate.js";
|
|
24
25
|
/**
|
|
@@ -264,9 +265,22 @@ export type OwnSwitchOutcome = {
|
|
|
264
265
|
} | {
|
|
265
266
|
outcome: "not_confirmed";
|
|
266
267
|
shown?: string;
|
|
267
|
-
}
|
|
268
|
+
}
|
|
269
|
+
/** M-3175: `reason` says why a codex switch was not typed (busy: never idle in time; version: not a codex known to have it). */
|
|
270
|
+
| {
|
|
268
271
|
outcome: "not_sent";
|
|
272
|
+
reason?: "busy" | "version" | "command";
|
|
273
|
+
version?: string | null;
|
|
269
274
|
};
|
|
275
|
+
/** M-3175: AgEnD's own codex `/model … --reasoning=…`: what it asks for (null: leave that one as the session has it). */
|
|
276
|
+
export interface CodexOwnSwitch {
|
|
277
|
+
model: string | null;
|
|
278
|
+
effort: string | null;
|
|
279
|
+
}
|
|
280
|
+
/** M-3180: AgEnD's own one-command switch of another CLI (CLI_RUNTIME_SWITCH[backend]): one step, model or effort. */
|
|
281
|
+
export interface CliOwnSwitch extends CliSwitchWant {
|
|
282
|
+
backend: string;
|
|
283
|
+
}
|
|
270
284
|
/** #1691: a prompt no table knows must sit unchanged this long (monotonic) before it holds deliveries and is reported. */
|
|
271
285
|
export declare const UNRECOGNISED_PROMPT_STABLE_MS = 60000;
|
|
272
286
|
/**
|
|
@@ -1189,6 +1203,14 @@ export declare class Daemon extends EventEmitter {
|
|
|
1189
1203
|
* queue; anything that cannot be judged → never pasted, reported. Ownership is evidence: never pasted twice.
|
|
1190
1204
|
*/
|
|
1191
1205
|
private reconcileQueuedHandoffs;
|
|
1206
|
+
/**
|
|
1207
|
+
* M-2403: a native or remote pane's record, after this daemon came up. Its runner may have kept the CLI (and its queue)
|
|
1208
|
+
* across the coordinator's restart, so nothing here proves the queue is gone, and a runtime record is never
|
|
1209
|
+
* redelivered. Read through the runner from its checkpoint (bounded, as reconcileNativePaneTarget): taken → ✅; the
|
|
1210
|
+
* same launch still current with the marker not taken yet → watched again under this CLI; that launch gone, or its
|
|
1211
|
+
* transcript unreadable → unverifiable (reported, never pasted again).
|
|
1212
|
+
*/
|
|
1213
|
+
private reconcileRuntimeHandoff;
|
|
1192
1214
|
private finishDurableSubmission;
|
|
1193
1215
|
/**
|
|
1194
1216
|
* Finish a delivery that only the output edge vouched for, by the delivery's own marker in the CLI's transcript (#758).
|
|
@@ -1443,6 +1465,26 @@ export declare class Daemon extends EventEmitter {
|
|
|
1443
1465
|
private queueRawPaste;
|
|
1444
1466
|
/** Keep the IPC raw route's durable mode attached to the parsed attempt. */
|
|
1445
1467
|
private handleRawPasteIpcMessage;
|
|
1468
|
+
/**
|
|
1469
|
+
* M-3175: before typing a codex `/model … --reasoning=…`: the pane authoritatively idle (bounded), the RUNNING codex at a
|
|
1470
|
+
* version that has the inline form (an older one would send the line to the model as a prompt), and what the switch is
|
|
1471
|
+
* verified against afterwards — the rollout's end when the session has one, and the count of codex's answers on the pane.
|
|
1472
|
+
*/
|
|
1473
|
+
private codexSwitchGate;
|
|
1474
|
+
/**
|
|
1475
|
+
* M-3180: before typing a CLI_RUNTIME_SWITCH step: the pane authoritatively idle (bounded), the RUNNING binary at the entry's minimum
|
|
1476
|
+
* for this step, and what the verdict compares against — the scrollback before the command and the entry's record checkpoint.
|
|
1477
|
+
*/
|
|
1478
|
+
private cliSwitchGate;
|
|
1479
|
+
/** M-3180: the entry's verdict on the scrollback after the step, against the one before it; nothing in time is not confirmed. */
|
|
1480
|
+
private verifyCliSwitch;
|
|
1481
|
+
/**
|
|
1482
|
+
* M-3175: what our codex switch came to. The rollout's `thread_settings_applied` written after our checkpoint is the proof
|
|
1483
|
+
* (codex writes it at once once the session has a rollout); a session with none yet has codex's own answer on the pane —
|
|
1484
|
+
* a NEW `• Model changed to … for this session only` (or `■` refusal) after the ones counted before the line was typed.
|
|
1485
|
+
* Anything that does not name what was asked is a mismatch; no answer in time is not confirmed. The fleet restarts on both.
|
|
1486
|
+
*/
|
|
1487
|
+
private verifyCodexSwitch;
|
|
1446
1488
|
/**
|
|
1447
1489
|
* #1690 (the user's choice A): after AgEnD's own `/model <name>`, claude may ask "Switch model?" (a warm cache for
|
|
1448
1490
|
* another model). When the model it names is the one asked for, answer Yes; otherwise No (Escape — `Kept model as …`),
|
|
@@ -2833,6 +2875,10 @@ export declare class Daemon extends EventEmitter {
|
|
|
2833
2875
|
private refreshThenSave;
|
|
2834
2876
|
/** The idle-observation checkpoint: persist what is known now, look again in the background at most every 30 s. */
|
|
2835
2877
|
private checkpointSessionIdInBackground;
|
|
2878
|
+
private roomConversationState;
|
|
2879
|
+
roomConversationGeneration(): string | null;
|
|
2880
|
+
private resetRoomConversation;
|
|
2881
|
+
private roomInputHandedOff;
|
|
2836
2882
|
private saveSessionId;
|
|
2837
2883
|
private readContextPercentage;
|
|
2838
2884
|
/** Set a model override for next spawn (used by failover logic) */
|