@sideboard-ai/core 0.1.217 → 0.1.218
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-QGGYL2G4.js → abletime-BF253OZT.js} +5 -4
- package/dist/{abletime-GDZLZRMY.js → abletime-D6773P33.js} +5 -5
- package/dist/{abletime-oauth-F335TWKY.js → abletime-oauth-H4672PRH.js} +4 -3
- package/dist/{abletime-oauth-3X3BAPTF.js → abletime-oauth-KQPVVBKA.js} +4 -4
- package/dist/{abletime-rest-PLJVY3H3.js → abletime-rest-DAFPXZ7H.js} +4 -4
- package/dist/{abletime-rest-LAGTPAJL.js → abletime-rest-OPEVV3XC.js} +4 -3
- package/dist/agents/cursor-runner.js +5 -5
- package/dist/{agents-WBDDLRBY.js → agents-NWJ7DFJD.js} +8 -7
- package/dist/{agents-HETHRRZJ.js → agents-YABJUV3V.js} +9 -9
- package/dist/{app-settings-XCRNCEEE.js → app-settings-5RQMQKSB.js} +2 -1
- package/dist/{app-settings-2TN3WLZV.js → app-settings-V2BBCX2H.js} +2 -2
- package/dist/{chunk-MN6YUD4O.js → chunk-3NWUHXU3.js} +3 -3
- package/dist/{chunk-G4TANQC3.js → chunk-646I442S.js} +5 -5
- package/dist/{chunk-FNQNJOHY.js → chunk-ABOBTSO6.js} +4 -1
- package/dist/{chunk-YVE4PXCJ.js → chunk-CLI5DVU4.js} +2 -2
- package/dist/{chunk-7MTVRNP4.js → chunk-FSIJGLSV.js} +1173 -1186
- package/dist/{chunk-LS6TSOCE.js → chunk-HSYE5ID6.js} +5 -5
- package/dist/{chunk-UFHNSFAS.js → chunk-HVUVQXZ2.js} +5 -1
- package/dist/{chunk-SALM35KD.js → chunk-IILG7DPX.js} +5 -5
- package/dist/{chunk-D2IKXMF3.js → chunk-JWBPSD7Q.js} +453 -289
- package/dist/{chunk-NI243N27.js → chunk-KTZESHYH.js} +15 -7
- package/dist/{chunk-KFD2OXCE.js → chunk-MW57SKKR.js} +19 -6
- package/dist/{chunk-XYKVRRC2.js → chunk-NFWPDEN4.js} +15 -7
- package/dist/{chunk-FNGXKY5W.js → chunk-OPYBLX4V.js} +19 -6
- package/dist/{chunk-QQKDGPUI.js → chunk-PO4M4JAJ.js} +1 -1
- package/dist/{chunk-2M5B7YNY.js → chunk-RRW2XWAY.js} +2 -2
- package/dist/{chunk-REZRGCKV.js → chunk-SOGGKYFV.js} +3 -3
- package/dist/{chunk-C32SBNA3.js → chunk-SRFFIFW6.js} +457 -294
- package/dist/{chunk-3OHR73VK.js → chunk-SVXIJ2IC.js} +1 -1
- package/dist/{chunk-SYFVUF2C.js → chunk-SZJZEFTY.js} +1 -1
- package/dist/{chunk-42IULNIY.js → chunk-THLVCXLF.js} +3 -3
- package/dist/{chunk-JZHRZ3DR.js → chunk-TQBUXKIB.js} +5 -5
- package/dist/chunk-WWUABK6B.js +56 -0
- package/dist/{chunk-DFTVZEZY.js → chunk-XRHTRXZN.js} +1051 -1050
- package/dist/{chunk-BTC2D6LS.js → chunk-Y5JES2VV.js} +3 -51
- package/dist/{connected-teams-WK47ATT7.js → connected-teams-LX5DLL2I.js} +3 -2
- package/dist/{connected-teams-PU4AMFNA.js → connected-teams-PQETXUWV.js} +3 -2
- package/dist/{coordinator-prompt-FQX6ALAI.js → coordinator-prompt-5V7GEPBG.js} +6 -6
- package/dist/{coordinator-prompt-LE2GQZ2X.js → coordinator-prompt-J4QSNTKE.js} +6 -5
- package/dist/{global-workspace-6P236KKG.js → global-workspace-4TEMLESD.js} +6 -6
- package/dist/{global-workspace-KT3FRHZL.js → global-workspace-XPTFHMKL.js} +6 -5
- package/dist/index.cjs +1027 -821
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +22 -18
- package/dist/mcp/run-stdio.cjs +1838 -1651
- package/dist/mcp/run-stdio.js +16 -14
- package/dist/{orchestrator-WVZPTHBV.js → orchestrator-HKW3VLGX.js} +10 -10
- package/dist/{orchestrator-MI7A5DQZ.js → orchestrator-SWRTYFHX.js} +9 -8
- package/dist/{run-EBWL2Q4N.js → run-QDZCTP4Y.js} +2 -1
- package/dist/{run-CAGKZLHA.js → run-UEQM4JMZ.js} +2 -1
- package/dist/{workspaces-KM7KTLVO.js → workspaces-2HQP654Q.js} +6 -5
- package/dist/{workspaces-R5LJCJRB.js → workspaces-BCBBMMXB.js} +6 -6
- package/dist/{worktree-MDMTCAHX.js → worktree-7V67XTEO.js} +5 -5
- package/dist/{worktree-VXRI7LYM.js → worktree-I573UOPD.js} +5 -4
- package/dist/{worktree-exclude-N5X5I422.js → worktree-exclude-K7QK4RI5.js} +3 -2
- package/dist/{worktree-exclude-X54WSOXM.js → worktree-exclude-L32WEBX6.js} +3 -2
- package/package.json +1 -1
- package/dist/{chunk-L5CIEBLR.js → chunk-EWHJNJHV.js} +3 -3
|
@@ -17,14 +17,15 @@ import {
|
|
|
17
17
|
toAbleTimeIssueInfo,
|
|
18
18
|
updateAbleTimeTask,
|
|
19
19
|
verifyAbleTimeConnection
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-THLVCXLF.js";
|
|
21
|
+
import "./chunk-CLI5DVU4.js";
|
|
22
|
+
import "./chunk-HSYE5ID6.js";
|
|
23
23
|
import "./chunk-VKQGAWHY.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-Y5JES2VV.js";
|
|
25
25
|
import "./chunk-NSTQ6QKD.js";
|
|
26
26
|
import "./chunk-KGZBYWZ3.js";
|
|
27
27
|
import "./chunk-EQNRWDLN.js";
|
|
28
|
+
import "./chunk-WWUABK6B.js";
|
|
28
29
|
import "./chunk-FJZWM2ON.js";
|
|
29
30
|
export {
|
|
30
31
|
ableTimeDependencyTarget,
|
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
toAbleTimeIssueInfo,
|
|
16
16
|
updateAbleTimeTask,
|
|
17
17
|
verifyAbleTimeConnection
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-SOGGKYFV.js";
|
|
19
|
+
import "./chunk-RRW2XWAY.js";
|
|
20
|
+
import "./chunk-646I442S.js";
|
|
21
21
|
import "./chunk-N7WZ6NIN.js";
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-4TR3HZFT.js";
|
|
22
|
+
import "./chunk-EWHJNJHV.js";
|
|
24
23
|
import "./chunk-WDRMZKVB.js";
|
|
25
24
|
import "./chunk-JT7R45JB.js";
|
|
26
25
|
import "./chunk-77WWLBCI.js";
|
|
27
26
|
import "./chunk-WFUDY6PC.js";
|
|
27
|
+
import "./chunk-4TR3HZFT.js";
|
|
28
28
|
export {
|
|
29
29
|
ableTimeDependencyTarget,
|
|
30
30
|
commentAbleTimeTask,
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import {
|
|
4
4
|
DEFAULT_ABLETIME_HOST,
|
|
5
5
|
normalizeAbleTimeHost
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HSYE5ID6.js";
|
|
7
7
|
import {
|
|
8
8
|
httpFetch
|
|
9
9
|
} from "./chunk-VKQGAWHY.js";
|
|
@@ -12,10 +12,11 @@ import {
|
|
|
12
12
|
getAbleTimeHost,
|
|
13
13
|
loadAppSettings,
|
|
14
14
|
saveAbleTimeConnection
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Y5JES2VV.js";
|
|
16
16
|
import "./chunk-NSTQ6QKD.js";
|
|
17
17
|
import "./chunk-KGZBYWZ3.js";
|
|
18
18
|
import "./chunk-EQNRWDLN.js";
|
|
19
|
+
import "./chunk-WWUABK6B.js";
|
|
19
20
|
import "./chunk-FJZWM2ON.js";
|
|
20
21
|
|
|
21
22
|
// src/integrations/abletime-oauth.ts
|
|
@@ -286,7 +287,7 @@ async function startAbleTimeOAuth(opts) {
|
|
|
286
287
|
persistAbleTimeTokens(data, { host });
|
|
287
288
|
const token = data.access_token.trim();
|
|
288
289
|
try {
|
|
289
|
-
const { getAbleTimeOrientation } = await import("./abletime-
|
|
290
|
+
const { getAbleTimeOrientation } = await import("./abletime-BF253OZT.js");
|
|
290
291
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
291
292
|
return saveAbleTimeConnection({
|
|
292
293
|
accessToken: token,
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
parseAbleTimeOAuthCallbackUrl,
|
|
21
21
|
resolveAbleTimeOAuthHost,
|
|
22
22
|
startAbleTimeOAuth
|
|
23
|
-
} from "./chunk-
|
|
24
|
-
import "./chunk-
|
|
23
|
+
} from "./chunk-3NWUHXU3.js";
|
|
24
|
+
import "./chunk-646I442S.js";
|
|
25
25
|
import "./chunk-N7WZ6NIN.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-4TR3HZFT.js";
|
|
26
|
+
import "./chunk-EWHJNJHV.js";
|
|
28
27
|
import "./chunk-WDRMZKVB.js";
|
|
29
28
|
import "./chunk-JT7R45JB.js";
|
|
30
29
|
import "./chunk-77WWLBCI.js";
|
|
31
30
|
import "./chunk-WFUDY6PC.js";
|
|
31
|
+
import "./chunk-4TR3HZFT.js";
|
|
32
32
|
export {
|
|
33
33
|
ABLETIME_OAUTH_CALLBACK_PATH,
|
|
34
34
|
ABLETIME_OAUTH_CANCELLED,
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
callAbleTimeRestTool,
|
|
6
6
|
looksLikeAbleTimeUlid,
|
|
7
7
|
textFromAbleTimeDoc
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-RRW2XWAY.js";
|
|
9
|
+
import "./chunk-646I442S.js";
|
|
10
10
|
import "./chunk-N7WZ6NIN.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-4TR3HZFT.js";
|
|
11
|
+
import "./chunk-EWHJNJHV.js";
|
|
13
12
|
import "./chunk-WDRMZKVB.js";
|
|
14
13
|
import "./chunk-JT7R45JB.js";
|
|
15
14
|
import "./chunk-77WWLBCI.js";
|
|
16
15
|
import "./chunk-WFUDY6PC.js";
|
|
16
|
+
import "./chunk-4TR3HZFT.js";
|
|
17
17
|
export {
|
|
18
18
|
ABLETIME_REST_PREFIX,
|
|
19
19
|
ableTimeDocFromText,
|
|
@@ -7,13 +7,14 @@ import {
|
|
|
7
7
|
callAbleTimeRestTool,
|
|
8
8
|
looksLikeAbleTimeUlid,
|
|
9
9
|
textFromAbleTimeDoc
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-CLI5DVU4.js";
|
|
11
|
+
import "./chunk-HSYE5ID6.js";
|
|
12
12
|
import "./chunk-VKQGAWHY.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-Y5JES2VV.js";
|
|
14
14
|
import "./chunk-NSTQ6QKD.js";
|
|
15
15
|
import "./chunk-KGZBYWZ3.js";
|
|
16
16
|
import "./chunk-EQNRWDLN.js";
|
|
17
|
+
import "./chunk-WWUABK6B.js";
|
|
17
18
|
import "./chunk-FJZWM2ON.js";
|
|
18
19
|
export {
|
|
19
20
|
ABLETIME_REST_PREFIX,
|
|
@@ -10,15 +10,15 @@ import {
|
|
|
10
10
|
fetchCursorTurnCostUsd,
|
|
11
11
|
formatUnknownDetail,
|
|
12
12
|
looksLikeCursorHttp2StreamClose
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import {
|
|
15
|
-
dropNestedElectronEnvFromProcess
|
|
16
|
-
} from "../chunk-4TR3HZFT.js";
|
|
13
|
+
} from "../chunk-TQBUXKIB.js";
|
|
17
14
|
import {
|
|
18
15
|
cursorSdkStoreDir
|
|
19
16
|
} from "../chunk-7J72QJOM.js";
|
|
20
17
|
import "../chunk-WFUDY6PC.js";
|
|
21
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-HVUVQXZ2.js";
|
|
19
|
+
import {
|
|
20
|
+
dropNestedElectronEnvFromProcess
|
|
21
|
+
} from "../chunk-4TR3HZFT.js";
|
|
22
22
|
|
|
23
23
|
// src/agents/cursor-runner.ts
|
|
24
24
|
import { Agent, CursorAgentError, JsonlLocalAgentStore } from "@cursor/sdk";
|
|
@@ -50,16 +50,16 @@ import {
|
|
|
50
50
|
resolveQuotaFallbackAgent,
|
|
51
51
|
turnCostUsdFromCursorUsage,
|
|
52
52
|
whichOnPath
|
|
53
|
-
} from "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
53
|
+
} from "./chunk-FSIJGLSV.js";
|
|
54
|
+
import "./chunk-MW57SKKR.js";
|
|
55
|
+
import "./chunk-SVXIJ2IC.js";
|
|
56
56
|
import "./chunk-Y4MIXGPA.js";
|
|
57
57
|
import "./chunk-VKQGAWHY.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-NFWPDEN4.js";
|
|
59
59
|
import "./chunk-D6JWYJ4P.js";
|
|
60
60
|
import "./chunk-HY2GFZ5S.js";
|
|
61
61
|
import "./chunk-X5B3OS5I.js";
|
|
62
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-SZJZEFTY.js";
|
|
63
63
|
import {
|
|
64
64
|
conductorBundledBinDir,
|
|
65
65
|
enrichPathWithNpmGlobalBin,
|
|
@@ -68,16 +68,17 @@ import {
|
|
|
68
68
|
posixShellSingleQuote,
|
|
69
69
|
resolveCommandBinarySync,
|
|
70
70
|
withExportedPath
|
|
71
|
-
} from "./chunk-
|
|
71
|
+
} from "./chunk-ABOBTSO6.js";
|
|
72
72
|
import {
|
|
73
73
|
ORCHESTRATOR_AGENT_KINDS,
|
|
74
74
|
assertOrchestratorCapableAgent,
|
|
75
75
|
coerceOrchestratorAgent,
|
|
76
76
|
isOrchestratorCapableAgent
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-Y5JES2VV.js";
|
|
78
78
|
import "./chunk-NSTQ6QKD.js";
|
|
79
79
|
import "./chunk-KGZBYWZ3.js";
|
|
80
80
|
import "./chunk-EQNRWDLN.js";
|
|
81
|
+
import "./chunk-WWUABK6B.js";
|
|
81
82
|
import "./chunk-FJZWM2ON.js";
|
|
82
83
|
export {
|
|
83
84
|
CLAUDE_MODEL_CATALOG,
|
|
@@ -44,12 +44,12 @@ import {
|
|
|
44
44
|
resolveLoginCommand,
|
|
45
45
|
resolveQuotaFallbackAgent,
|
|
46
46
|
whichOnPath
|
|
47
|
-
} from "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
47
|
+
} from "./chunk-XRHTRXZN.js";
|
|
48
|
+
import "./chunk-OPYBLX4V.js";
|
|
49
|
+
import "./chunk-KTZESHYH.js";
|
|
50
50
|
import "./chunk-6K64FJDD.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-PO4M4JAJ.js";
|
|
52
|
+
import "./chunk-IILG7DPX.js";
|
|
53
53
|
import "./chunk-AN3THU7F.js";
|
|
54
54
|
import "./chunk-N7WZ6NIN.js";
|
|
55
55
|
import {
|
|
@@ -57,14 +57,13 @@ import {
|
|
|
57
57
|
parseCursorRunnerLine,
|
|
58
58
|
preferredCursorCostCents,
|
|
59
59
|
turnCostUsdFromCursorUsage
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-TQBUXKIB.js";
|
|
61
61
|
import {
|
|
62
62
|
ORCHESTRATOR_AGENT_KINDS,
|
|
63
63
|
assertOrchestratorCapableAgent,
|
|
64
64
|
coerceOrchestratorAgent,
|
|
65
65
|
isOrchestratorCapableAgent
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-4TR3HZFT.js";
|
|
66
|
+
} from "./chunk-EWHJNJHV.js";
|
|
68
67
|
import "./chunk-WDRMZKVB.js";
|
|
69
68
|
import "./chunk-JT7R45JB.js";
|
|
70
69
|
import "./chunk-3IMSQNTS.js";
|
|
@@ -79,7 +78,8 @@ import {
|
|
|
79
78
|
posixShellSingleQuote,
|
|
80
79
|
resolveCommandBinarySync,
|
|
81
80
|
withExportedPath
|
|
82
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-HVUVQXZ2.js";
|
|
82
|
+
import "./chunk-4TR3HZFT.js";
|
|
83
83
|
export {
|
|
84
84
|
CLAUDE_MODEL_CATALOG,
|
|
85
85
|
ORCHESTRATOR_AGENT_KINDS,
|
|
@@ -94,10 +94,11 @@ import {
|
|
|
94
94
|
updateProjectProfileSettings,
|
|
95
95
|
usageOnLimit,
|
|
96
96
|
writeViewerContext
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-Y5JES2VV.js";
|
|
98
98
|
import "./chunk-NSTQ6QKD.js";
|
|
99
99
|
import "./chunk-KGZBYWZ3.js";
|
|
100
100
|
import "./chunk-EQNRWDLN.js";
|
|
101
|
+
import "./chunk-WWUABK6B.js";
|
|
101
102
|
import "./chunk-FJZWM2ON.js";
|
|
102
103
|
export {
|
|
103
104
|
FOLLOW_UP_BEHAVIORS,
|
|
@@ -92,12 +92,12 @@ import {
|
|
|
92
92
|
updateProjectProfileSettings,
|
|
93
93
|
usageOnLimit,
|
|
94
94
|
writeViewerContext
|
|
95
|
-
} from "./chunk-
|
|
96
|
-
import "./chunk-4TR3HZFT.js";
|
|
95
|
+
} from "./chunk-EWHJNJHV.js";
|
|
97
96
|
import "./chunk-WDRMZKVB.js";
|
|
98
97
|
import "./chunk-JT7R45JB.js";
|
|
99
98
|
import "./chunk-77WWLBCI.js";
|
|
100
99
|
import "./chunk-WFUDY6PC.js";
|
|
100
|
+
import "./chunk-4TR3HZFT.js";
|
|
101
101
|
export {
|
|
102
102
|
FOLLOW_UP_BEHAVIORS,
|
|
103
103
|
GITHUB_GIT_AUTH_MODES,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_ABLETIME_HOST,
|
|
3
3
|
normalizeAbleTimeHost
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-646I442S.js";
|
|
5
5
|
import {
|
|
6
6
|
httpFetch
|
|
7
7
|
} from "./chunk-N7WZ6NIN.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
getAbleTimeHost,
|
|
11
11
|
loadAppSettings,
|
|
12
12
|
saveAbleTimeConnection
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-EWHJNJHV.js";
|
|
14
14
|
|
|
15
15
|
// src/integrations/abletime-oauth.ts
|
|
16
16
|
import { createHash, randomBytes } from "crypto";
|
|
@@ -280,7 +280,7 @@ async function startAbleTimeOAuth(opts) {
|
|
|
280
280
|
persistAbleTimeTokens(data, { host });
|
|
281
281
|
const token = data.access_token.trim();
|
|
282
282
|
try {
|
|
283
|
-
const { getAbleTimeOrientation } = await import("./abletime-
|
|
283
|
+
const { getAbleTimeOrientation } = await import("./abletime-D6773P33.js");
|
|
284
284
|
const orientation = await getAbleTimeOrientation({ token, host });
|
|
285
285
|
return saveAbleTimeConnection({
|
|
286
286
|
accessToken: token,
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getAbleTimeHost,
|
|
6
6
|
isAbleTimeConnected
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EWHJNJHV.js";
|
|
8
8
|
|
|
9
9
|
// src/integrations/abletime-mcp.ts
|
|
10
10
|
var DEFAULT_ABLETIME_HOST = "https://track.abletime.com";
|
|
@@ -153,7 +153,7 @@ function textsFromUnknown(value) {
|
|
|
153
153
|
return "";
|
|
154
154
|
}
|
|
155
155
|
async function abletimeMcpRequest(method, params, opts) {
|
|
156
|
-
const rawToken = opts?.token ?? await import("./abletime-oauth-
|
|
156
|
+
const rawToken = opts?.token ?? await import("./abletime-oauth-KQPVVBKA.js").then((m) => m.ensureAbleTimeAccessToken());
|
|
157
157
|
if (!rawToken?.trim()) {
|
|
158
158
|
throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
|
|
159
159
|
}
|
|
@@ -224,9 +224,9 @@ async function callAbleTimeTool(name, args = {}, opts) {
|
|
|
224
224
|
if (!opts?.token && !isAbleTimeConnected()) {
|
|
225
225
|
throw new Error("AbleTime is not connected \u2014 paste a personal access token in Account settings");
|
|
226
226
|
}
|
|
227
|
-
const rawToken = opts?.token ?? await import("./abletime-oauth-
|
|
227
|
+
const rawToken = opts?.token ?? await import("./abletime-oauth-KQPVVBKA.js").then((m) => m.ensureAbleTimeAccessToken());
|
|
228
228
|
if (rawToken && ableTimeUsesRest(rawToken)) {
|
|
229
|
-
const { callAbleTimeRestTool } = await import("./abletime-rest-
|
|
229
|
+
const { callAbleTimeRestTool } = await import("./abletime-rest-DAFPXZ7H.js");
|
|
230
230
|
return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
|
|
231
231
|
}
|
|
232
232
|
const requestOpts = { ...opts, pm: opts?.pm ?? abletimeToolUsesPm(name) };
|
|
@@ -242,7 +242,7 @@ async function callAbleTimeTool(name, args = {}, opts) {
|
|
|
242
242
|
return await call();
|
|
243
243
|
}
|
|
244
244
|
if (rawToken && ableTimeUsesRest(rawToken) && isAbleTimeRejectedCredential(message)) {
|
|
245
|
-
const { callAbleTimeRestTool } = await import("./abletime-rest-
|
|
245
|
+
const { callAbleTimeRestTool } = await import("./abletime-rest-DAFPXZ7H.js");
|
|
246
246
|
return callAbleTimeRestTool(name, args, { ...opts, token: rawToken });
|
|
247
247
|
}
|
|
248
248
|
throw err instanceof Error ? new Error(rewriteAbleTimeError(err.message)) : err;
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
import {
|
|
4
|
+
stripNestedElectronEnv
|
|
5
|
+
} from "./chunk-WWUABK6B.js";
|
|
3
6
|
|
|
4
7
|
// src/git/run.ts
|
|
5
8
|
import { execa } from "execa";
|
|
@@ -209,7 +212,7 @@ async function run(file, args, opts) {
|
|
|
209
212
|
try {
|
|
210
213
|
const result = await execa(file, args, {
|
|
211
214
|
cwd: opts?.cwd,
|
|
212
|
-
env: { ...process.env, ...opts?.env },
|
|
215
|
+
env: { ...stripNestedElectronEnv(process.env), ...opts?.env },
|
|
213
216
|
reject: opts?.reject ?? true,
|
|
214
217
|
...opts?.timeoutMs != null ? { timeout: opts.timeoutMs } : {}
|
|
215
218
|
});
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
normalizeAbleTimeCredential,
|
|
7
7
|
normalizeAbleTimeHost,
|
|
8
8
|
rewriteAbleTimeError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HSYE5ID6.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-Y5JES2VV.js";
|
|
17
17
|
|
|
18
18
|
// src/integrations/abletime-rest.ts
|
|
19
19
|
var ABLETIME_REST_PREFIX = "/api/public/v2";
|