@sideboard-ai/core 0.1.202 → 0.1.204
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-KGPD3UUJ.js → abletime-S3UHQZVW.js} +4 -2
- package/dist/{abletime-345SE3B4.js → abletime-TONBQP4O.js} +4 -2
- package/dist/abletime-oauth-AVCEO2DY.js +314 -0
- package/dist/abletime-oauth-SD4SZY5U.js +52 -0
- package/dist/abletime-rest-6ODSXV7G.js +25 -0
- package/dist/abletime-rest-J2OBB4VA.js +24 -0
- package/dist/agents/cursor-runner.js +1 -1
- package/dist/{agents-573ZDIX6.js → agents-67K4BQFJ.js} +4 -4
- package/dist/{agents-OXX3ONVY.js → agents-BVOJNHV6.js} +5 -5
- package/dist/{app-settings-V6IHESEQ.js → app-settings-LGHMNHSP.js} +1 -1
- package/dist/{app-settings-AXCURTZJ.js → app-settings-YEPF46IJ.js} +1 -1
- package/dist/chunk-3K257PCS.js +393 -0
- package/dist/{chunk-54RSAMBH.js → chunk-5SMS6QTO.js} +2 -2
- package/dist/chunk-6Q7DFVDQ.js +309 -0
- package/dist/chunk-CYLDJWRK.js +391 -0
- package/dist/{chunk-PGQGP4FD.js → chunk-FO2NTJ7L.js} +37 -219
- package/dist/{chunk-7NKY2OX7.js → chunk-FO45DMJ5.js} +125 -109
- package/dist/{chunk-CQ5R3VPP.js → chunk-KZ7PI7FE.js} +18 -0
- package/dist/{chunk-7AHAABKN.js → chunk-QAVWH2RQ.js} +37 -229
- package/dist/{chunk-CXFW5LIH.js → chunk-QFBBUFD4.js} +38 -3
- package/dist/{chunk-RPX6VDW7.js → chunk-QUW5D62C.js} +34 -20
- package/dist/chunk-SGUVAK66.js +262 -0
- package/dist/{chunk-27GGXX27.js → chunk-ULZLWQBS.js} +128 -112
- package/dist/{chunk-LJHC62LZ.js → chunk-VIPA75ZA.js} +2 -2
- package/dist/chunk-W6VM36YO.js +272 -0
- package/dist/{chunk-NIVF5NDN.js → chunk-WF33LOP4.js} +44 -6
- package/dist/{chunk-STPZQR5B.js → chunk-WVATAIF4.js} +34 -20
- package/dist/{chunk-ISV5IFH3.js → chunk-X743YN5Y.js} +38 -3
- package/dist/{chunk-A2TAKYSG.js → chunk-YOSTWSNC.js} +27 -7
- package/dist/{coordinator-prompt-BH4EHFOO.js → coordinator-prompt-NPT555BO.js} +3 -3
- package/dist/{coordinator-prompt-TY5FHAXC.js → coordinator-prompt-WEPXXLLX.js} +3 -3
- package/dist/{global-workspace-NLLAPQJI.js → global-workspace-2I2T7FL5.js} +3 -3
- package/dist/{global-workspace-5AZEEQRU.js → global-workspace-NSILADOM.js} +3 -3
- package/dist/index.cjs +1137 -213
- package/dist/index.d.cts +87 -13
- package/dist/index.d.ts +87 -13
- package/dist/index.js +94 -19
- package/dist/mcp/run-stdio.cjs +1023 -180
- package/dist/mcp/run-stdio.js +22 -20
- package/dist/{orchestrator-JNSQDRZI.js → orchestrator-CMAVNELS.js} +6 -6
- package/dist/{orchestrator-NCYKEI3E.js → orchestrator-I7GFXLHF.js} +6 -6
- package/dist/{workspaces-RP76JH3J.js → workspaces-BOC6M7BW.js} +3 -3
- package/dist/{workspaces-PEWYWVHZ.js → workspaces-RFGZBUAR.js} +3 -3
- package/dist/{worktree-72TZWUSH.js → worktree-G3ZLM4DC.js} +4 -2
- package/dist/{worktree-ZQEUKSNE.js → worktree-WSUQMMK4.js} +4 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
ABLETIME_OAUTH_CALLBACK_PATH,
|
|
3
|
+
ABLETIME_OAUTH_CANCELLED,
|
|
4
|
+
ABLETIME_OAUTH_LOCAL_CALLBACK,
|
|
5
|
+
ABLETIME_OAUTH_PORT,
|
|
6
|
+
ABLETIME_OAUTH_REDIRECT,
|
|
7
|
+
ABLETIME_OAUTH_RESOURCE,
|
|
8
|
+
AbleTimeOAuthCancelledError,
|
|
9
|
+
BAKED_ABLETIME_OAUTH_CLIENT_ID,
|
|
10
|
+
ableTimeOAuthAuthorizeUrl,
|
|
11
|
+
ableTimeOAuthBouncePage,
|
|
12
|
+
ableTimeOAuthClientId,
|
|
13
|
+
ableTimeOAuthLocalBounceUrl,
|
|
14
|
+
ableTimeOAuthRedirectUri,
|
|
15
|
+
ableTimeOAuthResource,
|
|
16
|
+
createAbleTimePkce,
|
|
17
|
+
ensureAbleTimeAccessToken,
|
|
18
|
+
hasBakedAbleTimeOAuth,
|
|
19
|
+
isAbleTimeOAuthCancelled,
|
|
20
|
+
parseAbleTimeOAuthCallbackUrl,
|
|
21
|
+
startAbleTimeOAuth
|
|
22
|
+
} from "./chunk-6Q7DFVDQ.js";
|
|
23
|
+
import {
|
|
6
24
|
ableTimeDependencyTarget,
|
|
7
|
-
abletimeMcpRequest,
|
|
8
|
-
abletimeMcpUrl,
|
|
9
|
-
abletimeToolUsesPm,
|
|
10
|
-
callAbleTimeTool,
|
|
11
25
|
commentAbleTimeTask,
|
|
12
26
|
createAbleTimeTask,
|
|
13
27
|
ensureAbleTimeTask,
|
|
@@ -18,14 +32,34 @@ import {
|
|
|
18
32
|
listAbleTimeProjects,
|
|
19
33
|
listAbleTimeTasks,
|
|
20
34
|
mapAbleTimeTask,
|
|
21
|
-
normalizeAbleTimeHost,
|
|
22
|
-
rewriteAbleTimeError,
|
|
23
35
|
searchAbleTimeTasks,
|
|
24
36
|
taskUrl,
|
|
25
37
|
toAbleTimeIssueInfo,
|
|
26
38
|
updateAbleTimeTask,
|
|
27
39
|
verifyAbleTimeConnection
|
|
28
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-QAVWH2RQ.js";
|
|
41
|
+
import "./chunk-CYLDJWRK.js";
|
|
42
|
+
import {
|
|
43
|
+
ABLETIME_MCP_PATH,
|
|
44
|
+
ABLETIME_MCP_PM_PATH,
|
|
45
|
+
ABLETIME_OAUTH_TOKEN_PREFIX,
|
|
46
|
+
ABLETIME_ORG_KEY_PREFIX,
|
|
47
|
+
ABLETIME_PAT_PREFIX,
|
|
48
|
+
ABLETIME_PM_TOOL_NAMES,
|
|
49
|
+
DEFAULT_ABLETIME_HOST,
|
|
50
|
+
ableTimeCredentialKind,
|
|
51
|
+
ableTimeUsesRest,
|
|
52
|
+
abletimeMcpRequest,
|
|
53
|
+
abletimeMcpUrl,
|
|
54
|
+
abletimeToolUsesPm,
|
|
55
|
+
assertAbleTimeCredential,
|
|
56
|
+
assertAbleTimeMcpCredential,
|
|
57
|
+
callAbleTimeTool,
|
|
58
|
+
isAbleTimeRejectedCredential,
|
|
59
|
+
normalizeAbleTimeCredential,
|
|
60
|
+
normalizeAbleTimeHost,
|
|
61
|
+
rewriteAbleTimeError
|
|
62
|
+
} from "./chunk-W6VM36YO.js";
|
|
29
63
|
import {
|
|
30
64
|
AGENT_GIT_ACTIONS,
|
|
31
65
|
BOARD_COLUMN_DEFS,
|
|
@@ -270,7 +304,7 @@ import {
|
|
|
270
304
|
worktreeCleanupSettings,
|
|
271
305
|
wrapReviewSkillMarkdown,
|
|
272
306
|
writeWorktreeFile
|
|
273
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-FO45DMJ5.js";
|
|
274
308
|
import {
|
|
275
309
|
LEGACY_PLAN_FILE_REL,
|
|
276
310
|
PLAN_FILE_NAME,
|
|
@@ -390,7 +424,7 @@ import {
|
|
|
390
424
|
withEventParentId,
|
|
391
425
|
withEventsParentId,
|
|
392
426
|
writeInjectedMcpConfig
|
|
393
|
-
} from "./chunk-
|
|
427
|
+
} from "./chunk-YOSTWSNC.js";
|
|
394
428
|
import {
|
|
395
429
|
CLOUD_COORDINATOR_BUSY_REPLY,
|
|
396
430
|
CLOUD_COORDINATOR_STOPPED_REPLY,
|
|
@@ -433,7 +467,7 @@ import {
|
|
|
433
467
|
stageBuffersAsAttachments,
|
|
434
468
|
syncWorkspacesFromThreads,
|
|
435
469
|
takenTeamSlugsForOrchestration
|
|
436
|
-
} from "./chunk-
|
|
470
|
+
} from "./chunk-VIPA75ZA.js";
|
|
437
471
|
import {
|
|
438
472
|
FAMOUS_SOCCER_TEAMS,
|
|
439
473
|
GITHUB_PR_BODY_MAX_CHARS,
|
|
@@ -452,6 +486,7 @@ import {
|
|
|
452
486
|
codexUnattendedGitConfigArgs,
|
|
453
487
|
collectTakenTeamSlugs,
|
|
454
488
|
commitAll,
|
|
489
|
+
connectedPrSelectors,
|
|
455
490
|
countUnpushedVsOrigin,
|
|
456
491
|
createExistingBranchWorktree,
|
|
457
492
|
createOrUpdatePr,
|
|
@@ -530,7 +565,7 @@ import {
|
|
|
530
565
|
worktreeDisplayLabelForGroup,
|
|
531
566
|
worktreeNameFromPath,
|
|
532
567
|
worktreeSlugForTicket
|
|
533
|
-
} from "./chunk-
|
|
568
|
+
} from "./chunk-WVATAIF4.js";
|
|
534
569
|
import {
|
|
535
570
|
ATTACHMENTS_DIR,
|
|
536
571
|
CLI_DIR,
|
|
@@ -576,7 +611,7 @@ import {
|
|
|
576
611
|
trustSystemCertificates,
|
|
577
612
|
turnCostUsdFromCursorUsage,
|
|
578
613
|
withMaxOldSpaceSize
|
|
579
|
-
} from "./chunk-
|
|
614
|
+
} from "./chunk-KZ7PI7FE.js";
|
|
580
615
|
import {
|
|
581
616
|
FOLLOW_UP_BEHAVIORS,
|
|
582
617
|
GITHUB_GIT_AUTH_MODES,
|
|
@@ -677,7 +712,7 @@ import {
|
|
|
677
712
|
updateProjectProfileSettings,
|
|
678
713
|
usageOnLimit,
|
|
679
714
|
writeViewerContext
|
|
680
|
-
} from "./chunk-
|
|
715
|
+
} from "./chunk-QFBBUFD4.js";
|
|
681
716
|
import {
|
|
682
717
|
stripNestedElectronEnv
|
|
683
718
|
} from "./chunk-4TR3HZFT.js";
|
|
@@ -5195,7 +5230,7 @@ async function startMcpServer() {
|
|
|
5195
5230
|
);
|
|
5196
5231
|
}
|
|
5197
5232
|
try {
|
|
5198
|
-
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-
|
|
5233
|
+
const { maxConcurrentAgents: maxConcurrentAgents2 } = await import("./app-settings-YEPF46IJ.js");
|
|
5199
5234
|
orch.setMaxConcurrent(maxConcurrentAgents2());
|
|
5200
5235
|
} catch {
|
|
5201
5236
|
}
|
|
@@ -5510,7 +5545,7 @@ async function startMcpServer() {
|
|
|
5510
5545
|
registerConnectedIssueVendorTools(server);
|
|
5511
5546
|
registerScheduleTools(server);
|
|
5512
5547
|
const { getCaffeinateHold: getCaffeinateHold2, setCaffeinateHold: setCaffeinateHold2 } = await import("./caffeinate-hold-22VFDPSO.js");
|
|
5513
|
-
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-
|
|
5548
|
+
const { resolveNewThreadOptions: resolveNewThreadOptions2, resolveThreadDefaults: resolveThreadDefaults2 } = await import("./app-settings-YEPF46IJ.js");
|
|
5514
5549
|
const accountDefaults = resolveThreadDefaults2();
|
|
5515
5550
|
const accountDefaultsHint = `Account defaults: agent=${accountDefaults.agent}, model=${accountDefaults.model?.trim() || "Auto"}, effort=${accountDefaults.effort}`;
|
|
5516
5551
|
server.tool(
|
|
@@ -8348,6 +8383,16 @@ async function startSlackRelayServer(opts) {
|
|
|
8348
8383
|
const reqUrl = req.url || "/";
|
|
8349
8384
|
if (await handleCallback(reqUrl, res)) return;
|
|
8350
8385
|
if (handleResult(reqUrl, res)) return;
|
|
8386
|
+
const ableTimeBounce = ableTimeOAuthLocalBounceUrl(reqUrl);
|
|
8387
|
+
if (ableTimeBounce && (req.method === "GET" || req.method === "HEAD")) {
|
|
8388
|
+
res.writeHead(200, {
|
|
8389
|
+
"Content-Type": "text/html; charset=utf-8",
|
|
8390
|
+
"Cache-Control": "no-store",
|
|
8391
|
+
Refresh: `0;url=${ableTimeBounce}`
|
|
8392
|
+
});
|
|
8393
|
+
res.end(req.method === "HEAD" ? "" : ableTimeOAuthBouncePage(ableTimeBounce));
|
|
8394
|
+
return;
|
|
8395
|
+
}
|
|
8351
8396
|
if (req.url === "/health") {
|
|
8352
8397
|
sendJson(res, 200, {
|
|
8353
8398
|
ok: true,
|
|
@@ -8476,10 +8521,21 @@ async function startSlackRelayServer(opts) {
|
|
|
8476
8521
|
export {
|
|
8477
8522
|
ABLETIME_MCP_PATH,
|
|
8478
8523
|
ABLETIME_MCP_PM_PATH,
|
|
8524
|
+
ABLETIME_OAUTH_CALLBACK_PATH,
|
|
8525
|
+
ABLETIME_OAUTH_CANCELLED,
|
|
8526
|
+
ABLETIME_OAUTH_LOCAL_CALLBACK,
|
|
8527
|
+
ABLETIME_OAUTH_PORT,
|
|
8528
|
+
ABLETIME_OAUTH_REDIRECT,
|
|
8529
|
+
ABLETIME_OAUTH_RESOURCE,
|
|
8530
|
+
ABLETIME_OAUTH_TOKEN_PREFIX,
|
|
8531
|
+
ABLETIME_ORG_KEY_PREFIX,
|
|
8532
|
+
ABLETIME_PAT_PREFIX,
|
|
8479
8533
|
ABLETIME_PM_TOOL_NAMES,
|
|
8480
8534
|
AGENT_GIT_ACTIONS,
|
|
8481
8535
|
AGENT_RUNNER_MAX_OLD_SPACE_MB,
|
|
8482
8536
|
ATTACHMENTS_DIR,
|
|
8537
|
+
AbleTimeOAuthCancelledError,
|
|
8538
|
+
BAKED_ABLETIME_OAUTH_CLIENT_ID,
|
|
8483
8539
|
BAKED_SLACK_RELAY_URL,
|
|
8484
8540
|
BRIGHTSY_MCP_ALLOWED_TOOLS,
|
|
8485
8541
|
BRIGHTSY_SUMMARIZE_CONTEXT_TOOL,
|
|
@@ -8568,7 +8624,15 @@ export {
|
|
|
8568
8624
|
WORKTREE_GITHUB_MCP_TOOLS,
|
|
8569
8625
|
WORKTREE_LINEAR_MCP_TOOLS,
|
|
8570
8626
|
WORKTREE_MCP_TOOLS,
|
|
8627
|
+
ableTimeCredentialKind,
|
|
8571
8628
|
ableTimeDependencyTarget,
|
|
8629
|
+
ableTimeOAuthAuthorizeUrl,
|
|
8630
|
+
ableTimeOAuthBouncePage,
|
|
8631
|
+
ableTimeOAuthClientId,
|
|
8632
|
+
ableTimeOAuthLocalBounceUrl,
|
|
8633
|
+
ableTimeOAuthRedirectUri,
|
|
8634
|
+
ableTimeOAuthResource,
|
|
8635
|
+
ableTimeUsesRest,
|
|
8572
8636
|
abletimeMcpRequest,
|
|
8573
8637
|
abletimeMcpUrl,
|
|
8574
8638
|
abletimeToolUsesPm,
|
|
@@ -8599,6 +8663,8 @@ export {
|
|
|
8599
8663
|
applyThreadIntoMain,
|
|
8600
8664
|
applyTurnUsage,
|
|
8601
8665
|
armSchedules,
|
|
8666
|
+
assertAbleTimeCredential,
|
|
8667
|
+
assertAbleTimeMcpCredential,
|
|
8602
8668
|
assertOrchestratorCapableAgent,
|
|
8603
8669
|
attachmentFromAbsolutePath,
|
|
8604
8670
|
attachmentsFromBuffers,
|
|
@@ -8671,6 +8737,7 @@ export {
|
|
|
8671
8737
|
connectOptionalService,
|
|
8672
8738
|
connectSlackToken,
|
|
8673
8739
|
connectedOptionalServices,
|
|
8740
|
+
connectedPrSelectors,
|
|
8674
8741
|
contextTokens,
|
|
8675
8742
|
coordinatorSystemPrompt,
|
|
8676
8743
|
coordinatorTurnReminder,
|
|
@@ -8678,6 +8745,7 @@ export {
|
|
|
8678
8745
|
countCacheControlBlocks,
|
|
8679
8746
|
countUnpushedVsOrigin,
|
|
8680
8747
|
cowboyModeEnabled,
|
|
8748
|
+
createAbleTimePkce,
|
|
8681
8749
|
createAbleTimeTask,
|
|
8682
8750
|
createChatTab,
|
|
8683
8751
|
createEmptyThread,
|
|
@@ -8717,6 +8785,7 @@ export {
|
|
|
8717
8785
|
encodeBrightsyTarget,
|
|
8718
8786
|
enrichPathWithNpmGlobalBin,
|
|
8719
8787
|
enrichWorkspacesWithGithub,
|
|
8788
|
+
ensureAbleTimeAccessToken,
|
|
8720
8789
|
ensureAbleTimeTask,
|
|
8721
8790
|
ensureAgentPath,
|
|
8722
8791
|
ensureBrightsyLocalConfigFresh,
|
|
@@ -8863,6 +8932,7 @@ export {
|
|
|
8863
8932
|
groupHomeBoardWorktrees,
|
|
8864
8933
|
handleSlackInbound,
|
|
8865
8934
|
harnessEnvKey,
|
|
8935
|
+
hasBakedAbleTimeOAuth,
|
|
8866
8936
|
hasBakedLinearOAuth,
|
|
8867
8937
|
hasBakedSlackOAuth,
|
|
8868
8938
|
hasConductorHook,
|
|
@@ -8887,6 +8957,8 @@ export {
|
|
|
8887
8957
|
invalidateThreadListCache,
|
|
8888
8958
|
invalidateThreadRecord,
|
|
8889
8959
|
isAbleTimeConnected,
|
|
8960
|
+
isAbleTimeOAuthCancelled,
|
|
8961
|
+
isAbleTimeRejectedCredential,
|
|
8890
8962
|
isAskUserToolName,
|
|
8891
8963
|
isBrightsyConnected,
|
|
8892
8964
|
isBrightsyNdjsonLine,
|
|
@@ -9016,6 +9088,7 @@ export {
|
|
|
9016
9088
|
nextPastedTextName,
|
|
9017
9089
|
nextThinkingEffort,
|
|
9018
9090
|
nonInteractiveGitProcessEnv,
|
|
9091
|
+
normalizeAbleTimeCredential,
|
|
9019
9092
|
normalizeAbleTimeHost,
|
|
9020
9093
|
normalizeCodeSelection,
|
|
9021
9094
|
normalizeLinearRelationType,
|
|
@@ -9038,6 +9111,7 @@ export {
|
|
|
9038
9111
|
originFetchBranch,
|
|
9039
9112
|
originGhRepoEnv,
|
|
9040
9113
|
packagedDetachedJobPath,
|
|
9114
|
+
parseAbleTimeOAuthCallbackUrl,
|
|
9041
9115
|
parseClaudeUsagePayload,
|
|
9042
9116
|
parseCursorRunnerLine,
|
|
9043
9117
|
parseDurationMs,
|
|
@@ -9197,6 +9271,7 @@ export {
|
|
|
9197
9271
|
stackMergeReadiness,
|
|
9198
9272
|
stageAbsolutePathsAsAttachments,
|
|
9199
9273
|
stageBuffersAsAttachments,
|
|
9274
|
+
startAbleTimeOAuth,
|
|
9200
9275
|
startDevServer,
|
|
9201
9276
|
startLinearOAuth,
|
|
9202
9277
|
startMcpServer,
|