@askexenow/exe-os 0.9.348 → 0.9.349
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/docker-compose.yml +15 -6
- package/deploy/compose/erp-nginx/nginx.conf +17 -10
- package/deploy/stack-manifests/v0.9.30-apps.json +81 -0
- package/deploy/stack-manifests/v0.9.json +111 -2
- package/dist/{backfill-metadata-MCFBGWKX.js → backfill-metadata-TUUT3QII.js} +1 -1
- package/dist/{behaviors-6GI6VND2.js → behaviors-3DQM4PSA.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +3 -3
- package/dist/bin/cleanup-stale-review-tasks.js +3 -3
- package/dist/bin/cli.js +8 -8
- package/dist/bin/deferred-daemon-restart.js +38 -38
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +14 -14
- package/dist/bin/exe-call.js +3 -3
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +3 -3
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +4 -4
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +5 -5
- package/dist/bin/exe-kill.js +5 -5
- package/dist/bin/exe-launch-agent.js +9 -9
- package/dist/bin/exe-memory-reads.js +1 -1
- package/dist/bin/exe-new-employee.js +3 -3
- package/dist/bin/exe-pending-messages.js +4 -4
- package/dist/bin/exe-pending-notifications.js +3 -3
- package/dist/bin/exe-pending-reviews.js +3 -3
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +4 -4
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +4 -4
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +4 -4
- package/dist/bin/exe-start-opencode.js +3 -3
- package/dist/bin/exe-status.js +4 -4
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +3 -3
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +2 -2
- package/dist/bin/install.js +38 -38
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/mcp-sessions.js +2 -2
- package/dist/bin/orchestration-metrics.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/reconcile-backlog.js +1 -1
- package/dist/bin/scan-tasks.js +3 -3
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{boot-review-sections-QF5MZGJI.js → boot-review-sections-UTOPAQQJ.js} +2 -2
- package/dist/{capacity-monitor-CG2IGONS.js → capacity-monitor-IO6JHLXV.js} +4 -4
- package/dist/{catchup-brief-QFVNMTU5.js → catchup-brief-QCKB32YC.js} +4 -4
- package/dist/{chunk-DXMTJJP3.js → chunk-2N5MLJLM.js} +2 -2
- package/dist/{chunk-L36RX54F.js → chunk-2T6NZLMO.js} +1 -1
- package/dist/{chunk-YAIFZXOM.js → chunk-3QLWBLS3.js} +2 -2
- package/dist/{chunk-WL3IQJKN.js → chunk-453QJHGW.js} +2 -2
- package/dist/{chunk-2WJYLXPF.js → chunk-4DZDXS5N.js} +1 -1
- package/dist/{chunk-SMQ642D3.js → chunk-4FHBXWSA.js} +2 -2
- package/dist/{chunk-DJYJDK53.js → chunk-4HMZQRQD.js} +6 -6
- package/dist/{chunk-6GSYN262.js → chunk-5TBGZK55.js} +1 -1
- package/dist/{chunk-7WQ3WHPW.js → chunk-5YDNNUZ6.js} +52 -52
- package/dist/{chunk-PAXAF2UY.js → chunk-5YXC7GF5.js} +3 -3
- package/dist/{chunk-HL24OHHS.js → chunk-6NRY3CFI.js} +6 -6
- package/dist/{chunk-GLOWJP5H.js → chunk-7HO5VMDR.js} +2 -2
- package/dist/{chunk-UTQWVRU6.js → chunk-7OPIIYF2.js} +4 -4
- package/dist/{chunk-PBLDPW4U.js → chunk-ADRZXHUB.js} +1 -1
- package/dist/{chunk-MMXIE6HV.js → chunk-BHDOPDPY.js} +7 -1
- package/dist/{chunk-GA655CUD.js → chunk-CIKFGNES.js} +1 -1
- package/dist/{chunk-5KCC26FB.js → chunk-D3DCRA3H.js} +1 -1
- package/dist/{chunk-A43SIGAO.js → chunk-E76MXORZ.js} +1 -1
- package/dist/{chunk-AQ24P2O7.js → chunk-FXE56MAI.js} +2 -2
- package/dist/{chunk-H3TA23PH.js → chunk-GTZKETSS.js} +2 -2
- package/dist/{chunk-ZXSFUR77.js → chunk-IFSKL5QW.js} +7 -7
- package/dist/{chunk-KZUU6MNF.js → chunk-IKYQ2HSH.js} +1 -1
- package/dist/{chunk-TLWYOMSS.js → chunk-NAHDJLLB.js} +2 -2
- package/dist/{chunk-6WFXNQDJ.js → chunk-NBTSUPTB.js} +1 -1
- package/dist/{chunk-JW5XS35A.js → chunk-NUWAB2ZB.js} +2 -2
- package/dist/{chunk-AXNUMBLO.js → chunk-O5RXPXDD.js} +1 -1
- package/dist/{chunk-5RPCWLXE.js → chunk-OYEBUJ5W.js} +1 -1
- package/dist/{chunk-H5QNVWU4.js → chunk-P3JQDXY6.js} +2 -2
- package/dist/{chunk-FFCPSPNK.js → chunk-R6POL63K.js} +1 -1
- package/dist/{chunk-YM6GJM2F.js → chunk-RFKWETK3.js} +1 -1
- package/dist/{chunk-BUUGFQHL.js → chunk-SRK5AWVS.js} +2 -2
- package/dist/{chunk-CCOKYSJA.js → chunk-SUJFXYMQ.js} +1 -1
- package/dist/{chunk-WZJ3VYRJ.js → chunk-TIWFOWL6.js} +1 -1
- package/dist/{chunk-FPK753IZ.js → chunk-TRIK7MXS.js} +5 -5
- package/dist/{chunk-43RTUMUT.js → chunk-UG2R4LHI.js} +1 -1
- package/dist/{chunk-MGMXYI7Y.js → chunk-UPZQLFRJ.js} +1 -1
- package/dist/{chunk-AUILJKSM.js → chunk-UUJZAOF3.js} +1 -1
- package/dist/{chunk-WWT3E7DO.js → chunk-UXPMDQHP.js} +1 -1
- package/dist/{chunk-GJ6KIHOM.js → chunk-VC2OE37S.js} +2 -2
- package/dist/{chunk-AFY4V4N3.js → chunk-VRQTOLRH.js} +1 -1
- package/dist/{chunk-6QRS3IZF.js → chunk-W3T76WFH.js} +1 -1
- package/dist/{chunk-BOQUXG7N.js → chunk-XF2G47JS.js} +1 -1
- package/dist/{chunk-Y3JXLIZV.js → chunk-Y6IP4R5M.js} +1 -1
- package/dist/{chunk-Z52QQB4Z.js → chunk-YF3B3NQF.js} +2 -2
- package/dist/chunk-YFLHS7GV.js +58 -0
- package/dist/{cleanup-graph-garbage-XTSBQXD6.js → cleanup-graph-garbage-ON45J7RR.js} +1 -1
- package/dist/{crm-webhook-P64SXEHD.js → crm-webhook-OJFVII6G.js} +2 -2
- package/dist/{cto-delegation-gate-6KLGT2LB.js → cto-delegation-gate-KNH5TRUS.js} +2 -2
- package/dist/{daemon-orchestration-JQGKEWPD.js → daemon-orchestration-VFM2FKGY.js} +7 -7
- package/dist/{documents-7EPH3VPE.js → documents-253FGKPI.js} +2 -2
- package/dist/{dreaming-O4P2W5E5.js → dreaming-EFRFVQDZ.js} +4 -4
- package/dist/{exe-export-YJI4USGZ.js → exe-export-AVGUGDMJ.js} +4 -4
- package/dist/{exe-import-SUTAYKUW.js → exe-import-ALYVE4XT.js} +4 -4
- package/dist/{exe-key-CRSDAOZD.js → exe-key-5MDOPRDS.js} +38 -38
- package/dist/{exe-snapshot-KB4YYDCA.js → exe-snapshot-ZN523QP6.js} +5 -5
- package/dist/{fast-db-init-3K2PV6GJ.js → fast-db-init-GJGO22F5.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{global-procedures-PEWDBSPJ.js → global-procedures-HZFQ3WJB.js} +2 -2
- package/dist/{hook-prefetch-O6ZCZCTX.js → hook-prefetch-ITWBE3XZ.js} +3 -3
- package/dist/hooks/bug-report-worker.js +5 -5
- package/dist/hooks/codex-stop-task-finalizer.js +6 -6
- package/dist/hooks/commit-complete.js +5 -5
- package/dist/hooks/error-recall.js +2 -2
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/manifest.json +18 -18
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +3 -3
- package/dist/hooks/post-tool-combined.js +3 -3
- package/dist/hooks/pre-compact.js +4 -4
- package/dist/hooks/pre-tool-use.js +9 -9
- package/dist/hooks/prompt-submit.js +13 -13
- package/dist/hooks/session-end.js +6 -6
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +6 -6
- package/dist/hooks/subagent-stop.js +5 -5
- package/dist/hooks/summary-worker.js +6 -6
- package/dist/index.js +10 -10
- package/dist/{intercom-queue-A52WQOCD.js → intercom-queue-RLWMSZHB.js} +2 -2
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/employee-templates.js +3 -3
- package/dist/lib/exe-daemon.js +35 -35
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +3 -3
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +4 -4
- package/dist/lib/tmux-routing.js +2 -2
- package/dist/mcp/register-tools.js +37 -37
- package/dist/mcp/server.js +38 -38
- package/dist/mcp/tools/create-task.js +5 -5
- package/dist/mcp/tools/deactivate-behavior.js +3 -3
- package/dist/mcp/tools/list-tasks.js +5 -5
- package/dist/mcp/tools/send-message.js +4 -4
- package/dist/mcp/tools/update-task.js +5 -5
- package/dist/{mcp-session-identity-OPRX32H5.js → mcp-session-identity-YTXFSOWN.js} +2 -2
- package/dist/{memory-cards-GFO2CSPV.js → memory-cards-CJJJ2EP6.js} +1 -1
- package/dist/{memory-pressure-watchdog-IG7VRFIX.js → memory-pressure-watchdog-VNKYRODT.js} +3 -3
- package/dist/{notification-ledger-KSCPGLQG.js → notification-ledger-OE4XNOAY.js} +2 -2
- package/dist/{notifications-YKHZPCXU.js → notifications-DU4WVNET.js} +2 -2
- package/dist/{orchestrator-4MZEQULR.js → orchestrator-JRSVEKLB.js} +3 -3
- package/dist/{pipeline-router-RSRJPZNI.js → pipeline-router-4RRX65W7.js} +1 -1
- package/dist/{platform-procedures-DZ6YABEK.js → platform-procedures-NBKHO33A.js} +1 -1
- package/dist/{projection-worker-SKAMSZJF.js → projection-worker-PXJZEKFK.js} +1 -1
- package/dist/{reranker-HXMJ7SKW.js → reranker-DWNE7KUB.js} +1 -1
- package/dist/{review-polling-KQUALBEU.js → review-polling-K2V34KEA.js} +3 -3
- package/dist/runtime/index.js +4 -4
- package/dist/{session-events-3KL735DZ.js → session-events-R3WL7J7D.js} +3 -3
- package/dist/{session-kill-telemetry-KVRGLYVI.js → session-kill-telemetry-BQSJZ2A7.js} +3 -3
- package/dist/{session-scope-LBG6DT5O.js → session-scope-SMYECIDA.js} +2 -2
- package/dist/{setup-wizard-UL3AKI6E.js → setup-wizard-BUFVAFWP.js} +1 -1
- package/dist/{skill-refinement-6HPISXQC.js → skill-refinement-VG3UU7MU.js} +1 -1
- package/dist/{stack-promote-RSOWO6EY.js → stack-promote-RARBN276.js} +13 -3
- package/dist/{stack-release-HGFFFCGC.js → stack-release-OTVTLA6B.js} +464 -169
- package/dist/{task-enforcement-OAOL7XFL.js → task-enforcement-RNSASE3R.js} +3 -3
- package/dist/{task-scope-PSVAE3EM.js → task-scope-TW3BWFVJ.js} +2 -2
- package/dist/{tasks-crud-TLELWWUL.js → tasks-crud-VXCTTSB5.js} +2 -2
- package/dist/{tasks-notify-7Q2XTDZ7.js → tasks-notify-ETPCCUXG.js} +3 -3
- package/dist/{tasks-review-S6QB5KGS.js → tasks-review-TY7OZBAT.js} +2 -2
- package/dist/{telemetry-upload-LTL5SW24.js → telemetry-upload-ABCUA2WS.js} +1 -1
- package/dist/tui/App.js +11 -11
- package/dist/{tui-data-3JSV56ME.js → tui-data-XZX7VSG4.js} +2 -2
- package/dist/{update-support-LMPGWJVG.js → update-support-Q5HFD4IN.js} +2 -2
- package/dist/{worker-gate-P2O64XMH.js → worker-gate-RKHQLE4F.js} +1 -1
- package/dist/{workflow-engine-BLLQKA3O.js → workflow-engine-CXUJIH3R.js} +2 -2
- package/package.json +3 -2
- package/release-notes.json +26 -34
- /package/dist/{chunk-BTP7BORU.js → chunk-4N3NTBGJ.js} +0 -0
- /package/dist/{chunk-AQ6ECPUP.js → chunk-A4X7SCDG.js} +0 -0
- /package/dist/{chunk-HTJKAAHD.js → chunk-E77V5MTE.js} +0 -0
- /package/dist/{chunk-PIUDQ7P2.js → chunk-ELJSXKYA.js} +0 -0
- /package/dist/{chunk-DRHXISWL.js → chunk-GI3O5MGF.js} +0 -0
- /package/dist/{chunk-SLH2743O.js → chunk-WUNXNNJL.js} +0 -0
- /package/dist/{chunk-A42356G7.js → chunk-ZFR4A5W4.js} +0 -0
- /package/dist/{core-memory-Z7LPR3RX.js → core-memory-PCKGCUZU.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
persistSupportArtifact
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W3T76WFH.js";
|
|
4
4
|
import {
|
|
5
5
|
exportOrchestration,
|
|
6
6
|
importOrchestration,
|
|
7
7
|
validatePackage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-453QJHGW.js";
|
|
9
9
|
import {
|
|
10
10
|
runDriftProbes
|
|
11
11
|
} from "./chunk-2AD2GAPC.js";
|
|
@@ -52,14 +52,14 @@ import {
|
|
|
52
52
|
ingestDocument,
|
|
53
53
|
listDocumentsByWorkspace,
|
|
54
54
|
updateChunksImportance
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-SUJFXYMQ.js";
|
|
56
56
|
import {
|
|
57
57
|
DreamingEngine
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-2N5MLJLM.js";
|
|
59
59
|
import {
|
|
60
60
|
isRerankerAvailable,
|
|
61
61
|
rerankWithScores
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-E77V5MTE.js";
|
|
63
63
|
import {
|
|
64
64
|
getEntityByName,
|
|
65
65
|
getEntityNeighbors,
|
|
@@ -70,10 +70,10 @@ import {
|
|
|
70
70
|
} from "./chunk-CRCB5S7I.js";
|
|
71
71
|
import {
|
|
72
72
|
AUTO_WAKE_MAX_RETRIES
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-TRIK7MXS.js";
|
|
74
74
|
import {
|
|
75
75
|
listRecentSessionEvents
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-OYEBUJ5W.js";
|
|
77
77
|
import {
|
|
78
78
|
isToolAllowed,
|
|
79
79
|
isToolAllowedForPlan
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
getPlayMode,
|
|
84
84
|
listExploreSessions,
|
|
85
85
|
setPlayMode
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-4FHBXWSA.js";
|
|
87
87
|
import {
|
|
88
88
|
getCachedLicenseGate,
|
|
89
89
|
refreshLicenseGate
|
|
@@ -100,17 +100,17 @@ import {
|
|
|
100
100
|
} from "./chunk-QLFN3MUW.js";
|
|
101
101
|
import {
|
|
102
102
|
createOrRefreshResumeTask
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-3QLWBLS3.js";
|
|
104
104
|
import {
|
|
105
105
|
registerCreateTask,
|
|
106
106
|
resolveProjectDir
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-5YXC7GF5.js";
|
|
108
108
|
import {
|
|
109
109
|
registerListTasks
|
|
110
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-UXPMDQHP.js";
|
|
111
111
|
import {
|
|
112
112
|
registerUpdateTask
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-FXE56MAI.js";
|
|
114
114
|
import {
|
|
115
115
|
registerCreateReminder
|
|
116
116
|
} from "./chunk-MOZY4IQO.js";
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
} from "./chunk-GKNWKQFY.js";
|
|
123
123
|
import {
|
|
124
124
|
registerDeactivateBehavior
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-RFKWETK3.js";
|
|
126
126
|
import {
|
|
127
127
|
completeReminder,
|
|
128
128
|
createReminder,
|
|
@@ -130,18 +130,18 @@ import {
|
|
|
130
130
|
} from "./chunk-UAKGNQWE.js";
|
|
131
131
|
import {
|
|
132
132
|
registerSendMessage
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-ADRZXHUB.js";
|
|
134
134
|
import {
|
|
135
135
|
registerImportConversations
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-E76MXORZ.js";
|
|
137
137
|
import {
|
|
138
138
|
status
|
|
139
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-NAHDJLLB.js";
|
|
140
140
|
import {
|
|
141
141
|
TOKENS_PER_IDLE_MINUTE,
|
|
142
142
|
countKillsSince,
|
|
143
143
|
sumTokensSavedSince
|
|
144
|
-
} from "./chunk-
|
|
144
|
+
} from "./chunk-Y6IP4R5M.js";
|
|
145
145
|
import {
|
|
146
146
|
evaluateGlobalSpendCap,
|
|
147
147
|
getAgentSpend
|
|
@@ -149,7 +149,7 @@ import {
|
|
|
149
149
|
import {
|
|
150
150
|
createSchedule,
|
|
151
151
|
parseHumanCron
|
|
152
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-CIKFGNES.js";
|
|
153
153
|
import {
|
|
154
154
|
exportGraphHTML,
|
|
155
155
|
generateGraphReport
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
formatReport,
|
|
163
163
|
runAudit,
|
|
164
164
|
shouldFixShards
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-GTZKETSS.js";
|
|
166
166
|
import {
|
|
167
167
|
formatDegradations,
|
|
168
168
|
getRetrievalHealth
|
|
@@ -188,28 +188,28 @@ import {
|
|
|
188
188
|
} from "./chunk-2XZ6X3PJ.js";
|
|
189
189
|
import {
|
|
190
190
|
renderClientCOOTemplate
|
|
191
|
-
} from "./chunk-
|
|
191
|
+
} from "./chunk-5TBGZK55.js";
|
|
192
192
|
import {
|
|
193
193
|
deactivateGlobalProcedure,
|
|
194
194
|
loadGlobalProcedures,
|
|
195
195
|
storeGlobalProcedure
|
|
196
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-UUJZAOF3.js";
|
|
197
197
|
import {
|
|
198
198
|
PLATFORM_PROCEDURES
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-BHDOPDPY.js";
|
|
200
200
|
import {
|
|
201
201
|
clearCloudReuploadRequired,
|
|
202
202
|
cloudSync,
|
|
203
203
|
getCloudReuploadRequired,
|
|
204
204
|
markCloudReuploadRequired
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-2T6NZLMO.js";
|
|
206
206
|
import {
|
|
207
207
|
createARecord
|
|
208
208
|
} from "./chunk-X2Z5GT3V.js";
|
|
209
209
|
import {
|
|
210
210
|
findSimilarTrajectories,
|
|
211
211
|
hashSignature
|
|
212
|
-
} from "./chunk-
|
|
212
|
+
} from "./chunk-D3DCRA3H.js";
|
|
213
213
|
import {
|
|
214
214
|
GHOST_BEHAVIOR_SQL,
|
|
215
215
|
deactivateBehavior,
|
|
@@ -218,13 +218,13 @@ import {
|
|
|
218
218
|
reactivateBehavior,
|
|
219
219
|
storeBehavior,
|
|
220
220
|
storeReflexBehavior
|
|
221
|
-
} from "./chunk-
|
|
221
|
+
} from "./chunk-UPZQLFRJ.js";
|
|
222
222
|
import {
|
|
223
223
|
countUnconsolidated,
|
|
224
224
|
groupMemories,
|
|
225
225
|
runConsolidation,
|
|
226
226
|
selectUnconsolidated
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-O5RXPXDD.js";
|
|
228
228
|
import {
|
|
229
229
|
entityId,
|
|
230
230
|
mergeEntities
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
import {
|
|
243
243
|
hybridSearch,
|
|
244
244
|
recentRecords
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-6NRY3CFI.js";
|
|
246
246
|
import {
|
|
247
247
|
buildFtsMatch,
|
|
248
248
|
tokenizeForFts
|
|
@@ -252,16 +252,16 @@ import {
|
|
|
252
252
|
flushBatch,
|
|
253
253
|
initStore,
|
|
254
254
|
writeMemory
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-P3JQDXY6.js";
|
|
256
256
|
import {
|
|
257
257
|
updateTask
|
|
258
|
-
} from "./chunk-
|
|
258
|
+
} from "./chunk-4HMZQRQD.js";
|
|
259
259
|
import {
|
|
260
260
|
fastDbInit
|
|
261
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-A4X7SCDG.js";
|
|
262
262
|
import {
|
|
263
263
|
MAX_CONCURRENT_WORKERS
|
|
264
|
-
} from "./chunk-
|
|
264
|
+
} from "./chunk-4DZDXS5N.js";
|
|
265
265
|
import {
|
|
266
266
|
getActiveAgent
|
|
267
267
|
} from "./chunk-TF5E6O5Q.js";
|
|
@@ -284,7 +284,7 @@ import {
|
|
|
284
284
|
sessionScopeFilter,
|
|
285
285
|
updateTaskStatus,
|
|
286
286
|
writeCheckpoint
|
|
287
|
-
} from "./chunk-
|
|
287
|
+
} from "./chunk-IFSKL5QW.js";
|
|
288
288
|
import {
|
|
289
289
|
listSessions
|
|
290
290
|
} from "./chunk-HYZE3MNS.js";
|
|
@@ -324,7 +324,7 @@ import {
|
|
|
324
324
|
isScheduledTrigger,
|
|
325
325
|
loadTriggers,
|
|
326
326
|
sanitizeParam
|
|
327
|
-
} from "./chunk-
|
|
327
|
+
} from "./chunk-ELJSXKYA.js";
|
|
328
328
|
import {
|
|
329
329
|
pushConversationToCRM
|
|
330
330
|
} from "./chunk-ML4S5SHZ.js";
|
|
@@ -555,7 +555,7 @@ function registerRecallMyMemory(server) {
|
|
|
555
555
|
}) => {
|
|
556
556
|
try {
|
|
557
557
|
if (!isInitialized()) {
|
|
558
|
-
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-
|
|
558
|
+
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-GJGO22F5.js");
|
|
559
559
|
await fastDbInit2();
|
|
560
560
|
}
|
|
561
561
|
if (!recent && !query) {
|
|
@@ -2005,7 +2005,7 @@ function registerMemory(server) {
|
|
|
2005
2005
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
2006
2006
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-PX6KAEEQ.js");
|
|
2007
2007
|
const { agentId } = getActiveAgent2();
|
|
2008
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
2008
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-PCKGCUZU.js");
|
|
2009
2009
|
if (action === "core_get") {
|
|
2010
2010
|
const entries = await getCoreMemory(agentId);
|
|
2011
2011
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2057,7 +2057,7 @@ function registerMemory(server) {
|
|
|
2057
2057
|
if (!storeTrigger || !storeTriggerAction) {
|
|
2058
2058
|
return errorResult('memory action "store" with kind="reflex" requires trigger and trigger_action fields');
|
|
2059
2059
|
}
|
|
2060
|
-
const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-
|
|
2060
|
+
const { formatReflexContent, storeReflexBehavior: storeReflexBehavior2 } = await import("./behaviors-3DQM4PSA.js");
|
|
2061
2061
|
const reflexText = formatReflexContent(storeTrigger, storeTriggerAction);
|
|
2062
2062
|
legacyArgs.text ??= reflexText;
|
|
2063
2063
|
legacyArgs.query ??= reflexText;
|
|
@@ -2838,7 +2838,7 @@ function registerResumeEmployee(server) {
|
|
|
2838
2838
|
},
|
|
2839
2839
|
async ({ agent_id, project_name }) => {
|
|
2840
2840
|
if (!isInitialized()) {
|
|
2841
|
-
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-
|
|
2841
|
+
const { fastDbInit: fastDbInit2 } = await import("./fast-db-init-GJGO22F5.js");
|
|
2842
2842
|
await fastDbInit2();
|
|
2843
2843
|
}
|
|
2844
2844
|
const client = getClient();
|
|
@@ -2865,7 +2865,7 @@ function registerResumeEmployee(server) {
|
|
|
2865
2865
|
};
|
|
2866
2866
|
}
|
|
2867
2867
|
try {
|
|
2868
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2868
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-VXCTTSB5.js");
|
|
2869
2869
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2870
2870
|
for (const row of openTasks.rows) {
|
|
2871
2871
|
const status2 = String(row.status);
|
|
@@ -2893,7 +2893,7 @@ function registerResumeEmployee(server) {
|
|
|
2893
2893
|
}
|
|
2894
2894
|
let checkpointInfo = "";
|
|
2895
2895
|
try {
|
|
2896
|
-
const { readLatestCheckpoint } = await import("./tasks-crud-
|
|
2896
|
+
const { readLatestCheckpoint } = await import("./tasks-crud-VXCTTSB5.js");
|
|
2897
2897
|
const checkpointSessionScope = openTasks.rows[0]?.session_scope != null ? String(openTasks.rows[0].session_scope) : reScope.args[0] != null ? String(reScope.args[0]) : "";
|
|
2898
2898
|
const checkpoint = checkpointSessionScope ? await readLatestCheckpoint(agent_id, { sessionScope: checkpointSessionScope }) : null;
|
|
2899
2899
|
if (checkpoint) {
|
|
@@ -3391,7 +3391,7 @@ function registerTask(server) {
|
|
|
3391
3391
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.create_group);
|
|
3392
3392
|
if (missing2.length > 0) return errorResult2(`task action "create_group" missing required field(s): ${missing2.join(", ")}`);
|
|
3393
3393
|
try {
|
|
3394
|
-
const { createTaskGroup } = await import("./tasks-crud-
|
|
3394
|
+
const { createTaskGroup } = await import("./tasks-crud-VXCTTSB5.js");
|
|
3395
3395
|
const group = await createTaskGroup({
|
|
3396
3396
|
title: args.title,
|
|
3397
3397
|
coordinator: args.coordinator,
|
|
@@ -3410,7 +3410,7 @@ function registerTask(server) {
|
|
|
3410
3410
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_status);
|
|
3411
3411
|
if (missing2.length > 0) return errorResult2(`task action "group_status" missing required field(s): ${missing2.join(", ")}`);
|
|
3412
3412
|
try {
|
|
3413
|
-
const { getGroupStatus } = await import("./tasks-crud-
|
|
3413
|
+
const { getGroupStatus } = await import("./tasks-crud-VXCTTSB5.js");
|
|
3414
3414
|
const status2 = await getGroupStatus(args.group_id);
|
|
3415
3415
|
return { content: [{ type: "text", text: JSON.stringify(status2, null, 2) }] };
|
|
3416
3416
|
} catch (err) {
|
|
@@ -3422,7 +3422,7 @@ function registerTask(server) {
|
|
|
3422
3422
|
const missing2 = missingRequiredFields2(args, REQUIRED_FIELDS2.group_results);
|
|
3423
3423
|
if (missing2.length > 0) return errorResult2(`task action "group_results" missing required field(s): ${missing2.join(", ")}`);
|
|
3424
3424
|
try {
|
|
3425
|
-
const { getGroupResults } = await import("./tasks-crud-
|
|
3425
|
+
const { getGroupResults } = await import("./tasks-crud-VXCTTSB5.js");
|
|
3426
3426
|
const results = await getGroupResults(args.group_id);
|
|
3427
3427
|
return { content: [{ type: "text", text: JSON.stringify(results, null, 2) }] };
|
|
3428
3428
|
} catch (err) {
|
|
@@ -4315,7 +4315,7 @@ function registerDocument(server) {
|
|
|
4315
4315
|
const { action: _action, ...legacyArgs } = input;
|
|
4316
4316
|
if (action === "list" && (legacyArgs.workspace_id === void 0 || legacyArgs.workspace_id === null || legacyArgs.workspace_id === "")) {
|
|
4317
4317
|
try {
|
|
4318
|
-
const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-
|
|
4318
|
+
const { resolveDefaultWorkspaceId, listWorkspaces } = await import("./documents-253FGKPI.js");
|
|
4319
4319
|
const defaultId = await resolveDefaultWorkspaceId();
|
|
4320
4320
|
if (defaultId) {
|
|
4321
4321
|
legacyArgs.workspace_id = defaultId;
|
|
@@ -5342,7 +5342,7 @@ async function handleTrigger(limit) {
|
|
|
5342
5342
|
if (rows.rows.length === 0) {
|
|
5343
5343
|
return text3("No conversations found to re-process.");
|
|
5344
5344
|
}
|
|
5345
|
-
const { ingest } = await import("./pipeline-router-
|
|
5345
|
+
const { ingest } = await import("./pipeline-router-4RRX65W7.js");
|
|
5346
5346
|
const results = [];
|
|
5347
5347
|
for (const row of rows.rows) {
|
|
5348
5348
|
const r = row;
|
|
@@ -6240,7 +6240,7 @@ async function handleCleanupGarbage(args) {
|
|
|
6240
6240
|
const doMerge = !garbageOnly;
|
|
6241
6241
|
let mod;
|
|
6242
6242
|
try {
|
|
6243
|
-
mod = await import("./cleanup-graph-garbage-
|
|
6243
|
+
mod = await import("./cleanup-graph-garbage-ON45J7RR.js");
|
|
6244
6244
|
} catch (err) {
|
|
6245
6245
|
return errorResult7(`cleanup_garbage: failed to load cleanup module \u2014 ${err instanceof Error ? err.message : String(err)}`);
|
|
6246
6246
|
}
|
|
@@ -7126,7 +7126,7 @@ async function getAgentSessionLoad() {
|
|
|
7126
7126
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
7127
7127
|
}
|
|
7128
7128
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
7129
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
7129
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-TW3BWFVJ.js");
|
|
7130
7130
|
const client = getClient2();
|
|
7131
7131
|
const scope = sessionScopeFilter2();
|
|
7132
7132
|
for (const s of liveAgentSessions) {
|
|
@@ -9983,7 +9983,7 @@ function buildHandlers5() {
|
|
|
9983
9983
|
}
|
|
9984
9984
|
async function handleDreaming(action, args) {
|
|
9985
9985
|
try {
|
|
9986
|
-
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-
|
|
9986
|
+
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-EFRFVQDZ.js");
|
|
9987
9987
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-PX6KAEEQ.js");
|
|
9988
9988
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
9989
9989
|
const agentId = args.agent_id ?? getActiveAgent2().agentId;
|
|
@@ -10142,7 +10142,7 @@ function registerConfig(server) {
|
|
|
10142
10142
|
}
|
|
10143
10143
|
if (action === "closeout") {
|
|
10144
10144
|
try {
|
|
10145
|
-
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-
|
|
10145
|
+
const { DreamingEngine: DreamingEngine2 } = await import("./dreaming-EFRFVQDZ.js");
|
|
10146
10146
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-PX6KAEEQ.js");
|
|
10147
10147
|
const { writeMemory: writeMemory2, flushBatch: flushBatch2 } = await import("./lib/store.js");
|
|
10148
10148
|
const { randomUUID: randomUUID2 } = await import("crypto");
|
|
@@ -11124,7 +11124,7 @@ Use /exe-forget to remove any that this supersedes.`;
|
|
|
11124
11124
|
}]
|
|
11125
11125
|
};
|
|
11126
11126
|
}
|
|
11127
|
-
const { bulkPurgeGhostBehaviors } = await import("./behaviors-
|
|
11127
|
+
const { bulkPurgeGhostBehaviors } = await import("./behaviors-3DQM4PSA.js");
|
|
11128
11128
|
const res = await bulkPurgeGhostBehaviors({ batchSize: 5e3, vacuum: true });
|
|
11129
11129
|
return {
|
|
11130
11130
|
content: [{
|
|
@@ -11235,7 +11235,7 @@ Use /exe-forget to remove any that this supersedes.`;
|
|
|
11235
11235
|
return { content: [{ type: "text", text: `Behavior not found: ${behavior_id}` }], isError: true };
|
|
11236
11236
|
}
|
|
11237
11237
|
const row2 = result4.rows[0];
|
|
11238
|
-
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-
|
|
11238
|
+
const { reactivateBehavior: reactivateBehavior2 } = await import("./behaviors-3DQM4PSA.js");
|
|
11239
11239
|
const wasReactivated = await reactivateBehavior2(behavior_id);
|
|
11240
11240
|
if (!wasReactivated) {
|
|
11241
11241
|
return { content: [{ type: "text", text: `Behavior ${behavior_id} is already active.` }] };
|
|
@@ -11767,7 +11767,7 @@ function registerWorkflowTool(server) {
|
|
|
11767
11767
|
getWorkflowInstance,
|
|
11768
11768
|
listWorkflowInstances,
|
|
11769
11769
|
approveWorkflowStep
|
|
11770
|
-
} = await import("./workflow-engine-
|
|
11770
|
+
} = await import("./workflow-engine-CXUJIH3R.js");
|
|
11771
11771
|
try {
|
|
11772
11772
|
switch (input.action) {
|
|
11773
11773
|
case "create_workflow": {
|
|
@@ -14460,7 +14460,7 @@ async function handleOrchestrationHealth() {
|
|
|
14460
14460
|
async function handleWorkMap() {
|
|
14461
14461
|
try {
|
|
14462
14462
|
const { getAgentLivenessReport } = await import("./agent-heartbeat-I5UPGXAU.js");
|
|
14463
|
-
const { classifyRole } = await import("./session-kill-telemetry-
|
|
14463
|
+
const { classifyRole } = await import("./session-kill-telemetry-BQSJZ2A7.js");
|
|
14464
14464
|
const { buildSessionDeathSummary } = await import("./orchestration-health-read-EJWVUARG.js");
|
|
14465
14465
|
const { getPaneCwd } = await import("./lib/tmux-status.js");
|
|
14466
14466
|
const live = getAgentLivenessReport();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4HMZQRQD.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
6
|
} from "./chunk-TF5E6O5Q.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
isValidSessionScope,
|
|
10
10
|
logTaskDispatch,
|
|
11
11
|
resolveExeSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-IFSKL5QW.js";
|
|
13
13
|
import {
|
|
14
14
|
recordOrchestrationEventBestEffort
|
|
15
15
|
} from "./chunk-AMC2OPYP.js";
|
|
@@ -734,7 +734,7 @@ function registerCreateTask(server) {
|
|
|
734
734
|
let projectConflictOpts = {};
|
|
735
735
|
try {
|
|
736
736
|
const { getClient } = await import("./lib/database.js");
|
|
737
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
737
|
+
const { sessionScopeFilter } = await import("./task-scope-TW3BWFVJ.js");
|
|
738
738
|
const client = getClient();
|
|
739
739
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
740
740
|
const existing = await client.execute({
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
buildSystemStateExclusionFilter,
|
|
10
10
|
buildWikiScopeFilter,
|
|
11
11
|
searchMemories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-P3JQDXY6.js";
|
|
13
13
|
import {
|
|
14
14
|
blobToVector
|
|
15
15
|
} from "./chunk-OTVEIJUQ.js";
|
|
@@ -564,7 +564,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
564
564
|
let rerankerAvailable = false;
|
|
565
565
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
566
566
|
try {
|
|
567
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
567
|
+
const { isRerankerAvailable } = await import("./reranker-DWNE7KUB.js");
|
|
568
568
|
rerankerAvailable = isRerankerAvailable();
|
|
569
569
|
} catch {
|
|
570
570
|
}
|
|
@@ -633,7 +633,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
633
633
|
]).catch(() => []),
|
|
634
634
|
includeStructuredCards ? (async () => {
|
|
635
635
|
try {
|
|
636
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
636
|
+
const { searchMemoryCards } = await import("./memory-cards-CJJJ2EP6.js");
|
|
637
637
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
638
638
|
} catch {
|
|
639
639
|
return [];
|
|
@@ -767,7 +767,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
767
767
|
try {
|
|
768
768
|
let rerankedRecords;
|
|
769
769
|
if (graphContextMap.size > 0) {
|
|
770
|
-
const { rerankWithContext } = await import("./reranker-
|
|
770
|
+
const { rerankWithContext } = await import("./reranker-DWNE7KUB.js");
|
|
771
771
|
const candidates = merged.map((m) => ({
|
|
772
772
|
text: m.raw_text,
|
|
773
773
|
context: graphContextMap.get(m.id)
|
|
@@ -775,7 +775,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
775
775
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
776
776
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
777
777
|
} else {
|
|
778
|
-
const { rerank } = await import("./reranker-
|
|
778
|
+
const { rerank } = await import("./reranker-DWNE7KUB.js");
|
|
779
779
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
780
780
|
}
|
|
781
781
|
if (rerankedRecords.length > 0) {
|
|
@@ -1185,7 +1185,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
if (options?.includeStructuredCards !== true) return results;
|
|
1187
1187
|
try {
|
|
1188
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
1188
|
+
const { searchMemoryCards } = await import("./memory-cards-CJJJ2EP6.js");
|
|
1189
1189
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
1190
1190
|
if (cardResults.length > 0) {
|
|
1191
1191
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
createCRMWebhookHandler,
|
|
12
12
|
parseTwentyWebhook
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VRQTOLRH.js";
|
|
14
14
|
import {
|
|
15
15
|
WhatsAppAdapter
|
|
16
16
|
} from "./chunk-WSOA3WMC.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-YF3B3NQF.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XF2G47JS.js";
|
|
4
4
|
import {
|
|
5
5
|
createTokenBudgetMiddleware
|
|
6
6
|
} from "./chunk-WUMWXU6B.js";
|
|
@@ -209,7 +209,7 @@ function createExeOSHooks(config) {
|
|
|
209
209
|
);
|
|
210
210
|
}
|
|
211
211
|
try {
|
|
212
|
-
const { listBehaviors } = await import("./behaviors-
|
|
212
|
+
const { listBehaviors } = await import("./behaviors-3DQM4PSA.js");
|
|
213
213
|
const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
|
|
214
214
|
if (behaviors.length > 0) {
|
|
215
215
|
process.stderr.write(
|
|
@@ -330,7 +330,7 @@ function createExeOSHooks(config) {
|
|
|
330
330
|
async onSubagentStop(_reason) {
|
|
331
331
|
try {
|
|
332
332
|
const { getClient } = await import("./lib/database.js");
|
|
333
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
333
|
+
const { sessionScopeFilter } = await import("./task-scope-TW3BWFVJ.js");
|
|
334
334
|
const client = getClient();
|
|
335
335
|
const ehScope = sessionScopeFilter();
|
|
336
336
|
const tasks = await client.execute({
|
|
@@ -422,7 +422,7 @@ function createExeOSHooks(config) {
|
|
|
422
422
|
try {
|
|
423
423
|
const { writeMemory, flushBatch } = await import("./lib/store.js");
|
|
424
424
|
const { getClient } = await import("./lib/database.js");
|
|
425
|
-
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-
|
|
425
|
+
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-TW3BWFVJ.js");
|
|
426
426
|
const client = getClient();
|
|
427
427
|
const cpScope = cpScopeFilter();
|
|
428
428
|
const tasks = await client.execute({
|
|
@@ -93,6 +93,12 @@ var PLATFORM_PROCEDURES = [
|
|
|
93
93
|
priority: "p1",
|
|
94
94
|
content: "Tokens are money \u2014 pick the model per task. Mechanical/bounded work (renames, config edits, boilerplate, well-specified fixes) -> cheaper model and/or lower reasoning effort. Adversarial verification, hard design, security review, debugging unknowns -> strong model; never verify a strong model's work with a weaker one. Set per agent via set_agent_config, per task via create_task spawn_model/spawn_runtime. Audit spend with config(action='agent_spend')."
|
|
95
95
|
},
|
|
96
|
+
{
|
|
97
|
+
title: "Fetch and scope-check before dispatching fix work",
|
|
98
|
+
domain: "workflow",
|
|
99
|
+
priority: "p0",
|
|
100
|
+
content: "Before dispatching or scoping any fix work in a git repo: `git fetch origin` and check `git log origin/main` for the affected paths \u2014 a parallel session may already have landed part of it. Scope against origin/main, not your local checkout. Brief each dispatched agent to re-check origin/main for its files and build residuals on landed work, not duplicates. Claim hot files in memory before starting."
|
|
101
|
+
},
|
|
96
102
|
// --- Session isolation (consolidated from 3 procedures) ---
|
|
97
103
|
{
|
|
98
104
|
title: "Session isolation \u2014 scoping, boundaries, and enforcement",
|
|
@@ -165,7 +171,7 @@ var PLATFORM_PROCEDURES = [
|
|
|
165
171
|
title: "Never defer \u2014 fix it now or assign it now",
|
|
166
172
|
domain: "operations",
|
|
167
173
|
priority: "p0",
|
|
168
|
-
content: "NEVER defer work
|
|
174
|
+
content: "NEVER defer work \u2014 no 'later', 'next sprint', or 'not urgent'. Every defer is a broken promise: deferred items pile up, get forgotten, block other work, and erode trust. Find a bug mid-task: fix it now, then resume. Outside your scope: create_task so someone fixes it NOW. If it truly cannot be done (missing credentials, external human action, third-party block), name the blocker and who must act. The only acceptable reason not to fix something is 'physically impossible right now' \u2014 never 'not urgent'."
|
|
169
175
|
},
|
|
170
176
|
// --- Observability ---
|
|
171
177
|
{
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4HMZQRQD.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX,
|
|
6
6
|
TASK_CLAIM_NOT_HELD_PREFIX,
|
|
7
7
|
TASK_SIDECHAIN_WRITE_BLOCKED_PREFIX
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IFSKL5QW.js";
|
|
9
9
|
import {
|
|
10
10
|
getAgentContext
|
|
11
11
|
} from "./chunk-GJV3WDWM.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-RKHQLE4F.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-GJGO22F5.js");
|
|
1213
1213
|
const client = await fastDbInit();
|
|
1214
1214
|
const report = await runAudit(client, flags);
|
|
1215
1215
|
console.log(formatReport(report, flags));
|