@askexenow/exe-os 0.9.148 → 0.9.153
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-NCZCDDZ2.js → active-agent-HDUT3T3I.js} +2 -2
- package/dist/{active-agent-KMQCNXXD.js → active-agent-XHERKXH6.js} +2 -2
- package/dist/{agentic-ontology-SQR74CO7.js → agentic-ontology-GMK3MB3U.js} +1 -1
- package/dist/{backfill-metadata-KMDWLDXU.js → backfill-metadata-PPI5QFYW.js} +3 -3
- package/dist/{behaviors-4U2N5L4E.js → behaviors-JG75DNG3.js} +2 -2
- package/dist/bin/agentic-ontology-backfill.js +4 -4
- package/dist/bin/agentic-reflection-backfill.js +5 -5
- package/dist/bin/agentic-semantic-label.js +4 -4
- package/dist/bin/backfill-conversations.js +3 -3
- package/dist/bin/backfill-responses.js +3 -3
- package/dist/bin/backfill-vectors.js +4 -4
- package/dist/bin/bulk-sync-postgres.js +8 -7
- package/dist/bin/cleanup-stale-review-tasks.js +5 -5
- package/dist/bin/cli.js +12 -12
- package/dist/bin/exe-agent-config.js +1 -1
- package/dist/bin/exe-agent.js +4 -4
- package/dist/bin/exe-assign.js +4 -4
- package/dist/bin/exe-boot.js +13 -13
- package/dist/bin/exe-call.js +4 -4
- package/dist/bin/exe-cloud.js +3 -3
- package/dist/bin/exe-dispatch.js +5 -5
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +6 -6
- package/dist/bin/exe-forget.js +5 -5
- package/dist/bin/exe-gateway.js +5 -5
- package/dist/bin/exe-heartbeat.js +5 -5
- package/dist/bin/exe-kill.js +28 -6
- package/dist/bin/exe-launch-agent.js +10 -10
- package/dist/bin/exe-new-employee.js +6 -6
- package/dist/bin/exe-pending-messages.js +6 -6
- package/dist/bin/exe-pending-notifications.js +5 -5
- package/dist/bin/exe-pending-reviews.js +5 -5
- package/dist/bin/exe-rename.js +4 -4
- package/dist/bin/exe-review.js +7 -7
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +15 -14
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +10 -10
- package/dist/bin/exe-start-opencode.js +7 -7
- package/dist/bin/exe-status.js +6 -6
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +5 -5
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/install.js +5 -5
- package/dist/bin/intercom-check.js +4 -4
- package/dist/bin/postgres-agentic-reflection-backfill.js +2 -2
- package/dist/bin/postgres-agentic-semantic-backfill.js +1 -1
- package/dist/bin/pre-publish.js +1 -1
- package/dist/bin/scan-tasks.js +5 -5
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +3 -3
- package/dist/bin/stack-update.js +21 -0
- package/dist/{capacity-monitor-Q5M5SVRC.js → capacity-monitor-5IVGAQ34.js} +6 -6
- package/dist/{catchup-brief-IPNSW7RQ.js → catchup-brief-HFJR32Q3.js} +7 -7
- package/dist/{chunk-Y6TS42WD.js → chunk-25NSQUZ3.js} +6 -6
- package/dist/{chunk-2BPO7VQF.js → chunk-3ZU7RTMF.js} +35 -9
- package/dist/{chunk-MKUVEDUE.js → chunk-4IEQIUBZ.js} +2 -2
- package/dist/{chunk-ONMRBKAX.js → chunk-4PDXCEXT.js} +37 -42
- package/dist/{chunk-J4RAXKTC.js → chunk-4RKL53PD.js} +5 -4
- package/dist/{chunk-AERGE6GC.js → chunk-5NSTNICM.js} +1 -1
- package/dist/{chunk-FNMNKYVH.js → chunk-5U5MI4VH.js} +56 -56
- package/dist/{chunk-TOXHEZN5.js → chunk-7WEVNBV2.js} +2 -2
- package/dist/{chunk-UPL5FEZY.js → chunk-AFMQR776.js} +1 -1
- package/dist/{chunk-XK7VZFCC.js → chunk-AMVDQ7HH.js} +12 -8
- package/dist/{chunk-AGFWOII2.js → chunk-BPBUSSYF.js} +196 -9
- package/dist/{chunk-MBA4NNTS.js → chunk-BR5UVRA2.js} +1 -1
- package/dist/{chunk-4GLEFA2X.js → chunk-BV2JVO2U.js} +1 -1
- package/dist/{chunk-LL5EY6OQ.js → chunk-CBLNQNWT.js} +1 -1
- package/dist/{chunk-VYVESELG.js → chunk-CF4DZKKE.js} +2 -2
- package/dist/{chunk-PMWDO5FR.js → chunk-CO2SF5SB.js} +1 -1
- package/dist/{chunk-ARGBV4PP.js → chunk-EOU4ZLRZ.js} +1 -1
- package/dist/{chunk-CGQ5PWS3.js → chunk-EYQ3DHHI.js} +4 -4
- package/dist/{chunk-JH7Z2AZ7.js → chunk-GJMHN45Z.js} +1 -1
- package/dist/{chunk-X2XE65WV.js → chunk-H5STRY47.js} +9 -4
- package/dist/chunk-HZNQYDAN.js +94 -0
- package/dist/{chunk-DBXKWFTK.js → chunk-IWGGTD5D.js} +3 -3
- package/dist/{chunk-JF3Q5YKI.js → chunk-JJA6F6NA.js} +2 -2
- package/dist/{chunk-NJKERRSG.js → chunk-JUM3EUB2.js} +2 -2
- package/dist/{chunk-ZMJHXDZR.js → chunk-L5WTOR3T.js} +3 -3
- package/dist/{chunk-YPSN64BU.js → chunk-LIJC4CRF.js} +1 -1
- package/dist/{chunk-DTLASDQM.js → chunk-LM7TQYLW.js} +1 -1
- package/dist/{chunk-B4HAUSVQ.js → chunk-M37FGM3X.js} +2 -2
- package/dist/{chunk-TH6HTK2L.js → chunk-MBYJEE3B.js} +5 -1
- package/dist/{chunk-YOG7TWMO.js → chunk-MNIJA5BL.js} +1 -1
- package/dist/{chunk-XWQKCCCO.js → chunk-MWRHXGAB.js} +7 -0
- package/dist/{chunk-FG4Z2XFU.js → chunk-OEPEY47B.js} +1 -1
- package/dist/{chunk-ZUAXTH6Z.js → chunk-OQYZQR24.js} +2 -2
- package/dist/{chunk-3MLGUSKS.js → chunk-PC6Y4ATU.js} +1 -1
- package/dist/{chunk-4EINMZNO.js → chunk-PMCXWAVQ.js} +2 -2
- package/dist/{chunk-2OATM2JZ.js → chunk-Q7GVSS2J.js} +1 -1
- package/dist/{chunk-LJML7HT2.js → chunk-RAMU6E5T.js} +1 -1
- package/dist/{chunk-26UVGP3I.js → chunk-SFV2XRPY.js} +1 -1
- package/dist/{chunk-EHNSK2Y4.js → chunk-SGLVCPZP.js} +2 -2
- package/dist/{chunk-QB66MH2V.js → chunk-SJKOILTX.js} +1 -1
- package/dist/{chunk-NFHFNPTN.js → chunk-UHL4QL5E.js} +1 -1
- package/dist/{chunk-IFACD7E6.js → chunk-UPAEAL6K.js} +3 -3
- package/dist/{chunk-HHMHL4FB.js → chunk-UQE5R5PM.js} +2 -2
- package/dist/{chunk-3FIWKONP.js → chunk-VJW3E5KW.js} +14 -14
- package/dist/{chunk-MKPSMRVX.js → chunk-WLSSSDAR.js} +1 -1
- package/dist/{chunk-LC53LVOT.js → chunk-WPNWFI4A.js} +2 -2
- package/dist/{chunk-VK2AWQ6D.js → chunk-WZMS6X56.js} +2 -2
- package/dist/{chunk-VNTDQUOG.js → chunk-XQC5BNCJ.js} +17 -12
- package/dist/{chunk-UPMKSFBU.js → chunk-YOH3ABTS.js} +2 -2
- package/dist/{chunk-ZZLTJXKR.js → chunk-ZGKU4PMY.js} +2 -2
- package/dist/{crdt-sync-XMC6LT2Q.js → crdt-sync-3VQP2ISB.js} +1 -1
- package/dist/{crm-webhook-QMHD5YYQ.js → crm-webhook-SOUYMO3X.js} +2 -2
- package/dist/{cto-delegation-gate-BTZWAA4E.js → cto-delegation-gate-UGCMXYAO.js} +4 -4
- package/dist/{daemon-orchestration-HFODCB52.js → daemon-orchestration-MD34RKQZ.js} +7 -7
- package/dist/{exe-drift-SED6KQTZ.js → exe-drift-L5ZHO3CZ.js} +2 -2
- package/dist/{exe-export-ADSWDE5U.js → exe-export-UDQU7MMM.js} +5 -5
- package/dist/{exe-import-WFLNGJZP.js → exe-import-OY42LQL4.js} +5 -5
- package/dist/{exe-key-4L32R46F.js → exe-key-FC67RNXI.js} +1 -1
- package/dist/{fast-db-init-HVAVS35N.js → fast-db-init-TLOT2K43.js} +1 -1
- package/dist/gateway/index.js +6 -6
- package/dist/{git-staleness-BY4ZK6MW.js → git-staleness-MSTOMG55.js} +1 -1
- package/dist/{git-task-sweep-RSRASAHB.js → git-task-sweep-D4IKRGCV.js} +5 -5
- package/dist/{global-procedures-EKYSVONR.js → global-procedures-ISPSC4B5.js} +3 -3
- package/dist/{graph-auto-extract-HWZ5GVXZ.js → graph-auto-extract-D4I7DF2S.js} +1 -1
- package/dist/{hook-integrity-PR4BPZBT.js → hook-integrity-SA7S2SNI.js} +1 -1
- package/dist/hooks/bug-report-worker.js +6 -6
- package/dist/hooks/codex-stop-task-finalizer.js +6 -6
- package/dist/hooks/commit-complete.js +7 -7
- package/dist/hooks/error-recall.js +5 -5
- package/dist/hooks/exe-heartbeat-hook.js +2 -2
- package/dist/hooks/ingest.js +9 -9
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/notification.js +3 -3
- package/dist/hooks/post-compact.js +6 -6
- package/dist/hooks/post-tool-combined.js +4 -4
- package/dist/hooks/pre-compact.js +7 -7
- package/dist/hooks/pre-tool-use.js +19 -10
- package/dist/hooks/prompt-submit.js +109 -45
- package/dist/hooks/session-end.js +11 -11
- package/dist/hooks/session-start.js +7 -7
- package/dist/hooks/stop.js +10 -10
- package/dist/hooks/subagent-stop.js +6 -6
- package/dist/hooks/summary-worker.js +10 -10
- package/dist/index.js +12 -12
- package/dist/{installer-X5FEYJIA.js → installer-3YHQ5DJZ.js} +4 -4
- package/dist/{installer-RLKOACKG.js → installer-4YIOBAFV.js} +4 -4
- package/dist/{installer-W4NY3OBF.js → installer-SPQDAGPW.js} +4 -4
- package/dist/lib/cloud-sync.js +3 -3
- package/dist/lib/consolidation.js +4 -4
- package/dist/lib/database.js +1 -1
- package/dist/lib/db.js +1 -1
- package/dist/lib/employee-templates.js +4 -4
- package/dist/lib/employees.js +1 -1
- package/dist/lib/exe-daemon.js +61 -44
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +1 -1
- package/dist/lib/messaging.js +5 -5
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/task-router.js +2 -2
- package/dist/lib/tasks.js +5 -5
- package/dist/lib/tmux-routing.js +4 -4
- package/dist/lib/token-spend.js +2 -2
- package/dist/mcp/register-tools.js +42 -42
- package/dist/mcp/server.js +43 -43
- package/dist/mcp/tools/complete-reminder.js +3 -3
- package/dist/mcp/tools/create-reminder.js +3 -3
- package/dist/mcp/tools/create-task.js +7 -7
- package/dist/mcp/tools/deactivate-behavior.js +4 -4
- package/dist/mcp/tools/list-reminders.js +3 -3
- package/dist/mcp/tools/list-tasks.js +7 -7
- package/dist/mcp/tools/send-message.js +7 -7
- package/dist/mcp/tools/update-task.js +6 -6
- package/dist/{mcp-http-config-6YLW4PFG.js → mcp-http-config-JBNX3DAR.js} +2 -2
- package/dist/{memory-cards-UAQCO4QR.js → memory-cards-SYVGSLXW.js} +1 -1
- package/dist/{memory-poisoning-defense-VWITZ4WO.js → memory-poisoning-defense-T7AC4LZN.js} +1 -1
- package/dist/{memory-reflection-JQC4ZSUD.js → memory-reflection-FNJU7VFC.js} +1 -1
- package/dist/{notifications-YDOKTVCH.js → notifications-76XXO4Q7.js} +4 -4
- package/dist/{orchestrator-BZ2D6ZM6.js → orchestrator-XAT2JSBT.js} +6 -6
- package/dist/{plan-limits-KUTODKG6.js → plan-limits-IAUNTZUW.js} +2 -2
- package/dist/{projection-worker-UY7R2EQJ.js → projection-worker-S6LYSY22.js} +1 -1
- package/dist/{push-notifications-KDYFOJRI.js → push-notifications-NSYLKFXR.js} +1 -1
- package/dist/{review-polling-DORNZ2KI.js → review-polling-E24XBNSI.js} +5 -5
- package/dist/runtime/index.js +7 -7
- package/dist/{session-events-5WR5RVDK.js → session-events-CCXFQRFW.js} +5 -5
- package/dist/{session-kill-telemetry-DHSQV2CI.js → session-kill-telemetry-TX5NCPUV.js} +2 -2
- package/dist/{session-scope-D4Q62ZOZ.js → session-scope-7QCZF3MJ.js} +4 -4
- package/dist/{setup-wizard-QVNTI3T4.js → setup-wizard-FA6YEYER.js} +1 -1
- package/dist/signal-paths-4GOIRLGH.js +19 -0
- package/dist/{task-enforcement-OYCQXBBC.js → task-enforcement-NITY7TBM.js} +4 -4
- package/dist/{task-scope-WWRNU2LU.js → task-scope-YZDSPORL.js} +4 -4
- package/dist/{tasks-crud-75AUVZPO.js → tasks-crud-W5BFKNUS.js} +4 -4
- package/dist/{tasks-review-UMZN5ZPQ.js → tasks-review-VXMELVLA.js} +4 -4
- package/dist/{token-budget-62TYDIMI.js → token-budget-LJC7HHKB.js} +1 -1
- package/dist/{tool-telemetry-JL6NY3KP.js → tool-telemetry-L3WQDRMH.js} +1 -1
- package/dist/tui/App.js +13 -13
- package/dist/{tui-data-C5I2YU4C.js → tui-data-FQYUPCYX.js} +4 -4
- package/dist/{worker-gate-Q5Y6B5N7.js → worker-gate-OZCNSASA.js} +1 -1
- package/dist/{workflow-engine-KAKVU7NC.js → workflow-engine-DA3AWD45.js} +2 -2
- package/package.json +1 -1
- package/release-notes.json +115 -115
- package/dist/chunk-QHQJ7DLL.js +0 -153
- /package/dist/{chunk-524VLFFY.js → chunk-BRXDLJBU.js} +0 -0
- /package/dist/{chunk-H6ADW3YC.js → chunk-OU7SLHNA.js} +0 -0
- /package/dist/{chunk-TSCZMB3P.js → chunk-PJCTBGWN.js} +0 -0
- /package/dist/{chunk-TKEDF7KV.js → chunk-U3B3TVLQ.js} +0 -0
- /package/dist/{chunk-7B5DQGXG.js → chunk-UIOTTKLS.js} +0 -0
- /package/dist/{chunk-A3A2E42I.js → chunk-VN6UUZNO.js} +0 -0
- /package/dist/{chunk-UJMDHPIN.js → chunk-YABPRFBT.js} +0 -0
- /package/dist/{chunk-ZBA74MMX.js → chunk-YH7VB655.js} +0 -0
- /package/dist/{core-memory-C3JLISAU.js → core-memory-ONZIJYGR.js} +0 -0
- /package/dist/{wiki-acl-5EC5VNYG.js → wiki-acl-UE3CRAPQ.js} +0 -0
package/dist/bin/exe-team.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fastDbInit
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UIOTTKLS.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient,
|
|
7
7
|
loadEmployees
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-MBYJEE3B.js";
|
|
9
9
|
import "../chunk-EOO32RJZ.js";
|
|
10
10
|
import "../chunk-FXU7JOXK.js";
|
|
11
11
|
import "../chunk-TOWAZ5IV.js";
|
package/dist/bin/git-sweep.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sweepTasks
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-M37FGM3X.js";
|
|
5
|
+
import "../chunk-4PDXCEXT.js";
|
|
6
6
|
import "../chunk-LOQCOHEW.js";
|
|
7
7
|
import "../chunk-TXSJ2L5O.js";
|
|
8
8
|
import "../chunk-64WZEXXA.js";
|
|
@@ -12,14 +12,14 @@ import "../chunk-GZIAQYGI.js";
|
|
|
12
12
|
import "../chunk-ZQX6UOP6.js";
|
|
13
13
|
import "../chunk-KIUU4PNX.js";
|
|
14
14
|
import "../chunk-NGP6LSV2.js";
|
|
15
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-5NSTNICM.js";
|
|
16
16
|
import "../chunk-OPU3NYOO.js";
|
|
17
17
|
import "../chunk-CVYC6DUW.js";
|
|
18
18
|
import "../chunk-GJV3WDWM.js";
|
|
19
19
|
import "../chunk-MP2AFCGL.js";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-LM7TQYLW.js";
|
|
21
21
|
import "../chunk-HYZV25LY.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-MBYJEE3B.js";
|
|
23
23
|
import "../chunk-EOO32RJZ.js";
|
|
24
24
|
import "../chunk-FXU7JOXK.js";
|
|
25
25
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -11,12 +11,12 @@ import "../chunk-I7AW4237.js";
|
|
|
11
11
|
import {
|
|
12
12
|
disposeStore,
|
|
13
13
|
initStore
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-25NSQUZ3.js";
|
|
15
|
+
import "../chunk-BRXDLJBU.js";
|
|
16
16
|
import "../chunk-MP2AFCGL.js";
|
|
17
17
|
import {
|
|
18
18
|
getClient
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-MBYJEE3B.js";
|
|
20
20
|
import "../chunk-EOO32RJZ.js";
|
|
21
21
|
import "../chunk-FXU7JOXK.js";
|
|
22
22
|
import "../chunk-6D23UNXU.js";
|
package/dist/bin/graph-export.js
CHANGED
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
} from "../chunk-46SQTBQW.js";
|
|
6
6
|
import {
|
|
7
7
|
fastDbInit
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-UIOTTKLS.js";
|
|
9
9
|
import {
|
|
10
10
|
disposeStore
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-25NSQUZ3.js";
|
|
12
|
+
import "../chunk-BRXDLJBU.js";
|
|
13
13
|
import "../chunk-MP2AFCGL.js";
|
|
14
14
|
import {
|
|
15
15
|
getClient
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-MBYJEE3B.js";
|
|
17
17
|
import "../chunk-EOO32RJZ.js";
|
|
18
18
|
import "../chunk-FXU7JOXK.js";
|
|
19
19
|
import "../chunk-6D23UNXU.js";
|
package/dist/bin/install.js
CHANGED
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
setupGhostty,
|
|
7
7
|
setupTmux,
|
|
8
8
|
setupWezterm
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-7WEVNBV2.js";
|
|
10
10
|
import "../chunk-GNHN5HRQ.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-SGLVCPZP.js";
|
|
12
12
|
import {
|
|
13
13
|
generateSessionWrappers
|
|
14
14
|
} from "../chunk-ZHMQDTGE.js";
|
|
15
15
|
import "../chunk-L3TB7CC3.js";
|
|
16
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-LM7TQYLW.js";
|
|
17
17
|
import "../chunk-HYZV25LY.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-MBYJEE3B.js";
|
|
19
19
|
import "../chunk-EOO32RJZ.js";
|
|
20
20
|
import "../chunk-FXU7JOXK.js";
|
|
21
21
|
import "../chunk-TOWAZ5IV.js";
|
|
@@ -297,7 +297,7 @@ if (args.includes("--commands-only")) {
|
|
|
297
297
|
}
|
|
298
298
|
try {
|
|
299
299
|
execSync("which codex", { encoding: "utf8", timeout: 5e3 });
|
|
300
|
-
const { runCodexInstaller } = await import("../installer-
|
|
300
|
+
const { runCodexInstaller } = await import("../installer-4YIOBAFV.js");
|
|
301
301
|
await runCodexInstaller();
|
|
302
302
|
} catch {
|
|
303
303
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
fastDbInit
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UIOTTKLS.js";
|
|
5
5
|
import "../chunk-MLKGABMK.js";
|
|
6
6
|
|
|
7
7
|
// src/bin/intercom-check.ts
|
|
@@ -17,7 +17,7 @@ async function main() {
|
|
|
17
17
|
}
|
|
18
18
|
if (isCoordinator) {
|
|
19
19
|
try {
|
|
20
|
-
const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-
|
|
20
|
+
const { listPendingReviews, cleanupOrphanedReviews, formatAge, isStale } = await import("../tasks-review-VXMELVLA.js");
|
|
21
21
|
const { extractRootExe } = await import("../lib/tmux-routing.js");
|
|
22
22
|
let sessionScope = process.env.EXE_SESSION ? extractRootExe(process.env.EXE_SESSION) ?? void 0 : void 0;
|
|
23
23
|
if (!sessionScope) {
|
|
@@ -96,7 +96,7 @@ async function main() {
|
|
|
96
96
|
}
|
|
97
97
|
if (!isCoordinator) {
|
|
98
98
|
try {
|
|
99
|
-
const { listBehaviors } = await import("../behaviors-
|
|
99
|
+
const { listBehaviors } = await import("../behaviors-JG75DNG3.js");
|
|
100
100
|
const sessionStart = process.env.EXE_SESSION_START_ISO ?? "";
|
|
101
101
|
if (sessionStart) {
|
|
102
102
|
const behaviors = await listBehaviors(agent);
|
|
@@ -115,7 +115,7 @@ async function main() {
|
|
|
115
115
|
}
|
|
116
116
|
}
|
|
117
117
|
try {
|
|
118
|
-
const { readUnreadNotifications, markAsRead } = await import("../notifications-
|
|
118
|
+
const { readUnreadNotifications, markAsRead } = await import("../notifications-76XXO4Q7.js");
|
|
119
119
|
const { resolveExeSession } = await import("../lib/tmux-routing.js");
|
|
120
120
|
const sessionScope = resolveExeSession();
|
|
121
121
|
const notifications = await readUnreadNotifications(agent, sessionScope);
|
package/dist/bin/pre-publish.js
CHANGED
package/dist/bin/scan-tasks.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
queryTaskRows
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-4PDXCEXT.js";
|
|
5
5
|
import "../chunk-LOQCOHEW.js";
|
|
6
6
|
import "../chunk-TXSJ2L5O.js";
|
|
7
7
|
import "../chunk-64WZEXXA.js";
|
|
@@ -11,16 +11,16 @@ import "../chunk-GZIAQYGI.js";
|
|
|
11
11
|
import "../chunk-ZQX6UOP6.js";
|
|
12
12
|
import "../chunk-KIUU4PNX.js";
|
|
13
13
|
import "../chunk-NGP6LSV2.js";
|
|
14
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-5NSTNICM.js";
|
|
15
15
|
import "../chunk-OPU3NYOO.js";
|
|
16
16
|
import {
|
|
17
17
|
getSessionRuntime
|
|
18
18
|
} from "../chunk-CVYC6DUW.js";
|
|
19
19
|
import "../chunk-GJV3WDWM.js";
|
|
20
20
|
import "../chunk-MP2AFCGL.js";
|
|
21
|
-
import "../chunk-
|
|
21
|
+
import "../chunk-LM7TQYLW.js";
|
|
22
22
|
import "../chunk-HYZV25LY.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-MBYJEE3B.js";
|
|
24
24
|
import "../chunk-EOO32RJZ.js";
|
|
25
25
|
import "../chunk-FXU7JOXK.js";
|
|
26
26
|
import "../chunk-NNT2ZNMC.js";
|
|
@@ -72,7 +72,7 @@ function checkMcpHealth() {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
async function scanFromDb(agentId, tmuxSession, projectName) {
|
|
75
|
-
const { fastDbInit } = await import("../fast-db-init-
|
|
75
|
+
const { fastDbInit } = await import("../fast-db-init-TLOT2K43.js");
|
|
76
76
|
try {
|
|
77
77
|
await fastDbInit();
|
|
78
78
|
} catch (err) {
|
package/dist/bin/setup.js
CHANGED
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
disposeStore,
|
|
10
10
|
initStore
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-25NSQUZ3.js";
|
|
12
|
+
import "../chunk-BRXDLJBU.js";
|
|
13
13
|
import "../chunk-MP2AFCGL.js";
|
|
14
14
|
import {
|
|
15
15
|
getClient
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-MBYJEE3B.js";
|
|
17
17
|
import "../chunk-EOO32RJZ.js";
|
|
18
18
|
import "../chunk-FXU7JOXK.js";
|
|
19
19
|
import {
|
package/dist/bin/stack-update.js
CHANGED
|
@@ -527,6 +527,27 @@ async function runStackUpdate(options) {
|
|
|
527
527
|
registryForLogout = creds.registry;
|
|
528
528
|
}
|
|
529
529
|
exec("docker", [...composeArgs, "pull"]);
|
|
530
|
+
for (const [serviceName, service] of Object.entries(plan.release.services)) {
|
|
531
|
+
if (!service.migrations?.command) continue;
|
|
532
|
+
const composeServiceName = service.composeService ?? serviceName;
|
|
533
|
+
console.log(`[stack-update] Running migrations for ${composeServiceName}: ${service.migrations.command}`);
|
|
534
|
+
try {
|
|
535
|
+
const migrationArgs = service.migrations.command.split(/\s+/);
|
|
536
|
+
exec("docker", [
|
|
537
|
+
...composeArgs,
|
|
538
|
+
"run",
|
|
539
|
+
"--rm",
|
|
540
|
+
"--no-deps",
|
|
541
|
+
composeServiceName,
|
|
542
|
+
...migrationArgs
|
|
543
|
+
]);
|
|
544
|
+
console.log(`[stack-update] \u2713 Migrations for ${composeServiceName} completed`);
|
|
545
|
+
} catch (migErr) {
|
|
546
|
+
const reason = migErr instanceof Error ? migErr.message : String(migErr);
|
|
547
|
+
console.error(`[stack-update] \u2717 Migration failed for ${composeServiceName}: ${reason}`);
|
|
548
|
+
throw new Error(`Migration failed for ${composeServiceName} \u2014 aborting update. Fix the migration and retry. Error: ${reason}`);
|
|
549
|
+
}
|
|
550
|
+
}
|
|
530
551
|
const RESTART_ORDER = [
|
|
531
552
|
"exe-db",
|
|
532
553
|
// data layer — must be healthy before apps
|
|
@@ -8,9 +8,9 @@ import {
|
|
|
8
8
|
isAtCapacity,
|
|
9
9
|
isWithinRelaunchCooldown,
|
|
10
10
|
pollCapacityDead
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-4RKL53PD.js";
|
|
12
|
+
import "./chunk-CO2SF5SB.js";
|
|
13
|
+
import "./chunk-4PDXCEXT.js";
|
|
14
14
|
import "./chunk-LOQCOHEW.js";
|
|
15
15
|
import "./chunk-TXSJ2L5O.js";
|
|
16
16
|
import "./chunk-64WZEXXA.js";
|
|
@@ -20,14 +20,14 @@ import "./chunk-GZIAQYGI.js";
|
|
|
20
20
|
import "./chunk-ZQX6UOP6.js";
|
|
21
21
|
import "./chunk-KIUU4PNX.js";
|
|
22
22
|
import "./chunk-NGP6LSV2.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-5NSTNICM.js";
|
|
24
24
|
import "./chunk-OPU3NYOO.js";
|
|
25
25
|
import "./chunk-CVYC6DUW.js";
|
|
26
26
|
import "./chunk-GJV3WDWM.js";
|
|
27
27
|
import "./chunk-MP2AFCGL.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-LM7TQYLW.js";
|
|
29
29
|
import "./chunk-HYZV25LY.js";
|
|
30
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-MBYJEE3B.js";
|
|
31
31
|
import "./chunk-EOO32RJZ.js";
|
|
32
32
|
import "./chunk-FXU7JOXK.js";
|
|
33
33
|
import "./chunk-NNT2ZNMC.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lightweightSearch
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-BPBUSSYF.js";
|
|
4
|
+
import "./chunk-25NSQUZ3.js";
|
|
5
|
+
import "./chunk-BRXDLJBU.js";
|
|
6
6
|
import {
|
|
7
7
|
sessionScopeFilter,
|
|
8
8
|
strictSessionScopeFilter
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-4PDXCEXT.js";
|
|
10
10
|
import "./chunk-LOQCOHEW.js";
|
|
11
11
|
import "./chunk-TXSJ2L5O.js";
|
|
12
12
|
import "./chunk-64WZEXXA.js";
|
|
@@ -16,16 +16,16 @@ import "./chunk-GZIAQYGI.js";
|
|
|
16
16
|
import "./chunk-ZQX6UOP6.js";
|
|
17
17
|
import "./chunk-KIUU4PNX.js";
|
|
18
18
|
import "./chunk-NGP6LSV2.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-5NSTNICM.js";
|
|
20
20
|
import "./chunk-OPU3NYOO.js";
|
|
21
21
|
import "./chunk-CVYC6DUW.js";
|
|
22
22
|
import "./chunk-GJV3WDWM.js";
|
|
23
23
|
import "./chunk-MP2AFCGL.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-LM7TQYLW.js";
|
|
25
25
|
import "./chunk-HYZV25LY.js";
|
|
26
26
|
import {
|
|
27
27
|
getClient
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-MBYJEE3B.js";
|
|
29
29
|
import "./chunk-EOO32RJZ.js";
|
|
30
30
|
import "./chunk-FXU7JOXK.js";
|
|
31
31
|
import "./chunk-6D23UNXU.js";
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
findScopedDuplicate,
|
|
3
3
|
governMemoryRecord,
|
|
4
4
|
schedulePostWriteMemoryHygiene
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-BRXDLJBU.js";
|
|
6
6
|
import {
|
|
7
7
|
orgBus
|
|
8
8
|
} from "./chunk-MP2AFCGL.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureSchema,
|
|
12
12
|
getClient,
|
|
13
13
|
initTurso
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MBYJEE3B.js";
|
|
15
15
|
import {
|
|
16
16
|
EMBEDDING_DIM
|
|
17
17
|
} from "./chunk-FXU7JOXK.js";
|
|
@@ -119,7 +119,7 @@ async function initStore(options) {
|
|
|
119
119
|
);
|
|
120
120
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
121
121
|
try {
|
|
122
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
122
|
+
const { loadGlobalProcedures } = await import("./global-procedures-ISPSC4B5.js");
|
|
123
123
|
await loadGlobalProcedures();
|
|
124
124
|
} catch (e) {
|
|
125
125
|
logStoreWarn("catch", e);
|
|
@@ -236,7 +236,7 @@ async function writeMemory(record) {
|
|
|
236
236
|
procedure_for: record.procedure_for ?? null
|
|
237
237
|
};
|
|
238
238
|
try {
|
|
239
|
-
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-
|
|
239
|
+
const { checkMemoryPoisoning } = await import("./memory-poisoning-defense-T7AC4LZN.js");
|
|
240
240
|
const poisonResult = await checkMemoryPoisoning({
|
|
241
241
|
memoryId: dbRow.id,
|
|
242
242
|
vector: Array.isArray(dbRow.vector) ? dbRow.vector : void 0,
|
|
@@ -410,13 +410,13 @@ async function flushBatch() {
|
|
|
410
410
|
}
|
|
411
411
|
_nextVersion = baseVersion;
|
|
412
412
|
try {
|
|
413
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
413
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-SYVGSLXW.js");
|
|
414
414
|
await insertMemoryCardsForBatch(batch);
|
|
415
415
|
} catch (e) {
|
|
416
416
|
logStoreWarn("catch", e);
|
|
417
417
|
}
|
|
418
418
|
try {
|
|
419
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
419
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-GMK3MB3U.js");
|
|
420
420
|
await insertOntologyForBatch(batch);
|
|
421
421
|
} catch (e) {
|
|
422
422
|
logStoreWarn("catch", e);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
recordSessionKill
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CO2SF5SB.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VJW3E5KW.js";
|
|
7
7
|
import {
|
|
8
8
|
ensureEmployee,
|
|
9
9
|
extractRootExe,
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
sessionScopeFilter,
|
|
15
15
|
strictSessionScopeFilter,
|
|
16
16
|
writeNotification
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-4PDXCEXT.js";
|
|
18
18
|
import {
|
|
19
19
|
queueIntercom
|
|
20
20
|
} from "./chunk-TXSJ2L5O.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
baseAgentName,
|
|
33
33
|
isCoordinatorName,
|
|
34
34
|
shouldAutoInstance
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-MBYJEE3B.js";
|
|
36
36
|
import {
|
|
37
37
|
loadConfigSync
|
|
38
38
|
} from "./chunk-TOWAZ5IV.js";
|
|
@@ -210,7 +210,8 @@ async function checkSessionTTL(deps) {
|
|
|
210
210
|
const contextPct = deps.parseContextPercentage(entry.windowName);
|
|
211
211
|
const killReason = classifyTtlKillReason(ageHours, contextPct);
|
|
212
212
|
if (killReason !== null) {
|
|
213
|
-
|
|
213
|
+
const isContextFull = contextPct !== null && contextPct > 85;
|
|
214
|
+
if (deps.hasActiveTasks && !isContextFull) {
|
|
214
215
|
try {
|
|
215
216
|
const active = await deps.hasActiveTasks(entry.agentId);
|
|
216
217
|
if (active) {
|
|
@@ -228,6 +229,12 @@ async function checkSessionTTL(deps) {
|
|
|
228
229
|
continue;
|
|
229
230
|
}
|
|
230
231
|
}
|
|
232
|
+
if (isContextFull) {
|
|
233
|
+
process.stderr.write(
|
|
234
|
+
`[exed] Session TTL: context-full override for ${entry.windowName} (${contextPct}% used) \u2014 killing despite active tasks
|
|
235
|
+
`
|
|
236
|
+
);
|
|
237
|
+
}
|
|
231
238
|
process.stderr.write(
|
|
232
239
|
`[exed] Session TTL: killing ${entry.windowName} (age=${ageHours.toFixed(1)}h, context=${contextPct}%, reason=${killReason})
|
|
233
240
|
`
|
|
@@ -311,6 +318,16 @@ async function pollIdleKill(deps, idleTickCounts, opts) {
|
|
|
311
318
|
ticksIdle: nextTicks
|
|
312
319
|
});
|
|
313
320
|
deps.killSession(entry.windowName);
|
|
321
|
+
try {
|
|
322
|
+
const { execFileSync: verifyExec } = await import("child_process");
|
|
323
|
+
verifyExec("tmux", ["has-session", "-t", entry.windowName], { timeout: 2e3 });
|
|
324
|
+
process.stderr.write(
|
|
325
|
+
`[exed] Idle kill FAILED for ${entry.windowName} \u2014 session still alive, retrying with force
|
|
326
|
+
`
|
|
327
|
+
);
|
|
328
|
+
verifyExec("tmux", ["kill-session", "-t", entry.windowName], { timeout: 3e3 });
|
|
329
|
+
} catch {
|
|
330
|
+
}
|
|
314
331
|
killed.push(entry.windowName);
|
|
315
332
|
idleTickCounts.delete(entry.windowName);
|
|
316
333
|
} else {
|
|
@@ -502,11 +519,18 @@ async function pollOrphanedTasks(deps, nowMs = Date.now()) {
|
|
|
502
519
|
return [];
|
|
503
520
|
}
|
|
504
521
|
const liveAgentCounts = /* @__PURE__ */ new Map();
|
|
522
|
+
const liveAgentScopeCounts = /* @__PURE__ */ new Map();
|
|
505
523
|
for (const session of liveSessions) {
|
|
506
524
|
const agent = deps.parseAgentFromSession(session);
|
|
507
|
-
if (agent)
|
|
525
|
+
if (agent) {
|
|
526
|
+
liveAgentCounts.set(agent, (liveAgentCounts.get(agent) ?? 0) + 1);
|
|
527
|
+
const scope = session.includes("-") ? session.slice(session.indexOf("-") + 1) : "";
|
|
528
|
+
if (scope) {
|
|
529
|
+
const scopeKey = `${agent}::${scope}`;
|
|
530
|
+
liveAgentScopeCounts.set(scopeKey, (liveAgentScopeCounts.get(scopeKey) ?? 0) + 1);
|
|
531
|
+
}
|
|
532
|
+
}
|
|
508
533
|
}
|
|
509
|
-
const liveAgents = new Set(liveAgentCounts.keys());
|
|
510
534
|
const coordinatorSessions = liveSessions.filter((s) => isExeSession(s));
|
|
511
535
|
let tasksByAgent;
|
|
512
536
|
try {
|
|
@@ -536,13 +560,15 @@ async function pollOrphanedTasks(deps, nowMs = Date.now()) {
|
|
|
536
560
|
for (const [key, tasks] of agentTasks) {
|
|
537
561
|
const agentId = key.split("::")[0];
|
|
538
562
|
const sessionScope = tasks[0].sessionScope;
|
|
563
|
+
const scopeKey = `${agentId}::${sessionScope}`;
|
|
564
|
+
const scopedRunning = liveAgentScopeCounts.get(scopeKey) ?? 0;
|
|
539
565
|
if (!shouldAutoWake({
|
|
540
566
|
agentId,
|
|
541
|
-
hasRunningSession:
|
|
567
|
+
hasRunningSession: scopedRunning > 0,
|
|
542
568
|
lastSpawnMs: _autoWakeLastSpawn.get(key) ?? 0,
|
|
543
569
|
nowMs,
|
|
544
570
|
cooldownMs: AUTO_WAKE_COOLDOWN_MS,
|
|
545
|
-
runningInstances:
|
|
571
|
+
runningInstances: scopedRunning,
|
|
546
572
|
pendingTaskGroups: tasks.length
|
|
547
573
|
})) {
|
|
548
574
|
continue;
|