@askexenow/exe-os 0.9.260 → 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/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-AXA4DAQI.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-R4EZGQWL.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-SLF7JRLG.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 +34 -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-CE3XG56J.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 +15 -12
- /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-VJXVTH3Q.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
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-N2MMYJLT.js";
|
|
4
|
+
import "./chunk-6YHVX54O.js";
|
|
5
5
|
import "./chunk-CHCA3ZM2.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-P2XNRKEL.js";
|
|
7
7
|
import "./chunk-Y25OJWOQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sessionScopeFilter,
|
|
10
10
|
strictSessionScopeFilter
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-UV4JFYSO.js";
|
|
12
|
+
import "./chunk-PWLX576L.js";
|
|
13
13
|
import "./chunk-5CHYEKMH.js";
|
|
14
14
|
import "./chunk-4JERP7NT.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-3XNYEGA5.js";
|
|
16
16
|
import "./chunk-MVW62NIZ.js";
|
|
17
17
|
import "./chunk-OYNKIAVW.js";
|
|
18
18
|
import "./chunk-CX6GL3ZJ.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-JTADPL6X.js";
|
|
20
20
|
import "./chunk-XJUUWHVN.js";
|
|
21
21
|
import "./chunk-NGP6LSV2.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-A3T5KDD3.js";
|
|
23
23
|
import "./chunk-CVYC6DUW.js";
|
|
24
24
|
import "./chunk-OPU3NYOO.js";
|
|
25
25
|
import "./chunk-GJV3WDWM.js";
|
|
26
26
|
import "./chunk-MP2AFCGL.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-25NFDJ3N.js";
|
|
28
28
|
import "./chunk-HYZV25LY.js";
|
|
29
29
|
import {
|
|
30
30
|
getClient
|
|
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-K333WOW4.js";
|
|
35
36
|
import "./chunk-MOZ2YQ54.js";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/lib/db-path-guard.ts
|
|
2
|
+
function assertValidDbPath(dbPath, caller) {
|
|
3
|
+
if (typeof dbPath !== "string" || dbPath.trim().length === 0) {
|
|
4
|
+
throw new Error(`${caller}: dbPath is required; refusing to open SQLite at an empty/undefined path`);
|
|
5
|
+
}
|
|
6
|
+
const trimmed = dbPath.trim();
|
|
7
|
+
if (trimmed === "undefined" || trimmed === "null" || trimmed === "file:undefined" || trimmed === "file:null") {
|
|
8
|
+
throw new Error(`${caller}: dbPath is ${JSON.stringify(trimmed)}; refusing to create stray SQLite files`);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export {
|
|
13
|
+
assertValidDbPath
|
|
14
|
+
};
|
|
@@ -111,7 +111,7 @@ function releaseBackfillLock() {
|
|
|
111
111
|
}
|
|
112
112
|
async function getTaskAwareCapacity() {
|
|
113
113
|
const { getClient } = await import("./lib/database.js");
|
|
114
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
114
|
+
const { sessionScopeFilter } = await import("./task-scope-BAWS6CBW.js");
|
|
115
115
|
const client = getClient();
|
|
116
116
|
const scope = sessionScopeFilter();
|
|
117
117
|
const result = await client.execute({
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
findScopedDuplicate,
|
|
7
7
|
governMemoryRecord,
|
|
8
8
|
schedulePostWriteMemoryHygiene
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-P2XNRKEL.js";
|
|
10
10
|
import {
|
|
11
11
|
orgBus
|
|
12
12
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
ensureSchema,
|
|
16
16
|
getClient,
|
|
17
17
|
initTurso
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QQZMP6QL.js";
|
|
19
19
|
import {
|
|
20
20
|
EMBEDDING_DIM
|
|
21
21
|
} from "./chunk-FXU7JOXK.js";
|
|
@@ -65,7 +65,7 @@ function recordShardFailure(project, error) {
|
|
|
65
65
|
`[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
|
|
66
66
|
`
|
|
67
67
|
);
|
|
68
|
-
void import("./orchestration-events-
|
|
68
|
+
void import("./orchestration-events-UYG5H5H2.js").then(({ recordOrchestrationEventBestEffort }) => {
|
|
69
69
|
recordOrchestrationEventBestEffort({
|
|
70
70
|
eventType: "shard.circuit_open",
|
|
71
71
|
source: "store.recordShardFailure",
|
|
@@ -149,7 +149,7 @@ async function initStore(options) {
|
|
|
149
149
|
if (!options?.lightweight) {
|
|
150
150
|
try {
|
|
151
151
|
if (process.env.EXE_DISABLE_SHARDING !== "1") {
|
|
152
|
-
const { initShardManager } = await import("./shard-manager-
|
|
152
|
+
const { initShardManager } = await import("./shard-manager-QP3SFEJV.js");
|
|
153
153
|
initShardManager(hexKey);
|
|
154
154
|
}
|
|
155
155
|
} catch (e) {
|
|
@@ -162,7 +162,7 @@ async function initStore(options) {
|
|
|
162
162
|
);
|
|
163
163
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
164
164
|
try {
|
|
165
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
165
|
+
const { loadGlobalProcedures } = await import("./global-procedures-JNJ4NWV5.js");
|
|
166
166
|
await loadGlobalProcedures();
|
|
167
167
|
} catch (e) {
|
|
168
168
|
logStoreWarn("catch", e);
|
|
@@ -290,7 +290,7 @@ async function writeMemory(record) {
|
|
|
290
290
|
founder_id: record.founder_id ?? null
|
|
291
291
|
};
|
|
292
292
|
try {
|
|
293
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
293
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-LIC5NC4K.js");
|
|
294
294
|
const poisonResult = await checkMemoryPoisoning({
|
|
295
295
|
memoryId: dbRow.id,
|
|
296
296
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -478,19 +478,19 @@ async function flushBatch() {
|
|
|
478
478
|
}
|
|
479
479
|
_nextVersion = baseVersion;
|
|
480
480
|
try {
|
|
481
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
481
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-TJZLRDWR.js");
|
|
482
482
|
await insertMemoryCardsForBatch(batch);
|
|
483
483
|
} catch (e) {
|
|
484
484
|
logStoreWarn("catch", e);
|
|
485
485
|
}
|
|
486
486
|
try {
|
|
487
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
487
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-BBC62LK2.js");
|
|
488
488
|
await insertOntologyForBatch(batch);
|
|
489
489
|
} catch (e) {
|
|
490
490
|
logStoreWarn("catch", e);
|
|
491
491
|
}
|
|
492
492
|
try {
|
|
493
|
-
const { extractGraphForBatch } = await import("./memory-graph-extractor-
|
|
493
|
+
const { extractGraphForBatch } = await import("./memory-graph-extractor-3ATFPJLO.js");
|
|
494
494
|
await extractGraphForBatch(batch);
|
|
495
495
|
} catch (e) {
|
|
496
496
|
logStoreWarn("catch", e);
|
|
@@ -498,7 +498,7 @@ async function flushBatch() {
|
|
|
498
498
|
schedulePostWriteMemoryHygiene(batch.map((row) => row.id));
|
|
499
499
|
_pendingRecords.splice(0, batch.length);
|
|
500
500
|
try {
|
|
501
|
-
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-
|
|
501
|
+
const { isShardingEnabled, getReadyShardClient } = await import("./shard-manager-QP3SFEJV.js");
|
|
502
502
|
if (process.env.EXE_DISABLE_SHARDING !== "1" && isShardingEnabled()) {
|
|
503
503
|
const byProject = /* @__PURE__ */ new Map();
|
|
504
504
|
let skippedUnknown = 0;
|
|
@@ -575,7 +575,7 @@ function buildRawVisibilityFilter(options, columnPrefix) {
|
|
|
575
575
|
async function searchMemories(queryVector, agentId, options) {
|
|
576
576
|
let client;
|
|
577
577
|
try {
|
|
578
|
-
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-
|
|
578
|
+
const { isShardingEnabled, shardExists, getReadyShardClient } = await import("./shard-manager-QP3SFEJV.js");
|
|
579
579
|
if (isShardingEnabled() && options?.projectName && shardExists(options.projectName)) {
|
|
580
580
|
client = await getReadyShardClient(options.projectName);
|
|
581
581
|
} else {
|
|
@@ -589,7 +589,7 @@ function auditHookOwnership() {
|
|
|
589
589
|
}
|
|
590
590
|
async function auditShards() {
|
|
591
591
|
try {
|
|
592
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
592
|
+
const { auditShardHealth } = await import("./shard-manager-QP3SFEJV.js");
|
|
593
593
|
const report = await auditShardHealth();
|
|
594
594
|
return {
|
|
595
595
|
total: report.total,
|
|
@@ -859,7 +859,7 @@ function formatReport(report, flags) {
|
|
|
859
859
|
return lines.join("\n");
|
|
860
860
|
}
|
|
861
861
|
async function fixNullVectors() {
|
|
862
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
862
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-2TOOKLPC.js");
|
|
863
863
|
if (!tryAcquireWorkerSlot()) {
|
|
864
864
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
865
865
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -943,7 +943,7 @@ async function fixBloated(client, bloated, dryRun) {
|
|
|
943
943
|
return chunksCreated;
|
|
944
944
|
}
|
|
945
945
|
async function fixShards(dryRun) {
|
|
946
|
-
const { auditShardHealth } = await import("./shard-manager-
|
|
946
|
+
const { auditShardHealth } = await import("./shard-manager-QP3SFEJV.js");
|
|
947
947
|
const report = await auditShardHealth({ repair: true, dryRun });
|
|
948
948
|
return {
|
|
949
949
|
total: report.total,
|
|
@@ -982,7 +982,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
982
982
|
}
|
|
983
983
|
async function main(argv = process.argv.slice(2)) {
|
|
984
984
|
const flags = parseFlags(argv);
|
|
985
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
985
|
+
const { fastDbInit } = await import("./fast-db-init-Q2B2YPUR.js");
|
|
986
986
|
const client = await fastDbInit();
|
|
987
987
|
const report = await runAudit(client, flags);
|
|
988
988
|
console.log(formatReport(report, flags));
|
|
@@ -993,7 +993,7 @@ ${mode} Applying repairs...
|
|
|
993
993
|
`);
|
|
994
994
|
if (!flags.dryRun) {
|
|
995
995
|
try {
|
|
996
|
-
const { createBackup } = await import("./db-backup-
|
|
996
|
+
const { createBackup } = await import("./db-backup-ZFDOADMZ.js");
|
|
997
997
|
const backupPath = await createBackup("pre-fix");
|
|
998
998
|
if (backupPath) {
|
|
999
999
|
console.log(` Backup created: ${backupPath.split("/").pop()}`);
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
listWorkflowDefinitions,
|
|
3
3
|
runWorkflow,
|
|
4
4
|
startWorkflow
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FO5FP2J3.js";
|
|
6
6
|
import {
|
|
7
7
|
ingest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IW3SDPTM.js";
|
|
9
9
|
import {
|
|
10
10
|
initCRMBridge
|
|
11
11
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UV4JFYSO.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -178,7 +178,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
178
178
|
}
|
|
179
179
|
if (!dryRun) {
|
|
180
180
|
try {
|
|
181
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
181
|
+
const { updateTaskStatus } = await import("./tasks-crud-FD5V35IK.js");
|
|
182
182
|
await updateTaskStatus({
|
|
183
183
|
taskId: task.id,
|
|
184
184
|
status: "needs_review",
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-CTV755VI.js";
|
|
6
6
|
import {
|
|
7
7
|
cleanupReviewFile,
|
|
8
8
|
createTaskCore,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
sessionScopeFilter,
|
|
12
12
|
updateTaskStatus,
|
|
13
13
|
writeNotification
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UV4JFYSO.js";
|
|
15
15
|
import {
|
|
16
16
|
orgBus
|
|
17
17
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
getClient,
|
|
20
20
|
getCoordinatorName,
|
|
21
21
|
isCoordinatorName
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-QQZMP6QL.js";
|
|
23
23
|
import {
|
|
24
24
|
EXE_AI_DIR
|
|
25
25
|
} from "./chunk-VXIMSRTO.js";
|
|
@@ -61,7 +61,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
61
61
|
}
|
|
62
62
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
63
63
|
try {
|
|
64
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
64
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-CKJJLYJX.js");
|
|
65
65
|
const dispatched = /* @__PURE__ */ new Set();
|
|
66
66
|
for (const ur of unblockedRows.rows) {
|
|
67
67
|
const assignee = String(ur.assigned_to);
|
|
@@ -330,7 +330,7 @@ async function updateTask(input) {
|
|
|
330
330
|
await markTaskNotificationsRead(taskFile);
|
|
331
331
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
332
332
|
try {
|
|
333
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
333
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-LZCKZCKO.js");
|
|
334
334
|
await writeNotification2({
|
|
335
335
|
agentId: String(row.assigned_to),
|
|
336
336
|
agentRole: String(row.assigned_to),
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
notifyParentExe,
|
|
6
6
|
resolveExeSession,
|
|
7
7
|
sendIntercom
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UV4JFYSO.js";
|
|
9
9
|
import {
|
|
10
10
|
getTransport
|
|
11
11
|
} from "./chunk-MVW62NIZ.js";
|
|
12
12
|
import {
|
|
13
13
|
recordOrchestrationEventBestEffort
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-JTADPL6X.js";
|
|
15
15
|
import {
|
|
16
16
|
getAgentRuntime
|
|
17
17
|
} from "./chunk-XJUUWHVN.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
isCoordinatorName,
|
|
23
23
|
isMultiInstance,
|
|
24
24
|
shouldAutoInstance
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-QQZMP6QL.js";
|
|
26
26
|
|
|
27
27
|
// src/lib/tasks-notify.ts
|
|
28
28
|
var VERIFY_DELAY_MS = 1e4;
|
|
@@ -68,7 +68,7 @@ async function dispatchTaskToEmployee(input) {
|
|
|
68
68
|
let crossProject = false;
|
|
69
69
|
if (input.projectName) {
|
|
70
70
|
try {
|
|
71
|
-
const { assertSessionScope } = await import("./session-scope-
|
|
71
|
+
const { assertSessionScope } = await import("./session-scope-F4OLNMZ2.js");
|
|
72
72
|
const check = assertSessionScope("dispatch_task", input.projectName);
|
|
73
73
|
if (check.reason === "cross_session_denied") {
|
|
74
74
|
crossProject = true;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
assertValidDbPath
|
|
3
|
+
} from "./chunk-2I23RPSI.js";
|
|
1
4
|
import {
|
|
2
5
|
EXE_AI_DIR
|
|
3
6
|
} from "./chunk-VXIMSRTO.js";
|
|
@@ -51,6 +54,7 @@ async function validateEncryptionKey() {
|
|
|
51
54
|
}
|
|
52
55
|
for (const shardFile of existingShards.slice(0, 3)) {
|
|
53
56
|
const dbPath = path.join(SHARDS_DIR, shardFile);
|
|
57
|
+
assertValidDbPath(dbPath, "shard-manager validateEncryptionKey");
|
|
54
58
|
const testClient = createClient({ url: `file:${dbPath}`, encryptionKey: _encryptionKey });
|
|
55
59
|
try {
|
|
56
60
|
await testClient.execute("SELECT COUNT(*) FROM sqlite_schema");
|
|
@@ -102,6 +106,7 @@ function getShardClient(projectName) {
|
|
|
102
106
|
evictLRU();
|
|
103
107
|
}
|
|
104
108
|
const dbPath = path.join(SHARDS_DIR, `${safeName}.db`);
|
|
109
|
+
assertValidDbPath(dbPath, "shard-manager getShardClient");
|
|
105
110
|
const client = createClient({
|
|
106
111
|
url: `file:${dbPath}`,
|
|
107
112
|
encryptionKey: _encryptionKey
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractMemoryGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PKJFMRUG.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6YHVX54O.js";
|
|
8
8
|
import {
|
|
9
9
|
extractKeywords
|
|
10
10
|
} from "./chunk-CHCA3ZM2.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveAgent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YG7PIB2R.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/import-conversations.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
} from "./chunk-MLXJ5EZG.js";
|
|
4
4
|
import {
|
|
5
5
|
createTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CRZWP3JB.js";
|
|
7
7
|
import {
|
|
8
8
|
getActiveAgent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-YG7PIB2R.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureEmployee,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-UV4JFYSO.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JTADPL6X.js";
|
|
18
18
|
import {
|
|
19
19
|
getAgentRuntime
|
|
20
20
|
} from "./chunk-XJUUWHVN.js";
|
|
21
21
|
import {
|
|
22
22
|
getLicenseSync
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-A3T5KDD3.js";
|
|
24
24
|
import {
|
|
25
25
|
getAgentContext
|
|
26
26
|
} from "./chunk-GJV3WDWM.js";
|
|
27
27
|
import {
|
|
28
28
|
isCoordinatorName
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QQZMP6QL.js";
|
|
30
30
|
|
|
31
31
|
// src/mcp/tools/create-task.ts
|
|
32
32
|
import { z } from "zod";
|
|
@@ -275,7 +275,7 @@ function registerCreateTask(server) {
|
|
|
275
275
|
session_scope: sessionScope,
|
|
276
276
|
created_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
277
277
|
}), "utf-8");
|
|
278
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-
|
|
278
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-UYG5H5H2.js");
|
|
279
279
|
recordOE({
|
|
280
280
|
eventType: "signal.created",
|
|
281
281
|
source: "create-task.mcp",
|
|
@@ -307,7 +307,7 @@ function registerCreateTask(server) {
|
|
|
307
307
|
let projectConflictOpts = {};
|
|
308
308
|
try {
|
|
309
309
|
const { getClient } = await import("./lib/database.js");
|
|
310
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
310
|
+
const { sessionScopeFilter } = await import("./task-scope-BAWS6CBW.js");
|
|
311
311
|
const client = getClient();
|
|
312
312
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
313
313
|
const existing = await client.execute({
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CRZWP3JB.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UV4JFYSO.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/tools/update-task.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -39,7 +39,7 @@ function registerUpdateTask(server) {
|
|
|
39
39
|
const status = rawStatus;
|
|
40
40
|
let callerAgentId;
|
|
41
41
|
try {
|
|
42
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
42
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-3YK6QV45.js");
|
|
43
43
|
callerAgentId = getAgent().agentId;
|
|
44
44
|
} catch {
|
|
45
45
|
}
|