@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.
Files changed (46) hide show
  1. package/dist/{abletime-KGPD3UUJ.js → abletime-S3UHQZVW.js} +4 -2
  2. package/dist/{abletime-345SE3B4.js → abletime-TONBQP4O.js} +4 -2
  3. package/dist/abletime-oauth-AVCEO2DY.js +314 -0
  4. package/dist/abletime-oauth-SD4SZY5U.js +52 -0
  5. package/dist/abletime-rest-6ODSXV7G.js +25 -0
  6. package/dist/abletime-rest-J2OBB4VA.js +24 -0
  7. package/dist/agents/cursor-runner.js +1 -1
  8. package/dist/{agents-573ZDIX6.js → agents-67K4BQFJ.js} +4 -4
  9. package/dist/{agents-OXX3ONVY.js → agents-BVOJNHV6.js} +5 -5
  10. package/dist/{app-settings-V6IHESEQ.js → app-settings-LGHMNHSP.js} +1 -1
  11. package/dist/{app-settings-AXCURTZJ.js → app-settings-YEPF46IJ.js} +1 -1
  12. package/dist/chunk-3K257PCS.js +393 -0
  13. package/dist/{chunk-54RSAMBH.js → chunk-5SMS6QTO.js} +2 -2
  14. package/dist/chunk-6Q7DFVDQ.js +309 -0
  15. package/dist/chunk-CYLDJWRK.js +391 -0
  16. package/dist/{chunk-PGQGP4FD.js → chunk-FO2NTJ7L.js} +37 -219
  17. package/dist/{chunk-7NKY2OX7.js → chunk-FO45DMJ5.js} +125 -109
  18. package/dist/{chunk-CQ5R3VPP.js → chunk-KZ7PI7FE.js} +18 -0
  19. package/dist/{chunk-7AHAABKN.js → chunk-QAVWH2RQ.js} +37 -229
  20. package/dist/{chunk-CXFW5LIH.js → chunk-QFBBUFD4.js} +38 -3
  21. package/dist/{chunk-RPX6VDW7.js → chunk-QUW5D62C.js} +34 -20
  22. package/dist/chunk-SGUVAK66.js +262 -0
  23. package/dist/{chunk-27GGXX27.js → chunk-ULZLWQBS.js} +128 -112
  24. package/dist/{chunk-LJHC62LZ.js → chunk-VIPA75ZA.js} +2 -2
  25. package/dist/chunk-W6VM36YO.js +272 -0
  26. package/dist/{chunk-NIVF5NDN.js → chunk-WF33LOP4.js} +44 -6
  27. package/dist/{chunk-STPZQR5B.js → chunk-WVATAIF4.js} +34 -20
  28. package/dist/{chunk-ISV5IFH3.js → chunk-X743YN5Y.js} +38 -3
  29. package/dist/{chunk-A2TAKYSG.js → chunk-YOSTWSNC.js} +27 -7
  30. package/dist/{coordinator-prompt-BH4EHFOO.js → coordinator-prompt-NPT555BO.js} +3 -3
  31. package/dist/{coordinator-prompt-TY5FHAXC.js → coordinator-prompt-WEPXXLLX.js} +3 -3
  32. package/dist/{global-workspace-NLLAPQJI.js → global-workspace-2I2T7FL5.js} +3 -3
  33. package/dist/{global-workspace-5AZEEQRU.js → global-workspace-NSILADOM.js} +3 -3
  34. package/dist/index.cjs +1137 -213
  35. package/dist/index.d.cts +87 -13
  36. package/dist/index.d.ts +87 -13
  37. package/dist/index.js +94 -19
  38. package/dist/mcp/run-stdio.cjs +1023 -180
  39. package/dist/mcp/run-stdio.js +22 -20
  40. package/dist/{orchestrator-JNSQDRZI.js → orchestrator-CMAVNELS.js} +6 -6
  41. package/dist/{orchestrator-NCYKEI3E.js → orchestrator-I7GFXLHF.js} +6 -6
  42. package/dist/{workspaces-RP76JH3J.js → workspaces-BOC6M7BW.js} +3 -3
  43. package/dist/{workspaces-PEWYWVHZ.js → workspaces-RFGZBUAR.js} +3 -3
  44. package/dist/{worktree-72TZWUSH.js → worktree-G3ZLM4DC.js} +4 -2
  45. package/dist/{worktree-ZQEUKSNE.js → worktree-WSUQMMK4.js} +4 -2
  46. package/package.json +1 -1
@@ -17,9 +17,11 @@ import {
17
17
  toAbleTimeIssueInfo,
18
18
  updateAbleTimeTask,
19
19
  verifyAbleTimeConnection
20
- } from "./chunk-PGQGP4FD.js";
20
+ } from "./chunk-FO2NTJ7L.js";
21
+ import "./chunk-3K257PCS.js";
22
+ import "./chunk-SGUVAK66.js";
21
23
  import "./chunk-VKQGAWHY.js";
22
- import "./chunk-ISV5IFH3.js";
24
+ import "./chunk-X743YN5Y.js";
23
25
  import "./chunk-NSTQ6QKD.js";
24
26
  import "./chunk-KGZBYWZ3.js";
25
27
  import "./chunk-EQNRWDLN.js";
@@ -15,9 +15,11 @@ import {
15
15
  toAbleTimeIssueInfo,
16
16
  updateAbleTimeTask,
17
17
  verifyAbleTimeConnection
18
- } from "./chunk-7AHAABKN.js";
18
+ } from "./chunk-QAVWH2RQ.js";
19
+ import "./chunk-CYLDJWRK.js";
20
+ import "./chunk-W6VM36YO.js";
19
21
  import "./chunk-N7WZ6NIN.js";
20
- import "./chunk-CXFW5LIH.js";
22
+ import "./chunk-QFBBUFD4.js";
21
23
  import "./chunk-4TR3HZFT.js";
22
24
  import "./chunk-WDRMZKVB.js";
23
25
  import "./chunk-JT7R45JB.js";
@@ -0,0 +1,314 @@
1
+ #!/usr/bin/env node
2
+
3
+ import {
4
+ DEFAULT_ABLETIME_HOST,
5
+ normalizeAbleTimeHost
6
+ } from "./chunk-SGUVAK66.js";
7
+ import {
8
+ httpFetch
9
+ } from "./chunk-VKQGAWHY.js";
10
+ import {
11
+ disconnectAbleTimeConnection,
12
+ getAbleTimeHost,
13
+ loadAppSettings,
14
+ saveAbleTimeConnection
15
+ } from "./chunk-X743YN5Y.js";
16
+ import "./chunk-NSTQ6QKD.js";
17
+ import "./chunk-KGZBYWZ3.js";
18
+ import "./chunk-EQNRWDLN.js";
19
+ import "./chunk-FJZWM2ON.js";
20
+
21
+ // src/integrations/abletime-oauth.ts
22
+ import { createHash, randomBytes } from "crypto";
23
+ import { createServer } from "http";
24
+ var ABLETIME_OAUTH_CALLBACK_PATH = "/oauth/abletime/callback";
25
+ var ABLETIME_OAUTH_PORT = 19849;
26
+ var ABLETIME_OAUTH_LOCAL_CALLBACK = `http://127.0.0.1:${ABLETIME_OAUTH_PORT}/callback`;
27
+ var ABLETIME_OAUTH_REDIRECT = `https://www.sideboard.cloud${ABLETIME_OAUTH_CALLBACK_PATH}`;
28
+ function ableTimeOAuthRedirectUri() {
29
+ return process.env.SIDEBOARD_ABLETIME_OAUTH_REDIRECT?.trim() || ABLETIME_OAUTH_REDIRECT;
30
+ }
31
+ var BOUNCE_QUERY_KEYS = ["code", "state", "error", "error_description"];
32
+ function parseAbleTimeOAuthCallbackUrl(reqUrl) {
33
+ let url;
34
+ try {
35
+ url = new URL(reqUrl, ABLETIME_OAUTH_REDIRECT);
36
+ } catch {
37
+ return null;
38
+ }
39
+ if (url.pathname !== ABLETIME_OAUTH_CALLBACK_PATH) return null;
40
+ return url;
41
+ }
42
+ function ableTimeOAuthLocalBounceUrl(reqUrl) {
43
+ const url = parseAbleTimeOAuthCallbackUrl(reqUrl);
44
+ if (!url) return null;
45
+ const dest = new URL(ABLETIME_OAUTH_LOCAL_CALLBACK);
46
+ for (const key of BOUNCE_QUERY_KEYS) {
47
+ const value = url.searchParams.get(key);
48
+ if (value) dest.searchParams.set(key, value);
49
+ }
50
+ return dest.toString();
51
+ }
52
+ function escapeHtml(value) {
53
+ return value.replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
54
+ }
55
+ function ableTimeOAuthBouncePage(localUrl) {
56
+ const safe = escapeHtml(localUrl);
57
+ return `<!doctype html><html><head><meta charset="utf-8">
58
+ <meta http-equiv="refresh" content="0;url=${safe}">
59
+ <title>Returning to Sideboard</title>
60
+ <script>location.replace(${JSON.stringify(localUrl)})</script>
61
+ <style>body{font-family:ui-sans-serif,system-ui,sans-serif;padding:48px 24px;max-width:36rem;margin:0 auto;color:#1a1a1a}
62
+ h1{font-size:1.25rem}p{line-height:1.5;color:#444}a{color:#0f7ed4}</style>
63
+ </head><body>
64
+ <h1>Returning to Sideboard</h1>
65
+ <p>AbleTime authorized. Opening the app\u2026</p>
66
+ <p><a href="${safe}">Open Sideboard</a> if it does not appear.</p>
67
+ </body></html>`;
68
+ }
69
+ var BAKED_ABLETIME_OAUTH_CLIENT_ID = "https://www.sideboard.cloud/oauth/abletime-client.json";
70
+ var ABLETIME_OAUTH_RESOURCE = `${DEFAULT_ABLETIME_HOST}/api/public/v2/mcp`;
71
+ var REFRESH_SKEW_MS = 5 * 6e4;
72
+ function hasBakedAbleTimeOAuth() {
73
+ return Boolean(BAKED_ABLETIME_OAUTH_CLIENT_ID.trim());
74
+ }
75
+ function ableTimeOAuthClientId() {
76
+ return process.env.SIDEBOARD_ABLETIME_OAUTH_CLIENT_ID?.trim() || BAKED_ABLETIME_OAUTH_CLIENT_ID.trim();
77
+ }
78
+ function ableTimeOAuthResource(host) {
79
+ return `${normalizeAbleTimeHost(host)}/api/public/v2/mcp`;
80
+ }
81
+ function createAbleTimePkce() {
82
+ const verifier = randomBytes(32).toString("base64url");
83
+ const challenge = createHash("sha256").update(verifier).digest("base64url");
84
+ return { verifier, challenge };
85
+ }
86
+ function ableTimeOAuthAuthorizeUrl(clientId, state, codeChallenge, host) {
87
+ const base = normalizeAbleTimeHost(host);
88
+ const params = new URLSearchParams({
89
+ response_type: "code",
90
+ client_id: clientId,
91
+ redirect_uri: ableTimeOAuthRedirectUri(),
92
+ code_challenge: codeChallenge,
93
+ code_challenge_method: "S256",
94
+ state,
95
+ resource: ableTimeOAuthResource(host)
96
+ });
97
+ return `${base}/oauth/authorize?${params.toString()}`;
98
+ }
99
+ function htmlPage(title, body) {
100
+ return `<!doctype html><html><head><meta charset="utf-8"><title>${title}</title>
101
+ <style>body{font-family:ui-sans-serif,system-ui,sans-serif;padding:48px 24px;max-width:36rem;margin:0 auto;color:#1a1a1a}
102
+ h1{font-size:1.25rem}p{line-height:1.5;color:#444}</style></head><body>${body}</body></html>`;
103
+ }
104
+ async function exchangeAbleTimeToken(body, host) {
105
+ const url = `${normalizeAbleTimeHost(host)}/api/oauth/token`;
106
+ const res = await httpFetch(url, {
107
+ method: "POST",
108
+ headers: {
109
+ Accept: "application/json",
110
+ "Content-Type": "application/x-www-form-urlencoded"
111
+ },
112
+ body
113
+ });
114
+ const data = await res.json().catch(() => ({}));
115
+ if (!res.ok || data.error || !data.access_token?.trim()) {
116
+ const detail = data.error_description || data.error || `HTTP ${res.status}`;
117
+ throw new Error(`AbleTime OAuth token exchange failed: ${detail}`);
118
+ }
119
+ return data;
120
+ }
121
+ function persistAbleTimeTokens(data, input) {
122
+ return saveAbleTimeConnection({
123
+ accessToken: data.access_token.trim(),
124
+ refreshToken: data.refresh_token?.trim(),
125
+ expiresIn: data.expires_in,
126
+ host: input?.host,
127
+ viewerName: input?.viewerName
128
+ });
129
+ }
130
+ var refreshInFlight = null;
131
+ async function refreshAbleTimeAccessToken(refreshToken) {
132
+ const host = getAbleTimeHost();
133
+ const body = new URLSearchParams({
134
+ grant_type: "refresh_token",
135
+ refresh_token: refreshToken,
136
+ client_id: ableTimeOAuthClientId(),
137
+ resource: ableTimeOAuthResource(host)
138
+ });
139
+ try {
140
+ const data = await exchangeAbleTimeToken(body, host);
141
+ persistAbleTimeTokens(data, { host });
142
+ return data.access_token.trim();
143
+ } catch (err) {
144
+ const message = err instanceof Error ? err.message : String(err);
145
+ if (/invalid_grant|invalid_token|unauthorized/i.test(message)) {
146
+ disconnectAbleTimeConnection();
147
+ throw new Error("AbleTime sign-in expired \u2014 connect again in Account settings");
148
+ }
149
+ throw err;
150
+ }
151
+ }
152
+ async function ensureAbleTimeAccessToken() {
153
+ const settings = loadAppSettings();
154
+ const access = settings.integrations.abletimeAccessToken?.trim() || "";
155
+ const refresh = settings.integrations.abletimeRefreshToken?.trim() || "";
156
+ const expiresAt = settings.integrations.abletimeTokenExpiresAt ?? 0;
157
+ if (access && (!refresh || Date.now() < expiresAt - REFRESH_SKEW_MS)) {
158
+ return access;
159
+ }
160
+ if (refresh) {
161
+ if (!refreshInFlight) {
162
+ refreshInFlight = refreshAbleTimeAccessToken(refresh).finally(() => {
163
+ refreshInFlight = null;
164
+ });
165
+ }
166
+ return refreshInFlight;
167
+ }
168
+ return access || null;
169
+ }
170
+ var ABLETIME_OAUTH_CANCELLED = "AbleTime sign-in cancelled";
171
+ var AbleTimeOAuthCancelledError = class extends Error {
172
+ constructor(message = ABLETIME_OAUTH_CANCELLED) {
173
+ super(message);
174
+ this.name = "AbleTimeOAuthCancelledError";
175
+ }
176
+ };
177
+ function isAbleTimeOAuthCancelled(err) {
178
+ if (err instanceof AbleTimeOAuthCancelledError) return true;
179
+ const message = err instanceof Error ? err.message : String(err);
180
+ return message.includes(ABLETIME_OAUTH_CANCELLED);
181
+ }
182
+ async function startAbleTimeOAuth(opts) {
183
+ if (opts?.signal?.aborted) {
184
+ throw new AbleTimeOAuthCancelledError();
185
+ }
186
+ const clientId = ableTimeOAuthClientId();
187
+ if (!clientId) {
188
+ throw new Error(
189
+ `AbleTime browser sign-in needs a Client ID Metadata Document URL. Host ${BAKED_ABLETIME_OAUTH_CLIENT_ID} (see site/oauth/abletime-client.json), or set SIDEBOARD_ABLETIME_OAUTH_CLIENT_ID.`
190
+ );
191
+ }
192
+ const host = opts?.host?.trim() || void 0;
193
+ const state = randomBytes(16).toString("hex");
194
+ const pkce = createAbleTimePkce();
195
+ const authorizeUrl = ableTimeOAuthAuthorizeUrl(clientId, state, pkce.challenge, host);
196
+ const timeoutMs = opts?.timeoutMs ?? 5 * 6e4;
197
+ const code = await new Promise((resolve, reject) => {
198
+ let settled = false;
199
+ const finish = (err, value) => {
200
+ if (settled) return;
201
+ settled = true;
202
+ cleanup();
203
+ if (err) reject(err);
204
+ else resolve(value);
205
+ };
206
+ const server = createServer((req, res) => {
207
+ try {
208
+ const url = new URL(req.url || "/", `http://127.0.0.1:${ABLETIME_OAUTH_PORT}`);
209
+ if (url.pathname !== "/callback") {
210
+ res.writeHead(404);
211
+ res.end("Not found");
212
+ return;
213
+ }
214
+ const err = url.searchParams.get("error");
215
+ const gotState = url.searchParams.get("state");
216
+ const gotCode = url.searchParams.get("code");
217
+ if (err) {
218
+ res.writeHead(400, { "Content-Type": "text/html" });
219
+ res.end(htmlPage("AbleTime", `<h1>Authorization cancelled</h1><p>${err}</p>`));
220
+ finish(new AbleTimeOAuthCancelledError(`AbleTime OAuth: ${err}`));
221
+ return;
222
+ }
223
+ if (gotState !== state || !gotCode) {
224
+ res.writeHead(400, { "Content-Type": "text/html" });
225
+ res.end(htmlPage("AbleTime", "<h1>Invalid callback</h1><p>State or code missing.</p>"));
226
+ finish(new Error("AbleTime OAuth callback was invalid"));
227
+ return;
228
+ }
229
+ res.writeHead(200, { "Content-Type": "text/html" });
230
+ res.end(
231
+ htmlPage(
232
+ "AbleTime connected",
233
+ "<h1>AbleTime connected</h1><p>You can close this tab and return to Sideboard.</p>"
234
+ )
235
+ );
236
+ finish(void 0, gotCode);
237
+ } catch (e) {
238
+ finish(e instanceof Error ? e : new Error(String(e)));
239
+ }
240
+ });
241
+ const timer = setTimeout(() => {
242
+ finish(new Error("AbleTime sign-in timed out \u2014 try again"));
243
+ }, timeoutMs);
244
+ const onAbort = () => finish(new AbleTimeOAuthCancelledError());
245
+ const cleanup = () => {
246
+ clearTimeout(timer);
247
+ opts?.signal?.removeEventListener("abort", onAbort);
248
+ server.close();
249
+ };
250
+ opts?.signal?.addEventListener("abort", onAbort, { once: true });
251
+ if (opts?.signal?.aborted) {
252
+ onAbort();
253
+ return;
254
+ }
255
+ server.on("error", (e) => {
256
+ finish(
257
+ e instanceof Error && e.code === "EADDRINUSE" ? new Error(
258
+ `Port ${ABLETIME_OAUTH_PORT} is in use. Close whatever is bound there, or paste an AbleTime token instead.`
259
+ ) : e instanceof Error ? e : new Error(String(e))
260
+ );
261
+ });
262
+ server.listen(ABLETIME_OAUTH_PORT, "127.0.0.1", () => {
263
+ void Promise.resolve(opts?.openUrl?.(authorizeUrl)).catch((e) => {
264
+ finish(e instanceof Error ? e : new Error(String(e)));
265
+ });
266
+ });
267
+ });
268
+ const body = new URLSearchParams({
269
+ grant_type: "authorization_code",
270
+ code,
271
+ redirect_uri: ableTimeOAuthRedirectUri(),
272
+ client_id: clientId,
273
+ code_verifier: pkce.verifier,
274
+ resource: ableTimeOAuthResource(host)
275
+ });
276
+ const data = await exchangeAbleTimeToken(body, host);
277
+ persistAbleTimeTokens(data, { host });
278
+ const token = data.access_token.trim();
279
+ try {
280
+ const { getAbleTimeOrientation } = await import("./abletime-S3UHQZVW.js");
281
+ const orientation = await getAbleTimeOrientation({ token, host });
282
+ return saveAbleTimeConnection({
283
+ accessToken: token,
284
+ refreshToken: data.refresh_token?.trim(),
285
+ expiresIn: data.expires_in,
286
+ host,
287
+ viewerName: orientation.viewer.name
288
+ });
289
+ } catch {
290
+ return loadAppSettings();
291
+ }
292
+ }
293
+ export {
294
+ ABLETIME_OAUTH_CALLBACK_PATH,
295
+ ABLETIME_OAUTH_CANCELLED,
296
+ ABLETIME_OAUTH_LOCAL_CALLBACK,
297
+ ABLETIME_OAUTH_PORT,
298
+ ABLETIME_OAUTH_REDIRECT,
299
+ ABLETIME_OAUTH_RESOURCE,
300
+ AbleTimeOAuthCancelledError,
301
+ BAKED_ABLETIME_OAUTH_CLIENT_ID,
302
+ ableTimeOAuthAuthorizeUrl,
303
+ ableTimeOAuthBouncePage,
304
+ ableTimeOAuthClientId,
305
+ ableTimeOAuthLocalBounceUrl,
306
+ ableTimeOAuthRedirectUri,
307
+ ableTimeOAuthResource,
308
+ createAbleTimePkce,
309
+ ensureAbleTimeAccessToken,
310
+ hasBakedAbleTimeOAuth,
311
+ isAbleTimeOAuthCancelled,
312
+ parseAbleTimeOAuthCallbackUrl,
313
+ startAbleTimeOAuth
314
+ };
@@ -0,0 +1,52 @@
1
+ import {
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 "./chunk-W6VM36YO.js";
24
+ import "./chunk-N7WZ6NIN.js";
25
+ import "./chunk-QFBBUFD4.js";
26
+ import "./chunk-4TR3HZFT.js";
27
+ import "./chunk-WDRMZKVB.js";
28
+ import "./chunk-JT7R45JB.js";
29
+ import "./chunk-77WWLBCI.js";
30
+ import "./chunk-WFUDY6PC.js";
31
+ export {
32
+ ABLETIME_OAUTH_CALLBACK_PATH,
33
+ ABLETIME_OAUTH_CANCELLED,
34
+ ABLETIME_OAUTH_LOCAL_CALLBACK,
35
+ ABLETIME_OAUTH_PORT,
36
+ ABLETIME_OAUTH_REDIRECT,
37
+ ABLETIME_OAUTH_RESOURCE,
38
+ AbleTimeOAuthCancelledError,
39
+ BAKED_ABLETIME_OAUTH_CLIENT_ID,
40
+ ableTimeOAuthAuthorizeUrl,
41
+ ableTimeOAuthBouncePage,
42
+ ableTimeOAuthClientId,
43
+ ableTimeOAuthLocalBounceUrl,
44
+ ableTimeOAuthRedirectUri,
45
+ ableTimeOAuthResource,
46
+ createAbleTimePkce,
47
+ ensureAbleTimeAccessToken,
48
+ hasBakedAbleTimeOAuth,
49
+ isAbleTimeOAuthCancelled,
50
+ parseAbleTimeOAuthCallbackUrl,
51
+ startAbleTimeOAuth
52
+ };
@@ -0,0 +1,25 @@
1
+ #!/usr/bin/env node
2
+
3
+ import {
4
+ ABLETIME_REST_PREFIX,
5
+ ableTimeDocFromText,
6
+ abletimeRestUrl,
7
+ callAbleTimeRestTool,
8
+ looksLikeAbleTimeUlid,
9
+ textFromAbleTimeDoc
10
+ } from "./chunk-3K257PCS.js";
11
+ import "./chunk-SGUVAK66.js";
12
+ import "./chunk-VKQGAWHY.js";
13
+ import "./chunk-X743YN5Y.js";
14
+ import "./chunk-NSTQ6QKD.js";
15
+ import "./chunk-KGZBYWZ3.js";
16
+ import "./chunk-EQNRWDLN.js";
17
+ import "./chunk-FJZWM2ON.js";
18
+ export {
19
+ ABLETIME_REST_PREFIX,
20
+ ableTimeDocFromText,
21
+ abletimeRestUrl,
22
+ callAbleTimeRestTool,
23
+ looksLikeAbleTimeUlid,
24
+ textFromAbleTimeDoc
25
+ };
@@ -0,0 +1,24 @@
1
+ import {
2
+ ABLETIME_REST_PREFIX,
3
+ ableTimeDocFromText,
4
+ abletimeRestUrl,
5
+ callAbleTimeRestTool,
6
+ looksLikeAbleTimeUlid,
7
+ textFromAbleTimeDoc
8
+ } from "./chunk-CYLDJWRK.js";
9
+ import "./chunk-W6VM36YO.js";
10
+ import "./chunk-N7WZ6NIN.js";
11
+ import "./chunk-QFBBUFD4.js";
12
+ import "./chunk-4TR3HZFT.js";
13
+ import "./chunk-WDRMZKVB.js";
14
+ import "./chunk-JT7R45JB.js";
15
+ import "./chunk-77WWLBCI.js";
16
+ import "./chunk-WFUDY6PC.js";
17
+ export {
18
+ ABLETIME_REST_PREFIX,
19
+ ableTimeDocFromText,
20
+ abletimeRestUrl,
21
+ callAbleTimeRestTool,
22
+ looksLikeAbleTimeUlid,
23
+ textFromAbleTimeDoc
24
+ };
@@ -13,7 +13,7 @@ import {
13
13
  fetchCursorTurnCostUsd,
14
14
  formatUnknownDetail,
15
15
  looksLikeCursorHttp2StreamClose
16
- } from "../chunk-CQ5R3VPP.js";
16
+ } from "../chunk-KZ7PI7FE.js";
17
17
  import {
18
18
  dropNestedElectronEnvFromProcess
19
19
  } from "../chunk-4TR3HZFT.js";
@@ -50,12 +50,12 @@ import {
50
50
  resolveQuotaFallbackAgent,
51
51
  turnCostUsdFromCursorUsage,
52
52
  whichOnPath
53
- } from "./chunk-NIVF5NDN.js";
54
- import "./chunk-54RSAMBH.js";
53
+ } from "./chunk-WF33LOP4.js";
54
+ import "./chunk-5SMS6QTO.js";
55
55
  import "./chunk-3OHR73VK.js";
56
56
  import "./chunk-Y4MIXGPA.js";
57
57
  import "./chunk-VKQGAWHY.js";
58
- import "./chunk-RPX6VDW7.js";
58
+ import "./chunk-QUW5D62C.js";
59
59
  import "./chunk-D6JWYJ4P.js";
60
60
  import "./chunk-INNLWYXW.js";
61
61
  import "./chunk-SYFVUF2C.js";
@@ -73,7 +73,7 @@ import {
73
73
  assertOrchestratorCapableAgent,
74
74
  coerceOrchestratorAgent,
75
75
  isOrchestratorCapableAgent
76
- } from "./chunk-ISV5IFH3.js";
76
+ } from "./chunk-X743YN5Y.js";
77
77
  import "./chunk-NSTQ6QKD.js";
78
78
  import "./chunk-KGZBYWZ3.js";
79
79
  import "./chunk-EQNRWDLN.js";
@@ -44,9 +44,9 @@ import {
44
44
  resolveLoginCommand,
45
45
  resolveQuotaFallbackAgent,
46
46
  whichOnPath
47
- } from "./chunk-A2TAKYSG.js";
48
- import "./chunk-LJHC62LZ.js";
49
- import "./chunk-STPZQR5B.js";
47
+ } from "./chunk-YOSTWSNC.js";
48
+ import "./chunk-VIPA75ZA.js";
49
+ import "./chunk-WVATAIF4.js";
50
50
  import "./chunk-6K64FJDD.js";
51
51
  import "./chunk-QQKDGPUI.js";
52
52
  import "./chunk-SALM35KD.js";
@@ -57,13 +57,13 @@ import {
57
57
  parseCursorRunnerLine,
58
58
  preferredCursorCostCents,
59
59
  turnCostUsdFromCursorUsage
60
- } from "./chunk-CQ5R3VPP.js";
60
+ } from "./chunk-KZ7PI7FE.js";
61
61
  import {
62
62
  ORCHESTRATOR_AGENT_KINDS,
63
63
  assertOrchestratorCapableAgent,
64
64
  coerceOrchestratorAgent,
65
65
  isOrchestratorCapableAgent
66
- } from "./chunk-CXFW5LIH.js";
66
+ } from "./chunk-QFBBUFD4.js";
67
67
  import "./chunk-4TR3HZFT.js";
68
68
  import "./chunk-WDRMZKVB.js";
69
69
  import "./chunk-JT7R45JB.js";
@@ -91,7 +91,7 @@ import {
91
91
  updateProjectProfileSettings,
92
92
  usageOnLimit,
93
93
  writeViewerContext
94
- } from "./chunk-ISV5IFH3.js";
94
+ } from "./chunk-X743YN5Y.js";
95
95
  import "./chunk-NSTQ6QKD.js";
96
96
  import "./chunk-KGZBYWZ3.js";
97
97
  import "./chunk-EQNRWDLN.js";
@@ -89,7 +89,7 @@ import {
89
89
  updateProjectProfileSettings,
90
90
  usageOnLimit,
91
91
  writeViewerContext
92
- } from "./chunk-CXFW5LIH.js";
92
+ } from "./chunk-QFBBUFD4.js";
93
93
  import "./chunk-4TR3HZFT.js";
94
94
  import "./chunk-WDRMZKVB.js";
95
95
  import "./chunk-JT7R45JB.js";