@askexenow/exe-os 0.9.354 → 0.9.355
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/stack-manifests/v0.9.json +111 -1
- package/dist/{active-agent-UMTKUERG.js → active-agent-LCRV3HVS.js} +3 -3
- package/dist/{active-agent-B5NRAHU4.js → active-agent-PYMOMGQ7.js} +3 -3
- package/dist/{agentic-ontology-G34AXRPG.js → agentic-ontology-TNKI4FOM.js} +1 -1
- package/dist/{backfill-metadata-VCJOHOJQ.js → backfill-metadata-7ZMD4GK2.js} +5 -5
- package/dist/{backup-verify-QHL2YSEA.js → backup-verify-7NLKR4S6.js} +1 -1
- package/dist/{behavior-injection-7JZJT4X4.js → behavior-injection-5XKH24H2.js} +7 -7
- package/dist/{behaviors-O5NHB5N5.js → behaviors-N25SY742.js} +6 -6
- package/dist/bin/agentic-ontology-backfill.js +6 -6
- package/dist/bin/agentic-reflection-backfill.js +7 -7
- package/dist/bin/agentic-semantic-label.js +6 -6
- package/dist/bin/backfill-conversations.js +5 -5
- package/dist/bin/backfill-responses.js +5 -5
- package/dist/bin/backfill-vectors.js +6 -6
- package/dist/bin/bulk-sync-postgres.js +10 -10
- package/dist/bin/cc-doctor.js +4 -4
- package/dist/bin/cleanup-stale-review-tasks.js +12 -12
- package/dist/bin/cli.js +18 -18
- package/dist/bin/deferred-daemon-restart.js +67 -67
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +6 -6
- package/dist/bin/exe-boot.js +24 -24
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +10 -10
- package/dist/bin/exe-config-dump.js +2 -2
- package/dist/bin/exe-dispatch.js +12 -12
- package/dist/bin/exe-doctor.js +4 -4
- package/dist/bin/exe-export-behaviors.js +8 -8
- package/dist/bin/exe-forget.js +8 -8
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-healthcheck.js +4 -4
- package/dist/bin/exe-heartbeat.js +14 -14
- package/dist/bin/exe-kill.js +16 -16
- package/dist/bin/exe-launch-agent.js +21 -21
- package/dist/bin/exe-memory-reads.js +5 -5
- package/dist/bin/exe-new-employee.js +8 -8
- package/dist/bin/exe-os-mcp-proxy.js +3 -3
- package/dist/bin/exe-pending-messages.js +13 -13
- package/dist/bin/exe-pending-notifications.js +12 -12
- package/dist/bin/exe-pending-reviews.js +12 -12
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +15 -15
- package/dist/bin/exe-search.js +7 -7
- package/dist/bin/exe-session-cleanup.js +16 -16
- package/dist/bin/exe-settings.js +10 -10
- package/dist/bin/exe-start-codex.js +13 -13
- package/dist/bin/exe-start-opencode.js +9 -9
- package/dist/bin/exe-status.js +13 -13
- package/dist/bin/exe-support.js +3 -3
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +13 -13
- package/dist/bin/graph-backfill.js +6 -6
- package/dist/bin/graph-export.js +6 -6
- package/dist/bin/import-history.js +9 -9
- package/dist/bin/install.js +69 -69
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.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/reconcile-backlog.js +2 -2
- package/dist/bin/registry-proxy.js +1 -1
- package/dist/bin/scan-tasks.js +12 -12
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +5 -5
- package/dist/bin/stack-update.js +4 -4
- package/dist/bin/vps-health-gate.js +1 -1
- package/dist/{boot-generation-DIFHCR3O.js → boot-generation-7ZI7JYGR.js} +3 -3
- package/dist/{boot-review-sections-PFODN2NT.js → boot-review-sections-4CY2PBGZ.js} +11 -11
- package/dist/{capability-cards-B5FOK5AD.js → capability-cards-4RD2SB2K.js} +2 -2
- package/dist/{capacity-monitor-LOUTJNP7.js → capacity-monitor-IUZCER65.js} +13 -13
- package/dist/{catchup-brief-HJNOFCBW.js → catchup-brief-FGOY5FL2.js} +17 -17
- package/dist/{chunk-2O7ABKDY.js → chunk-2WWGTOVP.js} +1 -1
- package/dist/{chunk-VBSHSDNF.js → chunk-34MIJGQS.js} +1 -1
- package/dist/{chunk-3KTQG6IB.js → chunk-3MKQMGQK.js} +2 -2
- package/dist/{chunk-AZZUBNLM.js → chunk-3MVOYNVN.js} +4 -4
- package/dist/{chunk-E5U4MIWC.js → chunk-4GGP4Q5N.js} +2 -2
- package/dist/{chunk-SE6XCASK.js → chunk-4KCLB4TY.js} +1 -1
- package/dist/{chunk-I5RALLD2.js → chunk-4O4PXNWE.js} +4 -4
- package/dist/{chunk-YYAAFE2D.js → chunk-4VU2VCEU.js} +1 -1
- package/dist/{chunk-GQT4W7LA.js → chunk-54UPM32D.js} +3 -3
- package/dist/{chunk-SCRZYNLQ.js → chunk-5JB5E3LG.js} +2 -2
- package/dist/{chunk-YVNJVZG5.js → chunk-5Q2J6P4T.js} +3 -3
- package/dist/{chunk-SARGYCJM.js → chunk-67ILAYK4.js} +3 -3
- package/dist/{chunk-SJS6XZBG.js → chunk-6M7AU7QL.js} +3 -3
- package/dist/{chunk-MHVEE7FN.js → chunk-6UCUOVOB.js} +9 -9
- package/dist/{chunk-CUSYHBUW.js → chunk-6UTP7AIH.js} +1 -1
- package/dist/{chunk-FV3SYKT4.js → chunk-76JXWKJ6.js} +10 -10
- package/dist/{chunk-F7WTZO6C.js → chunk-7FKC2TIB.js} +1 -1
- package/dist/{chunk-E3MGFSHX.js → chunk-7OUNHOPN.js} +2 -2
- package/dist/{chunk-EYS3QWSH.js → chunk-7UBBTBBD.js} +2 -2
- package/dist/{chunk-JKEQWBPF.js → chunk-ABM3DZF3.js} +1 -1
- package/dist/{chunk-ZVDIWVKL.js → chunk-AIFUKWLY.js} +4 -4
- package/dist/{chunk-PP6TCRBA.js → chunk-AJGTBW3N.js} +1 -1
- package/dist/{chunk-VFUIGSMM.js → chunk-AV3YQKLI.js} +5 -5
- package/dist/{chunk-FTN3SPFD.js → chunk-AVHBWE2T.js} +8 -8
- package/dist/{chunk-F4XO4FMT.js → chunk-BGCXVFVS.js} +1 -1
- package/dist/{chunk-O2ZXDMMZ.js → chunk-BJFHXNBO.js} +3 -3
- package/dist/{chunk-5I2HYJ3V.js → chunk-BMK3RLV7.js} +1 -1
- package/dist/{chunk-JOGNKJYE.js → chunk-BWSZFT3E.js} +2 -2
- package/dist/{chunk-LQGOCLLI.js → chunk-CCCPGCOI.js} +1 -1
- package/dist/{chunk-PLXYRWPL.js → chunk-CIAMVLXK.js} +4 -4
- package/dist/{chunk-CVIVHTCN.js → chunk-CP32WIKZ.js} +1 -1
- package/dist/{chunk-24QNYQQ5.js → chunk-D4OMMYL4.js} +3 -3
- package/dist/{chunk-L5QZB2YY.js → chunk-EHL4RCND.js} +1 -1
- package/dist/{chunk-Y22JE2LU.js → chunk-EITFV752.js} +7 -7
- package/dist/{chunk-BDL6D5LQ.js → chunk-EJDKSAUB.js} +1 -1
- package/dist/{chunk-BM62YCAL.js → chunk-ENREZ76V.js} +4 -4
- package/dist/{chunk-DBQYO7QR.js → chunk-EWOMZLR6.js} +1 -1
- package/dist/{chunk-MJVNOOF5.js → chunk-F5YXWMMF.js} +1 -1
- package/dist/{chunk-TUP6OV7V.js → chunk-G4IOHYM3.js} +5 -5
- package/dist/{chunk-B5YGJKRM.js → chunk-H4IZKSOY.js} +1 -1
- package/dist/{chunk-EZAQCUWI.js → chunk-HAOZB4W6.js} +1 -1
- package/dist/{chunk-COFX64LR.js → chunk-JLXJMDKG.js} +1 -1
- package/dist/{chunk-TGJMB6DD.js → chunk-JO6TS75M.js} +1 -1
- package/dist/{chunk-JEZWLRGH.js → chunk-JZXHLDQN.js} +1 -1
- package/dist/{chunk-YRECUJPC.js → chunk-K6QZ5ATL.js} +5 -5
- package/dist/{chunk-3DOISTO5.js → chunk-KMTOHVCM.js} +45 -23
- package/dist/{chunk-2IB6M2ST.js → chunk-KP3PLOGC.js} +1 -1
- package/dist/{chunk-U2ZY37YM.js → chunk-LBA6V4L2.js} +2 -2
- package/dist/{chunk-N7GR3WNB.js → chunk-LBGUKC6J.js} +1 -1
- package/dist/{chunk-CUFN67G7.js → chunk-LLXYWNCH.js} +1 -1
- package/dist/{chunk-MR6EAVJ7.js → chunk-LTXJWL6R.js} +15 -15
- package/dist/{chunk-C4RZ6H2K.js → chunk-LVZZ7YS3.js} +2 -2
- package/dist/{chunk-4WPQC765.js → chunk-LY4JR2WL.js} +3 -3
- package/dist/{chunk-NKAE3TSO.js → chunk-M5DPPJLS.js} +3 -3
- package/dist/{chunk-5NOJ6YUJ.js → chunk-P2Y6S53G.js} +1 -1
- package/dist/{chunk-DW5STDCA.js → chunk-PM4TIRCR.js} +1 -1
- package/dist/{chunk-CYGVLWGO.js → chunk-PNTRRXAN.js} +1 -1
- package/dist/{chunk-JIUFFHPT.js → chunk-PXLYA2NX.js} +3 -3
- package/dist/{chunk-UHTKAYNE.js → chunk-QCICGIEH.js} +3 -3
- package/dist/{chunk-VKKXVQED.js → chunk-RDN2EAB2.js} +113 -113
- package/dist/{chunk-VGJGCOVX.js → chunk-RUBXKPOT.js} +1 -1
- package/dist/{chunk-6N37D4QT.js → chunk-RXJHJBRU.js} +1 -1
- package/dist/{chunk-4VA7TOIB.js → chunk-RZSPCNLY.js} +1 -1
- package/dist/{chunk-UUZDO3AJ.js → chunk-SQWYWL4W.js} +4 -4
- package/dist/{chunk-M4RJ7XLS.js → chunk-TQ4O5A4S.js} +1 -1
- package/dist/{chunk-RIBI42T5.js → chunk-TSSRP4XV.js} +3 -3
- package/dist/{chunk-4FKHNWNT.js → chunk-UQCYG6EI.js} +1 -1
- package/dist/chunk-VMHZSZQJ.js +190 -0
- package/dist/{chunk-BBY6XFZI.js → chunk-VPMAC5VB.js} +1 -1
- package/dist/{chunk-4CO7VCTT.js → chunk-WL3CT5KX.js} +2 -2
- package/dist/{chunk-7OQMDEMC.js → chunk-X4EDW3FH.js} +1 -1
- package/dist/{chunk-HRWGEBPN.js → chunk-X7CWCQ5S.js} +1 -1
- package/dist/{chunk-YTZIIGJM.js → chunk-XO2TGFOU.js} +2 -2
- package/dist/{chunk-ZOGGD4KD.js → chunk-XPDQBKER.js} +2 -2
- package/dist/{chunk-DJOEUBD6.js → chunk-Y4JA5V22.js} +1 -1
- package/dist/{chunk-3WVIGZDA.js → chunk-YCZO2FAZ.js} +4 -4
- package/dist/{chunk-HD22THYS.js → chunk-YNYISUMW.js} +1 -1
- package/dist/{chunk-LBOAWSYK.js → chunk-YQ7IZPVC.js} +1 -1
- package/dist/{chunk-NDERRIKH.js → chunk-ZMW64EV7.js} +1 -1
- package/dist/{cleanup-graph-garbage-Y6OIYF3D.js → cleanup-graph-garbage-M4HBIBDI.js} +7 -7
- package/dist/{cloud-sync-shutdown-FFWZAXXN.js → cloud-sync-shutdown-JRAERBUO.js} +2 -2
- package/dist/{co-activation-YECIJAY4.js → co-activation-5AN2CF23.js} +2 -2
- package/dist/{co-occurrence-E23DGP5X.js → co-occurrence-A7E774ZX.js} +5 -5
- package/dist/{conversation-entity-extractor-AA5GVXTJ.js → conversation-entity-extractor-2XI2GC4N.js} +3 -3
- package/dist/{crdt-sync-74BFXFXP.js → crdt-sync-2IUU6GZ6.js} +1 -1
- package/dist/{crm-webhook-Q36DOKE5.js → crm-webhook-WRVNGAQU.js} +2 -2
- package/dist/{cto-delegation-gate-L5PDVIZM.js → cto-delegation-gate-QXCOUNEL.js} +11 -11
- package/dist/{daemon-orchestration-5QK3UL6O.js → daemon-orchestration-XUWZIOPU.js} +16 -16
- package/dist/{doc-graph-extractor-SKGQB3IQ.js → doc-graph-extractor-NFERAJNP.js} +5 -5
- package/dist/{documents-2TXHQZXN.js → documents-XPHR2T4G.js} +6 -6
- package/dist/{dreaming-A5NC7KA4.js → dreaming-U634O7WB.js} +15 -15
- package/dist/{entity-boost-3IYDATSI.js → entity-boost-HLFG2CH3.js} +1 -1
- package/dist/{exe-drift-NE2QU5I3.js → exe-drift-NBLYKQBQ.js} +3 -3
- package/dist/{exe-export-MRZWZCMH.js → exe-export-GZ3FGKES.js} +7 -7
- package/dist/{exe-import-DVGM4YTT.js → exe-import-UE7SLARA.js} +7 -7
- package/dist/{exe-key-7KNEW6NE.js → exe-key-L6KPM4OV.js} +67 -67
- package/dist/{exe-snapshot-6JUWXYJD.js → exe-snapshot-5WEMYMK2.js} +16 -16
- package/dist/{fast-db-init-WQX6KZO2.js → fast-db-init-7ZZOVLQI.js} +1 -1
- package/dist/{founder-context-Z3R4VSTG.js → founder-context-5OFTZNDO.js} +2 -2
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-V4D4AKHZ.js → git-staleness-XQJTOSGZ.js} +2 -2
- package/dist/{global-procedures-A7ZUK6ET.js → global-procedures-YCJ3JPAP.js} +3 -3
- package/dist/{graph-auto-extract-PYZGV2RZ.js → graph-auto-extract-XJN6PQH3.js} +5 -5
- package/dist/{graph-rag-OQ5AQWZ6.js → graph-rag-HCQCZ2W7.js} +3 -3
- package/dist/{hook-prefetch-3VK4GT35.js → hook-prefetch-BH2BHOUC.js} +12 -12
- package/dist/hooks/bug-report-worker.js +14 -14
- package/dist/hooks/codex-stop-task-finalizer.js +15 -15
- package/dist/hooks/commit-complete.js +14 -14
- package/dist/hooks/error-recall.js +8 -8
- package/dist/hooks/exe-heartbeat-hook.js +3 -3
- package/dist/hooks/ingest.js +6 -6
- package/dist/hooks/instructions-loaded.js +4 -4
- package/dist/hooks/manifest.json +19 -19
- package/dist/hooks/notification.js +4 -4
- package/dist/hooks/post-compact.js +13 -13
- package/dist/hooks/post-tool-combined.js +9 -9
- package/dist/hooks/pre-compact.js +14 -14
- package/dist/hooks/pre-tool-use.js +19 -19
- package/dist/hooks/prompt-submit.js +28 -28
- package/dist/hooks/session-end.js +18 -18
- package/dist/hooks/session-start.js +13 -13
- package/dist/hooks/stop.js +17 -17
- package/dist/hooks/subagent-stop.js +15 -15
- package/dist/hooks/summary-worker.js +18 -18
- package/dist/index.js +21 -21
- package/dist/{installer-J4QCMBW3.js → installer-G3DVMNC6.js} +5 -5
- package/dist/{installer-5LP7KZHA.js → installer-YSCUE6MT.js} +5 -5
- package/dist/{installer-DWR4AAZ4.js → installer-YTT5OSRL.js} +5 -5
- package/dist/{intercom-queue-6AM6LKVK.js → intercom-queue-CTNJG7R5.js} +11 -11
- package/dist/lib/cloud-sync.js +10 -10
- package/dist/lib/consolidation.js +7 -7
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-backup.js +1 -1
- package/dist/lib/db-write-worker.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/device-registry.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +57 -57
- package/dist/lib/hybrid-search.js +7 -7
- package/dist/lib/identity.js +2 -2
- package/dist/lib/license.js +2 -2
- package/dist/lib/messaging.js +12 -12
- package/dist/lib/registry-proxy.js +1 -1
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +6 -6
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +7 -7
- package/dist/lib/store.js +5 -5
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +13 -13
- package/dist/lib/tmux-routing.js +11 -11
- package/dist/lib/token-spend.js +3 -3
- package/dist/{license-gate-HG2ZD6OK.js → license-gate-DKYHCAMN.js} +3 -3
- package/dist/{license-sync-WW5Q22IP.js → license-sync-JVEXPDHN.js} +2 -2
- package/dist/mcp/register-tools.js +66 -66
- package/dist/mcp/server.js +67 -67
- package/dist/mcp/tools/complete-reminder.js +4 -4
- package/dist/mcp/tools/create-reminder.js +4 -4
- package/dist/mcp/tools/create-task.js +15 -15
- package/dist/mcp/tools/deactivate-behavior.js +8 -8
- package/dist/mcp/tools/list-reminders.js +4 -4
- package/dist/mcp/tools/list-tasks.js +15 -15
- package/dist/mcp/tools/send-message.js +14 -14
- package/dist/mcp/tools/update-task.js +14 -14
- package/dist/{mcp-http-config-HEB3SN2R.js → mcp-http-config-L5RDDU6P.js} +3 -3
- package/dist/{mcp-session-identity-ULE5UEFS.js → mcp-session-identity-FAJY6BIU.js} +11 -11
- package/dist/{memory-cards-ILWB7MMB.js → memory-cards-TJY4ZSHF.js} +6 -6
- package/dist/{memory-graph-extractor-QHVGFKVG.js → memory-graph-extractor-ZDZ5VQUX.js} +6 -6
- package/dist/{memory-poisoning-defense-QCFTRH6A.js → memory-poisoning-defense-EQUQNXRE.js} +2 -2
- package/dist/{memory-pressure-watchdog-NQM4LGAK.js → memory-pressure-watchdog-VZHFDEJQ.js} +12 -12
- package/dist/{memory-reflection-4INWXZ7N.js → memory-reflection-Q4OT4V55.js} +3 -3
- package/dist/{notification-ledger-JVSOHAVM.js → notification-ledger-ST7VOHTW.js} +12 -12
- package/dist/{notifications-42Q3H3VC.js → notifications-3NFVADNY.js} +11 -11
- package/dist/{orchestration-events-ZZWLYO67.js → orchestration-events-N5FQ4SKU.js} +3 -3
- package/dist/{orchestrator-RKOJ7NCH.js → orchestrator-XXCNZ7JX.js} +13 -13
- package/dist/{pipeline-router-M6OGSYM6.js → pipeline-router-LNYYGOSK.js} +3 -3
- package/dist/{plan-limits-QEKZSBNT.js → plan-limits-VBHKYKSK.js} +5 -5
- package/dist/{projection-worker-4AJDBNVS.js → projection-worker-LNYQIPTM.js} +2 -2
- package/dist/{prospective-memory-XWXQRQ3Q.js → prospective-memory-3MKUPDVI.js} +2 -2
- package/dist/{reranker-SWICYZ5I.js → reranker-334X6AJN.js} +1 -1
- package/dist/{retrieval-health-74FIEAAQ.js → retrieval-health-AEEQ5IO6.js} +1 -1
- package/dist/{review-polling-KXXWLAPK.js → review-polling-HPY4W5NC.js} +12 -12
- package/dist/runtime/index.js +15 -15
- package/dist/{session-events-WN56MLQU.js → session-events-F4PCO4D3.js} +12 -12
- package/dist/{session-kill-telemetry-UYNCHUHH.js → session-kill-telemetry-LFJLI3NS.js} +12 -12
- package/dist/{session-scope-2AQSQT2G.js → session-scope-OVHP3LJX.js} +11 -11
- package/dist/{setup-wizard-L7DQ3FWW.js → setup-wizard-TQITUMGJ.js} +1 -1
- package/dist/{skill-refinement-6E3OFWN6.js → skill-refinement-XYWEA5KI.js} +3 -3
- package/dist/{stack-promote-HO73CEWD.js → stack-promote-BGDGAYKG.js} +4 -4
- package/dist/{stack-release-ISVYAENS.js → stack-release-SOIHMI3I.js} +4 -4
- package/dist/{stack-update-7X2LZ66Y.js → stack-update-AXFHJRK5.js} +3 -3
- package/dist/{steward-gate-YT4P6DJZ.js → steward-gate-R2XWABMV.js} +3 -3
- package/dist/{support-inbox-4RZFNMKP.js → support-inbox-IITW66TG.js} +3 -3
- package/dist/{task-enforcement-KS56DIGL.js → task-enforcement-AYCGJ6GA.js} +12 -12
- package/dist/{task-scope-TFR5W52E.js → task-scope-EK4VS4NA.js} +11 -11
- package/dist/{tasks-crud-XGIGE5QE.js → tasks-crud-AM3FI7AN.js} +11 -11
- package/dist/{tasks-notify-BWRRTEOU.js → tasks-notify-CQ2DIHXY.js} +12 -12
- package/dist/{tasks-review-OB3LE3B5.js → tasks-review-W52QIL5I.js} +11 -11
- package/dist/{telemetry-upload-HQGZFGHT.js → telemetry-upload-TQDNSGO7.js} +7 -7
- package/dist/{token-budget-Z326CDP3.js → token-budget-DBXHLCMN.js} +3 -3
- package/dist/{tool-telemetry-UNHEA5AZ.js → tool-telemetry-UFUTCNE3.js} +1 -1
- package/dist/tui/App.js +19 -19
- package/dist/{tui-data-IOLP3QRN.js → tui-data-SPSBWVEY.js} +11 -11
- package/dist/{update-support-YXDFIVXO.js → update-support-BDPFKWXV.js} +9 -9
- package/dist/{work-state-heartbeat-CUGIQ4ME.js → work-state-heartbeat-IQI3LCHN.js} +1 -1
- package/dist/{worker-gate-UYBG3GQ7.js → worker-gate-7X3WOWU7.js} +1 -1
- package/dist/{workflow-engine-NNJQCR7C.js → workflow-engine-I3YGQOB5.js} +2 -2
- package/dist/{worktree-LIYWT45F.js → worktree-EUYBBABA.js} +4 -4
- package/dist/{worktree-sweep-MUGEIGQF.js → worktree-sweep-LSKFA2PK.js} +5 -5
- package/package.json +1 -1
- package/release-notes.json +16 -16
- package/dist/chunk-AB4PAQYK.js +0 -123
- /package/dist/{chunk-VRTQLHUV.js → chunk-6SAQSXT2.js} +0 -0
- /package/dist/{chunk-WN555JAG.js → chunk-A627QFOE.js} +0 -0
- /package/dist/{chunk-EF5E4VTG.js → chunk-D6MWP56U.js} +0 -0
- /package/dist/{chunk-LQ47R57X.js → chunk-G2MXTLOD.js} +0 -0
- /package/dist/{chunk-DDTMQXGQ.js → chunk-GNGVBO5E.js} +0 -0
- /package/dist/{chunk-4THX6YGB.js → chunk-HABPXFHZ.js} +0 -0
- /package/dist/{chunk-NZKDLBMW.js → chunk-HMBMHZ3S.js} +0 -0
- /package/dist/{chunk-SMN6EF66.js → chunk-IHKRHGKT.js} +0 -0
- /package/dist/{chunk-JG7PCQ2F.js → chunk-QA77JMBW.js} +0 -0
- /package/dist/{chunk-EV3IKPFN.js → chunk-RFVOCOIF.js} +0 -0
- /package/dist/{chunk-QUDC4567.js → chunk-VML2UQK7.js} +0 -0
- /package/dist/{chunk-G2NXLTED.js → chunk-YR2T2GBJ.js} +0 -0
- /package/dist/{core-memory-PCNPKQ3I.js → core-memory-RO3MHRQR.js} +0 -0
- /package/dist/{memory-isolation-RJJI3MDS.js → memory-isolation-KOQXJXZF.js} +0 -0
- /package/dist/{oauth-server-C3EVNZZH.js → oauth-server-JELOVN5D.js} +0 -0
- /package/dist/{project-boot-DP2VMAWA.js → project-boot-LQ4CF6BI.js} +0 -0
- /package/dist/{wiki-acl-RL64TBN4.js → wiki-acl-VR4AFJ3T.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EITFV752.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YNYISUMW.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployeeAsync,
|
|
9
9
|
isValidSessionScope,
|
|
10
10
|
logTaskDispatch,
|
|
11
11
|
resolveExeSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-LTXJWL6R.js";
|
|
13
13
|
import {
|
|
14
14
|
recordOrchestrationEventBestEffort
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-X4EDW3FH.js";
|
|
16
16
|
import {
|
|
17
17
|
releaseDispatchClaim,
|
|
18
18
|
tryAcquireDispatchClaim,
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
} from "./chunk-VAY6IXWY.js";
|
|
26
26
|
import {
|
|
27
27
|
getLicenseSync
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4GGP4Q5N.js";
|
|
29
29
|
import {
|
|
30
30
|
getAgentContext
|
|
31
31
|
} from "./chunk-GJV3WDWM.js";
|
|
32
32
|
import {
|
|
33
33
|
isCoordinatorName
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-M5DPPJLS.js";
|
|
35
35
|
|
|
36
36
|
// src/mcp/tools/create-task.ts
|
|
37
37
|
import { z } from "zod";
|
|
@@ -718,7 +718,7 @@ function registerCreateTask(server) {
|
|
|
718
718
|
session_scope: sessionScope,
|
|
719
719
|
created_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
720
720
|
}), "utf-8");
|
|
721
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-
|
|
721
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-N5FQ4SKU.js");
|
|
722
722
|
recordOE({
|
|
723
723
|
eventType: "signal.created",
|
|
724
724
|
source: "create-task.mcp",
|
|
@@ -750,7 +750,7 @@ function registerCreateTask(server) {
|
|
|
750
750
|
let projectConflictOpts = {};
|
|
751
751
|
try {
|
|
752
752
|
const { getClient } = await import("./lib/database.js");
|
|
753
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
753
|
+
const { sessionScopeFilter } = await import("./task-scope-EK4VS4NA.js");
|
|
754
754
|
const client = getClient();
|
|
755
755
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
756
756
|
const existing = await client.execute({
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getActiveAgent
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YNYISUMW.js";
|
|
4
4
|
import {
|
|
5
5
|
listTasks
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LTXJWL6R.js";
|
|
7
7
|
import {
|
|
8
8
|
getAgentContext
|
|
9
9
|
} from "./chunk-GJV3WDWM.js";
|
|
10
10
|
import {
|
|
11
11
|
isCoordinatorName
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-M5DPPJLS.js";
|
|
13
13
|
|
|
14
14
|
// src/mcp/tools/list-tasks.ts
|
|
15
15
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTXJWL6R.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -238,7 +238,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
238
238
|
}
|
|
239
239
|
if (!dryRun) {
|
|
240
240
|
try {
|
|
241
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
241
|
+
const { updateTaskStatus } = await import("./tasks-crud-AM3FI7AN.js");
|
|
242
242
|
await updateTaskStatus({
|
|
243
243
|
taskId: task.id,
|
|
244
244
|
status: "needs_review",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDegradations,
|
|
3
3
|
getRetrievalHealth
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6SAQSXT2.js";
|
|
5
5
|
import {
|
|
6
6
|
buildRestartReport,
|
|
7
7
|
formatRestartReport
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-OTVEIJUQ.js";
|
|
21
21
|
import {
|
|
22
22
|
offloadReadIfMain
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M5DPPJLS.js";
|
|
24
24
|
import {
|
|
25
25
|
isMainModule
|
|
26
26
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1023,7 +1023,7 @@ function formatReport(report, flags) {
|
|
|
1023
1023
|
return lines.join("\n");
|
|
1024
1024
|
}
|
|
1025
1025
|
async function fixNullVectors() {
|
|
1026
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
1026
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-7X3WOWU7.js");
|
|
1027
1027
|
if (!tryAcquireWorkerSlot()) {
|
|
1028
1028
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
1029
1029
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -1209,7 +1209,7 @@ async function main(argv = process.argv.slice(2)) {
|
|
|
1209
1209
|
console.log(formatRestartReport(restartReport));
|
|
1210
1210
|
return emptyAuditReport();
|
|
1211
1211
|
}
|
|
1212
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
1212
|
+
const { fastDbInit } = await import("./fast-db-init-7ZZOVLQI.js");
|
|
1213
1213
|
const client = await fastDbInit();
|
|
1214
1214
|
const report = await runAudit(client, flags);
|
|
1215
1215
|
console.log(formatReport(report, flags));
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LTXJWL6R.js";
|
|
4
4
|
import {
|
|
5
5
|
recordOrchestrationEventBestEffort
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X4EDW3FH.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient,
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-M5DPPJLS.js";
|
|
11
11
|
import {
|
|
12
12
|
isDaemonAlive
|
|
13
13
|
} from "./chunk-7HLWBYH7.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
dispatchTaskToEmployee,
|
|
3
3
|
markTaskNotificationsRead,
|
|
4
4
|
notifyTaskDone
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AIFUKWLY.js";
|
|
6
6
|
import {
|
|
7
7
|
clearCurrentTask,
|
|
8
8
|
writeCurrentTask
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
strictSessionScopeFilter,
|
|
17
17
|
updateTaskStatus,
|
|
18
18
|
writeNotification
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-LTXJWL6R.js";
|
|
20
20
|
import {
|
|
21
21
|
getAgentContext
|
|
22
22
|
} from "./chunk-GJV3WDWM.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
getClient,
|
|
28
28
|
getCoordinatorName,
|
|
29
29
|
isCoordinatorName
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-M5DPPJLS.js";
|
|
31
31
|
|
|
32
32
|
// src/lib/tasks-chain.ts
|
|
33
33
|
import path from "path";
|
|
@@ -62,7 +62,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
62
62
|
}
|
|
63
63
|
if (unblockedRows.rows.length > 0 && !process.env.VITEST) {
|
|
64
64
|
try {
|
|
65
|
-
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-
|
|
65
|
+
const { dispatchTaskToEmployee: dispatchTaskToEmployee2 } = await import("./tasks-notify-CQ2DIHXY.js");
|
|
66
66
|
const dispatched = /* @__PURE__ */ new Set();
|
|
67
67
|
for (const ur of unblockedRows.rows) {
|
|
68
68
|
const assignee = String(ur.assigned_to);
|
|
@@ -87,7 +87,7 @@ async function cascadeUnblock(taskId, baseDir, now) {
|
|
|
87
87
|
}
|
|
88
88
|
} catch {
|
|
89
89
|
try {
|
|
90
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
90
|
+
const { queueIntercom } = await import("./intercom-queue-CTNJG7R5.js");
|
|
91
91
|
const dispatched = /* @__PURE__ */ new Set();
|
|
92
92
|
for (const ur of unblockedRows.rows) {
|
|
93
93
|
const assignee = String(ur.assigned_to);
|
|
@@ -285,7 +285,7 @@ async function updateTask(input) {
|
|
|
285
285
|
try {
|
|
286
286
|
process.stderr.write(`[tasks] EVENT: tmux delivery failed for reviewer="${reviewer}". Queueing for daemon delivery.
|
|
287
287
|
`);
|
|
288
|
-
const { queueIntercom } = await import("./intercom-queue-
|
|
288
|
+
const { queueIntercom } = await import("./intercom-queue-CTNJG7R5.js");
|
|
289
289
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
290
290
|
const exeSession = row.session_scope ? String(row.session_scope) : resolveExeSession();
|
|
291
291
|
if (exeSession) {
|
|
@@ -329,7 +329,7 @@ async function updateTask(input) {
|
|
|
329
329
|
await markTaskNotificationsRead(taskFile);
|
|
330
330
|
if (isCompletionReviewTransition && !isCoordinator && row.reviewer) {
|
|
331
331
|
try {
|
|
332
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
332
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-3NFVADNY.js");
|
|
333
333
|
const reviewer = String(row.reviewer);
|
|
334
334
|
await writeNotification2({
|
|
335
335
|
agentId: reviewer,
|
|
@@ -119,7 +119,7 @@ function releaseBackfillLock() {
|
|
|
119
119
|
}
|
|
120
120
|
async function getTaskAwareCapacity() {
|
|
121
121
|
const { getClient } = await import("./lib/database.js");
|
|
122
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
122
|
+
const { sessionScopeFilter } = await import("./task-scope-EK4VS4NA.js");
|
|
123
123
|
const client = getClient();
|
|
124
124
|
const scope = sessionScopeFilter();
|
|
125
125
|
const result = await client.execute({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isExeSession,
|
|
3
3
|
strictSessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LTXJWL6R.js";
|
|
5
5
|
import {
|
|
6
6
|
recordOrchestrationEventBestEffort
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-X4EDW3FH.js";
|
|
8
8
|
import {
|
|
9
9
|
getProjectName
|
|
10
10
|
} from "./chunk-OPU3NYOO.js";
|
|
11
11
|
import {
|
|
12
12
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
13
13
|
getCoordinatorName
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-M5DPPJLS.js";
|
|
15
15
|
import {
|
|
16
16
|
loadConfigSync
|
|
17
17
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -260,7 +260,7 @@ function createRealDeps(getClient) {
|
|
|
260
260
|
});
|
|
261
261
|
},
|
|
262
262
|
createReviewForOrphan: async (task) => {
|
|
263
|
-
const { createReviewForCompletedTask } = await import("./tasks-review-
|
|
263
|
+
const { createReviewForCompletedTask } = await import("./tasks-review-W52QIL5I.js");
|
|
264
264
|
const cwd = process.cwd();
|
|
265
265
|
await createReviewForCompletedTask(
|
|
266
266
|
task,
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-UEXJYSJX.js";
|
|
7
7
|
import {
|
|
8
8
|
isCrdtSyncEnabled
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-G2MXTLOD.js";
|
|
10
10
|
import {
|
|
11
11
|
retryOnDaemonTransportError
|
|
12
12
|
} from "./chunk-VU2MZ7BP.js";
|
|
13
13
|
import {
|
|
14
14
|
GHOST_BEHAVIOR_SQL,
|
|
15
15
|
isGhostBehaviorRow
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LBA6V4L2.js";
|
|
17
17
|
import {
|
|
18
18
|
decryptSyncBlob,
|
|
19
19
|
encryptSyncBlob,
|
|
@@ -26,10 +26,10 @@ import {
|
|
|
26
26
|
loadEmployees,
|
|
27
27
|
registerBinSymlinks,
|
|
28
28
|
saveEmployees
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-M5DPPJLS.js";
|
|
30
30
|
import {
|
|
31
31
|
loadDeviceId
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-4VU2VCEU.js";
|
|
33
33
|
import {
|
|
34
34
|
EXE_AI_DIR
|
|
35
35
|
} from "./chunk-BCZF3AGJ.js";
|
|
@@ -947,7 +947,7 @@ async function cloudSync(config, options) {
|
|
|
947
947
|
pullResult = await cloudPull(lastPullVersion, config);
|
|
948
948
|
if (pullResult.records.length > 0) {
|
|
949
949
|
if (shouldUseCrdtMergeForCloudSync()) {
|
|
950
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
950
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-2IUU6GZ6.js");
|
|
951
951
|
initCrdtDoc();
|
|
952
952
|
importExistingMemories(
|
|
953
953
|
pullResult.records.map((rec) => ({
|
|
@@ -212,7 +212,7 @@ async function main(args) {
|
|
|
212
212
|
console.log("[health-gate] Starting rollback...");
|
|
213
213
|
restorePreDeployBackup();
|
|
214
214
|
try {
|
|
215
|
-
const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-
|
|
215
|
+
const { rollbackStackUpdate, defaultStackPaths } = await import("./stack-update-AXFHJRK5.js");
|
|
216
216
|
const paths = defaultStackPaths();
|
|
217
217
|
await rollbackStackUpdate({
|
|
218
218
|
manifestRef: paths.manifestRef,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D4OMMYL4.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter,
|
|
6
6
|
verifyPaneAtCapacity,
|
|
7
7
|
writeNotification
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LTXJWL6R.js";
|
|
9
9
|
import {
|
|
10
10
|
listSessions
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PM4TIRCR.js";
|
|
12
12
|
import {
|
|
13
13
|
getTransport
|
|
14
14
|
} from "./chunk-UXLO7VHX.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-X4EDW3FH.js";
|
|
18
18
|
import {
|
|
19
19
|
getClient,
|
|
20
20
|
isCoordinatorName
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-M5DPPJLS.js";
|
|
22
22
|
|
|
23
23
|
// src/lib/capacity-monitor.ts
|
|
24
24
|
var CAPACITY_PATTERNS = [
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildFtsMatch,
|
|
3
|
+
buildFtsMatchWithModifiers,
|
|
4
|
+
extractFtsModifiers,
|
|
3
5
|
tokenizeForFts
|
|
4
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VMHZSZQJ.js";
|
|
5
7
|
import {
|
|
6
8
|
attachDocumentMetadata,
|
|
7
9
|
buildRawVisibilityFilter,
|
|
@@ -9,7 +11,7 @@ import {
|
|
|
9
11
|
buildSystemStateExclusionFilter,
|
|
10
12
|
buildWikiScopeFilter,
|
|
11
13
|
searchMemories
|
|
12
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-76JXWKJ6.js";
|
|
13
15
|
import {
|
|
14
16
|
blobToVector
|
|
15
17
|
} from "./chunk-OTVEIJUQ.js";
|
|
@@ -22,7 +24,7 @@ import {
|
|
|
22
24
|
} from "./chunk-GJV3WDWM.js";
|
|
23
25
|
import {
|
|
24
26
|
getClient
|
|
25
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-M5DPPJLS.js";
|
|
26
28
|
|
|
27
29
|
// src/lib/memory-reads.ts
|
|
28
30
|
import crypto from "crypto";
|
|
@@ -564,7 +566,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
564
566
|
let rerankerAvailable = false;
|
|
565
567
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
566
568
|
try {
|
|
567
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
569
|
+
const { isRerankerAvailable } = await import("./reranker-334X6AJN.js");
|
|
568
570
|
rerankerAvailable = isRerankerAvailable();
|
|
569
571
|
} catch {
|
|
570
572
|
}
|
|
@@ -633,7 +635,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
633
635
|
]).catch(() => []),
|
|
634
636
|
includeStructuredCards ? (async () => {
|
|
635
637
|
try {
|
|
636
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
638
|
+
const { searchMemoryCards } = await import("./memory-cards-TJY4ZSHF.js");
|
|
637
639
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
638
640
|
} catch {
|
|
639
641
|
return [];
|
|
@@ -642,7 +644,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
642
644
|
// Reflection insights: patterns, contradictions, summaries across sessions
|
|
643
645
|
includeStructuredCards ? (async () => {
|
|
644
646
|
try {
|
|
645
|
-
const { searchReflections } = await import("./memory-reflection-
|
|
647
|
+
const { searchReflections } = await import("./memory-reflection-Q4OT4V55.js");
|
|
646
648
|
const insights = await searchReflections(effectiveQuery, agentId, 5, {
|
|
647
649
|
includeArchived: options?.includeArchived
|
|
648
650
|
});
|
|
@@ -743,7 +745,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
743
745
|
let entityBoostRan = false;
|
|
744
746
|
if (merged.length > 0) {
|
|
745
747
|
try {
|
|
746
|
-
const { applyEntityBoost } = await import("./entity-boost-
|
|
748
|
+
const { applyEntityBoost } = await import("./entity-boost-HLFG2CH3.js");
|
|
747
749
|
const boosted = await applyEntityBoost(merged, effectiveQuery, getClient());
|
|
748
750
|
merged = boosted.results;
|
|
749
751
|
graphContextMap = boosted.graphContext;
|
|
@@ -767,7 +769,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
767
769
|
try {
|
|
768
770
|
let rerankedRecords;
|
|
769
771
|
if (graphContextMap.size > 0) {
|
|
770
|
-
const { rerankWithContext } = await import("./reranker-
|
|
772
|
+
const { rerankWithContext } = await import("./reranker-334X6AJN.js");
|
|
771
773
|
const candidates = merged.map((m) => ({
|
|
772
774
|
text: m.raw_text,
|
|
773
775
|
context: graphContextMap.get(m.id)
|
|
@@ -775,7 +777,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
775
777
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
776
778
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
777
779
|
} else {
|
|
778
|
-
const { rerank } = await import("./reranker-
|
|
780
|
+
const { rerank } = await import("./reranker-334X6AJN.js");
|
|
779
781
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
780
782
|
}
|
|
781
783
|
if (rerankedRecords.length > 0) {
|
|
@@ -1126,10 +1128,13 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1126
1128
|
nameTermsSet.add(word.toLowerCase());
|
|
1127
1129
|
}
|
|
1128
1130
|
}
|
|
1129
|
-
const
|
|
1131
|
+
const { phrases: ftsPhrases, negatives: ftsNegatives, remainder: ftsRemainder } = extractFtsModifiers(queryText);
|
|
1132
|
+
const hasFtsModifiers = ftsPhrases.length > 0 || ftsNegatives.length > 0;
|
|
1133
|
+
const positiveSource = hasFtsModifiers ? ftsRemainder : queryText;
|
|
1134
|
+
const allTerms = tokenizeForFts(positiveSource, { maxTerms: 16 }).filter((t) => !FTS_STOP_WORDS.has(t));
|
|
1130
1135
|
const contentTerms = allTerms.filter((t) => !nameTermsSet.has(t));
|
|
1131
1136
|
const terms = daemonSafeFtsTerms(contentTerms.length > 0 ? contentTerms : allTerms);
|
|
1132
|
-
if (terms.length === 0) {
|
|
1137
|
+
if (terms.length === 0 && ftsPhrases.length === 0) {
|
|
1133
1138
|
return (await recentRecords(agentId, options, limit)).map((record) => ({
|
|
1134
1139
|
...record,
|
|
1135
1140
|
_source: record._source ? `${record._source}+recent-fallback` : "recent-fallback"
|
|
@@ -1137,19 +1142,36 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1137
1142
|
}
|
|
1138
1143
|
const usePrefixTerms = shouldUseFtsPrefix(terms);
|
|
1139
1144
|
const useAnd = terms.length >= 3;
|
|
1140
|
-
const
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1145
|
+
const buildMatch = (join) => {
|
|
1146
|
+
if (!hasFtsModifiers) {
|
|
1147
|
+
return buildFtsMatch(terms, {
|
|
1148
|
+
prefix: usePrefixTerms,
|
|
1149
|
+
join,
|
|
1150
|
+
columns: ["raw_text", "keywords"]
|
|
1151
|
+
});
|
|
1152
|
+
}
|
|
1153
|
+
try {
|
|
1154
|
+
const composed = buildFtsMatchWithModifiers(terms, {
|
|
1155
|
+
prefix: usePrefixTerms,
|
|
1156
|
+
join,
|
|
1157
|
+
columns: ["raw_text", "keywords"],
|
|
1158
|
+
phrases: ftsPhrases,
|
|
1159
|
+
negatives: ftsNegatives
|
|
1160
|
+
});
|
|
1161
|
+
if (composed) return composed;
|
|
1162
|
+
} catch {
|
|
1163
|
+
}
|
|
1164
|
+
return buildFtsMatch(terms, {
|
|
1149
1165
|
prefix: usePrefixTerms,
|
|
1150
|
-
join
|
|
1166
|
+
join,
|
|
1151
1167
|
columns: ["raw_text", "keywords"]
|
|
1152
1168
|
});
|
|
1169
|
+
};
|
|
1170
|
+
const matchExpr = buildMatch(useAnd ? "AND" : "OR");
|
|
1171
|
+
const results = await ftsQuery(client, matchExpr, agentId, options, limit);
|
|
1172
|
+
const broadOrFallbackIsSafe = !isDaemonProcess() || terms.length < DAEMON_SAFE_FTS_TERM_THRESHOLD;
|
|
1173
|
+
if (useAnd && results.length < limit && broadOrFallbackIsSafe) {
|
|
1174
|
+
const orExpr = buildMatch("OR");
|
|
1153
1175
|
const orResults = await ftsQuery(client, orExpr, agentId, options, limit);
|
|
1154
1176
|
const seen = new Set(results.map((r) => r.id));
|
|
1155
1177
|
for (const r of orResults) {
|
|
@@ -1169,7 +1191,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1169
1191
|
}
|
|
1170
1192
|
if (results.length >= 2) {
|
|
1171
1193
|
try {
|
|
1172
|
-
const { recordCoActivations } = await import("./co-activation-
|
|
1194
|
+
const { recordCoActivations } = await import("./co-activation-5AN2CF23.js");
|
|
1173
1195
|
const ids = results.slice(0, 10).map((r) => r.id);
|
|
1174
1196
|
void recordCoActivations(ids).catch((e) => {
|
|
1175
1197
|
try {
|
|
@@ -1185,7 +1207,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1185
1207
|
}
|
|
1186
1208
|
if (options?.includeStructuredCards !== true) return results;
|
|
1187
1209
|
try {
|
|
1188
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
1210
|
+
const { searchMemoryCards } = await import("./memory-cards-TJY4ZSHF.js");
|
|
1189
1211
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
1190
1212
|
if (cardResults.length > 0) {
|
|
1191
1213
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToSqlLiteral
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-76JXWKJ6.js";
|
|
4
4
|
import {
|
|
5
5
|
blobToVector
|
|
6
6
|
} from "./chunk-OTVEIJUQ.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M5DPPJLS.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/behaviors.ts
|
|
12
12
|
import crypto from "crypto";
|
|
@@ -248,7 +248,7 @@ async function createBackupAsync(reason = "manual", opts = {}) {
|
|
|
248
248
|
}
|
|
249
249
|
}
|
|
250
250
|
try {
|
|
251
|
-
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-
|
|
251
|
+
const { manifestWriteEnabled, writeBackupManifest } = await import("./backup-verify-7NLKR4S6.js");
|
|
252
252
|
if (manifestWriteEnabled()) {
|
|
253
253
|
await writeBackupManifest(backupPath, dbName);
|
|
254
254
|
}
|