@askexenow/exe-os 0.9.259 → 0.9.261
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-IGZXTTV4.js → active-agent-3YK6QV45.js} +4 -3
- package/dist/{active-agent-OYUXMTHS.js → active-agent-QTDTBHBS.js} +4 -3
- package/dist/{agentic-ontology-5WT23SLZ.js → agentic-ontology-BBC62LK2.js} +1 -1
- package/dist/{backfill-metadata-EG52U3GF.js → backfill-metadata-Z52CKWFN.js} +5 -4
- package/dist/{behaviors-2TZCFJLU.js → behaviors-RAIPSWGY.js} +4 -3
- package/dist/bin/agentic-ontology-backfill.js +6 -5
- package/dist/bin/agentic-reflection-backfill.js +7 -6
- package/dist/bin/agentic-semantic-label.js +6 -5
- package/dist/bin/backfill-conversations.js +5 -4
- package/dist/bin/backfill-responses.js +5 -4
- package/dist/bin/backfill-vectors.js +6 -5
- package/dist/bin/bulk-sync-postgres.js +7 -6
- package/dist/bin/cleanup-stale-review-tasks.js +10 -9
- package/dist/bin/cli.js +16 -16
- package/dist/bin/exe-agent-config.js +3 -2
- package/dist/bin/exe-agent.js +5 -4
- package/dist/bin/exe-assign.js +6 -5
- package/dist/bin/exe-boot.js +17 -16
- package/dist/bin/exe-call.js +5 -4
- package/dist/bin/exe-cloud.js +5 -4
- package/dist/bin/exe-dispatch.js +10 -9
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +8 -7
- package/dist/bin/exe-forget.js +7 -6
- package/dist/bin/exe-gateway.js +8 -7
- package/dist/bin/exe-heartbeat.js +10 -9
- package/dist/bin/exe-kill.js +13 -12
- package/dist/bin/exe-launch-agent.js +17 -16
- package/dist/bin/exe-new-employee.js +7 -6
- package/dist/bin/exe-pending-messages.js +11 -10
- package/dist/bin/exe-pending-notifications.js +10 -9
- package/dist/bin/exe-pending-reviews.js +10 -9
- package/dist/bin/exe-rename.js +5 -4
- package/dist/bin/exe-review.js +12 -11
- package/dist/bin/exe-search.js +6 -5
- package/dist/bin/exe-session-cleanup.js +15 -14
- package/dist/bin/exe-settings.js +5 -4
- package/dist/bin/exe-start-codex.js +12 -11
- package/dist/bin/exe-start-opencode.js +9 -8
- package/dist/bin/exe-status.js +11 -10
- package/dist/bin/exe-team.js +4 -3
- package/dist/bin/git-sweep.js +11 -10
- package/dist/bin/graph-backfill.js +5 -4
- package/dist/bin/graph-export.js +6 -5
- package/dist/bin/import-history.js +8 -7
- package/dist/bin/install.js +7 -6
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +5 -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 +2 -1
- package/dist/bin/scan-tasks.js +10 -9
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +6 -5
- package/dist/{capacity-monitor-CTFWWTCR.js → capacity-monitor-JS3UHTSJ.js} +11 -10
- package/dist/{catchup-brief-UML47LXI.js → catchup-brief-AY3NXSZ4.js} +12 -11
- package/dist/{chunk-ISL3NSVX.js → chunk-25NFDJ3N.js} +1 -1
- package/dist/chunk-2I23RPSI.js +14 -0
- package/dist/{chunk-FPXZY3FY.js → chunk-2WH32VJI.js} +1 -1
- package/dist/{chunk-N27CTUFU.js → chunk-33ZGDWSS.js} +1 -1
- package/dist/{chunk-J3YNCJ4A.js → chunk-3XNYEGA5.js} +1 -1
- package/dist/{chunk-HDWVXSGO.js → chunk-45W7EDXB.js} +1 -1
- package/dist/{chunk-BPZL5YOM.js → chunk-5KTO3LBQ.js} +1 -1
- package/dist/{chunk-ZKFTDL4M.js → chunk-6HVXFKP6.js} +1 -1
- package/dist/{chunk-NGQQRGLP.js → chunk-6OOAVH7Y.js} +2 -2
- package/dist/{chunk-PQHA6X6Y.js → chunk-6WT44S2W.js} +1 -1
- package/dist/{chunk-AQS2B3HC.js → chunk-6YHVX54O.js} +11 -11
- package/dist/{chunk-L5VPUOB6.js → chunk-A3T5KDD3.js} +1 -1
- package/dist/{chunk-IVSRRIRG.js → chunk-AZMKHVI5.js} +1 -1
- package/dist/{chunk-ZBDAFYDD.js → chunk-BJYXHSFN.js} +5 -5
- package/dist/{chunk-4VECWOUO.js → chunk-BTX453B2.js} +2 -2
- package/dist/{chunk-LRKJGSNH.js → chunk-C35HWJ65.js} +2 -2
- package/dist/{chunk-25JAXHON.js → chunk-C5SOAWDO.js} +1 -1
- package/dist/{chunk-V2UVWYHO.js → chunk-CRZWP3JB.js} +5 -5
- package/dist/{chunk-OCJ5GZKV.js → chunk-CTV755VI.js} +4 -4
- package/dist/{chunk-YMXXD2GW.js → chunk-EBCXL2Y2.js} +5 -0
- package/dist/{chunk-FUGZF7VR.js → chunk-F255GOZU.js} +1 -1
- package/dist/{chunk-IJ7R3MXE.js → chunk-F7FZ24KM.js} +3 -3
- package/dist/{chunk-4TYAHVDI.js → chunk-FIV5A6O2.js} +8 -8
- package/dist/{chunk-2PFNATXD.js → chunk-FO5FP2J3.js} +1 -1
- package/dist/{chunk-4FGTT26Q.js → chunk-IITNQWCX.js} +1 -1
- package/dist/{chunk-X2RKYKTP.js → chunk-IW3SDPTM.js} +1 -1
- package/dist/{chunk-TZPHTI5Q.js → chunk-J7LUMKFQ.js} +1 -1
- package/dist/{chunk-VDCPKJUQ.js → chunk-JTADPL6X.js} +1 -1
- package/dist/{chunk-KSR2PNRW.js → chunk-KDQC7DGK.js} +2 -2
- package/dist/{chunk-GH4LVBQM.js → chunk-KEVATUGJ.js} +1 -1
- package/dist/{chunk-COKTAJUZ.js → chunk-KPVRGCOC.js} +1 -1
- package/dist/{chunk-BGEXTWGR.js → chunk-L5G37Y7S.js} +3 -3
- package/dist/{chunk-MKTEGZ37.js → chunk-L5RL4GH4.js} +3 -3
- package/dist/{chunk-N4ES27RI.js → chunk-LGBN2Z6M.js} +3 -3
- package/dist/{chunk-C6SSCNOC.js → chunk-LMA3QZCR.js} +86 -86
- package/dist/{chunk-L3PY4NFQ.js → chunk-MV2T7Q3V.js} +1 -1
- package/dist/{chunk-6D2IZ5MB.js → chunk-N2CFR2OZ.js} +2 -2
- package/dist/{chunk-DYURFBPS.js → chunk-N2MMYJLT.js} +9 -9
- package/dist/{chunk-GIHMDOSK.js → chunk-O4D4DSNZ.js} +1 -1
- package/dist/{chunk-GB4FI66P.js → chunk-PIXFIUXC.js} +2 -2
- package/dist/{chunk-VLX6AHTD.js → chunk-PK7H6FFK.js} +8 -8
- package/dist/{chunk-M7PZFYHE.js → chunk-PKJFMRUG.js} +2 -2
- package/dist/{chunk-OSPS5N2I.js → chunk-PPKYYMTP.js} +1 -1
- package/dist/{chunk-DU64OESH.js → chunk-PWLX576L.js} +1 -1
- package/dist/{chunk-WVBZ3QBR.js → chunk-QQZMP6QL.js} +6 -1
- package/dist/{chunk-CXOX7TRG.js → chunk-QX4HTCYA.js} +1 -1
- package/dist/{chunk-QYNFWFFH.js → chunk-RPELMUVE.js} +4 -4
- package/dist/{chunk-7UJRF4WF.js → chunk-RV46K5V7.js} +1 -1
- package/dist/{chunk-UOZ5KUNN.js → chunk-SJOPWCOX.js} +31 -2
- package/dist/{chunk-LVY74L2J.js → chunk-SVGP6QOL.js} +2 -2
- package/dist/{chunk-YY2BCIAP.js → chunk-TBX2AJT3.js} +2 -2
- package/dist/{chunk-T4NFOOPB.js → chunk-TVBOD2OK.js} +2 -2
- package/dist/{chunk-MPXLF7TA.js → chunk-UG5IYXJT.js} +1 -1
- package/dist/{chunk-T2EUNNUX.js → chunk-UJE2GS6O.js} +5 -5
- package/dist/{chunk-5LDTCWYX.js → chunk-UV4JFYSO.js} +10 -10
- package/dist/{chunk-JE4C74EE.js → chunk-VG3CIPWK.js} +4 -4
- package/dist/{chunk-PQQTSNXS.js → chunk-X57DHMWB.js} +3 -3
- package/dist/{chunk-57C3MZPQ.js → chunk-XPANTGOA.js} +2 -2
- package/dist/{chunk-GBR4MAAK.js → chunk-YG7PIB2R.js} +1 -1
- package/dist/{chunk-5JYCTIQD.js → chunk-YYDGDTAG.js} +1 -1
- package/dist/{chunk-VD676VIC.js → chunk-ZGCPEWFP.js} +4 -4
- package/dist/{co-activation-UNVL5JCP.js → co-activation-7XE74B7L.js} +3 -2
- package/dist/{co-occurrence-ETAVWYVE.js → co-occurrence-FLEGKZSX.js} +3 -2
- package/dist/{code-context-index-DCQYAYA2.js → code-context-index-Z7HB3UGH.js} +1 -1
- package/dist/{crdt-sync-AH7N6QOE.js → crdt-sync-YDQYEBQB.js} +1 -1
- package/dist/{crm-webhook-R6546T3Y.js → crm-webhook-Y5NDYNMO.js} +2 -2
- package/dist/{cto-delegation-gate-VB4TMZ3I.js → cto-delegation-gate-YQPV3UUU.js} +9 -8
- package/dist/{daemon-orchestration-YAJKIL6Q.js → daemon-orchestration-TKNBR574.js} +13 -12
- package/dist/{db-backup-2RG6VHT7.js → db-backup-ZFDOADMZ.js} +1 -1
- package/dist/{dreaming-WMBTSXGD.js → dreaming-JYALVJ25.js} +10 -9
- package/dist/{exe-drift-MQZGYHEN.js → exe-drift-KMIYM7LU.js} +4 -3
- package/dist/{exe-export-E4BDIHOC.js → exe-export-23XZY2H7.js} +6 -5
- package/dist/{exe-import-IWAD4HN6.js → exe-import-LDQHD2S4.js} +6 -5
- package/dist/{exe-key-L2RV7XJX.js → exe-key-K3HQLUYO.js} +8 -2
- package/dist/{exe-snapshot-IOGN4ARV.js → exe-snapshot-RBIGPTUU.js} +13 -12
- package/dist/{fast-db-init-GCY3F74H.js → fast-db-init-Q2B2YPUR.js} +1 -1
- package/dist/gateway/index.js +9 -8
- package/dist/{git-staleness-BQIFNZIU.js → git-staleness-DIQ7RU3N.js} +3 -2
- package/dist/{git-task-sweep-GSKS6WKR.js → git-task-sweep-JN4WJ66Y.js} +10 -9
- package/dist/{global-procedures-3DJUA5OX.js → global-procedures-JNJ4NWV5.js} +4 -3
- package/dist/{graph-auto-extract-2I44WRDY.js → graph-auto-extract-UYU2KFSY.js} +3 -2
- package/dist/hooks/bug-report-worker.js +12 -11
- package/dist/hooks/codex-stop-task-finalizer.js +12 -11
- package/dist/hooks/commit-complete.js +12 -11
- package/dist/hooks/error-recall.js +7 -6
- package/dist/hooks/exe-heartbeat-hook.js +4 -3
- package/dist/hooks/ingest.js +7 -6
- package/dist/hooks/instructions-loaded.js +5 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +5 -4
- package/dist/hooks/post-compact.js +12 -11
- package/dist/hooks/post-tool-combined.js +6 -6
- package/dist/hooks/pre-compact.js +12 -11
- package/dist/hooks/pre-tool-use.js +15 -14
- package/dist/hooks/prompt-submit.js +22 -22
- package/dist/hooks/session-end.js +16 -15
- package/dist/hooks/session-start.js +12 -13
- package/dist/hooks/stop.js +15 -14
- package/dist/hooks/subagent-stop.js +11 -10
- package/dist/hooks/summary-worker.js +15 -14
- package/dist/index.js +18 -17
- package/dist/{installer-TCMPFSSP.js → installer-23YHWXNH.js} +6 -5
- package/dist/{installer-ZY2BKTEO.js → installer-64FY7VV4.js} +6 -5
- package/dist/{installer-6MQCAHUG.js → installer-LN7RDI6N.js} +6 -5
- package/dist/lib/cloud-sync.js +5 -4
- package/dist/lib/consolidation.js +6 -5
- package/dist/lib/database.js +3 -2
- package/dist/lib/db.js +3 -2
- package/dist/lib/employee-templates.js +5 -4
- package/dist/lib/employees.js +3 -2
- package/dist/lib/exe-daemon.js +45 -34
- package/dist/lib/hybrid-search.js +6 -5
- package/dist/lib/identity.js +3 -2
- package/dist/lib/messaging.js +10 -9
- package/dist/lib/reminders.js +4 -3
- package/dist/lib/schedules.js +6 -5
- package/dist/lib/session-registry.js +5 -4
- package/dist/lib/skill-learning.js +5 -4
- package/dist/lib/store.js +5 -4
- package/dist/lib/task-router.js +4 -3
- package/dist/lib/tasks.js +11 -10
- package/dist/lib/tmux-routing.js +9 -8
- package/dist/lib/token-spend.js +4 -3
- package/dist/mcp/register-tools.js +53 -52
- package/dist/mcp/server.js +54 -53
- package/dist/mcp/tools/complete-reminder.js +5 -4
- package/dist/mcp/tools/create-reminder.js +5 -4
- package/dist/mcp/tools/create-task.js +13 -12
- package/dist/mcp/tools/deactivate-behavior.js +6 -5
- package/dist/mcp/tools/list-reminders.js +5 -4
- package/dist/mcp/tools/list-tasks.js +13 -12
- package/dist/mcp/tools/send-message.js +12 -11
- package/dist/mcp/tools/update-task.js +12 -11
- package/dist/{mcp-http-config-VUDZ3D5D.js → mcp-http-config-FCZ2PEII.js} +4 -3
- package/dist/{memory-cards-ZOOPC2WF.js → memory-cards-TJZLRDWR.js} +3 -2
- package/dist/{memory-graph-extractor-RRQMUBMI.js → memory-graph-extractor-3ATFPJLO.js} +4 -3
- package/dist/{memory-poisoning-defense-UQMNLG6H.js → memory-poisoning-defense-LIC5NC4K.js} +3 -2
- package/dist/{memory-reflection-GSGXAGXV.js → memory-reflection-6MU7R3DN.js} +3 -2
- package/dist/{notifications-ZKGLZVCU.js → notifications-LZCKZCKO.js} +9 -8
- package/dist/{orchestration-events-7RMWC5SS.js → orchestration-events-UYG5H5H2.js} +4 -3
- package/dist/{orchestrator-A6MX2OHA.js → orchestrator-QZUORE32.js} +11 -10
- package/dist/{pipeline-router-6ZBYJD2U.js → pipeline-router-6FOAXJVU.js} +4 -3
- package/dist/{plan-limits-4XH4A7IA.js → plan-limits-4VH65ER2.js} +4 -3
- package/dist/{projection-worker-YKKBNQZT.js → projection-worker-ONHS43GB.js} +1 -1
- package/dist/{reranker-DN2A3H6O.js → reranker-ECLOD4L4.js} +1 -1
- package/dist/{review-polling-PK3CY4NI.js → review-polling-7T6563KJ.js} +10 -9
- package/dist/runtime/index.js +12 -11
- package/dist/{session-events-IYU6FYHH.js → session-events-ZFTVNZBL.js} +10 -9
- package/dist/{session-kill-telemetry-G2VV4CAH.js → session-kill-telemetry-25WZZQYL.js} +4 -3
- package/dist/{session-scope-DHTVH3D4.js → session-scope-F4OLNMZ2.js} +9 -8
- package/dist/{setup-wizard-IA5ISHQ2.js → setup-wizard-JDPINSTR.js} +1 -1
- package/dist/{shard-manager-VGA2TYHM.js → shard-manager-QP3SFEJV.js} +2 -1
- package/dist/{skill-refinement-6PBAFLWP.js → skill-refinement-7BM2GCAA.js} +3 -2
- package/dist/{steward-gate-EQV6CZKY.js → steward-gate-GQCGOIOX.js} +4 -3
- package/dist/{task-enforcement-2LS5DOXK.js → task-enforcement-74KNQ4IU.js} +9 -8
- package/dist/{task-scope-AKF3CSWO.js → task-scope-BAWS6CBW.js} +9 -8
- package/dist/{tasks-crud-KOIA5SAH.js → tasks-crud-FD5V35IK.js} +9 -8
- package/dist/{tasks-notify-7ZTE4ZQM.js → tasks-notify-CKJJLYJX.js} +10 -9
- package/dist/{tasks-review-VMMMAK2Y.js → tasks-review-GW3O3AMD.js} +9 -8
- package/dist/{telemetry-upload-YLW4NAUF.js → telemetry-upload-2KEEOMCA.js} +6 -5
- package/dist/{token-budget-NA4OLFNP.js → token-budget-OUGKW6MP.js} +3 -2
- package/dist/{tool-telemetry-OVI5KL4S.js → tool-telemetry-VMM5A5J5.js} +1 -1
- package/dist/tui/App.js +17 -16
- package/dist/{tui-data-5NT24CC5.js → tui-data-4FK3MUPG.js} +9 -8
- package/dist/{worker-gate-AQLJUQ5G.js → worker-gate-2TOOKLPC.js} +1 -1
- package/dist/{workflow-engine-TRGGUNIZ.js → workflow-engine-YRVJEBYW.js} +2 -2
- package/dist/{worktree-NK7GZNEA.js → worktree-6QLBISCO.js} +5 -4
- package/dist/{worktree-sweep-5XVZCH6A.js → worktree-sweep-IDXJ3WQM.js} +6 -5
- package/package.json +1 -1
- package/release-notes.json +28 -26
- /package/dist/{chunk-QUC27OCW.js → chunk-2DCXCU7M.js} +0 -0
- /package/dist/{chunk-EYLQRPHF.js → chunk-A5N6N7TD.js} +0 -0
- /package/dist/{chunk-WMZTSHNX.js → chunk-ACBEUQR2.js} +0 -0
- /package/dist/{chunk-H6QJT5O5.js → chunk-AU64ZSNH.js} +0 -0
- /package/dist/{chunk-J5CAYOJU.js → chunk-E7SHKUAE.js} +0 -0
- /package/dist/{chunk-RFJESVEL.js → chunk-GMUZHA5J.js} +0 -0
- /package/dist/{chunk-3GHTBVZO.js → chunk-JG76N7JE.js} +0 -0
- /package/dist/{chunk-2H3FVAN3.js → chunk-P2XNRKEL.js} +0 -0
- /package/dist/{chunk-BRSI3FD6.js → chunk-PISNYNHN.js} +0 -0
- /package/dist/{chunk-UOOCGJUE.js → chunk-PNWAZ4EA.js} +0 -0
- /package/dist/{core-memory-VZFTGOFE.js → core-memory-DQGGTOZH.js} +0 -0
- /package/dist/{project-boot-7ZEIDWUG.js → project-boot-UNRIMZNN.js} +0 -0
- /package/dist/{wiki-acl-UCPOROPR.js → wiki-acl-INCE6DGN.js} +0 -0
package/dist/hooks/ingest.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerWorkerPid,
|
|
3
3
|
tryAcquireWorkerSlot
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-45W7EDXB.js";
|
|
5
5
|
import {
|
|
6
6
|
classifyError,
|
|
7
7
|
detectError,
|
|
@@ -15,7 +15,7 @@ import "../chunk-YSU7JB7H.js";
|
|
|
15
15
|
import "../chunk-SH45SJQW.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-YG7PIB2R.js";
|
|
19
19
|
import {
|
|
20
20
|
getSessionKey
|
|
21
21
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -23,8 +23,9 @@ import "../chunk-GJV3WDWM.js";
|
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
getCoordinatorName
|
|
26
|
-
} from "../chunk-
|
|
27
|
-
import "../chunk-
|
|
26
|
+
} from "../chunk-QQZMP6QL.js";
|
|
27
|
+
import "../chunk-2I23RPSI.js";
|
|
28
|
+
import "../chunk-ACBEUQR2.js";
|
|
28
29
|
import "../chunk-FXU7JOXK.js";
|
|
29
30
|
import {
|
|
30
31
|
EXE_AI_DIR,
|
|
@@ -114,7 +115,7 @@ process.stdin.on("end", async () => {
|
|
|
114
115
|
if (filePath) {
|
|
115
116
|
const { initStore } = await import("../lib/store.js");
|
|
116
117
|
await initStore({ lightweight: true });
|
|
117
|
-
const { recordFileRead } = await import("../git-staleness-
|
|
118
|
+
const { recordFileRead } = await import("../git-staleness-DIQ7RU3N.js");
|
|
118
119
|
await recordFileRead(
|
|
119
120
|
data.session_id,
|
|
120
121
|
agent.agentId,
|
|
@@ -320,7 +321,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
320
321
|
if (taskData.taskId) {
|
|
321
322
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
322
323
|
await cpInit();
|
|
323
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
324
|
+
const { writeCheckpoint } = await import("../tasks-crud-FD5V35IK.js");
|
|
324
325
|
await writeCheckpoint({
|
|
325
326
|
taskId: taskData.taskId,
|
|
326
327
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YG7PIB2R.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
7
|
import {
|
|
8
8
|
getIdentityInjection
|
|
9
|
-
} from "../chunk-
|
|
10
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-QQZMP6QL.js";
|
|
10
|
+
import "../chunk-2I23RPSI.js";
|
|
11
|
+
import "../chunk-ACBEUQR2.js";
|
|
11
12
|
import "../chunk-FXU7JOXK.js";
|
|
12
13
|
import "../chunk-VXIMSRTO.js";
|
|
13
14
|
import "../chunk-LYH5HE24.js";
|
|
@@ -54,7 +55,7 @@ process.stdin.on("end", async () => {
|
|
|
54
55
|
pass = false;
|
|
55
56
|
}
|
|
56
57
|
try {
|
|
57
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
58
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
58
59
|
await fastDbInit();
|
|
59
60
|
const { getClient } = await import("../lib/database.js");
|
|
60
61
|
const client = getClient();
|
package/dist/hooks/manifest.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 1,
|
|
3
|
-
"generatedAt": "2026-06-
|
|
3
|
+
"generatedAt": "2026-06-10T02:38:20.900Z",
|
|
4
4
|
"hashes": {
|
|
5
|
-
"bug-report-worker.js": "
|
|
6
|
-
"codex-stop-task-finalizer.js": "
|
|
7
|
-
"commit-complete.js": "
|
|
8
|
-
"error-recall.js": "
|
|
9
|
-
"exe-heartbeat-hook.js": "
|
|
5
|
+
"bug-report-worker.js": "5b5c47ed54222e7e9e9099dbe0032076b549d406fd0fad91e4685d345f4d465f",
|
|
6
|
+
"codex-stop-task-finalizer.js": "4470796421e93af8416e83e6822e14acfa72ecc96da6574fbfb38965f2e7d7e6",
|
|
7
|
+
"commit-complete.js": "d6a053e16241909b3ded37c13fa2868bf93f0fe593b5dcc2d7117fd367744861",
|
|
8
|
+
"error-recall.js": "f6e90abf6790b79e314b66f73e82bf88d30c39c3b11d1b8f20bc595422d9b0f1",
|
|
9
|
+
"exe-heartbeat-hook.js": "351dd0a9c4c1f21bf7faa3a5431b0f71f6f55bc629a6503394e1e696a9589b08",
|
|
10
10
|
"ingest-worker.js": "1f6a591f863d5bc540b0e11bb382d3ba13cf761709e4a82313f6f1d9fb9c18e2",
|
|
11
|
-
"ingest.js": "
|
|
12
|
-
"instructions-loaded.js": "
|
|
13
|
-
"notification.js": "
|
|
14
|
-
"post-compact.js": "
|
|
15
|
-
"post-tool-combined.js": "
|
|
16
|
-
"pre-compact.js": "
|
|
17
|
-
"pre-tool-use.js": "
|
|
18
|
-
"prompt-submit.js": "
|
|
19
|
-
"session-end.js": "
|
|
20
|
-
"session-start.js": "
|
|
21
|
-
"stop.js": "
|
|
22
|
-
"subagent-stop.js": "
|
|
23
|
-
"summary-worker.js": "
|
|
11
|
+
"ingest.js": "f040375367df68749331bbf3ea5527b754840f0ed2db621c966abe51b6375890",
|
|
12
|
+
"instructions-loaded.js": "2c750a8a648f1db0d9b92de49605bf4c7c847d86bd11666e464382c89212587d",
|
|
13
|
+
"notification.js": "235bc8a345fc404aed9837033635cb78e79df1538f9f274bc0ebc984f493d8bc",
|
|
14
|
+
"post-compact.js": "9696388c113b730e2169758d376e3d42561f550536b794f26bae911c41bc1537",
|
|
15
|
+
"post-tool-combined.js": "3fbbb2d941e264291567a6da97bb02523c907a0edf742ef6d59b13e5956cd4f8",
|
|
16
|
+
"pre-compact.js": "8e7512e75a0407a5c632ebfb5f23595507c5d8972afcae839462f719ea56a973",
|
|
17
|
+
"pre-tool-use.js": "f50d7d8b341109bf5f927295d9227877b691989fdf3ef04565e7579dfac8a66a",
|
|
18
|
+
"prompt-submit.js": "a57f9ff37c49b2627d40c047a3d5da14bdea4ac70498deab72f2b0f1e74f277c",
|
|
19
|
+
"session-end.js": "b88b3007dadaa427f748154551790648742627ac788a8fa8f76761ad8b45ef90",
|
|
20
|
+
"session-start.js": "3674a4f1ca6aa49f47f17727262961ed9c55c2e217a312c6a269bfdfc9280a71",
|
|
21
|
+
"stop.js": "ab962df8d9b91f04e3eb3708e67300fb0f64cd57c25d814312bc84485c4d00ae",
|
|
22
|
+
"subagent-stop.js": "626924150de92ca5e509066b016950d6ce62d4df5e58a0d0713a4d36705aaefc",
|
|
23
|
+
"summary-worker.js": "dc0ac0448fbec252aacccf8b8a2dfe2e296ee0306e5ce41b1362db2318307b66"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YG7PIB2R.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-QQZMP6QL.js";
|
|
8
|
+
import "../chunk-2I23RPSI.js";
|
|
9
|
+
import "../chunk-ACBEUQR2.js";
|
|
9
10
|
import "../chunk-FXU7JOXK.js";
|
|
10
11
|
import "../chunk-VXIMSRTO.js";
|
|
11
12
|
import "../chunk-LYH5HE24.js";
|
|
@@ -41,7 +42,7 @@ process.stdin.on("end", async () => {
|
|
|
41
42
|
process.exit(0);
|
|
42
43
|
}
|
|
43
44
|
try {
|
|
44
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
45
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
45
46
|
await fastDbInit();
|
|
46
47
|
const { getClient } = await import("../lib/database.js");
|
|
47
48
|
const { randomUUID } = await import("crypto");
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-YG7PIB2R.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-UV4JFYSO.js";
|
|
8
|
+
import "../chunk-PWLX576L.js";
|
|
9
9
|
import "../chunk-5CHYEKMH.js";
|
|
10
10
|
import "../chunk-4JERP7NT.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-3XNYEGA5.js";
|
|
12
12
|
import "../chunk-MVW62NIZ.js";
|
|
13
13
|
import "../chunk-OYNKIAVW.js";
|
|
14
14
|
import "../chunk-CX6GL3ZJ.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-JTADPL6X.js";
|
|
16
16
|
import "../chunk-XJUUWHVN.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-A3T5KDD3.js";
|
|
19
19
|
import "../chunk-CVYC6DUW.js";
|
|
20
20
|
import "../chunk-OPU3NYOO.js";
|
|
21
21
|
import "../chunk-GJV3WDWM.js";
|
|
22
22
|
import "../chunk-MP2AFCGL.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-25NFDJ3N.js";
|
|
24
24
|
import "../chunk-HYZV25LY.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-QQZMP6QL.js";
|
|
26
|
+
import "../chunk-2I23RPSI.js";
|
|
27
|
+
import "../chunk-ACBEUQR2.js";
|
|
27
28
|
import "../chunk-FXU7JOXK.js";
|
|
28
29
|
import "../chunk-MOZ2YQ54.js";
|
|
29
30
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -63,7 +64,7 @@ process.stdin.on("end", async () => {
|
|
|
63
64
|
const identity = getIdentityInjection(agent.agentId);
|
|
64
65
|
if (identity) {
|
|
65
66
|
sections.push(`## Role Re-Injection (post-compaction)
|
|
66
|
-
You are **${agent.agentId}
|
|
67
|
+
You are **${agent.agentId}**. Your identity and responsibilities:
|
|
67
68
|
|
|
68
69
|
${identity}`);
|
|
69
70
|
process.stderr.write(`[post-compact] Re-injecting identity for ${agent.agentId}
|
|
@@ -73,7 +74,7 @@ ${identity}`);
|
|
|
73
74
|
}
|
|
74
75
|
}
|
|
75
76
|
try {
|
|
76
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
77
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
77
78
|
await fastDbInit();
|
|
78
79
|
const { getClient } = await import("../lib/database.js");
|
|
79
80
|
const client = getClient();
|
|
@@ -52,7 +52,7 @@ ${context}`
|
|
|
52
52
|
try {
|
|
53
53
|
const payload = JSON.parse(input);
|
|
54
54
|
const toolName = String(payload.tool_name ?? "");
|
|
55
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
55
|
+
const { getActiveAgent } = await import("../active-agent-QTDTBHBS.js");
|
|
56
56
|
const driftAgent = getActiveAgent();
|
|
57
57
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
58
58
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
@@ -101,7 +101,7 @@ ${context}`
|
|
|
101
101
|
hookSpecificOutput: {
|
|
102
102
|
hookEventName: "PostToolUse",
|
|
103
103
|
additionalContext: `## Scope Reminder
|
|
104
|
-
You are **${driftAgent.agentId}
|
|
104
|
+
You are **${driftAgent.agentId}**. You've used ${mismatches.length} tools outside your expected scope: ${mismatches.slice(-3).join(", ")}. Stay within your role. If this work was delegated to you, continue \u2014 otherwise, route it to the appropriate team member.`
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
}
|
|
@@ -111,7 +111,7 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
111
111
|
}
|
|
112
112
|
try {
|
|
113
113
|
const payload = JSON.parse(input);
|
|
114
|
-
const { getActiveAgent: getInvAgent } = await import("../active-agent-
|
|
114
|
+
const { getActiveAgent: getInvAgent } = await import("../active-agent-QTDTBHBS.js");
|
|
115
115
|
const invAgent = getInvAgent();
|
|
116
116
|
const { trackToolResult } = await import("../investigation-tracker-WSCY4XBP.js");
|
|
117
117
|
trackToolResult({
|
|
@@ -128,12 +128,12 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
128
128
|
}
|
|
129
129
|
try {
|
|
130
130
|
const data = JSON.parse(input);
|
|
131
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
131
|
+
const { getActiveAgent } = await import("../active-agent-QTDTBHBS.js");
|
|
132
132
|
const { detectError } = await import("../lib/error-detector.js");
|
|
133
133
|
const agent = getActiveAgent();
|
|
134
134
|
try {
|
|
135
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
136
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
135
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
136
|
+
const { recordSessionEvent } = await import("../session-events-ZFTVNZBL.js");
|
|
137
137
|
const client = await fastDbInit();
|
|
138
138
|
const toolName = String(data.tool_name ?? "unknown");
|
|
139
139
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkpointActiveTask,
|
|
3
3
|
writeContinuityCheckpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-2DCXCU7M.js";
|
|
5
5
|
import "../chunk-Q3GLQDZI.js";
|
|
6
6
|
import "../chunk-MEIHREPM.js";
|
|
7
7
|
import "../chunk-Z2AEOVEZ.js";
|
|
@@ -9,31 +9,32 @@ import "../chunk-7IZWLMTP.js";
|
|
|
9
9
|
import "../chunk-SH45SJQW.js";
|
|
10
10
|
import {
|
|
11
11
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-YG7PIB2R.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-UV4JFYSO.js";
|
|
16
|
+
import "../chunk-PWLX576L.js";
|
|
17
17
|
import "../chunk-5CHYEKMH.js";
|
|
18
18
|
import "../chunk-4JERP7NT.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-3XNYEGA5.js";
|
|
20
20
|
import "../chunk-MVW62NIZ.js";
|
|
21
21
|
import "../chunk-OYNKIAVW.js";
|
|
22
22
|
import "../chunk-CX6GL3ZJ.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-JTADPL6X.js";
|
|
24
24
|
import "../chunk-XJUUWHVN.js";
|
|
25
25
|
import "../chunk-NGP6LSV2.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-A3T5KDD3.js";
|
|
27
27
|
import "../chunk-CVYC6DUW.js";
|
|
28
28
|
import "../chunk-OPU3NYOO.js";
|
|
29
29
|
import "../chunk-GJV3WDWM.js";
|
|
30
30
|
import "../chunk-MP2AFCGL.js";
|
|
31
31
|
import "../chunk-3XX3CDKF.js";
|
|
32
32
|
import "../chunk-PWMMIGVQ.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-25NFDJ3N.js";
|
|
34
34
|
import "../chunk-HYZV25LY.js";
|
|
35
|
-
import "../chunk-
|
|
36
|
-
import "../chunk-
|
|
35
|
+
import "../chunk-QQZMP6QL.js";
|
|
36
|
+
import "../chunk-2I23RPSI.js";
|
|
37
|
+
import "../chunk-ACBEUQR2.js";
|
|
37
38
|
import "../chunk-FXU7JOXK.js";
|
|
38
39
|
import "../chunk-MOZ2YQ54.js";
|
|
39
40
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -67,7 +68,7 @@ process.stdin.on("end", async () => {
|
|
|
67
68
|
const agent = getActiveAgent();
|
|
68
69
|
const sections = [];
|
|
69
70
|
try {
|
|
70
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
71
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
71
72
|
const client = await fastDbInit();
|
|
72
73
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
73
74
|
const pcScope = sessionScopeFilter();
|
|
@@ -2,34 +2,35 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-YG7PIB2R.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
8
|
+
} from "../chunk-UV4JFYSO.js";
|
|
9
|
+
import "../chunk-PWLX576L.js";
|
|
10
10
|
import "../chunk-5CHYEKMH.js";
|
|
11
11
|
import "../chunk-4JERP7NT.js";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-3XNYEGA5.js";
|
|
13
13
|
import "../chunk-MVW62NIZ.js";
|
|
14
14
|
import "../chunk-OYNKIAVW.js";
|
|
15
15
|
import "../chunk-CX6GL3ZJ.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-JTADPL6X.js";
|
|
17
17
|
import "../chunk-XJUUWHVN.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-A3T5KDD3.js";
|
|
20
20
|
import {
|
|
21
21
|
getSessionKey
|
|
22
22
|
} from "../chunk-CVYC6DUW.js";
|
|
23
23
|
import "../chunk-OPU3NYOO.js";
|
|
24
24
|
import "../chunk-GJV3WDWM.js";
|
|
25
25
|
import "../chunk-MP2AFCGL.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-25NFDJ3N.js";
|
|
27
27
|
import "../chunk-HYZV25LY.js";
|
|
28
28
|
import {
|
|
29
29
|
canCoordinate,
|
|
30
30
|
loadEmployeesSync
|
|
31
|
-
} from "../chunk-
|
|
32
|
-
import "../chunk-
|
|
31
|
+
} from "../chunk-QQZMP6QL.js";
|
|
32
|
+
import "../chunk-2I23RPSI.js";
|
|
33
|
+
import "../chunk-ACBEUQR2.js";
|
|
33
34
|
import "../chunk-FXU7JOXK.js";
|
|
34
35
|
import "../chunk-MOZ2YQ54.js";
|
|
35
36
|
import {
|
|
@@ -316,15 +317,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
316
317
|
process.exit(0);
|
|
317
318
|
}
|
|
318
319
|
}
|
|
319
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
320
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-YQPV3UUU.js");
|
|
320
321
|
const gatedAgent = getGatedAgent();
|
|
321
322
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
322
323
|
const filePath = data.tool_input?.file_path ?? "";
|
|
323
324
|
if (filePath) {
|
|
324
325
|
try {
|
|
325
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
326
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
326
327
|
await fastDbInit();
|
|
327
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
328
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-YQPV3UUU.js");
|
|
328
329
|
const decision = await evaluateDelegationGate({
|
|
329
330
|
agentId: agent.agentId,
|
|
330
331
|
toolName: data.tool_name,
|
|
@@ -370,7 +371,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
370
371
|
const isUpdateTaskDone = (data.tool_name === "mcp__exe-os__update_task" || data.tool_name === "mcp__exe-mem__update_task") && toolInput.status === "done" && CTO_ROLES.includes(agent.agentRole);
|
|
371
372
|
if (isUpdateTaskDone) {
|
|
372
373
|
try {
|
|
373
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
374
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
374
375
|
const client = await fastDbInit();
|
|
375
376
|
const taskId = String(toolInput.task_id ?? "");
|
|
376
377
|
const ptScope = sessionScopeFilter();
|
|
@@ -428,7 +429,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
428
429
|
}
|
|
429
430
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
430
431
|
try {
|
|
431
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
432
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
432
433
|
const client = await fastDbInit();
|
|
433
434
|
const dlScope = sessionScopeFilter();
|
|
434
435
|
const result = await client.execute({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hybridSearch,
|
|
3
3
|
lightweightSearch
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-N2MMYJLT.js";
|
|
5
5
|
import {
|
|
6
6
|
initStore
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-6YHVX54O.js";
|
|
8
8
|
import "../chunk-CHCA3ZM2.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-P2XNRKEL.js";
|
|
10
10
|
import {
|
|
11
11
|
isCacheCold
|
|
12
12
|
} from "../chunk-6A7P74QV.js";
|
|
@@ -14,23 +14,23 @@ import "../chunk-YSU7JB7H.js";
|
|
|
14
14
|
import "../chunk-SH45SJQW.js";
|
|
15
15
|
import {
|
|
16
16
|
getActiveAgent
|
|
17
|
-
} from "../chunk-
|
|
17
|
+
} from "../chunk-YG7PIB2R.js";
|
|
18
18
|
import "../chunk-Y25OJWOQ.js";
|
|
19
19
|
import {
|
|
20
20
|
formatIntercomPrompt,
|
|
21
21
|
isExeSession
|
|
22
|
-
} from "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
} from "../chunk-UV4JFYSO.js";
|
|
23
|
+
import "../chunk-PWLX576L.js";
|
|
24
24
|
import "../chunk-5CHYEKMH.js";
|
|
25
25
|
import "../chunk-4JERP7NT.js";
|
|
26
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-3XNYEGA5.js";
|
|
27
27
|
import "../chunk-MVW62NIZ.js";
|
|
28
28
|
import "../chunk-OYNKIAVW.js";
|
|
29
29
|
import "../chunk-CX6GL3ZJ.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-JTADPL6X.js";
|
|
31
31
|
import "../chunk-XJUUWHVN.js";
|
|
32
32
|
import "../chunk-NGP6LSV2.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-A3T5KDD3.js";
|
|
34
34
|
import {
|
|
35
35
|
getSessionKey
|
|
36
36
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -39,12 +39,13 @@ import {
|
|
|
39
39
|
} from "../chunk-OPU3NYOO.js";
|
|
40
40
|
import "../chunk-GJV3WDWM.js";
|
|
41
41
|
import "../chunk-MP2AFCGL.js";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-25NFDJ3N.js";
|
|
43
43
|
import "../chunk-HYZV25LY.js";
|
|
44
44
|
import {
|
|
45
45
|
canCoordinate
|
|
46
|
-
} from "../chunk-
|
|
47
|
-
import "../chunk-
|
|
46
|
+
} from "../chunk-QQZMP6QL.js";
|
|
47
|
+
import "../chunk-2I23RPSI.js";
|
|
48
|
+
import "../chunk-ACBEUQR2.js";
|
|
48
49
|
import "../chunk-FXU7JOXK.js";
|
|
49
50
|
import "../chunk-K333WOW4.js";
|
|
50
51
|
import "../chunk-MOZ2YQ54.js";
|
|
@@ -327,7 +328,7 @@ ${fresh.map(
|
|
|
327
328
|
atomicWriteSync(counterPath, String(count));
|
|
328
329
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
329
330
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
330
|
-
const { listBehaviors } = await import("../behaviors-
|
|
331
|
+
const { listBehaviors } = await import("../behaviors-RAIPSWGY.js");
|
|
331
332
|
const behaviors = await listBehaviors(agent.agentId);
|
|
332
333
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
333
334
|
if (active.length > 0) {
|
|
@@ -352,7 +353,7 @@ ${lines.join("\n")}`;
|
|
|
352
353
|
if (!lastCheckedAt) {
|
|
353
354
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
354
355
|
}
|
|
355
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
356
|
+
const { listBehaviorsSince } = await import("../behaviors-RAIPSWGY.js");
|
|
356
357
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
357
358
|
if (newBehaviors.length > 0) {
|
|
358
359
|
const lines = newBehaviors.map(
|
|
@@ -394,7 +395,7 @@ ${lines.join("\n")}`;
|
|
|
394
395
|
if (body.length > 0) {
|
|
395
396
|
identityContext = `
|
|
396
397
|
## Role Reminder
|
|
397
|
-
You are **${agent.agentId}
|
|
398
|
+
You are **${agent.agentId}**. Stay in character.
|
|
398
399
|
${body}`;
|
|
399
400
|
}
|
|
400
401
|
}
|
|
@@ -405,7 +406,7 @@ ${body}`;
|
|
|
405
406
|
let reviewContext = "";
|
|
406
407
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
407
408
|
try {
|
|
408
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
409
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-GW3O3AMD.js");
|
|
409
410
|
const sessionKey = getSessionKey();
|
|
410
411
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
411
412
|
let sessionScope;
|
|
@@ -462,7 +463,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
462
463
|
let coreMemoryContext = "";
|
|
463
464
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
464
465
|
try {
|
|
465
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
466
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-DQGGTOZH.js");
|
|
466
467
|
const entries = await getCoreMemory(agent.agentId);
|
|
467
468
|
const block = formatCoreMemoryBlock(entries);
|
|
468
469
|
if (block) coreMemoryContext = block;
|
|
@@ -530,7 +531,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
530
531
|
} catch {
|
|
531
532
|
}
|
|
532
533
|
try {
|
|
533
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-
|
|
534
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("../orchestration-events-UYG5H5H2.js");
|
|
534
535
|
recordOE({
|
|
535
536
|
eventType: "signal.consumed",
|
|
536
537
|
source: "prompt-submit.hook",
|
|
@@ -559,7 +560,6 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
559
560
|
const scopedDir = path.join(signalBase, reviewSessionScope);
|
|
560
561
|
if (existsSync(scopedDir)) reviewDirs.push(scopedDir);
|
|
561
562
|
}
|
|
562
|
-
if (existsSync(signalBase)) reviewDirs.push(signalBase);
|
|
563
563
|
for (const dir of reviewDirs) {
|
|
564
564
|
try {
|
|
565
565
|
const { readdirSync } = await import("fs");
|
|
@@ -600,7 +600,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
600
600
|
let idleTaskContext = "";
|
|
601
601
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
602
602
|
try {
|
|
603
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
603
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
604
604
|
const client = await fastDbInit();
|
|
605
605
|
let taskSessionScope = null;
|
|
606
606
|
if (inTmux) {
|
|
@@ -693,8 +693,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
693
693
|
return;
|
|
694
694
|
}
|
|
695
695
|
try {
|
|
696
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
697
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
696
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
697
|
+
const { recordSessionEvent } = await import("../session-events-ZFTVNZBL.js");
|
|
698
698
|
const client = await fastDbInit();
|
|
699
699
|
await recordSessionEvent(client, {
|
|
700
700
|
agentId: agent.agentId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writeContinuityCheckpoint
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-2DCXCU7M.js";
|
|
4
4
|
import "../chunk-Q3GLQDZI.js";
|
|
5
5
|
import "../chunk-MEIHREPM.js";
|
|
6
6
|
import "../chunk-Z2AEOVEZ.js";
|
|
@@ -13,21 +13,21 @@ import "../chunk-SH45SJQW.js";
|
|
|
13
13
|
import {
|
|
14
14
|
clearActiveAgent,
|
|
15
15
|
getActiveAgent
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-YG7PIB2R.js";
|
|
17
17
|
import {
|
|
18
18
|
strictSessionScopeFilter
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-UV4JFYSO.js";
|
|
20
|
+
import "../chunk-PWLX576L.js";
|
|
21
21
|
import "../chunk-5CHYEKMH.js";
|
|
22
22
|
import "../chunk-4JERP7NT.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-3XNYEGA5.js";
|
|
24
24
|
import "../chunk-MVW62NIZ.js";
|
|
25
25
|
import "../chunk-OYNKIAVW.js";
|
|
26
26
|
import "../chunk-CX6GL3ZJ.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-JTADPL6X.js";
|
|
28
28
|
import "../chunk-XJUUWHVN.js";
|
|
29
29
|
import "../chunk-NGP6LSV2.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-A3T5KDD3.js";
|
|
31
31
|
import {
|
|
32
32
|
getSessionKey
|
|
33
33
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -36,12 +36,13 @@ import "../chunk-GJV3WDWM.js";
|
|
|
36
36
|
import "../chunk-MP2AFCGL.js";
|
|
37
37
|
import "../chunk-3XX3CDKF.js";
|
|
38
38
|
import "../chunk-PWMMIGVQ.js";
|
|
39
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-25NFDJ3N.js";
|
|
40
40
|
import "../chunk-HYZV25LY.js";
|
|
41
41
|
import {
|
|
42
42
|
canCoordinate
|
|
43
|
-
} from "../chunk-
|
|
44
|
-
import "../chunk-
|
|
43
|
+
} from "../chunk-QQZMP6QL.js";
|
|
44
|
+
import "../chunk-2I23RPSI.js";
|
|
45
|
+
import "../chunk-ACBEUQR2.js";
|
|
45
46
|
import "../chunk-FXU7JOXK.js";
|
|
46
47
|
import "../chunk-MOZ2YQ54.js";
|
|
47
48
|
import "../chunk-VXIMSRTO.js";
|
|
@@ -239,7 +240,7 @@ process.stdin.on("end", async () => {
|
|
|
239
240
|
process.stderr.write(`[session-end] EXIT: ${agent.agentId} session=${Math.round((transcript.sessionDurationMs ?? 0) / 1e3)}s hook=${Math.round(hookUptimeMs / 1e3)}s \u2014 reason=${exitReason} daemon=${daemonAlive ? "alive" : "DEAD"}
|
|
240
241
|
`);
|
|
241
242
|
try {
|
|
242
|
-
const { recordOrchestrationEvent } = await import("../orchestration-events-
|
|
243
|
+
const { recordOrchestrationEvent } = await import("../orchestration-events-UYG5H5H2.js");
|
|
243
244
|
await recordOrchestrationEvent({
|
|
244
245
|
eventType: "session.exit",
|
|
245
246
|
source: "hooks.session-end",
|
|
@@ -264,7 +265,7 @@ process.stdin.on("end", async () => {
|
|
|
264
265
|
}
|
|
265
266
|
if (agent.agentId) {
|
|
266
267
|
try {
|
|
267
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
268
|
+
const { fastDbInit } = await import("../fast-db-init-Q2B2YPUR.js");
|
|
268
269
|
const client = await fastDbInit();
|
|
269
270
|
const seScope = strictSessionScopeFilter();
|
|
270
271
|
const orphanResult = await client.execute({
|
|
@@ -356,12 +357,12 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
356
357
|
}
|
|
357
358
|
}
|
|
358
359
|
try {
|
|
359
|
-
const { clearSessionFileReads } = await import("../git-staleness-
|
|
360
|
+
const { clearSessionFileReads } = await import("../git-staleness-DIQ7RU3N.js");
|
|
360
361
|
await clearSessionFileReads(data.session_id);
|
|
361
362
|
} catch {
|
|
362
363
|
}
|
|
363
364
|
try {
|
|
364
|
-
const { DreamingEngine } = await import("../dreaming-
|
|
365
|
+
const { DreamingEngine } = await import("../dreaming-JYALVJ25.js");
|
|
365
366
|
const engine = new DreamingEngine();
|
|
366
367
|
const dreamResult = await engine.runDreamCycle(agent.agentId);
|
|
367
368
|
let promoted = 0;
|
|
@@ -435,7 +436,7 @@ Orphaned tasks at session end: ${orphanResult.rows.map((r) => `"${String(r.title
|
|
|
435
436
|
parts.push(`Left in_progress (no matching commits, needs triage): ${leftInProgress.join(", ")}`);
|
|
436
437
|
}
|
|
437
438
|
try {
|
|
438
|
-
const { writeNotification } = await import("../notifications-
|
|
439
|
+
const { writeNotification } = await import("../notifications-LZCKZCKO.js");
|
|
439
440
|
await writeNotification({
|
|
440
441
|
agentId: agent.agentId,
|
|
441
442
|
agentRole: agent.agentRole,
|