@sideboard-ai/core 0.1.248 → 0.1.249
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-HTRIHTL5.js → abletime-EM7FH7TX.js} +4 -4
- package/dist/{abletime-GAPUN2LL.js → abletime-RLSPFZOO.js} +4 -4
- package/dist/{abletime-oauth-ME7ZY2RS.js → abletime-oauth-332MUPBE.js} +3 -3
- package/dist/{abletime-oauth-G6ZPGVAE.js → abletime-oauth-LDV3DZNA.js} +3 -3
- package/dist/{abletime-rest-M2D2NELV.js → abletime-rest-JZI6UQIR.js} +3 -3
- package/dist/{abletime-rest-73EKIAZU.js → abletime-rest-LR2HWLP2.js} +3 -3
- package/dist/{agents-3PQ2BWGB.js → agents-5N4S6YLA.js} +4 -4
- package/dist/{agents-7SCJTTZN.js → agents-L2NUSMP6.js} +4 -4
- package/dist/{app-settings-NKXH4PKM.js → app-settings-BABO3E4A.js} +9 -1
- package/dist/{app-settings-2BHGANQH.js → app-settings-JQ5M3P46.js} +9 -1
- package/dist/{chunk-GFGSC4Z7.js → chunk-2I6TW4TW.js} +3 -3
- package/dist/{chunk-W4F7JKXF.js → chunk-3O66W4TI.js} +1 -1
- package/dist/{chunk-ERQYYL4I.js → chunk-4LIOQ2QW.js} +18 -18
- package/dist/{chunk-QVQPIFBV.js → chunk-4URNTA75.js} +18 -0
- package/dist/{chunk-LPS6D346.js → chunk-57ZULG67.js} +3 -3
- package/dist/{chunk-RF46WMSI.js → chunk-5FLTBGF2.js} +5 -5
- package/dist/{chunk-D3DYMGZS.js → chunk-BXYUK6DD.js} +4 -4
- package/dist/{chunk-XEBQRCDW.js → chunk-HO5TQG3Z.js} +18 -0
- package/dist/{chunk-U2ZZMGPV.js → chunk-IBWVE22Z.js} +2 -2
- package/dist/{chunk-BEQE7VOE.js → chunk-KB4JPKMT.js} +5 -5
- package/dist/{chunk-XM4UIFQU.js → chunk-M5QVZYKK.js} +1 -1
- package/dist/{chunk-Z7QWXE4W.js → chunk-OXZMLZVK.js} +3 -3
- package/dist/{chunk-64NUGRZ3.js → chunk-RUGWYZOB.js} +2 -2
- package/dist/{chunk-KFXP4KSP.js → chunk-VGVYYLUC.js} +19 -19
- package/dist/{chunk-GVAR6R6R.js → chunk-W632CHCY.js} +2 -2
- package/dist/{chunk-6HIAYIXT.js → chunk-XHAK4FSQ.js} +2 -2
- package/dist/{chunk-UVWIYSAA.js → chunk-XJXS7TU6.js} +4 -4
- package/dist/{coordinator-prompt-IG676OSP.js → coordinator-prompt-2P35JCWK.js} +3 -3
- package/dist/{coordinator-prompt-BFO2TAVR.js → coordinator-prompt-5FUU6WZR.js} +3 -3
- package/dist/{global-workspace-J6H7X5SM.js → global-workspace-5U5Y7266.js} +3 -3
- package/dist/{global-workspace-RLCICVQE.js → global-workspace-NDDNFPYH.js} +3 -3
- package/dist/index.cjs +27 -1
- package/dist/index.d.cts +13 -1
- package/dist/index.d.ts +13 -1
- package/dist/index.js +20 -12
- package/dist/mcp/run-stdio.cjs +19 -1
- package/dist/mcp/run-stdio.js +11 -11
- package/dist/{orchestrator-JCETTHVV.js → orchestrator-5LCP6OTU.js} +5 -5
- package/dist/{orchestrator-2NZUV4LI.js → orchestrator-DHIKPDY4.js} +5 -5
- package/dist/{workspaces-OLBW42V3.js → workspaces-GFYUCY6N.js} +3 -3
- package/dist/{workspaces-NJF3GG5F.js → workspaces-RSTX2WL7.js} +3 -3
- package/dist/{worktree-2FYRYJTB.js → worktree-TXIDEBH2.js} +2 -2
- package/dist/{worktree-UKLK7VHH.js → worktree-UNY4QGFJ.js} +2 -2
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
resolveRepoRoot,
|
|
7
7
|
takenSlugsFromThread,
|
|
8
8
|
teamSlugFromName
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3O66W4TI.js";
|
|
10
10
|
import {
|
|
11
11
|
ATTACHMENTS_DIR,
|
|
12
12
|
attachmentsGitignoreBody
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
resolveThreadDefaults,
|
|
24
24
|
resolveViewerProfile,
|
|
25
25
|
resolveViewerProfileForRepo
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4URNTA75.js";
|
|
27
27
|
import {
|
|
28
28
|
createEmptyThread,
|
|
29
29
|
listThreads,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
getAbleTimeHost,
|
|
8
8
|
isAbleTimeConnected
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HO5TQG3Z.js";
|
|
10
10
|
|
|
11
11
|
// src/integrations/abletime-mcp.ts
|
|
12
12
|
var DEFAULT_ABLETIME_HOST = "https://track.abletime.com";
|
|
@@ -155,7 +155,7 @@ function textsFromUnknown(value) {
|
|
|
155
155
|
return "";
|
|
156
156
|
}
|
|
157
157
|
async function abletimeMcpRequest(method, params, opts) {
|
|
158
|
-
const rawToken = opts?.token ?? await import("./abletime-oauth-
|
|
158
|
+
const rawToken = opts?.token ?? await import("./abletime-oauth-LDV3DZNA.js").then((m) => m.ensureAbleTimeAccessToken());
|
|
159
159
|
if (!rawToken?.trim()) {
|
|
160
160
|
throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
|
|
161
161
|
}
|
|
@@ -226,9 +226,9 @@ async function callAbleTimeTool(name, args = {}, opts) {
|
|
|
226
226
|
if (!opts?.token && !isAbleTimeConnected()) {
|
|
227
227
|
throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
|
|
228
228
|
}
|
|
229
|
-
const rawToken = opts?.token ?? await import("./abletime-oauth-
|
|
229
|
+
const rawToken = opts?.token ?? await import("./abletime-oauth-LDV3DZNA.js").then((m) => m.ensureAbleTimeAccessToken());
|
|
230
230
|
if (rawToken && ableTimeUsesRest(rawToken)) {
|
|
231
|
-
const { callAbleTimeRestTool } = await import("./abletime-rest-
|
|
231
|
+
const { callAbleTimeRestTool } = await import("./abletime-rest-JZI6UQIR.js");
|
|
232
232
|
return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
|
|
233
233
|
}
|
|
234
234
|
const requestOpts = { ...opts, pm: opts?.pm ?? abletimeToolUsesPm(name) };
|
|
@@ -244,7 +244,7 @@ async function callAbleTimeTool(name, args = {}, opts) {
|
|
|
244
244
|
return await call();
|
|
245
245
|
}
|
|
246
246
|
if (rawToken && ableTimeUsesRest(rawToken) && isAbleTimeRejectedCredential(message)) {
|
|
247
|
-
const { callAbleTimeRestTool } = await import("./abletime-rest-
|
|
247
|
+
const { callAbleTimeRestTool } = await import("./abletime-rest-JZI6UQIR.js");
|
|
248
248
|
return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
|
|
249
249
|
}
|
|
250
250
|
throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
|
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
textFromAbleTimeDoc
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-XHAK4FSQ.js";
|
|
6
6
|
import {
|
|
7
7
|
assertAbleTimeCredential,
|
|
8
8
|
callAbleTimeTool,
|
|
9
9
|
normalizeAbleTimeHost,
|
|
10
10
|
rewriteAbleTimeError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KB4JPKMT.js";
|
|
12
12
|
import {
|
|
13
13
|
isAbleTimeConnected,
|
|
14
14
|
saveAbleTimeConnection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-HO5TQG3Z.js";
|
|
16
16
|
|
|
17
17
|
// src/integrations/abletime.ts
|
|
18
18
|
var CLOSED_STATES = /* @__PURE__ */ new Set([
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
resolveRepoRoot,
|
|
9
9
|
takenSlugsFromThread,
|
|
10
10
|
teamSlugFromName
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-M5QVZYKK.js";
|
|
12
12
|
import {
|
|
13
13
|
ATTACHMENTS_DIR,
|
|
14
14
|
attachmentsGitignoreBody
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
resolveThreadDefaults,
|
|
32
32
|
resolveViewerProfile,
|
|
33
33
|
resolveViewerProfileForRepo
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-HO5TQG3Z.js";
|
|
35
35
|
import {
|
|
36
36
|
appDataDir,
|
|
37
37
|
globalAgentCwd,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
resolveQuotaFallbackAgent,
|
|
26
26
|
stripBrightsyNdjsonNoise,
|
|
27
27
|
toolDescription
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-BXYUK6DD.js";
|
|
29
29
|
import {
|
|
30
30
|
SLACK_REPLY_FORMATTING,
|
|
31
31
|
addWorkspace,
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
stageAbsolutePathsAsAttachments,
|
|
49
49
|
stageBuffersAsAttachments,
|
|
50
50
|
syncWorkspacesFromThreads
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-IBWVE22Z.js";
|
|
52
52
|
import {
|
|
53
53
|
addPrStackLayer,
|
|
54
54
|
allocateTeamName,
|
|
@@ -98,7 +98,7 @@ import {
|
|
|
98
98
|
worktreeDisplayLabelForGroup,
|
|
99
99
|
worktreeNameFromPath,
|
|
100
100
|
worktreeSlugForTicket
|
|
101
|
-
} from "./chunk-
|
|
101
|
+
} from "./chunk-3O66W4TI.js";
|
|
102
102
|
import {
|
|
103
103
|
ATTACHMENTS_DIR,
|
|
104
104
|
DETACHED_JOBS_DIR,
|
|
@@ -161,7 +161,7 @@ import {
|
|
|
161
161
|
sumUsageList,
|
|
162
162
|
updateAdvancedSettings,
|
|
163
163
|
usageOnLimit
|
|
164
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-4URNTA75.js";
|
|
165
165
|
import {
|
|
166
166
|
examplePrefixedBranch,
|
|
167
167
|
sanitizeGitBranchPrefix
|
|
@@ -443,9 +443,9 @@ async function spawnAgentTurn(thread, input, onEvent) {
|
|
|
443
443
|
`Cannot spawn ${thread.agent}: thread ${thread.id} has no worktreePath`
|
|
444
444
|
);
|
|
445
445
|
}
|
|
446
|
-
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-
|
|
446
|
+
const { isGlobalThread: isGlobalThread2 } = await import("./global-workspace-NDDNFPYH.js");
|
|
447
447
|
if (isGlobalThread2(thread)) {
|
|
448
|
-
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-
|
|
448
|
+
const { ensureGlobalCoordinatorCwd: ensureGlobalCoordinatorCwd2 } = await import("./coordinator-prompt-2P35JCWK.js");
|
|
449
449
|
ensureGlobalCoordinatorCwd2(
|
|
450
450
|
isOrchestratorThread(thread) ? { orchestratorThreadId: thread.id } : void 0
|
|
451
451
|
);
|
|
@@ -4166,7 +4166,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
4166
4166
|
});
|
|
4167
4167
|
await requireAgent(resolved.agent);
|
|
4168
4168
|
if (input.cowboy) {
|
|
4169
|
-
const { cowboyModeEnabled } = await import("./app-settings-
|
|
4169
|
+
const { cowboyModeEnabled } = await import("./app-settings-JQ5M3P46.js");
|
|
4170
4170
|
if (!cowboyModeEnabled()) {
|
|
4171
4171
|
throw new Error(
|
|
4172
4172
|
"Cowboy mode is off. Enable it in Settings \u2192 Advanced."
|
|
@@ -4224,7 +4224,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
4224
4224
|
let sourceIsFork = false;
|
|
4225
4225
|
if (!input.cowboy && sourceType === "branch" && (!sourceRef || sourceRef === "HEAD" || sourceRef === "default")) {
|
|
4226
4226
|
if (isAbleTimeConnected() && getIssueSource() === "abletime") {
|
|
4227
|
-
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-
|
|
4227
|
+
const { ensureAbleTimeTask, issueAttachmentForAbleTimeTask } = await import("./abletime-EM7FH7TX.js");
|
|
4228
4228
|
const task = await ensureAbleTimeTask({
|
|
4229
4229
|
title: title?.trim() || "Untitled work",
|
|
4230
4230
|
description: input.prompt?.trim() || void 0
|
|
@@ -4330,7 +4330,7 @@ async function createThread(input, _onSetupLine) {
|
|
|
4330
4330
|
return readThread(thread.id) ?? thread;
|
|
4331
4331
|
}
|
|
4332
4332
|
async function listLinearIssues(agent, repoPath) {
|
|
4333
|
-
const { getAdapter: getAdapter2 } = await import("./agents-
|
|
4333
|
+
const { getAdapter: getAdapter2 } = await import("./agents-L2NUSMP6.js");
|
|
4334
4334
|
await requireAgent(agent, { requireLinear: true });
|
|
4335
4335
|
const adapter = getAdapter2(agent);
|
|
4336
4336
|
if (!adapter.listLinearIssues) {
|
|
@@ -4803,7 +4803,7 @@ async function adoptThread(input) {
|
|
|
4803
4803
|
messages: input.messages ?? []
|
|
4804
4804
|
});
|
|
4805
4805
|
writeThread(thread);
|
|
4806
|
-
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-
|
|
4806
|
+
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-GFYUCY6N.js");
|
|
4807
4807
|
await ensureWorkspace2(repoPath);
|
|
4808
4808
|
const { ensureWorktreeSideboardIgnored: ensureWorktreeSideboardIgnored2 } = await import("./worktree-exclude-RXZPTCNH.js");
|
|
4809
4809
|
await ensureWorktreeSideboardIgnored2(input.worktreePath);
|
|
@@ -7515,7 +7515,7 @@ function formatScheduledPrompt(name, prompt) {
|
|
|
7515
7515
|
${prompt}`;
|
|
7516
7516
|
}
|
|
7517
7517
|
async function defaultDeps() {
|
|
7518
|
-
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-
|
|
7518
|
+
const { getOrchestrator: getOrchestrator2, startOrchestration: startOrchestration2 } = await import("./orchestrator-5LCP6OTU.js");
|
|
7519
7519
|
const orch = getOrchestrator2();
|
|
7520
7520
|
return {
|
|
7521
7521
|
findThread: (id) => findThreadByRef(id),
|
|
@@ -7840,7 +7840,7 @@ var Orchestrator = class {
|
|
|
7840
7840
|
orphans: orphans.map((o) => ({ path: o.path, repoPath: o.repoPath }))
|
|
7841
7841
|
});
|
|
7842
7842
|
}
|
|
7843
|
-
const { autoCleanupOrphansEnabled } = await import("./app-settings-
|
|
7843
|
+
const { autoCleanupOrphansEnabled } = await import("./app-settings-JQ5M3P46.js");
|
|
7844
7844
|
if (autoCleanupOrphansEnabled() && shouldRunWorktreeCleanup() && orphans.length > 0) {
|
|
7845
7845
|
await cleanupOrphanWorktrees({ repoPaths });
|
|
7846
7846
|
}
|
|
@@ -8187,7 +8187,7 @@ var Orchestrator = class {
|
|
|
8187
8187
|
}
|
|
8188
8188
|
await setup;
|
|
8189
8189
|
if (skipSetup) return;
|
|
8190
|
-
const { autoRunAfterSetupEnabled } = await import("./app-settings-
|
|
8190
|
+
const { autoRunAfterSetupEnabled } = await import("./app-settings-JQ5M3P46.js");
|
|
8191
8191
|
if (autoRunAfterSetupEnabled()) {
|
|
8192
8192
|
try {
|
|
8193
8193
|
await this.startDev(threadId);
|
|
@@ -8557,7 +8557,7 @@ var Orchestrator = class {
|
|
|
8557
8557
|
}
|
|
8558
8558
|
const isBrightsy = fresh.agent === "brightsy";
|
|
8559
8559
|
const isOrchestration = isOrchestratorThread(fresh);
|
|
8560
|
-
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-
|
|
8560
|
+
const { autoRenameBranchEnabled, getGithubGitAuthMode, gitBranchPrefixSetting } = await import("./app-settings-JQ5M3P46.js");
|
|
8561
8561
|
const gitAuthMode = getGithubGitAuthMode();
|
|
8562
8562
|
const worktreeDirective = isBrightsy || isOrchestration ? null : formatWorktreeDirective(fresh, {
|
|
8563
8563
|
githubSlug: await withTimeout(
|
|
@@ -9858,7 +9858,7 @@ var Orchestrator = class {
|
|
|
9858
9858
|
if (!titled.userSetTitle && meta.title && titled.title !== meta.title) {
|
|
9859
9859
|
updateThread(thread.id, { title: meta.title });
|
|
9860
9860
|
}
|
|
9861
|
-
const { autoArchiveOnMergeEnabled } = await import("./app-settings-
|
|
9861
|
+
const { autoArchiveOnMergeEnabled } = await import("./app-settings-JQ5M3P46.js");
|
|
9862
9862
|
const latest = this.requireThread(thread.id);
|
|
9863
9863
|
if (!shouldAutoArchiveOnPrMerge({
|
|
9864
9864
|
previousPrState: prevState || null,
|
|
@@ -10140,7 +10140,7 @@ var Orchestrator = class {
|
|
|
10140
10140
|
this.enforceHistoryRetention();
|
|
10141
10141
|
if (thread.repoPath && !isGlobalRepoPath(thread.repoPath)) {
|
|
10142
10142
|
try {
|
|
10143
|
-
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-
|
|
10143
|
+
const { ensureWorkspace: ensureWorkspace2 } = await import("./workspaces-GFYUCY6N.js");
|
|
10144
10144
|
await ensureWorkspace2(thread.repoPath);
|
|
10145
10145
|
} catch {
|
|
10146
10146
|
}
|
|
@@ -10167,7 +10167,7 @@ var Orchestrator = class {
|
|
|
10167
10167
|
await runArchiveScript(thread.repoPath, thread.worktreePath);
|
|
10168
10168
|
} catch {
|
|
10169
10169
|
}
|
|
10170
|
-
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-
|
|
10170
|
+
const { deleteBranchOnPurgeEnabled } = await import("./app-settings-JQ5M3P46.js");
|
|
10171
10171
|
const deleteBranch = opts?.deleteBranch ?? deleteBranchOnPurgeEnabled();
|
|
10172
10172
|
await removeWorktree(thread.repoPath, thread.worktreePath, {
|
|
10173
10173
|
deleteBranch: deleteBranch ? thread.branchName : void 0
|
|
@@ -10194,7 +10194,7 @@ var Orchestrator = class {
|
|
|
10194
10194
|
`Cowboy checkout missing: ${thread.worktreePath}. Re-add the project folder, then restore.`
|
|
10195
10195
|
);
|
|
10196
10196
|
}
|
|
10197
|
-
const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-
|
|
10197
|
+
const { createThreadWorktree: createThreadWorktree2 } = await import("./worktree-UNY4QGFJ.js");
|
|
10198
10198
|
const slug = thread.worktreePath.split("/").pop();
|
|
10199
10199
|
const dest = thread.worktreePath;
|
|
10200
10200
|
await withRepoGitLock(thread.repoPath, async () => {
|
|
@@ -10304,7 +10304,7 @@ async function startOrchestration(opts) {
|
|
|
10304
10304
|
sourceRef: "default",
|
|
10305
10305
|
...createOpts
|
|
10306
10306
|
}).catch(async () => {
|
|
10307
|
-
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-
|
|
10307
|
+
const { resolveDefaultBranch: resolveDefaultBranch2, resolveRepoRoot: resolveRepoRoot2 } = await import("./worktree-UNY4QGFJ.js");
|
|
10308
10308
|
const repo = await resolveRepoRoot2(repoPath);
|
|
10309
10309
|
const def = await resolveDefaultBranch2(repo);
|
|
10310
10310
|
return orch.createThread({
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
normalizeAbleTimeCredential,
|
|
5
5
|
normalizeAbleTimeHost,
|
|
6
6
|
rewriteAbleTimeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-5FLTBGF2.js";
|
|
8
8
|
import {
|
|
9
9
|
httpFetch
|
|
10
10
|
} from "./chunk-N7WZ6NIN.js";
|
|
11
11
|
import {
|
|
12
12
|
getAbleTimeAccessToken,
|
|
13
13
|
getAbleTimeHost
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4URNTA75.js";
|
|
15
15
|
|
|
16
16
|
// src/integrations/abletime-rest.ts
|
|
17
17
|
var ABLETIME_REST_PREFIX = "/api/public/v2";
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
normalizeAbleTimeCredential,
|
|
7
7
|
normalizeAbleTimeHost,
|
|
8
8
|
rewriteAbleTimeError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KB4JPKMT.js";
|
|
10
10
|
import {
|
|
11
11
|
httpFetch
|
|
12
12
|
} from "./chunk-VKQGAWHY.js";
|
|
13
13
|
import {
|
|
14
14
|
getAbleTimeAccessToken,
|
|
15
15
|
getAbleTimeHost
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HO5TQG3Z.js";
|
|
17
17
|
|
|
18
18
|
// src/integrations/abletime-rest.ts
|
|
19
19
|
var ABLETIME_REST_PREFIX = "/api/public/v2";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
isOrchestratorThread
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-RUGWYZOB.js";
|
|
6
6
|
import {
|
|
7
7
|
applyConnectedTeamToCli,
|
|
8
8
|
brightsyMcpServerName,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
mergeAgentGitAuthEnv,
|
|
21
21
|
resolveAgentGitAuthEnv,
|
|
22
22
|
resolveCodexGitWritableRoots
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-M5QVZYKK.js";
|
|
24
24
|
import {
|
|
25
25
|
enrichPathWithNpmGlobalBin,
|
|
26
26
|
isConductorBundledCli,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
loadAppSettings,
|
|
38
38
|
resolveAgentExecutable,
|
|
39
39
|
resolveClaudeExecutable
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HO5TQG3Z.js";
|
|
41
41
|
import {
|
|
42
42
|
appDataDir
|
|
43
43
|
} from "./chunk-KK63BFYN.js";
|
|
@@ -2947,7 +2947,7 @@ var claudeAdapter = {
|
|
|
2947
2947
|
);
|
|
2948
2948
|
}
|
|
2949
2949
|
const mode = permissionMode(thread);
|
|
2950
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2950
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-5U5Y7266.js");
|
|
2951
2951
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2952
2952
|
const injectedServers = await buildInjectedMcpServers({
|
|
2953
2953
|
includeSideboard: true,
|
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
enrichWorkspacesWithGithub,
|
|
8
8
|
ensureGlobalCoordinatorCwd,
|
|
9
9
|
formatWorkspaceInventory
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-IBWVE22Z.js";
|
|
11
|
+
import "./chunk-3O66W4TI.js";
|
|
12
12
|
import "./chunk-6K64FJDD.js";
|
|
13
13
|
import "./chunk-2P4XKWV2.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-4URNTA75.js";
|
|
15
15
|
import "./chunk-WDRMZKVB.js";
|
|
16
16
|
import "./chunk-JT7R45JB.js";
|
|
17
17
|
import "./chunk-CXTIOJRX.js";
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
enrichWorkspacesWithGithub,
|
|
10
10
|
ensureGlobalCoordinatorCwd,
|
|
11
11
|
formatWorkspaceInventory
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-RUGWYZOB.js";
|
|
13
|
+
import "./chunk-M5QVZYKK.js";
|
|
14
14
|
import "./chunk-D6JWYJ4P.js";
|
|
15
15
|
import "./chunk-PELMZRDB.js";
|
|
16
16
|
import "./chunk-N6XI5KXL.js";
|
|
17
17
|
import "./chunk-DD67JWTN.js";
|
|
18
18
|
import "./chunk-2UG25RMK.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-HO5TQG3Z.js";
|
|
20
20
|
import "./chunk-NSTQ6QKD.js";
|
|
21
21
|
import "./chunk-KGZBYWZ3.js";
|
|
22
22
|
import "./chunk-KK63BFYN.js";
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
orchestratorSessionPoisonedByBuiltins,
|
|
18
18
|
slackCoordinatorSourceRef,
|
|
19
19
|
takenTeamSlugsForOrchestration
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-RUGWYZOB.js";
|
|
21
|
+
import "./chunk-M5QVZYKK.js";
|
|
22
22
|
import "./chunk-D6JWYJ4P.js";
|
|
23
23
|
import "./chunk-PELMZRDB.js";
|
|
24
24
|
import "./chunk-N6XI5KXL.js";
|
|
25
25
|
import "./chunk-DD67JWTN.js";
|
|
26
26
|
import "./chunk-2UG25RMK.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-HO5TQG3Z.js";
|
|
28
28
|
import "./chunk-NSTQ6QKD.js";
|
|
29
29
|
import "./chunk-KGZBYWZ3.js";
|
|
30
30
|
import {
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
orchestratorSessionPoisonedByBuiltins,
|
|
16
16
|
slackCoordinatorSourceRef,
|
|
17
17
|
takenTeamSlugsForOrchestration
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-IBWVE22Z.js";
|
|
19
|
+
import "./chunk-3O66W4TI.js";
|
|
20
20
|
import "./chunk-6K64FJDD.js";
|
|
21
21
|
import "./chunk-2P4XKWV2.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-4URNTA75.js";
|
|
23
23
|
import "./chunk-WDRMZKVB.js";
|
|
24
24
|
import "./chunk-JT7R45JB.js";
|
|
25
25
|
import "./chunk-CXTIOJRX.js";
|
package/dist/index.cjs
CHANGED
|
@@ -1360,6 +1360,8 @@ var init_issue_source_labels = __esm({
|
|
|
1360
1360
|
var app_settings_exports = {};
|
|
1361
1361
|
__export(app_settings_exports, {
|
|
1362
1362
|
AGENT_DONE_SOUNDS: () => AGENT_DONE_SOUNDS,
|
|
1363
|
+
CHAT_TEXT_SCALES: () => CHAT_TEXT_SCALES,
|
|
1364
|
+
CHAT_TEXT_SCALE_DEFAULT: () => CHAT_TEXT_SCALE_DEFAULT,
|
|
1363
1365
|
FOLLOW_UP_BEHAVIORS: () => FOLLOW_UP_BEHAVIORS,
|
|
1364
1366
|
GITHUB_GIT_AUTH_MODES: () => GITHUB_GIT_AUTH_MODES,
|
|
1365
1367
|
HARNESS_ENV_KEYS: () => HARNESS_ENV_KEYS,
|
|
@@ -1382,6 +1384,7 @@ __export(app_settings_exports, {
|
|
|
1382
1384
|
caffeinateWhileRunningEnabled: () => caffeinateWhileRunningEnabled,
|
|
1383
1385
|
caffeinateWhileSchedulesEnabled: () => caffeinateWhileSchedulesEnabled,
|
|
1384
1386
|
caffeinateWhileSlackListenEnabled: () => caffeinateWhileSlackListenEnabled,
|
|
1387
|
+
chatTextScale: () => chatTextScale,
|
|
1385
1388
|
childEnvWithAppSettings: () => childEnvWithAppSettings,
|
|
1386
1389
|
claudeChromeEnabled: () => claudeChromeEnabled,
|
|
1387
1390
|
claudeUserSettingsPath: () => claudeUserSettingsPath,
|
|
@@ -1416,6 +1419,7 @@ __export(app_settings_exports, {
|
|
|
1416
1419
|
historyMaxDays: () => historyMaxDays,
|
|
1417
1420
|
isAbleTimeConnected: () => isAbleTimeConnected,
|
|
1418
1421
|
isAgentDoneSound: () => isAgentDoneSound,
|
|
1422
|
+
isChatTextScale: () => isChatTextScale,
|
|
1419
1423
|
isIssueSourceConnected: () => isIssueSourceConnected,
|
|
1420
1424
|
isLinearConnected: () => isLinearConnected,
|
|
1421
1425
|
isUsageOnLimit: () => isUsageOnLimit,
|
|
@@ -1462,6 +1466,9 @@ __export(app_settings_exports, {
|
|
|
1462
1466
|
function isAgentDoneSound(value) {
|
|
1463
1467
|
return AGENT_DONE_SOUNDS.includes(value);
|
|
1464
1468
|
}
|
|
1469
|
+
function isChatTextScale(value) {
|
|
1470
|
+
return CHAT_TEXT_SCALES.includes(value);
|
|
1471
|
+
}
|
|
1465
1472
|
function emptyPublicIntegrations() {
|
|
1466
1473
|
return {
|
|
1467
1474
|
hasLinearApiKey: false,
|
|
@@ -1850,6 +1857,9 @@ function normalizeAdvanced(raw) {
|
|
|
1850
1857
|
if (typeof source.showCost === "boolean") {
|
|
1851
1858
|
out.showCost = source.showCost;
|
|
1852
1859
|
}
|
|
1860
|
+
if (isChatTextScale(source.chatTextScale)) {
|
|
1861
|
+
out.chatTextScale = source.chatTextScale;
|
|
1862
|
+
}
|
|
1853
1863
|
if (isUsageOnLimit(source.usageOnLimit)) {
|
|
1854
1864
|
out.usageOnLimit = source.usageOnLimit;
|
|
1855
1865
|
}
|
|
@@ -2772,6 +2782,9 @@ function updateAdvancedSettings(patch) {
|
|
|
2772
2782
|
if (typeof patch.showCost === "boolean") {
|
|
2773
2783
|
advanced.showCost = patch.showCost;
|
|
2774
2784
|
}
|
|
2785
|
+
if (isChatTextScale(patch.chatTextScale)) {
|
|
2786
|
+
advanced.chatTextScale = patch.chatTextScale;
|
|
2787
|
+
}
|
|
2775
2788
|
if (isUsageOnLimit(patch.usageOnLimit)) {
|
|
2776
2789
|
advanced.usageOnLimit = patch.usageOnLimit;
|
|
2777
2790
|
advanced.confirmClaudeUsageOverLimit = patch.usageOnLimit === "confirm";
|
|
@@ -2873,6 +2886,9 @@ function cowboyModeEnabled(settings = loadAppSettings()) {
|
|
|
2873
2886
|
function showCostEnabled(settings = loadAppSettings()) {
|
|
2874
2887
|
return Boolean(settings.advanced.showCost);
|
|
2875
2888
|
}
|
|
2889
|
+
function chatTextScale(settings = loadAppSettings()) {
|
|
2890
|
+
return isChatTextScale(settings.advanced.chatTextScale) ? settings.advanced.chatTextScale : CHAT_TEXT_SCALE_DEFAULT;
|
|
2891
|
+
}
|
|
2876
2892
|
function confirmClaudeUsageOverLimitEnabled(settings = loadAppSettings()) {
|
|
2877
2893
|
return usageOnLimit(settings) === "confirm";
|
|
2878
2894
|
}
|
|
@@ -2998,7 +3014,7 @@ function childEnvWithAppSettings(extra) {
|
|
|
2998
3014
|
function harnessEnvKey(harness) {
|
|
2999
3015
|
return HARNESS_ENV_KEYS[harness];
|
|
3000
3016
|
}
|
|
3001
|
-
var import_node_crypto2, import_node_fs8, import_node_os3, import_node_path9, HARNESS_ENV_KEYS, DEFAULT_AGENTS, GITHUB_GIT_AUTH_MODES, FOLLOW_UP_BEHAVIORS, AGENT_DONE_SOUNDS, CLOUD_CONNECT_AGENTS, ISSUE_SOURCES, GIT_AUTH_MODES, REVIEW_LABEL_MAX, EMPTY_SETTINGS, CONFIRM_ACCOUNT, CONFIRM_PROJECT, DEFAULT_CLI_BIN;
|
|
3017
|
+
var import_node_crypto2, import_node_fs8, import_node_os3, import_node_path9, HARNESS_ENV_KEYS, DEFAULT_AGENTS, GITHUB_GIT_AUTH_MODES, FOLLOW_UP_BEHAVIORS, AGENT_DONE_SOUNDS, CHAT_TEXT_SCALES, CHAT_TEXT_SCALE_DEFAULT, CLOUD_CONNECT_AGENTS, ISSUE_SOURCES, GIT_AUTH_MODES, REVIEW_LABEL_MAX, EMPTY_SETTINGS, CONFIRM_ACCOUNT, CONFIRM_PROJECT, DEFAULT_CLI_BIN;
|
|
3002
3018
|
var init_app_settings = __esm({
|
|
3003
3019
|
"src/store/app-settings.ts"() {
|
|
3004
3020
|
"use strict";
|
|
@@ -3047,6 +3063,8 @@ var init_app_settings = __esm({
|
|
|
3047
3063
|
"whistle",
|
|
3048
3064
|
"custom"
|
|
3049
3065
|
];
|
|
3066
|
+
CHAT_TEXT_SCALES = [1.2, 1.4];
|
|
3067
|
+
CHAT_TEXT_SCALE_DEFAULT = 1.2;
|
|
3050
3068
|
CLOUD_CONNECT_AGENTS = /* @__PURE__ */ new Set([
|
|
3051
3069
|
"claude",
|
|
3052
3070
|
"codex",
|
|
@@ -27227,6 +27245,8 @@ __export(index_exports, {
|
|
|
27227
27245
|
BUNDLED_SKILL_PREFIX: () => BUNDLED_SKILL_PREFIX,
|
|
27228
27246
|
BrightsySideboardApi: () => BrightsySideboardApi,
|
|
27229
27247
|
CHARS_PER_CONTEXT_TOKEN: () => CHARS_PER_CONTEXT_TOKEN,
|
|
27248
|
+
CHAT_TEXT_SCALES: () => CHAT_TEXT_SCALES,
|
|
27249
|
+
CHAT_TEXT_SCALE_DEFAULT: () => CHAT_TEXT_SCALE_DEFAULT,
|
|
27230
27250
|
CLAUDE_MODEL_CATALOG: () => CLAUDE_MODEL_CATALOG,
|
|
27231
27251
|
CLAUDE_SUMMARY_TIMEOUT_MS: () => CLAUDE_SUMMARY_TIMEOUT_MS,
|
|
27232
27252
|
CLI_DIR: () => CLI_DIR,
|
|
@@ -27419,6 +27439,7 @@ __export(index_exports, {
|
|
|
27419
27439
|
canonicalizeRepoPath: () => canonicalizeRepoPath,
|
|
27420
27440
|
captureLoginEnv: () => captureLoginEnv,
|
|
27421
27441
|
captureTurnBaseline: () => captureTurnBaseline,
|
|
27442
|
+
chatTextScale: () => chatTextScale,
|
|
27422
27443
|
checkoutPrStackLayer: () => checkoutPrStackLayer,
|
|
27423
27444
|
childEnvWithAppSettings: () => childEnvWithAppSettings,
|
|
27424
27445
|
claimDesktopHost: () => claimDesktopHost,
|
|
@@ -27707,6 +27728,7 @@ __export(index_exports, {
|
|
|
27707
27728
|
isAskUserToolName: () => isAskUserToolName,
|
|
27708
27729
|
isBrightsyConnected: () => isBrightsyConnected,
|
|
27709
27730
|
isBrightsyNdjsonLine: () => isBrightsyNdjsonLine,
|
|
27731
|
+
isChatTextScale: () => isChatTextScale,
|
|
27710
27732
|
isCloudCoordinatorThread: () => isCloudCoordinatorThread,
|
|
27711
27733
|
isCompactToolName: () => isCompactToolName,
|
|
27712
27734
|
isConductorBundledCli: () => isConductorBundledCli,
|
|
@@ -37063,6 +37085,8 @@ async function startSlackRelayServer(opts) {
|
|
|
37063
37085
|
BUNDLED_SKILL_PREFIX,
|
|
37064
37086
|
BrightsySideboardApi,
|
|
37065
37087
|
CHARS_PER_CONTEXT_TOKEN,
|
|
37088
|
+
CHAT_TEXT_SCALES,
|
|
37089
|
+
CHAT_TEXT_SCALE_DEFAULT,
|
|
37066
37090
|
CLAUDE_MODEL_CATALOG,
|
|
37067
37091
|
CLAUDE_SUMMARY_TIMEOUT_MS,
|
|
37068
37092
|
CLI_DIR,
|
|
@@ -37255,6 +37279,7 @@ async function startSlackRelayServer(opts) {
|
|
|
37255
37279
|
canonicalizeRepoPath,
|
|
37256
37280
|
captureLoginEnv,
|
|
37257
37281
|
captureTurnBaseline,
|
|
37282
|
+
chatTextScale,
|
|
37258
37283
|
checkoutPrStackLayer,
|
|
37259
37284
|
childEnvWithAppSettings,
|
|
37260
37285
|
claimDesktopHost,
|
|
@@ -37543,6 +37568,7 @@ async function startSlackRelayServer(opts) {
|
|
|
37543
37568
|
isAskUserToolName,
|
|
37544
37569
|
isBrightsyConnected,
|
|
37545
37570
|
isBrightsyNdjsonLine,
|
|
37571
|
+
isChatTextScale,
|
|
37546
37572
|
isCloudCoordinatorThread,
|
|
37547
37573
|
isCompactToolName,
|
|
37548
37574
|
isConductorBundledCli,
|