@songsid/agend 2.3.2-beta.1 → 2.3.2-beta.11
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/THIRD_PARTY_NOTICES.md +40 -0
- package/dist/agent-cli.js +69 -2
- package/dist/agent-cli.js.map +1 -1
- package/dist/agent-endpoint.js +11 -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/antigravity-usage-scan.d.ts +58 -0
- package/dist/antigravity-usage-scan.js +257 -0
- package/dist/antigravity-usage-scan.js.map +1 -0
- package/dist/antigravity-usage-worker.d.ts +1 -0
- package/dist/antigravity-usage-worker.js +10 -0
- package/dist/antigravity-usage-worker.js.map +1 -0
- package/dist/auth-api.js +4 -0
- package/dist/auth-api.js.map +1 -1
- package/dist/backend/kiro-classic-archive.d.ts +52 -0
- package/dist/backend/kiro-classic-archive.js +444 -0
- package/dist/backend/kiro-classic-archive.js.map +1 -0
- package/dist/backend/kiro-identity.d.ts +83 -0
- package/dist/backend/kiro-identity.js +144 -0
- 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-retired-model.d.ts +62 -0
- package/dist/backend/kiro-retired-model.js +160 -0
- package/dist/backend/kiro-retired-model.js.map +1 -0
- package/dist/backend/kiro-v2-store-worker.js +21 -1
- package/dist/backend/kiro-v2-store-worker.js.map +1 -1
- package/dist/backend/kiro-v2-store.d.ts +8 -0
- package/dist/backend/kiro-v2-store.js.map +1 -1
- package/dist/backend/kiro.d.ts +169 -2
- package/dist/backend/kiro.js +703 -28
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/types.d.ts +108 -0
- package/dist/backend/types.js +9 -0
- package/dist/backend/types.js.map +1 -1
- package/dist/backend-signin-guide.d.ts +1 -0
- package/dist/backend-signin-guide.js +9 -0
- package/dist/backend-signin-guide.js.map +1 -0
- package/dist/backend-signin-pending.d.ts +10 -0
- package/dist/backend-signin-pending.js +44 -0
- package/dist/backend-signin-pending.js.map +1 -0
- package/dist/browser-backend-signins.d.ts +56 -0
- package/dist/browser-backend-signins.js +189 -0
- package/dist/browser-backend-signins.js.map +1 -0
- package/dist/cache-ledger.d.ts +38 -2
- package/dist/cache-ledger.js +133 -8
- package/dist/cache-ledger.js.map +1 -1
- package/dist/cache-prices.d.ts +2 -1
- package/dist/cache-prices.js +5 -2
- package/dist/cache-prices.js.map +1 -1
- package/dist/cache-service.d.ts +68 -0
- package/dist/cache-service.js +355 -13
- package/dist/cache-service.js.map +1 -1
- package/dist/channel/adapters/discord.d.ts +11 -0
- package/dist/channel/adapters/discord.js +71 -14
- package/dist/channel/adapters/discord.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 +41 -2
- 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 +11 -0
- package/dist/classic-channel-manager.js +39 -1
- package/dist/classic-channel-manager.js.map +1 -1
- package/dist/cli.js +54 -2
- package/dist/cli.js.map +1 -1
- package/dist/config-validator.d.ts +7 -1
- package/dist/config-validator.js +55 -10
- package/dist/config-validator.js.map +1 -1
- package/dist/config.d.ts +19 -0
- package/dist/config.js +33 -1
- package/dist/config.js.map +1 -1
- package/dist/cpu-quota.d.ts +23 -0
- package/dist/cpu-quota.js +86 -0
- package/dist/cpu-quota.js.map +1 -0
- package/dist/daemon.d.ts +68 -0
- package/dist/daemon.js +448 -26
- package/dist/daemon.js.map +1 -1
- package/dist/dashboard-permissions.d.ts +31 -6
- package/dist/dashboard-permissions.js +84 -9
- 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 +133 -2
- package/dist/fleet-manager.js +905 -94
- 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-knowledge/skills/credential-profiles/SKILL.md +5 -2
- package/dist/general-knowledge/skills/kiro-engine-migration/SKILL.md +24 -1
- package/dist/general-knowledge/skills/web-appearance/SKILL.canvas-worker-off.md +49 -1
- package/dist/general-knowledge/skills/web-appearance/SKILL.md +49 -1
- package/dist/general-knowledge/skills/web-dashboard/SKILL.canvas-worker-off.md +47 -9
- package/dist/general-knowledge/skills/web-dashboard/SKILL.md +54 -11
- package/dist/instance-config-impact.js +10 -5
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.d.ts +23 -0
- package/dist/instance-lifecycle.js +62 -12
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/kiro-db-reader.d.ts +5 -0
- package/dist/kiro-db-reader.js +18 -0
- package/dist/kiro-db-reader.js.map +1 -1
- package/dist/kiro-engine-status.d.ts +2 -0
- package/dist/kiro-engine-status.js +9 -0
- package/dist/kiro-engine-status.js.map +1 -1
- package/dist/kiro-migrate.d.ts +60 -0
- package/dist/kiro-migrate.js +160 -0
- package/dist/kiro-migrate.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-transcript-lane.d.ts +2 -0
- package/dist/kiro-transcript-lane.js.map +1 -1
- package/dist/kiro-transcript-worker.js +1 -0
- package/dist/kiro-transcript-worker.js.map +1 -1
- package/dist/kiro-tui-forensic.d.ts +12 -0
- package/dist/kiro-tui-forensic.js +110 -0
- package/dist/kiro-tui-forensic.js.map +1 -0
- package/dist/kiro-usage-run.d.ts +7 -0
- package/dist/kiro-usage-run.js +39 -0
- package/dist/kiro-usage-run.js.map +1 -0
- package/dist/kiro-usage-scan.d.ts +49 -0
- package/dist/kiro-usage-scan.js +223 -0
- package/dist/kiro-usage-scan.js.map +1 -0
- package/dist/kiro-usage-worker.d.ts +1 -0
- package/dist/kiro-usage-worker.js +10 -0
- package/dist/kiro-usage-worker.js.map +1 -0
- package/dist/kiro-usage.d.ts +58 -0
- package/dist/kiro-usage.js +310 -0
- package/dist/kiro-usage.js.map +1 -0
- package/dist/locale.js +230 -8
- package/dist/locale.js.map +1 -1
- package/dist/log-service.js +1 -1
- package/dist/log-service.js.map +1 -1
- package/dist/login-url.d.ts +4 -0
- package/dist/login-url.js +22 -0
- package/dist/login-url.js.map +1 -0
- package/dist/needs-you-hub.d.ts +2 -1
- package/dist/needs-you-hub.js +1 -1
- package/dist/needs-you-hub.js.map +1 -1
- package/dist/needs-you.d.ts +10 -2
- package/dist/needs-you.js +10 -2
- package/dist/needs-you.js.map +1 -1
- package/dist/notice-delivery.d.ts +16 -0
- package/dist/notice-delivery.js +35 -0
- package/dist/notice-delivery.js.map +1 -0
- package/dist/office-share-page.d.ts +16 -0
- package/dist/office-share-page.js +85 -0
- package/dist/office-share-page.js.map +1 -0
- package/dist/office-share-service.d.ts +91 -0
- package/dist/office-share-service.js +176 -0
- package/dist/office-share-service.js.map +1 -0
- package/dist/office-share.d.ts +268 -0
- package/dist/office-share.js +574 -0
- package/dist/office-share.js.map +1 -0
- package/dist/opencode-usage-scan.d.ts +28 -0
- package/dist/opencode-usage-scan.js +92 -0
- package/dist/opencode-usage-scan.js.map +1 -0
- package/dist/opencode-usage-worker.d.ts +1 -0
- package/dist/opencode-usage-worker.js +10 -0
- package/dist/opencode-usage-worker.js.map +1 -0
- package/dist/outbound-handlers.js +22 -2
- package/dist/outbound-handlers.js.map +1 -1
- package/dist/outbound-schemas.d.ts +65 -2
- package/dist/outbound-schemas.js +56 -2
- package/dist/outbound-schemas.js.map +1 -1
- package/dist/public-web-gateway.js +7 -1
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/quickstart-api.js +13 -2
- package/dist/quickstart-api.js.map +1 -1
- package/dist/quickstart.js +2 -1
- package/dist/quickstart.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/reply-triggers.d.ts +2 -0
- package/dist/reply-triggers.js +3 -0
- package/dist/reply-triggers.js.map +1 -0
- package/dist/settings-api.d.ts +2 -0
- package/dist/settings-api.js +41 -16
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.js +20 -14
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.js +7 -1
- package/dist/settings-effect.js.map +1 -1
- package/dist/settings-instance-patch.js +4 -1
- package/dist/settings-instance-patch.js.map +1 -1
- package/dist/setup-form.d.ts +1 -1
- package/dist/setup-form.js +55 -6
- package/dist/setup-form.js.map +1 -1
- package/dist/setup-host.d.ts +9 -0
- package/dist/setup-host.js +127 -6
- package/dist/setup-host.js.map +1 -1
- package/dist/setup-signin-assets.d.ts +2 -0
- package/dist/setup-signin-assets.js +6 -0
- package/dist/setup-signin-assets.js.map +1 -0
- package/dist/setup-wizard.js +2 -0
- package/dist/setup-wizard.js.map +1 -1
- package/dist/structured-signin-transport.d.ts +8 -0
- package/dist/structured-signin-transport.js +79 -0
- package/dist/structured-signin-transport.js.map +1 -0
- package/dist/structured-signin.d.ts +131 -0
- package/dist/structured-signin.js +388 -0
- package/dist/structured-signin.js.map +1 -0
- package/dist/tool-permissions.js +29 -0
- package/dist/tool-permissions.js.map +1 -1
- package/dist/topic-commands.js +6 -2
- package/dist/topic-commands.js.map +1 -1
- package/dist/transcript-sources.d.ts +27 -2
- package/dist/transcript-sources.js +104 -40
- package/dist/transcript-sources.js.map +1 -1
- package/dist/turn-reply-guard.d.ts +1 -1
- package/dist/turn-reply-guard.js +1 -1
- package/dist/turn-reply-guard.js.map +1 -1
- package/dist/types.d.ts +33 -8
- package/dist/ui/backend-signin.js +63 -10
- package/dist/ui/chat-store.js +3 -2
- package/dist/ui/chat-strings.js +4 -4
- package/dist/ui/fleet-office-editor.js +68 -11
- package/dist/ui/fleet-office-layout.js +110 -35
- package/dist/ui/fleet-office-model.js +6 -3
- package/dist/ui/fleet-office-overview.js +167 -0
- package/dist/ui/fleet-office-pack.d.ts +13 -3
- package/dist/ui/fleet-office-pack.js +214 -24
- package/dist/ui/fleet-office-skin.js +98 -23
- package/dist/ui/fleet-office-store.js +82 -5
- package/dist/ui/fleet-office-view.js +5 -4
- package/dist/ui/fleet-office-zones.js +232 -21
- package/dist/ui/fleet-office.js +549 -186
- package/dist/ui/fleet-usage.js +19 -15
- package/dist/ui/office-share-dialog.js +145 -0
- package/dist/ui/office-share-page.js +164 -0
- package/dist/ui/panel-chat.js +22 -3
- package/dist/ui/panel-log.js +4 -4
- package/dist/ui/panel-needs.js +5 -5
- package/dist/ui/panel-settings.js +38 -12
- package/dist/ui/settings-dialogs.js +8 -1
- package/dist/ui/settings-guests.js +17 -7
- package/dist/ui/settings-model.js +22 -6
- package/dist/ui/settings-registry.js +4 -0
- package/dist/ui/settings-strings.js +18 -2
- package/dist/ui/shared/app-i18n.js +4 -2
- package/dist/ui/shared/app-shell.js +14 -6
- package/dist/ui/shared/app-stream.js +2 -1
- package/dist/ui/shared/app.css +85 -4
- package/dist/ui/shared/office/cozy.png +0 -0
- package/dist/ui/shared/side-panel.js +95 -0
- package/dist/ui/structured-signin.js +115 -0
- package/dist/usage-report.d.ts +20 -0
- package/dist/usage-report.js +54 -17
- package/dist/usage-report.js.map +1 -1
- package/dist/usage-rollup.d.ts +9 -1
- package/dist/usage-rollup.js +20 -4
- package/dist/usage-rollup.js.map +1 -1
- package/dist/web-api.d.ts +23 -1
- package/dist/web-api.js +292 -3
- 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-backend-login.d.ts +1 -7
- package/dist/web-backend-login.js +2 -24
- package/dist/web-backend-login.js.map +1 -1
- package/dist/web-office-acts.d.ts +173 -0
- package/dist/web-office-acts.js +285 -0
- package/dist/web-office-acts.js.map +1 -0
- 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 +232 -0
- package/dist/web-office-pack-tools.js +754 -0
- package/dist/web-office-pack-tools.js.map +1 -0
- package/dist/web-office-skins.d.ts +71 -6
- package/dist/web-office-skins.js +321 -35
- package/dist/web-office-skins.js.map +1 -1
- package/dist/web-office-store.d.ts +5 -2
- package/dist/web-office-store.js +69 -10
- package/dist/web-office-store.js.map +1 -1
- package/dist/web-settings-patch.d.ts +2 -1
- package/dist/web-settings-patch.js +4 -1
- package/dist/web-settings-patch.js.map +1 -1
- package/dist/working-recovery.d.ts +2 -2
- package/dist/working-recovery.js +43 -8
- package/dist/working-recovery.js.map +1 -1
- package/dist/working-state-journal.d.ts +2 -0
- package/dist/working-state-journal.js +16 -1
- package/dist/working-state-journal.js.map +1 -1
- package/package.json +3 -2
- package/templates/windows-shortcuts.ps1 +155 -140
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"kiro-v2-store-worker.js","sourceRoot":"","sources":["../../src/backend/kiro-v2-store-worker.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,QAAQ,EAAc,MAAM,SAAS,CAAC;AAC1E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAGjC,MAAM,WAAW,GAAG,IAAI,CAAC;A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+
import type { KiroMigrationVerificationInput } from "./kiro-migration-verify.js";
|
|
2
|
+
import type { KiroClassicArchiveInput, KiroCarryPreparation } from "./kiro-classic-archive.js";
|
|
1
3
|
export declare const KIRO_V2_STORE_BUDGET_MS = 15000;
|
|
2
4
|
export declare const KIRO_V2_STORE_QUEUE_LIMIT = 64;
|
|
3
5
|
export interface KiroV2StoreInput {
|
|
4
6
|
keys: string[];
|
|
5
7
|
sessionsDir: string;
|
|
8
|
+
carry?: Omit<KiroClassicArchiveInput, "sessionId">;
|
|
9
|
+
migration?: KiroMigrationVerificationInput;
|
|
6
10
|
}
|
|
7
11
|
export type KiroV2StoreReply = {
|
|
8
12
|
kind: "ok";
|
|
@@ -15,6 +19,10 @@ export type KiroV2StoreReply = {
|
|
|
15
19
|
reads: number;
|
|
16
20
|
hits: number;
|
|
17
21
|
};
|
|
22
|
+
carry?: KiroCarryPreparation;
|
|
23
|
+
verification?: {
|
|
24
|
+
forensic: string;
|
|
25
|
+
};
|
|
18
26
|
} | {
|
|
19
27
|
kind: "unreadable";
|
|
20
28
|
detail: string;
|
|
@@ -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;AAG9C,MAAM,CAAC,MAAM,uBAAuB,GAAG,MAAM,CAAC;AAC9C,MAAM,CAAC,MAAM,yBAAyB,GAAG,EAAE,CAAC;AAS5C,MAAM,UAAU,GAAG,CAAC,MAAc,EAAoB,EAAE,CAAC,CAAC,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,EAAE,CAAC,CAAC;AAC1F,SAAS,aAAa;IACpB,OAAO,OAAO,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AU,EAAE,CAAC;gBAAC,IAAI,CAAC,MAAM,CAAC,EAAE,EAAE,UAAU,CAAC,gCAAgC,CAAC,CAAC,CAAC;gBAAC,SAAS;YAAC,CAAC;YAClH,IAAI,CAAC;gBACH,OAAO,CAAC,IAAI,GAAG,IAAI,CAAC;gBAAC,IAAI,CAAC,MAAO,CAAC,GAAG,EAAE,CAAC;gBACxC,IAAI,CAAC,MAAO,CAAC,WAAW,CAAC,EAAE,EAAE,EAAE,UAAU,EAAE,OAAO,CAAC,UAAU,EAAE,KAAK,EAAE,OAAO,CAAC,KAAK,EAA+B,CAAC,CAAC;YACtH,CAAC;YAAC,MAAM,CAAC;gBAAC,IAAI,CAAC,MAAM,EAAE,CAAC;gBAAC,MAAM;YAAC,CAAC;QACnC,CAAC;IACH,CAAC;CACF;AACD,MAAM,CAAC,MAAM,qBAAqB,GAAG,IAAI,eAAe,EAAE,CAAC"}
|
package/dist/backend/kiro.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
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
|
+
import { type KiroModelErrorVerdict } from "./kiro-retired-model.js";
|
|
2
3
|
import type { KiroLogLaunch } from "../kiro-log-gate.js";
|
|
4
|
+
import type { KiroTranscriptLaunch } from "../transcript-sources.js";
|
|
3
5
|
export declare const KIRO_LEGACY_UI_MIN = "1.27.0";
|
|
4
6
|
export declare const KIRO_EFFORT_FLAG_MIN = "2.6.0";
|
|
5
7
|
/** Oldest kiro-cli AgEnD claims: older ones still launch, with a warning. */
|
|
@@ -14,7 +16,7 @@ export declare const KIRO_INSTANCE_AGENT_MIN = "2.21.0";
|
|
|
14
16
|
* the binary's own --help instead of the version table, and the operator is
|
|
15
17
|
* told the version is unverified.
|
|
16
18
|
*/
|
|
17
|
-
export declare const KIRO_TESTED_MAX = "2.
|
|
19
|
+
export declare const KIRO_TESTED_MAX = "2.34.0";
|
|
18
20
|
/**
|
|
19
21
|
* kiro-cli versions, per TUI front-end, whose mid-turn steering AgEnD drives (#1405). Only kiro's TUI steers — typed
|
|
20
22
|
* input while a turn runs is injected into it ("steer", the default) or held for its end ("queue", Ctrl+S toggles); the
|
|
@@ -22,11 +24,81 @@ export declare const KIRO_TESTED_MAX = "2.33.0";
|
|
|
22
24
|
* queued message mid-tool — has been captured (tests/fixtures/kiro-steer-1405, 2026-10-08: 2.27.1 `--tui
|
|
23
25
|
* --agent-engine=v2` and `--v3`, 2.28.0 `--tui --agent-engine=v2`; identical rows on all three). Any other version,
|
|
24
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.
|
|
25
29
|
*/
|
|
26
30
|
export declare const KIRO_STEER_VERIFIED: Readonly<Record<string, ReadonlyArray<"tui" | "v3">>>;
|
|
27
31
|
export declare function readKiroSteerComposer(pane: string): SteerComposerMode | null;
|
|
28
32
|
/** The typed text on the composer's row when it reads "text" (its first row, as kiro paints it); else null. */
|
|
29
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;
|
|
30
102
|
export interface KiroCliCompatibility {
|
|
31
103
|
version?: string;
|
|
32
104
|
supportsLegacyUi: boolean;
|
|
@@ -59,6 +131,41 @@ export declare function kiroTrustPromptState(pane: string): KiroLaunchPromptStat
|
|
|
59
131
|
* mid-session "cancel" and notice variants, and any other shape, are active with an unknown cursor — held, never keyed.
|
|
60
132
|
*/
|
|
61
133
|
export declare function kiroWorkspaceTrustState(pane: string): KiroLaunchPromptState;
|
|
134
|
+
/**
|
|
135
|
+
* #2587: kiro-cli 2.34.0's V3 engine answers an MCP server's `elicitation/create` (a tool asking the user for input)
|
|
136
|
+
* with a card in place of the composer: a divider, `Input requested · <server>`, a divider, the server's message and
|
|
137
|
+
* one row per form field then Submit / Decline (form mode) — or Host, URL and Open in browser / Copy URL / I'll open it
|
|
138
|
+
* myself / Decline / Cancel (url mode) — with exactly one `❯` cursor row, a divider, and the key hints as the last row
|
|
139
|
+
* (tests/fixtures/kiro-2.34.0-audit). Bottom-anchored: the card is live only while it is what the pane ends with. The
|
|
140
|
+
* answer can carry credentials or a sign-in, so it is the person's: never a key, and no delivery's Enter may land in it.
|
|
141
|
+
*/
|
|
142
|
+
export declare function kiroMcpInputRequestActive(pane: string): boolean;
|
|
143
|
+
/**
|
|
144
|
+
* #2592: kiro's V3 engine shows the agent's question to the user (`question_request`) as a card in place of the
|
|
145
|
+
* composer: a divider, `Question` (or `<name> > Question`), the question, numbered options (a description row under
|
|
146
|
+
* one, `(recommended)` after one) and `Type a different answer…`, a divider, and the key hints as the last row — or, in
|
|
147
|
+
* an option's sub-options, `[✓] <title>` rows and `esc to go back · … · space to toggle · ↵ to submit`
|
|
148
|
+
* (tests/fixtures/kiro-question-2592; unchanged from 2.33.1 to 2.34.0). Any typed character turns the card into a free
|
|
149
|
+
* answer and Enter submits it, so a delivered message would become the answer to a question nobody read. The person
|
|
150
|
+
* answers it in the pane (the user's decision on #2592); it is never keyed. Bottom-anchored like
|
|
151
|
+
* kiroMcpInputRequestActive: the header is the row right under the nearest divider above the key hints' divider.
|
|
152
|
+
*/
|
|
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;
|
|
62
169
|
/**
|
|
63
170
|
* Kiro's service-unavailable path opens the same picker as `/model`, but only
|
|
64
171
|
* the former needs incident escalation. The runtime scanner and delivery gate
|
|
@@ -116,6 +223,15 @@ export declare const KIRO_CLASSIC_NUDGE_V3: KiroLaunchPromptSpec;
|
|
|
116
223
|
* flag; the quoted names in its description are the fallback.
|
|
117
224
|
*/
|
|
118
225
|
export declare function parseKiroAgentEngines(help: string): string[] | null;
|
|
226
|
+
/**
|
|
227
|
+
* #2598 (D1): kiro-cli-chat skips its self-update when this is set (2.30.0 and 2.34.0 both read it). AgEnD pins the
|
|
228
|
+
* kiro version it has audited; an in-place update can swap the engine a running fleet depends on (3.0 drops legacy).
|
|
229
|
+
* Every chat AgEnD starts carries it: the instance launch (a shell prefix) and the probes (their child env). The
|
|
230
|
+
* host-wide `app.disableAutoupdates` setting is the operator's half; this holds even where that was never set.
|
|
231
|
+
*/
|
|
232
|
+
export declare const KIRO_NO_AUTO_UPDATE = "KIRO_NO_AUTO_UPDATE";
|
|
233
|
+
/** A kiro child's environment: the given one (default: ours) with self-update off. */
|
|
234
|
+
export declare function kiroChildEnv(base?: NodeJS.ProcessEnv): NodeJS.ProcessEnv;
|
|
119
235
|
/**
|
|
120
236
|
* Probe once per binary generation. A version AgEnD has run (<= TESTED_MAX)
|
|
121
237
|
* is answered from the table without a second CLI call; anything newer, or a
|
|
@@ -161,6 +277,10 @@ export declare function kiroLaunchedHereBefore(instance: string, workingDirector
|
|
|
161
277
|
* Null when the layout cannot be read.
|
|
162
278
|
*/
|
|
163
279
|
export declare function readActiveKiroAgent(pane: string, ui: "legacy" | "tui" | "v3"): string | null;
|
|
280
|
+
/** Model on Kiro 2.34's live footer (status, cwd, optional branch, blank, idle composer).
|
|
281
|
+
* Separate from readActiveKiroAgent: do not widen the disabled agent-switch action's reader.
|
|
282
|
+
*/
|
|
283
|
+
export declare function readActiveKiroModel(pane: string, expectedAgent?: string): string | null;
|
|
164
284
|
export declare function planKiroLaunch(ui: "legacy" | "tui" | "v3", compat: KiroCliCompatibility): KiroLaunchPlan;
|
|
165
285
|
/** Process-level memo used by backend construction; exported for regression tests. */
|
|
166
286
|
export declare function getCachedKiroCliCompatibility(binaryPath: string, run?: KiroProbeRunner): KiroCliCompatibility;
|
|
@@ -185,6 +305,8 @@ export declare function wrapTolerant(text: string): string;
|
|
|
185
305
|
export declare const KIRO_RATE_LIMIT_SCREEN: RegExp;
|
|
186
306
|
/** #1636: kiro's monthly cap (MonthlyLimitReached branch); see getErrorPatterns. */
|
|
187
307
|
export declare const KIRO_REQUEST_LIMIT_SCREEN: RegExp;
|
|
308
|
+
/** #2598: Kiro 2.34 lists a carried UUID in both V2 and classic; this proves presence, not a missing session. */
|
|
309
|
+
export declare const KIRO_AMBIGUOUS_RESUME_SCREEN: RegExp;
|
|
188
310
|
/** Startup budget for a `--resume` launch (60% first output, 40% ready). */
|
|
189
311
|
export declare const KIRO_RESUME_STARTUP_BUDGET_MS = 60000;
|
|
190
312
|
export declare class KiroBackend implements CliBackend {
|
|
@@ -211,6 +333,8 @@ export declare class KiroBackend implements CliBackend {
|
|
|
211
333
|
private activeTrustAll;
|
|
212
334
|
/** Version-gate notice for the launch just built (consumeLaunchWarning). */
|
|
213
335
|
private launchWarning;
|
|
336
|
+
/** #2648: what this launch's model came from, for a model error to be judged by (decideKiroModelError). */
|
|
337
|
+
private launchModels;
|
|
214
338
|
/**
|
|
215
339
|
* What this launch attempt resumes and as which agent (#906), resolved once per attempt in writeConfig — it claims
|
|
216
340
|
* conversations and records fresh starts — and read by the buildCommand that follows it.
|
|
@@ -221,12 +345,17 @@ export declare class KiroBackend implements CliBackend {
|
|
|
221
345
|
/** #1218: the last launch built in full (cleared when a build starts, set only when it returns). */
|
|
222
346
|
private builtLaunch;
|
|
223
347
|
private preparedV2Store;
|
|
348
|
+
/** #2648: the saved model of the v2 conversation this instance has recorded, read in prepareLaunch (off the loop). */
|
|
349
|
+
private preparedV2Model;
|
|
224
350
|
private storePreparation;
|
|
351
|
+
private preparedCarry;
|
|
225
352
|
private storeKey;
|
|
226
353
|
private readPreparedV2Store;
|
|
227
354
|
/** Metadata only: identity claims/config writes remain synchronous, after
|
|
228
355
|
* the daemon rechecks its launch admission following this await. */
|
|
229
356
|
prepareLaunch(config?: CliBackendConfig): Promise<void>;
|
|
357
|
+
private needsCarryPreparation;
|
|
358
|
+
private assertCarryPrepared;
|
|
230
359
|
constructor(instanceDir: string, compatibility?: KiroCliCompatibility);
|
|
231
360
|
requiresDeliveryEnterRetry(): boolean;
|
|
232
361
|
dropsEnterWhileBusy(): boolean;
|
|
@@ -235,6 +364,8 @@ export declare class KiroBackend implements CliBackend {
|
|
|
235
364
|
/** #1405: the TUI composer's mode; never read on the legacy UI, whose prompt row has no such mode. */
|
|
236
365
|
readSteerComposer(pane: string): SteerComposerMode | null;
|
|
237
366
|
readSteerComposerText(pane: string): string | null;
|
|
367
|
+
/** #2676: the line count a collapsed paste chip on the composer's row names (readKiroCollapsedPasteLines). */
|
|
368
|
+
readSteerComposerPasteLines(text: string): number | null;
|
|
238
369
|
/**
|
|
239
370
|
* Live evidence (kiro-cli 2.21.0, 2026-09-03): `--resume` prints nothing
|
|
240
371
|
* until the conversation comes back from the backend ("Picking up where we
|
|
@@ -246,6 +377,11 @@ export declare class KiroBackend implements CliBackend {
|
|
|
246
377
|
getStartupBudgetMs(ctx: {
|
|
247
378
|
resume: boolean;
|
|
248
379
|
}): number | undefined;
|
|
380
|
+
resumeBlockedPattern(): RegExp;
|
|
381
|
+
retainedResumeBlock(): {
|
|
382
|
+
reason: string;
|
|
383
|
+
remedy: string;
|
|
384
|
+
} | null;
|
|
249
385
|
retriesResumeOnStartupFailure(): boolean;
|
|
250
386
|
getBottomReadyPattern(): RegExp | null;
|
|
251
387
|
buildCommand(config: CliBackendConfig): string;
|
|
@@ -273,6 +409,18 @@ export declare class KiroBackend implements CliBackend {
|
|
|
273
409
|
private agentSpec;
|
|
274
410
|
/** A shared file AgEnD could not bring to the state isolation needs: said, never reported as isolated. */
|
|
275
411
|
private noteShared;
|
|
412
|
+
/**
|
|
413
|
+
* #2648 steps 1 and 3: the model a resumed conversation is launched on instead of its saved one, or null to launch as
|
|
414
|
+
* before. Only for an instance with no model of its own. The conversation's current saved model decides, every
|
|
415
|
+
* launch: one kiro's cached list no longer has is switched to kiro's default; one it has — or, without a list, one
|
|
416
|
+
* other than the model that failed (a later /model choice, or the default kiro saved after a switch) — is launched
|
|
417
|
+
* as saved, even after an earlier switch (#2649 review). Only when the saved model cannot be read does a recorded
|
|
418
|
+
* switch (step 2's restart) still apply. Announced once per conversation; the record also keeps that dedupe.
|
|
419
|
+
*/
|
|
420
|
+
private retiredModelFallback;
|
|
421
|
+
private saveModelRecords;
|
|
422
|
+
/** #2648 steps 2 and 4: what a model error on this launch should do (records it); null before any launch. */
|
|
423
|
+
onModelError(): KiroModelErrorVerdict | null;
|
|
276
424
|
private addLaunchWarning;
|
|
277
425
|
/**
|
|
278
426
|
* The launch plan of one attempt (#906, design §2/§5): the engine the plan pins, and — when this kiro-cli has
|
|
@@ -317,8 +465,27 @@ export declare class KiroBackend implements CliBackend {
|
|
|
317
465
|
getErrorPatterns(): ErrorPattern[];
|
|
318
466
|
getStartupDialogs(): StartupDialog[];
|
|
319
467
|
getRuntimeDialogs(): RuntimeDialog[];
|
|
468
|
+
/**
|
|
469
|
+
* #2682: kiro's own input row, read positively, before an idle delivery. TUI and V3: the composer reads "idle", or
|
|
470
|
+
* "text" (a draft, as before); busy, another mode (a goal, the tray being edited) or no composer at all — an unknown
|
|
471
|
+
* full-screen program, a blank frame — is not a screen to type into. Legacy: its prompt row is the bottom row (`4% !>`,
|
|
472
|
+
* or `4% >` without trust-all, live 2.34.0), not running a `!` command. Anything else: the delivery waits.
|
|
473
|
+
*/
|
|
474
|
+
/** #2682: the busy composer's input reaches kiro's own turn (kiroBusyTurnTakesInput), not a `!` command's PTY. */
|
|
475
|
+
busyTurnTakesInput(pane: string): boolean;
|
|
476
|
+
idleComposerReady(pane: string): boolean;
|
|
320
477
|
getContextUsage(): number | null;
|
|
321
478
|
logLaunch(): KiroLogLaunch | null;
|
|
479
|
+
/**
|
|
480
|
+
* #2598 B1: the store is the launch's engine's (v1 = the classic sqlite store, v2 = the TUI's session files), and the
|
|
481
|
+
* conversation is the one the launch resumed by id. A fresh or legacy-mode launch owns no id yet.
|
|
482
|
+
*/
|
|
483
|
+
transcriptLaunch(): KiroTranscriptLaunch | null;
|
|
484
|
+
/**
|
|
485
|
+
* M-2025: `/session-id` and `/title` exist on tui and V3 only. Legacy keeps
|
|
486
|
+
* the tmux window name and the sqlite lookup.
|
|
487
|
+
*/
|
|
488
|
+
sessionProof(): BackendSessionProof | null;
|
|
322
489
|
getSessionId(): string | null;
|
|
323
490
|
getQuitCommand(): string;
|
|
324
491
|
getCompactCommand(): string;
|