@songsid/agend 2.2.0-beta.8 → 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/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 +15 -0
- package/dist/backend/kiro.js +28 -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/daemon.d.ts +4 -1
- package/dist/daemon.js +10 -4
- package/dist/daemon.js.map +1 -1
- package/dist/fleet-manager.d.ts +2 -1
- package/dist/fleet-manager.js +10 -3
- package/dist/fleet-manager.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-steps.d.ts +26 -0
- package/dist/log-steps.js +215 -3
- package/dist/log-steps.js.map +1 -1
- package/dist/ui/panel-log.js +51 -11
- package/dist/unrecognised-prompt.js +2 -2
- package/dist/unrecognised-prompt.js.map +1 -1
- package/package.json +1 -1
package/dist/fleet-manager.d.ts
CHANGED
|
@@ -823,7 +823,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
823
823
|
/**
|
|
824
824
|
* #1218: where an instance's steps are read from, resolved only when its Log asks: the transcript its daemon follows
|
|
825
825
|
* now; for claude-code, also the path its statusline last named (so a stopped instance's Log still shows its last
|
|
826
|
-
* work). kiro
|
|
826
|
+
* work). kiro: fleet events with the reason its history is not read (kiro-log-gate.ts); other backends have no
|
|
827
|
+
* transcript AgEnD can read.
|
|
827
828
|
*/
|
|
828
829
|
private logSource;
|
|
829
830
|
classicRoomFor(name: string): {
|
package/dist/fleet-manager.js
CHANGED
|
@@ -39,6 +39,7 @@ import { readFleetMemory } from "./process-memory.js";
|
|
|
39
39
|
import { MemoryPressure } from "./memory-pressure.js";
|
|
40
40
|
import { replyDedupText, ReplyDeduper } from "./reply-dedup.js";
|
|
41
41
|
import { isMap, isScalar, parseDocument } from "yaml";
|
|
42
|
+
import { kiroLogGate } from "./kiro-log-gate.js";
|
|
42
43
|
const __filename = fileURLToPath(import.meta.url);
|
|
43
44
|
const __dirname = dirname(__filename);
|
|
44
45
|
/** Fallback access policy for a channel with no `access:` block — open (no gate). */
|
|
@@ -2712,7 +2713,8 @@ export class FleetManager {
|
|
|
2712
2713
|
/**
|
|
2713
2714
|
* #1218: where an instance's steps are read from, resolved only when its Log asks: the transcript its daemon follows
|
|
2714
2715
|
* now; for claude-code, also the path its statusline last named (so a stopped instance's Log still shows its last
|
|
2715
|
-
* work). kiro
|
|
2716
|
+
* work). kiro: fleet events with the reason its history is not read (kiro-log-gate.ts); other backends have no
|
|
2717
|
+
* transcript AgEnD can read.
|
|
2716
2718
|
*/
|
|
2717
2719
|
logSource(name) {
|
|
2718
2720
|
const instances = this.fleetConfig?.instances ?? {};
|
|
@@ -2735,8 +2737,13 @@ export class FleetManager {
|
|
|
2735
2737
|
}
|
|
2736
2738
|
if (backend === "codex")
|
|
2737
2739
|
return { backend, path: live, format: "codex", ...(live ? {} : { reason: "not_running" }) };
|
|
2738
|
-
if (backend === "kiro-cli")
|
|
2739
|
-
|
|
2740
|
+
if (backend === "kiro-cli") {
|
|
2741
|
+
// #1218 PR4: events only until the launch's root and the current conversation are both proven (kiro-log-gate.ts);
|
|
2742
|
+
// the reason names which proof is missing. With today's proofs the gate never opens, and nothing is read for kiro:
|
|
2743
|
+
// the reader is bound to an admitted launch when the proofs arrive (#849 root, #1789 current conversation).
|
|
2744
|
+
const gate = kiroLogGate(this.lifecycle.daemons.get(name)?.logLaunch() ?? null);
|
|
2745
|
+
return { backend, path: null, format: null, reason: gate.open ? "kiro_session_unobservable" : gate.reason };
|
|
2746
|
+
}
|
|
2740
2747
|
return { backend, path: null, format: null, reason: "unsupported" };
|
|
2741
2748
|
}
|
|
2742
2749
|
classicRoomFor(name) {
|