@askexenow/exe-os 0.9.177 → 0.9.178
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/{backfill-metadata-AE3HCRDT.js → backfill-metadata-RUPJUXIG.js} +1 -1
- package/dist/bin/agentic-ontology-backfill.js +1 -1
- package/dist/bin/agentic-reflection-backfill.js +1 -1
- package/dist/bin/agentic-semantic-label.js +1 -1
- package/dist/bin/backfill-conversations.js +1 -1
- package/dist/bin/backfill-responses.js +1 -1
- package/dist/bin/backfill-vectors.js +2 -2
- package/dist/bin/bulk-sync-postgres.js +1 -1
- package/dist/bin/cleanup-stale-review-tasks.js +2 -2
- package/dist/bin/cli.js +4 -4
- package/dist/bin/exe-assign.js +1 -1
- package/dist/bin/exe-boot.js +3 -3
- package/dist/bin/exe-dispatch.js +2 -2
- package/dist/bin/exe-doctor.js +1 -1
- package/dist/bin/exe-export-behaviors.js +2 -2
- package/dist/bin/exe-forget.js +3 -3
- package/dist/bin/exe-gateway.js +4 -4
- package/dist/bin/exe-heartbeat.js +2 -2
- package/dist/bin/exe-kill.js +3 -3
- package/dist/bin/exe-launch-agent.js +2 -2
- package/dist/bin/exe-pending-messages.js +3 -3
- package/dist/bin/exe-pending-notifications.js +2 -2
- package/dist/bin/exe-pending-reviews.js +2 -2
- package/dist/bin/exe-review.js +3 -3
- package/dist/bin/exe-search.js +2 -2
- package/dist/bin/exe-session-cleanup.js +5 -5
- package/dist/bin/exe-start-codex.js +1 -1
- package/dist/bin/exe-start-opencode.js +1 -1
- package/dist/bin/exe-status.js +3 -3
- package/dist/bin/exe-team.js +1 -1
- package/dist/bin/git-sweep.js +2 -2
- package/dist/bin/graph-backfill.js +1 -1
- package/dist/bin/graph-export.js +2 -2
- package/dist/bin/import-history.js +1 -1
- package/dist/bin/intercom-check.js +3 -3
- package/dist/bin/scan-tasks.js +2 -2
- package/dist/bin/shard-migrate.js +1 -1
- package/dist/{capacity-monitor-7ANP6K4X.js → capacity-monitor-5O3LAPGD.js} +2 -2
- package/dist/{catchup-brief-QT2OPLCK.js → catchup-brief-3YBGR6BS.js} +3 -3
- package/dist/{chunk-FHTS2H3K.js → chunk-2TARUE5G.js} +1 -1
- package/dist/{chunk-JFC6NUCX.js → chunk-34RVMFJL.js} +1 -1
- package/dist/{chunk-JU6HWR67.js → chunk-3XIZVQ6I.js} +1 -1
- package/dist/{chunk-IDAMUZYR.js → chunk-AWODEQI5.js} +22 -22
- package/dist/{chunk-IBMQXRXC.js → chunk-BAKUXZZO.js} +2 -2
- package/dist/{chunk-4U2SWV5Z.js → chunk-ERA4FE5C.js} +1 -1
- package/dist/{chunk-Y3OLLO3J.js → chunk-H2762FYW.js} +2 -2
- package/dist/{chunk-HFYQQKMV.js → chunk-JEL26633.js} +1 -1
- package/dist/{chunk-GA3BI2FI.js → chunk-KFDIV7EE.js} +6 -6
- package/dist/{chunk-KLHNXG7S.js → chunk-KH34KOGR.js} +1 -1
- package/dist/{chunk-UQICZSRC.js → chunk-LJ4MEZP5.js} +1 -1
- package/dist/{chunk-2SVJSE6I.js → chunk-LOYXXG6M.js} +1 -1
- package/dist/{chunk-JNJW3N3K.js → chunk-N4B65WIH.js} +3 -3
- package/dist/{chunk-D56VM4UP.js → chunk-ONESYIVC.js} +3 -3
- package/dist/{chunk-MV2D2FRB.js → chunk-QLZ2UY7X.js} +1 -1
- package/dist/{chunk-AR43F5MV.js → chunk-QU62Q3YI.js} +1 -1
- package/dist/{chunk-V6OIWPLP.js → chunk-SUUPTAK3.js} +1 -1
- package/dist/{chunk-2QQ57247.js → chunk-WCKGOI5P.js} +1 -1
- package/dist/{chunk-4RYRE7QI.js → chunk-WP3ZXXPB.js} +1 -1
- package/dist/{chunk-KM2DOJN5.js → chunk-X4OO7RXI.js} +3 -3
- package/dist/{chunk-DX4CRPCG.js → chunk-X56DHLUW.js} +1 -1
- package/dist/{chunk-PMTE7LF2.js → chunk-XDAJN7CD.js} +3 -3
- package/dist/{chunk-C5YJFFKV.js → chunk-Y6OHW3L7.js} +2 -2
- package/dist/{chunk-GJJKUJPI.js → chunk-ZKHX26H3.js} +2 -2
- package/dist/{chunk-NZX5IPN4.js → chunk-ZXP72SMJ.js} +2 -2
- package/dist/{crm-webhook-O6FXUXIZ.js → crm-webhook-3TRJK4ZC.js} +2 -2
- package/dist/{cto-delegation-gate-AJYNSQDK.js → cto-delegation-gate-LLO7QYHQ.js} +1 -1
- package/dist/{daemon-orchestration-MIRY7676.js → daemon-orchestration-XL2UYSHK.js} +3 -3
- package/dist/{exe-export-MZYTQAP4.js → exe-export-IYLD7DFY.js} +1 -1
- package/dist/{exe-import-4TJUX3NV.js → exe-import-SO5HSWSN.js} +1 -1
- package/dist/{fast-db-init-MKQRBXZW.js → fast-db-init-BA6F2QTN.js} +1 -1
- package/dist/gateway/index.js +5 -5
- package/dist/{git-task-sweep-PBQTBZUU.js → git-task-sweep-JCJ2QNSY.js} +2 -2
- package/dist/hooks/bug-report-worker.js +3 -3
- package/dist/hooks/codex-stop-task-finalizer.js +3 -3
- package/dist/hooks/commit-complete.js +4 -4
- package/dist/hooks/error-recall.js +2 -2
- package/dist/hooks/ingest.js +2 -2
- package/dist/hooks/instructions-loaded.js +1 -1
- package/dist/hooks/notification.js +1 -1
- package/dist/hooks/post-compact.js +2 -2
- package/dist/hooks/post-tool-combined.js +2 -2
- package/dist/hooks/pre-compact.js +3 -3
- package/dist/hooks/pre-tool-use.js +6 -6
- package/dist/hooks/prompt-submit.js +8 -8
- package/dist/hooks/session-end.js +6 -6
- package/dist/hooks/session-start.js +5 -5
- package/dist/hooks/stop.js +5 -5
- package/dist/hooks/subagent-stop.js +2 -2
- package/dist/hooks/summary-worker.js +5 -5
- package/dist/index.js +8 -8
- package/dist/lib/consolidation.js +2 -2
- package/dist/lib/exe-daemon.js +12 -12
- package/dist/lib/hybrid-search.js +2 -2
- package/dist/lib/messaging.js +2 -2
- package/dist/lib/schedules.js +2 -2
- package/dist/lib/store.js +1 -1
- package/dist/lib/tasks.js +2 -2
- package/dist/lib/tmux-routing.js +1 -1
- package/dist/mcp/register-tools.js +20 -20
- package/dist/mcp/server.js +21 -21
- package/dist/mcp/tools/create-task.js +3 -3
- package/dist/mcp/tools/list-tasks.js +3 -3
- package/dist/mcp/tools/send-message.js +3 -3
- package/dist/mcp/tools/update-task.js +3 -3
- package/dist/{notifications-OJKA47ID.js → notifications-SGFDN7D4.js} +1 -1
- package/dist/{orchestrator-4NU6YNIF.js → orchestrator-6P55DLMF.js} +2 -2
- package/dist/{review-polling-S3UBNNKI.js → review-polling-LUFX7TBF.js} +2 -2
- package/dist/runtime/index.js +3 -3
- package/dist/{session-events-CB5UNUE7.js → session-events-QW53IKLI.js} +2 -2
- package/dist/{session-scope-VJC7ZKYO.js → session-scope-GCMG466H.js} +1 -1
- package/dist/{task-enforcement-O5X3SWZT.js → task-enforcement-B4GIMP3P.js} +1 -1
- package/dist/{task-scope-PEXH76U3.js → task-scope-MCCHWZT3.js} +1 -1
- package/dist/{tasks-crud-EBMZOCM7.js → tasks-crud-FSFQEHQS.js} +1 -1
- package/dist/{tasks-review-KNUNIUSU.js → tasks-review-ZX2IWJTJ.js} +1 -1
- package/dist/tui/App.js +7 -7
- package/dist/{tui-data-N2IU2C2C.js → tui-data-VS5J33MW.js} +1 -1
- package/dist/{worker-gate-2JLZBO7X.js → worker-gate-PF3NYYBS.js} +1 -1
- package/dist/{workflow-engine-6KPSU6IL.js → workflow-engine-JKDPHNI2.js} +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-B2LJ6VZF.js → chunk-5WHMIXVB.js} +0 -0
- /package/dist/{chunk-BA2ZPGZK.js → chunk-BLMF7ZQE.js} +0 -0
- /package/dist/{chunk-6YAK6C62.js → chunk-PILV2QE3.js} +0 -0
- /package/dist/{core-memory-AI2KKKUD.js → core-memory-XXATFASI.js} +0 -0
- /package/dist/{exe-key-SXRZVFU7.js → exe-key-ELN6UW2L.js} +0 -0
- /package/dist/{skill-refinement-FRKF3S3J.js → skill-refinement-4NZ2EF4P.js} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-R4IK2YT3.js";
|
|
7
7
|
import {
|
|
8
8
|
AUTO_WAKE_MAX_RETRIES
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XDAJN7CD.js";
|
|
10
10
|
import {
|
|
11
11
|
getToolCapabilityIndex
|
|
12
12
|
} from "./chunk-6BZF3TEG.js";
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-E6ORBQHP.js";
|
|
29
29
|
import {
|
|
30
30
|
listRecentSessionEvents
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-KH34KOGR.js";
|
|
32
32
|
import {
|
|
33
33
|
analyzeBlastRadius,
|
|
34
34
|
buildCodeContextIndex,
|
|
@@ -52,7 +52,7 @@ import {
|
|
|
52
52
|
} from "./chunk-DH65L4XI.js";
|
|
53
53
|
import {
|
|
54
54
|
createOrRefreshResumeTask
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-QLZ2UY7X.js";
|
|
56
56
|
import {
|
|
57
57
|
registerCompleteReminder
|
|
58
58
|
} from "./chunk-UUZJU5NL.js";
|
|
@@ -61,16 +61,16 @@ import {
|
|
|
61
61
|
} from "./chunk-3KVMAWJO.js";
|
|
62
62
|
import {
|
|
63
63
|
registerSendMessage
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-2TARUE5G.js";
|
|
65
65
|
import {
|
|
66
66
|
registerCreateTask
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-ONESYIVC.js";
|
|
68
68
|
import {
|
|
69
69
|
registerListTasks
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-3XIZVQ6I.js";
|
|
71
71
|
import {
|
|
72
72
|
registerUpdateTask
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-BAKUXZZO.js";
|
|
74
74
|
import {
|
|
75
75
|
registerCreateReminder
|
|
76
76
|
} from "./chunk-BYVSOED6.js";
|
|
@@ -100,10 +100,10 @@ import {
|
|
|
100
100
|
import {
|
|
101
101
|
createSchedule,
|
|
102
102
|
parseHumanCron
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-WCKGOI5P.js";
|
|
104
104
|
import {
|
|
105
105
|
status
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-ZXP72SMJ.js";
|
|
107
107
|
import {
|
|
108
108
|
getAgentSpend
|
|
109
109
|
} from "./chunk-TY4SOOBC.js";
|
|
@@ -118,7 +118,7 @@ import {
|
|
|
118
118
|
import {
|
|
119
119
|
formatReport,
|
|
120
120
|
runAudit
|
|
121
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-H2762FYW.js";
|
|
122
122
|
import {
|
|
123
123
|
runHealthCheck
|
|
124
124
|
} from "./chunk-J73N5EJ6.js";
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
groupMemories,
|
|
163
163
|
runConsolidation,
|
|
164
164
|
selectUnconsolidated
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-X56DHLUW.js";
|
|
166
166
|
import {
|
|
167
167
|
embed
|
|
168
168
|
} from "./chunk-7XKOGQJ2.js";
|
|
@@ -173,17 +173,17 @@ import {
|
|
|
173
173
|
} from "./chunk-T5YT64SZ.js";
|
|
174
174
|
import {
|
|
175
175
|
updateTask
|
|
176
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-X4OO7RXI.js";
|
|
177
177
|
import {
|
|
178
178
|
fastDbInit
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-BLMF7ZQE.js";
|
|
180
180
|
import {
|
|
181
181
|
MAX_CONCURRENT_WORKERS
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-LOYXXG6M.js";
|
|
183
183
|
import {
|
|
184
184
|
hybridSearch,
|
|
185
185
|
recentRecords
|
|
186
|
-
} from "./chunk-
|
|
186
|
+
} from "./chunk-QU62Q3YI.js";
|
|
187
187
|
import {
|
|
188
188
|
attachDocumentMetadata,
|
|
189
189
|
flushBatch,
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
reserveVersions,
|
|
192
192
|
vectorToBlob,
|
|
193
193
|
writeMemory
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-JEL26633.js";
|
|
195
195
|
import {
|
|
196
196
|
extractKeywords,
|
|
197
197
|
keywordsToString
|
|
@@ -206,7 +206,7 @@ import {
|
|
|
206
206
|
sessionScopeFilter,
|
|
207
207
|
updateTaskStatus,
|
|
208
208
|
writeCheckpoint
|
|
209
|
-
} from "./chunk-
|
|
209
|
+
} from "./chunk-KFDIV7EE.js";
|
|
210
210
|
import {
|
|
211
211
|
listSessions
|
|
212
212
|
} from "./chunk-64WZEXXA.js";
|
|
@@ -242,7 +242,7 @@ import {
|
|
|
242
242
|
isScheduledTrigger,
|
|
243
243
|
loadTriggers,
|
|
244
244
|
sanitizeParam
|
|
245
|
-
} from "./chunk-
|
|
245
|
+
} from "./chunk-5WHMIXVB.js";
|
|
246
246
|
import {
|
|
247
247
|
EMPLOYEES_PATH,
|
|
248
248
|
addEmployee,
|
|
@@ -1553,7 +1553,7 @@ function registerMemory(server) {
|
|
|
1553
1553
|
if (action === "core_get" || action === "core_set" || action === "core_delete") {
|
|
1554
1554
|
const { getActiveAgent: getActiveAgent2 } = await import("./active-agent-I6RTMUJQ.js");
|
|
1555
1555
|
const { agentId } = getActiveAgent2();
|
|
1556
|
-
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-
|
|
1556
|
+
const { getCoreMemory, setCoreMemory, deleteCoreMemory, formatCoreMemoryBlock } = await import("./core-memory-XXATFASI.js");
|
|
1557
1557
|
if (action === "core_get") {
|
|
1558
1558
|
const entries = await getCoreMemory(agentId);
|
|
1559
1559
|
const block = formatCoreMemoryBlock(entries);
|
|
@@ -2262,7 +2262,7 @@ function registerResumeEmployee(server) {
|
|
|
2262
2262
|
};
|
|
2263
2263
|
}
|
|
2264
2264
|
try {
|
|
2265
|
-
const { isTmuxSessionAlive } = await import("./tasks-crud-
|
|
2265
|
+
const { isTmuxSessionAlive } = await import("./tasks-crud-FSFQEHQS.js");
|
|
2266
2266
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
2267
2267
|
for (const row of openTasks.rows) {
|
|
2268
2268
|
const status2 = String(row.status);
|
|
@@ -5421,7 +5421,7 @@ async function getAgentSessionLoad() {
|
|
|
5421
5421
|
return { sessions: [], totalLive: 0, busySessions: 0, idleSessions: 0 };
|
|
5422
5422
|
}
|
|
5423
5423
|
const { getClient: getClient2 } = await import("./lib/database.js");
|
|
5424
|
-
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-
|
|
5424
|
+
const { sessionScopeFilter: sessionScopeFilter2 } = await import("./task-scope-MCCHWZT3.js");
|
|
5425
5425
|
const client = getClient2();
|
|
5426
5426
|
const scope = sessionScopeFilter2();
|
|
5427
5427
|
for (const s of liveAgentSessions) {
|
|
@@ -9460,7 +9460,7 @@ function registerWorkflowTool(server) {
|
|
|
9460
9460
|
getWorkflowInstance,
|
|
9461
9461
|
listWorkflowInstances,
|
|
9462
9462
|
approveWorkflowStep
|
|
9463
|
-
} = await import("./workflow-engine-
|
|
9463
|
+
} = await import("./workflow-engine-JKDPHNI2.js");
|
|
9464
9464
|
try {
|
|
9465
9465
|
switch (input.action) {
|
|
9466
9466
|
case "create_workflow": {
|
|
@@ -849,7 +849,7 @@ function formatReport(report, flags) {
|
|
|
849
849
|
return lines.join("\n");
|
|
850
850
|
}
|
|
851
851
|
async function fixNullVectors() {
|
|
852
|
-
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-
|
|
852
|
+
const { tryAcquireWorkerSlot, registerWorkerPid } = await import("./worker-gate-PF3NYYBS.js");
|
|
853
853
|
if (!tryAcquireWorkerSlot()) {
|
|
854
854
|
process.stderr.write("[exe-doctor] Worker gate full \u2014 waiting for existing backfill workers to finish\n");
|
|
855
855
|
await new Promise((r) => setTimeout(r, 5e3));
|
|
@@ -970,7 +970,7 @@ function splitAtSentences(text, maxChunkSize) {
|
|
|
970
970
|
}
|
|
971
971
|
async function main(argv = process.argv.slice(2)) {
|
|
972
972
|
const flags = parseFlags(argv);
|
|
973
|
-
const { fastDbInit } = await import("./fast-db-init-
|
|
973
|
+
const { fastDbInit } = await import("./fast-db-init-BA6F2QTN.js");
|
|
974
974
|
const client = await fastDbInit();
|
|
975
975
|
const report = await runAudit(client, flags);
|
|
976
976
|
console.log(formatReport(report, flags));
|
|
@@ -192,7 +192,7 @@ async function writeMemory(record) {
|
|
|
192
192
|
if (!record.session_scope) {
|
|
193
193
|
try {
|
|
194
194
|
const { resolveExeSession } = await import("./lib/tmux-routing.js");
|
|
195
|
-
record.session_scope = resolveExeSession() ??
|
|
195
|
+
record.session_scope = resolveExeSession() ?? null;
|
|
196
196
|
} catch {
|
|
197
197
|
}
|
|
198
198
|
}
|
|
@@ -358,7 +358,7 @@ async function createTaskCore(input) {
|
|
|
358
358
|
if (isCoordinatorSession) {
|
|
359
359
|
earlySessionScope = resolved;
|
|
360
360
|
} else {
|
|
361
|
-
const { getSessionProject } = await import("./session-scope-
|
|
361
|
+
const { getSessionProject } = await import("./session-scope-GCMG466H.js");
|
|
362
362
|
const sessionProject = getSessionProject(resolved);
|
|
363
363
|
if (sessionProject && sessionProject !== input.projectName) {
|
|
364
364
|
scopeMismatchWarning = `session/project mismatch: session "${resolved}" owns "${sessionProject}" but task targets "${input.projectName}". Routed to default scope.`;
|
|
@@ -580,14 +580,14 @@ async function queryTaskRows(opts) {
|
|
|
580
580
|
}
|
|
581
581
|
if (opts.sessionScope !== null && !opts.deviceId) {
|
|
582
582
|
if (opts.strictSession) {
|
|
583
|
-
const scope = strictSessionScopeFilter(opts.sessionScope
|
|
583
|
+
const scope = strictSessionScopeFilter(opts.sessionScope);
|
|
584
584
|
if (scope.sql) {
|
|
585
585
|
const cleaned = scope.sql.replace(/^\s*AND\s+/, "");
|
|
586
586
|
conditions.push(cleaned);
|
|
587
587
|
args.push(...scope.args);
|
|
588
588
|
}
|
|
589
589
|
} else {
|
|
590
|
-
const scope = sessionScopeFilter(opts.sessionScope
|
|
590
|
+
const scope = sessionScopeFilter(opts.sessionScope);
|
|
591
591
|
if (scope.sql) {
|
|
592
592
|
const cleaned = scope.sql.replace(/^\s*AND\s+/, "");
|
|
593
593
|
conditions.push(cleaned);
|
|
@@ -786,7 +786,7 @@ async function updateTaskStatus(input) {
|
|
|
786
786
|
} catch {
|
|
787
787
|
}
|
|
788
788
|
try {
|
|
789
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
789
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-SGFDN7D4.js");
|
|
790
790
|
await writeNotification2({
|
|
791
791
|
agentId: reviewer,
|
|
792
792
|
agentRole: isCoordinatorName(reviewer) ? "COO" : "manager",
|
|
@@ -961,7 +961,7 @@ ${input.result}` : `\u26A0\uFE0F ${warning}`;
|
|
|
961
961
|
}
|
|
962
962
|
if (input.status === "done" || input.status === "needs_review") {
|
|
963
963
|
try {
|
|
964
|
-
const { incrementSkillSuccess } = await import("./skill-refinement-
|
|
964
|
+
const { incrementSkillSuccess } = await import("./skill-refinement-4NZ2EF4P.js");
|
|
965
965
|
await incrementSkillSuccess(
|
|
966
966
|
String(row.assigned_to),
|
|
967
967
|
row.project_name ? String(row.project_name) : null
|
|
@@ -2039,7 +2039,7 @@ async function verifyPaneAtCapacity(sessionName) {
|
|
|
2039
2039
|
reason: `capture-pane failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2040
2040
|
};
|
|
2041
2041
|
}
|
|
2042
|
-
const { isAtCapacity } = await import("./capacity-monitor-
|
|
2042
|
+
const { isAtCapacity } = await import("./capacity-monitor-5O3LAPGD.js");
|
|
2043
2043
|
if (!isAtCapacity(pane)) {
|
|
2044
2044
|
return {
|
|
2045
2045
|
atCapacity: false,
|
|
@@ -111,7 +111,7 @@ function releaseBackfillLock() {
|
|
|
111
111
|
}
|
|
112
112
|
async function getTaskAwareCapacity() {
|
|
113
113
|
const { getClient } = await import("./lib/database.js");
|
|
114
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
114
|
+
const { sessionScopeFilter } = await import("./task-scope-MCCHWZT3.js");
|
|
115
115
|
const client = getClient();
|
|
116
116
|
const scope = sessionScopeFilter();
|
|
117
117
|
const result = await client.execute({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MultiAgentOrchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ERA4FE5C.js";
|
|
4
4
|
import {
|
|
5
5
|
createQuietRenderer,
|
|
6
6
|
createTerminalRenderer,
|
|
@@ -327,7 +327,7 @@ function createExeOSHooks(config) {
|
|
|
327
327
|
async onSubagentStop(_reason) {
|
|
328
328
|
try {
|
|
329
329
|
const { getClient } = await import("./lib/database.js");
|
|
330
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
330
|
+
const { sessionScopeFilter } = await import("./task-scope-MCCHWZT3.js");
|
|
331
331
|
const client = getClient();
|
|
332
332
|
const ehScope = sessionScopeFilter();
|
|
333
333
|
const tasks = await client.execute({
|
|
@@ -419,7 +419,7 @@ function createExeOSHooks(config) {
|
|
|
419
419
|
try {
|
|
420
420
|
const { writeMemory, flushBatch } = await import("./lib/store.js");
|
|
421
421
|
const { getClient } = await import("./lib/database.js");
|
|
422
|
-
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-
|
|
422
|
+
const { sessionScopeFilter: cpScopeFilter } = await import("./task-scope-MCCHWZT3.js");
|
|
423
423
|
const client = getClient();
|
|
424
424
|
const cpScope = cpScopeFilter();
|
|
425
425
|
const tasks = await client.execute({
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-MLXJ5EZG.js";
|
|
4
4
|
import {
|
|
5
5
|
createTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X4OO7RXI.js";
|
|
7
7
|
import {
|
|
8
8
|
getActiveAgent
|
|
9
9
|
} from "./chunk-7WPIM2L6.js";
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
ensureEmployee,
|
|
12
12
|
logTaskDispatch,
|
|
13
13
|
resolveExeSession
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KFDIV7EE.js";
|
|
15
15
|
import {
|
|
16
16
|
getLicenseSync
|
|
17
17
|
} from "./chunk-34T3TC5E.js";
|
|
@@ -185,7 +185,7 @@ function registerCreateTask(server) {
|
|
|
185
185
|
let projectConflictOpts = {};
|
|
186
186
|
try {
|
|
187
187
|
const { getClient } = await import("./lib/database.js");
|
|
188
|
-
const { sessionScopeFilter } = await import("./task-scope-
|
|
188
|
+
const { sessionScopeFilter } = await import("./task-scope-MCCHWZT3.js");
|
|
189
189
|
const client = getClient();
|
|
190
190
|
const scope = sessionScopeFilter();
|
|
191
191
|
const existing = await client.execute({
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
sessionScopeFilter,
|
|
12
12
|
updateTaskStatus,
|
|
13
13
|
writeNotification
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-KFDIV7EE.js";
|
|
15
15
|
import {
|
|
16
16
|
getTransport
|
|
17
17
|
} from "./chunk-TXWQPL2U.js";
|
|
@@ -136,7 +136,7 @@ async function dispatchTaskToEmployee(input) {
|
|
|
136
136
|
let crossProject = false;
|
|
137
137
|
if (input.projectName) {
|
|
138
138
|
try {
|
|
139
|
-
const { assertSessionScope } = await import("./session-scope-
|
|
139
|
+
const { assertSessionScope } = await import("./session-scope-GCMG466H.js");
|
|
140
140
|
const check = assertSessionScope("dispatch_task", input.projectName);
|
|
141
141
|
if (check.reason === "cross_session_denied") {
|
|
142
142
|
crossProject = true;
|
|
@@ -396,7 +396,7 @@ async function updateTask(input) {
|
|
|
396
396
|
await markTaskNotificationsRead(taskFile);
|
|
397
397
|
if (input.status === "needs_review" && !isCoordinator) {
|
|
398
398
|
try {
|
|
399
|
-
const { writeNotification: writeNotification2 } = await import("./notifications-
|
|
399
|
+
const { writeNotification: writeNotification2 } = await import("./notifications-SGFDN7D4.js");
|
|
400
400
|
await writeNotification2({
|
|
401
401
|
agentId: String(row.assigned_to),
|
|
402
402
|
agentRole: String(row.assigned_to),
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-L4VM6PZ7.js";
|
|
4
4
|
import {
|
|
5
5
|
updateTask
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-X4OO7RXI.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-KFDIV7EE.js";
|
|
18
18
|
import {
|
|
19
19
|
queueIntercom
|
|
20
20
|
} from "./chunk-QI4IXJN7.js";
|
|
@@ -469,7 +469,7 @@ function createIdleNudgeRealDeps(_getClient) {
|
|
|
469
469
|
assignedTo: agentId,
|
|
470
470
|
status: ["open", "in_progress"],
|
|
471
471
|
columns: "id, title, priority",
|
|
472
|
-
sessionScope: sessionScope ??
|
|
472
|
+
sessionScope: sessionScope ?? null,
|
|
473
473
|
projectName: null,
|
|
474
474
|
orderBy: "CASE priority WHEN 'p0' THEN 0 WHEN 'p1' THEN 1 ELSE 2 END",
|
|
475
475
|
limit: 1
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sessionScopeFilter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KFDIV7EE.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-FSFQEHQS.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-SUUPTAK3.js";
|
|
23
23
|
import {
|
|
24
24
|
BotRegistry,
|
|
25
25
|
BotRuntime,
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
retryWithBackoff,
|
|
43
43
|
routeMessage,
|
|
44
44
|
validateGatewayConfig
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-34RVMFJL.js";
|
|
46
46
|
import {
|
|
47
47
|
OllamaProvider
|
|
48
48
|
} from "./chunk-FWFFZGSC.js";
|
|
@@ -48,10 +48,10 @@ import {
|
|
|
48
48
|
shouldKillIdleSession,
|
|
49
49
|
shouldKillSession,
|
|
50
50
|
shouldNudgeEmployee
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-XDAJN7CD.js";
|
|
52
52
|
import "./chunk-L4VM6PZ7.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-X4OO7RXI.js";
|
|
54
|
+
import "./chunk-KFDIV7EE.js";
|
|
55
55
|
import "./chunk-LOQCOHEW.js";
|
|
56
56
|
import "./chunk-QI4IXJN7.js";
|
|
57
57
|
import "./chunk-64WZEXXA.js";
|
package/dist/gateway/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
createSignupBot,
|
|
12
12
|
ensureCRMContact,
|
|
13
13
|
formatAlert
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-ZKHX26H3.js";
|
|
15
15
|
import {
|
|
16
16
|
WhatsAppAdapter
|
|
17
17
|
} from "../chunk-ECSNSHZ7.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
import {
|
|
34
34
|
createCRMWebhookHandler,
|
|
35
35
|
parseTwentyWebhook
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-SUUPTAK3.js";
|
|
37
37
|
import {
|
|
38
38
|
BotRegistry,
|
|
39
39
|
BotRuntime,
|
|
@@ -56,8 +56,8 @@ import {
|
|
|
56
56
|
retryWithBackoff,
|
|
57
57
|
routeMessage,
|
|
58
58
|
validateGatewayConfig
|
|
59
|
-
} from "../chunk-
|
|
60
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-34RVMFJL.js";
|
|
60
|
+
import "../chunk-WP3ZXXPB.js";
|
|
61
61
|
import {
|
|
62
62
|
OllamaProvider
|
|
63
63
|
} from "../chunk-FWFFZGSC.js";
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
pushGatewayEventToCRM,
|
|
81
81
|
pushInboundMessageToCRM
|
|
82
82
|
} from "../chunk-ONKIWA3R.js";
|
|
83
|
-
import "../chunk-
|
|
83
|
+
import "../chunk-5WHMIXVB.js";
|
|
84
84
|
import "../chunk-MP2AFCGL.js";
|
|
85
85
|
import "../chunk-RD77OX3W.js";
|
|
86
86
|
import "../chunk-RVSGXGWG.js";
|
|
@@ -4,8 +4,8 @@ import {
|
|
|
4
4
|
getRecentCommits,
|
|
5
5
|
matchScore,
|
|
6
6
|
sweepTasks
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-Y6OHW3L7.js";
|
|
8
|
+
import "./chunk-KFDIV7EE.js";
|
|
9
9
|
import "./chunk-LOQCOHEW.js";
|
|
10
10
|
import "./chunk-QI4IXJN7.js";
|
|
11
11
|
import "./chunk-64WZEXXA.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-X4OO7RXI.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
} from "../chunk-BLMF7ZQE.js";
|
|
7
|
+
import "../chunk-KFDIV7EE.js";
|
|
8
8
|
import "../chunk-LOQCOHEW.js";
|
|
9
9
|
import "../chunk-QI4IXJN7.js";
|
|
10
10
|
import "../chunk-64WZEXXA.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
updateTask
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-X4OO7RXI.js";
|
|
4
4
|
import {
|
|
5
5
|
fastDbInit
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-BLMF7ZQE.js";
|
|
7
7
|
import {
|
|
8
8
|
listTasks
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-KFDIV7EE.js";
|
|
10
10
|
import "../chunk-LOQCOHEW.js";
|
|
11
11
|
import "../chunk-QI4IXJN7.js";
|
|
12
12
|
import "../chunk-64WZEXXA.js";
|