@askexenow/exe-os 0.9.129 → 0.9.131
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/{agentic-ontology-2VYNTMNO.js → agentic-ontology-FXPFDEUJ.js} +1 -1
- package/dist/{backfill-metadata-OJWOCLSZ.js → backfill-metadata-3NFOSJ43.js} +3 -3
- package/dist/{behaviors-CSB2YLDT.js → behaviors-YDPUKGJH.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 +3 -3
- package/dist/bin/bulk-sync-postgres.js +5 -5
- package/dist/bin/cleanup-stale-review-tasks.js +4 -4
- package/dist/bin/cli.js +6 -6
- package/dist/bin/exe-agent.js +3 -3
- package/dist/bin/exe-assign.js +3 -3
- package/dist/bin/exe-boot.js +9 -9
- package/dist/bin/exe-call.js +3 -3
- 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 +3 -3
- package/dist/bin/exe-heartbeat.js +4 -4
- package/dist/bin/exe-kill.js +5 -5
- package/dist/bin/exe-launch-agent.js +8 -8
- package/dist/bin/exe-new-employee.js +5 -5
- package/dist/bin/exe-pending-messages.js +5 -5
- package/dist/bin/exe-pending-notifications.js +4 -4
- package/dist/bin/exe-pending-reviews.js +4 -4
- package/dist/bin/exe-rename.js +3 -3
- package/dist/bin/exe-review.js +4 -4
- package/dist/bin/exe-search.js +4 -4
- package/dist/bin/exe-session-cleanup.js +8 -8
- package/dist/bin/exe-settings.js +3 -3
- package/dist/bin/exe-start-codex.js +6 -6
- package/dist/bin/exe-start-opencode.js +5 -5
- package/dist/bin/exe-status.js +5 -5
- package/dist/bin/exe-team.js +2 -2
- package/dist/bin/git-sweep.js +4 -4
- package/dist/bin/graph-backfill.js +3 -3
- package/dist/bin/graph-export.js +4 -4
- package/dist/bin/install.js +1 -1
- 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/scan-tasks.js +4 -4
- package/dist/bin/setup.js +1 -1
- package/dist/bin/shard-migrate.js +3 -3
- package/dist/{capacity-monitor-3GZIHLB4.js → capacity-monitor-DZK4L6AI.js} +5 -5
- package/dist/{catchup-brief-67QDCINS.js → catchup-brief-XQE6OPX3.js} +6 -6
- package/dist/{chunk-NZLCDI6Y.js → chunk-2CPAX2XT.js} +2 -2
- package/dist/{chunk-JD4FAPYG.js → chunk-3FPH3UB7.js} +1 -1
- package/dist/{chunk-N7L33TED.js → chunk-3IDUX6ZD.js} +4 -4
- package/dist/{chunk-LVNMOVGD.js → chunk-4GXJ4KWB.js} +1 -1
- package/dist/{chunk-WMC3TXJF.js → chunk-4NCSE6PB.js} +1 -1
- package/dist/{chunk-2QD7KBJN.js → chunk-4PGS5OKU.js} +13 -4
- package/dist/{chunk-HVRTW3OP.js → chunk-65P2ZP5F.js} +18 -3
- package/dist/{chunk-4Y6QZBEO.js → chunk-ACXN2E2T.js} +1 -1
- package/dist/{chunk-B4TT2QQA.js → chunk-AGVPLEGP.js} +2 -2
- package/dist/{chunk-INO4ZD5Y.js → chunk-AOSCG2LD.js} +1 -1
- package/dist/{chunk-MJAE4NB7.js → chunk-AVU6RF2L.js} +2 -2
- package/dist/{chunk-ZBY4AUD4.js → chunk-C5L36MKS.js} +45 -45
- package/dist/{chunk-P3CVUMEH.js → chunk-CUEYUZKY.js} +1 -1
- package/dist/{chunk-IHDHL5ML.js → chunk-DJ5ZWBKZ.js} +1 -1
- package/dist/{chunk-LAN26C3W.js → chunk-DOBUMDFP.js} +1 -1
- package/dist/{chunk-NPT4EHZK.js → chunk-EWAWYBVL.js} +1 -1
- package/dist/{chunk-EHOJUXYG.js → chunk-F25LWMFW.js} +2 -2
- package/dist/{chunk-MPURH6JI.js → chunk-FKEHAW5H.js} +5 -5
- package/dist/{chunk-CFIM43JH.js → chunk-FN4R2IJH.js} +2 -2
- package/dist/{chunk-JN44LQ53.js → chunk-FO43GJS2.js} +3 -3
- package/dist/{chunk-6M5II4EV.js → chunk-GLESRO6K.js} +1 -1
- package/dist/{chunk-HSRM6PNM.js → chunk-HWZKHJ4Z.js} +5 -5
- package/dist/{chunk-PEDLSJBL.js → chunk-I2NFOJFM.js} +1 -1
- package/dist/{chunk-ZS7MGQSD.js → chunk-ITSYZA76.js} +3 -3
- package/dist/{chunk-RMFDPCA2.js → chunk-JBSJUYRX.js} +1 -1
- package/dist/{chunk-N3DTSVKE.js → chunk-JFFZJGX3.js} +1 -1
- package/dist/{chunk-VQ4K2MLM.js → chunk-L6DRNKF7.js} +2 -2
- package/dist/{chunk-DL52JPGF.js → chunk-LVNKCRR2.js} +29 -6
- package/dist/{chunk-E2Q4Y22A.js → chunk-MFFT4HO3.js} +3 -3
- package/dist/{chunk-L4X5EUHR.js → chunk-MRZGBK5L.js} +2 -2
- package/dist/{chunk-7RK3AYJE.js → chunk-N26MHKKN.js} +3 -3
- package/dist/{chunk-IJ73YE73.js → chunk-O7SOBCXV.js} +1 -1
- package/dist/{chunk-A2NZP64U.js → chunk-OQP6TD46.js} +33 -0
- package/dist/{chunk-IHF5RXJM.js → chunk-P7KSH2Q5.js} +1 -1
- package/dist/{chunk-P4HIF72O.js → chunk-QAXIPSLD.js} +1 -1
- package/dist/{chunk-O4VFZRA5.js → chunk-QIHP2HDQ.js} +1 -1
- package/dist/{chunk-SVMFVPBF.js → chunk-QN63NQ6T.js} +1 -1
- package/dist/{chunk-PGW7TIV6.js → chunk-R5QAAAYZ.js} +1 -1
- package/dist/{chunk-Q36CMZIX.js → chunk-THIAOMXO.js} +1 -1
- package/dist/{chunk-Q2O4VJHH.js → chunk-UVRYWAUD.js} +2 -2
- package/dist/{chunk-RJZMRZNV.js → chunk-WC727FG7.js} +7 -3
- package/dist/{chunk-MILTNDZH.js → chunk-YQEI7PSQ.js} +4 -4
- package/dist/{chunk-MVBWW2EO.js → chunk-ZA6RNNQT.js} +1 -1
- package/dist/{chunk-WPOA7XAE.js → chunk-ZBPC4DW7.js} +2 -2
- package/dist/{chunk-MLCUPTP7.js → chunk-ZHMQDTGE.js} +8 -4
- package/dist/{crdt-sync-T7MHVQCS.js → crdt-sync-TG7XPFKW.js} +1 -1
- package/dist/{crm-webhook-OAFTLJYA.js → crm-webhook-UF3UBK7V.js} +2 -2
- package/dist/{cto-delegation-gate-XWHZCUJH.js → cto-delegation-gate-4FMBWVLW.js} +3 -3
- package/dist/{daemon-orchestration-2C3TVOHO.js → daemon-orchestration-5LJ7UFOT.js} +5 -5
- package/dist/{entity-boost-IOER4VRR.js → entity-boost-CSKKVLPV.js} +5 -1
- package/dist/{exe-drift-2IJFQV43.js → exe-drift-SHQNHORE.js} +3 -3
- package/dist/{exe-export-Y2RFXGNB.js → exe-export-6ZSCPI4J.js} +5 -5
- package/dist/{exe-import-LN6PE2YT.js → exe-import-SKFOTZYP.js} +5 -5
- package/dist/{exe-key-DHKBWLIT.js → exe-key-ZRBTIXC3.js} +1 -1
- package/dist/{fast-db-init-IIP6EGWT.js → fast-db-init-FQ47BIJ4.js} +1 -1
- package/dist/gateway/index.js +5 -5
- package/dist/{git-staleness-I2BUEDE2.js → git-staleness-ZDKQLBCH.js} +1 -1
- package/dist/{git-task-sweep-UEOTXRW4.js → git-task-sweep-RYMNUR4U.js} +4 -4
- package/dist/{global-procedures-MFE5LGRF.js → global-procedures-4VE5RP5Z.js} +2 -2
- package/dist/hooks/bug-report-worker.js +7 -7
- package/dist/hooks/codex-stop-task-finalizer.js +7 -7
- package/dist/hooks/commit-complete.js +6 -6
- package/dist/hooks/error-recall.js +4 -4
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +3 -3
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +4 -4
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +5 -5
- package/dist/hooks/pre-tool-use.js +8 -8
- package/dist/hooks/prompt-submit.js +11 -11
- package/dist/hooks/session-end.js +9 -9
- package/dist/hooks/session-start.js +4 -4
- package/dist/hooks/stop.js +7 -7
- package/dist/hooks/subagent-stop.js +4 -4
- package/dist/hooks/summary-worker.js +7 -7
- package/dist/index.js +10 -10
- 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 +3 -3
- package/dist/lib/exe-daemon.js +102 -18
- package/dist/lib/hybrid-search.js +4 -4
- package/dist/lib/identity.js +2 -2
- package/dist/lib/messaging.js +4 -4
- package/dist/lib/reminders.js +2 -2
- package/dist/lib/schedules.js +4 -4
- package/dist/lib/session-wrappers.js +1 -1
- package/dist/lib/skill-learning.js +3 -3
- package/dist/lib/store.js +3 -3
- package/dist/lib/tasks.js +6 -6
- package/dist/lib/tmux-routing.js +3 -3
- package/dist/lib/token-spend.js +2 -2
- package/dist/mcp/register-tools.js +41 -41
- package/dist/mcp/server.js +41 -41
- 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 +3 -3
- 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 +5 -5
- package/dist/mcp/tools/update-task.js +7 -7
- package/dist/{memory-cards-RIL5BZHK.js → memory-cards-JASZEXYI.js} +1 -1
- package/dist/memory-reflection-GNZFIXB4.js +239 -0
- package/dist/{notifications-CJFULBMN.js → notifications-DOGZCKY3.js} +3 -3
- package/dist/{orchestrator-RXIPT6PZ.js → orchestrator-HV7DEBXM.js} +5 -5
- package/dist/{plan-limits-5WY5YK6X.js → plan-limits-Y7UCRWY6.js} +2 -2
- package/dist/{projection-worker-OY4WYZW6.js → projection-worker-NIESKYOK.js} +1 -1
- package/dist/runtime/index.js +6 -6
- package/dist/{session-events-TQ6S5KQN.js → session-events-UDVAORX2.js} +4 -4
- package/dist/{session-kill-telemetry-46YIJWE2.js → session-kill-telemetry-NV4IJPBK.js} +2 -2
- package/dist/{session-scope-3MYK3YRV.js → session-scope-24IMXQES.js} +4 -4
- package/dist/{setup-wizard-ZJ7UCRBP.js → setup-wizard-XB6LSCKU.js} +1 -1
- package/dist/{task-scope-MUU4KXE6.js → task-scope-5QM7HN4D.js} +3 -3
- package/dist/{tasks-crud-PMLK3MM4.js → tasks-crud-PS73UQYV.js} +4 -4
- package/dist/{tasks-review-56LVKKNL.js → tasks-review-CGHWTOOW.js} +3 -3
- package/dist/{tool-telemetry-L77WNAYT.js → tool-telemetry-VWWL2662.js} +1 -1
- package/dist/tui/App.js +11 -11
- package/dist/{tui-data-SB45REYU.js → tui-data-O7PRTO73.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-4CMVLKEI.js → chunk-65HEEFCM.js} +0 -0
- /package/dist/{chunk-K6OEWZTB.js → chunk-7WZMQNA6.js} +0 -0
- /package/dist/{chunk-4QNPADWL.js → chunk-ADNF2DB4.js} +0 -0
- /package/dist/{chunk-4FLUOZTR.js → chunk-BBOP5GLG.js} +0 -0
- /package/dist/{chunk-CURJUF3W.js → chunk-DGRHKL3P.js} +0 -0
- /package/dist/{chunk-NHK5KW6Y.js → chunk-GZY3EIWR.js} +0 -0
- /package/dist/{chunk-AFYIYM2K.js → chunk-HQSBBKPD.js} +0 -0
- /package/dist/{chunk-PFICKZZ5.js → chunk-WA6YUCX6.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_task_scope,
|
|
3
3
|
sessionScopeFilter
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3IDUX6ZD.js";
|
|
5
5
|
import {
|
|
6
6
|
getClient,
|
|
7
7
|
init_database
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OQP6TD46.js";
|
|
9
9
|
import {
|
|
10
10
|
init_employees,
|
|
11
11
|
isCoordinatorName,
|
|
@@ -158,12 +158,21 @@ async function createTaskCore(input) {
|
|
|
158
158
|
try {
|
|
159
159
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
160
160
|
const resolved = resolveExeSession();
|
|
161
|
-
|
|
161
|
+
const callerSession = process.env.EXE_SESSION_NAME || process.env.EXE_SESSION || "";
|
|
162
|
+
const callerRoot = callerSession.includes("-") ? callerSession.split("-").pop() ?? "" : callerSession;
|
|
163
|
+
if (resolved && callerRoot && resolved !== callerRoot) {
|
|
164
|
+
process.stderr.write(
|
|
165
|
+
`[create_task] SESSION ISOLATION: caller "${callerRoot}" \u2260 resolved "${resolved}". Using caller scope.
|
|
166
|
+
`
|
|
167
|
+
);
|
|
168
|
+
earlySessionScope = callerRoot;
|
|
169
|
+
}
|
|
170
|
+
if (resolved && input.projectName && !earlySessionScope) {
|
|
162
171
|
const isCoordinatorSession = !resolved.includes("-");
|
|
163
172
|
if (isCoordinatorSession) {
|
|
164
173
|
earlySessionScope = resolved;
|
|
165
174
|
} else {
|
|
166
|
-
const { getSessionProject } = await import("./session-scope-
|
|
175
|
+
const { getSessionProject } = await import("./session-scope-24IMXQES.js");
|
|
167
176
|
const sessionProject = getSessionProject(resolved);
|
|
168
177
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
169
178
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask,
|
|
3
3
|
init_tasks
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-FKEHAW5H.js";
|
|
5
5
|
import {
|
|
6
6
|
getActiveAgent
|
|
7
7
|
} from "./chunk-ZTZQ5A6B.js";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
ensureEmployee,
|
|
10
10
|
init_tmux_routing,
|
|
11
11
|
resolveExeSession
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3IDUX6ZD.js";
|
|
13
13
|
import {
|
|
14
14
|
getLicenseSync,
|
|
15
15
|
init_plan_limits
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-GLESRO6K.js";
|
|
17
17
|
import {
|
|
18
18
|
init_employees,
|
|
19
19
|
isCoordinatorName
|
|
@@ -108,6 +108,21 @@ function registerCreateTask(server) {
|
|
|
108
108
|
try {
|
|
109
109
|
const exeSession = resolveExeSession();
|
|
110
110
|
if (exeSession) {
|
|
111
|
+
const callerTmux = process.env.EXE_SESSION_NAME || process.env.EXE_SESSION || "";
|
|
112
|
+
const callerRoot = callerTmux.includes("-") ? callerTmux.split("-").pop() ?? "" : callerTmux;
|
|
113
|
+
if (callerRoot && exeSession !== callerRoot && callerRoot !== exeSession) {
|
|
114
|
+
process.stderr.write(
|
|
115
|
+
`[create_task] SESSION ISOLATION BLOCKED: caller is "${callerRoot}" but scope resolved to "${exeSession}". Refusing cross-session dispatch. Task created but NOT dispatched.
|
|
116
|
+
`
|
|
117
|
+
);
|
|
118
|
+
dispatchStatus = `
|
|
119
|
+
Warning: \u26A0\uFE0F Session isolation \u2014 task created but NOT dispatched (caller ${callerRoot} \u2260 scope ${exeSession})`;
|
|
120
|
+
return {
|
|
121
|
+
content: [{ type: "text", text: `Task created: ${task.id}
|
|
122
|
+
File: ${task.taskFile}
|
|
123
|
+
Assigned to: ${task.assignedTo} [${task.priority.toUpperCase()}]${dispatchStatus}` }]
|
|
124
|
+
};
|
|
125
|
+
}
|
|
111
126
|
const { isMultiInstance } = await import("./lib/employees.js");
|
|
112
127
|
const useAutoInstance = isMultiInstance(assigned_to);
|
|
113
128
|
const { loadConfigSync } = await import("./lib/config.js");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_tasks
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FKEHAW5H.js";
|
|
4
4
|
import {
|
|
5
5
|
getProjectName,
|
|
6
6
|
init_project_name
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-ZTZQ5A6B.js";
|
|
11
11
|
import {
|
|
12
12
|
listTasks
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4PGS5OKU.js";
|
|
14
14
|
|
|
15
15
|
// src/mcp/tools/list-tasks.ts
|
|
16
16
|
init_tasks();
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
createCRMWebhookHandler,
|
|
9
9
|
parseTwentyWebhook
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-CUEYUZKY.js";
|
|
11
11
|
import {
|
|
12
12
|
WhatsAppAdapter
|
|
13
13
|
} from "./chunk-BU3ID2WT.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3FPH3UB7.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AUTO_WAKE_MAX_RETRIES
|
|
3
|
+
} from "./chunk-FN4R2IJH.js";
|
|
1
4
|
import {
|
|
2
5
|
getToolCapabilityIndex
|
|
3
6
|
} from "./chunk-LX5WEEZ7.js";
|
|
@@ -6,10 +9,7 @@ import {
|
|
|
6
9
|
} from "./chunk-DRSC6ZRA.js";
|
|
7
10
|
import {
|
|
8
11
|
getToolUsageStats
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
AUTO_WAKE_MAX_RETRIES
|
|
12
|
-
} from "./chunk-CFIM43JH.js";
|
|
12
|
+
} from "./chunk-BBOP5GLG.js";
|
|
13
13
|
import {
|
|
14
14
|
isRerankerAvailable,
|
|
15
15
|
rerankWithScores
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-GU56L7OY.js";
|
|
29
29
|
import {
|
|
30
30
|
listRecentSessionEvents
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-4GXJ4KWB.js";
|
|
32
32
|
import {
|
|
33
33
|
analyzeBlastRadius,
|
|
34
34
|
buildCodeContextIndex,
|
|
@@ -40,12 +40,12 @@ import {
|
|
|
40
40
|
} from "./chunk-OVQR4KMC.js";
|
|
41
41
|
import {
|
|
42
42
|
runDriftProbes
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-EWAWYBVL.js";
|
|
44
44
|
import {
|
|
45
45
|
exportOrchestration,
|
|
46
46
|
importOrchestration,
|
|
47
47
|
validatePackage
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-F25LWMFW.js";
|
|
49
49
|
import {
|
|
50
50
|
loadOrchestrationPhase,
|
|
51
51
|
setOrchestrationPhase
|
|
@@ -53,52 +53,52 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
createOrRefreshResumeTask,
|
|
55
55
|
init_capacity_monitor
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-FO43GJS2.js";
|
|
57
57
|
import {
|
|
58
58
|
registerCompleteReminder
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-QIHP2HDQ.js";
|
|
60
60
|
import {
|
|
61
61
|
registerDeactivateBehavior
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-ZBPC4DW7.js";
|
|
63
63
|
import {
|
|
64
64
|
registerSendMessage
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-4NCSE6PB.js";
|
|
66
66
|
import {
|
|
67
67
|
registerCreateTask
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-65P2ZP5F.js";
|
|
69
69
|
import {
|
|
70
70
|
registerListTasks
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-AGVPLEGP.js";
|
|
72
72
|
import {
|
|
73
73
|
registerUpdateTask
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-N26MHKKN.js";
|
|
75
75
|
import {
|
|
76
76
|
registerCreateReminder
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-QAXIPSLD.js";
|
|
78
78
|
import {
|
|
79
79
|
registerListReminders
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-THIAOMXO.js";
|
|
81
81
|
import {
|
|
82
82
|
completeReminder,
|
|
83
83
|
createReminder,
|
|
84
84
|
listReminders
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-ACXN2E2T.js";
|
|
86
86
|
import {
|
|
87
87
|
status
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-MFFT4HO3.js";
|
|
89
89
|
import {
|
|
90
90
|
TOKENS_PER_IDLE_MINUTE,
|
|
91
91
|
countKillsSince,
|
|
92
92
|
init_session_kill_telemetry,
|
|
93
93
|
sumTokensSavedSince
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-DJ5ZWBKZ.js";
|
|
95
95
|
import {
|
|
96
96
|
getAgentSpend
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-AOSCG2LD.js";
|
|
98
98
|
import {
|
|
99
99
|
createSchedule,
|
|
100
100
|
parseHumanCron
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-L6DRNKF7.js";
|
|
102
102
|
import {
|
|
103
103
|
exportGraphHTML,
|
|
104
104
|
generateGraphReport
|
|
@@ -110,7 +110,7 @@ import {
|
|
|
110
110
|
import {
|
|
111
111
|
formatReport,
|
|
112
112
|
runAudit
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-I2NFOJFM.js";
|
|
114
114
|
import {
|
|
115
115
|
runHealthCheck
|
|
116
116
|
} from "./chunk-7TCP2XTP.js";
|
|
@@ -123,27 +123,27 @@ import {
|
|
|
123
123
|
findSimilarTrajectories,
|
|
124
124
|
hashSignature,
|
|
125
125
|
init_skill_learning
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-UVRYWAUD.js";
|
|
127
127
|
import {
|
|
128
128
|
deactivateBehavior,
|
|
129
129
|
init_behaviors,
|
|
130
130
|
listBehaviorsByDomain,
|
|
131
131
|
storeBehavior
|
|
132
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-P7KSH2Q5.js";
|
|
133
133
|
import {
|
|
134
134
|
countUnconsolidated,
|
|
135
135
|
groupMemories,
|
|
136
136
|
runConsolidation,
|
|
137
137
|
selectUnconsolidated
|
|
138
|
-
} from "./chunk-
|
|
138
|
+
} from "./chunk-O7SOBCXV.js";
|
|
139
139
|
import {
|
|
140
140
|
renderClientCOOTemplate
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-DOBUMDFP.js";
|
|
142
142
|
import {
|
|
143
143
|
deactivateGlobalProcedure,
|
|
144
144
|
loadGlobalProcedures,
|
|
145
145
|
storeGlobalProcedure
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-JBSJUYRX.js";
|
|
147
147
|
import {
|
|
148
148
|
PLATFORM_PROCEDURES
|
|
149
149
|
} from "./chunk-6QEFN3DV.js";
|
|
@@ -152,7 +152,7 @@ import {
|
|
|
152
152
|
cloudSync,
|
|
153
153
|
getCloudReuploadRequired,
|
|
154
154
|
markCloudReuploadRequired
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-ITSYZA76.js";
|
|
156
156
|
import {
|
|
157
157
|
createARecord
|
|
158
158
|
} from "./chunk-X2Z5GT3V.js";
|
|
@@ -168,15 +168,15 @@ import {
|
|
|
168
168
|
import {
|
|
169
169
|
init_tasks,
|
|
170
170
|
updateTask
|
|
171
|
-
} from "./chunk-
|
|
171
|
+
} from "./chunk-FKEHAW5H.js";
|
|
172
172
|
import {
|
|
173
173
|
fastDbInit
|
|
174
|
-
} from "./chunk-
|
|
174
|
+
} from "./chunk-DGRHKL3P.js";
|
|
175
175
|
import {
|
|
176
176
|
getIdentity,
|
|
177
177
|
listIdentities,
|
|
178
178
|
updateIdentity
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-R5QAAAYZ.js";
|
|
180
180
|
import {
|
|
181
181
|
MAX_CONCURRENT_WORKERS
|
|
182
182
|
} from "./chunk-TWYEE4FB.js";
|
|
@@ -187,7 +187,7 @@ import {
|
|
|
187
187
|
import {
|
|
188
188
|
hybridSearch,
|
|
189
189
|
recentRecords
|
|
190
|
-
} from "./chunk-
|
|
190
|
+
} from "./chunk-LVNKCRR2.js";
|
|
191
191
|
import {
|
|
192
192
|
getActiveAgent
|
|
193
193
|
} from "./chunk-ZTZQ5A6B.js";
|
|
@@ -198,11 +198,11 @@ import {
|
|
|
198
198
|
reserveVersions,
|
|
199
199
|
vectorToBlob,
|
|
200
200
|
writeMemory
|
|
201
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-HWZKHJ4Z.js";
|
|
202
202
|
import {
|
|
203
203
|
resolveTask,
|
|
204
204
|
writeCheckpoint
|
|
205
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-4PGS5OKU.js";
|
|
206
206
|
import {
|
|
207
207
|
init_task_scope,
|
|
208
208
|
init_tmux_routing,
|
|
@@ -210,7 +210,7 @@ import {
|
|
|
210
210
|
sessionScopeFilter,
|
|
211
211
|
strictSessionScopeFilter,
|
|
212
212
|
tmux_routing_exports
|
|
213
|
-
} from "./chunk-
|
|
213
|
+
} from "./chunk-3IDUX6ZD.js";
|
|
214
214
|
import {
|
|
215
215
|
init_session_registry,
|
|
216
216
|
listSessions
|
|
@@ -234,7 +234,7 @@ import {
|
|
|
234
234
|
assertFeature,
|
|
235
235
|
assertMemoryLimit,
|
|
236
236
|
init_plan_limits
|
|
237
|
-
} from "./chunk-
|
|
237
|
+
} from "./chunk-GLESRO6K.js";
|
|
238
238
|
import {
|
|
239
239
|
getAccountByName,
|
|
240
240
|
getDefaultAccount
|
|
@@ -243,14 +243,14 @@ import {
|
|
|
243
243
|
createNewTrigger,
|
|
244
244
|
isScheduledTrigger,
|
|
245
245
|
loadTriggers
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-HQSBBKPD.js";
|
|
247
247
|
import {
|
|
248
248
|
pushConversationToCRM
|
|
249
249
|
} from "./chunk-GCNWCYJI.js";
|
|
250
250
|
import {
|
|
251
251
|
getClient,
|
|
252
252
|
init_database
|
|
253
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-OQP6TD46.js";
|
|
254
254
|
import {
|
|
255
255
|
EMPLOYEES_PATH,
|
|
256
256
|
addEmployee,
|
|
@@ -2009,7 +2009,7 @@ function registerResumeEmployee(server) {
|
|
|
2009
2009
|
};
|
|
2010
2010
|
}
|
|
2011
2011
|
try {
|
|
2012
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2012
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-PS73UQYV.js");
|
|
2013
2013
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2014
2014
|
for (const row of openTasks.rows) {
|
|
2015
2015
|
const status2 = String(row.status);
|
|
@@ -2810,8 +2810,8 @@ function registerIngestDocument(server) {
|
|
|
2810
2810
|
},
|
|
2811
2811
|
async (input) => {
|
|
2812
2812
|
try {
|
|
2813
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
2814
|
-
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-
|
|
2813
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-Y7UCRWY6.js");
|
|
2814
|
+
const { assertMemoryLimit: assertMemoryLimit2 } = await import("./plan-limits-Y7UCRWY6.js");
|
|
2815
2815
|
await assertFeature2("wiki");
|
|
2816
2816
|
await assertMemoryLimit2();
|
|
2817
2817
|
const result3 = await ingestDocument(input);
|
|
@@ -4770,7 +4770,7 @@ async function getAgentSessionLoad() {
|
|
|
4770
4770
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
4771
4771
|
}
|
|
4772
4772
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
4773
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
4773
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-5QM7HN4D.js");
|
|
4774
4774
|
const client = getClient2();
|
|
4775
4775
|
const scope = sessionScopeFilter2();
|
|
4776
4776
|
for (const s of liveAgentSessions) {
|
|
@@ -6372,7 +6372,7 @@ function registerCreateTrigger(server) {
|
|
|
6372
6372
|
}
|
|
6373
6373
|
},
|
|
6374
6374
|
async ({ name, event, conditions, actions, project, enabled, schedule, query }) => {
|
|
6375
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
6375
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-Y7UCRWY6.js");
|
|
6376
6376
|
const gatedActions = {
|
|
6377
6377
|
send_whatsapp: "external_agents",
|
|
6378
6378
|
update_wiki: "wiki"
|
|
@@ -7287,7 +7287,7 @@ function registerListWikiPages(server) {
|
|
|
7287
7287
|
}
|
|
7288
7288
|
},
|
|
7289
7289
|
async ({ workspace, folder }) => {
|
|
7290
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
7290
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-Y7UCRWY6.js");
|
|
7291
7291
|
await assertFeature2("wiki");
|
|
7292
7292
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
7293
7293
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -7387,7 +7387,7 @@ function registerGetWikiPage(server) {
|
|
|
7387
7387
|
}
|
|
7388
7388
|
},
|
|
7389
7389
|
async ({ workspace, document_id, title }) => {
|
|
7390
|
-
const { assertFeature: assertFeature2 } = await import("./plan-limits-
|
|
7390
|
+
const { assertFeature: assertFeature2 } = await import("./plan-limits-Y7UCRWY6.js");
|
|
7391
7391
|
await assertFeature2("wiki");
|
|
7392
7392
|
const apiUrl = process.env.EXE_WIKI_API_URL;
|
|
7393
7393
|
const apiKey = process.env.EXE_WIKI_API_KEY;
|
|
@@ -5,11 +5,11 @@ import {
|
|
|
5
5
|
getIdentity,
|
|
6
6
|
listIdentities,
|
|
7
7
|
updateIdentity
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-R5QAAAYZ.js";
|
|
9
9
|
import {
|
|
10
10
|
getClient,
|
|
11
11
|
init_database
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OQP6TD46.js";
|
|
13
13
|
|
|
14
14
|
// src/lib/orchestration-package.ts
|
|
15
15
|
init_database();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_session_scope,
|
|
3
3
|
session_scope_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZA6RNNQT.js";
|
|
5
5
|
import {
|
|
6
6
|
createTaskCore,
|
|
7
7
|
deleteTaskCore,
|
|
8
8
|
init_tasks_crud,
|
|
9
9
|
updateTaskStatus
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PGS5OKU.js";
|
|
11
11
|
import {
|
|
12
12
|
cleanupReviewFile,
|
|
13
13
|
employeeSessionName,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
sendIntercom,
|
|
23
23
|
sessionScopeFilter,
|
|
24
24
|
writeNotification
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3IDUX6ZD.js";
|
|
26
26
|
import {
|
|
27
27
|
getTransport,
|
|
28
28
|
init_transport
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
getClient,
|
|
40
40
|
init_database
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-OQP6TD46.js";
|
|
42
42
|
import {
|
|
43
43
|
getCoordinatorName,
|
|
44
44
|
init_employees,
|
|
@@ -326,7 +326,7 @@ async function updateTask(input) {
|
|
|
326
326
|
await markTaskNotificationsRead(taskFile);
|
|
327
327
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
328
328
|
try {
|
|
329
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
329
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-DOGZCKY3.js");
|
|
330
330
|
await writeNotification2({
|
|
331
331
|
agentId: String(row.assigned_to),
|
|
332
332
|
agentRole: String(row.assigned_to),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_session_kill_telemetry,
|
|
3
3
|
session_kill_telemetry_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DJ5ZWBKZ.js";
|
|
5
5
|
import {
|
|
6
6
|
init_tmux_status,
|
|
7
7
|
tmux_status_exports
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
notifications_exports,
|
|
15
15
|
sessionScopeFilter,
|
|
16
16
|
tmux_routing_exports
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3IDUX6ZD.js";
|
|
18
18
|
import {
|
|
19
19
|
init_intercom_queue,
|
|
20
20
|
intercom_queue_exports
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
init_session_kill_telemetry,
|
|
3
3
|
recordSessionKill
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-DJ5ZWBKZ.js";
|
|
5
5
|
import {
|
|
6
6
|
init_notifications,
|
|
7
7
|
init_task_scope,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
sessionScopeFilter,
|
|
10
10
|
verifyPaneAtCapacity,
|
|
11
11
|
writeNotification
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3IDUX6ZD.js";
|
|
13
13
|
import {
|
|
14
14
|
init_session_registry,
|
|
15
15
|
listSessions
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
getClient,
|
|
23
23
|
init_database
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OQP6TD46.js";
|
|
25
25
|
import {
|
|
26
26
|
init_employees,
|
|
27
27
|
isCoordinatorName
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
findScopedDuplicate,
|
|
3
3
|
governMemoryRecord,
|
|
4
4
|
schedulePostWriteMemoryHygiene
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-GZY3EIWR.js";
|
|
6
6
|
import {
|
|
7
7
|
init_state_bus,
|
|
8
8
|
orgBus
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
getClient,
|
|
14
14
|
initTurso,
|
|
15
15
|
init_database
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OQP6TD46.js";
|
|
17
17
|
import {
|
|
18
18
|
EMBEDDING_DIM,
|
|
19
19
|
init_memory
|
|
@@ -125,7 +125,7 @@ async function initStore(options) {
|
|
|
125
125
|
);
|
|
126
126
|
_nextVersion = (Number(vResult.rows[0]?.max_v) || 0) + 1;
|
|
127
127
|
try {
|
|
128
|
-
const { loadGlobalProcedures } = await import("./global-procedures-
|
|
128
|
+
const { loadGlobalProcedures } = await import("./global-procedures-4VE5RP5Z.js");
|
|
129
129
|
await loadGlobalProcedures();
|
|
130
130
|
} catch (e) {
|
|
131
131
|
logStoreWarn("catch", e);
|
|
@@ -388,13 +388,13 @@ async function flushBatch() {
|
|
|
388
388
|
const globalStmts = batch.map(buildStmt);
|
|
389
389
|
await globalClient.batch(globalStmts, "write");
|
|
390
390
|
try {
|
|
391
|
-
const { insertMemoryCardsForBatch } = await import("./memory-cards-
|
|
391
|
+
const { insertMemoryCardsForBatch } = await import("./memory-cards-JASZEXYI.js");
|
|
392
392
|
await insertMemoryCardsForBatch(batch);
|
|
393
393
|
} catch (e) {
|
|
394
394
|
logStoreWarn("catch", e);
|
|
395
395
|
}
|
|
396
396
|
try {
|
|
397
|
-
const { insertOntologyForBatch } = await import("./agentic-ontology-
|
|
397
|
+
const { insertOntologyForBatch } = await import("./agentic-ontology-FXPFDEUJ.js");
|
|
398
398
|
await insertOntologyForBatch(batch);
|
|
399
399
|
} catch (e) {
|
|
400
400
|
logStoreWarn("catch", e);
|
|
@@ -951,7 +951,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
951
951
|
}
|
|
952
952
|
async function main(argv = process.argv.slice(2)) {
|
|
953
953
|
const flags = parseFlags(argv);
|
|
954
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
954
|
+
const { fastDbInit } = await import("./fast-db-init-FQ47BIJ4.js");
|
|
955
955
|
const client = await fastDbInit();
|
|
956
956
|
const report = await runAudit(client, flags);
|
|
957
957
|
console.log(formatReport(report, flags));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isCrdtSyncEnabled
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WA6YUCX6.js";
|
|
4
4
|
import {
|
|
5
5
|
decryptSyncBlob,
|
|
6
6
|
encryptSyncBlob,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
getClient,
|
|
12
12
|
init_database
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OQP6TD46.js";
|
|
14
14
|
import {
|
|
15
15
|
init_employees,
|
|
16
16
|
loadEmployees,
|
|
@@ -422,7 +422,7 @@ async function cloudSync(config) {
|
|
|
422
422
|
let pulled = 0;
|
|
423
423
|
if (pullResult.records.length > 0) {
|
|
424
424
|
if (isCrdtSyncEnabled()) {
|
|
425
|
-
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-
|
|
425
|
+
const { initCrdtDoc, importExistingMemories, readAllMemories } = await import("./crdt-sync-TG7XPFKW.js");
|
|
426
426
|
initCrdtDoc();
|
|
427
427
|
importExistingMemories(
|
|
428
428
|
pullResult.records.map((rec) => ({
|