@songsid/agend 2.1.8-beta.4 → 2.1.8-beta.5
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/codex.d.ts +3 -4
- package/dist/backend/codex.js +19 -4
- package/dist/backend/codex.js.map +1 -1
- package/dist/daemon.d.ts +10 -3
- package/dist/daemon.js +77 -5
- package/dist/daemon.js.map +1 -1
- package/dist/fleet-manager.d.ts +2 -2
- package/dist/fleet-manager.js +6 -3
- package/dist/fleet-manager.js.map +1 -1
- package/dist/transcript-monitor.js +3 -0
- package/dist/transcript-monitor.js.map +1 -1
- package/dist/transcript-sources.d.ts +33 -0
- package/dist/transcript-sources.js +93 -27
- package/dist/transcript-sources.js.map +1 -1
- package/package.json +1 -1
package/dist/fleet-manager.d.ts
CHANGED
|
@@ -552,8 +552,8 @@ export declare class FleetManager implements FleetContext, LifecycleContext, Arc
|
|
|
552
552
|
/**
|
|
553
553
|
* Ask the daemon to capture the pane before answering, then wait for any state
|
|
554
554
|
* report produced after this request. The ordinary query is intentionally
|
|
555
|
-
* cache-only
|
|
556
|
-
*
|
|
555
|
+
* cache-only; delivery idle gates opt into their own pane/input proof, and
|
|
556
|
+
* this refresh serves lifecycle decisions where a stale state would strand UI.
|
|
557
557
|
*/
|
|
558
558
|
private refreshInstanceExecutionState;
|
|
559
559
|
private deliverWithIdleGate;
|
package/dist/fleet-manager.js
CHANGED
|
@@ -1730,7 +1730,10 @@ export class FleetManager {
|
|
|
1730
1730
|
const query = () => {
|
|
1731
1731
|
const ipc = this.instanceIpcClients.get(instanceName);
|
|
1732
1732
|
if (ipc?.connected) {
|
|
1733
|
-
|
|
1733
|
+
// The daemon owns the backend/TTY proof and its 10s startup-input
|
|
1734
|
+
// timer. A cache-only query can never discover a Context-less idle
|
|
1735
|
+
// pane, and a second fleet timer would stack another 10s wait.
|
|
1736
|
+
ipc.send({ type: "query_instance_state", requestId: `idle-gate-${Date.now()}`, deliveryIdle: true });
|
|
1734
1737
|
}
|
|
1735
1738
|
check();
|
|
1736
1739
|
};
|
|
@@ -1745,8 +1748,8 @@ export class FleetManager {
|
|
|
1745
1748
|
/**
|
|
1746
1749
|
* Ask the daemon to capture the pane before answering, then wait for any state
|
|
1747
1750
|
* report produced after this request. The ordinary query is intentionally
|
|
1748
|
-
* cache-only
|
|
1749
|
-
*
|
|
1751
|
+
* cache-only; delivery idle gates opt into their own pane/input proof, and
|
|
1752
|
+
* this refresh serves lifecycle decisions where a stale state would strand UI.
|
|
1750
1753
|
*/
|
|
1751
1754
|
refreshInstanceExecutionState(instanceName, timeoutMs) {
|
|
1752
1755
|
const ipc = this.instanceIpcClients.get(instanceName);
|