@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.
Files changed (243) hide show
  1. package/README.md +6 -0
  2. package/README.zh-TW.md +6 -0
  3. package/dist/agent-cli.js +48 -0
  4. package/dist/agent-cli.js.map +1 -1
  5. package/dist/agent-endpoint.js +6 -0
  6. package/dist/agent-endpoint.js.map +1 -1
  7. package/dist/agent-whats-new.js +3 -0
  8. package/dist/agent-whats-new.js.map +1 -1
  9. package/dist/auth-api.js +2 -0
  10. package/dist/auth-api.js.map +1 -1
  11. package/dist/backend/claude-code.js +23 -1
  12. package/dist/backend/claude-code.js.map +1 -1
  13. package/dist/backend/codex-session-lookup.d.ts +15 -0
  14. package/dist/backend/codex-session-lookup.js +58 -0
  15. package/dist/backend/codex-session-lookup.js.map +1 -1
  16. package/dist/backend/codex.js +15 -4
  17. package/dist/backend/codex.js.map +1 -1
  18. package/dist/backend/kiro-classic-archive.d.ts +57 -0
  19. package/dist/backend/kiro-classic-archive.js +622 -0
  20. package/dist/backend/kiro-classic-archive.js.map +1 -0
  21. package/dist/backend/kiro-classic-links.d.ts +24 -0
  22. package/dist/backend/kiro-classic-links.js +135 -0
  23. package/dist/backend/kiro-classic-links.js.map +1 -0
  24. package/dist/backend/kiro-identity.d.ts +100 -1
  25. package/dist/backend/kiro-identity.js +262 -31
  26. package/dist/backend/kiro-identity.js.map +1 -1
  27. package/dist/backend/kiro-migration-verify.d.ts +10 -0
  28. package/dist/backend/kiro-migration-verify.js +52 -0
  29. package/dist/backend/kiro-migration-verify.js.map +1 -0
  30. package/dist/backend/kiro-reconcile-store.d.ts +27 -0
  31. package/dist/backend/kiro-reconcile-store.js +344 -0
  32. package/dist/backend/kiro-reconcile-store.js.map +1 -0
  33. package/dist/backend/kiro-v2-store-worker.js +35 -1
  34. package/dist/backend/kiro-v2-store-worker.js.map +1 -1
  35. package/dist/backend/kiro-v2-store.d.ts +31 -1
  36. package/dist/backend/kiro-v2-store.js +22 -12
  37. package/dist/backend/kiro-v2-store.js.map +1 -1
  38. package/dist/backend/kiro.d.ts +124 -1
  39. package/dist/backend/kiro.js +553 -29
  40. package/dist/backend/kiro.js.map +1 -1
  41. package/dist/backend/types.d.ts +102 -0
  42. package/dist/backend/types.js +9 -0
  43. package/dist/backend/types.js.map +1 -1
  44. package/dist/cache-service.d.ts +13 -1
  45. package/dist/cache-service.js +45 -2
  46. package/dist/cache-service.js.map +1 -1
  47. package/dist/channel/ipc-timeouts.js +3 -0
  48. package/dist/channel/ipc-timeouts.js.map +1 -1
  49. package/dist/channel/mcp-tools.js +40 -5
  50. package/dist/channel/mcp-tools.js.map +1 -1
  51. package/dist/channel/tool-router.js +2 -1
  52. package/dist/channel/tool-router.js.map +1 -1
  53. package/dist/classic-channel-manager.d.ts +6 -0
  54. package/dist/classic-channel-manager.js +25 -0
  55. package/dist/classic-channel-manager.js.map +1 -1
  56. package/dist/cli.js +50 -4
  57. package/dist/cli.js.map +1 -1
  58. package/dist/config-validator.d.ts +7 -1
  59. package/dist/config-validator.js +17 -8
  60. package/dist/config-validator.js.map +1 -1
  61. package/dist/config.js +2 -0
  62. package/dist/config.js.map +1 -1
  63. package/dist/daemon.d.ts +66 -0
  64. package/dist/daemon.js +421 -19
  65. package/dist/daemon.js.map +1 -1
  66. package/dist/dashboard-permissions.d.ts +15 -4
  67. package/dist/dashboard-permissions.js +49 -23
  68. package/dist/dashboard-permissions.js.map +1 -1
  69. package/dist/doctor.js +2 -1
  70. package/dist/doctor.js.map +1 -1
  71. package/dist/fleet-control-audit.d.ts +1 -1
  72. package/dist/fleet-control-audit.js +3 -0
  73. package/dist/fleet-control-audit.js.map +1 -1
  74. package/dist/fleet-manager.d.ts +90 -3
  75. package/dist/fleet-manager.js +569 -41
  76. package/dist/fleet-manager.js.map +1 -1
  77. package/dist/forged-envelope-scan.d.ts +9 -0
  78. package/dist/forged-envelope-scan.js +30 -5
  79. package/dist/forged-envelope-scan.js.map +1 -1
  80. package/dist/general-instance.d.ts +24 -0
  81. package/dist/general-instance.js +53 -0
  82. package/dist/general-instance.js.map +1 -1
  83. package/dist/general-knowledge/skills/docker-install/SKILL.md +25 -0
  84. package/dist/general-knowledge/skills/fleet-config/SKILL.md +5 -3
  85. package/dist/general-knowledge/skills/fleet-restart/SKILL.md +1 -1
  86. package/dist/general-knowledge/skills/kiro-engine-migration/SKILL.md +34 -0
  87. package/dist/general-knowledge/skills/session-management/SKILL.md +1 -1
  88. package/dist/general-knowledge/skills/tui-effort/SKILL.md +1 -1
  89. package/dist/general-knowledge/skills/web-appearance/SKILL.canvas-worker-off.md +32 -0
  90. package/dist/general-knowledge/skills/web-appearance/SKILL.md +32 -0
  91. package/dist/general-knowledge/skills/web-dashboard/SKILL.canvas-worker-off.md +60 -18
  92. package/dist/general-knowledge/skills/web-dashboard/SKILL.md +60 -18
  93. package/dist/instance-config-impact.js +3 -2
  94. package/dist/instance-config-impact.js.map +1 -1
  95. package/dist/instance-lifecycle.d.ts +4 -0
  96. package/dist/instance-lifecycle.js +7 -0
  97. package/dist/instance-lifecycle.js.map +1 -1
  98. package/dist/kiro-migrate.d.ts +19 -2
  99. package/dist/kiro-migrate.js +133 -35
  100. package/dist/kiro-migrate.js.map +1 -1
  101. package/dist/kiro-reconcile.d.ts +21 -0
  102. package/dist/kiro-reconcile.js +88 -0
  103. package/dist/kiro-reconcile.js.map +1 -0
  104. package/dist/kiro-session-proof.d.ts +41 -0
  105. package/dist/kiro-session-proof.js +89 -0
  106. package/dist/kiro-session-proof.js.map +1 -0
  107. package/dist/kiro-tui-forensic.d.ts +19 -0
  108. package/dist/kiro-tui-forensic.js +124 -0
  109. package/dist/kiro-tui-forensic.js.map +1 -0
  110. package/dist/locale.js +198 -0
  111. package/dist/locale.js.map +1 -1
  112. package/dist/log-service.js +2 -2
  113. package/dist/log-service.js.map +1 -1
  114. package/dist/needs-you.d.ts +3 -1
  115. package/dist/needs-you.js +4 -2
  116. package/dist/needs-you.js.map +1 -1
  117. package/dist/office-levels.d.ts +64 -0
  118. package/dist/office-levels.js +66 -0
  119. package/dist/office-levels.js.map +1 -0
  120. package/dist/office-share-page.d.ts +3 -1
  121. package/dist/office-share-page.js +8 -3
  122. package/dist/office-share-page.js.map +1 -1
  123. package/dist/office-share-service.d.ts +6 -3
  124. package/dist/office-share-service.js +12 -8
  125. package/dist/office-share-service.js.map +1 -1
  126. package/dist/office-share.d.ts +80 -13
  127. package/dist/office-share.js +145 -25
  128. package/dist/office-share.js.map +1 -1
  129. package/dist/outbound-handlers.js +20 -1
  130. package/dist/outbound-handlers.js.map +1 -1
  131. package/dist/outbound-schemas.d.ts +47 -2
  132. package/dist/outbound-schemas.js +41 -2
  133. package/dist/outbound-schemas.js.map +1 -1
  134. package/dist/public-web-gateway.js +1 -1
  135. package/dist/public-web-gateway.js.map +1 -1
  136. package/dist/quickstart-api.d.ts +39 -1
  137. package/dist/quickstart-api.js +115 -17
  138. package/dist/quickstart-api.js.map +1 -1
  139. package/dist/remote-card-answer.d.ts +83 -0
  140. package/dist/remote-card-answer.js +208 -0
  141. package/dist/remote-card-answer.js.map +1 -0
  142. package/dist/remote-card-prompt.d.ts +38 -0
  143. package/dist/remote-card-prompt.js +86 -0
  144. package/dist/remote-card-prompt.js.map +1 -0
  145. package/dist/scheduler/task-board.d.ts +28 -6
  146. package/dist/scheduler/task-board.js +66 -11
  147. package/dist/scheduler/task-board.js.map +1 -1
  148. package/dist/service-installer.d.ts +13 -0
  149. package/dist/service-installer.js +15 -0
  150. package/dist/service-installer.js.map +1 -1
  151. package/dist/service-owner.d.ts +25 -0
  152. package/dist/service-owner.js +43 -2
  153. package/dist/service-owner.js.map +1 -1
  154. package/dist/settings-api.d.ts +2 -0
  155. package/dist/settings-api.js +18 -12
  156. package/dist/settings-api.js.map +1 -1
  157. package/dist/settings-change.js +10 -5
  158. package/dist/settings-change.js.map +1 -1
  159. package/dist/settings-effect.js +7 -4
  160. package/dist/settings-effect.js.map +1 -1
  161. package/dist/settings-instance-patch.js +1 -1
  162. package/dist/settings-instance-patch.js.map +1 -1
  163. package/dist/setup-form.d.ts +2 -2
  164. package/dist/setup-form.js +139 -93
  165. package/dist/setup-form.js.map +1 -1
  166. package/dist/setup-i18n.d.ts +25 -0
  167. package/dist/setup-i18n.js +226 -0
  168. package/dist/setup-i18n.js.map +1 -0
  169. package/dist/task-board-waker.js +7 -2
  170. package/dist/task-board-waker.js.map +1 -1
  171. package/dist/tool-permissions.js +18 -0
  172. package/dist/tool-permissions.js.map +1 -1
  173. package/dist/transcript-sources.d.ts +1 -0
  174. package/dist/transcript-sources.js +20 -3
  175. package/dist/transcript-sources.js.map +1 -1
  176. package/dist/types.d.ts +10 -0
  177. package/dist/ui/backend-signin.js +4 -3
  178. package/dist/ui/chat-store.js +3 -2
  179. package/dist/ui/chat-strings.js +2 -2
  180. package/dist/ui/fleet-office-card.js +114 -0
  181. package/dist/ui/fleet-office-editor.js +81 -9
  182. package/dist/ui/fleet-office-layout.js +87 -10
  183. package/dist/ui/fleet-office-levels.js +105 -0
  184. package/dist/ui/fleet-office-model.js +9 -1
  185. package/dist/ui/fleet-office-pack.d.ts +18 -3
  186. package/dist/ui/fleet-office-pack.js +217 -23
  187. package/dist/ui/fleet-office-skin.js +39 -3
  188. package/dist/ui/fleet-office-store.js +74 -3
  189. package/dist/ui/fleet-office-view.js +8 -0
  190. package/dist/ui/fleet-office-zones.js +102 -19
  191. package/dist/ui/fleet-office.js +323 -50
  192. package/dist/ui/fleet-org.js +2 -0
  193. package/dist/ui/fleet-task-card.js +2 -2
  194. package/dist/ui/fleet-task-common.js +30 -7
  195. package/dist/ui/fleet-task-work.js +2 -2
  196. package/dist/ui/fleet-tasks.js +10 -11
  197. package/dist/ui/office-share-dialog.js +31 -7
  198. package/dist/ui/office-share-page.js +50 -1
  199. package/dist/ui/panel-chat.js +14 -2
  200. package/dist/ui/panel-log.js +4 -4
  201. package/dist/ui/panel-needs.js +1 -1
  202. package/dist/ui/panel-settings.js +16 -8
  203. package/dist/ui/settings-discord.js +3 -2
  204. package/dist/ui/settings-guests.js +17 -7
  205. package/dist/ui/settings-model.js +17 -9
  206. package/dist/ui/settings-registry.js +1 -0
  207. package/dist/ui/settings-strings.js +16 -4
  208. package/dist/ui/settings-token.js +3 -2
  209. package/dist/ui/settings-wizard.js +25 -9
  210. package/dist/ui/shared/app-i18n.js +2 -2
  211. package/dist/ui/shared/app-stream.js +1 -1
  212. package/dist/ui/shared/app.css +74 -2
  213. package/dist/ui/shared/setup-host-text.js +107 -0
  214. package/dist/ui/structured-signin.js +89 -38
  215. package/dist/usage-rollup.d.ts +34 -3
  216. package/dist/usage-rollup.js +56 -3
  217. package/dist/usage-rollup.js.map +1 -1
  218. package/dist/web-api.d.ts +10 -1
  219. package/dist/web-api.js +207 -17
  220. package/dist/web-api.js.map +1 -1
  221. package/dist/web-auth.js +1 -1
  222. package/dist/web-auth.js.map +1 -1
  223. package/dist/web-office-acts.d.ts +5 -2
  224. package/dist/web-office-acts.js +9 -4
  225. package/dist/web-office-acts.js.map +1 -1
  226. package/dist/web-office-pack-read.d.ts +35 -0
  227. package/dist/web-office-pack-read.js +252 -0
  228. package/dist/web-office-pack-read.js.map +1 -0
  229. package/dist/web-office-pack-tools.d.ts +241 -0
  230. package/dist/web-office-pack-tools.js +785 -0
  231. package/dist/web-office-pack-tools.js.map +1 -0
  232. package/dist/web-office-skins.d.ts +68 -4
  233. package/dist/web-office-skins.js +324 -33
  234. package/dist/web-office-skins.js.map +1 -1
  235. package/dist/web-office-store.d.ts +47 -4
  236. package/dist/web-office-store.js +149 -15
  237. package/dist/web-office-store.js.map +1 -1
  238. package/dist/web-settings-patch.d.ts +3 -1
  239. package/dist/web-settings-patch.js +4 -1
  240. package/dist/web-settings-patch.js.map +1 -1
  241. package/dist/workflow-templates/default.md +1 -1
  242. package/package.json +2 -2
  243. package/templates/windows-shortcuts.ps1 +18 -17
@@ -1 +1 @@
1
- {"version":3,"file":"kiro-v2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C,MAAM,0BAA0B,GAAG,IAAI,eAAe,CAAC,aAAa,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,GAAG,EAAE,EAAE,4BAA4B,EAAE,0BAA0B,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type BackendAgentSwitch, type CliBackend, type CliBackendConfig, type ErrorPattern, type StartupDialog, type RuntimeDialog, 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;