@sideboard-ai/core 0.1.158 → 0.1.160
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/{abletime-GWZE6OYM.js → abletime-AGF54TNA.js} +2 -2
- package/dist/{abletime-BEIDJG7W.js → abletime-BMS53RIZ.js} +2 -2
- package/dist/{agents-RGE7PSUY.js → agents-6UOXBORU.js} +4 -4
- package/dist/{agents-E3ZPWZRS.js → agents-RD774UEV.js} +4 -4
- package/dist/{app-settings-VRQI3FIE.js → app-settings-BRLZQA7N.js} +13 -17
- package/dist/{app-settings-H3INSR67.js → app-settings-JJQDWPEK.js} +13 -17
- package/dist/{chunk-EPQIOAAY.js → chunk-7OWRFJK6.js} +7 -5
- package/dist/{chunk-KYKNFJK5.js → chunk-BQ4PEXIF.js} +39 -20
- package/dist/{chunk-3BWVOUQG.js → chunk-CVZ4KXVP.js} +127 -113
- package/dist/{chunk-3SUZMPGL.js → chunk-HZROPNYL.js} +12 -13
- package/dist/{chunk-DVJBO3M7.js → chunk-ILXKJ4ZD.js} +1 -1
- package/dist/{chunk-A7QXLYBN.js → chunk-IO5WGZRR.js} +3 -13
- package/dist/{chunk-N27GVFZY.js → chunk-KJFFQAMA.js} +1 -1
- package/dist/{chunk-D7EGJ3EI.js → chunk-LTXS26K5.js} +127 -113
- package/dist/{chunk-CVR4RJ6G.js → chunk-QANLIT2E.js} +12 -13
- package/dist/{chunk-FBFIOVDH.js → chunk-QYKADGPP.js} +38 -19
- package/dist/{chunk-BLRHO7XQ.js → chunk-RQNXLIXO.js} +10 -6
- package/dist/{chunk-LQMFCS54.js → chunk-UUEBNUEG.js} +3 -13
- package/dist/{coordinator-prompt-26IJU2AV.js → coordinator-prompt-X3LXE5Q4.js} +3 -3
- package/dist/{coordinator-prompt-GZESIQNH.js → coordinator-prompt-YYUXC7EM.js} +3 -3
- package/dist/{global-workspace-REI55FZ6.js → global-workspace-E6S5XQZF.js} +3 -3
- package/dist/{global-workspace-5BIW26YR.js → global-workspace-SPR2Y4YQ.js} +3 -3
- package/dist/index.cjs +599 -475
- package/dist/index.d.cts +62 -57
- package/dist/index.d.ts +62 -57
- package/dist/index.js +325 -230
- package/dist/mcp/run-stdio.cjs +528 -402
- package/dist/mcp/run-stdio.js +265 -163
- package/dist/{orchestrator-ZVW2AC6B.js → orchestrator-BSVSOTBK.js} +5 -5
- package/dist/{orchestrator-J727WIJY.js → orchestrator-KVKPIUVU.js} +5 -5
- package/dist/{workspaces-NYSM2EPX.js → workspaces-MZELP4BI.js} +3 -3
- package/dist/{workspaces-OCEPZXFD.js → workspaces-OK2SNNQF.js} +3 -3
- package/dist/{worktree-VTMBZKY6.js → worktree-BX53JZHO.js} +2 -2
- package/dist/{worktree-T4SWFSTT.js → worktree-IY7YCEGH.js} +2 -2
- package/package.json +1 -1
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
summarizeTurnStderr,
|
|
34
34
|
toolDescription,
|
|
35
35
|
turnFailChatText
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-7OWRFJK6.js";
|
|
37
37
|
import {
|
|
38
38
|
extractPresentedPlan,
|
|
39
39
|
readPlanFile,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
stageAbsolutePathsAsAttachments,
|
|
68
68
|
stageBuffersAsAttachments,
|
|
69
69
|
syncWorkspacesFromThreads
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-HZROPNYL.js";
|
|
71
71
|
import {
|
|
72
72
|
addPrStackLayer,
|
|
73
73
|
allocateTeamName,
|
|
@@ -115,7 +115,7 @@ import {
|
|
|
115
115
|
withRepoGitLock,
|
|
116
116
|
worktreeDisplayLabelForGroup,
|
|
117
117
|
worktreeNameFromPath
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-IO5WGZRR.js";
|
|
119
119
|
import {
|
|
120
120
|
ATTACHMENTS_DIR,
|
|
121
121
|
DETACHED_JOBS_DIR,
|
|
@@ -147,6 +147,8 @@ import {
|
|
|
147
147
|
} from "./chunk-FNQNJOHY.js";
|
|
148
148
|
import {
|
|
149
149
|
childEnvWithAppSettings,
|
|
150
|
+
formatViewerContextDirective,
|
|
151
|
+
formatViewerContextReminder,
|
|
150
152
|
getIssueSource,
|
|
151
153
|
isAbleTimeConnected,
|
|
152
154
|
isLinearConnected,
|
|
@@ -159,10 +161,11 @@ import {
|
|
|
159
161
|
resolveNewThreadOptions,
|
|
160
162
|
resolveThreadDefaults,
|
|
161
163
|
resolveVaultKey,
|
|
164
|
+
resolveViewerProfileForRepo,
|
|
162
165
|
stripNestedElectronEnv,
|
|
163
166
|
updateAdvancedSettings,
|
|
164
167
|
writeSecureJson
|
|
165
|
-
} from "./chunk-
|
|
168
|
+
} from "./chunk-LTXS26K5.js";
|
|
166
169
|
import {
|
|
167
170
|
writePrivateFile
|
|
168
171
|
} from "./chunk-NSTQ6QKD.js";
|
|
@@ -396,7 +399,7 @@ async function continueSourceThread(threadId, prompt) {
|
|
|
396
399
|
await continueOnReply(threadId, prompt);
|
|
397
400
|
return;
|
|
398
401
|
}
|
|
399
|
-
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-
|
|
402
|
+
const { getOrchestrator: getOrchestrator2 } = await import("./orchestrator-KVKPIUVU.js");
|
|
400
403
|
await getOrchestrator2().send(threadId, prompt);
|
|
401
404
|
} catch {
|
|
402
405
|
}
|
|
@@ -737,9 +740,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
737
740
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
738
741
|
);
|
|
739
742
|
}
|
|
740
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
743
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-E6S5XQZF.js");
|
|
741
744
|
if (isGlobalThread2(thread)) {
|
|
742
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
745
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-YYUXC7EM.js");
|
|
743
746
|
ensureGlobalCoordinatorCwd2(
|
|
744
747
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
745
748
|
);
|
|
@@ -3243,7 +3246,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3243
3246
|
});
|
|
3244
3247
|
await requireAgent(resolved.agent);
|
|
3245
3248
|
if (input.cowboy) {
|
|
3246
|
-
const { cowboyModeEnabled } = await import("./app-settings-
|
|
3249
|
+
const { cowboyModeEnabled } = await import("./app-settings-BRLZQA7N.js");
|
|
3247
3250
|
if (!cowboyModeEnabled()) {
|
|
3248
3251
|
throw new Error(
|
|
3249
3252
|
"Cowboy mode is off. Enable it in Settings \u2192 Advanced."
|
|
@@ -3301,7 +3304,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
3301
3304
|
let sourceIsFork = false;
|
|
3302
3305
|
if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
|
|
3303
3306
|
if (isAbleTimeConnected() && getIssueSource() === "abletime") {
|
|
3304
|
-
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-
|
|
3307
|
+
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-BMS53RIZ.js");
|
|
3305
3308
|
const task = await ensureAbleTimeTask({
|
|
3306
3309
|
title: title?.trim() || "Untitled work",
|
|
3307
3310
|
description: input.prompt?.trim() || void 0
|
|
@@ -3797,7 +3800,7 @@ async function adoptThread(input) {
|
|
|
3797
3800
|
messages: input.messages ?? []
|
|
3798
3801
|
});
|
|
3799
3802
|
writeThread(thread);
|
|
3800
|
-
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-
|
|
3803
|
+
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-OK2SNNQF.js");
|
|
3801
3804
|
await ensureWorkspace2(repoPath);
|
|
3802
3805
|
const { ensureWorktreeSideboardIgnored: ensureWorktreeSideboardIgnored2 } = await import("./worktree-exclude-N5X5I422.js");
|
|
3803
3806
|
await ensureWorktreeSideboardIgnored2(input.worktreePath);
|
|
@@ -6080,7 +6083,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
6080
6083
|
${prompt}`;
|
|
6081
6084
|
}
|
|
6082
6085
|
async function defaultDeps() {
|
|
6083
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
6086
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-KVKPIUVU.js");
|
|
6084
6087
|
const orch = getOrchestrator2();
|
|
6085
6088
|
return {
|
|
6086
6089
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -6342,7 +6345,7 @@ var Orchestrator = class {
|
|
|
6342
6345
|
orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
|
|
6343
6346
|
});
|
|
6344
6347
|
}
|
|
6345
|
-
const { autoCleanupOrphansEnabled } = await import("./app-settings-
|
|
6348
|
+
const { autoCleanupOrphansEnabled } = await import("./app-settings-BRLZQA7N.js");
|
|
6346
6349
|
if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
|
|
6347
6350
|
await cleanupOrphanWorktrees({ repoPaths });
|
|
6348
6351
|
}
|
|
@@ -6613,7 +6616,7 @@ var Orchestrator = class {
|
|
|
6613
6616
|
}
|
|
6614
6617
|
await setup;
|
|
6615
6618
|
if (skipSetup) return;
|
|
6616
|
-
const { autoRunAfterSetupEnabled } = await import("./app-settings-
|
|
6619
|
+
const { autoRunAfterSetupEnabled } = await import("./app-settings-BRLZQA7N.js");
|
|
6617
6620
|
if (autoRunAfterSetupEnabled()) {
|
|
6618
6621
|
try {
|
|
6619
6622
|
await this.startDev(threadId);
|
|
@@ -6892,6 +6895,7 @@ var Orchestrator = class {
|
|
|
6892
6895
|
ticketId: issueTicket?.id,
|
|
6893
6896
|
ticketProvider: issueTicket?.provider
|
|
6894
6897
|
}) : null;
|
|
6898
|
+
const viewerContextReminder = thread.agent !== "brightsy" && !isOrchestratorThread(thread) ? formatViewerContextReminder() : null;
|
|
6895
6899
|
const slackReplyContext = formatSlackRepliesForTurn(
|
|
6896
6900
|
pendingSlackExternalReplies(thread.messages)
|
|
6897
6901
|
);
|
|
@@ -6901,6 +6905,7 @@ var Orchestrator = class {
|
|
|
6901
6905
|
worktreeReminder,
|
|
6902
6906
|
optionalServicesReminder,
|
|
6903
6907
|
issueToolsReminder,
|
|
6908
|
+
viewerContextReminder,
|
|
6904
6909
|
artifactReminder,
|
|
6905
6910
|
longRunningReminder,
|
|
6906
6911
|
slackReplyContext,
|
|
@@ -6922,7 +6927,7 @@ var Orchestrator = class {
|
|
|
6922
6927
|
}
|
|
6923
6928
|
const isBrightsy = fresh.agent === "brightsy";
|
|
6924
6929
|
const isOrchestration = isOrchestratorThread(fresh);
|
|
6925
|
-
const { autoRenameBranchEnabled, getGithubGitAuthMode } = await import("./app-settings-
|
|
6930
|
+
const { autoRenameBranchEnabled, getGithubGitAuthMode } = await import("./app-settings-BRLZQA7N.js");
|
|
6926
6931
|
const gitAuthMode = getGithubGitAuthMode();
|
|
6927
6932
|
const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
|
|
6928
6933
|
githubSlug: await resolveGithubRepoSlug(fresh.worktreePath).catch(
|
|
@@ -6941,6 +6946,18 @@ var Orchestrator = class {
|
|
|
6941
6946
|
ticketId: freshIssueTicket?.id,
|
|
6942
6947
|
ticketProvider: freshIssueTicket?.provider
|
|
6943
6948
|
});
|
|
6949
|
+
let viewerContextDirective = null;
|
|
6950
|
+
if (!isBrightsy && !isOrchestration) {
|
|
6951
|
+
try {
|
|
6952
|
+
viewerContextDirective = formatViewerContextDirective(
|
|
6953
|
+
resolveViewerProfileForRepo(fresh.repoPath || fresh.worktreePath)
|
|
6954
|
+
);
|
|
6955
|
+
} catch {
|
|
6956
|
+
viewerContextDirective = formatViewerContextDirective(
|
|
6957
|
+
resolveViewerProfileForRepo()
|
|
6958
|
+
);
|
|
6959
|
+
}
|
|
6960
|
+
}
|
|
6944
6961
|
const settings = loadWorkspaceSettings(fresh.worktreePath, fresh.repoPath);
|
|
6945
6962
|
const renameBranchDirective = !isBrightsy && !isOrchestration && autoRenameBranchEnabled() ? formatRenameBranchDirective(fresh, {
|
|
6946
6963
|
customPrompt: settings?.prompts?.renameBranch
|
|
@@ -6972,6 +6989,7 @@ var Orchestrator = class {
|
|
|
6972
6989
|
worktreeDirective,
|
|
6973
6990
|
optionalServicesDirective,
|
|
6974
6991
|
issueToolsDirective,
|
|
6992
|
+
viewerContextDirective,
|
|
6975
6993
|
artifactDirective,
|
|
6976
6994
|
longRunningDirective,
|
|
6977
6995
|
renameBranchDirective,
|
|
@@ -7082,6 +7100,7 @@ var Orchestrator = class {
|
|
|
7082
7100
|
worktreeDirective,
|
|
7083
7101
|
optionalServicesDirective,
|
|
7084
7102
|
issueToolsDirective,
|
|
7103
|
+
viewerContextDirective,
|
|
7085
7104
|
artifactDirective,
|
|
7086
7105
|
longRunningDirective,
|
|
7087
7106
|
renameBranchDirective,
|
|
@@ -7820,7 +7839,7 @@ var Orchestrator = class {
|
|
|
7820
7839
|
updateThread(thread.id, { title: meta.title });
|
|
7821
7840
|
}
|
|
7822
7841
|
}
|
|
7823
|
-
const { autoArchiveOnMergeEnabled } = await import("./app-settings-
|
|
7842
|
+
const { autoArchiveOnMergeEnabled } = await import("./app-settings-BRLZQA7N.js");
|
|
7824
7843
|
const latest = this.requireThread(thread.id);
|
|
7825
7844
|
if (!shouldAutoArchiveOnPrMerge({
|
|
7826
7845
|
previousPrState: prevState || null,
|
|
@@ -8137,7 +8156,7 @@ var Orchestrator = class {
|
|
|
8137
8156
|
this.emit({ type: "status_changed", threadId: archived.id, status: "archived" });
|
|
8138
8157
|
if (thread.repoPath && !isGlobalRepoPath(thread.repoPath)) {
|
|
8139
8158
|
try {
|
|
8140
|
-
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-
|
|
8159
|
+
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-OK2SNNQF.js");
|
|
8141
8160
|
await ensureWorkspace2(thread.repoPath);
|
|
8142
8161
|
} catch {
|
|
8143
8162
|
}
|
|
@@ -8164,7 +8183,7 @@ var Orchestrator = class {
|
|
|
8164
8183
|
await runArchiveScript(thread.repoPath, thread.worktreePath);
|
|
8165
8184
|
} catch {
|
|
8166
8185
|
}
|
|
8167
|
-
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-
|
|
8186
|
+
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-BRLZQA7N.js");
|
|
8168
8187
|
const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
|
|
8169
8188
|
await removeWorktree(thread.repoPath, thread.worktreePath, {
|
|
8170
8189
|
deleteBranch: deleteBranch ? thread.branchName : void 0
|
|
@@ -8191,7 +8210,7 @@ var Orchestrator = class {
|
|
|
8191
8210
|
`Cowboy checkout missing: ${thread.worktreePath}. Re-add the project folder, then restore.`
|
|
8192
8211
|
);
|
|
8193
8212
|
}
|
|
8194
|
-
const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-
|
|
8213
|
+
const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-BX53JZHO.js");
|
|
8195
8214
|
const slug = thread.worktreePath.split("/").pop();
|
|
8196
8215
|
const dest = thread.worktreePath;
|
|
8197
8216
|
await withRepoGitLock(thread.repoPath, async () => {
|
|
@@ -8301,7 +8320,7 @@ async function startOrchestration(opts) {
|
|
|
8301
8320
|
sourceRef: "default",
|
|
8302
8321
|
...createOpts
|
|
8303
8322
|
}).catch(async () => {
|
|
8304
|
-
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-
|
|
8323
|
+
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-BX53JZHO.js");
|
|
8305
8324
|
const repo = await resolveRepoRoot2(repoPath);
|
|
8306
8325
|
const def = await resolveDefaultBranch2(repo);
|
|
8307
8326
|
return orch.createThread({
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isOrchestratorThread
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QANLIT2E.js";
|
|
4
4
|
import {
|
|
5
5
|
codexUnattendedGitConfigArgs,
|
|
6
6
|
mergeAgentGitAuthEnv,
|
|
7
7
|
resolveAgentGitAuthEnv,
|
|
8
8
|
resolveCodexGitWritableRoots
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-UUEBNUEG.js";
|
|
10
10
|
import {
|
|
11
11
|
applyConnectedTeamToCli,
|
|
12
12
|
brightsyMcpServerName,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
loadAppSettings,
|
|
37
37
|
resolveAgentExecutable,
|
|
38
38
|
resolveClaudeExecutable
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-CVZ4KXVP.js";
|
|
40
40
|
import {
|
|
41
41
|
isElectronLikeCommand,
|
|
42
42
|
unwrapStrippedElectronLaunch
|
|
@@ -1136,7 +1136,9 @@ var WORKTREE_MCP_TOOLS = [
|
|
|
1136
1136
|
"present_plan",
|
|
1137
1137
|
"present_schema",
|
|
1138
1138
|
"present_files",
|
|
1139
|
-
"wait_for_job"
|
|
1139
|
+
"wait_for_job",
|
|
1140
|
+
"get_viewer_context",
|
|
1141
|
+
"update_viewer_context"
|
|
1140
1142
|
];
|
|
1141
1143
|
var WORKTREE_GITHUB_MCP_TOOLS = [
|
|
1142
1144
|
"github_get_issue",
|
|
@@ -1178,7 +1180,9 @@ var SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS = [
|
|
|
1178
1180
|
"mcp__sideboard__present_files",
|
|
1179
1181
|
"mcp__sideboard__ask_user",
|
|
1180
1182
|
"mcp__sideboard__present_plan",
|
|
1181
|
-
"mcp__sideboard__wait_for_job"
|
|
1183
|
+
"mcp__sideboard__wait_for_job",
|
|
1184
|
+
"mcp__sideboard__get_viewer_context",
|
|
1185
|
+
"mcp__sideboard__update_viewer_context"
|
|
1182
1186
|
];
|
|
1183
1187
|
var SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS = ["mcp__sideboard__github_*"];
|
|
1184
1188
|
var SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS = ["mcp__sideboard__linear_*"];
|
|
@@ -1861,7 +1865,7 @@ var claudeAdapter = {
|
|
|
1861
1865
|
);
|
|
1862
1866
|
}
|
|
1863
1867
|
const mode = permissionMode(thread);
|
|
1864
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
1868
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-SPR2Y4YQ.js");
|
|
1865
1869
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
1866
1870
|
const injectedServers = await buildInjectedMcpServers({
|
|
1867
1871
|
includeSideboard: true,
|
|
@@ -3,11 +3,8 @@ import {
|
|
|
3
3
|
} from "./chunk-JRH62XC4.js";
|
|
4
4
|
import {
|
|
5
5
|
getGithubGitAuthMode,
|
|
6
|
-
getGithubPat
|
|
7
|
-
|
|
8
|
-
resolveViewerProfile,
|
|
9
|
-
resolveViewerProfileForRepo
|
|
10
|
-
} from "./chunk-3BWVOUQG.js";
|
|
6
|
+
getGithubPat
|
|
7
|
+
} from "./chunk-CVZ4KXVP.js";
|
|
11
8
|
import {
|
|
12
9
|
listThreads
|
|
13
10
|
} from "./chunk-7UURXPKD.js";
|
|
@@ -2060,14 +2057,7 @@ async function listPrs(repoPath, opts) {
|
|
|
2060
2057
|
const limit = resolved.limit ?? 200;
|
|
2061
2058
|
const reviewerKey = (resolved.reviewer ?? "").trim().toLowerCase();
|
|
2062
2059
|
const needsUnclaimed = reviewerKey === "unassigned" || reviewerKey === "none" || reviewerKey === "null";
|
|
2063
|
-
|
|
2064
|
-
try {
|
|
2065
|
-
profile = resolveViewerProfileForRepo(repoPath);
|
|
2066
|
-
} catch {
|
|
2067
|
-
profile = resolveViewerProfile();
|
|
2068
|
-
}
|
|
2069
|
-
const fetchedTeams = needsUnclaimed ? await listGithubViewerTeamSlugs(repoPath).catch(() => []) : [];
|
|
2070
|
-
const viewerTeams = resolved.viewerTeams ?? (needsUnclaimed ? preferTeamsForRole(fetchedTeams, profile.reviewTeamHints) : void 0);
|
|
2060
|
+
const viewerTeams = resolved.viewerTeams ?? (needsUnclaimed ? await listGithubViewerTeamSlugs(repoPath).catch(() => []) : void 0);
|
|
2071
2061
|
const fetchLimit = prListFetchLimit(limit, resolved.reviewer);
|
|
2072
2062
|
const args = buildGhPrListArgs({
|
|
2073
2063
|
slug,
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
enrichWorkspacesWithGithub,
|
|
8
8
|
ensureGlobalCoordinatorCwd,
|
|
9
9
|
formatWorkspaceInventory
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-QANLIT2E.js";
|
|
11
|
+
import "./chunk-UUEBNUEG.js";
|
|
12
12
|
import "./chunk-JRH62XC4.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-CVZ4KXVP.js";
|
|
14
14
|
import "./chunk-4TR3HZFT.js";
|
|
15
15
|
import "./chunk-JT7R45JB.js";
|
|
16
16
|
import "./chunk-7UURXPKD.js";
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
enrichWorkspacesWithGithub,
|
|
10
10
|
ensureGlobalCoordinatorCwd,
|
|
11
11
|
formatWorkspaceInventory
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-HZROPNYL.js";
|
|
13
|
+
import "./chunk-IO5WGZRR.js";
|
|
14
14
|
import "./chunk-5U4NZLBH.js";
|
|
15
15
|
import "./chunk-LZQULFIT.js";
|
|
16
16
|
import "./chunk-SYFVUF2C.js";
|
|
17
17
|
import "./chunk-FNQNJOHY.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-LTXS26K5.js";
|
|
19
19
|
import "./chunk-NSTQ6QKD.js";
|
|
20
20
|
import "./chunk-KGZBYWZ3.js";
|
|
21
21
|
import "./chunk-JTJHOYCU.js";
|
|
@@ -17,13 +17,13 @@ import {
|
|
|
17
17
|
orchestratorSessionPoisonedByBuiltins,
|
|
18
18
|
slackCoordinatorSourceRef,
|
|
19
19
|
takenTeamSlugsForOrchestration
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-HZROPNYL.js";
|
|
21
|
+
import "./chunk-IO5WGZRR.js";
|
|
22
22
|
import "./chunk-5U4NZLBH.js";
|
|
23
23
|
import "./chunk-LZQULFIT.js";
|
|
24
24
|
import "./chunk-SYFVUF2C.js";
|
|
25
25
|
import "./chunk-FNQNJOHY.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-LTXS26K5.js";
|
|
27
27
|
import "./chunk-NSTQ6QKD.js";
|
|
28
28
|
import "./chunk-KGZBYWZ3.js";
|
|
29
29
|
import {
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
orchestratorSessionPoisonedByBuiltins,
|
|
16
16
|
slackCoordinatorSourceRef,
|
|
17
17
|
takenTeamSlugsForOrchestration
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-QANLIT2E.js";
|
|
19
|
+
import "./chunk-UUEBNUEG.js";
|
|
20
20
|
import "./chunk-JRH62XC4.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-CVZ4KXVP.js";
|
|
22
22
|
import "./chunk-4TR3HZFT.js";
|
|
23
23
|
import "./chunk-JT7R45JB.js";
|
|
24
24
|
import "./chunk-7UURXPKD.js";
|