@songsid/agend 2.3.2-beta.8 → 2.3.2
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/README.md +6 -0
- package/README.zh-TW.md +6 -0
- package/dist/agent-cli.js +48 -0
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-endpoint.js +6 -0
- package/dist/agent-endpoint.js.map +1 -1
- package/dist/agent-whats-new.js +3 -0
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/auth-api.js +2 -0
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/claude-code.js +23 -1
- package/dist/backend/claude-code.js.map +1 -1
- package/dist/backend/codex-session-lookup.d.ts +15 -0
- package/dist/backend/codex-session-lookup.js +58 -0
- package/dist/backend/codex-session-lookup.js.map +1 -1
- package/dist/backend/codex.js +15 -4
- package/dist/backend/codex.js.map +1 -1
- package/dist/backend/kiro-classic-archive.d.ts +57 -0
- package/dist/backend/kiro-classic-archive.js +622 -0
- package/dist/backend/kiro-classic-archive.js.map +1 -0
- package/dist/backend/kiro-classic-links.d.ts +24 -0
- package/dist/backend/kiro-classic-links.js +135 -0
- package/dist/backend/kiro-classic-links.js.map +1 -0
- package/dist/backend/kiro-identity.d.ts +100 -1
- package/dist/backend/kiro-identity.js +262 -31
- package/dist/backend/kiro-identity.js.map +1 -1
- package/dist/backend/kiro-migration-verify.d.ts +10 -0
- package/dist/backend/kiro-migration-verify.js +52 -0
- package/dist/backend/kiro-migration-verify.js.map +1 -0
- package/dist/backend/kiro-reconcile-store.d.ts +27 -0
- package/dist/backend/kiro-reconcile-store.js +344 -0
- package/dist/backend/kiro-reconcile-store.js.map +1 -0
- package/dist/backend/kiro-v2-store-worker.js +35 -1
- package/dist/backend/kiro-v2-store-worker.js.map +1 -1
- package/dist/backend/kiro-v2-store.d.ts +31 -1
- package/dist/backend/kiro-v2-store.js +22 -12
- package/dist/backend/kiro-v2-store.js.map +1 -1
- package/dist/backend/kiro.d.ts +124 -1
- package/dist/backend/kiro.js +553 -29
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/types.d.ts +102 -0
- package/dist/backend/types.js +9 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/cache-service.d.ts +13 -1
- package/dist/cache-service.js +45 -2
- package/dist/cache-service.js.map +1 -1
- package/dist/channel/ipc-timeouts.js +3 -0
- package/dist/channel/ipc-timeouts.js.map +1 -1
- package/dist/channel/mcp-tools.js +40 -5
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/channel/tool-router.js +2 -1
- package/dist/channel/tool-router.js.map +1 -1
- package/dist/classic-channel-manager.d.ts +6 -0
- package/dist/classic-channel-manager.js +25 -0
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/cli.js +50 -4
- package/dist/cli.js.map +1 -1
- package/dist/config-validator.d.ts +7 -1
- package/dist/config-validator.js +17 -8
- package/dist/config-validator.js.map +1 -1
- package/dist/config.js +2 -0
- package/dist/config.js.map +1 -1
- package/dist/daemon.d.ts +66 -0
- package/dist/daemon.js +421 -19
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard-permissions.d.ts +15 -4
- package/dist/dashboard-permissions.js +49 -23
- package/dist/dashboard-permissions.js.map +1 -1
- package/dist/doctor.js +2 -1
- package/dist/doctor.js.map +1 -1
- package/dist/fleet-control-audit.d.ts +1 -1
- package/dist/fleet-control-audit.js +3 -0
- package/dist/fleet-control-audit.js.map +1 -1
- package/dist/fleet-manager.d.ts +90 -3
- package/dist/fleet-manager.js +569 -41
- package/dist/fleet-manager.js.map +1 -1
- package/dist/forged-envelope-scan.d.ts +9 -0
- package/dist/forged-envelope-scan.js +30 -5
- package/dist/forged-envelope-scan.js.map +1 -1
- package/dist/general-instance.d.ts +24 -0
- package/dist/general-instance.js +53 -0
- package/dist/general-instance.js.map +1 -1
- package/dist/general-knowledge/skills/docker-install/SKILL.md +25 -0
- package/dist/general-knowledge/skills/fleet-config/SKILL.md +5 -3
- package/dist/general-knowledge/skills/fleet-restart/SKILL.md +1 -1
- package/dist/general-knowledge/skills/kiro-engine-migration/SKILL.md +34 -0
- package/dist/general-knowledge/skills/session-management/SKILL.md +1 -1
- package/dist/general-knowledge/skills/tui-effort/SKILL.md +1 -1
- package/dist/general-knowledge/skills/web-appearance/SKILL.canvas-worker-off.md +32 -0
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +32 -0
- package/dist/general-knowledge/skills/web-dashboard/SKILL.canvas-worker-off.md +60 -18
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +60 -18
- package/dist/instance-config-impact.js +3 -2
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +4 -0
- package/dist/instance-lifecycle.js +7 -0
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/kiro-migrate.d.ts +19 -2
- package/dist/kiro-migrate.js +133 -35
- package/dist/kiro-migrate.js.map +1 -1
- package/dist/kiro-reconcile.d.ts +21 -0
- package/dist/kiro-reconcile.js +88 -0
- package/dist/kiro-reconcile.js.map +1 -0
- package/dist/kiro-session-proof.d.ts +41 -0
- package/dist/kiro-session-proof.js +89 -0
- package/dist/kiro-session-proof.js.map +1 -0
- package/dist/kiro-tui-forensic.d.ts +19 -0
- package/dist/kiro-tui-forensic.js +124 -0
- package/dist/kiro-tui-forensic.js.map +1 -0
- package/dist/locale.js +198 -0
- package/dist/locale.js.map +1 -1
- package/dist/log-service.js +2 -2
- package/dist/log-service.js.map +1 -1
- package/dist/needs-you.d.ts +3 -1
- package/dist/needs-you.js +4 -2
- package/dist/needs-you.js.map +1 -1
- package/dist/office-levels.d.ts +64 -0
- package/dist/office-levels.js +66 -0
- package/dist/office-levels.js.map +1 -0
- package/dist/office-share-page.d.ts +3 -1
- package/dist/office-share-page.js +8 -3
- package/dist/office-share-page.js.map +1 -1
- package/dist/office-share-service.d.ts +6 -3
- package/dist/office-share-service.js +12 -8
- package/dist/office-share-service.js.map +1 -1
- package/dist/office-share.d.ts +80 -13
- package/dist/office-share.js +145 -25
- package/dist/office-share.js.map +1 -1
- package/dist/outbound-handlers.js +20 -1
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +47 -2
- package/dist/outbound-schemas.js +41 -2
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/public-web-gateway.js +1 -1
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/quickstart-api.d.ts +39 -1
- package/dist/quickstart-api.js +115 -17
- package/dist/quickstart-api.js.map +1 -1
- package/dist/remote-card-answer.d.ts +83 -0
- package/dist/remote-card-answer.js +208 -0
- package/dist/remote-card-answer.js.map +1 -0
- package/dist/remote-card-prompt.d.ts +38 -0
- package/dist/remote-card-prompt.js +86 -0
- package/dist/remote-card-prompt.js.map +1 -0
- package/dist/scheduler/task-board.d.ts +28 -6
- package/dist/scheduler/task-board.js +66 -11
- package/dist/scheduler/task-board.js.map +1 -1
- package/dist/service-installer.d.ts +13 -0
- package/dist/service-installer.js +15 -0
- package/dist/service-installer.js.map +1 -1
- package/dist/service-owner.d.ts +25 -0
- package/dist/service-owner.js +43 -2
- package/dist/service-owner.js.map +1 -1
- package/dist/settings-api.d.ts +2 -0
- package/dist/settings-api.js +18 -12
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.js +10 -5
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.js +7 -4
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-instance-patch.js +1 -1
- package/dist/settings-instance-patch.js.map +1 -1
- package/dist/setup-form.d.ts +2 -2
- package/dist/setup-form.js +139 -93
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-i18n.d.ts +25 -0
- package/dist/setup-i18n.js +226 -0
- package/dist/setup-i18n.js.map +1 -0
- package/dist/task-board-waker.js +7 -2
- package/dist/task-board-waker.js.map +1 -1
- package/dist/tool-permissions.js +18 -0
- package/dist/tool-permissions.js.map +1 -1
- package/dist/transcript-sources.d.ts +1 -0
- package/dist/transcript-sources.js +20 -3
- package/dist/transcript-sources.js.map +1 -1
- package/dist/types.d.ts +10 -0
- package/dist/ui/backend-signin.js +4 -3
- package/dist/ui/chat-store.js +3 -2
- package/dist/ui/chat-strings.js +2 -2
- package/dist/ui/fleet-office-card.js +114 -0
- package/dist/ui/fleet-office-editor.js +81 -9
- package/dist/ui/fleet-office-layout.js +87 -10
- package/dist/ui/fleet-office-levels.js +105 -0
- package/dist/ui/fleet-office-model.js +9 -1
- package/dist/ui/fleet-office-pack.d.ts +18 -3
- package/dist/ui/fleet-office-pack.js +217 -23
- package/dist/ui/fleet-office-skin.js +39 -3
- package/dist/ui/fleet-office-store.js +74 -3
- package/dist/ui/fleet-office-view.js +8 -0
- package/dist/ui/fleet-office-zones.js +102 -19
- package/dist/ui/fleet-office.js +323 -50
- package/dist/ui/fleet-org.js +2 -0
- package/dist/ui/fleet-task-card.js +2 -2
- package/dist/ui/fleet-task-common.js +30 -7
- package/dist/ui/fleet-task-work.js +2 -2
- package/dist/ui/fleet-tasks.js +10 -11
- package/dist/ui/office-share-dialog.js +31 -7
- package/dist/ui/office-share-page.js +50 -1
- package/dist/ui/panel-chat.js +14 -2
- package/dist/ui/panel-log.js +4 -4
- package/dist/ui/panel-needs.js +1 -1
- package/dist/ui/panel-settings.js +16 -8
- package/dist/ui/settings-discord.js +3 -2
- package/dist/ui/settings-guests.js +17 -7
- package/dist/ui/settings-model.js +17 -9
- package/dist/ui/settings-registry.js +1 -0
- package/dist/ui/settings-strings.js +16 -4
- package/dist/ui/settings-token.js +3 -2
- package/dist/ui/settings-wizard.js +25 -9
- package/dist/ui/shared/app-i18n.js +2 -2
- package/dist/ui/shared/app-stream.js +1 -1
- package/dist/ui/shared/app.css +74 -2
- package/dist/ui/shared/setup-host-text.js +107 -0
- package/dist/ui/structured-signin.js +89 -38
- package/dist/usage-rollup.d.ts +34 -3
- package/dist/usage-rollup.js +56 -3
- package/dist/usage-rollup.js.map +1 -1
- package/dist/web-api.d.ts +10 -1
- package/dist/web-api.js +207 -17
- package/dist/web-api.js.map +1 -1
- package/dist/web-auth.js +1 -1
- package/dist/web-auth.js.map +1 -1
- package/dist/web-office-acts.d.ts +5 -2
- package/dist/web-office-acts.js +9 -4
- package/dist/web-office-acts.js.map +1 -1
- package/dist/web-office-pack-read.d.ts +35 -0
- package/dist/web-office-pack-read.js +252 -0
- package/dist/web-office-pack-read.js.map +1 -0
- package/dist/web-office-pack-tools.d.ts +241 -0
- package/dist/web-office-pack-tools.js +785 -0
- package/dist/web-office-pack-tools.js.map +1 -0
- package/dist/web-office-skins.d.ts +68 -4
- package/dist/web-office-skins.js +324 -33
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-office-store.d.ts +47 -4
- package/dist/web-office-store.js +149 -15
- package/dist/web-office-store.js.map +1 -1
- package/dist/web-settings-patch.d.ts +3 -1
- package/dist/web-settings-patch.js +4 -1
- package/dist/web-settings-patch.js.map +1 -1
- package/dist/workflow-templates/default.md +1 -1
- package/package.json +2 -2
- package/templates/windows-shortcuts.ps1 +18 -17
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kiro-v2-store.js","sourceRoot":"","sources":["../../src/backend/kiro-v2-store.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"kiro-v2-store.js","sourceRoot":"","sources":["../../src/backend/kiro-v2-store.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAK9C,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC9C,4HAA4H;AAC5H,MAAM,CAAC,MAAM,4BAA4B,GAAG,MAAM,CAAC;AACnD,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAW5C,MAAM,UAAU,GAAG,CAAC,MAAc,EAAoB,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC;AAC1F,SAAS,aAAa;IACpB,OAAO,OAAO,IAAI,CAA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imeDialog, type SteerComposerMode } from "./types.js";
|
|
1
|
+
import { type BackendAgentSwitch, type BackendSessionProof, type CliBackend, type CliBackendConfig, type ErrorPattern, type StartupDialog, type RuntimeDialog, type RemoteInputCard, type RemoteQuestionCard, type SteerComposerMode } from "./types.js";
|
|
2
2
|
import { type KiroModelErrorVerdict } from "./kiro-retired-model.js";
|
|
3
3
|
import type { KiroLogLaunch } from "../kiro-log-gate.js";
|
|
4
4
|
import type { KiroTranscriptLaunch } from "../transcript-sources.js";
|
|
@@ -24,11 +24,81 @@ export declare const KIRO_TESTED_MAX = "2.34.0";
|
|
|
24
24
|
* queued message mid-tool — has been captured (tests/fixtures/kiro-steer-1405, 2026-10-08: 2.27.1 `--tui
|
|
25
25
|
* --agent-engine=v2` and `--v3`, 2.28.0 `--tui --agent-engine=v2`; identical rows on all three). Any other version,
|
|
26
26
|
* 2.28.0's v3, the legacy UI and an undetected version all deliver a steer as an ordinary message after the turn.
|
|
27
|
+
* 2.34.0 TUI was checked on the user-authorized #2598 D5 run (tests/fixtures/kiro-2.34.0-tui-d5):
|
|
28
|
+
* native steer during a read-only tool, a fleet message queued mid-tool, and a native queue entry in the busy turn.
|
|
27
29
|
*/
|
|
28
30
|
export declare const KIRO_STEER_VERIFIED: Readonly<Record<string, ReadonlyArray<"tui" | "v3">>>;
|
|
29
31
|
export declare function readKiroSteerComposer(pane: string): SteerComposerMode | null;
|
|
30
32
|
/** The typed text on the composer's row when it reads "text" (its first row, as kiro paints it); else null. */
|
|
31
33
|
export declare function readKiroComposerText(pane: string): string | null;
|
|
34
|
+
/**
|
|
35
|
+
* #2683: the composer as a one-line housekeeping command (`/session-id`, `/title …`) sees it: `""` when it is
|
|
36
|
+
* positively empty (the idle placeholder, nothing else), the typed text of a single-row draft, or null for anything
|
|
37
|
+
* else (busy, another mode, wrapped text, no composer). A typed slash command opens kiro's command menu below the box
|
|
38
|
+
* (live 2.34.0, tui and V3; tests/fixtures/kiro-session-id-2681):
|
|
39
|
+
*
|
|
40
|
+
* `› /session-id`
|
|
41
|
+
* `/session-id Print the current session ID`
|
|
42
|
+
* `──────…`
|
|
43
|
+
* ` esc to cancel · ↵ to select`
|
|
44
|
+
*
|
|
45
|
+
* and its `›` row is read past that menu. Enter there runs the highlighted entry, the command itself.
|
|
46
|
+
*/
|
|
47
|
+
export declare function readKiroCommandComposer(pane: string): string | null;
|
|
48
|
+
/**
|
|
49
|
+
* #2683: kiro's own answer to `/session-id`, where only that answer is painted: the alert at the bottom of the chat,
|
|
50
|
+
* on the rows right above the footer (the divider within 8 rows above the composer, and the trust banner's divider
|
|
51
|
+
* above that one when it is shown). Live 2.34.0, tui and V3 (tests/fixtures/kiro-session-id-2681):
|
|
52
|
+
*
|
|
53
|
+
* `• Session ID: <id>`
|
|
54
|
+
* ` Resume with: kiro-cli --resume-id <id>` (the same id)
|
|
55
|
+
*
|
|
56
|
+
* or `• Session ID: none` alone. It is a transient alert (10 s), not a turn. The same lines anywhere else (a quoted
|
|
57
|
+
* user row is ` › …`, an answer scrolls up) are not read; an agent answer that ends with them would sit in the same
|
|
58
|
+
* place, which is why the daemon also requires that the alert was not there before it typed the command. Null when no
|
|
59
|
+
* such alert is shown.
|
|
60
|
+
*/
|
|
61
|
+
export declare function readKiroSessionIdAlert(pane: string): string | null;
|
|
62
|
+
/**
|
|
63
|
+
* #2676: a collapsed paste on the composer's row. The TUI shows a paste of more than 10 lines or 500 characters as one
|
|
64
|
+
* chip (2.34.0 tui.js: `n>1 ? "${n} lines" : "${r} chars"`, then `▸`, then the `Press Tab to expand` hint):
|
|
65
|
+
*
|
|
66
|
+
* `› 42 lines ▸ Press Tab to expand` → 42
|
|
67
|
+
* `› 657 chars ▸ Press Tab to expand` → 1 (one line, shown only by its length)
|
|
68
|
+
*
|
|
69
|
+
* `text` is the row's text (readKiroComposerText). Null when it is not such a chip.
|
|
70
|
+
*/
|
|
71
|
+
export declare function readKiroCollapsedPasteLines(text: string): number | null;
|
|
72
|
+
/**
|
|
73
|
+
* #2682: another program owns kiro's pane, so a paste and an Enter would go into it instead of the chat (captured on
|
|
74
|
+
* 2.34.0, tests/fixtures/kiro-2.34.0-takeover-2682). Read from kiro's own rows first:
|
|
75
|
+
* - a focused `/kvim` panel: `── Neovim · focused · Ctrl+\ to chat · :q to close ──`, or `· the agent is waiting on you:`
|
|
76
|
+
* (unfocused, `Neovim · Ctrl+\ to edit`, the composer has the keys again);
|
|
77
|
+
* - a running `!` command (tui, V3): its PTY takes every keystroke, while the composer still reads busy
|
|
78
|
+
* (`Kiro is working · Type to steer`) — the nearest turn above kiro's footer is ` › !…`, with only its indented
|
|
79
|
+
* output and `• Running...` below (kiroBusyTurn; a turn it cannot see is not called a takeover here, but no busy
|
|
80
|
+
* input is typed into it either: KiroBackend.busyTurnTakesInput);
|
|
81
|
+
* - an editor or pager kiro started (`/editor`, `/transcript`, a full-screen `!vim`/`!less`): no composer row, kiro's
|
|
82
|
+
* temp file `kiro-editor-XXXXXX/prompt.md` or `kiro-raw-XXXXXX/conversation.md` on screen;
|
|
83
|
+
* - legacy: a `!` command running from its prompt row (the bottom row is the prompt with `!…` after the marker: the
|
|
84
|
+
* command took the terminal before kiro painted anything else), and its `/editor` and `/reply` temp file
|
|
85
|
+
* `q_prompt_<uuid>.md` with no prompt row at the bottom;
|
|
86
|
+
* and, only where kiro's input row is not on screen (every engine; legacy's `/editor` and `/reply` run `$EDITOR`), the
|
|
87
|
+
* program's own bottom rows: vi/vim/nvim (`~` rows, its ruler, `-- INSERT --`), less (`:`, `(END)`), more
|
|
88
|
+
* (`--More--`), nano (`GNU nano` and `^X Exit`). `/fullscreen` is not a takeover: the same composer takes input.
|
|
89
|
+
*/
|
|
90
|
+
export declare function kiroTakeoverActive(pane: string, ui: "legacy" | "tui" | "v3"): boolean;
|
|
91
|
+
/**
|
|
92
|
+
* #2682: the legacy UI's prompt row as the last non-blank row — `4% !>` (trust-all) or `4% >`, with an optional
|
|
93
|
+
* `[agent]` prefix and mode glyph, as getBottomReadyPattern — and the text after its marker (a placeholder hint, a
|
|
94
|
+
* draft, or a `!` command it is running); null when the bottom row is not the prompt.
|
|
95
|
+
*/
|
|
96
|
+
export declare function kiroLegacyPromptAtBottom(rows: string[]): string | null;
|
|
97
|
+
/**
|
|
98
|
+
* #2682: whether a busy composer's typed input goes to kiro's own turn: only when that turn is seen to be the agent's.
|
|
99
|
+
* A `!` command's PTY would take it, and a turn it cannot see might be one.
|
|
100
|
+
*/
|
|
101
|
+
export declare function kiroBusyTurnTakesInput(pane: string): boolean;
|
|
32
102
|
export interface KiroCliCompatibility {
|
|
33
103
|
version?: string;
|
|
34
104
|
supportsLegacyUi: boolean;
|
|
@@ -81,6 +151,21 @@ export declare function kiroMcpInputRequestActive(pane: string): boolean;
|
|
|
81
151
|
* kiroMcpInputRequestActive: the header is the row right under the nearest divider above the key hints' divider.
|
|
82
152
|
*/
|
|
83
153
|
export declare function kiroQuestionCardActive(pane: string): boolean;
|
|
154
|
+
/**
|
|
155
|
+
* #2675: the live Question card (see kiroQuestionCardActive), read for a person to answer from the chat: the question,
|
|
156
|
+
* the numbered options (`(recommended)` and the description row under one), the typed-answer row, and where the `❯`
|
|
157
|
+
* is (tui.js `A0`; tests/fixtures/kiro-question-2592). On a sub-options page the rows are the `[✓]` boxes; while an
|
|
158
|
+
* answer is being typed the last row is `❯ <text>`. A row the shapes above do not account for is a wrapped title (the
|
|
159
|
+
* card's own indent) or description (deeper), joined to the row it continues; one before any option belongs to the
|
|
160
|
+
* question. Null when the card is not live, or when it is in a shape this reader does not know.
|
|
161
|
+
*/
|
|
162
|
+
export declare function readKiroQuestionCard(pane: string): RemoteQuestionCard | null;
|
|
163
|
+
/**
|
|
164
|
+
* #2675: the live MCP `Input requested` card (see kiroMcpInputRequestActive), read for the chat: the server, the body
|
|
165
|
+
* as painted, with the `URL:` row masked (a sign-in link stays in the pane), its action rows, and the `❯` row. Its
|
|
166
|
+
* identity is the server, the mode, the message's first row and the actions: moving or filling in a field keeps it.
|
|
167
|
+
*/
|
|
168
|
+
export declare function readKiroMcpInputCard(pane: string): RemoteInputCard | null;
|
|
84
169
|
/**
|
|
85
170
|
* Kiro's service-unavailable path opens the same picker as `/model`, but only
|
|
86
171
|
* the former needs incident escalation. The runtime scanner and delivery gate
|
|
@@ -132,6 +217,8 @@ export declare const KIRO_CLASSIC_NUDGE: KiroLaunchPromptSpec;
|
|
|
132
217
|
* Captured live from 2.30.0 (tests/fixtures/kiro-2.30.0-audit/); the other two from the 2.30.0 binary's own text.
|
|
133
218
|
*/
|
|
134
219
|
export declare const KIRO_CLASSIC_NUDGE_V3: KiroLaunchPromptSpec;
|
|
220
|
+
/** Verified carry/reconcile stays on supported 2.x and requires the same capabilities as launch. */
|
|
221
|
+
export declare function supportsVerifiedKiroMigration(compat: KiroCliCompatibility): boolean;
|
|
135
222
|
/**
|
|
136
223
|
* The values `chat --help` lists for --agent-engine, or null without the flag.
|
|
137
224
|
* clap prints them as `[possible values: v2, v1, v3]` a few lines below the
|
|
@@ -192,6 +279,10 @@ export declare function kiroLaunchedHereBefore(instance: string, workingDirector
|
|
|
192
279
|
* Null when the layout cannot be read.
|
|
193
280
|
*/
|
|
194
281
|
export declare function readActiveKiroAgent(pane: string, ui: "legacy" | "tui" | "v3"): string | null;
|
|
282
|
+
/** Model on Kiro 2.34's live footer (status, cwd, optional branch, blank, idle composer).
|
|
283
|
+
* Separate from readActiveKiroAgent: do not widen the disabled agent-switch action's reader.
|
|
284
|
+
*/
|
|
285
|
+
export declare function readActiveKiroModel(pane: string, expectedAgent?: string): string | null;
|
|
195
286
|
export declare function planKiroLaunch(ui: "legacy" | "tui" | "v3", compat: KiroCliCompatibility): KiroLaunchPlan;
|
|
196
287
|
/** Process-level memo used by backend construction; exported for regression tests. */
|
|
197
288
|
export declare function getCachedKiroCliCompatibility(binaryPath: string, run?: KiroProbeRunner): KiroCliCompatibility;
|
|
@@ -216,6 +307,8 @@ export declare function wrapTolerant(text: string): string;
|
|
|
216
307
|
export declare const KIRO_RATE_LIMIT_SCREEN: RegExp;
|
|
217
308
|
/** #1636: kiro's monthly cap (MonthlyLimitReached branch); see getErrorPatterns. */
|
|
218
309
|
export declare const KIRO_REQUEST_LIMIT_SCREEN: RegExp;
|
|
310
|
+
/** #2598: Kiro 2.34 lists a carried UUID in both V2 and classic; this proves presence, not a missing session. */
|
|
311
|
+
export declare const KIRO_AMBIGUOUS_RESUME_SCREEN: RegExp;
|
|
219
312
|
/** Startup budget for a `--resume` launch (60% first output, 40% ready). */
|
|
220
313
|
export declare const KIRO_RESUME_STARTUP_BUDGET_MS = 60000;
|
|
221
314
|
export declare class KiroBackend implements CliBackend {
|
|
@@ -254,14 +347,21 @@ export declare class KiroBackend implements CliBackend {
|
|
|
254
347
|
/** #1218: the last launch built in full (cleared when a build starts, set only when it returns). */
|
|
255
348
|
private builtLaunch;
|
|
256
349
|
private preparedV2Store;
|
|
350
|
+
/** #2738: a classic launch's compaction links, worked out in prepareLaunch on their worker lane (off the loop). */
|
|
351
|
+
private preparedClassicLinks;
|
|
257
352
|
/** #2648: the saved model of the v2 conversation this instance has recorded, read in prepareLaunch (off the loop). */
|
|
258
353
|
private preparedV2Model;
|
|
259
354
|
private storePreparation;
|
|
355
|
+
private preparedCarry;
|
|
260
356
|
private storeKey;
|
|
261
357
|
private readPreparedV2Store;
|
|
358
|
+
/** Not prepared for this launch: unproven, so the launch stays on the recorded conversation (never read here). */
|
|
359
|
+
private readPreparedClassicLinks;
|
|
262
360
|
/** Metadata only: identity claims/config writes remain synchronous, after
|
|
263
361
|
* the daemon rechecks its launch admission following this await. */
|
|
264
362
|
prepareLaunch(config?: CliBackendConfig): Promise<void>;
|
|
363
|
+
private needsCarryPreparation;
|
|
364
|
+
private assertCarryPrepared;
|
|
265
365
|
constructor(instanceDir: string, compatibility?: KiroCliCompatibility);
|
|
266
366
|
requiresDeliveryEnterRetry(): boolean;
|
|
267
367
|
dropsEnterWhileBusy(): boolean;
|
|
@@ -270,6 +370,8 @@ export declare class KiroBackend implements CliBackend {
|
|
|
270
370
|
/** #1405: the TUI composer's mode; never read on the legacy UI, whose prompt row has no such mode. */
|
|
271
371
|
readSteerComposer(pane: string): SteerComposerMode | null;
|
|
272
372
|
readSteerComposerText(pane: string): string | null;
|
|
373
|
+
/** #2676: the line count a collapsed paste chip on the composer's row names (readKiroCollapsedPasteLines). */
|
|
374
|
+
readSteerComposerPasteLines(text: string): number | null;
|
|
273
375
|
/**
|
|
274
376
|
* Live evidence (kiro-cli 2.21.0, 2026-09-03): `--resume` prints nothing
|
|
275
377
|
* until the conversation comes back from the backend ("Picking up where we
|
|
@@ -281,6 +383,11 @@ export declare class KiroBackend implements CliBackend {
|
|
|
281
383
|
getStartupBudgetMs(ctx: {
|
|
282
384
|
resume: boolean;
|
|
283
385
|
}): number | undefined;
|
|
386
|
+
resumeBlockedPattern(): RegExp;
|
|
387
|
+
retainedResumeBlock(): {
|
|
388
|
+
reason: string;
|
|
389
|
+
remedy: string;
|
|
390
|
+
} | null;
|
|
284
391
|
retriesResumeOnStartupFailure(): boolean;
|
|
285
392
|
getBottomReadyPattern(): RegExp | null;
|
|
286
393
|
buildCommand(config: CliBackendConfig): string;
|
|
@@ -302,6 +409,8 @@ export declare class KiroBackend implements CliBackend {
|
|
|
302
409
|
/** Board 907c7899: classic and TUI V2 say on the pane how a /compact ended (verified 2.30.0); V3 is not read. */
|
|
303
410
|
compactPaneUi(): "legacy" | "tui" | null;
|
|
304
411
|
consumeLaunchWarning(): string | null;
|
|
412
|
+
private quietLaunchNotes;
|
|
413
|
+
consumeQuietLaunchNotes(): string[];
|
|
305
414
|
private shouldWarnUnsupportedEffort;
|
|
306
415
|
writeConfig(config: CliBackendConfig): void;
|
|
307
416
|
/** This instance's agent, by its fleet and its own wrapper scripts. */
|
|
@@ -364,6 +473,15 @@ export declare class KiroBackend implements CliBackend {
|
|
|
364
473
|
getErrorPatterns(): ErrorPattern[];
|
|
365
474
|
getStartupDialogs(): StartupDialog[];
|
|
366
475
|
getRuntimeDialogs(): RuntimeDialog[];
|
|
476
|
+
/**
|
|
477
|
+
* #2682: kiro's own input row, read positively, before an idle delivery. TUI and V3: the composer reads "idle", or
|
|
478
|
+
* "text" (a draft, as before); busy, another mode (a goal, the tray being edited) or no composer at all — an unknown
|
|
479
|
+
* full-screen program, a blank frame — is not a screen to type into. Legacy: its prompt row is the bottom row (`4% !>`,
|
|
480
|
+
* or `4% >` without trust-all, live 2.34.0), not running a `!` command. Anything else: the delivery waits.
|
|
481
|
+
*/
|
|
482
|
+
/** #2682: the busy composer's input reaches kiro's own turn (kiroBusyTurnTakesInput), not a `!` command's PTY. */
|
|
483
|
+
busyTurnTakesInput(pane: string): boolean;
|
|
484
|
+
idleComposerReady(pane: string): boolean;
|
|
367
485
|
getContextUsage(): number | null;
|
|
368
486
|
logLaunch(): KiroLogLaunch | null;
|
|
369
487
|
/**
|
|
@@ -371,6 +489,11 @@ export declare class KiroBackend implements CliBackend {
|
|
|
371
489
|
* conversation is the one the launch resumed by id. A fresh or legacy-mode launch owns no id yet.
|
|
372
490
|
*/
|
|
373
491
|
transcriptLaunch(): KiroTranscriptLaunch | null;
|
|
492
|
+
/**
|
|
493
|
+
* M-2025: `/session-id` and `/title` exist on tui and V3 only. Legacy keeps
|
|
494
|
+
* the tmux window name and the sqlite lookup.
|
|
495
|
+
*/
|
|
496
|
+
sessionProof(): BackendSessionProof | null;
|
|
374
497
|
getSessionId(): string | null;
|
|
375
498
|
getQuitCommand(): string;
|
|
376
499
|
getCompactCommand(): string;
|