@askexenow/exe-os 0.9.348 → 0.9.349
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/deploy/compose/docker-compose.yml +15 -6
- package/deploy/compose/erp-nginx/nginx.conf +17 -10
- package/deploy/stack-manifests/v0.9.30-apps.json +81 -0
- package/deploy/stack-manifests/v0.9.json +111 -2
- package/dist/{backfill-metadata-MCFBGWKX.js → backfill-metadata-TUUT3QII.js} +1 -1
- package/dist/{behaviors-6GI6VND2.js → behaviors-3DQM4PSA.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +3 -3
- package/dist/bin/cli.js +8 -8
- package/dist/bin/deferred-daemon-restart.js +38 -38
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +14 -14
- package/dist/bin/exe-call.js +3 -3
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +3 -3
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +4 -4
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +5 -5
- package/dist/bin/exe-kill.js +5 -5
- package/dist/bin/exe-launch-agent.js +9 -9
- package/dist/bin/exe-memory-reads.js +1 -1
- package/dist/bin/exe-new-employee.js +3 -3
- package/dist/bin/exe-pending-messages.js +4 -4
- package/dist/bin/exe-pending-notifications.js +3 -3
- package/dist/bin/exe-pending-reviews.js +3 -3
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +4 -4
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +4 -4
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +4 -4
- package/dist/bin/exe-start-opencode.js +3 -3
- package/dist/bin/exe-status.js +4 -4
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +3 -3
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +2 -2
- package/dist/bin/install.js +38 -38
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +1 -1
- package/dist/bin/scan-tasks.js +3 -3
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{boot-review-sections-QF5MZGJI.js → boot-review-sections-UTOPAQQJ.js} +2 -2
- package/dist/{capacity-monitor-CG2IGONS.js → capacity-monitor-IO6JHLXV.js} +4 -4
- package/dist/{catchup-brief-QFVNMTU5.js → catchup-brief-QCKB32YC.js} +4 -4
- package/dist/{chunk-DXMTJJP3.js → chunk-2N5MLJLM.js} +2 -2
- package/dist/{chunk-L36RX54F.js → chunk-2T6NZLMO.js} +1 -1
- package/dist/{chunk-YAIFZXOM.js → chunk-3QLWBLS3.js} +2 -2
- package/dist/{chunk-WL3IQJKN.js → chunk-453QJHGW.js} +2 -2
- package/dist/{chunk-2WJYLXPF.js → chunk-4DZDXS5N.js} +1 -1
- package/dist/{chunk-SMQ642D3.js → chunk-4FHBXWSA.js} +2 -2
- package/dist/{chunk-DJYJDK53.js → chunk-4HMZQRQD.js} +6 -6
- package/dist/{chunk-6GSYN262.js → chunk-5TBGZK55.js} +1 -1
- package/dist/{chunk-7WQ3WHPW.js → chunk-5YDNNUZ6.js} +52 -52
- package/dist/{chunk-PAXAF2UY.js → chunk-5YXC7GF5.js} +3 -3
- package/dist/{chunk-HL24OHHS.js → chunk-6NRY3CFI.js} +6 -6
- package/dist/{chunk-GLOWJP5H.js → chunk-7HO5VMDR.js} +2 -2
- package/dist/{chunk-UTQWVRU6.js → chunk-7OPIIYF2.js} +4 -4
- package/dist/{chunk-PBLDPW4U.js → chunk-ADRZXHUB.js} +1 -1
- package/dist/{chunk-MMXIE6HV.js → chunk-BHDOPDPY.js} +7 -1
- package/dist/{chunk-GA655CUD.js → chunk-CIKFGNES.js} +1 -1
- package/dist/{chunk-5KCC26FB.js → chunk-D3DCRA3H.js} +1 -1
- package/dist/{chunk-A43SIGAO.js → chunk-E76MXORZ.js} +1 -1
- package/dist/{chunk-AQ24P2O7.js → chunk-FXE56MAI.js} +2 -2
- package/dist/{chunk-H3TA23PH.js → chunk-GTZKETSS.js} +2 -2
- package/dist/{chunk-ZXSFUR77.js → chunk-IFSKL5QW.js} +7 -7
- package/dist/{chunk-KZUU6MNF.js → chunk-IKYQ2HSH.js} +1 -1
- package/dist/{chunk-TLWYOMSS.js → chunk-NAHDJLLB.js} +2 -2
- package/dist/{chunk-6WFXNQDJ.js → chunk-NBTSUPTB.js} +1 -1
- package/dist/{chunk-JW5XS35A.js → chunk-NUWAB2ZB.js} +2 -2
- package/dist/{chunk-AXNUMBLO.js → chunk-O5RXPXDD.js} +1 -1
- package/dist/{chunk-5RPCWLXE.js → chunk-OYEBUJ5W.js} +1 -1
- package/dist/{chunk-H5QNVWU4.js → chunk-P3JQDXY6.js} +2 -2
- package/dist/{chunk-FFCPSPNK.js → chunk-R6POL63K.js} +1 -1
- package/dist/{chunk-YM6GJM2F.js → chunk-RFKWETK3.js} +1 -1
- package/dist/{chunk-BUUGFQHL.js → chunk-SRK5AWVS.js} +2 -2
- package/dist/{chunk-CCOKYSJA.js → chunk-SUJFXYMQ.js} +1 -1
- package/dist/{chunk-WZJ3VYRJ.js → chunk-TIWFOWL6.js} +1 -1
- package/dist/{chunk-FPK753IZ.js → chunk-TRIK7MXS.js} +5 -5
- package/dist/{chunk-43RTUMUT.js → chunk-UG2R4LHI.js} +1 -1
- package/dist/{chunk-MGMXYI7Y.js → chunk-UPZQLFRJ.js} +1 -1
- package/dist/{chunk-AUILJKSM.js → chunk-UUJZAOF3.js} +1 -1
- package/dist/{chunk-WWT3E7DO.js → chunk-UXPMDQHP.js} +1 -1
- package/dist/{chunk-GJ6KIHOM.js → chunk-VC2OE37S.js} +2 -2
- package/dist/{chunk-AFY4V4N3.js → chunk-VRQTOLRH.js} +1 -1
- package/dist/{chunk-6QRS3IZF.js → chunk-W3T76WFH.js} +1 -1
- package/dist/{chunk-BOQUXG7N.js → chunk-XF2G47JS.js} +1 -1
- package/dist/{chunk-Y3JXLIZV.js → chunk-Y6IP4R5M.js} +1 -1
- package/dist/{chunk-Z52QQB4Z.js → chunk-YF3B3NQF.js} +2 -2
- package/dist/chunk-YFLHS7GV.js +58 -0
- package/dist/{cleanup-graph-garbage-XTSBQXD6.js → cleanup-graph-garbage-ON45J7RR.js} +1 -1
- package/dist/{crm-webhook-P64SXEHD.js → crm-webhook-OJFVII6G.js} +2 -2
- package/dist/{cto-delegation-gate-6KLGT2LB.js → cto-delegation-gate-KNH5TRUS.js} +2 -2
- package/dist/{daemon-orchestration-JQGKEWPD.js → daemon-orchestration-VFM2FKGY.js} +7 -7
- package/dist/{documents-7EPH3VPE.js → documents-253FGKPI.js} +2 -2
- package/dist/{dreaming-O4P2W5E5.js → dreaming-EFRFVQDZ.js} +4 -4
- package/dist/{exe-export-YJI4USGZ.js → exe-export-AVGUGDMJ.js} +4 -4
- package/dist/{exe-import-SUTAYKUW.js → exe-import-ALYVE4XT.js} +4 -4
- package/dist/{exe-key-CRSDAOZD.js → exe-key-5MDOPRDS.js} +38 -38
- package/dist/{exe-snapshot-KB4YYDCA.js → exe-snapshot-ZN523QP6.js} +5 -5
- package/dist/{fast-db-init-3K2PV6GJ.js → fast-db-init-GJGO22F5.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{global-procedures-PEWDBSPJ.js → global-procedures-HZFQ3WJB.js} +2 -2
- package/dist/{hook-prefetch-O6ZCZCTX.js → hook-prefetch-ITWBE3XZ.js} +3 -3
- package/dist/hooks/bug-report-worker.js +5 -5
- package/dist/hooks/codex-stop-task-finalizer.js +6 -6
- package/dist/hooks/commit-complete.js +5 -5
- package/dist/hooks/error-recall.js +2 -2
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/manifest.json +18 -18
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +3 -3
- package/dist/hooks/post-tool-combined.js +3 -3
- package/dist/hooks/pre-compact.js +4 -4
- package/dist/hooks/pre-tool-use.js +9 -9
- package/dist/hooks/prompt-submit.js +13 -13
- package/dist/hooks/session-end.js +6 -6
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +6 -6
- package/dist/hooks/subagent-stop.js +5 -5
- package/dist/hooks/summary-worker.js +6 -6
- package/dist/index.js +10 -10
- package/dist/{intercom-queue-A52WQOCD.js → intercom-queue-RLWMSZHB.js} +2 -2
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/exe-daemon.js +35 -35
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +3 -3
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +4 -4
- package/dist/lib/tmux-routing.js +2 -2
- package/dist/mcp/register-tools.js +37 -37
- package/dist/mcp/server.js +38 -38
- package/dist/mcp/tools/create-task.js +5 -5
- package/dist/mcp/tools/deactivate-behavior.js +3 -3
- package/dist/mcp/tools/list-tasks.js +5 -5
- package/dist/mcp/tools/send-message.js +4 -4
- package/dist/mcp/tools/update-task.js +5 -5
- package/dist/{mcp-session-identity-OPRX32H5.js → mcp-session-identity-YTXFSOWN.js} +2 -2
- package/dist/{memory-cards-GFO2CSPV.js → memory-cards-CJJJ2EP6.js} +1 -1
- package/dist/{memory-pressure-watchdog-IG7VRFIX.js → memory-pressure-watchdog-VNKYRODT.js} +3 -3
- package/dist/{notification-ledger-KSCPGLQG.js → notification-ledger-OE4XNOAY.js} +2 -2
- package/dist/{notifications-YKHZPCXU.js → notifications-DU4WVNET.js} +2 -2
- package/dist/{orchestrator-4MZEQULR.js → orchestrator-JRSVEKLB.js} +3 -3
- package/dist/{pipeline-router-RSRJPZNI.js → pipeline-router-4RRX65W7.js} +1 -1
- package/dist/{platform-procedures-DZ6YABEK.js → platform-procedures-NBKHO33A.js} +1 -1
- package/dist/{projection-worker-SKAMSZJF.js → projection-worker-PXJZEKFK.js} +1 -1
- package/dist/{reranker-HXMJ7SKW.js → reranker-DWNE7KUB.js} +1 -1
- package/dist/{review-polling-KQUALBEU.js → review-polling-K2V34KEA.js} +3 -3
- package/dist/runtime/index.js +4 -4
- package/dist/{session-events-3KL735DZ.js → session-events-R3WL7J7D.js} +3 -3
- package/dist/{session-kill-telemetry-KVRGLYVI.js → session-kill-telemetry-BQSJZ2A7.js} +3 -3
- package/dist/{session-scope-LBG6DT5O.js → session-scope-SMYECIDA.js} +2 -2
- package/dist/{setup-wizard-UL3AKI6E.js → setup-wizard-BUFVAFWP.js} +1 -1
- package/dist/{skill-refinement-6HPISXQC.js → skill-refinement-VG3UU7MU.js} +1 -1
- package/dist/{stack-promote-RSOWO6EY.js → stack-promote-RARBN276.js} +13 -3
- package/dist/{stack-release-HGFFFCGC.js → stack-release-OTVTLA6B.js} +464 -169
- package/dist/{task-enforcement-OAOL7XFL.js → task-enforcement-RNSASE3R.js} +3 -3
- package/dist/{task-scope-PSVAE3EM.js → task-scope-TW3BWFVJ.js} +2 -2
- package/dist/{tasks-crud-TLELWWUL.js → tasks-crud-VXCTTSB5.js} +2 -2
- package/dist/{tasks-notify-7Q2XTDZ7.js → tasks-notify-ETPCCUXG.js} +3 -3
- package/dist/{tasks-review-S6QB5KGS.js → tasks-review-TY7OZBAT.js} +2 -2
- package/dist/{telemetry-upload-LTL5SW24.js → telemetry-upload-ABCUA2WS.js} +1 -1
- package/dist/tui/App.js +11 -11
- package/dist/{tui-data-3JSV56ME.js → tui-data-XZX7VSG4.js} +2 -2
- package/dist/{update-support-LMPGWJVG.js → update-support-Q5HFD4IN.js} +2 -2
- package/dist/{worker-gate-P2O64XMH.js → worker-gate-RKHQLE4F.js} +1 -1
- package/dist/{workflow-engine-BLLQKA3O.js → workflow-engine-CXUJIH3R.js} +2 -2
- package/package.json +3 -2
- package/release-notes.json +26 -34
- /package/dist/{chunk-BTP7BORU.js → chunk-4N3NTBGJ.js} +0 -0
- /package/dist/{chunk-AQ6ECPUP.js → chunk-A4X7SCDG.js} +0 -0
- /package/dist/{chunk-HTJKAAHD.js → chunk-E77V5MTE.js} +0 -0
- /package/dist/{chunk-PIUDQ7P2.js → chunk-ELJSXKYA.js} +0 -0
- /package/dist/{chunk-DRHXISWL.js → chunk-GI3O5MGF.js} +0 -0
- /package/dist/{chunk-SLH2743O.js → chunk-WUNXNNJL.js} +0 -0
- /package/dist/{chunk-A42356G7.js → chunk-ZFR4A5W4.js} +0 -0
- /package/dist/{core-memory-Z7LPR3RX.js → core-memory-PCKGCUZU.js} +0 -0
|
@@ -20,9 +20,9 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
hybridSearch,
|
|
22
22
|
lightweightSearch
|
|
23
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-6NRY3CFI.js";
|
|
24
24
|
import "../chunk-AB4PAQYK.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-P3JQDXY6.js";
|
|
26
26
|
import "../chunk-H4JKOLXU.js";
|
|
27
27
|
import "../chunk-CHCA3ZM2.js";
|
|
28
28
|
import "../chunk-OTVEIJUQ.js";
|
|
@@ -37,10 +37,10 @@ import {
|
|
|
37
37
|
decideQueuedNudgeDrain,
|
|
38
38
|
getSessionState,
|
|
39
39
|
isExeSession
|
|
40
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-IFSKL5QW.js";
|
|
41
41
|
import "../chunk-RBRGSOK5.js";
|
|
42
42
|
import "../chunk-OBWIVRD6.js";
|
|
43
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-ZFR4A5W4.js";
|
|
44
44
|
import "../chunk-E23LNUWJ.js";
|
|
45
45
|
import "../chunk-4JERP7NT.js";
|
|
46
46
|
import "../chunk-EIKATSE4.js";
|
|
@@ -240,7 +240,7 @@ function withBudget(promise, fallback) {
|
|
|
240
240
|
var _hookDbPromise = null;
|
|
241
241
|
function hookDb() {
|
|
242
242
|
_hookDbPromise ??= (async () => {
|
|
243
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
243
|
+
const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
|
|
244
244
|
return fastDbInit({ daemonOnly: true });
|
|
245
245
|
})();
|
|
246
246
|
return _hookDbPromise;
|
|
@@ -471,7 +471,7 @@ process.stdin.on("end", async () => {
|
|
|
471
471
|
let queuedForMe = [];
|
|
472
472
|
if (currentSession && !suppressTaskLifecycleNudges) {
|
|
473
473
|
try {
|
|
474
|
-
const { readQueue } = await import("../intercom-queue-
|
|
474
|
+
const { readQueue } = await import("../intercom-queue-RLWMSZHB.js");
|
|
475
475
|
queuedForMe = readQueue().filter((q) => q.targetSession === currentSession);
|
|
476
476
|
} catch {
|
|
477
477
|
}
|
|
@@ -498,7 +498,7 @@ process.stdin.on("end", async () => {
|
|
|
498
498
|
if (prefetchClient) {
|
|
499
499
|
prefetch = await withHookTimeout(
|
|
500
500
|
(async () => {
|
|
501
|
-
const { prefetchPromptHookCounts } = await import("../hook-prefetch-
|
|
501
|
+
const { prefetchPromptHookCounts } = await import("../hook-prefetch-ITWBE3XZ.js");
|
|
502
502
|
return prefetchPromptHookCounts(prefetchClient, {
|
|
503
503
|
agentIds: agentTaskIds(agent.agentId),
|
|
504
504
|
agentId: agent.agentId,
|
|
@@ -522,7 +522,7 @@ process.stdin.on("end", async () => {
|
|
|
522
522
|
}
|
|
523
523
|
let drainedNudgeContext = "";
|
|
524
524
|
if (currentSession && queuedForMe.length > 0 && !suppressTaskLifecycleNudges) try {
|
|
525
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
525
|
+
const { drainForSession } = await import("../intercom-queue-RLWMSZHB.js");
|
|
526
526
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
527
527
|
const MARKER_STALE_MS = 4 * 60 * 60 * 1e3;
|
|
528
528
|
const hasInProgressTask = (agentName) => {
|
|
@@ -611,7 +611,7 @@ ${fresh.map(
|
|
|
611
611
|
mkdirSync(CACHE_DIR, { recursive: true });
|
|
612
612
|
atomicWriteSync(behaviorLastCheckPath, (/* @__PURE__ */ new Date()).toISOString());
|
|
613
613
|
} else if (count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
614
|
-
const { listBehaviors } = await import("../behaviors-
|
|
614
|
+
const { listBehaviors } = await import("../behaviors-3DQM4PSA.js");
|
|
615
615
|
const behaviors = await withBudget(listBehaviors(agent.agentId), []);
|
|
616
616
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
617
617
|
if (active.length > 0) {
|
|
@@ -651,7 +651,7 @@ ${parts.join("\n\n")}`;
|
|
|
651
651
|
if (!lastCheckedAt) {
|
|
652
652
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
653
653
|
}
|
|
654
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
654
|
+
const { listBehaviorsSince } = await import("../behaviors-3DQM4PSA.js");
|
|
655
655
|
const newBehaviors = await withBudget(listBehaviorsSince(agent.agentId, lastCheckedAt), []);
|
|
656
656
|
if (newBehaviors.length > 0) {
|
|
657
657
|
const newReflex = newBehaviors.filter((b) => b.domain === "reflex");
|
|
@@ -719,7 +719,7 @@ ${body}`;
|
|
|
719
719
|
let reviewContext = "";
|
|
720
720
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
721
721
|
try {
|
|
722
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
722
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-TY7OZBAT.js");
|
|
723
723
|
const sessionKey = getSessionKey();
|
|
724
724
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
725
725
|
let sessionScope;
|
|
@@ -776,7 +776,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
776
776
|
let coreMemoryContext = "";
|
|
777
777
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
778
778
|
try {
|
|
779
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
779
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-PCKGCUZU.js");
|
|
780
780
|
const entries = await withBudget(getCoreMemory(agent.agentId), []);
|
|
781
781
|
const block = formatCoreMemoryBlock(entries);
|
|
782
782
|
if (block) coreMemoryContext = block;
|
|
@@ -1052,7 +1052,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
1052
1052
|
return;
|
|
1053
1053
|
}
|
|
1054
1054
|
try {
|
|
1055
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
1055
|
+
const { recordSessionEvent } = await import("../session-events-R3WL7J7D.js");
|
|
1056
1056
|
const client = await hookDb();
|
|
1057
1057
|
await recordSessionEvent(client, {
|
|
1058
1058
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GI3O5MGF.js";
|
|
4
4
|
import {
|
|
5
5
|
clearCacheState
|
|
6
6
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "../chunk-TF5E6O5Q.js";
|
|
13
13
|
import {
|
|
14
14
|
strictSessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-IFSKL5QW.js";
|
|
16
16
|
import "../chunk-RBRGSOK5.js";
|
|
17
17
|
import "../chunk-OBWIVRD6.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-ZFR4A5W4.js";
|
|
19
19
|
import "../chunk-E23LNUWJ.js";
|
|
20
20
|
import "../chunk-4JERP7NT.js";
|
|
21
21
|
import "../chunk-EIKATSE4.js";
|
|
@@ -293,7 +293,7 @@ process.stdin.on("end", async () => {
|
|
|
293
293
|
}
|
|
294
294
|
if (agent.agentId) {
|
|
295
295
|
try {
|
|
296
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
296
|
+
const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
|
|
297
297
|
const client = await fastDbInit({ caller: "hook" });
|
|
298
298
|
const seScope = strictSessionScopeFilter();
|
|
299
299
|
const orphanResult = await client.execute({
|
|
@@ -391,7 +391,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
391
391
|
} catch {
|
|
392
392
|
}
|
|
393
393
|
try {
|
|
394
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
394
|
+
const { DreamingEngine } = await import("../dreaming-EFRFVQDZ.js");
|
|
395
395
|
const engine = new DreamingEngine();
|
|
396
396
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
397
397
|
let promoted = 0;
|
|
@@ -467,7 +467,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
467
467
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
468
468
|
}
|
|
469
469
|
try {
|
|
470
|
-
const { writeNotification } = await import("../notifications-
|
|
470
|
+
const { writeNotification } = await import("../notifications-DU4WVNET.js");
|
|
471
471
|
await writeNotification({
|
|
472
472
|
agentId: agent.agentId,
|
|
473
473
|
agentRole: agent.agentRole,
|
|
@@ -57,7 +57,7 @@ process.stdin.on("end", async () => {
|
|
|
57
57
|
try {
|
|
58
58
|
const { getActiveAgent } = await import("../active-agent-QVLZKWR2.js");
|
|
59
59
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
60
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
60
|
+
const { getCurrentSessionScope } = await import("../task-scope-TW3BWFVJ.js");
|
|
61
61
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
62
62
|
const data = JSON.parse(input);
|
|
63
63
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -116,12 +116,12 @@ process.stdin.on("end", async () => {
|
|
|
116
116
|
}
|
|
117
117
|
if (!daemonDegraded) {
|
|
118
118
|
try {
|
|
119
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
119
|
+
const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
|
|
120
120
|
await fastDbInit({ caller: "hook" });
|
|
121
121
|
} catch {
|
|
122
122
|
try {
|
|
123
123
|
await new Promise((resolve) => setTimeout(resolve, 750));
|
|
124
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
124
|
+
const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
|
|
125
125
|
await fastDbInit({ caller: "hook" });
|
|
126
126
|
} catch {
|
|
127
127
|
daemonDegraded = true;
|
|
@@ -207,7 +207,7 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
207
207
|
query = `last actions on ${projectName}`;
|
|
208
208
|
header = "## Resuming Session\nHere's where you left off:";
|
|
209
209
|
try {
|
|
210
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
210
|
+
const { buildCatchupBrief } = await import("../catchup-brief-QCKB32YC.js");
|
|
211
211
|
const brief = await buildCatchupBrief(
|
|
212
212
|
agentId,
|
|
213
213
|
projectName,
|
|
@@ -229,8 +229,8 @@ You are **${ag.agentId}**. The daemon was degraded at boot \u2014 memory context
|
|
|
229
229
|
if (warning) extraContext += `${extraContext.length > 0 ? "\n\n" : ""}${warning}`;
|
|
230
230
|
} catch {
|
|
231
231
|
}
|
|
232
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
233
|
-
const { buildReviewSections } = await import("../boot-review-sections-
|
|
232
|
+
const { queryTaskRows } = await import("../tasks-crud-VXCTTSB5.js");
|
|
233
|
+
const { buildReviewSections } = await import("../boot-review-sections-UTOPAQQJ.js");
|
|
234
234
|
const [memories, taskResult, reviewSections] = await Promise.all([
|
|
235
235
|
lightweightSearch(query, agentId, { projectName, limit: 5 }),
|
|
236
236
|
sessionScope ? queryTaskRows({
|
|
@@ -327,7 +327,7 @@ ${wmContent}
|
|
|
327
327
|
`;
|
|
328
328
|
if (agentId !== "default" && !daemonDegraded) {
|
|
329
329
|
try {
|
|
330
|
-
const { readLatestCheckpoint } = await import("../tasks-crud-
|
|
330
|
+
const { readLatestCheckpoint } = await import("../tasks-crud-VXCTTSB5.js");
|
|
331
331
|
const checkpoint = await readLatestCheckpoint(agentId, {
|
|
332
332
|
sessionScope: sessionScope ?? null,
|
|
333
333
|
callerSession: process.env.EXE_SESSION_NAME ?? null,
|
package/dist/hooks/stop.js
CHANGED
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "../chunk-TF5E6O5Q.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-IFSKL5QW.js";
|
|
8
8
|
import "../chunk-RBRGSOK5.js";
|
|
9
9
|
import "../chunk-OBWIVRD6.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-ZFR4A5W4.js";
|
|
11
11
|
import "../chunk-E23LNUWJ.js";
|
|
12
12
|
import "../chunk-4JERP7NT.js";
|
|
13
13
|
import "../chunk-EIKATSE4.js";
|
|
@@ -158,8 +158,8 @@ process.stdin.on("end", async () => {
|
|
|
158
158
|
process.exit(0);
|
|
159
159
|
}
|
|
160
160
|
try {
|
|
161
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
162
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
161
|
+
const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
|
|
162
|
+
const { recordSessionEvent } = await import("../session-events-R3WL7J7D.js");
|
|
163
163
|
const client = await fastDbInit({ daemonOnly: true });
|
|
164
164
|
await recordSessionEvent(client, {
|
|
165
165
|
agentId: agent.agentId,
|
|
@@ -195,7 +195,7 @@ process.stdin.on("end", async () => {
|
|
|
195
195
|
}
|
|
196
196
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
197
197
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
198
|
-
import("../fast-db-init-
|
|
198
|
+
import("../fast-db-init-GJGO22F5.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
199
199
|
const stScope = sessionScopeFilter();
|
|
200
200
|
const tasks = await client.execute({
|
|
201
201
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -337,7 +337,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
337
337
|
} catch {
|
|
338
338
|
}
|
|
339
339
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
340
|
-
import("../fast-db-init-
|
|
340
|
+
import("../fast-db-init-GJGO22F5.js").then(({ fastDbInit }) => fastDbInit({ daemonOnly: true })).then(async (client) => {
|
|
341
341
|
const orScope = sessionScopeFilter();
|
|
342
342
|
return client.execute({
|
|
343
343
|
sql: `SELECT title, status FROM tasks
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildSubagentCheckpointEvent,
|
|
3
3
|
recordSubagentCheckpointEventBestEffort
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-IKYQ2HSH.js";
|
|
5
5
|
import {
|
|
6
6
|
isSidechainTranscript
|
|
7
7
|
} from "../chunk-6IWLAQ7O.js";
|
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
} from "../chunk-TF5E6O5Q.js";
|
|
12
12
|
import {
|
|
13
13
|
sessionScopeFilter
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-IFSKL5QW.js";
|
|
15
15
|
import "../chunk-RBRGSOK5.js";
|
|
16
16
|
import "../chunk-OBWIVRD6.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-ZFR4A5W4.js";
|
|
18
18
|
import "../chunk-E23LNUWJ.js";
|
|
19
19
|
import "../chunk-4JERP7NT.js";
|
|
20
20
|
import "../chunk-EIKATSE4.js";
|
|
@@ -127,7 +127,7 @@ async function recordSubagentStopCheckpoint(payload, agentId) {
|
|
|
127
127
|
});
|
|
128
128
|
await Promise.race([
|
|
129
129
|
(async () => {
|
|
130
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
130
|
+
const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
|
|
131
131
|
const client = await fastDbInit({ daemonOnly: true });
|
|
132
132
|
await recordSubagentCheckpointEventBestEffort({
|
|
133
133
|
client,
|
|
@@ -156,7 +156,7 @@ process.stdin.on("end", async () => {
|
|
|
156
156
|
if (!failClosedOnTimeout) {
|
|
157
157
|
process.exit(0);
|
|
158
158
|
}
|
|
159
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
159
|
+
const { fastDbInit } = await import("../fast-db-init-GJGO22F5.js");
|
|
160
160
|
const client = await fastDbInit({ caller: "hook" });
|
|
161
161
|
const saScope = sessionScopeFilter();
|
|
162
162
|
const pendingResult = await client.execute({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-GI3O5MGF.js";
|
|
4
4
|
import {
|
|
5
5
|
initStore,
|
|
6
6
|
vectorToBlob
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-P3JQDXY6.js";
|
|
8
8
|
import "../chunk-H4JKOLXU.js";
|
|
9
9
|
import "../chunk-CHCA3ZM2.js";
|
|
10
10
|
import "../chunk-OTVEIJUQ.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
getCurrentSessionScope,
|
|
17
17
|
sessionScopeFilter,
|
|
18
18
|
writeNotification
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-IFSKL5QW.js";
|
|
20
20
|
import "../chunk-RBRGSOK5.js";
|
|
21
21
|
import "../chunk-OBWIVRD6.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ZFR4A5W4.js";
|
|
23
23
|
import "../chunk-E23LNUWJ.js";
|
|
24
24
|
import "../chunk-4JERP7NT.js";
|
|
25
25
|
import "../chunk-EIKATSE4.js";
|
|
@@ -241,7 +241,7 @@ async function main() {
|
|
|
241
241
|
const { backfillKillSwitchEnabled } = await import("../backfill-gate-DA7UT6UD.js");
|
|
242
242
|
const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
|
|
243
243
|
if (existsSync(flagPath) && !backfillKillSwitchEnabled()) {
|
|
244
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-
|
|
244
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-RKHQLE4F.js");
|
|
245
245
|
if (!tryAcquireWorkerSlot()) {
|
|
246
246
|
process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
|
|
247
247
|
} else {
|
|
@@ -349,7 +349,7 @@ main().catch((err) => {
|
|
|
349
349
|
process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
350
350
|
}).finally(async () => {
|
|
351
351
|
try {
|
|
352
|
-
const { cleanupWorkerPid } = await import("../worker-gate-
|
|
352
|
+
const { cleanupWorkerPid } = await import("../worker-gate-RKHQLE4F.js");
|
|
353
353
|
cleanupWorkerPid();
|
|
354
354
|
} catch {
|
|
355
355
|
}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runtime_exports
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-7OPIIYF2.js";
|
|
4
|
+
import "./chunk-XF2G47JS.js";
|
|
5
5
|
import "./chunk-WUMWXU6B.js";
|
|
6
6
|
import "./chunk-YZFZDJWZ.js";
|
|
7
7
|
import "./chunk-CMCYL2JC.js";
|
|
@@ -14,23 +14,23 @@ import "./chunk-HF25XPZE.js";
|
|
|
14
14
|
import "./chunk-NY6DU5RB.js";
|
|
15
15
|
import {
|
|
16
16
|
gateway_exports
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-7HO5VMDR.js";
|
|
18
18
|
import "./chunk-N5RRQOAC.js";
|
|
19
19
|
import "./chunk-ORCCI2VV.js";
|
|
20
20
|
import "./chunk-2SRG3B3D.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-VRQTOLRH.js";
|
|
22
22
|
import "./chunk-WSOA3WMC.js";
|
|
23
23
|
import "./chunk-RJT7H2KR.js";
|
|
24
24
|
import "./chunk-Q3V7K4ME.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-YF3B3NQF.js";
|
|
26
|
+
import "./chunk-WUNXNNJL.js";
|
|
27
|
+
import "./chunk-UG2R4LHI.js";
|
|
28
28
|
import "./chunk-FWFFZGSC.js";
|
|
29
29
|
import "./chunk-ECGTESAP.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-IFSKL5QW.js";
|
|
31
31
|
import "./chunk-RBRGSOK5.js";
|
|
32
32
|
import "./chunk-OBWIVRD6.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-ZFR4A5W4.js";
|
|
34
34
|
import "./chunk-E23LNUWJ.js";
|
|
35
35
|
import "./chunk-4JERP7NT.js";
|
|
36
36
|
import "./chunk-EIKATSE4.js";
|
|
@@ -56,7 +56,7 @@ import "./chunk-NLEW62VC.js";
|
|
|
56
56
|
import "./chunk-HYZV25LY.js";
|
|
57
57
|
import "./chunk-GJV3WDWM.js";
|
|
58
58
|
import "./chunk-GL57PO3K.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-ELJSXKYA.js";
|
|
60
60
|
import "./chunk-ML4S5SHZ.js";
|
|
61
61
|
import "./chunk-MP2AFCGL.js";
|
|
62
62
|
import "./chunk-QNKR7WEL.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
drainQueueAsync,
|
|
7
7
|
queueIntercom,
|
|
8
8
|
readQueue
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IFSKL5QW.js";
|
|
10
10
|
import "./chunk-RBRGSOK5.js";
|
|
11
11
|
import "./chunk-OBWIVRD6.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-ZFR4A5W4.js";
|
|
13
13
|
import "./chunk-E23LNUWJ.js";
|
|
14
14
|
import "./chunk-4JERP7NT.js";
|
|
15
15
|
import "./chunk-EIKATSE4.js";
|
package/dist/lib/cloud-sync.js
CHANGED
|
@@ -54,15 +54,15 @@ import {
|
|
|
54
54
|
pushToPostgres,
|
|
55
55
|
recordRosterDeletion,
|
|
56
56
|
shouldUseCrdtMergeForCloudSync
|
|
57
|
-
} from "../chunk-
|
|
57
|
+
} from "../chunk-2T6NZLMO.js";
|
|
58
58
|
import "../chunk-UEXJYSJX.js";
|
|
59
59
|
import "../chunk-GFIWADEH.js";
|
|
60
60
|
import "../chunk-Z4UKLRML.js";
|
|
61
|
-
import "../chunk-
|
|
61
|
+
import "../chunk-UPZQLFRJ.js";
|
|
62
62
|
import "../chunk-QGGH7LOU.js";
|
|
63
63
|
import "../chunk-S3THSOWV.js";
|
|
64
64
|
import "../chunk-IOEUAQWP.js";
|
|
65
|
-
import "../chunk-
|
|
65
|
+
import "../chunk-P3JQDXY6.js";
|
|
66
66
|
import "../chunk-H4JKOLXU.js";
|
|
67
67
|
import "../chunk-CHCA3ZM2.js";
|
|
68
68
|
import "../chunk-OTVEIJUQ.js";
|
|
@@ -11,12 +11,12 @@ import {
|
|
|
11
11
|
selectUnconsolidated,
|
|
12
12
|
storeConsolidation,
|
|
13
13
|
sweepExpiredTraces
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-O5RXPXDD.js";
|
|
15
15
|
import "../chunk-MVZLF27P.js";
|
|
16
16
|
import "../chunk-Z6BZQHP5.js";
|
|
17
17
|
import "../chunk-GUMRIUI5.js";
|
|
18
18
|
import "../chunk-VGMACSEV.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-P3JQDXY6.js";
|
|
20
20
|
import "../chunk-H4JKOLXU.js";
|
|
21
21
|
import "../chunk-CHCA3ZM2.js";
|
|
22
22
|
import "../chunk-OTVEIJUQ.js";
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
getTemplateByRole,
|
|
12
12
|
personalizePrompt,
|
|
13
13
|
renderClientCOOTemplate
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-5TBGZK55.js";
|
|
15
|
+
import "../chunk-UUJZAOF3.js";
|
|
16
|
+
import "../chunk-BHDOPDPY.js";
|
|
17
17
|
import "../chunk-QNKR7WEL.js";
|
|
18
18
|
import "../chunk-2I23RPSI.js";
|
|
19
19
|
import "../chunk-FE6WBI2M.js";
|