@askexenow/exe-os 0.9.150 → 0.9.154
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/{active-agent-HDUT3T3I.js → active-agent-IVY5D7DJ.js} +2 -2
- package/dist/{active-agent-XHERKXH6.js → active-agent-JN7A2D2E.js} +2 -2
- package/dist/{agentic-ontology-GMK3MB3U.js → agentic-ontology-NU5FACOX.js} +1 -1
- package/dist/{backfill-metadata-7IANPCAL.js → backfill-metadata-XBWBPBN2.js} +3 -3
- package/dist/{behaviors-JG75DNG3.js → behaviors-4USTCRU7.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +4 -4
- package/dist/bin/agentic-reflection-backfill.js +5 -5
- package/dist/bin/agentic-semantic-label.js +4 -4
- package/dist/bin/backfill-conversations.js +3 -3
- package/dist/bin/backfill-responses.js +3 -3
- package/dist/bin/backfill-vectors.js +4 -4
- package/dist/bin/bulk-sync-postgres.js +8 -7
- package/dist/bin/cc-doctor.js +1 -1
- package/dist/bin/cleanup-stale-review-tasks.js +7 -7
- package/dist/bin/cli.js +12 -12
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +8 -8
- package/dist/bin/exe-assign.js +4 -4
- package/dist/bin/exe-boot.js +15 -15
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +7 -7
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +6 -6
- package/dist/bin/exe-forget.js +5 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-healthcheck.js +1 -1
- package/dist/bin/exe-heartbeat.js +7 -7
- package/dist/bin/exe-kill.js +10 -10
- package/dist/bin/exe-launch-agent.js +10 -10
- package/dist/bin/exe-new-employee.js +6 -6
- package/dist/bin/exe-pending-messages.js +8 -8
- package/dist/bin/exe-pending-notifications.js +7 -7
- package/dist/bin/exe-pending-reviews.js +7 -7
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +9 -9
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +14 -14
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +10 -10
- package/dist/bin/exe-start-opencode.js +7 -7
- package/dist/bin/exe-status.js +8 -8
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +7 -7
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/install.js +5 -5
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/scan-tasks.js +7 -7
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +3 -3
- package/dist/{capacity-monitor-J3SVO7LJ.js → capacity-monitor-VJLRBE7S.js} +8 -8
- package/dist/{catchup-brief-AIFZT456.js → catchup-brief-T2RPTOTZ.js} +9 -9
- package/dist/{chunk-DMBFPZOP.js → chunk-23H5ZURC.js} +8 -8
- package/dist/{chunk-DJVXUJIR.js → chunk-2BTXFKAV.js} +73 -74
- package/dist/{chunk-MBYJEE3B.js → chunk-2G2KOWBI.js} +12 -0
- package/dist/{chunk-WLSSSDAR.js → chunk-2GUTGEFX.js} +1 -1
- package/dist/{chunk-FSH4VWSL.js → chunk-3CZBCOYI.js} +2 -2
- package/dist/{chunk-GPHURFBS.js → chunk-3I44JXWH.js} +2 -2
- package/dist/{chunk-5NSTNICM.js → chunk-3OGN523Z.js} +1 -1
- package/dist/{chunk-3VHX5XFJ.js → chunk-3RJBXMWJ.js} +1 -1
- package/dist/{chunk-3JR37K7C.js → chunk-3S2HQUP6.js} +12 -8
- package/dist/{chunk-Z43CJQ7T.js → chunk-45APPAB2.js} +61 -22
- package/dist/{chunk-IGYF67K3.js → chunk-5KUJDZ3J.js} +3 -3
- package/dist/{chunk-LJX5SV6L.js → chunk-66RYFM6Z.js} +5 -5
- package/dist/{chunk-26VUCVSE.js → chunk-6M65LFNM.js} +2 -2
- package/dist/{chunk-3TXOH3SJ.js → chunk-A7KEWR6S.js} +1 -1
- package/dist/{chunk-GIAAHYMW.js → chunk-ABVCJBON.js} +2 -2
- package/dist/{chunk-SFV2XRPY.js → chunk-AL7JZARP.js} +1 -1
- package/dist/{chunk-7JTZNHA4.js → chunk-DMUNYW65.js} +25 -17
- package/dist/{chunk-BQ3KXWA7.js → chunk-DTT4TRFR.js} +1 -1
- package/dist/{chunk-72XIEBYJ.js → chunk-DWLDYEGO.js} +6 -6
- package/dist/{chunk-MNIJA5BL.js → chunk-F2WGMIFZ.js} +1 -1
- package/dist/{chunk-XEH3USTI.js → chunk-G7IQNOSY.js} +1 -1
- package/dist/{chunk-EOU4ZLRZ.js → chunk-GCB4MHTG.js} +1 -1
- package/dist/{chunk-X2XE65WV.js → chunk-H5STRY47.js} +9 -4
- package/dist/{chunk-WR45FP7O.js → chunk-HYRYMZRT.js} +2 -2
- package/dist/{chunk-LM7TQYLW.js → chunk-IWSXQKSB.js} +1 -1
- package/dist/{chunk-ODEGQCWW.js → chunk-K23KJITV.js} +3 -3
- package/dist/{chunk-O2Y4WJYW.js → chunk-KSOPUPQX.js} +196 -9
- package/dist/{chunk-EEXG4ZJS.js → chunk-KUPUTWQX.js} +9 -9
- package/dist/{chunk-5NQKE3X4.js → chunk-L3JRSHHU.js} +2 -2
- package/dist/{chunk-4WIWYUU2.js → chunk-LHMOPUZE.js} +2 -2
- package/dist/{chunk-UHL4QL5E.js → chunk-LVEOCWPL.js} +1 -1
- package/dist/{chunk-IT2JDL5L.js → chunk-MLL5ICNL.js} +17 -12
- package/dist/{chunk-XWQKCCCO.js → chunk-MWRHXGAB.js} +7 -0
- package/dist/{chunk-JM4A2E5A.js → chunk-NL4YO6I2.js} +1 -1
- package/dist/{chunk-EYTMNAU7.js → chunk-OC7Q4LOK.js} +19 -9
- package/dist/{chunk-DSKUPORS.js → chunk-OHYMA6C3.js} +2 -2
- package/dist/{chunk-7HONLLJ2.js → chunk-OSPZOCPU.js} +3 -3
- package/dist/{chunk-LLDY5HPV.js → chunk-PE6NCL7A.js} +1 -1
- package/dist/{chunk-GJMHN45Z.js → chunk-Q7TTJD4A.js} +1 -1
- package/dist/{chunk-RAMU6E5T.js → chunk-SE2DYYVB.js} +1 -1
- package/dist/{chunk-CRS6YTBM.js → chunk-SFZUC72J.js} +2 -2
- package/dist/{chunk-OEPEY47B.js → chunk-T2B7637C.js} +1 -1
- package/dist/{chunk-BR5UVRA2.js → chunk-TH2OFEQH.js} +1 -1
- package/dist/{chunk-ZGKU4PMY.js → chunk-TME75K53.js} +2 -2
- package/dist/{chunk-XQSGAG2G.js → chunk-UIAYIZNR.js} +2 -2
- package/dist/{chunk-BV2JVO2U.js → chunk-ULFBLCIP.js} +1 -1
- package/dist/{chunk-UPAEAL6K.js → chunk-UREIHGOQ.js} +3 -3
- package/dist/{chunk-Q7GVSS2J.js → chunk-VRKPBY6D.js} +1 -1
- package/dist/{chunk-4K7HJL37.js → chunk-VZDPV32D.js} +3 -3
- package/dist/{chunk-RLCZBSUB.js → chunk-X347L57O.js} +12 -0
- package/dist/{chunk-CO2SF5SB.js → chunk-XEN5RMGU.js} +1 -1
- package/dist/{chunk-TCKZYGC5.js → chunk-XYFPCAA2.js} +2 -2
- package/dist/{chunk-LBX2VQCC.js → chunk-Y3Z6QHUR.js} +2 -2
- package/dist/{crdt-sync-3VQP2ISB.js → crdt-sync-B7IUR3BR.js} +1 -1
- package/dist/{crm-webhook-AJYXEFZD.js → crm-webhook-YU7PDS7U.js} +2 -2
- package/dist/{cto-delegation-gate-7OIN66NU.js → cto-delegation-gate-JDDOHVQL.js} +6 -6
- package/dist/{daemon-orchestration-EHONVEHN.js → daemon-orchestration-5OYKXYSR.js} +9 -9
- package/dist/{exe-drift-L5ZHO3CZ.js → exe-drift-DXRU4SXJ.js} +2 -2
- package/dist/{exe-export-IVFME5VN.js → exe-export-X3AWJONG.js} +5 -5
- package/dist/{exe-import-O76AYBUE.js → exe-import-GC5HO3TD.js} +5 -5
- package/dist/{exe-key-6HV5GYHH.js → exe-key-R3ER4MYY.js} +1 -1
- package/dist/{fast-db-init-NCOIEAM6.js → fast-db-init-5DTYG5FZ.js} +1 -1
- package/dist/gateway/index.js +9 -9
- package/dist/{git-staleness-MSTOMG55.js → git-staleness-SVUTMS2F.js} +1 -1
- package/dist/{git-task-sweep-NOXCELFQ.js → git-task-sweep-EQHX4LXT.js} +7 -7
- package/dist/{global-procedures-FXWQ35RU.js → global-procedures-P7VOE476.js} +3 -3
- package/dist/{graph-auto-extract-D4I7DF2S.js → graph-auto-extract-UI374EYL.js} +1 -1
- package/dist/{hook-integrity-PR4BPZBT.js → hook-integrity-SA7S2SNI.js} +1 -1
- package/dist/hooks/bug-report-worker.js +8 -8
- package/dist/hooks/codex-stop-task-finalizer.js +8 -8
- package/dist/hooks/commit-complete.js +9 -9
- package/dist/hooks/error-recall.js +5 -5
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest.js +9 -9
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +8 -8
- package/dist/hooks/post-tool-combined.js +4 -4
- package/dist/hooks/pre-compact.js +9 -9
- package/dist/hooks/pre-tool-use.js +34 -12
- package/dist/hooks/prompt-submit.js +111 -47
- package/dist/hooks/session-end.js +13 -13
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +12 -12
- package/dist/hooks/subagent-stop.js +8 -8
- package/dist/hooks/summary-worker.js +12 -12
- package/dist/index.js +16 -16
- package/dist/{installer-Q4IWV2GB.js → installer-L72MRJPI.js} +4 -4
- package/dist/{installer-5NAISFMT.js → installer-LX2TU7RS.js} +4 -4
- package/dist/{installer-FTGXXYRA.js → installer-SLJ3YCHB.js} +4 -4
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +4 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon.js +86 -44
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +7 -7
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +7 -7
- package/dist/lib/tmux-routing.js +6 -6
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +2 -2
- package/dist/lib/transport.js +2 -2
- package/dist/mcp/register-tools.js +46 -46
- package/dist/mcp/server.js +47 -47
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +9 -9
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +9 -9
- package/dist/mcp/tools/send-message.js +9 -9
- package/dist/mcp/tools/update-task.js +8 -8
- package/dist/{mcp-http-config-PSQCITKG.js → mcp-http-config-T76QB243.js} +2 -2
- package/dist/{memory-cards-SYVGSLXW.js → memory-cards-NTRYLVOU.js} +1 -1
- package/dist/{memory-poisoning-defense-T7AC4LZN.js → memory-poisoning-defense-OJ2DEGBA.js} +1 -1
- package/dist/{memory-reflection-FNJU7VFC.js → memory-reflection-4YOUTIMO.js} +1 -1
- package/dist/{notifications-LD563XOM.js → notifications-SF2XN5JE.js} +6 -6
- package/dist/{orchestrator-WQGPXMLN.js → orchestrator-2W3VNAKG.js} +8 -8
- package/dist/{plan-limits-IAUNTZUW.js → plan-limits-LEM76SOQ.js} +2 -2
- package/dist/{projection-worker-S6LYSY22.js → projection-worker-RQHV4VIR.js} +1 -1
- package/dist/{push-notifications-KDYFOJRI.js → push-notifications-NSYLKFXR.js} +1 -1
- package/dist/{review-polling-J3R7MLT4.js → review-polling-HD26LRW2.js} +7 -7
- package/dist/runtime/index.js +13 -13
- package/dist/{session-events-XDDQ3M4A.js → session-events-NYMENC3B.js} +7 -7
- package/dist/{session-kill-telemetry-TX5NCPUV.js → session-kill-telemetry-LJU2MMZC.js} +2 -2
- package/dist/{session-scope-6MAGVHBA.js → session-scope-QIDIKKFB.js} +6 -6
- package/dist/{setup-wizard-WJ73A2FY.js → setup-wizard-ANL7CVWX.js} +1 -1
- package/dist/signal-paths-4GOIRLGH.js +19 -0
- package/dist/skill-refinement-3W3CIIG3.js +156 -0
- package/dist/{task-enforcement-3RV64YVR.js → task-enforcement-YXEOTTUG.js} +6 -6
- package/dist/{task-scope-2T3WIQQY.js → task-scope-XXPTORGS.js} +6 -6
- package/dist/{tasks-crud-B2BGA44L.js → tasks-crud-3UCNTXKQ.js} +6 -6
- package/dist/{tasks-review-ZO3QDMT7.js → tasks-review-IPOWGI4L.js} +6 -6
- package/dist/{token-budget-LJC7HHKB.js → token-budget-NP22DW2M.js} +1 -1
- package/dist/{tool-telemetry-L3WQDRMH.js → tool-telemetry-5JF2OAHG.js} +1 -1
- package/dist/tui/App.js +15 -15
- package/dist/{tui-data-UAPARPDX.js → tui-data-Z7FCER3K.js} +6 -6
- package/dist/{worker-gate-TG6PR2S5.js → worker-gate-PJYHXNUB.js} +1 -1
- package/dist/{workflow-engine-VIFLD5IV.js → workflow-engine-GA7JS7X2.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +194 -194
- /package/dist/{chunk-34XNU32S.js → chunk-7E6ZBXO7.js} +0 -0
- /package/dist/{chunk-PJCTBGWN.js → chunk-7U664OM4.js} +0 -0
- /package/dist/{chunk-BRXDLJBU.js → chunk-LYMBXTEO.js} +0 -0
- /package/dist/{chunk-VN6UUZNO.js → chunk-NQND3GFO.js} +0 -0
- /package/dist/{chunk-OU7SLHNA.js → chunk-PBBIAKN5.js} +0 -0
- /package/dist/{chunk-II3NQJGV.js → chunk-UJ2KUF4C.js} +0 -0
- /package/dist/{chunk-OLVZBBVO.js → chunk-Z6UYJ7HZ.js} +0 -0
- /package/dist/{chunk-BF4W2VDS.js → chunk-ZYETFCDX.js} +0 -0
- /package/dist/{core-memory-MT7P34HU.js → core-memory-KL5BOUXU.js} +0 -0
- /package/dist/{wiki-acl-UE3CRAPQ.js → wiki-acl-ZRCU7XYC.js} +0 -0
|
@@ -5,28 +5,28 @@ import "../chunk-YSU7JB7H.js";
|
|
|
5
5
|
import {
|
|
6
6
|
hybridSearch,
|
|
7
7
|
lightweightSearch
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-KSOPUPQX.js";
|
|
9
9
|
import "../chunk-SH45SJQW.js";
|
|
10
10
|
import {
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-LVEOCWPL.js";
|
|
13
13
|
import {
|
|
14
14
|
initStore
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-DWLDYEGO.js";
|
|
16
|
+
import "../chunk-LYMBXTEO.js";
|
|
17
17
|
import {
|
|
18
18
|
isExeSession
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-OC7Q4LOK.js";
|
|
20
20
|
import "../chunk-LOQCOHEW.js";
|
|
21
21
|
import "../chunk-TXSJ2L5O.js";
|
|
22
22
|
import "../chunk-64WZEXXA.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-A7KEWR6S.js";
|
|
24
|
+
import "../chunk-X347L57O.js";
|
|
25
25
|
import "../chunk-GZIAQYGI.js";
|
|
26
26
|
import "../chunk-ZQX6UOP6.js";
|
|
27
27
|
import "../chunk-KIUU4PNX.js";
|
|
28
28
|
import "../chunk-NGP6LSV2.js";
|
|
29
|
-
import "../chunk-
|
|
29
|
+
import "../chunk-3OGN523Z.js";
|
|
30
30
|
import {
|
|
31
31
|
getProjectName
|
|
32
32
|
} from "../chunk-OPU3NYOO.js";
|
|
@@ -35,11 +35,11 @@ import {
|
|
|
35
35
|
} from "../chunk-CVYC6DUW.js";
|
|
36
36
|
import "../chunk-GJV3WDWM.js";
|
|
37
37
|
import "../chunk-MP2AFCGL.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-IWSXQKSB.js";
|
|
39
39
|
import "../chunk-HYZV25LY.js";
|
|
40
40
|
import {
|
|
41
41
|
canCoordinate
|
|
42
|
-
} from "../chunk-
|
|
42
|
+
} from "../chunk-2G2KOWBI.js";
|
|
43
43
|
import "../chunk-EOO32RJZ.js";
|
|
44
44
|
import "../chunk-FXU7JOXK.js";
|
|
45
45
|
import "../chunk-6D23UNXU.js";
|
|
@@ -269,7 +269,7 @@ ${fresh.map(
|
|
|
269
269
|
atomicWriteSync(counterPath, String(count));
|
|
270
270
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
271
271
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
272
|
-
const { listBehaviors } = await import("../behaviors-
|
|
272
|
+
const { listBehaviors } = await import("../behaviors-4USTCRU7.js");
|
|
273
273
|
const behaviors = await listBehaviors(agent.agentId);
|
|
274
274
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
275
275
|
if (active.length > 0) {
|
|
@@ -294,7 +294,7 @@ ${lines.join("\n")}`;
|
|
|
294
294
|
if (!lastCheckedAt) {
|
|
295
295
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
296
296
|
}
|
|
297
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
297
|
+
const { listBehaviorsSince } = await import("../behaviors-4USTCRU7.js");
|
|
298
298
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
299
299
|
if (newBehaviors.length > 0) {
|
|
300
300
|
const lines = newBehaviors.map(
|
|
@@ -347,22 +347,25 @@ ${body}`;
|
|
|
347
347
|
let reviewContext = "";
|
|
348
348
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
349
349
|
try {
|
|
350
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
350
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-IPOWGI4L.js");
|
|
351
351
|
const sessionKey = getSessionKey();
|
|
352
352
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
353
353
|
let sessionScope;
|
|
354
|
+
let tmuxDetectionFailed = false;
|
|
354
355
|
try {
|
|
355
356
|
const { execSync } = await import("child_process");
|
|
356
357
|
const tmuxSession = execSync("tmux display-message -p '#{session_name}'", { encoding: "utf8", timeout: 2e3 }).trim();
|
|
357
358
|
if (isExeSession(tmuxSession)) sessionScope = tmuxSession;
|
|
359
|
+
else tmuxDetectionFailed = true;
|
|
358
360
|
} catch {
|
|
361
|
+
tmuxDetectionFailed = true;
|
|
359
362
|
}
|
|
360
363
|
let lastCheckedAt = "";
|
|
361
364
|
try {
|
|
362
365
|
lastCheckedAt = readFileSync(lastCheckPath, "utf8").trim();
|
|
363
366
|
} catch {
|
|
364
367
|
}
|
|
365
|
-
const totalCount = await countPendingReviews(sessionScope);
|
|
368
|
+
const totalCount = tmuxDetectionFailed ? 0 : await countPendingReviews(sessionScope);
|
|
366
369
|
if (totalCount > 0) {
|
|
367
370
|
const newCount = lastCheckedAt ? await countNewPendingReviewsSince(lastCheckedAt, sessionScope) : totalCount;
|
|
368
371
|
const trimmedPrompt = prompt.trim().toLowerCase();
|
|
@@ -402,7 +405,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
402
405
|
let coreMemoryContext = "";
|
|
403
406
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
404
407
|
try {
|
|
405
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
408
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-KL5BOUXU.js");
|
|
406
409
|
const entries = await getCoreMemory(agent.agentId);
|
|
407
410
|
const block = formatCoreMemoryBlock(entries);
|
|
408
411
|
if (block) coreMemoryContext = block;
|
|
@@ -411,62 +414,123 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
411
414
|
}
|
|
412
415
|
let taskSignalContext = "";
|
|
413
416
|
try {
|
|
414
|
-
const
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
417
|
+
const { readdirSync } = await import("fs");
|
|
418
|
+
const agentPrefix = `${agent.agentId}.`;
|
|
419
|
+
const priorityRank = { p0: 0, p1: 1, p2: 2 };
|
|
420
|
+
let bestSignal = null;
|
|
421
|
+
let bestFile = "";
|
|
422
|
+
let bestDir = "";
|
|
423
|
+
let bestRank = 999;
|
|
424
|
+
let signalSessionScope = "";
|
|
425
|
+
if (inTmux) {
|
|
426
|
+
try {
|
|
427
|
+
const { execSync } = await import("child_process");
|
|
428
|
+
const tmuxSess = execSync("tmux display-message -p '#{session_name}'", { encoding: "utf8", timeout: 2e3 }).trim();
|
|
429
|
+
signalSessionScope = tmuxSess.includes("-") ? tmuxSess.split("-").pop() ?? "" : tmuxSess;
|
|
430
|
+
} catch {
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
const signalBase = path.join(os.homedir(), ".exe-os", "task-signals");
|
|
434
|
+
const dirsToCheck = [];
|
|
435
|
+
if (signalSessionScope) {
|
|
436
|
+
const scopedDir = path.join(signalBase, signalSessionScope);
|
|
437
|
+
if (existsSync(scopedDir)) dirsToCheck.push(scopedDir);
|
|
438
|
+
}
|
|
439
|
+
if (existsSync(signalBase)) dirsToCheck.push(signalBase);
|
|
440
|
+
for (const dir of dirsToCheck) {
|
|
441
|
+
try {
|
|
442
|
+
const signalFiles = readdirSync(dir).filter(
|
|
443
|
+
(f) => f.endsWith(".pending") && f.startsWith(agentPrefix) && !f.includes("review-")
|
|
444
|
+
);
|
|
426
445
|
for (const file of signalFiles) {
|
|
427
446
|
try {
|
|
428
|
-
const raw = readFileSync(path.join(
|
|
447
|
+
const raw = readFileSync(path.join(dir, file), "utf8");
|
|
429
448
|
const sig = JSON.parse(raw);
|
|
430
449
|
const rank = priorityRank[sig.priority] ?? 1;
|
|
431
450
|
if (rank < bestRank || !bestSignal) {
|
|
432
451
|
bestSignal = sig;
|
|
433
452
|
bestFile = file;
|
|
453
|
+
bestDir = dir;
|
|
434
454
|
bestRank = rank;
|
|
435
455
|
}
|
|
436
456
|
} catch {
|
|
437
457
|
}
|
|
438
458
|
}
|
|
439
|
-
|
|
440
|
-
|
|
459
|
+
} catch {
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
if (bestSignal) {
|
|
463
|
+
taskSignalContext = `
|
|
441
464
|
[\u{1F514} NEW TASK ASSIGNED] "${bestSignal.title}" [${bestSignal.priority}] from ${bestSignal.assigned_by}. Run get_task(task_id="${bestSignal.task_id}") and START WORKING NOW.
|
|
442
465
|
|
|
443
466
|
IMPORTANT: After completing your current task, you MUST address the new task above. Do not ignore it.`;
|
|
467
|
+
try {
|
|
468
|
+
const { writeDispatchAck } = await import("../dispatch-ack-JYCKAWKZ.js");
|
|
469
|
+
writeDispatchAck(bestSignal.task_id, agent.agentId);
|
|
470
|
+
} catch {
|
|
471
|
+
}
|
|
472
|
+
try {
|
|
473
|
+
unlinkSync(path.join(bestDir, bestFile));
|
|
474
|
+
} catch {
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
} catch {
|
|
478
|
+
}
|
|
479
|
+
let reviewSignalContext = "";
|
|
480
|
+
try {
|
|
481
|
+
const signalBase = path.join(os.homedir(), ".exe-os", "task-signals");
|
|
482
|
+
const reviewDirs = [];
|
|
483
|
+
let reviewSessionScope = "";
|
|
484
|
+
if (inTmux) {
|
|
485
|
+
try {
|
|
486
|
+
const { execSync } = await import("child_process");
|
|
487
|
+
const tmuxSess = execSync("tmux display-message -p '#{session_name}'", { encoding: "utf8", timeout: 2e3 }).trim();
|
|
488
|
+
reviewSessionScope = tmuxSess.includes("-") ? tmuxSess.split("-").pop() ?? "" : tmuxSess;
|
|
489
|
+
} catch {
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
if (reviewSessionScope) {
|
|
493
|
+
const scopedDir = path.join(signalBase, reviewSessionScope);
|
|
494
|
+
if (existsSync(scopedDir)) reviewDirs.push(scopedDir);
|
|
495
|
+
}
|
|
496
|
+
if (existsSync(signalBase)) reviewDirs.push(signalBase);
|
|
497
|
+
for (const dir of reviewDirs) {
|
|
498
|
+
try {
|
|
499
|
+
const { readdirSync } = await import("fs");
|
|
500
|
+
const reviewPrefix = `${agent.agentId}.review-`;
|
|
501
|
+
const reviewFiles = readdirSync(dir).filter(
|
|
502
|
+
(f) => f.endsWith(".pending") && f.startsWith(reviewPrefix)
|
|
503
|
+
);
|
|
504
|
+
for (const file of reviewFiles) {
|
|
444
505
|
try {
|
|
445
|
-
const
|
|
446
|
-
|
|
506
|
+
const raw = readFileSync(path.join(dir, file), "utf8");
|
|
507
|
+
const signal = JSON.parse(raw);
|
|
508
|
+
if (!reviewSignalContext) {
|
|
509
|
+
reviewSignalContext = `
|
|
510
|
+
[\u{1F4CB} REVIEW READY] ${signal.assigned_to} completed "${signal.title}". Run list_tasks(status='needs_review') and process reviews NOW.`;
|
|
511
|
+
}
|
|
512
|
+
unlinkSync(path.join(dir, file));
|
|
447
513
|
} catch {
|
|
448
514
|
}
|
|
515
|
+
}
|
|
516
|
+
const legacyPath = path.join(dir, `${agent.agentId}.review-pending`);
|
|
517
|
+
if (existsSync(legacyPath)) {
|
|
449
518
|
try {
|
|
450
|
-
|
|
519
|
+
const raw = readFileSync(legacyPath, "utf8");
|
|
520
|
+
const signal = JSON.parse(raw);
|
|
521
|
+
if (!reviewSignalContext) {
|
|
522
|
+
reviewSignalContext = `
|
|
523
|
+
[\u{1F4CB} REVIEW READY] ${signal.assigned_to} completed "${signal.title}". Run list_tasks(status='needs_review') and process reviews NOW.`;
|
|
524
|
+
}
|
|
525
|
+
unlinkSync(legacyPath);
|
|
451
526
|
} catch {
|
|
452
527
|
}
|
|
453
528
|
}
|
|
529
|
+
} catch {
|
|
454
530
|
}
|
|
455
531
|
}
|
|
456
532
|
} catch {
|
|
457
533
|
}
|
|
458
|
-
let reviewSignalContext = "";
|
|
459
|
-
try {
|
|
460
|
-
const reviewSignalPath = path.join(os.homedir(), ".exe-os", "task-signals", `${agent.agentId}.review-pending`);
|
|
461
|
-
if (existsSync(reviewSignalPath)) {
|
|
462
|
-
const raw = readFileSync(reviewSignalPath, "utf8");
|
|
463
|
-
const signal = JSON.parse(raw);
|
|
464
|
-
reviewSignalContext = `
|
|
465
|
-
[\u{1F4CB} REVIEW READY] ${signal.assigned_to} completed "${signal.title}". Run list_tasks(status='needs_review') and process reviews NOW.`;
|
|
466
|
-
unlinkSync(reviewSignalPath);
|
|
467
|
-
}
|
|
468
|
-
} catch {
|
|
469
|
-
}
|
|
470
534
|
const combined = [cacheContext, coreMemoryContext, memoryContext, behaviorContext, identityContext, reviewContext, taskSignalContext, reviewSignalContext, mcpStaleNotice].filter(Boolean).join("\n\n");
|
|
471
535
|
if (combined.length > 0) {
|
|
472
536
|
const output = JSON.stringify({
|
|
@@ -497,8 +561,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
497
561
|
return;
|
|
498
562
|
}
|
|
499
563
|
try {
|
|
500
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
501
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
564
|
+
const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
|
|
565
|
+
const { recordSessionEvent } = await import("../session-events-NYMENC3B.js");
|
|
502
566
|
const client = await fastDbInit();
|
|
503
567
|
await recordSessionEvent(client, {
|
|
504
568
|
agentId: agent.agentId,
|
|
@@ -6,10 +6,10 @@ import "../chunk-SH45SJQW.js";
|
|
|
6
6
|
import {
|
|
7
7
|
clearActiveAgent,
|
|
8
8
|
getActiveAgent
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-LVEOCWPL.js";
|
|
10
10
|
import {
|
|
11
11
|
writeContinuityCheckpoint
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-UJ2KUF4C.js";
|
|
13
13
|
import "../chunk-EHXOWGQG.js";
|
|
14
14
|
import "../chunk-EYQIEK5M.js";
|
|
15
15
|
import "../chunk-W6SKR3HZ.js";
|
|
@@ -17,28 +17,28 @@ import "../chunk-3H4VU65X.js";
|
|
|
17
17
|
import "../chunk-K4KAPZC7.js";
|
|
18
18
|
import {
|
|
19
19
|
strictSessionScopeFilter
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-OC7Q4LOK.js";
|
|
21
21
|
import "../chunk-LOQCOHEW.js";
|
|
22
22
|
import "../chunk-TXSJ2L5O.js";
|
|
23
23
|
import "../chunk-64WZEXXA.js";
|
|
24
|
-
import "../chunk-
|
|
25
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-A7KEWR6S.js";
|
|
25
|
+
import "../chunk-X347L57O.js";
|
|
26
26
|
import "../chunk-GZIAQYGI.js";
|
|
27
27
|
import "../chunk-ZQX6UOP6.js";
|
|
28
28
|
import "../chunk-KIUU4PNX.js";
|
|
29
29
|
import "../chunk-NGP6LSV2.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-3OGN523Z.js";
|
|
31
31
|
import "../chunk-OPU3NYOO.js";
|
|
32
32
|
import {
|
|
33
33
|
getSessionKey
|
|
34
34
|
} from "../chunk-CVYC6DUW.js";
|
|
35
35
|
import "../chunk-GJV3WDWM.js";
|
|
36
36
|
import "../chunk-MP2AFCGL.js";
|
|
37
|
-
import "../chunk-
|
|
37
|
+
import "../chunk-IWSXQKSB.js";
|
|
38
38
|
import "../chunk-HYZV25LY.js";
|
|
39
39
|
import {
|
|
40
40
|
canCoordinate
|
|
41
|
-
} from "../chunk-
|
|
41
|
+
} from "../chunk-2G2KOWBI.js";
|
|
42
42
|
import "../chunk-EOO32RJZ.js";
|
|
43
43
|
import "../chunk-FXU7JOXK.js";
|
|
44
44
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -72,7 +72,7 @@ process.stdin.on("end", async () => {
|
|
|
72
72
|
const agent = getActiveAgent();
|
|
73
73
|
if (agent.agentId !== "default") {
|
|
74
74
|
try {
|
|
75
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
75
|
+
const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
|
|
76
76
|
const client = await fastDbInit();
|
|
77
77
|
const seScope = strictSessionScopeFilter();
|
|
78
78
|
const orphanResult = await client.execute({
|
|
@@ -147,7 +147,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
147
147
|
extraSections
|
|
148
148
|
});
|
|
149
149
|
try {
|
|
150
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
150
|
+
const { clearSessionFileReads } = await import("../git-staleness-SVUTMS2F.js");
|
|
151
151
|
await clearSessionFileReads(data.session_id);
|
|
152
152
|
} catch {
|
|
153
153
|
}
|
|
@@ -161,7 +161,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
161
161
|
);
|
|
162
162
|
let commits = [];
|
|
163
163
|
try {
|
|
164
|
-
const { getRecentCommits } = await import("../git-task-sweep-
|
|
164
|
+
const { getRecentCommits } = await import("../git-task-sweep-EQHX4LXT.js");
|
|
165
165
|
commits = getRecentCommits(30);
|
|
166
166
|
} catch {
|
|
167
167
|
}
|
|
@@ -171,7 +171,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
171
171
|
const title = String(row.title);
|
|
172
172
|
try {
|
|
173
173
|
if (commits.length > 0) {
|
|
174
|
-
const { findBestMatch } = await import("../git-task-sweep-
|
|
174
|
+
const { findBestMatch } = await import("../git-task-sweep-EQHX4LXT.js");
|
|
175
175
|
let context;
|
|
176
176
|
try {
|
|
177
177
|
const ctxResult = await client.execute({
|
|
@@ -215,7 +215,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
215
215
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
216
216
|
}
|
|
217
217
|
try {
|
|
218
|
-
const { writeNotification } = await import("../notifications-
|
|
218
|
+
const { writeNotification } = await import("../notifications-SF2XN5JE.js");
|
|
219
219
|
await writeNotification({
|
|
220
220
|
agentId: agent.agentId,
|
|
221
221
|
agentRole: agent.agentRole,
|
|
@@ -31,9 +31,9 @@ process.stdin.on("end", async () => {
|
|
|
31
31
|
try {
|
|
32
32
|
const { getClient } = await import("../lib/database.js");
|
|
33
33
|
const { lightweightSearch } = await import("../lib/hybrid-search.js");
|
|
34
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
34
|
+
const { getActiveAgent } = await import("../active-agent-JN7A2D2E.js");
|
|
35
35
|
const { getProjectName } = await import("../project-name-EWG5KAZP.js");
|
|
36
|
-
const { getCurrentSessionScope } = await import("../task-scope-
|
|
36
|
+
const { getCurrentSessionScope } = await import("../task-scope-XXPTORGS.js");
|
|
37
37
|
const { canCoordinate } = await import("../lib/employees.js");
|
|
38
38
|
const data = JSON.parse(input);
|
|
39
39
|
const projectName = getProjectName(data.cwd || void 0);
|
|
@@ -50,7 +50,7 @@ process.stdin.on("end", async () => {
|
|
|
50
50
|
} catch {
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
53
|
+
const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
|
|
54
54
|
await fastDbInit();
|
|
55
55
|
const agent = getActiveAgent();
|
|
56
56
|
const agentId = agent.agentId;
|
|
@@ -64,7 +64,7 @@ process.stdin.on("end", async () => {
|
|
|
64
64
|
if (existsSync(markerPath)) {
|
|
65
65
|
const marker = JSON.parse(readFileSync(markerPath, "utf-8"));
|
|
66
66
|
if (marker.taskId) {
|
|
67
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
67
|
+
const { queryTaskRows } = await import("../tasks-crud-3UCNTXKQ.js");
|
|
68
68
|
const markerRows = await queryTaskRows({
|
|
69
69
|
columns: "status",
|
|
70
70
|
sessionScope: sessionScope ?? null,
|
|
@@ -108,7 +108,7 @@ process.stdin.on("end", async () => {
|
|
|
108
108
|
query = `last actions on ${projectName}`;
|
|
109
109
|
header = "## Resuming Session\nHere's where you left off:";
|
|
110
110
|
try {
|
|
111
|
-
const { buildCatchupBrief } = await import("../catchup-brief-
|
|
111
|
+
const { buildCatchupBrief } = await import("../catchup-brief-T2RPTOTZ.js");
|
|
112
112
|
const brief = await buildCatchupBrief(
|
|
113
113
|
agentId,
|
|
114
114
|
projectName,
|
|
@@ -120,7 +120,7 @@ process.stdin.on("end", async () => {
|
|
|
120
120
|
} catch {
|
|
121
121
|
}
|
|
122
122
|
try {
|
|
123
|
-
const { detectStaleFiles } = await import("../git-staleness-
|
|
123
|
+
const { detectStaleFiles } = await import("../git-staleness-SVUTMS2F.js");
|
|
124
124
|
const staleFiles = await detectStaleFiles(agentId, data.cwd || process.cwd());
|
|
125
125
|
if (staleFiles.length > 0) {
|
|
126
126
|
extraContext += `${extraContext.length > 0 ? "\n\n" : ""}## \u26A0\uFE0F Stale File Warning
|
|
@@ -140,7 +140,7 @@ The following files have been modified since you last read them:
|
|
|
140
140
|
);
|
|
141
141
|
let taskBrief = "";
|
|
142
142
|
try {
|
|
143
|
-
const { queryTaskRows } = await import("../tasks-crud-
|
|
143
|
+
const { queryTaskRows } = await import("../tasks-crud-3UCNTXKQ.js");
|
|
144
144
|
const taskResult = await queryTaskRows({
|
|
145
145
|
assignedTo: agentId,
|
|
146
146
|
status: ["open", "in_progress"],
|
package/dist/hooks/stop.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LVEOCWPL.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OC7Q4LOK.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-TXSJ2L5O.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-A7KEWR6S.js";
|
|
12
|
+
import "../chunk-X347L57O.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
14
|
import "../chunk-ZQX6UOP6.js";
|
|
15
15
|
import "../chunk-KIUU4PNX.js";
|
|
16
16
|
import "../chunk-NGP6LSV2.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-3OGN523Z.js";
|
|
18
18
|
import "../chunk-OPU3NYOO.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-GJV3WDWM.js";
|
|
21
21
|
import "../chunk-MP2AFCGL.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-IWSXQKSB.js";
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
canCoordinate
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-2G2KOWBI.js";
|
|
27
27
|
import "../chunk-EOO32RJZ.js";
|
|
28
28
|
import "../chunk-FXU7JOXK.js";
|
|
29
29
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -118,8 +118,8 @@ process.stdin.on("end", async () => {
|
|
|
118
118
|
process.exit(0);
|
|
119
119
|
}
|
|
120
120
|
try {
|
|
121
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
122
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
121
|
+
const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
|
|
122
|
+
const { recordSessionEvent } = await import("../session-events-NYMENC3B.js");
|
|
123
123
|
const client = await fastDbInit();
|
|
124
124
|
await recordSessionEvent(client, {
|
|
125
125
|
agentId: agent.agentId,
|
|
@@ -137,7 +137,7 @@ process.stdin.on("end", async () => {
|
|
|
137
137
|
if (existsSync(taskCachePath)) {
|
|
138
138
|
const cached = JSON.parse(readFileSync(taskCachePath, "utf8"));
|
|
139
139
|
if (cached.taskId) {
|
|
140
|
-
const { createTokenBudgetMiddleware } = await import("../token-budget-
|
|
140
|
+
const { createTokenBudgetMiddleware } = await import("../token-budget-NP22DW2M.js");
|
|
141
141
|
const middleware = createTokenBudgetMiddleware(cached.taskId);
|
|
142
142
|
const estimatedOutputTokens = Math.ceil(message.length / 4);
|
|
143
143
|
const result = await middleware.onTokenUsed(0, estimatedOutputTokens);
|
|
@@ -155,7 +155,7 @@ process.stdin.on("end", async () => {
|
|
|
155
155
|
}
|
|
156
156
|
const CAPACITY_SIGNALS = /context[- ]?full|hit capacity|conversation is too long|maximum context length|context window.*(?:limit|exceed|full)/i;
|
|
157
157
|
if (!canCoordinate(agent.agentId, agent.agentRole) && CAPACITY_SIGNALS.test(message)) {
|
|
158
|
-
import("../fast-db-init-
|
|
158
|
+
import("../fast-db-init-5DTYG5FZ.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
159
159
|
const stScope = sessionScopeFilter();
|
|
160
160
|
const tasks = await client.execute({
|
|
161
161
|
sql: `SELECT title, status, task_file FROM tasks
|
|
@@ -248,7 +248,7 @@ ${msgs.slice(-15).join("\n")}`;
|
|
|
248
248
|
} catch {
|
|
249
249
|
}
|
|
250
250
|
if (!canCoordinate(agent.agentId, agent.agentRole)) {
|
|
251
|
-
import("../fast-db-init-
|
|
251
|
+
import("../fast-db-init-5DTYG5FZ.js").then(({ fastDbInit }) => fastDbInit()).then(async (client) => {
|
|
252
252
|
const orScope = sessionScopeFilter();
|
|
253
253
|
return client.execute({
|
|
254
254
|
sql: `SELECT title, status FROM tasks
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LVEOCWPL.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-OC7Q4LOK.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-TXSJ2L5O.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-A7KEWR6S.js";
|
|
12
|
+
import "../chunk-X347L57O.js";
|
|
13
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
14
|
import "../chunk-ZQX6UOP6.js";
|
|
15
15
|
import "../chunk-KIUU4PNX.js";
|
|
16
16
|
import "../chunk-NGP6LSV2.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-3OGN523Z.js";
|
|
18
18
|
import "../chunk-OPU3NYOO.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-GJV3WDWM.js";
|
|
21
21
|
import "../chunk-MP2AFCGL.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-IWSXQKSB.js";
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
canCoordinate
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-2G2KOWBI.js";
|
|
27
27
|
import "../chunk-EOO32RJZ.js";
|
|
28
28
|
import "../chunk-FXU7JOXK.js";
|
|
29
29
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -55,7 +55,7 @@ process.stdin.on("end", async () => {
|
|
|
55
55
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
56
56
|
process.exit(0);
|
|
57
57
|
}
|
|
58
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
58
|
+
const { fastDbInit } = await import("../fast-db-init-5DTYG5FZ.js");
|
|
59
59
|
const client = await fastDbInit();
|
|
60
60
|
const saScope = sessionScopeFilter();
|
|
61
61
|
const pendingResult = await client.execute({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-UJ2KUF4C.js";
|
|
4
4
|
import "../chunk-EHXOWGQG.js";
|
|
5
5
|
import "../chunk-EYQIEK5M.js";
|
|
6
6
|
import "../chunk-W6SKR3HZ.js";
|
|
@@ -9,32 +9,32 @@ import "../chunk-K4KAPZC7.js";
|
|
|
9
9
|
import {
|
|
10
10
|
initStore,
|
|
11
11
|
vectorToBlob
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-DWLDYEGO.js";
|
|
13
|
+
import "../chunk-LYMBXTEO.js";
|
|
14
14
|
import {
|
|
15
15
|
sessionScopeFilter,
|
|
16
16
|
writeNotification
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-OC7Q4LOK.js";
|
|
18
18
|
import "../chunk-LOQCOHEW.js";
|
|
19
19
|
import "../chunk-TXSJ2L5O.js";
|
|
20
20
|
import "../chunk-64WZEXXA.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-A7KEWR6S.js";
|
|
22
|
+
import "../chunk-X347L57O.js";
|
|
23
23
|
import "../chunk-GZIAQYGI.js";
|
|
24
24
|
import "../chunk-ZQX6UOP6.js";
|
|
25
25
|
import "../chunk-KIUU4PNX.js";
|
|
26
26
|
import "../chunk-NGP6LSV2.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-3OGN523Z.js";
|
|
28
28
|
import "../chunk-OPU3NYOO.js";
|
|
29
29
|
import "../chunk-CVYC6DUW.js";
|
|
30
30
|
import "../chunk-GJV3WDWM.js";
|
|
31
31
|
import "../chunk-MP2AFCGL.js";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-IWSXQKSB.js";
|
|
33
33
|
import "../chunk-HYZV25LY.js";
|
|
34
34
|
import {
|
|
35
35
|
canCoordinate,
|
|
36
36
|
getClient
|
|
37
|
-
} from "../chunk-
|
|
37
|
+
} from "../chunk-2G2KOWBI.js";
|
|
38
38
|
import "../chunk-EOO32RJZ.js";
|
|
39
39
|
import "../chunk-FXU7JOXK.js";
|
|
40
40
|
import "../chunk-6D23UNXU.js";
|
|
@@ -110,7 +110,7 @@ async function main() {
|
|
|
110
110
|
let summaryText = "";
|
|
111
111
|
let limitReached = false;
|
|
112
112
|
try {
|
|
113
|
-
const { assertMemoryLimit } = await import("../plan-limits-
|
|
113
|
+
const { assertMemoryLimit } = await import("../plan-limits-LEM76SOQ.js");
|
|
114
114
|
await assertMemoryLimit();
|
|
115
115
|
} catch (err) {
|
|
116
116
|
const msg = err instanceof Error ? err.message : String(err);
|
|
@@ -180,7 +180,7 @@ async function main() {
|
|
|
180
180
|
const { EXE_AI_DIR } = await import("../lib/config.js");
|
|
181
181
|
const flagPath = path.join(EXE_AI_DIR, "session-cache", "needs-backfill");
|
|
182
182
|
if (existsSync(flagPath)) {
|
|
183
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-
|
|
183
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("../worker-gate-PJYHXNUB.js");
|
|
184
184
|
if (!tryAcquireWorkerSlot()) {
|
|
185
185
|
process.stderr.write("[summary-worker] Backfill needed but worker gate full \u2014 skipping\n");
|
|
186
186
|
} else {
|
|
@@ -287,7 +287,7 @@ main().catch((err) => {
|
|
|
287
287
|
process.stderr.write("[summary-worker] FATAL: " + (err instanceof Error ? err.message : String(err)) + "\n");
|
|
288
288
|
}).finally(async () => {
|
|
289
289
|
try {
|
|
290
|
-
const { cleanupWorkerPid } = await import("../worker-gate-
|
|
290
|
+
const { cleanupWorkerPid } = await import("../worker-gate-PJYHXNUB.js");
|
|
291
291
|
cleanupWorkerPid();
|
|
292
292
|
} catch {
|
|
293
293
|
}
|