@askexenow/exe-os 0.9.236 → 0.9.237
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{active-agent-JD6BCCFZ.js → active-agent-6WX7GZBH.js} +3 -3
- package/dist/{active-agent-RCXBLWQS.js → active-agent-X3GALNAR.js} +3 -3
- package/dist/{agentic-ontology-PAYLA3Q6.js → agentic-ontology-NBU3FHEX.js} +1 -1
- package/dist/{backfill-metadata-63Y4JVSZ.js → backfill-metadata-NG2L5GUP.js} +4 -4
- package/dist/behavior-effectiveness-UP76GMOC.js +344 -0
- package/dist/{behaviors-I7JQLV6G.js → behaviors-DH7XFONJ.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 +9 -9
- package/dist/bin/exe-assign.js +5 -5
- package/dist/bin/exe-boot.js +17 -17
- package/dist/bin/exe-call.js +5 -5
- 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 +17 -17
- package/dist/bin/exe-new-employee.js +7 -7
- 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 +5 -5
- 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/pre-publish.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-NVSZABQG.js → capacity-monitor-KAKNWAA4.js} +10 -10
- package/dist/{catchup-brief-L76MGN2J.js → catchup-brief-RZF7HEYB.js} +11 -11
- package/dist/{chunk-VTLUUTWI.js → chunk-2LYJTK47.js} +40 -1
- package/dist/{chunk-MJMJMHFC.js → chunk-2O5GJFYQ.js} +1 -1
- package/dist/{chunk-N5VQ3PVS.js → chunk-2VXHPSIJ.js} +1 -1
- package/dist/{chunk-Q25V2UO6.js → chunk-3JVO6X4W.js} +1 -1
- package/dist/{chunk-Y2PQS2GI.js → chunk-3NYRIK73.js} +2 -2
- package/dist/{chunk-QK7R2CUS.js → chunk-4HMKJDPB.js} +3 -3
- package/dist/{chunk-5NIUTWV4.js → chunk-5KDROSDV.js} +1 -1
- package/dist/{chunk-5SYO2FD7.js → chunk-627ZOPZQ.js} +64 -12
- package/dist/{chunk-24KEYEYL.js → chunk-7LIXU3TB.js} +8 -8
- package/dist/{chunk-NEXKWAVU.js → chunk-7PVUUC3O.js} +5 -5
- package/dist/{chunk-X4AZWJP4.js → chunk-AYBC6AYP.js} +8 -8
- package/dist/{chunk-YVN2WG5T.js → chunk-BTPXNV5W.js} +1 -1
- package/dist/{chunk-Z7A6DTIN.js → chunk-CJEVAKKC.js} +2 -2
- package/dist/{chunk-J2QQMTCD.js → chunk-COMWI7SO.js} +1 -1
- package/dist/{chunk-ENGXTDTJ.js → chunk-ENQIADYO.js} +479 -149
- package/dist/{chunk-PBA32J2M.js → chunk-ENWFSMOS.js} +10 -10
- package/dist/{chunk-CKTFH5RQ.js → chunk-ES5JM6V2.js} +2 -2
- package/dist/{chunk-NOQSYYVA.js → chunk-FQJWTRCB.js} +1 -1
- package/dist/{chunk-XORJOW4J.js → chunk-G67R75DG.js} +1 -1
- package/dist/{chunk-SUQSNH4N.js → chunk-GXU3XRI5.js} +3 -3
- package/dist/{chunk-CHFBYRJX.js → chunk-HFYCKIVJ.js} +2 -2
- package/dist/{chunk-LX7AMJIX.js → chunk-HUVSY6NF.js} +2 -2
- package/dist/{chunk-CNCTKOX2.js → chunk-IDCJNL7C.js} +1 -1
- package/dist/{chunk-ZOPLM7G3.js → chunk-IQNT6KAE.js} +1 -1
- package/dist/{chunk-XPRYBSMJ.js → chunk-JBMZS5WO.js} +1 -1
- package/dist/{chunk-BWHBPDYB.js → chunk-JBUHOWIV.js} +1 -1
- package/dist/{chunk-2QRT6G4V.js → chunk-JHFXCYZP.js} +1 -1
- package/dist/{chunk-6XOAK64X.js → chunk-JLHSEBNQ.js} +3 -3
- package/dist/{chunk-5NFBE376.js → chunk-K77WC6HA.js} +12 -0
- package/dist/{chunk-LWQ3PFSR.js → chunk-KRLR26L2.js} +2 -2
- package/dist/{chunk-2EBKU2XN.js → chunk-KWH6H64R.js} +145 -3
- package/dist/{chunk-ZAS43I3E.js → chunk-LUCHTCME.js} +1 -1
- package/dist/{chunk-VXVI75ED.js → chunk-LXP6VRFH.js} +1 -1
- package/dist/{chunk-OMHTKVHC.js → chunk-MPG2FFQS.js} +1 -1
- package/dist/{chunk-43AN2SYJ.js → chunk-N4IJWOIS.js} +2 -2
- package/dist/{chunk-PJPPO6EF.js → chunk-NCJNGQUZ.js} +1 -1
- package/dist/{chunk-2UD2P2LO.js → chunk-NJS4GRIR.js} +1 -1
- package/dist/{chunk-L3GKFCXW.js → chunk-NQU2RTCP.js} +8 -8
- package/dist/{chunk-J2LPDECR.js → chunk-NS7FW3NG.js} +2 -2
- package/dist/{chunk-SL7SYDNI.js → chunk-PQBANSH6.js} +2 -2
- package/dist/{chunk-M4ERGSIO.js → chunk-Q4MZN62R.js} +3 -3
- package/dist/{chunk-MDE2ZNWZ.js → chunk-QQFZID36.js} +1 -1
- package/dist/{chunk-H3UGSTZH.js → chunk-QXKWSRUZ.js} +9 -9
- package/dist/{chunk-Q4GHOMRW.js → chunk-RM6PJ34R.js} +1 -1
- package/dist/{chunk-Z2EJ234K.js → chunk-RXGTA6YQ.js} +3 -3
- package/dist/{chunk-DEAYJXHL.js → chunk-T3ASODFG.js} +3 -3
- package/dist/{chunk-DGZJXYK7.js → chunk-UISUGXJU.js} +1 -1
- package/dist/{chunk-4DIB3GXJ.js → chunk-VEU6LVBR.js} +1 -1
- package/dist/{chunk-ZPZFR3EN.js → chunk-VK5IBXXT.js} +5 -5
- package/dist/{chunk-WJH6IM7Q.js → chunk-WQCSGDRG.js} +1 -1
- package/dist/{chunk-CFG73TVV.js → chunk-WQXJIMBO.js} +2 -2
- package/dist/{chunk-NFHSUQ2R.js → chunk-XCGJPZ6H.js} +2 -2
- package/dist/{chunk-JH7CK57B.js → chunk-YDG343II.js} +4 -3
- package/dist/{chunk-L6LDDOYW.js → chunk-YENDNLAD.js} +1 -1
- package/dist/{chunk-QUTBXURR.js → chunk-YUQ7GGAL.js} +4 -3
- package/dist/{chunk-26JSRH2T.js → chunk-YUS7IS3I.js} +8 -8
- package/dist/{chunk-4TKI4VW7.js → chunk-ZZBOV6WA.js} +4 -4
- package/dist/{co-activation-XS7CDNIK.js → co-activation-OCQPRJ2I.js} +2 -2
- package/dist/{co-occurrence-R5D6WB4A.js → co-occurrence-S62AC2BR.js} +2 -2
- package/dist/{crdt-sync-NEINCZF7.js → crdt-sync-VS254UOH.js} +1 -1
- package/dist/{crm-webhook-C2LSU33R.js → crm-webhook-CST5WBNY.js} +2 -2
- package/dist/{cto-delegation-gate-4DLESYKG.js → cto-delegation-gate-2PY563OA.js} +8 -8
- package/dist/{daemon-orchestration-IW3MD56I.js → daemon-orchestration-P34RDHTM.js} +11 -11
- package/dist/{db-backup-C44Q44WQ.js → db-backup-JEHRFLYW.js} +1 -1
- package/dist/{dreaming-YKXGUTVR.js → dreaming-WIBDVAED.js} +3 -3
- package/dist/{exe-drift-B5ZMICND.js → exe-drift-DOWP33NY.js} +3 -3
- package/dist/{exe-export-WPJD5XA3.js → exe-export-QCB5UOXQ.js} +6 -6
- package/dist/{exe-import-AIGIF253.js → exe-import-JHFIXRB5.js} +6 -6
- package/dist/{exe-key-2C23CONG.js → exe-key-EAQDAUPT.js} +2 -2
- package/dist/{exe-snapshot-2NZ6BL7S.js → exe-snapshot-RKMMV52M.js} +6 -6
- package/dist/{fast-db-init-O6Y4G47U.js → fast-db-init-PTUUO2IO.js} +1 -1
- package/dist/gateway/index.js +8 -8
- package/dist/{git-staleness-DFHISHY2.js → git-staleness-5SFBUMPC.js} +2 -2
- package/dist/{git-task-sweep-6P4YPAIY.js → git-task-sweep-XMK5IQXK.js} +9 -9
- package/dist/{global-procedures-45Z53UIF.js → global-procedures-W4U257TI.js} +4 -4
- package/dist/{graph-auto-extract-I37N7WQN.js → graph-auto-extract-5ZD4AUSB.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 +21 -4
- 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 +28 -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 +18 -18
- package/dist/{installer-SCPRAYJN.js → installer-2HULECDJ.js} +5 -5
- package/dist/{installer-OSIEPXXH.js → installer-BCOJG2SE.js} +5 -5
- package/dist/{installer-3MSU3GSG.js → installer-N5XZAFE4.js} +5 -5
- package/dist/investigation-tracker-WSCY4XBP.js +410 -0
- package/dist/lib/cloud-sync.js +4 -4
- package/dist/lib/consolidation.js +5 -5
- package/dist/lib/database.js +2 -2
- package/dist/lib/db.js +2 -2
- package/dist/lib/employee-templates.js +5 -5
- package/dist/lib/employees.js +2 -2
- package/dist/lib/exe-daemon.js +30 -30
- 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 +52 -52
- package/dist/mcp/server.js +53 -53
- 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-KBPJ4QNG.js → mcp-http-config-RTXPLRH5.js} +3 -3
- package/dist/{memory-cards-ICBAONHA.js → memory-cards-3FBGRV6J.js} +2 -2
- package/dist/{memory-graph-extractor-B33AXVOW.js → memory-graph-extractor-5D3FU5N5.js} +3 -3
- package/dist/{memory-poisoning-defense-KNQGXMQ2.js → memory-poisoning-defense-P6GL2RMF.js} +2 -2
- package/dist/{memory-reflection-H6WTTBDO.js → memory-reflection-5CVV2M3G.js} +2 -2
- package/dist/{notifications-3SVZCDEY.js → notifications-NV54INLG.js} +8 -8
- package/dist/{orchestration-events-PCGTHJ67.js → orchestration-events-TEYCD6GO.js} +3 -3
- package/dist/{orchestrator-46YDSPQI.js → orchestrator-JCNHGP6M.js} +10 -10
- package/dist/{pipeline-router-RCPUSLWO.js → pipeline-router-IX635D3U.js} +3 -3
- package/dist/{plan-limits-4JH2GWCP.js → plan-limits-H65VL6LC.js} +3 -3
- package/dist/{projection-worker-B4TWS2FX.js → projection-worker-JMGAPKH6.js} +1 -1
- package/dist/{reranker-CCAEXD25.js → reranker-Y2RHN7TX.js} +1 -1
- package/dist/{review-polling-Z7NRBMHV.js → review-polling-SAQ24T6L.js} +9 -9
- package/dist/runtime/index.js +15 -15
- package/dist/{session-events-TNO5ISQB.js → session-events-JNUK47KH.js} +9 -9
- package/dist/{session-kill-telemetry-6FDEUGO5.js → session-kill-telemetry-GLCDARKV.js} +3 -3
- package/dist/{session-scope-MGHWXZYK.js → session-scope-UR7OFFOB.js} +8 -8
- package/dist/{setup-wizard-5O5OQOXH.js → setup-wizard-ZMYO7QKZ.js} +1 -1
- package/dist/{skill-refinement-Y7N2Q25B.js → skill-refinement-WWWFGTUS.js} +2 -2
- package/dist/{steward-gate-H2VKZNW2.js → steward-gate-TAD7GEVL.js} +3 -3
- package/dist/{task-enforcement-QTVMU2RS.js → task-enforcement-2LI5KWFE.js} +8 -8
- package/dist/{task-scope-YQ6O3DIE.js → task-scope-AYK6BVC7.js} +8 -8
- package/dist/{tasks-crud-ZGQZPZAM.js → tasks-crud-OD75EH2G.js} +8 -8
- package/dist/{tasks-review-EM3YKWOR.js → tasks-review-CC2EGWBL.js} +8 -8
- package/dist/{telemetry-upload-QTBI5CFE.js → telemetry-upload-NXRMUNSW.js} +128 -6
- package/dist/{token-budget-OQ6XR5EK.js → token-budget-6TK55BBU.js} +2 -2
- package/dist/{tool-telemetry-NKCCCPQJ.js → tool-telemetry-E7NWXX5R.js} +1 -1
- package/dist/tui/App.js +17 -17
- package/dist/{tui-data-MSZKTQDJ.js → tui-data-ROOXTJQ5.js} +8 -8
- package/dist/{worker-gate-WQ2BEQTX.js → worker-gate-MOQZ2D34.js} +1 -1
- package/dist/{workflow-engine-YB7OOSAT.js → workflow-engine-4MQJI5F2.js} +2 -2
- package/dist/{worktree-W6OAHIBE.js → worktree-K2GDO4QX.js} +4 -4
- package/package.json +1 -1
- /package/dist/{chunk-THNAZQIH.js → chunk-3SVQ5REQ.js} +0 -0
- /package/dist/{chunk-MBEF2YKQ.js → chunk-A4TPCHMA.js} +0 -0
- /package/dist/{chunk-5O42LXU7.js → chunk-BJOU5MBY.js} +0 -0
- /package/dist/{chunk-6HYAEYQ3.js → chunk-CGTWFEXX.js} +0 -0
- /package/dist/{chunk-SDKRRTP6.js → chunk-HFF6YG7R.js} +0 -0
- /package/dist/{chunk-N345XXAA.js → chunk-IAPFFVYR.js} +0 -0
- /package/dist/{chunk-VJ6HKJMQ.js → chunk-NNEYTOUS.js} +0 -0
- /package/dist/{chunk-CU6CYZOI.js → chunk-P2JDWX67.js} +0 -0
- /package/dist/{chunk-FUVINDE3.js → chunk-RX2KGETT.js} +0 -0
- /package/dist/{chunk-ARETQ22D.js → chunk-YGJTKLGM.js} +0 -0
- /package/dist/{core-memory-NYBNXCKZ.js → core-memory-67AVQ3Z7.js} +0 -0
- /package/dist/{wiki-acl-RMP5KXYK.js → wiki-acl-AR7RIMRY.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ensureWorktree
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-G67R75DG.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-NJS4GRIR.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-2O5GJFYQ.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-LXP6VRFH.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-WQCSGDRG.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-2LYJTK47.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-UR7OFFOB.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-NV54INLG.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-WWWFGTUS.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-KAKNWAA4.js");
|
|
2975
2975
|
if (!isAtCapacity(pane)) {
|
|
2976
2976
|
return {
|
|
2977
2977
|
atCapacity: false,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fastDbInit
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-P2JDWX67.js";
|
|
4
4
|
import {
|
|
5
5
|
sessionScopeFilter
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ENWFSMOS.js";
|
|
7
7
|
import {
|
|
8
8
|
formatStatusAll,
|
|
9
9
|
formatStatusDeep,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
getClient,
|
|
15
15
|
isCoordinatorRole,
|
|
16
16
|
loadEmployees
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2LYJTK47.js";
|
|
18
18
|
import {
|
|
19
19
|
isMainModule
|
|
20
20
|
} from "./chunk-6Y4B3QF6.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ENWFSMOS.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-OD75EH2G.js");
|
|
182
182
|
await updateTaskStatus({
|
|
183
183
|
taskId: task.id,
|
|
184
184
|
status: "needs_review",
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createCRMWebhookHandler,
|
|
21
21
|
parseTwentyWebhook
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2VXHPSIJ.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-N4IJWOIS.js";
|
|
53
53
|
import {
|
|
54
54
|
getAccountByName,
|
|
55
55
|
getAccountByPhoneNumberId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
routeTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MPG2FFQS.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-ENWFSMOS.js";
|
|
13
13
|
import {
|
|
14
14
|
DEFAULT_COORDINATOR_TEMPLATE_NAME,
|
|
15
15
|
getCoordinatorName
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-2LYJTK47.js";
|
|
17
17
|
|
|
18
18
|
// src/runtime/orchestrator.ts
|
|
19
19
|
var STALE_THRESHOLD_MS = 2 * 60 * 60 * 1e3;
|
|
@@ -256,6 +256,18 @@ var PLATFORM_PROCEDURES = [
|
|
|
256
256
|
priority: "p0",
|
|
257
257
|
content: "When starting any task, you MUST provide a time estimate. Use estimated_minutes and estimate_confidence params on update_task(in_progress). Example: estimated_minutes=60, estimate_confidence=0.6. The system auto-records started_at when you claim a task and auto-computes actual_minutes when you complete it. Your estimation accuracy is tracked per-agent: estimated vs actual, ratio, and pattern (chronic underestimator vs overestimator). If your estimate was wrong, explain why in assertions_resolved with why_wrong='scope_underestimate' or 'scope_overestimate'. Common causes: hidden complexity not visible from initial diagnosis, dependency chains not traced, unfamiliar codebase area. Over time, this calibrates trust: can we rely on your time estimates for planning?"
|
|
258
258
|
},
|
|
259
|
+
{
|
|
260
|
+
title: "Verify your own fix \u2014 NEVER ask the user to test for you",
|
|
261
|
+
domain: "workflow",
|
|
262
|
+
priority: "p0",
|
|
263
|
+
content: "When you claim a bug is fixed, YOU must prove it works. NEVER say 'try it now' or 'go test it'. Run the actual verification yourself: curl the endpoint, use playwright to click the button, run the test suite, check the logs. If you cannot verify it yourself, say 'I cannot verify this \u2014 here is what I changed and why, but I need you to test because [specific reason].' Saying 'fixed' without evidence is a lie. If you said 'fixed' and the user reports it's not fixed, your next assertion on the same bug MUST have confidence \u2264 0.5. After 3 wrong attempts on the same bug, stop and reassess from scratch \u2014 your mental model is wrong. Every failed fix attempt must be logged as a resolved assertion with outcome='incorrect' and why_wrong filled in. This builds the record of what was tried, what failed, and why \u2014 so the next attempt doesn't repeat the same mistake."
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
title: "Confidence decay \u2014 lower confidence after each wrong assertion on the same problem",
|
|
267
|
+
domain: "cognition",
|
|
268
|
+
priority: "p0",
|
|
269
|
+
content: "When you make an assertion and it turns out wrong, your next assertion on the SAME problem must have lower confidence. First attempt: use your honest confidence (e.g. 0.8). Second attempt after first was wrong: cap at 0.5. Third attempt: cap at 0.3. After 3 failed assertions on the same problem, STOP. Step back and reassess your entire approach \u2014 your mental model is fundamentally wrong. Do not keep trying variations of the same approach. Read the code again from scratch, check your assumptions, trace the actual execution path. The pattern of 'confident fix \u2192 wrong \u2192 confident fix \u2192 wrong \u2192 repeat' is the worst user experience in AI. It destroys trust faster than admitting 'I don't know.'"
|
|
270
|
+
},
|
|
259
271
|
{
|
|
260
272
|
title: "Use /exe-afk for monitoring \u2014 /loop is deprecated for orchestration",
|
|
261
273
|
domain: "workflow",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildClaudeHttpMcpEntry
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RM6PJ34R.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-WQCSGDRG.js";
|
|
15
15
|
import {
|
|
16
16
|
MCP_LEGACY_KEY,
|
|
17
17
|
MCP_PRIMARY_KEY
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getClient,
|
|
3
3
|
getIdentity
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2LYJTK47.js";
|
|
5
5
|
|
|
6
6
|
// src/lib/dreaming.ts
|
|
7
7
|
var DreamingEngine = class {
|
|
@@ -65,10 +65,60 @@ var DreamingEngine = class {
|
|
|
65
65
|
priority: String(r.priority ?? "p1"),
|
|
66
66
|
created_at: String(r.created_at)
|
|
67
67
|
}));
|
|
68
|
+
let investigations = [];
|
|
69
|
+
try {
|
|
70
|
+
const invResult = await client.execute({
|
|
71
|
+
sql: `SELECT investigation_key,
|
|
72
|
+
COUNT(*) as total,
|
|
73
|
+
SUM(CASE WHEN result != 'pass' THEN 1 ELSE 0 END) as failed,
|
|
74
|
+
SUM(CASE WHEN result != 'pass' THEN duration_ms ELSE 0 END) as wasted_ms,
|
|
75
|
+
failure_category
|
|
76
|
+
FROM investigation_attempts
|
|
77
|
+
WHERE agent_id = ? AND timestamp >= ?
|
|
78
|
+
GROUP BY investigation_key
|
|
79
|
+
ORDER BY failed DESC
|
|
80
|
+
LIMIT 20`,
|
|
81
|
+
args: [agentId, startISO]
|
|
82
|
+
});
|
|
83
|
+
const invMap = /* @__PURE__ */ new Map();
|
|
84
|
+
const catCounts = /* @__PURE__ */ new Map();
|
|
85
|
+
for (const r of invResult.rows) {
|
|
86
|
+
const key = String(r.investigation_key ?? "");
|
|
87
|
+
if (!invMap.has(key)) {
|
|
88
|
+
invMap.set(key, {
|
|
89
|
+
investigationKey: key,
|
|
90
|
+
totalAttempts: Number(r.total ?? 0),
|
|
91
|
+
failedAttempts: Number(r.failed ?? 0),
|
|
92
|
+
topFailureCategory: String(r.failure_category ?? "unknown"),
|
|
93
|
+
wastedMs: Number(r.wasted_ms ?? 0)
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
const cat = String(r.failure_category ?? "unknown");
|
|
97
|
+
if (!catCounts.has(key)) catCounts.set(key, /* @__PURE__ */ new Map());
|
|
98
|
+
catCounts.get(key).set(cat, (catCounts.get(key).get(cat) ?? 0) + Number(r.failed ?? 0));
|
|
99
|
+
}
|
|
100
|
+
for (const [key, rec] of invMap) {
|
|
101
|
+
const cats = catCounts.get(key);
|
|
102
|
+
if (cats) {
|
|
103
|
+
let topCat = "unknown";
|
|
104
|
+
let topCount = 0;
|
|
105
|
+
for (const [cat, count] of cats) {
|
|
106
|
+
if (count > topCount) {
|
|
107
|
+
topCat = cat;
|
|
108
|
+
topCount = count;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
rec.topFailureCategory = topCat;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
investigations = Array.from(invMap.values());
|
|
115
|
+
} catch {
|
|
116
|
+
}
|
|
68
117
|
return {
|
|
69
118
|
memories,
|
|
70
119
|
tasks,
|
|
71
120
|
behaviors,
|
|
121
|
+
investigations,
|
|
72
122
|
period: { start: startISO, end: endISO }
|
|
73
123
|
};
|
|
74
124
|
}
|
|
@@ -134,6 +184,38 @@ var DreamingEngine = class {
|
|
|
134
184
|
confidence: 0.7
|
|
135
185
|
});
|
|
136
186
|
}
|
|
187
|
+
if (review.investigations.length > 0) {
|
|
188
|
+
const catTotals = /* @__PURE__ */ new Map();
|
|
189
|
+
let totalFailed = 0;
|
|
190
|
+
let totalAttempts = 0;
|
|
191
|
+
let totalWastedMs = 0;
|
|
192
|
+
for (const inv of review.investigations) {
|
|
193
|
+
totalAttempts += inv.totalAttempts;
|
|
194
|
+
totalFailed += inv.failedAttempts;
|
|
195
|
+
totalWastedMs += inv.wastedMs;
|
|
196
|
+
catTotals.set(inv.topFailureCategory, (catTotals.get(inv.topFailureCategory) ?? 0) + inv.failedAttempts);
|
|
197
|
+
}
|
|
198
|
+
if (totalAttempts > 0 && totalFailed / totalAttempts > 0.5) {
|
|
199
|
+
patterns.push({
|
|
200
|
+
type: "mistake",
|
|
201
|
+
description: `Investigation failure rate: ${Math.round(totalFailed / totalAttempts * 100)}% of ${totalAttempts} attempts failed (${Math.round(totalWastedMs / 6e4)}min wasted)`,
|
|
202
|
+
evidence: review.investigations.map((i) => `${i.investigationKey}: ${i.failedAttempts}/${i.totalAttempts} failed (${i.topFailureCategory})`),
|
|
203
|
+
frequency: totalFailed,
|
|
204
|
+
confidence: Math.min(0.6 + totalFailed * 0.05, 0.95)
|
|
205
|
+
});
|
|
206
|
+
}
|
|
207
|
+
const sortedCats = Array.from(catTotals.entries()).sort(([, a], [, b]) => b - a);
|
|
208
|
+
if (sortedCats.length > 0 && sortedCats[0][1] >= 2) {
|
|
209
|
+
const [topCat, topCount] = sortedCats[0];
|
|
210
|
+
patterns.push({
|
|
211
|
+
type: "inefficiency",
|
|
212
|
+
description: `Top debugging failure: "${topCat}" (${topCount} times). ${topCat === "lack_of_context" ? "Agent didn't have enough code context before editing" : topCat === "lack_of_tools" ? "Agent couldn't verify the fix (missing tools)" : topCat === "lack_of_reasoning" ? "Agent had the info but drew wrong conclusion" : topCat === "lack_of_measurement" ? "Agent tested the wrong thing (API vs browser)" : topCat === "wrong_diagnosis" ? "Agent misidentified the root cause" : "Recurring failure pattern"}`,
|
|
213
|
+
evidence: review.investigations.filter((i) => i.topFailureCategory === topCat).map((i) => `${i.investigationKey}: ${i.failedAttempts} failed attempts`),
|
|
214
|
+
frequency: topCount,
|
|
215
|
+
confidence: Math.min(0.7 + topCount * 0.05, 0.95)
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
}
|
|
137
219
|
return patterns;
|
|
138
220
|
}
|
|
139
221
|
/**
|
|
@@ -163,7 +245,47 @@ var DreamingEngine = class {
|
|
|
163
245
|
});
|
|
164
246
|
break;
|
|
165
247
|
case "inefficiency":
|
|
166
|
-
if (pattern.description.includes("
|
|
248
|
+
if (pattern.description.includes("lack_of_context")) {
|
|
249
|
+
proposals.push({
|
|
250
|
+
text: "Before editing any file for a bug fix, run code_context(action='search') and code_context(action='trace') to understand the full call chain. You've been editing without enough context.",
|
|
251
|
+
priority: "p0",
|
|
252
|
+
domain: "investigation",
|
|
253
|
+
rationale: `Pattern: ${pattern.description}`,
|
|
254
|
+
source_pattern: pattern
|
|
255
|
+
});
|
|
256
|
+
} else if (pattern.description.includes("lack_of_measurement")) {
|
|
257
|
+
proposals.push({
|
|
258
|
+
text: "After every fix, test the ACTUAL user flow (playwright for frontend, curl for API) \u2014 not just the build. You've been testing at the wrong level.",
|
|
259
|
+
priority: "p0",
|
|
260
|
+
domain: "investigation",
|
|
261
|
+
rationale: `Pattern: ${pattern.description}`,
|
|
262
|
+
source_pattern: pattern
|
|
263
|
+
});
|
|
264
|
+
} else if (pattern.description.includes("lack_of_tools")) {
|
|
265
|
+
proposals.push({
|
|
266
|
+
text: "You lack verification tools for this type of work. Before starting, check: do you have playwright for browser testing? curl for API testing? Access to logs? Request what you need before guessing.",
|
|
267
|
+
priority: "p0",
|
|
268
|
+
domain: "investigation",
|
|
269
|
+
rationale: `Pattern: ${pattern.description}`,
|
|
270
|
+
source_pattern: pattern
|
|
271
|
+
});
|
|
272
|
+
} else if (pattern.description.includes("lack_of_reasoning")) {
|
|
273
|
+
proposals.push({
|
|
274
|
+
text: "Trace the actual execution path step-by-step instead of guessing from code reading. Read the logs, add console.log, check the actual HTTP request \u2014 don't reason about what SHOULD happen.",
|
|
275
|
+
priority: "p0",
|
|
276
|
+
domain: "investigation",
|
|
277
|
+
rationale: `Pattern: ${pattern.description}`,
|
|
278
|
+
source_pattern: pattern
|
|
279
|
+
});
|
|
280
|
+
} else if (pattern.description.includes("wrong_diagnosis")) {
|
|
281
|
+
proposals.push({
|
|
282
|
+
text: "Run blast_radius before editing. Your diagnoses are hitting the wrong target. Understand what the change affects across the full dependency chain before committing to a fix.",
|
|
283
|
+
priority: "p0",
|
|
284
|
+
domain: "investigation",
|
|
285
|
+
rationale: `Pattern: ${pattern.description}`,
|
|
286
|
+
source_pattern: pattern
|
|
287
|
+
});
|
|
288
|
+
} else if (pattern.description.includes("behavior churn")) {
|
|
167
289
|
proposals.push({
|
|
168
290
|
text: `Review existing behaviors before creating new ones \u2014 high churn detected (${pattern.frequency} in period).`,
|
|
169
291
|
priority: "p1",
|
|
@@ -342,6 +464,27 @@ var DreamingEngine = class {
|
|
|
342
464
|
const proposals = this.proposeBehaviors(patterns);
|
|
343
465
|
const drift = this.calculateDrift(agentId, review);
|
|
344
466
|
const calibration = await this.computeCalibration(agentId, hours);
|
|
467
|
+
const client = getClient();
|
|
468
|
+
try {
|
|
469
|
+
const { scoreBehaviors, detectConflicts, measureBehaviorLoad } = await import("./behavior-effectiveness-UP76GMOC.js");
|
|
470
|
+
const scores = await scoreBehaviors(agentId);
|
|
471
|
+
const conflicts = await detectConflicts(agentId);
|
|
472
|
+
const _load = await measureBehaviorLoad(agentId);
|
|
473
|
+
for (const score of scores) {
|
|
474
|
+
if (score.recommendation === "deactivate") {
|
|
475
|
+
await client.execute({
|
|
476
|
+
sql: "UPDATE behaviors SET active = 0, updated_at = ? WHERE id = ?",
|
|
477
|
+
args: [(/* @__PURE__ */ new Date()).toISOString(), score.behaviorId]
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
}
|
|
481
|
+
const deactivateCount = scores.filter((s) => s.recommendation === "deactivate").length;
|
|
482
|
+
if (conflicts.length > 0 || deactivateCount > 0) {
|
|
483
|
+
process.stderr.write(`[dreaming] Behavior health: ${conflicts.length} conflicts, ${deactivateCount} ineffective
|
|
484
|
+
`);
|
|
485
|
+
}
|
|
486
|
+
} catch {
|
|
487
|
+
}
|
|
345
488
|
const result = {
|
|
346
489
|
review,
|
|
347
490
|
patterns,
|
|
@@ -351,7 +494,6 @@ var DreamingEngine = class {
|
|
|
351
494
|
timestamp: (/* @__PURE__ */ new Date()).toISOString()
|
|
352
495
|
};
|
|
353
496
|
try {
|
|
354
|
-
const client = getClient();
|
|
355
497
|
const { randomUUID } = await import("crypto");
|
|
356
498
|
const id = randomUUID();
|
|
357
499
|
const calLines = [];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ingest
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FQJWTRCB.js";
|
|
4
4
|
import {
|
|
5
5
|
listWorkflowDefinitions,
|
|
6
6
|
runWorkflow,
|
|
7
7
|
startWorkflow
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3JVO6X4W.js";
|
|
9
9
|
import {
|
|
10
10
|
initCRMBridge
|
|
11
11
|
} from "./chunk-ONKIWA3R.js";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
findScopedDuplicate,
|
|
7
7
|
governMemoryRecord,
|
|
8
8
|
schedulePostWriteMemoryHygiene
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-IAPFFVYR.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-2LYJTK47.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-TEYCD6GO.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-W4U257TI.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-P6GL2RMF.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-3FBGRV6J.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-NBU3FHEX.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-5D3FU5N5.js");
|
|
494
494
|
await extractGraphForBatch(batch);
|
|
495
495
|
} catch (e) {
|
|
496
496
|
logStoreWarn("catch", e);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PLATFORM_PROCEDURES,
|
|
3
3
|
PLATFORM_PROCEDURE_TITLES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-K77WC6HA.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2LYJTK47.js";
|
|
8
8
|
|
|
9
9
|
// src/lib/global-procedures.ts
|
|
10
10
|
import { randomUUID } from "crypto";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VK5IBXXT.js";
|
|
4
4
|
import {
|
|
5
5
|
TASK_ALREADY_CLAIMED_PREFIX
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ENWFSMOS.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-6WX7GZBH.js");
|
|
43
43
|
callerAgentId = getAgent().agentId;
|
|
44
44
|
} catch {
|
|
45
45
|
}
|