@askexenow/exe-os 0.9.166 → 0.9.167
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/deploy/compose/backup.sh +45 -7
- package/deploy/compose/setup.sh +7 -0
- package/deploy/stack-manifests/v0.9.json +40 -1
- package/dist/{active-agent-R2KMWMR6.js → active-agent-DGTIJN2U.js} +2 -2
- package/dist/{active-agent-CYMM3QQA.js → active-agent-HVMLG6FH.js} +2 -2
- package/dist/{agentic-ontology-GKAKYNPE.js → agentic-ontology-S54AFODT.js} +1 -1
- package/dist/{backfill-metadata-Z5SYUWAV.js → backfill-metadata-74IWETRF.js} +4 -3
- package/dist/{behaviors-QGU6XI5R.js → behaviors-LZVAVHTC.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +5 -4
- package/dist/bin/agentic-reflection-backfill.js +6 -5
- package/dist/bin/agentic-semantic-label.js +5 -4
- 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 +6 -5
- package/dist/bin/cleanup-stale-review-tasks.js +9 -9
- package/dist/bin/cli.js +16 -13
- package/dist/bin/daily-summary.js +0 -217
- package/dist/bin/deferred-daemon-restart.js +8 -0
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +10 -10
- package/dist/bin/exe-assign.js +7 -6
- package/dist/bin/exe-boot.js +20 -19
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +9 -9
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +7 -6
- package/dist/bin/exe-forget.js +6 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +9 -9
- package/dist/bin/exe-kill.js +13 -12
- package/dist/bin/exe-launch-agent.js +11 -10
- package/dist/bin/exe-new-employee.js +6 -6
- package/dist/bin/exe-pending-messages.js +10 -10
- package/dist/bin/exe-pending-notifications.js +9 -9
- package/dist/bin/exe-pending-reviews.js +9 -9
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +12 -11
- package/dist/bin/exe-search.js +5 -4
- package/dist/bin/exe-session-cleanup.js +19 -14
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +11 -10
- package/dist/bin/exe-start-opencode.js +8 -7
- package/dist/bin/exe-status.js +10 -10
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +9 -9
- package/dist/bin/graph-backfill.js +4 -3
- package/dist/bin/graph-export.js +5 -4
- package/dist/bin/import-history.js +171 -0
- package/dist/bin/install-launchd.js +41 -0
- package/dist/bin/install.js +50 -74
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +4 -4
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/scan-tasks.js +22 -12
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -3
- package/dist/bin/stack-update.js +61 -857
- package/dist/bin/vps-backup.js +170 -0
- package/dist/bin/vps-health-gate.js +232 -0
- package/dist/{capacity-monitor-ZEAE4WP2.js → capacity-monitor-JBZB2S4P.js} +10 -10
- package/dist/{catchup-brief-OGWCHENC.js → catchup-brief-HE2EMZS5.js} +12 -11
- package/dist/{chunk-DJJNB47C.js → chunk-27DO3EZO.js} +1 -1
- package/dist/{chunk-45FYZIHI.js → chunk-32YUET3Y.js} +2 -2
- package/dist/{chunk-Y75ECPO5.js → chunk-3FW5LUGI.js} +2 -2
- package/dist/{chunk-4OZGQZ4U.js → chunk-3M3O56VT.js} +636 -179
- package/dist/{chunk-77WQOD6J.js → chunk-4CXUZ4NI.js} +2 -2
- package/dist/{chunk-PBXWPHEK.js → chunk-4VEHJZ6R.js} +1 -1
- package/dist/{chunk-TH22QIEC.js → chunk-6A4COFDG.js} +1 -1
- package/dist/{chunk-ACBTCC2L.js → chunk-7OJH2A6I.js} +1 -1
- package/dist/{chunk-NHCOTCI6.js → chunk-A7SGEBXJ.js} +2 -2
- package/dist/{chunk-5MPQSNZF.js → chunk-AUTCT6AY.js} +1 -1
- package/dist/{chunk-OEKSTOTE.js → chunk-AZAZ2C75.js} +1 -1
- package/dist/chunk-CHCA3ZM2.js +167 -0
- package/dist/{chunk-X347L57O.js → chunk-CSTJQDOE.js} +4 -3
- package/dist/{chunk-B234R3VW.js → chunk-D7WLV6WD.js} +2 -2
- package/dist/{chunk-GMXF3AHJ.js → chunk-DGAONW36.js} +1 -1
- package/dist/chunk-EAT5YL3W.js +229 -0
- package/dist/{chunk-OD4H5YCJ.js → chunk-EKTQE2R5.js} +8 -8
- package/dist/{chunk-Z44PC42G.js → chunk-ELUBA7XL.js} +2 -2
- package/dist/{chunk-ZWS6XQER.js → chunk-F5AKOE4P.js} +7 -7
- package/dist/{chunk-T5YULDDO.js → chunk-FVI4UBKO.js} +27 -4
- package/dist/{chunk-ESRI7MFI.js → chunk-GAN7PW6G.js} +28 -24
- package/dist/{chunk-K4OWYJSP.js → chunk-GM2WZTG3.js} +2 -2
- package/dist/{chunk-TAB5QGIK.js → chunk-GZYQTPTF.js} +3 -3
- package/dist/{chunk-CXDU5DE3.js → chunk-IAUNGATJ.js} +1 -1
- package/dist/{chunk-YS63NS6M.js → chunk-IHSM5GR4.js} +1 -1
- package/dist/{chunk-23PTS2ZD.js → chunk-IP7KJAUW.js} +117 -15
- package/dist/{chunk-D6IMJAV2.js → chunk-J64P2LB2.js} +2 -2
- package/dist/{chunk-CXAVSQZM.js → chunk-JXMSCKRM.js} +1 -1
- package/dist/{chunk-RQMK3IQH.js → chunk-K4OTJP6N.js} +14 -7
- package/dist/{chunk-L7ROZR2H.js → chunk-KXAUMIOX.js} +1 -1
- package/dist/{chunk-TPC3LAP7.js → chunk-LGY2BIOT.js} +13 -0
- package/dist/{chunk-RPIDSBK7.js → chunk-LLHRJEE4.js} +3 -3
- package/dist/{chunk-6WG2VIKC.js → chunk-LM7H6XU4.js} +1 -1
- package/dist/{chunk-Y6GMKZZ2.js → chunk-LOFFGJSY.js} +150 -23
- package/dist/{chunk-W7SDGBEC.js → chunk-MFI5OXYW.js} +52 -84
- package/dist/{chunk-KNPEVPYG.js → chunk-MSSQWF6X.js} +2 -2
- package/dist/{chunk-QIQAO3VG.js → chunk-NEFFFKMD.js} +3 -3
- package/dist/{chunk-YUC552KZ.js → chunk-NEHONJJC.js} +3 -3
- package/dist/{chunk-KZ7SXZ2V.js → chunk-NFMQRLCD.js} +1 -1
- package/dist/{chunk-52HCNDPG.js → chunk-O4TATDOV.js} +1 -1
- package/dist/{chunk-AR3OYGLB.js → chunk-PEFBRL4S.js} +28 -6
- package/dist/{chunk-AEUXUEJG.js → chunk-PEXVU3HU.js} +5 -3
- package/dist/chunk-Q2G5C3HV.js +217 -0
- package/dist/{chunk-KOO56JVC.js → chunk-Q6N6LDEJ.js} +1 -1
- package/dist/{chunk-TXSJ2L5O.js → chunk-QI4IXJN7.js} +1 -1
- package/dist/{chunk-HLVQ5Y7B.js → chunk-RE4VLK45.js} +1 -1
- package/dist/{chunk-TF6SZGDT.js → chunk-SA2PH6WY.js} +1 -1
- package/dist/{chunk-5RSYY7BE.js → chunk-SJYOPYXH.js} +117 -9
- package/dist/{chunk-PJGHBANY.js → chunk-TTJE7CCU.js} +1 -1
- package/dist/{chunk-A7KEWR6S.js → chunk-TXWQPL2U.js} +1 -1
- package/dist/{chunk-XXSJ35J5.js → chunk-U5ZH52FB.js} +2 -2
- package/dist/{chunk-G4FDG3LK.js → chunk-UVNDLF74.js} +63 -40
- package/dist/{chunk-5OD3AFRW.js → chunk-V6RCZ25F.js} +1 -1
- package/dist/{chunk-LHMBIFKD.js → chunk-VYNNN2S3.js} +4 -4
- package/dist/chunk-WCYT54XP.js +934 -0
- package/dist/{chunk-5AMSQRHT.js → chunk-XGYSTVUH.js} +1 -1
- package/dist/{chunk-MKZBHM6A.js → chunk-XLWF3C4R.js} +4 -4
- package/dist/{chunk-YL36L2SN.js → chunk-Y7YHLV57.js} +1 -1
- package/dist/{chunk-HZC4MR4H.js → chunk-YBKB2PXY.js} +1 -1
- package/dist/{chunk-NWM3A4TK.js → chunk-ZDNLKXZA.js} +1 -1
- package/dist/{chunk-O7KW6QMH.js → chunk-ZW4TKQUM.js} +15 -5
- package/dist/{chunk-6BURHBE6.js → chunk-ZXB44R3E.js} +32 -11
- package/dist/co-occurrence-WCED475N.js +73 -0
- package/dist/{code-context-index-B6VIWPSF.js → code-context-index-LSZ3DKTJ.js} +2 -2
- package/dist/{crdt-sync-XA22KI3S.js → crdt-sync-PBXZTHZC.js} +1 -1
- package/dist/{crm-webhook-CIZNOEY4.js → crm-webhook-W7Q25VZU.js} +2 -2
- package/dist/{cto-delegation-gate-H5IULFRC.js → cto-delegation-gate-JKULOLMC.js} +8 -8
- package/dist/{daemon-orchestration-VO5XQIJL.js → daemon-orchestration-CHV6MB42.js} +13 -11
- package/dist/{exe-drift-DMT75WR3.js → exe-drift-PW36OULT.js} +2 -2
- package/dist/{exe-export-2RZWOSX6.js → exe-export-XQOD3KE6.js} +6 -5
- package/dist/{exe-import-NFNYATHL.js → exe-import-QOFP67LW.js} +6 -5
- package/dist/{exe-key-4D7CF3BU.js → exe-key-WQ34UZR6.js} +1 -1
- package/dist/{fast-db-init-LAEISZQ2.js → fast-db-init-UKETGWQI.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-M46AYLPP.js → git-staleness-ATV5CGAP.js} +1 -1
- package/dist/{git-task-sweep-PXOS56YT.js → git-task-sweep-KXZRIP4T.js} +9 -9
- package/dist/{global-procedures-KROQQX54.js → global-procedures-G6IKCYKM.js} +3 -3
- package/dist/{graph-auto-extract-QJ2BBJM2.js → graph-auto-extract-ZJXJOLE2.js} +1 -1
- package/dist/hooks/bug-report-worker.js +10 -10
- package/dist/hooks/codex-stop-task-finalizer.js +10 -10
- package/dist/hooks/commit-complete.js +11 -11
- package/dist/hooks/error-recall.js +8 -7
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest-worker.js +3 -3
- package/dist/hooks/ingest.js +9 -9
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +10 -10
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +16 -16
- package/dist/hooks/pre-tool-use.js +14 -14
- package/dist/hooks/prompt-submit.js +30 -29
- package/dist/hooks/session-end.js +46 -25
- package/dist/hooks/session-start.js +48 -10
- package/dist/hooks/stop.js +17 -17
- package/dist/hooks/subagent-stop.js +10 -10
- package/dist/hooks/summary-worker.js +17 -16
- package/dist/index.js +17 -17
- package/dist/{installer-SDBLJBAB.js → installer-DE2LH5EC.js} +4 -4
- package/dist/{installer-ZA6QNQ4P.js → installer-M2MDS7HC.js} +4 -4
- package/dist/{installer-6KAY6LD6.js → installer-VE23YFXU.js} +4 -4
- package/dist/{intercom-queue-K3DVKSPJ.js → intercom-queue-RNM6EPGA.js} +1 -1
- package/dist/keyword-extractor-UJHFWVZE.js +11 -0
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +5 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db-daemon-client.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/embed-worker.js +98 -0
- package/dist/lib/embedder.js +2 -2
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon-client.js +1 -1
- package/dist/lib/exe-daemon.js +523 -500
- package/dist/lib/hybrid-search.js +5 -6
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +9 -9
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +5 -4
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +4 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +9 -9
- package/dist/lib/tmux-routing.js +8 -8
- package/dist/lib/tmux-transport.js +1 -1
- package/dist/lib/token-spend.js +2 -2
- package/dist/lib/transport.js +2 -2
- package/dist/lib/ws-client.js +3 -1
- package/dist/mcp/register-tools.js +54 -51
- package/dist/mcp/server.js +58 -55
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +11 -11
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +11 -11
- package/dist/mcp/tools/send-message.js +11 -11
- package/dist/mcp/tools/update-task.js +10 -10
- package/dist/{mcp-http-config-LK2EDOEJ.js → mcp-http-config-Z2E4VUOF.js} +2 -2
- package/dist/{memory-cards-V3DKSRWL.js → memory-cards-SFDKDIAW.js} +1 -1
- package/dist/memory-graph-extractor-YD4GNH7T.js +16 -0
- package/dist/{memory-poisoning-defense-3B75HS74.js → memory-poisoning-defense-VEGNFELN.js} +1 -1
- package/dist/{memory-queue-client-LFPZPPQA.js → memory-queue-client-5HB2XUH7.js} +2 -2
- package/dist/{memory-reflection-HTDAUUE5.js → memory-reflection-MTPRQNI6.js} +2 -2
- package/dist/{notifications-76VCYXWW.js → notifications-6TCE6OBG.js} +8 -8
- package/dist/{orchestrator-CBNSBI5P.js → orchestrator-W2GYJR23.js} +10 -10
- package/dist/{plan-limits-SOR3QXKV.js → plan-limits-4EP46323.js} +2 -2
- package/dist/{projection-worker-FK5YOEIL.js → projection-worker-EBUYNMU2.js} +1 -1
- package/dist/{review-polling-ZLNDUKL4.js → review-polling-2N7KQFZZ.js} +9 -9
- package/dist/runtime/index.js +15 -15
- package/dist/{session-events-CUSPL25D.js → session-events-K47FHAXJ.js} +9 -9
- package/dist/{session-kill-telemetry-FLBRHBDP.js → session-kill-telemetry-275YUXM5.js} +2 -2
- package/dist/{session-scope-PX2ABSJO.js → session-scope-XSFJZEER.js} +8 -8
- package/dist/{setup-wizard-Y6PBZGFX.js → setup-wizard-UEO7HYLQ.js} +1 -1
- package/dist/{skill-refinement-L7PGKCYO.js → skill-refinement-WXBTANDQ.js} +1 -1
- package/dist/stack-update-2B2UXREV.js +50 -0
- package/dist/{task-enforcement-7FUILB63.js → task-enforcement-2JIJSXPU.js} +14 -16
- package/dist/{task-scope-2N45TE32.js → task-scope-W73Z3XWE.js} +8 -8
- package/dist/{tasks-crud-ADLCGHGH.js → tasks-crud-HPJKI3QQ.js} +8 -8
- package/dist/{tasks-review-PJ2DUI6N.js → tasks-review-MXLMPGNZ.js} +8 -8
- package/dist/{token-budget-T5DFXVTM.js → token-budget-BA46CVHX.js} +1 -1
- package/dist/{tool-capability-index-6JJN6ZRC.js → tool-capability-index-42VVN5BS.js} +1 -1
- package/dist/{tool-telemetry-72PVO5HV.js → tool-telemetry-GZ5E2AUL.js} +1 -1
- package/dist/tui/App.js +22 -18
- package/dist/{tui-data-63JHE6EZ.js → tui-data-PVXWQCJX.js} +8 -8
- package/dist/{worker-gate-REVBJUZ6.js → worker-gate-WTTK64TK.js} +1 -1
- package/dist/{workflow-engine-W2WNHJG5.js → workflow-engine-LT3WTT7V.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +209 -209
- /package/dist/{chunk-BNOZUS6J.js → chunk-6VVCAVRT.js} +0 -0
- /package/dist/{chunk-IC7GKK6I.js → chunk-CWQZZ7X3.js} +0 -0
- /package/dist/{chunk-ZI2ZVERO.js → chunk-EIW5GOBW.js} +0 -0
- /package/dist/{chunk-2BGGDNRD.js → chunk-IPPJEM26.js} +0 -0
- /package/dist/{chunk-4ISDU5KR.js → chunk-K5UR73PM.js} +0 -0
- /package/dist/{chunk-ZWRTVUQ6.js → chunk-KIMO5S45.js} +0 -0
- /package/dist/{chunk-S2FX5KJ4.js → chunk-WBLILGAP.js} +0 -0
- /package/dist/{core-memory-PCJ3L46L.js → core-memory-RAC6M67J.js} +0 -0
- /package/dist/{entity-boost-GHFPE6A2.js → entity-boost-5FIRFRDC.js} +0 -0
- /package/dist/{message-queue-client-CHRQYBH5.js → message-queue-client-PTQ2S7D7.js} +0 -0
- /package/dist/{wiki-acl-QYRAYYVQ.js → wiki-acl-MSDRCIAI.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-F5AKOE4P.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-K5UR73PM.js";
|
|
7
7
|
import {
|
|
8
8
|
listTasks
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-MFI5OXYW.js";
|
|
10
10
|
import "../chunk-LOQCOHEW.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-QI4IXJN7.js";
|
|
12
12
|
import "../chunk-64WZEXXA.js";
|
|
13
|
-
import "../chunk-A7KEWR6S.js";
|
|
14
|
-
import "../chunk-X347L57O.js";
|
|
15
13
|
import "../chunk-GZIAQYGI.js";
|
|
14
|
+
import "../chunk-TXWQPL2U.js";
|
|
15
|
+
import "../chunk-CSTJQDOE.js";
|
|
16
16
|
import "../chunk-ZQX6UOP6.js";
|
|
17
17
|
import "../chunk-H2CFBUGF.js";
|
|
18
18
|
import "../chunk-NGP6LSV2.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-OPU3NYOO.js";
|
|
19
|
+
import "../chunk-RE4VLK45.js";
|
|
21
20
|
import "../chunk-CVYC6DUW.js";
|
|
21
|
+
import "../chunk-OPU3NYOO.js";
|
|
22
22
|
import "../chunk-GJV3WDWM.js";
|
|
23
23
|
import "../chunk-MP2AFCGL.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-IHSM5GR4.js";
|
|
25
25
|
import "../chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
canCoordinate
|
|
28
|
-
} from "../chunk-
|
|
28
|
+
} from "../chunk-SJYOPYXH.js";
|
|
29
29
|
import "../chunk-RVSGXGWG.js";
|
|
30
30
|
import "../chunk-FXU7JOXK.js";
|
|
31
31
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractKeywords,
|
|
3
3
|
matchScore
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-3FW5LUGI.js";
|
|
5
|
+
import "../chunk-MFI5OXYW.js";
|
|
6
6
|
import "../chunk-LOQCOHEW.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-QI4IXJN7.js";
|
|
8
8
|
import "../chunk-64WZEXXA.js";
|
|
9
|
-
import "../chunk-A7KEWR6S.js";
|
|
10
|
-
import "../chunk-X347L57O.js";
|
|
11
9
|
import "../chunk-GZIAQYGI.js";
|
|
10
|
+
import "../chunk-TXWQPL2U.js";
|
|
11
|
+
import "../chunk-CSTJQDOE.js";
|
|
12
12
|
import "../chunk-ZQX6UOP6.js";
|
|
13
13
|
import "../chunk-H2CFBUGF.js";
|
|
14
14
|
import "../chunk-NGP6LSV2.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-OPU3NYOO.js";
|
|
15
|
+
import "../chunk-RE4VLK45.js";
|
|
17
16
|
import "../chunk-CVYC6DUW.js";
|
|
17
|
+
import "../chunk-OPU3NYOO.js";
|
|
18
18
|
import "../chunk-GJV3WDWM.js";
|
|
19
19
|
import "../chunk-MP2AFCGL.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-IHSM5GR4.js";
|
|
21
21
|
import "../chunk-HYZV25LY.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-SJYOPYXH.js";
|
|
23
23
|
import "../chunk-RVSGXGWG.js";
|
|
24
24
|
import "../chunk-FXU7JOXK.js";
|
|
25
25
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -74,13 +74,13 @@ async function main() {
|
|
|
74
74
|
const changedFiles = getChangedFiles(commitHash);
|
|
75
75
|
let client;
|
|
76
76
|
try {
|
|
77
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
77
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
78
78
|
client = await fastDbInit();
|
|
79
79
|
} catch {
|
|
80
80
|
process.stderr.write("[commit-complete] DB init failed \u2014 skipping\n");
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
|
-
const { listTasks, updateTaskStatus } = await import("../tasks-crud-
|
|
83
|
+
const { listTasks, updateTaskStatus } = await import("../tasks-crud-HPJKI3QQ.js");
|
|
84
84
|
const tasks = await listTasks({
|
|
85
85
|
assignedTo: agentId,
|
|
86
86
|
status: "in_progress",
|
|
@@ -4,22 +4,23 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
hybridSearch,
|
|
6
6
|
lightweightSearch
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-IP7KJAUW.js";
|
|
8
|
+
import {
|
|
9
|
+
initStore
|
|
10
|
+
} from "../chunk-ZXB44R3E.js";
|
|
11
|
+
import "../chunk-CHCA3ZM2.js";
|
|
12
|
+
import "../chunk-WBLILGAP.js";
|
|
8
13
|
import "../chunk-SH45SJQW.js";
|
|
9
14
|
import {
|
|
10
15
|
getActiveAgent
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import {
|
|
13
|
-
initStore
|
|
14
|
-
} from "../chunk-6BURHBE6.js";
|
|
15
|
-
import "../chunk-S2FX5KJ4.js";
|
|
16
|
+
} from "../chunk-LM7H6XU4.js";
|
|
16
17
|
import "../chunk-CVYC6DUW.js";
|
|
17
18
|
import "../chunk-GJV3WDWM.js";
|
|
18
19
|
import "../chunk-MP2AFCGL.js";
|
|
19
20
|
import "../chunk-HYZV25LY.js";
|
|
20
21
|
import {
|
|
21
22
|
getClient
|
|
22
|
-
} from "../chunk-
|
|
23
|
+
} from "../chunk-SJYOPYXH.js";
|
|
23
24
|
import "../chunk-RVSGXGWG.js";
|
|
24
25
|
import "../chunk-FXU7JOXK.js";
|
|
25
26
|
import "../chunk-6D23UNXU.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LM7H6XU4.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-SJYOPYXH.js";
|
|
10
10
|
import "../chunk-RVSGXGWG.js";
|
|
11
11
|
import "../chunk-FXU7JOXK.js";
|
|
12
12
|
import "../chunk-4GXRETYL.js";
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
buildPostToolMemoryEntry
|
|
3
3
|
} from "../chunk-S6DA6UKC.js";
|
|
4
4
|
import "../chunk-NAFWZIP3.js";
|
|
5
|
-
import "../chunk-AHMUF6RO.js";
|
|
6
5
|
import {
|
|
7
6
|
writeMemoryViaDaemon
|
|
8
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-V6RCZ25F.js";
|
|
9
8
|
import "../chunk-GUCKE3GK.js";
|
|
10
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-UVNDLF74.js";
|
|
11
10
|
import "../chunk-CMFLJNP6.js";
|
|
11
|
+
import "../chunk-AHMUF6RO.js";
|
|
12
12
|
import "../chunk-OPU3NYOO.js";
|
|
13
13
|
import "../chunk-GJV3WDWM.js";
|
|
14
14
|
import "../chunk-PWMMIGVQ.js";
|
package/dist/hooks/ingest.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
registerWorkerPid,
|
|
3
3
|
tryAcquireWorkerSlot
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import {
|
|
6
|
-
recordApiCall
|
|
7
|
-
} from "../chunk-6A7P74QV.js";
|
|
8
|
-
import "../chunk-YSU7JB7H.js";
|
|
4
|
+
} from "../chunk-XGYSTVUH.js";
|
|
9
5
|
import {
|
|
10
6
|
classifyError,
|
|
11
7
|
detectError,
|
|
12
8
|
errorFingerprint,
|
|
13
9
|
isExeOsError
|
|
14
10
|
} from "../chunk-AHMUF6RO.js";
|
|
11
|
+
import {
|
|
12
|
+
recordApiCall
|
|
13
|
+
} from "../chunk-6A7P74QV.js";
|
|
14
|
+
import "../chunk-YSU7JB7H.js";
|
|
15
15
|
import "../chunk-SH45SJQW.js";
|
|
16
16
|
import {
|
|
17
17
|
getActiveAgent
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-LM7H6XU4.js";
|
|
19
19
|
import {
|
|
20
20
|
getSessionKey
|
|
21
21
|
} from "../chunk-CVYC6DUW.js";
|
|
@@ -23,7 +23,7 @@ import "../chunk-GJV3WDWM.js";
|
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
24
|
import {
|
|
25
25
|
getCoordinatorName
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-SJYOPYXH.js";
|
|
27
27
|
import "../chunk-RVSGXGWG.js";
|
|
28
28
|
import "../chunk-FXU7JOXK.js";
|
|
29
29
|
import {
|
|
@@ -114,7 +114,7 @@ process.stdin.on("end", async () => {
|
|
|
114
114
|
if (filePath) {
|
|
115
115
|
const { initStore } = await import("../lib/store.js");
|
|
116
116
|
await initStore({ lightweight: true });
|
|
117
|
-
const { recordFileRead } = await import("../git-staleness-
|
|
117
|
+
const { recordFileRead } = await import("../git-staleness-ATV5CGAP.js");
|
|
118
118
|
await recordFileRead(
|
|
119
119
|
data.session_id,
|
|
120
120
|
agent.agentId,
|
|
@@ -320,7 +320,7 @@ Your output files must start with: exe/output/${agent.agentId}-`
|
|
|
320
320
|
if (taskData.taskId) {
|
|
321
321
|
const { initStore: cpInit } = await import("../lib/store.js");
|
|
322
322
|
await cpInit();
|
|
323
|
-
const { writeCheckpoint } = await import("../tasks-crud-
|
|
323
|
+
const { writeCheckpoint } = await import("../tasks-crud-HPJKI3QQ.js");
|
|
324
324
|
await writeCheckpoint({
|
|
325
325
|
taskId: taskData.taskId,
|
|
326
326
|
step: `auto_checkpoint_${counter.total}`,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LM7H6XU4.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
7
|
import {
|
|
8
8
|
getIdentityInjection
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-SJYOPYXH.js";
|
|
10
10
|
import "../chunk-RVSGXGWG.js";
|
|
11
11
|
import "../chunk-FXU7JOXK.js";
|
|
12
12
|
import "../chunk-4GXRETYL.js";
|
|
@@ -49,7 +49,7 @@ process.stdin.on("end", async () => {
|
|
|
49
49
|
pass = false;
|
|
50
50
|
}
|
|
51
51
|
try {
|
|
52
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
52
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
53
53
|
await fastDbInit();
|
|
54
54
|
const { getClient } = await import("../lib/database.js");
|
|
55
55
|
const client = getClient();
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LM7H6XU4.js";
|
|
5
5
|
import "../chunk-CVYC6DUW.js";
|
|
6
6
|
import "../chunk-GJV3WDWM.js";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-SJYOPYXH.js";
|
|
8
8
|
import "../chunk-RVSGXGWG.js";
|
|
9
9
|
import "../chunk-FXU7JOXK.js";
|
|
10
10
|
import "../chunk-4GXRETYL.js";
|
|
@@ -36,7 +36,7 @@ process.stdin.on("end", async () => {
|
|
|
36
36
|
process.exit(0);
|
|
37
37
|
}
|
|
38
38
|
try {
|
|
39
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
39
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
40
40
|
await fastDbInit();
|
|
41
41
|
const { getClient } = await import("../lib/database.js");
|
|
42
42
|
const { randomUUID } = await import("crypto");
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import "../chunk-SH45SJQW.js";
|
|
2
2
|
import {
|
|
3
3
|
getActiveAgent
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-LM7H6XU4.js";
|
|
5
5
|
import {
|
|
6
6
|
sessionScopeFilter
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-MFI5OXYW.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
|
-
import "../chunk-
|
|
9
|
+
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
11
|
-
import "../chunk-A7KEWR6S.js";
|
|
12
|
-
import "../chunk-X347L57O.js";
|
|
13
11
|
import "../chunk-GZIAQYGI.js";
|
|
12
|
+
import "../chunk-TXWQPL2U.js";
|
|
13
|
+
import "../chunk-CSTJQDOE.js";
|
|
14
14
|
import "../chunk-ZQX6UOP6.js";
|
|
15
15
|
import "../chunk-H2CFBUGF.js";
|
|
16
16
|
import "../chunk-NGP6LSV2.js";
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-OPU3NYOO.js";
|
|
17
|
+
import "../chunk-RE4VLK45.js";
|
|
19
18
|
import "../chunk-CVYC6DUW.js";
|
|
19
|
+
import "../chunk-OPU3NYOO.js";
|
|
20
20
|
import "../chunk-GJV3WDWM.js";
|
|
21
21
|
import "../chunk-MP2AFCGL.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-IHSM5GR4.js";
|
|
23
23
|
import "../chunk-HYZV25LY.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-SJYOPYXH.js";
|
|
25
25
|
import "../chunk-RVSGXGWG.js";
|
|
26
26
|
import "../chunk-FXU7JOXK.js";
|
|
27
27
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -67,7 +67,7 @@ ${identity}`);
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
try {
|
|
70
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
70
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
71
71
|
await fastDbInit();
|
|
72
72
|
const { getClient } = await import("../lib/database.js");
|
|
73
73
|
const client = getClient();
|
|
@@ -47,7 +47,7 @@ ${context}`
|
|
|
47
47
|
try {
|
|
48
48
|
const payload = JSON.parse(input);
|
|
49
49
|
const toolName = String(payload.tool_name ?? "");
|
|
50
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
50
|
+
const { getActiveAgent } = await import("../active-agent-DGTIJN2U.js");
|
|
51
51
|
const driftAgent = getActiveAgent();
|
|
52
52
|
if (driftAgent.agentId !== "default" && toolName) {
|
|
53
53
|
const { existsSync: driftExists, readFileSync: driftRead, writeFileSync: driftWrite, mkdirSync: driftMkdir } = await import("fs");
|
|
@@ -106,12 +106,12 @@ You are **${driftAgent.agentId}** (${driftAgent.agentRole}). You've used ${misma
|
|
|
106
106
|
}
|
|
107
107
|
try {
|
|
108
108
|
const data = JSON.parse(input);
|
|
109
|
-
const { getActiveAgent } = await import("../active-agent-
|
|
109
|
+
const { getActiveAgent } = await import("../active-agent-DGTIJN2U.js");
|
|
110
110
|
const { detectError } = await import("../lib/error-detector.js");
|
|
111
111
|
const agent = getActiveAgent();
|
|
112
112
|
try {
|
|
113
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
114
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
113
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
114
|
+
const { recordSessionEvent } = await import("../session-events-K47FHAXJ.js");
|
|
115
115
|
const client = await fastDbInit();
|
|
116
116
|
const toolName = String(data.tool_name ?? "unknown");
|
|
117
117
|
const toolInput = JSON.stringify(data.tool_input ?? {});
|
|
@@ -135,7 +135,7 @@ result: ${toolResponse.slice(0, 8e3)}`,
|
|
|
135
135
|
}
|
|
136
136
|
const { loadConfigSync } = await import("../lib/config.js");
|
|
137
137
|
if (loadConfigSync().autoIngestion) {
|
|
138
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
138
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-5HB2XUH7.js");
|
|
139
139
|
const { buildPostToolMemoryEntry } = await import("../lib/post-tool-memory.js");
|
|
140
140
|
const entry = buildPostToolMemoryEntry(data, agent);
|
|
141
141
|
if (entry) await writeMemoryViaDaemon(entry);
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import "../chunk-SH45SJQW.js";
|
|
2
|
-
import {
|
|
3
|
-
getActiveAgent
|
|
4
|
-
} from "../chunk-6WG2VIKC.js";
|
|
5
1
|
import {
|
|
6
2
|
checkpointActiveTask,
|
|
7
3
|
writeContinuityCheckpoint
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-NFMQRLCD.js";
|
|
5
|
+
import "../chunk-V6RCZ25F.js";
|
|
10
6
|
import "../chunk-GUCKE3GK.js";
|
|
11
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-UVNDLF74.js";
|
|
12
8
|
import "../chunk-CMFLJNP6.js";
|
|
9
|
+
import "../chunk-SH45SJQW.js";
|
|
10
|
+
import {
|
|
11
|
+
getActiveAgent
|
|
12
|
+
} from "../chunk-LM7H6XU4.js";
|
|
13
13
|
import {
|
|
14
14
|
sessionScopeFilter
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-MFI5OXYW.js";
|
|
16
16
|
import "../chunk-LOQCOHEW.js";
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-QI4IXJN7.js";
|
|
18
18
|
import "../chunk-64WZEXXA.js";
|
|
19
|
-
import "../chunk-A7KEWR6S.js";
|
|
20
|
-
import "../chunk-X347L57O.js";
|
|
21
19
|
import "../chunk-GZIAQYGI.js";
|
|
20
|
+
import "../chunk-TXWQPL2U.js";
|
|
21
|
+
import "../chunk-CSTJQDOE.js";
|
|
22
22
|
import "../chunk-ZQX6UOP6.js";
|
|
23
23
|
import "../chunk-H2CFBUGF.js";
|
|
24
24
|
import "../chunk-NGP6LSV2.js";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-OPU3NYOO.js";
|
|
25
|
+
import "../chunk-RE4VLK45.js";
|
|
27
26
|
import "../chunk-CVYC6DUW.js";
|
|
27
|
+
import "../chunk-OPU3NYOO.js";
|
|
28
28
|
import "../chunk-GJV3WDWM.js";
|
|
29
29
|
import "../chunk-MP2AFCGL.js";
|
|
30
30
|
import "../chunk-PWMMIGVQ.js";
|
|
31
|
-
import "../chunk-
|
|
31
|
+
import "../chunk-IHSM5GR4.js";
|
|
32
32
|
import "../chunk-HYZV25LY.js";
|
|
33
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-SJYOPYXH.js";
|
|
34
34
|
import "../chunk-RVSGXGWG.js";
|
|
35
35
|
import "../chunk-FXU7JOXK.js";
|
|
36
36
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -60,7 +60,7 @@ process.stdin.on("end", async () => {
|
|
|
60
60
|
const agent = getActiveAgent();
|
|
61
61
|
const sections = [];
|
|
62
62
|
try {
|
|
63
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
63
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
64
64
|
const client = await fastDbInit();
|
|
65
65
|
const projectName = process.cwd().split("/").pop() ?? "unknown";
|
|
66
66
|
const pcScope = sessionScopeFilter();
|
|
@@ -2,32 +2,32 @@ import "../chunk-YSU7JB7H.js";
|
|
|
2
2
|
import "../chunk-SH45SJQW.js";
|
|
3
3
|
import {
|
|
4
4
|
getActiveAgent
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-LM7H6XU4.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-MFI5OXYW.js";
|
|
9
9
|
import "../chunk-LOQCOHEW.js";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-QI4IXJN7.js";
|
|
11
11
|
import "../chunk-64WZEXXA.js";
|
|
12
|
-
import "../chunk-A7KEWR6S.js";
|
|
13
|
-
import "../chunk-X347L57O.js";
|
|
14
12
|
import "../chunk-GZIAQYGI.js";
|
|
13
|
+
import "../chunk-TXWQPL2U.js";
|
|
14
|
+
import "../chunk-CSTJQDOE.js";
|
|
15
15
|
import "../chunk-ZQX6UOP6.js";
|
|
16
16
|
import "../chunk-H2CFBUGF.js";
|
|
17
17
|
import "../chunk-NGP6LSV2.js";
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-OPU3NYOO.js";
|
|
18
|
+
import "../chunk-RE4VLK45.js";
|
|
20
19
|
import {
|
|
21
20
|
getSessionKey
|
|
22
21
|
} from "../chunk-CVYC6DUW.js";
|
|
22
|
+
import "../chunk-OPU3NYOO.js";
|
|
23
23
|
import "../chunk-GJV3WDWM.js";
|
|
24
24
|
import "../chunk-MP2AFCGL.js";
|
|
25
|
-
import "../chunk-
|
|
25
|
+
import "../chunk-IHSM5GR4.js";
|
|
26
26
|
import "../chunk-HYZV25LY.js";
|
|
27
27
|
import {
|
|
28
28
|
canCoordinate,
|
|
29
29
|
loadEmployeesSync
|
|
30
|
-
} from "../chunk-
|
|
30
|
+
} from "../chunk-SJYOPYXH.js";
|
|
31
31
|
import "../chunk-RVSGXGWG.js";
|
|
32
32
|
import "../chunk-FXU7JOXK.js";
|
|
33
33
|
import "../chunk-MVMMULOJ.js";
|
|
@@ -202,15 +202,15 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
202
202
|
process.exit(0);
|
|
203
203
|
}
|
|
204
204
|
}
|
|
205
|
-
const { getGatedAgent } = await import("../cto-delegation-gate-
|
|
205
|
+
const { getGatedAgent } = await import("../cto-delegation-gate-JKULOLMC.js");
|
|
206
206
|
const gatedAgent = getGatedAgent();
|
|
207
207
|
if (agent.agentId === gatedAgent && /^(Write|Edit)$/.test(data.tool_name)) {
|
|
208
208
|
const filePath = data.tool_input?.file_path ?? "";
|
|
209
209
|
if (filePath) {
|
|
210
210
|
try {
|
|
211
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
211
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
212
212
|
await fastDbInit();
|
|
213
|
-
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-
|
|
213
|
+
const { evaluateDelegationGate, GATE_BLOCK_MESSAGE } = await import("../cto-delegation-gate-JKULOLMC.js");
|
|
214
214
|
const decision = await evaluateDelegationGate({
|
|
215
215
|
agentId: agent.agentId,
|
|
216
216
|
toolName: data.tool_name,
|
|
@@ -255,7 +255,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
255
255
|
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);
|
|
256
256
|
if (isUpdateTaskDone) {
|
|
257
257
|
try {
|
|
258
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
258
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
259
259
|
const client = await fastDbInit();
|
|
260
260
|
const taskId = String(toolInput.task_id ?? "");
|
|
261
261
|
const ptScope = sessionScopeFilter();
|
|
@@ -313,7 +313,7 @@ Do NOT report this as successful. No file was changed. If you are a sub-agent, r
|
|
|
313
313
|
}
|
|
314
314
|
if (CTO_ROLES.includes(agent.agentRole) && !hasDelegationFired()) {
|
|
315
315
|
try {
|
|
316
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
316
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
317
317
|
const client = await fastDbInit();
|
|
318
318
|
const dlScope = sessionScopeFilter();
|
|
319
319
|
const result = await client.execute({
|
|
@@ -1,45 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
hybridSearch,
|
|
3
|
+
lightweightSearch
|
|
4
|
+
} from "../chunk-IP7KJAUW.js";
|
|
5
|
+
import {
|
|
6
|
+
initStore
|
|
7
|
+
} from "../chunk-ZXB44R3E.js";
|
|
8
|
+
import "../chunk-CHCA3ZM2.js";
|
|
9
|
+
import "../chunk-WBLILGAP.js";
|
|
1
10
|
import {
|
|
2
11
|
isCacheCold
|
|
3
12
|
} from "../chunk-6A7P74QV.js";
|
|
4
13
|
import "../chunk-YSU7JB7H.js";
|
|
5
|
-
import {
|
|
6
|
-
hybridSearch,
|
|
7
|
-
lightweightSearch
|
|
8
|
-
} from "../chunk-23PTS2ZD.js";
|
|
9
14
|
import "../chunk-SH45SJQW.js";
|
|
10
15
|
import {
|
|
11
16
|
getActiveAgent
|
|
12
|
-
} from "../chunk-
|
|
13
|
-
import {
|
|
14
|
-
initStore
|
|
15
|
-
} from "../chunk-6BURHBE6.js";
|
|
16
|
-
import "../chunk-S2FX5KJ4.js";
|
|
17
|
+
} from "../chunk-LM7H6XU4.js";
|
|
17
18
|
import {
|
|
18
19
|
isExeSession
|
|
19
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-MFI5OXYW.js";
|
|
20
21
|
import "../chunk-LOQCOHEW.js";
|
|
21
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-QI4IXJN7.js";
|
|
22
23
|
import "../chunk-64WZEXXA.js";
|
|
23
|
-
import "../chunk-A7KEWR6S.js";
|
|
24
|
-
import "../chunk-X347L57O.js";
|
|
25
24
|
import "../chunk-GZIAQYGI.js";
|
|
25
|
+
import "../chunk-TXWQPL2U.js";
|
|
26
|
+
import "../chunk-CSTJQDOE.js";
|
|
26
27
|
import "../chunk-ZQX6UOP6.js";
|
|
27
28
|
import "../chunk-H2CFBUGF.js";
|
|
28
29
|
import "../chunk-NGP6LSV2.js";
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import {
|
|
31
|
-
getProjectName
|
|
32
|
-
} from "../chunk-OPU3NYOO.js";
|
|
30
|
+
import "../chunk-RE4VLK45.js";
|
|
33
31
|
import {
|
|
34
32
|
getSessionKey
|
|
35
33
|
} from "../chunk-CVYC6DUW.js";
|
|
34
|
+
import {
|
|
35
|
+
getProjectName
|
|
36
|
+
} from "../chunk-OPU3NYOO.js";
|
|
36
37
|
import "../chunk-GJV3WDWM.js";
|
|
37
38
|
import "../chunk-MP2AFCGL.js";
|
|
38
|
-
import "../chunk-
|
|
39
|
+
import "../chunk-IHSM5GR4.js";
|
|
39
40
|
import "../chunk-HYZV25LY.js";
|
|
40
41
|
import {
|
|
41
42
|
canCoordinate
|
|
42
|
-
} from "../chunk-
|
|
43
|
+
} from "../chunk-SJYOPYXH.js";
|
|
43
44
|
import "../chunk-RVSGXGWG.js";
|
|
44
45
|
import "../chunk-FXU7JOXK.js";
|
|
45
46
|
import "../chunk-6D23UNXU.js";
|
|
@@ -148,7 +149,7 @@ process.stdin.on("end", async () => {
|
|
|
148
149
|
if (inTmux) try {
|
|
149
150
|
const currentSession = getTmuxSession();
|
|
150
151
|
if (currentSession) {
|
|
151
|
-
const { drainForSession } = await import("../intercom-queue-
|
|
152
|
+
const { drainForSession } = await import("../intercom-queue-RNM6EPGA.js");
|
|
152
153
|
const transport = (await import("../lib/transport.js")).getTransport();
|
|
153
154
|
const { getAgentRuntime } = await import("../lib/agent-config.js");
|
|
154
155
|
const { baseAgentName } = await import("../lib/employees.js");
|
|
@@ -177,7 +178,7 @@ process.stdin.on("end", async () => {
|
|
|
177
178
|
if (isSessionBusy(session) || hasInProgressTask(agentName)) return true;
|
|
178
179
|
const rtConfig = getAgentRuntime(agentName);
|
|
179
180
|
const nudgeMsg = "You have pending notifications. Run list_tasks to check for assigned work.";
|
|
180
|
-
transport.
|
|
181
|
+
transport.sendKeysLiteral(session, nudgeMsg);
|
|
181
182
|
if (rtConfig.runtime === "codex" || rtConfig.runtime === "opencode") {
|
|
182
183
|
try {
|
|
183
184
|
execFileSync("tmux", ["send-keys", "-t", session, "Tab"], { encoding: "utf8", timeout: 2e3 });
|
|
@@ -283,7 +284,7 @@ ${fresh.map(
|
|
|
283
284
|
atomicWriteSync(counterPath, String(count));
|
|
284
285
|
const BEHAVIOR_REINJECT_INTERVAL = 50;
|
|
285
286
|
if (count === 1 || count % BEHAVIOR_REINJECT_INTERVAL === 0) {
|
|
286
|
-
const { listBehaviors } = await import("../behaviors-
|
|
287
|
+
const { listBehaviors } = await import("../behaviors-LZVAVHTC.js");
|
|
287
288
|
const behaviors = await listBehaviors(agent.agentId);
|
|
288
289
|
const active = behaviors.filter((b) => b.active !== 0).sort((a, b) => (a.priority === "p0" ? -1 : 1) - (b.priority === "p0" ? -1 : 1)).slice(0, 15);
|
|
289
290
|
if (active.length > 0) {
|
|
@@ -308,7 +309,7 @@ ${lines.join("\n")}`;
|
|
|
308
309
|
if (!lastCheckedAt) {
|
|
309
310
|
lastCheckedAt = "1970-01-01T00:00:00.000Z";
|
|
310
311
|
}
|
|
311
|
-
const { listBehaviorsSince } = await import("../behaviors-
|
|
312
|
+
const { listBehaviorsSince } = await import("../behaviors-LZVAVHTC.js");
|
|
312
313
|
const newBehaviors = await listBehaviorsSince(agent.agentId, lastCheckedAt);
|
|
313
314
|
if (newBehaviors.length > 0) {
|
|
314
315
|
const lines = newBehaviors.map(
|
|
@@ -361,7 +362,7 @@ ${body}`;
|
|
|
361
362
|
let reviewContext = "";
|
|
362
363
|
if (canCoordinate(agent.agentId, agent.agentRole)) {
|
|
363
364
|
try {
|
|
364
|
-
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-
|
|
365
|
+
const { countPendingReviews, countNewPendingReviewsSince } = await import("../tasks-review-MXLMPGNZ.js");
|
|
365
366
|
const sessionKey = getSessionKey();
|
|
366
367
|
const lastCheckPath = path.join(CACHE_DIR, `review-lastcheck-${sessionKey}.json`);
|
|
367
368
|
let sessionScope;
|
|
@@ -418,7 +419,7 @@ IMPORTANT: After completing your current task, you MUST address the pending revi
|
|
|
418
419
|
let coreMemoryContext = "";
|
|
419
420
|
if (!IS_CODEX_RUNTIME && agent.agentId !== "default") {
|
|
420
421
|
try {
|
|
421
|
-
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-
|
|
422
|
+
const { getCoreMemory, formatCoreMemoryBlock } = await import("../core-memory-RAC6M67J.js");
|
|
422
423
|
const entries = await getCoreMemory(agent.agentId);
|
|
423
424
|
const block = formatCoreMemoryBlock(entries);
|
|
424
425
|
if (block) coreMemoryContext = block;
|
|
@@ -545,7 +546,7 @@ IMPORTANT: After completing your current task, you MUST address the new task abo
|
|
|
545
546
|
let idleTaskContext = "";
|
|
546
547
|
if (!taskSignalContext && agent.agentId !== "default" && !IS_CODEX_RUNTIME) {
|
|
547
548
|
try {
|
|
548
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
549
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
549
550
|
const client = await fastDbInit();
|
|
550
551
|
let taskSessionScope = null;
|
|
551
552
|
if (inTmux) {
|
|
@@ -610,8 +611,8 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
610
611
|
return;
|
|
611
612
|
}
|
|
612
613
|
try {
|
|
613
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
614
|
-
const { recordSessionEvent } = await import("../session-events-
|
|
614
|
+
const { fastDbInit } = await import("../fast-db-init-UKETGWQI.js");
|
|
615
|
+
const { recordSessionEvent } = await import("../session-events-K47FHAXJ.js");
|
|
615
616
|
const client = await fastDbInit();
|
|
616
617
|
await recordSessionEvent(client, {
|
|
617
618
|
agentId: agent.agentId,
|
|
@@ -626,7 +627,7 @@ async function writePromptMemory(prompt, sessionId, agent) {
|
|
|
626
627
|
}
|
|
627
628
|
if (!loadConfigSync().autoIngestion) return;
|
|
628
629
|
try {
|
|
629
|
-
const { writeMemoryViaDaemon } = await import("../memory-queue-client-
|
|
630
|
+
const { writeMemoryViaDaemon } = await import("../memory-queue-client-5HB2XUH7.js");
|
|
630
631
|
const trimmed = prompt.trim();
|
|
631
632
|
const isSlashCommand = trimmed.startsWith("/");
|
|
632
633
|
const isDirective = /\b(from now on|never|always|rule:|decision:|policy:)\b/i.test(trimmed);
|