@askexenow/exe-os 0.9.237 → 0.9.239
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 +105 -1
- package/dist/{active-agent-6WX7GZBH.js → active-agent-55C5Y3XL.js} +3 -3
- package/dist/{active-agent-X3GALNAR.js → active-agent-7MIVNARP.js} +3 -3
- package/dist/{agentic-ontology-NBU3FHEX.js → agentic-ontology-NCAQIQQI.js} +1 -1
- package/dist/{backfill-metadata-NG2L5GUP.js → backfill-metadata-3JP7EZ2U.js} +4 -4
- package/dist/{behaviors-DH7XFONJ.js → behaviors-6BGALYGW.js} +3 -3
- package/dist/bin/agentic-ontology-backfill.js +5 -5
- package/dist/bin/agentic-reflection-backfill.js +6 -6
- package/dist/bin/agentic-semantic-label.js +5 -5
- package/dist/bin/backfill-conversations.js +4 -4
- package/dist/bin/backfill-responses.js +4 -4
- package/dist/bin/backfill-vectors.js +5 -5
- package/dist/bin/bulk-sync-postgres.js +6 -6
- package/dist/bin/cleanup-stale-review-tasks.js +9 -9
- package/dist/bin/cli.js +14 -14
- package/dist/bin/exe-agent-config.js +2 -2
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +5 -5
- package/dist/bin/exe-boot.js +16 -16
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +4 -4
- package/dist/bin/exe-dispatch.js +9 -9
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +7 -7
- package/dist/bin/exe-forget.js +6 -6
- package/dist/bin/exe-gateway.js +7 -7
- package/dist/bin/exe-heartbeat.js +9 -9
- package/dist/bin/exe-kill.js +12 -12
- package/dist/bin/exe-launch-agent.js +16 -16
- 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 +11 -11
- package/dist/bin/exe-search.js +5 -5
- package/dist/bin/exe-session-cleanup.js +14 -14
- package/dist/bin/exe-settings.js +4 -4
- package/dist/bin/exe-start-codex.js +11 -11
- package/dist/bin/exe-start-opencode.js +8 -8
- package/dist/bin/exe-status.js +10 -10
- package/dist/bin/exe-team.js +3 -3
- package/dist/bin/git-sweep.js +9 -9
- package/dist/bin/graph-backfill.js +4 -4
- package/dist/bin/graph-export.js +5 -5
- package/dist/bin/import-history.js +7 -7
- package/dist/bin/install.js +6 -6
- 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/scan-tasks.js +9 -9
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +4 -4
- package/dist/{capacity-monitor-KAKNWAA4.js → capacity-monitor-IFCZKRPG.js} +10 -10
- package/dist/{catchup-brief-RZF7HEYB.js → catchup-brief-PIDRWXOW.js} +11 -11
- package/dist/{chunk-2LYJTK47.js → chunk-2H55BIV2.js} +1 -1
- package/dist/{chunk-ES5JM6V2.js → chunk-2KZSKURT.js} +2 -2
- package/dist/{chunk-5KDROSDV.js → chunk-452XB7OZ.js} +1 -1
- package/dist/{chunk-WQCSGDRG.js → chunk-4SC65UBG.js} +1 -1
- package/dist/{chunk-T3ASODFG.js → chunk-5GG7MTRJ.js} +3 -3
- package/dist/{chunk-N4IJWOIS.js → chunk-5LMH4YHG.js} +2 -2
- package/dist/{chunk-2O5GJFYQ.js → chunk-5NJ4A4ZA.js} +1 -1
- package/dist/{chunk-VK5IBXXT.js → chunk-5R75ODPS.js} +5 -5
- package/dist/{chunk-YENDNLAD.js → chunk-5WLMF6PL.js} +1 -1
- package/dist/{chunk-RM6PJ34R.js → chunk-5WUTKDH6.js} +1 -1
- package/dist/{chunk-LUCHTCME.js → chunk-6LBCUA2A.js} +1 -1
- package/dist/{chunk-ENQIADYO.js → chunk-7DIDOQCX.js} +76 -76
- package/dist/{chunk-NCJNGQUZ.js → chunk-7F37NMKB.js} +1 -1
- package/dist/{chunk-COMWI7SO.js → chunk-AL4DRC5H.js} +1 -1
- package/dist/{chunk-CJEVAKKC.js → chunk-AURM7FOT.js} +1 -1
- package/dist/{chunk-KWH6H64R.js → chunk-AVM7XZE4.js} +12 -7
- package/dist/{chunk-NJS4GRIR.js → chunk-BZNI4OK5.js} +1 -1
- package/dist/{chunk-QQFZID36.js → chunk-C2YS2AA6.js} +1 -1
- package/dist/{chunk-7PVUUC3O.js → chunk-C7SFJO5F.js} +5 -5
- package/dist/{chunk-BTPXNV5W.js → chunk-DAZIV4QZ.js} +1 -1
- package/dist/{chunk-NS7FW3NG.js → chunk-DDPAQ4LT.js} +2 -2
- package/dist/{chunk-HFYCKIVJ.js → chunk-DKI5BTBC.js} +2 -2
- package/dist/{chunk-KRLR26L2.js → chunk-DUVO2PUJ.js} +2 -2
- package/dist/{chunk-AYBC6AYP.js → chunk-EJ7LOTV2.js} +8 -8
- package/dist/{chunk-FQJWTRCB.js → chunk-ELRRL2NC.js} +1 -1
- package/dist/{chunk-627ZOPZQ.js → chunk-FB5VRO5S.js} +5 -4
- package/dist/{chunk-YDG343II.js → chunk-FBWUJEXS.js} +2 -2
- package/dist/{chunk-3JVO6X4W.js → chunk-FE45RXGC.js} +1 -1
- package/dist/{chunk-NQU2RTCP.js → chunk-FGJUGDNM.js} +8 -8
- package/dist/{chunk-JLHSEBNQ.js → chunk-FKWZVO2T.js} +3 -3
- package/dist/{chunk-PQBANSH6.js → chunk-GN5VHPPR.js} +1 -1
- package/dist/{chunk-HUVSY6NF.js → chunk-GPF6X6HE.js} +2 -2
- package/dist/{chunk-7LIXU3TB.js → chunk-HLZSC5WK.js} +8 -8
- package/dist/{chunk-ENWFSMOS.js → chunk-HNLPLLE6.js} +10 -10
- package/dist/{chunk-WQXJIMBO.js → chunk-HX5G4AS4.js} +2 -2
- package/dist/{chunk-LXP6VRFH.js → chunk-IQSCZDBQ.js} +1 -1
- package/dist/{chunk-QXKWSRUZ.js → chunk-IQXPMK46.js} +9 -9
- package/dist/{chunk-Q4MZN62R.js → chunk-JDOE33C2.js} +3 -3
- package/dist/{chunk-4HMKJDPB.js → chunk-K525WLL7.js} +3 -3
- package/dist/{chunk-ZZBOV6WA.js → chunk-KVSQOG3W.js} +4 -4
- package/dist/{chunk-2VXHPSIJ.js → chunk-MAN5LZQ4.js} +1 -1
- package/dist/{chunk-YUS7IS3I.js → chunk-NJWK6J4N.js} +4 -4
- package/dist/{chunk-3NYRIK73.js → chunk-O6DAF2TY.js} +2 -2
- package/dist/{chunk-JBMZS5WO.js → chunk-OMPCFLWA.js} +1 -1
- package/dist/{chunk-JBUHOWIV.js → chunk-PATCHPNY.js} +1 -1
- package/dist/{chunk-MPG2FFQS.js → chunk-PLQAFB3Z.js} +1 -1
- package/dist/{chunk-XCGJPZ6H.js → chunk-PPYWQV2M.js} +2 -2
- package/dist/{chunk-IQNT6KAE.js → chunk-RA2RO27E.js} +1 -1
- package/dist/{chunk-RXGTA6YQ.js → chunk-RWFGXC35.js} +3 -3
- package/dist/{chunk-YUQ7GGAL.js → chunk-TOZ5NN5V.js} +1 -1
- package/dist/{chunk-IDCJNL7C.js → chunk-TPQVLYSV.js} +1 -1
- package/dist/{chunk-JHFXCYZP.js → chunk-UAFUGPKO.js} +1 -1
- package/dist/{chunk-UISUGXJU.js → chunk-VFQKKMKE.js} +1 -1
- package/dist/{chunk-GXU3XRI5.js → chunk-W7G3GY4I.js} +3 -3
- package/dist/{chunk-G67R75DG.js → chunk-YFE6W75D.js} +1 -1
- package/dist/{chunk-VEU6LVBR.js → chunk-YPYDLW75.js} +1 -1
- package/dist/{co-activation-OCQPRJ2I.js → co-activation-VB4CJQZB.js} +2 -2
- package/dist/{co-occurrence-S62AC2BR.js → co-occurrence-XZQJJIBM.js} +2 -2
- package/dist/{crdt-sync-VS254UOH.js → crdt-sync-KXETGV45.js} +1 -1
- package/dist/{crm-webhook-CST5WBNY.js → crm-webhook-JMOAHTJ6.js} +2 -2
- package/dist/{cto-delegation-gate-2PY563OA.js → cto-delegation-gate-IJ3KQIKF.js} +8 -8
- package/dist/{daemon-orchestration-P34RDHTM.js → daemon-orchestration-ZCY4GEI3.js} +11 -11
- package/dist/{db-backup-JEHRFLYW.js → db-backup-HLX5OLIV.js} +1 -1
- package/dist/dreaming-2CJML3TU.js +31 -0
- package/dist/{exe-drift-DOWP33NY.js → exe-drift-P5OIRNSH.js} +3 -3
- package/dist/{exe-export-QCB5UOXQ.js → exe-export-QQL2H322.js} +5 -5
- package/dist/{exe-import-JHFIXRB5.js → exe-import-V4RJCUEP.js} +5 -5
- package/dist/{exe-key-EAQDAUPT.js → exe-key-MENJGDD7.js} +2 -2
- package/dist/{exe-snapshot-RKMMV52M.js → exe-snapshot-YRARQE7F.js} +24 -6
- package/dist/{fast-db-init-PTUUO2IO.js → fast-db-init-HIJWWKAO.js} +1 -1
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-5SFBUMPC.js → git-staleness-IHTKCUMN.js} +2 -2
- package/dist/{git-task-sweep-XMK5IQXK.js → git-task-sweep-5ZPNQS7Y.js} +9 -9
- package/dist/{global-procedures-W4U257TI.js → global-procedures-XHDIZRJU.js} +3 -3
- package/dist/{graph-auto-extract-5ZD4AUSB.js → graph-auto-extract-5TPT67GP.js} +2 -2
- 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 +6 -6
- 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 +10 -10
- package/dist/hooks/post-tool-combined.js +5 -5
- package/dist/hooks/pre-compact.js +11 -11
- package/dist/hooks/pre-tool-use.js +14 -14
- package/dist/hooks/prompt-submit.js +20 -20
- package/dist/hooks/session-end.js +15 -15
- package/dist/hooks/session-start.js +10 -10
- package/dist/hooks/stop.js +14 -14
- package/dist/hooks/subagent-stop.js +10 -10
- package/dist/hooks/summary-worker.js +14 -14
- package/dist/index.js +17 -17
- package/dist/{installer-2HULECDJ.js → installer-AMZM4MLS.js} +5 -5
- package/dist/{installer-N5XZAFE4.js → installer-HW74W3IT.js} +5 -5
- package/dist/{installer-BCOJG2SE.js → installer-KT5FW4CN.js} +5 -5
- package/dist/lib/cloud-sync.js +6 -4
- package/dist/lib/consolidation.js +5 -5
- package/dist/lib/database.js +2 -2
- package/dist/lib/db-daemon-client.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +347 -69
- package/dist/lib/hybrid-search.js +5 -5
- package/dist/lib/identity.js +2 -2
- package/dist/lib/messaging.js +9 -9
- package/dist/lib/reminders.js +3 -3
- package/dist/lib/schedules.js +5 -5
- package/dist/lib/session-registry.js +4 -4
- package/dist/lib/skill-learning.js +4 -4
- package/dist/lib/store.js +4 -4
- package/dist/lib/task-router.js +3 -3
- package/dist/lib/tasks.js +9 -9
- package/dist/lib/tmux-routing.js +8 -8
- package/dist/lib/token-spend.js +3 -3
- package/dist/mcp/register-tools.js +50 -50
- package/dist/mcp/server.js +51 -51
- 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 +11 -11
- package/dist/mcp/tools/deactivate-behavior.js +5 -5
- package/dist/mcp/tools/list-reminders.js +4 -4
- 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-RTXPLRH5.js → mcp-http-config-BXX3RZPR.js} +3 -3
- package/dist/{memory-cards-3FBGRV6J.js → memory-cards-KRTP5GFM.js} +2 -2
- package/dist/{memory-graph-extractor-5D3FU5N5.js → memory-graph-extractor-G532PUHC.js} +3 -3
- package/dist/{memory-poisoning-defense-P6GL2RMF.js → memory-poisoning-defense-HJM3FQA3.js} +2 -2
- package/dist/{memory-reflection-5CVV2M3G.js → memory-reflection-RANRFUQL.js} +2 -2
- package/dist/{notifications-NV54INLG.js → notifications-4P2PVEOT.js} +8 -8
- package/dist/{orchestration-events-TEYCD6GO.js → orchestration-events-IYTASMSN.js} +3 -3
- package/dist/{orchestrator-JCNHGP6M.js → orchestrator-VKVHZ4MV.js} +10 -10
- package/dist/{pipeline-router-IX635D3U.js → pipeline-router-E4L5BDXN.js} +3 -3
- package/dist/{plan-limits-H65VL6LC.js → plan-limits-5O5QG55H.js} +3 -3
- package/dist/{projection-worker-JMGAPKH6.js → projection-worker-54KRNQSO.js} +1 -1
- package/dist/{reranker-Y2RHN7TX.js → reranker-4NTUFNYT.js} +1 -1
- package/dist/{review-polling-SAQ24T6L.js → review-polling-BFRJDLUA.js} +9 -9
- package/dist/runtime/index.js +11 -11
- package/dist/{session-events-JNUK47KH.js → session-events-KCZCWGE4.js} +9 -9
- package/dist/{session-kill-telemetry-GLCDARKV.js → session-kill-telemetry-TMNIDYWY.js} +3 -3
- package/dist/{session-scope-UR7OFFOB.js → session-scope-DRZBQ32Y.js} +8 -8
- package/dist/{setup-wizard-ZMYO7QKZ.js → setup-wizard-TQKGDAHO.js} +1 -1
- package/dist/{skill-refinement-WWWFGTUS.js → skill-refinement-Z5SWD3AM.js} +2 -2
- package/dist/{steward-gate-TAD7GEVL.js → steward-gate-7DWYS5AT.js} +3 -3
- package/dist/{task-enforcement-2LI5KWFE.js → task-enforcement-2VL5J6JJ.js} +8 -8
- package/dist/{task-scope-AYK6BVC7.js → task-scope-YHALISIB.js} +8 -8
- package/dist/{tasks-crud-OD75EH2G.js → tasks-crud-JXZEBZFR.js} +8 -8
- package/dist/{tasks-review-CC2EGWBL.js → tasks-review-PGPYJQF5.js} +8 -8
- package/dist/{telemetry-upload-NXRMUNSW.js → telemetry-upload-H7OJNBIF.js} +5 -5
- package/dist/{token-budget-6TK55BBU.js → token-budget-JJ7JQIA2.js} +2 -2
- package/dist/{tool-telemetry-E7NWXX5R.js → tool-telemetry-W4LFCHFT.js} +1 -1
- package/dist/tui/App.js +16 -16
- package/dist/{tui-data-ROOXTJQ5.js → tui-data-72U6N2DC.js} +8 -8
- package/dist/{worker-gate-MOQZ2D34.js → worker-gate-SCSN6IHI.js} +1 -1
- package/dist/{workflow-engine-4MQJI5F2.js → workflow-engine-OICYBE4F.js} +2 -2
- package/dist/{worktree-K2GDO4QX.js → worktree-JXN4RCWC.js} +4 -4
- package/package.json +1 -1
- package/release-notes.json +105 -202
- package/dist/dreaming-WIBDVAED.js +0 -12
- /package/dist/{chunk-IAPFFVYR.js → chunk-4HROS3GJ.js} +0 -0
- /package/dist/{chunk-A4TPCHMA.js → chunk-AU5426YP.js} +0 -0
- /package/dist/{chunk-CGTWFEXX.js → chunk-DHVC4RN7.js} +0 -0
- /package/dist/{chunk-3SVQ5REQ.js → chunk-GWYADLIW.js} +0 -0
- /package/dist/{chunk-P2JDWX67.js → chunk-H42LEGLB.js} +0 -0
- /package/dist/{chunk-YGJTKLGM.js → chunk-N2XUH2HQ.js} +0 -0
- /package/dist/{chunk-HFF6YG7R.js → chunk-NOLIN2YI.js} +0 -0
- /package/dist/{chunk-NNEYTOUS.js → chunk-WSHMBME6.js} +0 -0
- /package/dist/{chunk-BJOU5MBY.js → chunk-Y2L7RMGH.js} +0 -0
- /package/dist/{chunk-RX2KGETT.js → chunk-YFDDTHNM.js} +0 -0
- /package/dist/{core-memory-67AVQ3Z7.js → core-memory-VOBGGB2Q.js} +0 -0
- /package/dist/{wiki-acl-AR7RIMRY.js → wiki-acl-M3OR547L.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HNLPLLE6.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/git-task-sweep.ts
|
|
6
6
|
import { execSync } from "child_process";
|
|
@@ -178,7 +178,7 @@ async function sweepTasks(projectName, options = {}) {
|
|
|
178
178
|
}
|
|
179
179
|
if (!dryRun) {
|
|
180
180
|
try {
|
|
181
|
-
const { updateTaskStatus } = await import("./tasks-crud-
|
|
181
|
+
const { updateTaskStatus } = await import("./tasks-crud-JXZEBZFR.js");
|
|
182
182
|
await updateTaskStatus({
|
|
183
183
|
taskId: task.id,
|
|
184
184
|
status: "needs_review",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildClaudeHttpMcpEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5WUTKDH6.js";
|
|
4
4
|
import {
|
|
5
5
|
loadPreferences
|
|
6
6
|
} from "./chunk-GNHN5HRQ.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-L3TB7CC3.js";
|
|
12
12
|
import {
|
|
13
13
|
ensureAllAgentSymlinks
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4SC65UBG.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|
|
@@ -3,30 +3,30 @@ import {
|
|
|
3
3
|
} from "./chunk-MLXJ5EZG.js";
|
|
4
4
|
import {
|
|
5
5
|
createTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5R75ODPS.js";
|
|
7
7
|
import {
|
|
8
8
|
getActiveAgent
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RA2RO27E.js";
|
|
10
10
|
import {
|
|
11
11
|
ensureEmployee,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-HNLPLLE6.js";
|
|
15
15
|
import {
|
|
16
16
|
recordOrchestrationEventBestEffort
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5NJ4A4ZA.js";
|
|
18
18
|
import {
|
|
19
19
|
getAgentRuntime
|
|
20
20
|
} from "./chunk-6OJJF4WP.js";
|
|
21
21
|
import {
|
|
22
22
|
getLicenseSync
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IQSCZDBQ.js";
|
|
24
24
|
import {
|
|
25
25
|
getAgentContext
|
|
26
26
|
} from "./chunk-GJV3WDWM.js";
|
|
27
27
|
import {
|
|
28
28
|
isCoordinatorName
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2H55BIV2.js";
|
|
30
30
|
|
|
31
31
|
// src/mcp/tools/create-task.ts
|
|
32
32
|
import { z } from "zod";
|
|
@@ -275,7 +275,7 @@ function registerCreateTask(server) {
|
|
|
275
275
|
session_scope: sessionScope,
|
|
276
276
|
created_at: (/* @__PURE__ */ new Date()).toISOString()
|
|
277
277
|
}), "utf-8");
|
|
278
|
-
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-
|
|
278
|
+
const { recordOrchestrationEventBestEffort: recordOE } = await import("./orchestration-events-IYTASMSN.js");
|
|
279
279
|
recordOE({
|
|
280
280
|
eventType: "signal.created",
|
|
281
281
|
source: "create-task.mcp",
|
|
@@ -307,7 +307,7 @@ function registerCreateTask(server) {
|
|
|
307
307
|
let projectConflictOpts = {};
|
|
308
308
|
try {
|
|
309
309
|
const { getClient } = await import("./lib/database.js");
|
|
310
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
310
|
+
const { sessionScopeFilter } = await import("./task-scope-YHALISIB.js");
|
|
311
311
|
const client = getClient();
|
|
312
312
|
const scope = sessionScopeFilter(task.sessionScope || callerRoot || exeSession || null);
|
|
313
313
|
const existing = await client.execute({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isCrdtSyncEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YFDDTHNM.js";
|
|
4
4
|
import {
|
|
5
5
|
decryptSyncBlob,
|
|
6
6
|
encryptSyncBlob,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
loadEmployees,
|
|
13
13
|
registerBinSymlinks,
|
|
14
14
|
saveEmployees
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-2H55BIV2.js";
|
|
16
16
|
import {
|
|
17
17
|
loadDeviceId
|
|
18
18
|
} from "./chunk-D5C56WO3.js";
|
|
@@ -506,7 +506,7 @@ async function cloudSync(config) {
|
|
|
506
506
|
let pulled = 0;
|
|
507
507
|
if (pullResult.records.length > 0) {
|
|
508
508
|
if (isCrdtSyncEnabled()) {
|
|
509
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
509
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-KXETGV45.js");
|
|
510
510
|
initCrdtDoc();
|
|
511
511
|
importExistingMemories(
|
|
512
512
|
pullResult.records.map((rec) => ({
|
|
@@ -935,7 +935,7 @@ async function cloudSync(config) {
|
|
|
935
935
|
}
|
|
936
936
|
const totalMemories = await countRows("SELECT COUNT(*) as cnt FROM memories WHERE status = 'active' OR status IS NULL");
|
|
937
937
|
try {
|
|
938
|
-
const { getLatestBackup } = await import("./db-backup-
|
|
938
|
+
const { getLatestBackup } = await import("./db-backup-HLX5OLIV.js");
|
|
939
939
|
const latestBackup = getLatestBackup();
|
|
940
940
|
if (latestBackup) {
|
|
941
941
|
const backupSize = statSync(latestBackup).size;
|
|
@@ -2045,6 +2045,7 @@ async function cloudPullCoreMemory(config) {
|
|
|
2045
2045
|
}
|
|
2046
2046
|
|
|
2047
2047
|
export {
|
|
2048
|
+
loadPgClient,
|
|
2048
2049
|
disposeCloudSync,
|
|
2049
2050
|
pushToPostgres,
|
|
2050
2051
|
migrateEndpoint,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
findScopedDuplicate,
|
|
7
7
|
governMemoryRecord,
|
|
8
8
|
schedulePostWriteMemoryHygiene
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4HROS3GJ.js";
|
|
10
10
|
import {
|
|
11
11
|
orgBus
|
|
12
12
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
ensureSchema,
|
|
16
16
|
getClient,
|
|
17
17
|
initTurso
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-2H55BIV2.js";
|
|
19
19
|
import {
|
|
20
20
|
EMBEDDING_DIM
|
|
21
21
|
} from "./chunk-FXU7JOXK.js";
|
|
@@ -65,7 +65,7 @@ function recordShardFailure(project, error) {
|
|
|
65
65
|
`[store] Shard circuit OPEN for "${project}" after ${state.failures} consecutive failures. Will retry in ${SHARD_CB_COOLDOWN_MS / 6e4}min. Last error: ${error}
|
|
66
66
|
`
|
|
67
67
|
);
|
|
68
|
-
void import("./orchestration-events-
|
|
68
|
+
void import("./orchestration-events-IYTASMSN.js").then(({ recordOrchestrationEventBestEffort }) => {
|
|
69
69
|
recordOrchestrationEventBestEffort({
|
|
70
70
|
eventType: "shard.circuit_open",
|
|
71
71
|
source: "store.recordShardFailure",
|
|
@@ -162,7 +162,7 @@ async function initStore(options) {
|
|
|
162
162
|
);
|
|
163
163
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
164
164
|
try {
|
|
165
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
165
|
+
const { loadGlobalProcedures } = await import("./global-procedures-XHDIZRJU.js");
|
|
166
166
|
await loadGlobalProcedures();
|
|
167
167
|
} catch (e) {
|
|
168
168
|
logStoreWarn("catch", e);
|
|
@@ -290,7 +290,7 @@ async function writeMemory(record) {
|
|
|
290
290
|
founder_id: record.founder_id ?? null
|
|
291
291
|
};
|
|
292
292
|
try {
|
|
293
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
293
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-HJM3FQA3.js");
|
|
294
294
|
const poisonResult = await checkMemoryPoisoning({
|
|
295
295
|
memoryId: dbRow.id,
|
|
296
296
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -478,19 +478,19 @@ async function flushBatch() {
|
|
|
478
478
|
}
|
|
479
479
|
_nextVersion = baseVersion;
|
|
480
480
|
try {
|
|
481
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
481
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-KRTP5GFM.js");
|
|
482
482
|
await insertMemoryCardsForBatch(batch);
|
|
483
483
|
} catch (e) {
|
|
484
484
|
logStoreWarn("catch", e);
|
|
485
485
|
}
|
|
486
486
|
try {
|
|
487
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
487
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-NCAQIQQI.js");
|
|
488
488
|
await insertOntologyForBatch(batch);
|
|
489
489
|
} catch (e) {
|
|
490
490
|
logStoreWarn("catch", e);
|
|
491
491
|
}
|
|
492
492
|
try {
|
|
493
|
-
const { extractGraphForBatch } = await import("./memory-graph-extractor-
|
|
493
|
+
const { extractGraphForBatch } = await import("./memory-graph-extractor-G532PUHC.js");
|
|
494
494
|
await extractGraphForBatch(batch);
|
|
495
495
|
} catch (e) {
|
|
496
496
|
logStoreWarn("catch", e);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PLQAFB3Z.js";
|
|
4
4
|
import {
|
|
5
5
|
createTaskCore,
|
|
6
6
|
employeeSessionName,
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
isEmployeeAlive,
|
|
10
10
|
sessionScopeFilter,
|
|
11
11
|
updateTaskStatus
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-HNLPLLE6.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2H55BIV2.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createCRMWebhookHandler,
|
|
21
21
|
parseTwentyWebhook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-MAN5LZQ4.js";
|
|
23
23
|
import {
|
|
24
24
|
OllamaProvider
|
|
25
25
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
retryWithBackoff,
|
|
50
50
|
routeMessage,
|
|
51
51
|
validateGatewayConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-5LMH4YHG.js";
|
|
53
53
|
import {
|
|
54
54
|
getAccountByName,
|
|
55
55
|
getAccountByPhoneNumberId,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-452XB7OZ.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5R75ODPS.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployee,
|
|
9
9
|
extractRootExe,
|
|
@@ -14,13 +14,13 @@ import {
|
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
strictSessionScopeFilter,
|
|
16
16
|
writeNotification
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HNLPLLE6.js";
|
|
18
18
|
import {
|
|
19
19
|
queueIntercom
|
|
20
20
|
} from "./chunk-QI4IXJN7.js";
|
|
21
21
|
import {
|
|
22
22
|
listSessions
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BZNI4OK5.js";
|
|
24
24
|
import {
|
|
25
25
|
getTransport
|
|
26
26
|
} from "./chunk-MVW62NIZ.js";
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
} from "./chunk-CX6GL3ZJ.js";
|
|
31
31
|
import {
|
|
32
32
|
recordOrchestrationEventBestEffort
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-5NJ4A4ZA.js";
|
|
34
34
|
import {
|
|
35
35
|
getAgentRuntime
|
|
36
36
|
} from "./chunk-6OJJF4WP.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
baseAgentName,
|
|
39
39
|
isCoordinatorName,
|
|
40
40
|
shouldAutoInstance
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-2H55BIV2.js";
|
|
42
42
|
import {
|
|
43
43
|
loadConfigSync
|
|
44
44
|
} from "./chunk-TRZ5KA2R.js";
|
|
@@ -1655,7 +1655,7 @@ async function reapOrphanedWorktrees(deps, nowMs = Date.now()) {
|
|
|
1655
1655
|
}
|
|
1656
1656
|
async function createWorktreeReaperRealDeps() {
|
|
1657
1657
|
const { getPaneCwdAsync } = await import("./lib/tmux-status.js");
|
|
1658
|
-
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-
|
|
1658
|
+
const { getGitRoot, isWorktreeDirty: isDirty } = await import("./worktree-JXN4RCWC.js");
|
|
1659
1659
|
const { statSync: statSync2 } = await import("fs");
|
|
1660
1660
|
const { basename } = await import("path");
|
|
1661
1661
|
const { promisify } = await import("util");
|
|
@@ -1796,7 +1796,7 @@ async function gcStaleCheckpoints() {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
async function pollTaskGroupBarriers() {
|
|
1798
1798
|
try {
|
|
1799
|
-
const { checkAndFireBarriers } = await import("./tasks-crud-
|
|
1799
|
+
const { checkAndFireBarriers } = await import("./tasks-crud-JXZEBZFR.js");
|
|
1800
1800
|
const firedGroupIds = await checkAndFireBarriers();
|
|
1801
1801
|
if (firedGroupIds.length === 0) return 0;
|
|
1802
1802
|
const { getClient } = await import("./lib/database.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureWorktree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YFE6W75D.js";
|
|
4
4
|
import {
|
|
5
5
|
queueIntercom
|
|
6
6
|
} from "./chunk-QI4IXJN7.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-4JERP7NT.js";
|
|
11
11
|
import {
|
|
12
12
|
registerSession
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BZNI4OK5.js";
|
|
14
14
|
import {
|
|
15
15
|
getTransport
|
|
16
16
|
} from "./chunk-MVW62NIZ.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-CX6GL3ZJ.js";
|
|
20
20
|
import {
|
|
21
21
|
recordOrchestrationEventBestEffort
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5NJ4A4ZA.js";
|
|
23
23
|
import {
|
|
24
24
|
getAgentRuntime,
|
|
25
25
|
normalizeCcModelName
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
PlanLimitError,
|
|
32
32
|
assertEmployeeLimitSync
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-IQSCZDBQ.js";
|
|
34
34
|
import {
|
|
35
35
|
getSessionKey
|
|
36
36
|
} from "./chunk-CVYC6DUW.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-MP2AFCGL.js";
|
|
46
46
|
import {
|
|
47
47
|
ensureAgentSymlink
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-4SC65UBG.js";
|
|
49
49
|
import {
|
|
50
50
|
expandDualPrefixTools
|
|
51
51
|
} from "./chunk-HYZV25LY.js";
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
isCoordinatorName,
|
|
58
58
|
loadEmployees,
|
|
59
59
|
loadEmployeesSync
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2H55BIV2.js";
|
|
61
61
|
import {
|
|
62
62
|
loadDeviceId
|
|
63
63
|
} from "./chunk-D5C56WO3.js";
|
|
@@ -527,7 +527,7 @@ async function createTaskCore(input) {
|
|
|
527
527
|
if (isCoordinatorSession) {
|
|
528
528
|
earlySessionScope = resolved;
|
|
529
529
|
} else {
|
|
530
|
-
const { getSessionProject } = await import("./session-scope-
|
|
530
|
+
const { getSessionProject } = await import("./session-scope-DRZBQ32Y.js");
|
|
531
531
|
const sessionProject = getSessionProject(resolved);
|
|
532
532
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
533
533
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -985,7 +985,7 @@ async function updateTaskStatus(input) {
|
|
|
985
985
|
} catch {
|
|
986
986
|
}
|
|
987
987
|
try {
|
|
988
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
988
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-4P2PVEOT.js");
|
|
989
989
|
await writeNotification2({
|
|
990
990
|
agentId: reviewer,
|
|
991
991
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -1503,7 +1503,7 @@ ${input.result ?? ""}`;
|
|
|
1503
1503
|
}
|
|
1504
1504
|
if (input.status === "done" || input.status === "needs_review") {
|
|
1505
1505
|
try {
|
|
1506
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
1506
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-Z5SWD3AM.js");
|
|
1507
1507
|
await incrementSkillSuccess(
|
|
1508
1508
|
String(row.assigned_to),
|
|
1509
1509
|
row.project_name ? String(row.project_name) : null
|
|
@@ -2971,7 +2971,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
2971
2971
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2972
2972
|
};
|
|
2973
2973
|
}
|
|
2974
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
2974
|
+
const { isAtCapacity } = await import("./capacity-monitor-IFCZKRPG.js");
|
|
2975
2975
|
if (!isAtCapacity(pane)) {
|
|
2976
2976
|
return {
|
|
2977
2977
|
atCapacity: false,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
vectorToBlob
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FGJUGDNM.js";
|
|
4
4
|
import {
|
|
5
5
|
extractKeywords,
|
|
6
6
|
keywordsToString
|
|
7
7
|
} from "./chunk-CHCA3ZM2.js";
|
|
8
8
|
import {
|
|
9
9
|
isCoordinatorName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2H55BIV2.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/consolidation.ts
|
|
13
13
|
import { randomUUID } from "crypto";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
buildRawVisibilityFilter,
|
|
4
4
|
buildWikiScopeFilter,
|
|
5
5
|
searchMemories
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FGJUGDNM.js";
|
|
7
7
|
import {
|
|
8
8
|
getClient
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-2H55BIV2.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/hybrid-search.ts
|
|
12
12
|
var RRF_K = 60;
|
|
@@ -246,7 +246,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
246
246
|
let rerankerAvailable = false;
|
|
247
247
|
if (process.env.EXE_IS_DAEMON === "1") {
|
|
248
248
|
try {
|
|
249
|
-
const { isRerankerAvailable } = await import("./reranker-
|
|
249
|
+
const { isRerankerAvailable } = await import("./reranker-4NTUFNYT.js");
|
|
250
250
|
rerankerAvailable = isRerankerAvailable();
|
|
251
251
|
} catch {
|
|
252
252
|
}
|
|
@@ -301,7 +301,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
301
301
|
]).catch(() => []),
|
|
302
302
|
includeStructuredCards ? (async () => {
|
|
303
303
|
try {
|
|
304
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
304
|
+
const { searchMemoryCards } = await import("./memory-cards-KRTP5GFM.js");
|
|
305
305
|
return await searchMemoryCards(effectiveQuery, agentId, fetchOptions);
|
|
306
306
|
} catch {
|
|
307
307
|
return [];
|
|
@@ -310,7 +310,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
310
310
|
// Reflection insights: patterns, contradictions, summaries across sessions
|
|
311
311
|
includeStructuredCards ? (async () => {
|
|
312
312
|
try {
|
|
313
|
-
const { searchReflections } = await import("./memory-reflection-
|
|
313
|
+
const { searchReflections } = await import("./memory-reflection-RANRFUQL.js");
|
|
314
314
|
const insights = await searchReflections(effectiveQuery, agentId, 5);
|
|
315
315
|
return insights.map((ins) => ({
|
|
316
316
|
id: ins.id,
|
|
@@ -410,7 +410,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
410
410
|
try {
|
|
411
411
|
let rerankedRecords;
|
|
412
412
|
if (graphContextMap.size > 0) {
|
|
413
|
-
const { rerankWithContext } = await import("./reranker-
|
|
413
|
+
const { rerankWithContext } = await import("./reranker-4NTUFNYT.js");
|
|
414
414
|
const candidates = merged.map((m) => ({
|
|
415
415
|
text: m.raw_text,
|
|
416
416
|
context: graphContextMap.get(m.id)
|
|
@@ -418,7 +418,7 @@ async function hybridSearch(queryText, agentId, options) {
|
|
|
418
418
|
const scored = await rerankWithContext(effectiveQuery, candidates, rerankReturnLimit);
|
|
419
419
|
rerankedRecords = scored.map((s) => merged[s.index]);
|
|
420
420
|
} else {
|
|
421
|
-
const { rerank } = await import("./reranker-
|
|
421
|
+
const { rerank } = await import("./reranker-4NTUFNYT.js");
|
|
422
422
|
rerankedRecords = await rerank(effectiveQuery, merged, rerankReturnLimit);
|
|
423
423
|
}
|
|
424
424
|
if (rerankedRecords.length > 0) {
|
|
@@ -739,7 +739,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
739
739
|
}
|
|
740
740
|
if (results.length >= 2) {
|
|
741
741
|
try {
|
|
742
|
-
const { recordCoActivations } = await import("./co-activation-
|
|
742
|
+
const { recordCoActivations } = await import("./co-activation-VB4CJQZB.js");
|
|
743
743
|
const ids = results.slice(0, 10).map((r) => r.id);
|
|
744
744
|
void recordCoActivations(ids);
|
|
745
745
|
} catch {
|
|
@@ -747,7 +747,7 @@ async function lightweightSearch(queryText, agentId, options) {
|
|
|
747
747
|
}
|
|
748
748
|
if (options?.includeStructuredCards !== true) return results;
|
|
749
749
|
try {
|
|
750
|
-
const { searchMemoryCards } = await import("./memory-cards-
|
|
750
|
+
const { searchMemoryCards } = await import("./memory-cards-KRTP5GFM.js");
|
|
751
751
|
const cardResults = await searchMemoryCards(queryText, agentId, options);
|
|
752
752
|
if (cardResults.length > 0) {
|
|
753
753
|
return rrfMergeMulti([results, cardResults], limit, RRF_K, [1, 0.85]);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5R75ODPS.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HNLPLLE6.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/tools/update-task.ts
|
|
9
9
|
import { z } from "zod";
|
|
@@ -39,7 +39,7 @@ function registerUpdateTask(server) {
|
|
|
39
39
|
const status = rawStatus;
|
|
40
40
|
let callerAgentId;
|
|
41
41
|
try {
|
|
42
|
-
const { getActiveAgent: getAgent } = await import("./active-agent-
|
|
42
|
+
const { getActiveAgent: getAgent } = await import("./active-agent-55C5Y3XL.js");
|
|
43
43
|
callerAgentId = getAgent().agentId;
|
|
44
44
|
} catch {
|
|
45
45
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
extractMemoryGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O6DAF2TY.js";
|
|
4
4
|
import {
|
|
5
5
|
flushBatch,
|
|
6
6
|
writeMemory
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FGJUGDNM.js";
|
|
8
8
|
import {
|
|
9
9
|
extractKeywords
|
|
10
10
|
} from "./chunk-CHCA3ZM2.js";
|
|
11
11
|
import {
|
|
12
12
|
getActiveAgent
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-RA2RO27E.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/import-conversations.ts
|
|
16
16
|
import { z } from "zod";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
deactivateBehavior
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UAFUGPKO.js";
|
|
4
4
|
import {
|
|
5
5
|
getActiveAgent
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RA2RO27E.js";
|
|
7
7
|
import {
|
|
8
8
|
canCoordinate,
|
|
9
9
|
getClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2H55BIV2.js";
|
|
11
11
|
|
|
12
12
|
// src/mcp/tools/deactivate-behavior.ts
|
|
13
13
|
import { z } from "zod";
|
|
@@ -24,7 +24,7 @@ function registerDeactivateBehavior(server) {
|
|
|
24
24
|
async ({ behavior_id }) => {
|
|
25
25
|
const caller = getActiveAgent();
|
|
26
26
|
try {
|
|
27
|
-
const { StewardGate } = await import("./steward-gate-
|
|
27
|
+
const { StewardGate } = await import("./steward-gate-7DWYS5AT.js");
|
|
28
28
|
const steward = new StewardGate();
|
|
29
29
|
const gateDecision = await steward.checkAuthority(caller.agentId || "unknown", "deactivate_behavior", behavior_id);
|
|
30
30
|
if (!gateDecision.allowed) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FKWZVO2T.js";
|
|
4
4
|
import {
|
|
5
5
|
createQuietRenderer,
|
|
6
6
|
createTerminalRenderer,
|
|
@@ -206,7 +206,7 @@ function createExeOSHooks(config) {
|
|
|
206
206
|
);
|
|
207
207
|
}
|
|
208
208
|
try {
|
|
209
|
-
const { listBehaviors } = await import("./behaviors-
|
|
209
|
+
const { listBehaviors } = await import("./behaviors-6BGALYGW.js");
|
|
210
210
|
const behaviors = await listBehaviors(config.agentId, config.projectName, 12);
|
|
211
211
|
if (behaviors.length > 0) {
|
|
212
212
|
process.stderr.write(
|
|
@@ -327,7 +327,7 @@ function createExeOSHooks(config) {
|
|
|
327
327
|
async onSubagentStop(_reason) {
|
|
328
328
|
try {
|
|
329
329
|
const { getClient } = await import("./lib/database.js");
|
|
330
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
330
|
+
const { sessionScopeFilter } = await import("./task-scope-YHALISIB.js");
|
|
331
331
|
const client = getClient();
|
|
332
332
|
const ehScope = sessionScopeFilter();
|
|
333
333
|
const tasks = await client.execute({
|
|
@@ -419,7 +419,7 @@ function createExeOSHooks(config) {
|
|
|
419
419
|
try {
|
|
420
420
|
const { writeMemory, flushBatch } = await import("./lib/store.js");
|
|
421
421
|
const { getClient } = await import("./lib/database.js");
|
|
422
|
-
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-
|
|
422
|
+
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-YHALISIB.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|