@songsid/agend 2.2.0-beta.7 → 2.2.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agent-whats-new.js +9 -3
- package/dist/agent-whats-new.js.map +1 -1
- package/dist/backend/grok.d.ts +1 -0
- package/dist/backend/grok.js +5 -0
- package/dist/backend/grok.js.map +1 -1
- package/dist/backend/kiro.d.ts +24 -0
- package/dist/backend/kiro.js +51 -5
- package/dist/backend/kiro.js.map +1 -1
- package/dist/backend/muse.d.ts +17 -0
- package/dist/backend/muse.js +86 -16
- package/dist/backend/muse.js.map +1 -1
- package/dist/backend/types.d.ts +16 -1
- package/dist/backend/types.js.map +1 -1
- package/dist/channel/mcp-tools.js +1 -1
- package/dist/channel/mcp-tools.js.map +1 -1
- package/dist/config-validator.js +3 -0
- package/dist/config-validator.js.map +1 -1
- package/dist/daemon.d.ts +6 -1
- package/dist/daemon.js +12 -4
- package/dist/daemon.js.map +1 -1
- package/dist/fleet-manager.d.ts +13 -0
- package/dist/fleet-manager.js +52 -0
- package/dist/fleet-manager.js.map +1 -1
- package/dist/general-knowledge/skills/cross-instance-messaging/SKILL.md +2 -0
- package/dist/general-knowledge/skills/worker-collaboration/SKILL.md +1 -1
- package/dist/instance-config-impact.js +1 -0
- package/dist/instance-config-impact.js.map +1 -1
- package/dist/instance-lifecycle.js +3 -1
- package/dist/instance-lifecycle.js.map +1 -1
- package/dist/kiro-log-gate.d.ts +42 -0
- package/dist/kiro-log-gate.js +39 -0
- package/dist/kiro-log-gate.js.map +1 -0
- package/dist/log-service.d.ts +99 -0
- package/dist/log-service.js +235 -0
- package/dist/log-service.js.map +1 -0
- package/dist/log-steps.d.ts +169 -0
- package/dist/log-steps.js +858 -0
- package/dist/log-steps.js.map +1 -0
- package/dist/public-web-gateway.js +1 -1
- package/dist/public-web-gateway.js.map +1 -1
- package/dist/public-web-link.js +15 -3
- package/dist/public-web-link.js.map +1 -1
- package/dist/settings-api.js +4 -0
- package/dist/settings-api.js.map +1 -1
- package/dist/settings-change.js +2 -0
- package/dist/settings-change.js.map +1 -1
- package/dist/settings-effect.js +2 -0
- package/dist/settings-effect.js.map +1 -1
- package/dist/tool-progress.js +3 -2
- package/dist/tool-progress.js.map +1 -1
- package/dist/transcript-jsonl.d.ts +80 -3
- package/dist/transcript-jsonl.js +147 -10
- package/dist/transcript-jsonl.js.map +1 -1
- package/dist/transcript-monitor.d.ts +11 -0
- package/dist/transcript-monitor.js +61 -13
- package/dist/transcript-monitor.js.map +1 -1
- package/dist/transcript-sources.d.ts +24 -0
- package/dist/transcript-sources.js +205 -55
- package/dist/transcript-sources.js.map +1 -1
- package/dist/types.d.ts +6 -0
- package/dist/ui/panel-log.js +428 -0
- package/dist/ui/panel-settings.js +6 -1
- package/dist/ui/settings-strings.js +2 -0
- package/dist/ui/shared/app-i18n.js +2 -2
- package/dist/ui/shared/app-route.js +6 -1
- package/dist/ui/shared/app-shell.js +3 -3
- package/dist/ui/shared/app-stream.js +2 -1
- package/dist/ui/shared/app.css +40 -5
- package/dist/ui/shared/app.js +5 -0
- package/dist/ui/shared/fonts/README.md +1 -1
- package/dist/ui/shared/instance-nav.js +9 -6
- package/dist/ui/shared/instance-switch.js +4 -4
- package/dist/ui/shared/tokens.css +1 -1
- package/dist/unrecognised-prompt.js +2 -2
- package/dist/unrecognised-prompt.js.map +1 -1
- package/dist/web-api.d.ts +3 -0
- package/dist/web-api.js +41 -0
- package/dist/web-api.js.map +1 -1
- package/dist/web-auth.js +2 -1
- package/dist/web-auth.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/web-shell-routes.d.ts +4 -0
- package/dist/web-shell-routes.js +9 -0
- package/dist/web-shell-routes.js.map +1 -1
- package/package.json +1 -1
package/dist/daemon.js
CHANGED
|
@@ -1089,6 +1089,10 @@ export class Daemon extends EventEmitter {
|
|
|
1089
1089
|
ipcServer = null;
|
|
1090
1090
|
messageBus;
|
|
1091
1091
|
transcriptMonitor = null;
|
|
1092
|
+
/** #1218: the transcript this instance's monitor follows now (the Log tab reads it on demand; nothing runs for it here). */
|
|
1093
|
+
logTranscriptPath() { return this.transcriptMonitor?.currentPath() ?? null; }
|
|
1094
|
+
/** #1218 (kiro): the launch this daemon's backend last built, for the Log's reason only (kiro-log-gate.ts). */
|
|
1095
|
+
logLaunch() { return this.backend?.logLaunch?.() ?? null; }
|
|
1092
1096
|
guardian = null;
|
|
1093
1097
|
adapter = null;
|
|
1094
1098
|
pendingIpcRequests = new Map();
|
|
@@ -10575,7 +10579,7 @@ export class Daemon extends EventEmitter {
|
|
|
10575
10579
|
* the same tmux window, not aborted, writes not stopping — re-checked after every await, and between the paste and
|
|
10576
10580
|
* its Enter. The whole step, every await included, ends at one monotonic deadline: a late capture never confirms
|
|
10577
10581
|
* and a late admission never writes; a paste whose Enter would land past it is taken back. Not confirmed in time:
|
|
10578
|
-
* the old setup stays, a launch warning
|
|
10582
|
+
* the old setup stays, the next launch tries again, and a quiet launch warning (#1794: logged and on the Log tab, not posted) says so. A stop, pause or respawn ends it
|
|
10579
10583
|
* silently, confirming and removing nothing. Never throws into the spawn.
|
|
10580
10584
|
*/
|
|
10581
10585
|
async ensureBackendAgent() {
|
|
@@ -10621,8 +10625,10 @@ export class Daemon extends EventEmitter {
|
|
|
10621
10625
|
if (active === sw.agent && (wroteAt === null || capturedAt > wroteAt)) {
|
|
10622
10626
|
if (sw.alreadyConfirmed && wroteAt === null)
|
|
10623
10627
|
return; // already ours, already on record
|
|
10624
|
-
for (const
|
|
10625
|
-
this.
|
|
10628
|
+
for (const { message, quiet } of sw.confirm()) {
|
|
10629
|
+
this.logger.warn({ agent: sw.agent, warning: message }, "The agent switch was confirmed with a warning");
|
|
10630
|
+
this.emit("backend_launch_warning", { name: this.name, message, quiet: quiet === true });
|
|
10631
|
+
}
|
|
10626
10632
|
this.logger.info({ agent: sw.agent, switched: wroteAt !== null }, "The resumed conversation runs as this instance's agent");
|
|
10627
10633
|
return;
|
|
10628
10634
|
}
|
|
@@ -10671,7 +10677,9 @@ export class Daemon extends EventEmitter {
|
|
|
10671
10677
|
if (!fenced())
|
|
10672
10678
|
return; // a stop, pause or respawn: nothing to say, nothing to do
|
|
10673
10679
|
this.logger.warn({ agent: sw.agent, typed: wroteAt !== null }, "The resumed conversation did not switch to this instance's agent in time");
|
|
10674
|
-
|
|
10680
|
+
// #1794: quiet — the conversation keeps running as its saved agent with the shared entries, and the next launch
|
|
10681
|
+
// tries again; the user loses nothing and has nothing to do. Logged above and kept on the Log tab only.
|
|
10682
|
+
this.emit("backend_launch_warning", { name: this.name, message: t("kiro.switch_timeout", Daemon.AGENT_SWITCH_BUDGET_MS / 1000), quiet: true });
|
|
10675
10683
|
}
|
|
10676
10684
|
catch (err) {
|
|
10677
10685
|
this.startupAdmission?.();
|