@sideboard-ai/core 0.1.242 → 0.1.244
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-VSV6AUBV.js → abletime-CWIJ7INC.js} +4 -4
- package/dist/{abletime-UX4VUENQ.js → abletime-OI6FNSXX.js} +4 -4
- package/dist/{abletime-oauth-DKBUZV2C.js → abletime-oauth-CHVTUZBR.js} +3 -3
- package/dist/{abletime-oauth-QMDV45JC.js → abletime-oauth-PUIPZTA4.js} +3 -3
- package/dist/{abletime-rest-NL56UVK5.js → abletime-rest-32NIVXAY.js} +3 -3
- package/dist/{abletime-rest-VPBC2XS5.js → abletime-rest-APJUKFKL.js} +3 -3
- package/dist/{agents-PBRIHUYM.js → agents-BQZ2CHXK.js} +9 -5
- package/dist/{agents-CDQCQVWU.js → agents-Q23R4WOR.js} +9 -5
- package/dist/{app-settings-AGDLF75Z.js → app-settings-652J57CX.js} +1 -1
- package/dist/{app-settings-I27UBVI4.js → app-settings-VOPXJMGV.js} +1 -1
- package/dist/{chunk-3Q4PVZ3U.js → chunk-2QRU4IFI.js} +32 -5
- package/dist/{chunk-3PGFAVFL.js → chunk-43F44EKX.js} +2 -2
- package/dist/{chunk-LRMJ6V6U.js → chunk-4HMV53AB.js} +1506 -1465
- package/dist/{chunk-OKHOYI53.js → chunk-576S3HJ7.js} +5 -5
- package/dist/{chunk-TB6UMHIF.js → chunk-5ZFULOTC.js} +10 -2
- package/dist/{chunk-3AJUH66R.js → chunk-6I5YQTNK.js} +2 -1
- package/dist/{chunk-NJ5OXOTN.js → chunk-7HOKP4GR.js} +2 -1
- package/dist/{chunk-DXY4K5MP.js → chunk-BL2UGKWU.js} +3 -3
- package/dist/{chunk-CWHMLCLN.js → chunk-C64YQAA6.js} +3 -3
- package/dist/{chunk-QXYWLO6W.js → chunk-CYYQ6577.js} +28 -5
- package/dist/{chunk-O3UAQAYA.js → chunk-E6C5NR46.js} +10 -2
- package/dist/{chunk-CRAXJAYJ.js → chunk-G45QP2ZD.js} +3 -3
- package/dist/{chunk-BILEJG3V.js → chunk-GFRC6JQN.js} +5 -5
- package/dist/{chunk-YXOOSFAF.js → chunk-IMO7AZI4.js} +2 -2
- package/dist/{chunk-DJU54RYW.js → chunk-PGPSIEMW.js} +13 -0
- package/dist/{chunk-P3DCZRER.js → chunk-PPJ5JTWA.js} +1 -0
- package/dist/{chunk-5ELC3KK3.js → chunk-QNJXJIWJ.js} +5 -5
- package/dist/{chunk-JFOPOMK7.js → chunk-WDDUIGFK.js} +13 -0
- package/dist/{chunk-IVXPXYH2.js → chunk-WURF67ID.js} +5 -5
- package/dist/{chunk-R3YKDTVE.js → chunk-YJJ2A5CI.js} +1572 -1529
- package/dist/{chunk-QLWMHQPH.js → chunk-YLGBQVRK.js} +1 -0
- package/dist/{coordinator-prompt-5UINTEA6.js → coordinator-prompt-WQIICPT6.js} +4 -4
- package/dist/{coordinator-prompt-ATK73HYU.js → coordinator-prompt-ZBYRREHD.js} +4 -4
- package/dist/{global-workspace-ZJBBICFJ.js → global-workspace-2N6KISDO.js} +4 -4
- package/dist/{global-workspace-TD5SARNW.js → global-workspace-3SQU4GL4.js} +4 -4
- package/dist/index.cjs +590 -470
- package/dist/index.d.cts +50 -3
- package/dist/index.d.ts +50 -3
- package/dist/index.js +73 -39
- package/dist/mcp/run-stdio.cjs +1649 -1552
- package/dist/mcp/run-stdio.js +51 -37
- package/dist/{orchestrator-VYNPNHY4.js → orchestrator-ABF6QFE6.js} +7 -7
- package/dist/{orchestrator-66ZFQHW5.js → orchestrator-ZJ6SYGW7.js} +7 -7
- package/dist/{plan-file-UUKCZEYP.js → plan-file-7MMIPV7Y.js} +9 -1
- package/dist/{plan-file-2EPHYRX7.js → plan-file-CKXUFTQ2.js} +9 -1
- package/dist/{thread-store-YOPKY74K.js → thread-store-JQB7KZJR.js} +1 -1
- package/dist/{thread-store-AYPBEZT5.js → thread-store-SCV2IZYS.js} +1 -1
- package/dist/{workspaces-JX5R4V24.js → workspaces-CFI7XVAE.js} +4 -4
- package/dist/{workspaces-4SFSCYKT.js → workspaces-QLKWW3O2.js} +4 -4
- package/dist/{worktree-AGVPKDBH.js → worktree-4UAOZUJ4.js} +5 -3
- package/dist/{worktree-Y5FES5D6.js → worktree-PK3QETXO.js} +5 -3
- package/package.json +1 -1
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
toAbleTimeIssueInfo,
|
|
16
16
|
updateAbleTimeTask,
|
|
17
17
|
verifyAbleTimeConnection
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-G45QP2ZD.js";
|
|
19
|
+
import "./chunk-43F44EKX.js";
|
|
20
|
+
import "./chunk-QNJXJIWJ.js";
|
|
21
21
|
import "./chunk-N7WZ6NIN.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PPJ5JTWA.js";
|
|
23
23
|
import "./chunk-WDRMZKVB.js";
|
|
24
24
|
import "./chunk-JT7R45JB.js";
|
|
25
25
|
import "./chunk-77WWLBCI.js";
|
|
@@ -17,11 +17,11 @@ import {
|
|
|
17
17
|
toAbleTimeIssueInfo,
|
|
18
18
|
updateAbleTimeTask,
|
|
19
19
|
verifyAbleTimeConnection
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-BL2UGKWU.js";
|
|
21
|
+
import "./chunk-IMO7AZI4.js";
|
|
22
|
+
import "./chunk-WURF67ID.js";
|
|
23
23
|
import "./chunk-VKQGAWHY.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-YLGBQVRK.js";
|
|
25
25
|
import "./chunk-NSTQ6QKD.js";
|
|
26
26
|
import "./chunk-KGZBYWZ3.js";
|
|
27
27
|
import "./chunk-KK63BFYN.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DEFAULT_ABLETIME_HOST,
|
|
5
5
|
normalizeAbleTimeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WURF67ID.js";
|
|
7
7
|
import {
|
|
8
8
|
httpFetch
|
|
9
9
|
} from "./chunk-VKQGAWHY.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
getAbleTimeHost,
|
|
13
13
|
loadAppSettings,
|
|
14
14
|
saveAbleTimeConnection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YLGBQVRK.js";
|
|
16
16
|
import "./chunk-NSTQ6QKD.js";
|
|
17
17
|
import "./chunk-KGZBYWZ3.js";
|
|
18
18
|
import "./chunk-KK63BFYN.js";
|
|
@@ -287,7 +287,7 @@ async function startAbleTimeOAuth(opts) {
|
|
|
287
287
|
persistAbleTimeTokens(data, { host });
|
|
288
288
|
const token = data.access_token.trim();
|
|
289
289
|
try {
|
|
290
|
-
const { getAbleTimeOrientation } = await import("./abletime-
|
|
290
|
+
const { getAbleTimeOrientation } = await import("./abletime-OI6FNSXX.js");
|
|
291
291
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
292
292
|
return saveAbleTimeConnection({
|
|
293
293
|
accessToken: token,
|
|
@@ -20,10 +20,10 @@ import {
|
|
|
20
20
|
parseAbleTimeOAuthCallbackUrl,
|
|
21
21
|
resolveAbleTimeOAuthHost,
|
|
22
22
|
startAbleTimeOAuth
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-C64YQAA6.js";
|
|
24
|
+
import "./chunk-QNJXJIWJ.js";
|
|
25
25
|
import "./chunk-N7WZ6NIN.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-PPJ5JTWA.js";
|
|
27
27
|
import "./chunk-WDRMZKVB.js";
|
|
28
28
|
import "./chunk-JT7R45JB.js";
|
|
29
29
|
import "./chunk-77WWLBCI.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
callAbleTimeRestTool,
|
|
6
6
|
looksLikeAbleTimeUlid,
|
|
7
7
|
textFromAbleTimeDoc
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-43F44EKX.js";
|
|
9
|
+
import "./chunk-QNJXJIWJ.js";
|
|
10
10
|
import "./chunk-N7WZ6NIN.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-PPJ5JTWA.js";
|
|
12
12
|
import "./chunk-WDRMZKVB.js";
|
|
13
13
|
import "./chunk-JT7R45JB.js";
|
|
14
14
|
import "./chunk-77WWLBCI.js";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
callAbleTimeRestTool,
|
|
8
8
|
looksLikeAbleTimeUlid,
|
|
9
9
|
textFromAbleTimeDoc
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-IMO7AZI4.js";
|
|
11
|
+
import "./chunk-WURF67ID.js";
|
|
12
12
|
import "./chunk-VKQGAWHY.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-YLGBQVRK.js";
|
|
14
14
|
import "./chunk-NSTQ6QKD.js";
|
|
15
15
|
import "./chunk-KGZBYWZ3.js";
|
|
16
16
|
import "./chunk-KK63BFYN.js";
|
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
CLAUDE_MODEL_CATALOG,
|
|
5
5
|
CURSOR_SDK_INSTALL_HINT,
|
|
6
6
|
PLAN_MODE_INSTRUCTION,
|
|
7
|
+
PLAN_MODE_OFF_INSTRUCTION,
|
|
7
8
|
allAdapters,
|
|
8
9
|
brightsyAdapter,
|
|
9
10
|
claudeAdapter,
|
|
@@ -45,6 +46,7 @@ import {
|
|
|
45
46
|
parseCursorRunnerLine,
|
|
46
47
|
parseSessionQuotaResetAt,
|
|
47
48
|
permissionMode,
|
|
49
|
+
planModeTurnInstruction,
|
|
48
50
|
preferredCursorCostCents,
|
|
49
51
|
prepareTerminalCommand,
|
|
50
52
|
resolveCursorModelId,
|
|
@@ -53,14 +55,14 @@ import {
|
|
|
53
55
|
resolveQuotaFallbackAgent,
|
|
54
56
|
turnCostUsdFromCursorUsage,
|
|
55
57
|
whichOnPath
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-2QRU4IFI.js";
|
|
59
|
+
import "./chunk-576S3HJ7.js";
|
|
58
60
|
import "./chunk-J5GON4SU.js";
|
|
59
61
|
import "./chunk-P2BSMNHB.js";
|
|
60
62
|
import "./chunk-VKQGAWHY.js";
|
|
61
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-5ZFULOTC.js";
|
|
62
64
|
import "./chunk-D6JWYJ4P.js";
|
|
63
|
-
import "./chunk-
|
|
65
|
+
import "./chunk-7HOKP4GR.js";
|
|
64
66
|
import "./chunk-N6XI5KXL.js";
|
|
65
67
|
import "./chunk-DD67JWTN.js";
|
|
66
68
|
import {
|
|
@@ -79,7 +81,7 @@ import {
|
|
|
79
81
|
assertOrchestratorCapableAgent,
|
|
80
82
|
coerceOrchestratorAgent,
|
|
81
83
|
isOrchestratorCapableAgent
|
|
82
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-YLGBQVRK.js";
|
|
83
85
|
import "./chunk-NSTQ6QKD.js";
|
|
84
86
|
import "./chunk-KGZBYWZ3.js";
|
|
85
87
|
import "./chunk-KK63BFYN.js";
|
|
@@ -90,6 +92,7 @@ export {
|
|
|
90
92
|
CURSOR_SDK_INSTALL_HINT,
|
|
91
93
|
ORCHESTRATOR_AGENT_KINDS,
|
|
92
94
|
PLAN_MODE_INSTRUCTION,
|
|
95
|
+
PLAN_MODE_OFF_INSTRUCTION,
|
|
93
96
|
allAdapters,
|
|
94
97
|
assertOrchestratorCapableAgent,
|
|
95
98
|
brightsyAdapter,
|
|
@@ -140,6 +143,7 @@ export {
|
|
|
140
143
|
parseCursorRunnerLine,
|
|
141
144
|
parseSessionQuotaResetAt,
|
|
142
145
|
permissionMode,
|
|
146
|
+
planModeTurnInstruction,
|
|
143
147
|
posixShellSingleQuote,
|
|
144
148
|
preferredCursorCostCents,
|
|
145
149
|
prepareTerminalCommand,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CLAUDE_MODEL_CATALOG,
|
|
3
3
|
PLAN_MODE_INSTRUCTION,
|
|
4
|
+
PLAN_MODE_OFF_INSTRUCTION,
|
|
4
5
|
allAdapters,
|
|
5
6
|
brightsyAdapter,
|
|
6
7
|
claudeAdapter,
|
|
@@ -39,14 +40,15 @@ import {
|
|
|
39
40
|
parseClaudeUsagePayload,
|
|
40
41
|
parseSessionQuotaResetAt,
|
|
41
42
|
permissionMode,
|
|
43
|
+
planModeTurnInstruction,
|
|
42
44
|
prepareTerminalCommand,
|
|
43
45
|
resolveCursorModelId,
|
|
44
46
|
resolveLoginCommand,
|
|
45
47
|
resolveQuotaFallbackAgent,
|
|
46
48
|
whichOnPath
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
49
|
+
} from "./chunk-CYYQ6577.js";
|
|
50
|
+
import "./chunk-GFRC6JQN.js";
|
|
51
|
+
import "./chunk-E6C5NR46.js";
|
|
50
52
|
import "./chunk-6K64FJDD.js";
|
|
51
53
|
import "./chunk-2P4XKWV2.js";
|
|
52
54
|
import "./chunk-CJKL7A4G.js";
|
|
@@ -66,10 +68,10 @@ import {
|
|
|
66
68
|
assertOrchestratorCapableAgent,
|
|
67
69
|
coerceOrchestratorAgent,
|
|
68
70
|
isOrchestratorCapableAgent
|
|
69
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-PPJ5JTWA.js";
|
|
70
72
|
import "./chunk-WDRMZKVB.js";
|
|
71
73
|
import "./chunk-JT7R45JB.js";
|
|
72
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-6I5YQTNK.js";
|
|
73
75
|
import "./chunk-224IXQOM.js";
|
|
74
76
|
import "./chunk-77WWLBCI.js";
|
|
75
77
|
import "./chunk-A4JGXX2F.js";
|
|
@@ -90,6 +92,7 @@ export {
|
|
|
90
92
|
CURSOR_SDK_INSTALL_HINT,
|
|
91
93
|
ORCHESTRATOR_AGENT_KINDS,
|
|
92
94
|
PLAN_MODE_INSTRUCTION,
|
|
95
|
+
PLAN_MODE_OFF_INSTRUCTION,
|
|
93
96
|
allAdapters,
|
|
94
97
|
assertOrchestratorCapableAgent,
|
|
95
98
|
brightsyAdapter,
|
|
@@ -140,6 +143,7 @@ export {
|
|
|
140
143
|
parseCursorRunnerLine,
|
|
141
144
|
parseSessionQuotaResetAt,
|
|
142
145
|
permissionMode,
|
|
146
|
+
planModeTurnInstruction,
|
|
143
147
|
posixShellSingleQuote,
|
|
144
148
|
preferredCursorCostCents,
|
|
145
149
|
prepareTerminalCommand,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
isOrchestratorThread
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-576S3HJ7.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-5ZFULOTC.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-YLGBQVRK.js";
|
|
41
41
|
import {
|
|
42
42
|
appDataDir
|
|
43
43
|
} from "./chunk-KK63BFYN.js";
|
|
@@ -1247,6 +1247,10 @@ var SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS = ["mcp__sideboard__linear_*"];
|
|
|
1247
1247
|
var SIDEBOARD_ABLETIME_MCP_ALLOWED_TOOLS = ["mcp__sideboard__abletime_*"];
|
|
1248
1248
|
function sideboardWorktreeAllowedTools(opts) {
|
|
1249
1249
|
const out = [...SIDEBOARD_ARTIFACT_MCP_ALLOWED_TOOLS];
|
|
1250
|
+
if (!opts?.planMode) {
|
|
1251
|
+
const idx = out.indexOf("mcp__sideboard__present_plan");
|
|
1252
|
+
if (idx >= 0) out.splice(idx, 1);
|
|
1253
|
+
}
|
|
1250
1254
|
if (opts?.github !== false) out.push(...SIDEBOARD_GITHUB_MCP_ALLOWED_TOOLS);
|
|
1251
1255
|
if (opts?.linear) out.push(...SIDEBOARD_LINEAR_MCP_ALLOWED_TOOLS);
|
|
1252
1256
|
if (opts?.abletime) out.push(...SIDEBOARD_ABLETIME_MCP_ALLOWED_TOOLS);
|
|
@@ -2044,6 +2048,9 @@ function skillToolFromTextPart(part, id) {
|
|
|
2044
2048
|
updatedAt: Date.now()
|
|
2045
2049
|
};
|
|
2046
2050
|
}
|
|
2051
|
+
function compactSummaryPart(text, id = "compact-summary") {
|
|
2052
|
+
return compactToolPart(text, id, { status: "done" });
|
|
2053
|
+
}
|
|
2047
2054
|
function compactToolPart(text, id, opts) {
|
|
2048
2055
|
const input = { trigger: opts?.trigger ?? "auto" };
|
|
2049
2056
|
return withPartTimes(
|
|
@@ -2321,6 +2328,17 @@ function partsToAssistantText(parts) {
|
|
|
2321
2328
|
(p) => p.type === "text" && !messagePartParentId(p)
|
|
2322
2329
|
).map((p) => p.text).join("").trim();
|
|
2323
2330
|
}
|
|
2331
|
+
function lastAssistantMessageText(parts) {
|
|
2332
|
+
if (!parts?.length) return "";
|
|
2333
|
+
for (let i = parts.length - 1; i >= 0; i--) {
|
|
2334
|
+
const p = parts[i];
|
|
2335
|
+
if (!p || p.type !== "text" || messagePartParentId(p)) continue;
|
|
2336
|
+
const text = p.text.trim();
|
|
2337
|
+
if (!text || isInternalAgentStatusText(text)) continue;
|
|
2338
|
+
return text;
|
|
2339
|
+
}
|
|
2340
|
+
return "";
|
|
2341
|
+
}
|
|
2324
2342
|
function stripBrightsyNdjsonNoise(text) {
|
|
2325
2343
|
if (!text || !text.includes('"type"')) return text;
|
|
2326
2344
|
let out = text;
|
|
@@ -2348,6 +2366,10 @@ function normalizeParseResult(parsed) {
|
|
|
2348
2366
|
|
|
2349
2367
|
// src/agents/types.ts
|
|
2350
2368
|
var PLAN_MODE_INSTRUCTION = "Plan mode is active and must remain active until the user turns Plan mode off in the UI (or Approves / Hands off the plan). Analyze the codebase, search and read files as needed, and produce or refine a clear implementation plan. Do not modify, create, or delete any project files except via Sideboard MCP present_plan (writes .context/attachments/plan.md). When you need a clarifying decision (approach forks, auth choice, scope) \u2014 not greetings, check-ins, or an invented task menu: (1) first write a short chat message that explains the decision and what each option means (tradeoffs, when to pick it) \u2014 do not leave the user staring at bare labels; (2) then call Sideboard MCP ask_user with the same options, including a description on every option. If one option is the obvious default, proceed without asking. Sideboard shows questions in the composer and mirrors them in chat. After ask_user, wait for the user's next message with their answers before finalizing the plan. When the plan is ready for approval: (1) call present_plan with the full markdown plan (title + content) so Sideboard saves .context/attachments/plan.md and shows it in chat for Approve / Hand off / Copy; (2) Claude should also call ExitPlanMode after present_plan. Do not skip present_plan \u2014 the plan must be a markdown file, not only chat prose.";
|
|
2369
|
+
var PLAN_MODE_OFF_INSTRUCTION = "Plan mode is off. Do not call present_plan or ExitPlanMode \u2014 those only work when the user turns Plan on in the composer. If you need to propose an approach, write it in chat.";
|
|
2370
|
+
function planModeTurnInstruction(planMode) {
|
|
2371
|
+
return planMode ? PLAN_MODE_INSTRUCTION : PLAN_MODE_OFF_INSTRUCTION;
|
|
2372
|
+
}
|
|
2351
2373
|
function permissionMode(thread) {
|
|
2352
2374
|
if (thread.sourceType === "orchestration") {
|
|
2353
2375
|
return {
|
|
@@ -2830,7 +2852,7 @@ var claudeAdapter = {
|
|
|
2830
2852
|
);
|
|
2831
2853
|
}
|
|
2832
2854
|
const mode = permissionMode(thread);
|
|
2833
|
-
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-
|
|
2855
|
+
const { isOrchestratorThread: isOrchestratorThread2 } = await import("./global-workspace-3SQU4GL4.js");
|
|
2834
2856
|
const isOrchestrator = isOrchestratorThread2(thread);
|
|
2835
2857
|
const injectedServers = await buildInjectedMcpServers({
|
|
2836
2858
|
includeSideboard: true,
|
|
@@ -2857,7 +2879,8 @@ var claudeAdapter = {
|
|
|
2857
2879
|
...sideboardWorktreeAllowedTools({
|
|
2858
2880
|
github: true,
|
|
2859
2881
|
linear: isLinearConnected(),
|
|
2860
|
-
abletime: isAbleTimeConnected()
|
|
2882
|
+
abletime: isAbleTimeConnected(),
|
|
2883
|
+
planMode: thread.planMode
|
|
2861
2884
|
}),
|
|
2862
2885
|
...brightsyMcpAllowedTools(injectedBrightsyNames)
|
|
2863
2886
|
];
|
|
@@ -5226,13 +5249,17 @@ export {
|
|
|
5226
5249
|
isPollWrapperToolName,
|
|
5227
5250
|
liveActivitySummary,
|
|
5228
5251
|
clipAgentEventForPaint,
|
|
5252
|
+
compactSummaryPart,
|
|
5229
5253
|
applyAgentEvent,
|
|
5230
5254
|
partsToAssistantText,
|
|
5255
|
+
lastAssistantMessageText,
|
|
5231
5256
|
stripBrightsyNdjsonNoise,
|
|
5232
5257
|
isBrightsyNdjsonLine,
|
|
5233
5258
|
finalizeParts,
|
|
5234
5259
|
normalizeParseResult,
|
|
5235
5260
|
PLAN_MODE_INSTRUCTION,
|
|
5261
|
+
PLAN_MODE_OFF_INSTRUCTION,
|
|
5262
|
+
planModeTurnInstruction,
|
|
5236
5263
|
permissionMode,
|
|
5237
5264
|
mcpStatusThinkingFromClaudeInit,
|
|
5238
5265
|
claudeAdapter,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
normalizeAbleTimeCredential,
|
|
5
5
|
normalizeAbleTimeHost,
|
|
6
6
|
rewriteAbleTimeError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-QNJXJIWJ.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-PPJ5JTWA.js";
|
|
15
15
|
|
|
16
16
|
// src/integrations/abletime-rest.ts
|
|
17
17
|
var ABLETIME_REST_PREFIX = "/api/public/v2";
|