@sideboard-ai/core 0.1.210 → 0.1.212
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/{agents-G3TFVFBQ.js → agents-A2U3K7VK.js} +4 -4
- package/dist/{agents-IQZUN47D.js → agents-GQANI7M5.js} +4 -4
- package/dist/{chunk-3S2LDD2F.js → chunk-2PE6SZCM.js} +2 -2
- package/dist/{chunk-AOQZZA3M.js → chunk-DINKOGEU.js} +106 -56
- package/dist/{chunk-X5PUFYDJ.js → chunk-GHKFSBES.js} +2 -0
- package/dist/{chunk-NDE5RKZP.js → chunk-IA5IPGZI.js} +3 -3
- package/dist/{chunk-YYELAUKP.js → chunk-IRCAWYTN.js} +3 -3
- package/dist/{chunk-FGTPRMPS.js → chunk-JJ3ONQ4Q.js} +2 -0
- package/dist/{chunk-2R6BZRRB.js → chunk-MS6HGW2H.js} +99 -55
- package/dist/{chunk-ZZNZX2QW.js → chunk-NRKDRQM3.js} +1 -1
- package/dist/{chunk-WX4S775K.js → chunk-VPQXJYIW.js} +1 -1
- package/dist/{chunk-ZC664YBJ.js → chunk-WNVQJZ7P.js} +2 -2
- package/dist/{coordinator-prompt-PONGPWIP.js → coordinator-prompt-EHRDZ2ZU.js} +3 -3
- package/dist/{coordinator-prompt-GCITY3Q5.js → coordinator-prompt-LMTMWCPN.js} +3 -3
- package/dist/{global-workspace-LQZLTGFL.js → global-workspace-NG2TBUI5.js} +3 -3
- package/dist/{global-workspace-LIZHU4GM.js → global-workspace-RHABXQWB.js} +3 -3
- package/dist/index.cjs +101 -42
- package/dist/index.d.cts +41 -10
- package/dist/index.d.ts +41 -10
- package/dist/index.js +18 -5
- package/dist/mcp/run-stdio.cjs +88 -42
- package/dist/mcp/run-stdio.js +5 -5
- package/dist/{orchestrator-ZBUXJCII.js → orchestrator-333M3JAU.js} +5 -5
- package/dist/{orchestrator-G5HELCVT.js → orchestrator-DW4HDWLA.js} +5 -5
- package/dist/{thread-store-KMZRQEPY.js → thread-store-4M6WETL6.js} +1 -1
- package/dist/{thread-store-FCWU7Y3X.js → thread-store-MSMBQ3V4.js} +1 -1
- package/dist/{workspaces-2XW2DMRG.js → workspaces-FRR6Y4BY.js} +3 -3
- package/dist/{workspaces-T6PMQZYQ.js → workspaces-VIUUE4RT.js} +3 -3
- package/dist/{worktree-2OEMMFRT.js → worktree-3MEG62KB.js} +2 -2
- package/dist/{worktree-5ZGWKKZ6.js → worktree-GKUOHXXB.js} +2 -2
- package/package.json +1 -1
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
summarizeTurnStderr,
|
|
43
43
|
toolDescription,
|
|
44
44
|
turnFailChatText
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-IA5IPGZI.js";
|
|
46
46
|
import {
|
|
47
47
|
SLACK_REPLY_FORMATTING,
|
|
48
48
|
addWorkspace,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
stageAbsolutePathsAsAttachments,
|
|
66
66
|
stageBuffersAsAttachments,
|
|
67
67
|
syncWorkspacesFromThreads
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-WNVQJZ7P.js";
|
|
69
69
|
import {
|
|
70
70
|
addPrStackLayer,
|
|
71
71
|
allocateTeamName,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
worktreeDisplayLabelForGroup,
|
|
116
116
|
worktreeNameFromPath,
|
|
117
117
|
worktreeSlugForTicket
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-VPQXJYIW.js";
|
|
119
119
|
import {
|
|
120
120
|
ATTACHMENTS_DIR,
|
|
121
121
|
DETACHED_JOBS_DIR,
|
|
@@ -133,7 +133,7 @@ import {
|
|
|
133
133
|
updateThread,
|
|
134
134
|
withThreadLock,
|
|
135
135
|
writeThread
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-GHKFSBES.js";
|
|
137
137
|
import {
|
|
138
138
|
ensureWorktreeSideboardIgnored
|
|
139
139
|
} from "./chunk-SYFVUF2C.js";
|
|
@@ -417,7 +417,7 @@ async function continueSourceThread(threadId, prompt) {
|
|
|
417
417
|
await continueOnReply(threadId, prompt);
|
|
418
418
|
return;
|
|
419
419
|
}
|
|
420
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
420
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-DW4HDWLA.js");
|
|
421
421
|
await getOrchestrator2().send(threadId, prompt);
|
|
422
422
|
} catch {
|
|
423
423
|
}
|
|
@@ -810,9 +810,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
810
810
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
811
811
|
);
|
|
812
812
|
}
|
|
813
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
813
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-RHABXQWB.js");
|
|
814
814
|
if (isGlobalThread2(thread)) {
|
|
815
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
815
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-EHRDZ2ZU.js");
|
|
816
816
|
ensureGlobalCoordinatorCwd2(
|
|
817
817
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
818
818
|
);
|
|
@@ -2529,6 +2529,7 @@ function stripArchivedTranscript(thread) {
|
|
|
2529
2529
|
...thread,
|
|
2530
2530
|
attachments: [],
|
|
2531
2531
|
pendingTurnAttachments: [],
|
|
2532
|
+
queueAttachments: [],
|
|
2532
2533
|
messages: [historyRetentionStubMessage(thread)]
|
|
2533
2534
|
},
|
|
2534
2535
|
{ touch: false }
|
|
@@ -4313,7 +4314,7 @@ async function adoptThread(input) {
|
|
|
4313
4314
|
messages: input.messages ?? []
|
|
4314
4315
|
});
|
|
4315
4316
|
writeThread(thread);
|
|
4316
|
-
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-
|
|
4317
|
+
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-VIUUE4RT.js");
|
|
4317
4318
|
await ensureWorkspace2(repoPath);
|
|
4318
4319
|
const { ensureWorktreeSideboardIgnored: ensureWorktreeSideboardIgnored2 } = await import("./worktree-exclude-N5X5I422.js");
|
|
4319
4320
|
await ensureWorktreeSideboardIgnored2(input.worktreePath);
|
|
@@ -6060,24 +6061,54 @@ function expandComposerPrompt(worktreePath, prompt, opts) {
|
|
|
6060
6061
|
|
|
6061
6062
|
// src/composer/consume-attachments.ts
|
|
6062
6063
|
function consumeComposerAttachments(thread) {
|
|
6063
|
-
if (thread.attachments.length === 0) {
|
|
6064
|
-
return {
|
|
6065
|
-
attachments: [],
|
|
6066
|
-
pendingTurnAttachments: thread.pendingTurnAttachments ?? []
|
|
6067
|
-
};
|
|
6068
|
-
}
|
|
6069
6064
|
return {
|
|
6070
6065
|
attachments: [],
|
|
6071
|
-
|
|
6072
|
-
...thread.pendingTurnAttachments ?? [],
|
|
6073
|
-
...thread.attachments
|
|
6074
|
-
]
|
|
6066
|
+
consumed: [...thread.attachments]
|
|
6075
6067
|
};
|
|
6076
6068
|
}
|
|
6077
6069
|
function takePendingTurnAttachments(thread) {
|
|
6078
|
-
|
|
6079
|
-
|
|
6080
|
-
|
|
6070
|
+
return [...thread.pendingTurnAttachments ?? []];
|
|
6071
|
+
}
|
|
6072
|
+
function alignQueueAttachments(queueLength, existing) {
|
|
6073
|
+
const next = (existing ?? []).slice(0, queueLength).map((slot) => [...slot ?? []]);
|
|
6074
|
+
while (next.length < queueLength) next.push([]);
|
|
6075
|
+
return next;
|
|
6076
|
+
}
|
|
6077
|
+
function appendQueuedItem(queue, queueAttachments, prompt, attachments = []) {
|
|
6078
|
+
return {
|
|
6079
|
+
queue: [...queue, prompt],
|
|
6080
|
+
queueAttachments: [...alignQueueAttachments(queue.length, queueAttachments), [...attachments]]
|
|
6081
|
+
};
|
|
6082
|
+
}
|
|
6083
|
+
function prependQueuedItem(queue, queueAttachments, prompt, attachments = []) {
|
|
6084
|
+
return {
|
|
6085
|
+
queue: [prompt, ...queue],
|
|
6086
|
+
queueAttachments: [[...attachments], ...alignQueueAttachments(queue.length, queueAttachments)]
|
|
6087
|
+
};
|
|
6088
|
+
}
|
|
6089
|
+
function removeQueuedItem(queue, queueAttachments, index) {
|
|
6090
|
+
const aligned = alignQueueAttachments(queue.length, queueAttachments);
|
|
6091
|
+
return {
|
|
6092
|
+
queue: queue.filter((_, i) => i !== index),
|
|
6093
|
+
queueAttachments: aligned.filter((_, i) => i !== index)
|
|
6094
|
+
};
|
|
6095
|
+
}
|
|
6096
|
+
function moveQueuedItemToFront(queue, queueAttachments, index) {
|
|
6097
|
+
const aligned = alignQueueAttachments(queue.length, queueAttachments);
|
|
6098
|
+
return {
|
|
6099
|
+
queue: [queue[index], ...queue.filter((_, i) => i !== index)],
|
|
6100
|
+
queueAttachments: [aligned[index] ?? [], ...aligned.filter((_, i) => i !== index)]
|
|
6101
|
+
};
|
|
6102
|
+
}
|
|
6103
|
+
function shiftQueuedItem(queue, queueAttachments) {
|
|
6104
|
+
if (queue.length === 0) return null;
|
|
6105
|
+
const aligned = alignQueueAttachments(queue.length, queueAttachments);
|
|
6106
|
+
return {
|
|
6107
|
+
prompt: queue[0],
|
|
6108
|
+
attachments: aligned[0] ?? [],
|
|
6109
|
+
queue: queue.slice(1),
|
|
6110
|
+
queueAttachments: aligned.slice(1)
|
|
6111
|
+
};
|
|
6081
6112
|
}
|
|
6082
6113
|
|
|
6083
6114
|
// src/agents/instructions.ts
|
|
@@ -6713,7 +6744,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
6713
6744
|
${prompt}`;
|
|
6714
6745
|
}
|
|
6715
6746
|
async function defaultDeps() {
|
|
6716
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
6747
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-DW4HDWLA.js");
|
|
6717
6748
|
const orch = getOrchestrator2();
|
|
6718
6749
|
return {
|
|
6719
6750
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -7193,9 +7224,9 @@ var Orchestrator = class {
|
|
|
7193
7224
|
if (!thread || thread.status === "archived") return;
|
|
7194
7225
|
this.crashContinued.add(threadId);
|
|
7195
7226
|
const prompt = formatAgentErrorContinuePrompt(opts.detail);
|
|
7196
|
-
const
|
|
7197
|
-
updateThread(threadId,
|
|
7198
|
-
this.emit({ type: "queue_changed", threadId, queue });
|
|
7227
|
+
const next = prependQueuedItem(thread.queue, thread.queueAttachments, prompt);
|
|
7228
|
+
updateThread(threadId, next);
|
|
7229
|
+
this.emit({ type: "queue_changed", threadId, queue: next.queue });
|
|
7199
7230
|
this.haltDrain.delete(threadId);
|
|
7200
7231
|
}
|
|
7201
7232
|
/**
|
|
@@ -7224,9 +7255,9 @@ var Orchestrator = class {
|
|
|
7224
7255
|
}
|
|
7225
7256
|
if (decision.action === "nudge") this.jobContinueNudged.add(threadId);
|
|
7226
7257
|
else this.jobContinueCount.set(threadId, (this.jobContinueCount.get(threadId) ?? 0) + 1);
|
|
7227
|
-
const
|
|
7228
|
-
updateThread(threadId,
|
|
7229
|
-
this.emit({ type: "queue_changed", threadId, queue });
|
|
7258
|
+
const next = prependQueuedItem(thread.queue, thread.queueAttachments, decision.prompt);
|
|
7259
|
+
updateThread(threadId, next);
|
|
7260
|
+
this.emit({ type: "queue_changed", threadId, queue: next.queue });
|
|
7230
7261
|
this.haltDrain.delete(threadId);
|
|
7231
7262
|
}
|
|
7232
7263
|
getThreads(includeArchived = false) {
|
|
@@ -7334,18 +7365,22 @@ var Orchestrator = class {
|
|
|
7334
7365
|
throw new Error(`Thread is archived: ${thread.id}`);
|
|
7335
7366
|
}
|
|
7336
7367
|
const followUp = resolveSendFollowUp(current, opts?.followUp);
|
|
7337
|
-
const
|
|
7368
|
+
const consumed = consumeComposerAttachments(current);
|
|
7369
|
+
const queued = appendQueuedItem(
|
|
7370
|
+
current.queue,
|
|
7371
|
+
current.queueAttachments,
|
|
7372
|
+
prompt,
|
|
7373
|
+
consumed.consumed
|
|
7374
|
+
);
|
|
7338
7375
|
this.crashContinued.delete(thread.id);
|
|
7339
7376
|
this.jobContinueCount.delete(thread.id);
|
|
7340
7377
|
this.jobContinueNudged.delete(thread.id);
|
|
7341
7378
|
this.haltDrain.delete(thread.id);
|
|
7342
7379
|
const inFlight = this.activeTurns.has(thread.id) || this.startingTurns.has(thread.id) || current.status === "running";
|
|
7343
7380
|
shouldSteer = followUp === "steer" && (inFlight || current.queue.length > 0);
|
|
7344
|
-
const patch =
|
|
7345
|
-
if (
|
|
7346
|
-
const consumed = consumeComposerAttachments(current);
|
|
7381
|
+
const patch = queued;
|
|
7382
|
+
if (consumed.consumed.length > 0) {
|
|
7347
7383
|
patch.attachments = consumed.attachments;
|
|
7348
|
-
patch.pendingTurnAttachments = consumed.pendingTurnAttachments;
|
|
7349
7384
|
}
|
|
7350
7385
|
if (!inFlight) patch.status = "queued";
|
|
7351
7386
|
const pid = current.agentPid;
|
|
@@ -7353,7 +7388,7 @@ var Orchestrator = class {
|
|
|
7353
7388
|
patch.agentPid = null;
|
|
7354
7389
|
}
|
|
7355
7390
|
updateThread(thread.id, patch);
|
|
7356
|
-
this.emit({ type: "queue_changed", threadId: thread.id, queue });
|
|
7391
|
+
this.emit({ type: "queue_changed", threadId: thread.id, queue: queued.queue });
|
|
7357
7392
|
if (!inFlight) {
|
|
7358
7393
|
this.emit({ type: "status_changed", threadId: thread.id, status: "queued" });
|
|
7359
7394
|
}
|
|
@@ -7395,14 +7430,19 @@ var Orchestrator = class {
|
|
|
7395
7430
|
return withThreadLock(thread.id, async () => {
|
|
7396
7431
|
const current = this.requireThread(thread.id);
|
|
7397
7432
|
if (index < 0 || index >= current.queue.length) return current;
|
|
7398
|
-
const
|
|
7399
|
-
const stillQueued = queue.length > 0;
|
|
7433
|
+
const removed = removeQueuedItem(current.queue, current.queueAttachments, index);
|
|
7434
|
+
const stillQueued = removed.queue.length > 0;
|
|
7400
7435
|
const inFlight = this.activeTurns.has(thread.id) || this.startingTurns.has(thread.id);
|
|
7401
7436
|
updateThread(thread.id, {
|
|
7402
|
-
|
|
7437
|
+
...removed,
|
|
7438
|
+
// Follow-up files live on queueAttachments. pendingTurnAttachments is
|
|
7439
|
+
// the in-flight / just-dequeued snapshot — do not wipe it when a
|
|
7440
|
+
// later follow-up is removed. Only drop a leftover bag when nothing
|
|
7441
|
+
// is running and the queue is empty (legacy sends that never drained).
|
|
7442
|
+
...stillQueued || inFlight ? {} : { pendingTurnAttachments: [] },
|
|
7403
7443
|
status: !stillQueued && !inFlight && current.status === "queued" ? "idle" : current.status
|
|
7404
7444
|
});
|
|
7405
|
-
this.emit({ type: "queue_changed", threadId: thread.id, queue });
|
|
7445
|
+
this.emit({ type: "queue_changed", threadId: thread.id, queue: removed.queue });
|
|
7406
7446
|
const next = this.requireThread(thread.id);
|
|
7407
7447
|
this.emit({ type: "status_changed", threadId: thread.id, status: next.status });
|
|
7408
7448
|
return next;
|
|
@@ -7418,12 +7458,10 @@ var Orchestrator = class {
|
|
|
7418
7458
|
const promoted = await withThreadLock(thread.id, async () => {
|
|
7419
7459
|
const current2 = this.requireThread(thread.id);
|
|
7420
7460
|
if (index < 0 || index >= current2.queue.length) return false;
|
|
7421
|
-
const
|
|
7422
|
-
const rest = current2.queue.filter((_, i) => i !== index);
|
|
7423
|
-
const queue = [item, ...rest];
|
|
7461
|
+
const next = moveQueuedItemToFront(current2.queue, current2.queueAttachments, index);
|
|
7424
7462
|
this.haltDrain.delete(thread.id);
|
|
7425
|
-
updateThread(thread.id,
|
|
7426
|
-
this.emit({ type: "queue_changed", threadId: thread.id, queue });
|
|
7463
|
+
updateThread(thread.id, next);
|
|
7464
|
+
this.emit({ type: "queue_changed", threadId: thread.id, queue: next.queue });
|
|
7427
7465
|
return true;
|
|
7428
7466
|
});
|
|
7429
7467
|
if (!promoted) return this.requireThread(thread.id);
|
|
@@ -7478,11 +7516,17 @@ var Orchestrator = class {
|
|
|
7478
7516
|
}
|
|
7479
7517
|
continue;
|
|
7480
7518
|
}
|
|
7481
|
-
const
|
|
7482
|
-
|
|
7483
|
-
updateThread(threadId, {
|
|
7484
|
-
|
|
7485
|
-
|
|
7519
|
+
const shifted = shiftQueuedItem(thread.queue, thread.queueAttachments);
|
|
7520
|
+
if (!shifted) break;
|
|
7521
|
+
updateThread(threadId, {
|
|
7522
|
+
queue: shifted.queue,
|
|
7523
|
+
queueAttachments: shifted.queueAttachments,
|
|
7524
|
+
// Always write the snapshot, including [] for text-only, so
|
|
7525
|
+
// takePending cannot fall back to leftover pending or composer files.
|
|
7526
|
+
pendingTurnAttachments: shifted.attachments
|
|
7527
|
+
});
|
|
7528
|
+
this.emit({ type: "queue_changed", threadId, queue: shifted.queue });
|
|
7529
|
+
await this.runTurn(threadId, shifted.prompt);
|
|
7486
7530
|
}
|
|
7487
7531
|
} finally {
|
|
7488
7532
|
this.draining.delete(threadId);
|
|
@@ -7542,7 +7586,7 @@ var Orchestrator = class {
|
|
|
7542
7586
|
thread.worktreePath,
|
|
7543
7587
|
gitPrompt,
|
|
7544
7588
|
{
|
|
7545
|
-
attachments: autoContinue ? [] : sentAttachments ??
|
|
7589
|
+
attachments: autoContinue ? [] : sentAttachments ?? []
|
|
7546
7590
|
}
|
|
7547
7591
|
);
|
|
7548
7592
|
const slackInbound = /^(Slack DM|Slack @mention)(?:\n|$)/.test(
|
|
@@ -7596,7 +7640,7 @@ var Orchestrator = class {
|
|
|
7596
7640
|
expandedPrompt
|
|
7597
7641
|
].filter(Boolean).join("\n\n");
|
|
7598
7642
|
if (!autoContinue && sentAttachments) {
|
|
7599
|
-
updateThread(threadId, {
|
|
7643
|
+
updateThread(threadId, { pendingTurnAttachments: [] });
|
|
7600
7644
|
}
|
|
7601
7645
|
const adapter = getAdapter(thread.agent);
|
|
7602
7646
|
const resolved = await adapter.resolveSessionId(thread.worktreePath, thread.sessionId);
|
|
@@ -8012,7 +8056,7 @@ var Orchestrator = class {
|
|
|
8012
8056
|
}
|
|
8013
8057
|
if (clearQueue && thread.queue.length > 0) {
|
|
8014
8058
|
this.haltDrain.delete(thread.id);
|
|
8015
|
-
updateThread(thread.id, { queue: [] });
|
|
8059
|
+
updateThread(thread.id, { queue: [], queueAttachments: [] });
|
|
8016
8060
|
this.emit({ type: "queue_changed", threadId: thread.id, queue: [] });
|
|
8017
8061
|
} else if (!clearQueue && !continueQueue) {
|
|
8018
8062
|
this.haltDrain.add(thread.id);
|
|
@@ -8922,7 +8966,7 @@ var Orchestrator = class {
|
|
|
8922
8966
|
this.enforceHistoryRetention();
|
|
8923
8967
|
if (thread.repoPath && !isGlobalRepoPath(thread.repoPath)) {
|
|
8924
8968
|
try {
|
|
8925
|
-
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-
|
|
8969
|
+
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-VIUUE4RT.js");
|
|
8926
8970
|
await ensureWorkspace2(thread.repoPath);
|
|
8927
8971
|
} catch {
|
|
8928
8972
|
}
|
|
@@ -8976,7 +9020,7 @@ var Orchestrator = class {
|
|
|
8976
9020
|
`Cowboy checkout missing: ${thread.worktreePath}. Re-add the project folder, then restore.`
|
|
8977
9021
|
);
|
|
8978
9022
|
}
|
|
8979
|
-
const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-
|
|
9023
|
+
const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-3MEG62KB.js");
|
|
8980
9024
|
const slug = thread.worktreePath.split("/").pop();
|
|
8981
9025
|
const dest = thread.worktreePath;
|
|
8982
9026
|
await withRepoGitLock(thread.repoPath, async () => {
|
|
@@ -9086,7 +9130,7 @@ async function startOrchestration(opts) {
|
|
|
9086
9130
|
sourceRef: "default",
|
|
9087
9131
|
...createOpts
|
|
9088
9132
|
}).catch(async () => {
|
|
9089
|
-
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-
|
|
9133
|
+
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-3MEG62KB.js");
|
|
9090
9134
|
const repo = await resolveRepoRoot2(repoPath);
|
|
9091
9135
|
const def = await resolveDefaultBranch2(repo);
|
|
9092
9136
|
return orch.createThread({
|
|
@@ -9096,7 +9140,7 @@ async function startOrchestration(opts) {
|
|
|
9096
9140
|
repoPath: repo
|
|
9097
9141
|
});
|
|
9098
9142
|
});
|
|
9099
|
-
const { updateThread: upd } = await import("./thread-store-
|
|
9143
|
+
const { updateThread: upd } = await import("./thread-store-MSMBQ3V4.js");
|
|
9100
9144
|
const updated = upd(thread.id, {
|
|
9101
9145
|
sourceType: "orchestration",
|
|
9102
9146
|
sourceRef: goal
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
resolveRepoRoot,
|
|
8
8
|
takenSlugsFromThread,
|
|
9
9
|
teamSlugFromName
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-VPQXJYIW.js";
|
|
11
11
|
import {
|
|
12
12
|
ATTACHMENTS_DIR,
|
|
13
13
|
attachmentsGitignoreBody
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
listThreads,
|
|
18
18
|
updateThread,
|
|
19
19
|
writeThread
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-GHKFSBES.js";
|
|
21
21
|
import {
|
|
22
22
|
assertOrchestratorCapableAgent,
|
|
23
23
|
formatAccountProfilePlaybookLine,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
enrichWorkspacesWithGithub,
|
|
10
10
|
ensureGlobalCoordinatorCwd,
|
|
11
11
|
formatWorkspaceInventory
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-WNVQJZ7P.js";
|
|
13
|
+
import "./chunk-VPQXJYIW.js";
|
|
14
14
|
import "./chunk-D6JWYJ4P.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-GHKFSBES.js";
|
|
16
16
|
import "./chunk-X5B3OS5I.js";
|
|
17
17
|
import "./chunk-SYFVUF2C.js";
|
|
18
18
|
import "./chunk-FNQNJOHY.js";
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
enrichWorkspacesWithGithub,
|
|
8
8
|
ensureGlobalCoordinatorCwd,
|
|
9
9
|
formatWorkspaceInventory
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-2PE6SZCM.js";
|
|
11
|
+
import "./chunk-NRKDRQM3.js";
|
|
12
12
|
import "./chunk-6K64FJDD.js";
|
|
13
13
|
import "./chunk-QQKDGPUI.js";
|
|
14
14
|
import "./chunk-L5CIEBLR.js";
|
|
15
15
|
import "./chunk-4TR3HZFT.js";
|
|
16
16
|
import "./chunk-WDRMZKVB.js";
|
|
17
17
|
import "./chunk-JT7R45JB.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-JJ3ONQ4Q.js";
|
|
19
19
|
import "./chunk-7J72QJOM.js";
|
|
20
20
|
import "./chunk-77WWLBCI.js";
|
|
21
21
|
import "./chunk-WFUDY6PC.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
orchestratorSessionPoisonedByBuiltins,
|
|
16
16
|
slackCoordinatorSourceRef,
|
|
17
17
|
takenTeamSlugsForOrchestration
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-2PE6SZCM.js";
|
|
19
|
+
import "./chunk-NRKDRQM3.js";
|
|
20
20
|
import "./chunk-6K64FJDD.js";
|
|
21
21
|
import "./chunk-QQKDGPUI.js";
|
|
22
22
|
import "./chunk-L5CIEBLR.js";
|
|
23
23
|
import "./chunk-4TR3HZFT.js";
|
|
24
24
|
import "./chunk-WDRMZKVB.js";
|
|
25
25
|
import "./chunk-JT7R45JB.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-JJ3ONQ4Q.js";
|
|
27
27
|
import "./chunk-7J72QJOM.js";
|
|
28
28
|
import "./chunk-77WWLBCI.js";
|
|
29
29
|
import {
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
orchestratorSessionPoisonedByBuiltins,
|
|
18
18
|
slackCoordinatorSourceRef,
|
|
19
19
|
takenTeamSlugsForOrchestration
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-WNVQJZ7P.js";
|
|
21
|
+
import "./chunk-VPQXJYIW.js";
|
|
22
22
|
import "./chunk-D6JWYJ4P.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-GHKFSBES.js";
|
|
24
24
|
import "./chunk-X5B3OS5I.js";
|
|
25
25
|
import "./chunk-SYFVUF2C.js";
|
|
26
26
|
import "./chunk-FNQNJOHY.js";
|