nolo-cli 0.140.0-alpha.2 → 0.141.0-alpha.1

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/{_executeModel-SOYFJXV6.js → _executeModel-PHFKA2OL.js} +11 -11
  2. package/{agentEmailCommands-FMB2MKEQ.js → agentEmailCommands-XCFMV73Q.js} +14 -13
  3. package/{agentListCommands-FKMX7KWB.js → agentListCommands-MWAR7A4K.js} +19 -0
  4. package/{agentMachineCommands-XMVB676S.js → agentMachineCommands-VDT575S6.js} +1 -1
  5. package/{agentRecordCommands-KGBQJLVJ.js → agentRecordCommands-PBAKB3YI.js} +13 -12
  6. package/{agentRunCommand-SEDWFYXO.js → agentRunCommand-3JJVJWKN.js} +12 -12
  7. package/{agentRunControl-AVJR4JW4.js → agentRunControl-MD72KLQA.js} +2 -2
  8. package/{agentSlice-CFXREBVL.js → agentSlice-EYRJX2J6.js} +1 -1
  9. package/{authCommand-K62FH4X2.js → authCommand-VLT5WAYD.js} +2 -2
  10. package/{chatQueueReduxAdapter-PUEMG7YZ.js → chatQueueReduxAdapter-YNI7ALFW.js} +2 -2
  11. package/{chunk-PP6FTGA6.js → chunk-5VI55RD6.js} +15 -12
  12. package/{chunk-VPNHD2TS.js → chunk-63ZFMDDF.js} +1 -1
  13. package/{chunk-37GBLNHI.js → chunk-6YT7I7KF.js} +5 -5
  14. package/{chunk-F5IMTLHP.js → chunk-A3JENOEB.js} +2 -2
  15. package/{chunk-Q6QLBANW.js → chunk-AYLMRAUA.js} +6 -6
  16. package/{chunk-XWVHWH35.js → chunk-CRGSU5DB.js} +1 -1
  17. package/{chunk-3EFEN43K.js → chunk-DLT3R4CA.js} +1 -1
  18. package/{chunk-OMI6BKIS.js → chunk-DT7WS4NV.js} +3 -3
  19. package/{chunk-X6KARM5G.js → chunk-GYB5AS4J.js} +2 -2
  20. package/{chunk-ZW4TU76B.js → chunk-K7ASQNHP.js} +16 -1
  21. package/{chunk-3VNWWVKB.js → chunk-L4KXQ6QP.js} +11 -0
  22. package/{chunk-K3NOJJUS.js → chunk-MPRDXX4T.js} +17 -9
  23. package/{chunk-I3TQJXQ7.js → chunk-QFPJEU36.js} +5 -2
  24. package/{chunk-LLVHGBUH.js → chunk-RDIYKQKZ.js} +63 -9
  25. package/{chunk-OXY64W6K.js → chunk-SUFNELDG.js} +2 -2
  26. package/{chunk-2VMY5RLA.js → chunk-TS5BDIPV.js} +8 -8
  27. package/{chunk-XFEBG6NU.js → chunk-TUETDBTI.js} +2 -2
  28. package/{chunk-SNVNLFVK.js → chunk-TV5ODOAF.js} +3 -3
  29. package/chunk-U4STABYN.js +81 -0
  30. package/{commandRegistry-I7INNYGB.js → commandRegistry-RF5DRRAH.js} +27 -27
  31. package/{contentThunks-BHQXUKKG.js → contentThunks-2PJ4QDAV.js} +3 -3
  32. package/{createAgentAutomationAction-QS5HQOP5.js → createAgentAutomationAction-SWO62RE2.js} +3 -3
  33. package/{createDialogAction-ZTC23O42.js → createDialogAction-2BMDM4X3.js} +4 -4
  34. package/{createPageAction-RFAUZO6Y.js → createPageAction-HLSLX4R4.js} +3 -3
  35. package/{dialogSlice-OU5IGCJ5.js → dialogSlice-7IGCUDZE.js} +2 -2
  36. package/{docStore-UQF3EY2X.js → docStore-OD3NRNBN.js} +1 -1
  37. package/{handleSendMessageAction-NFT57BBK.js → handleSendMessageAction-PRF7JNOH.js} +2 -2
  38. package/index.js +2 -2
  39. package/{machineCommands-2WI4ISEU.js → machineCommands-DXVYZM4A.js} +12 -12
  40. package/{machineWsRunDispatch-XQDTKFVP.js → machineWsRunDispatch-VI2S5AUR.js} +12 -12
  41. package/package.json +1 -1
  42. package/{readlineWorkspace-XDHXGQ4Z.js → readlineWorkspace-YSDOBOSD.js} +51 -107
  43. package/{runAgentClientLoop-ZHN7EVIF.js → runAgentClientLoop-66UNGCTW.js} +9 -9
  44. package/{streamAgentChatTurn-KV7NADH2.js → streamAgentChatTurn-6F3M4KUY.js} +10 -10
  45. package/{tools-ZX3DP5DJ.js → tools-VSECJ5T7.js} +7 -7
  46. package/{updateDialogTitleAction-6ZCZK2I7.js → updateDialogTitleAction-WE5KY3SM.js} +3 -3
@@ -7,6 +7,9 @@ import {
7
7
  listRemoteAgentsAcrossServers,
8
8
  normalizeListedAgent
9
9
  } from "./chunk-7LLWEG6F.js";
10
+ import {
11
+ refreshSubscriptionQuotas
12
+ } from "./chunk-U4STABYN.js";
10
13
  import {
11
14
  ANSI_ESCAPE_REGEX,
12
15
  COLLAPSED_PASTE_PLACEHOLDER_RE,
@@ -70,7 +73,7 @@ import {
70
73
  wrapTextToLines,
71
74
  wrapTranscriptLine,
72
75
  wrapTranscriptLineWithLayout
73
- } from "./chunk-Q6QLBANW.js";
76
+ } from "./chunk-AYLMRAUA.js";
74
77
  import "./chunk-VJVNU77E.js";
75
78
  import "./chunk-BIDGLJQ3.js";
76
79
  import {
@@ -82,8 +85,8 @@ import {
82
85
  readTimestamp,
83
86
  setCliLocale,
84
87
  t
85
- } from "./chunk-PP6FTGA6.js";
86
- import "./chunk-LLVHGBUH.js";
88
+ } from "./chunk-5VI55RD6.js";
89
+ import "./chunk-RDIYKQKZ.js";
87
90
  import "./chunk-OY5IJI2N.js";
88
91
  import "./chunk-62IL3KQV.js";
89
92
  import {
@@ -123,7 +126,7 @@ import {
123
126
  isRunRecordClaimed,
124
127
  listRunRecords,
125
128
  readRunRecord
126
- } from "./chunk-I3TQJXQ7.js";
129
+ } from "./chunk-QFPJEU36.js";
127
130
  import "./chunk-EXAJ6DCR.js";
128
131
  import "./chunk-URMS4XY2.js";
129
132
  import "./chunk-ZOVKKMF6.js";
@@ -136,12 +139,12 @@ import "./chunk-ATNTHIZI.js";
136
139
  import "./chunk-JEXVIMYZ.js";
137
140
  import {
138
141
  prepareTools
139
- } from "./chunk-OXY64W6K.js";
142
+ } from "./chunk-SUFNELDG.js";
140
143
  import {
141
144
  buildResponseGuidelines
142
145
  } from "./chunk-EOARMOVD.js";
143
146
  import "./chunk-HS7MLR74.js";
144
- import "./chunk-K3NOJJUS.js";
147
+ import "./chunk-MPRDXX4T.js";
145
148
  import "./chunk-OZ6V53WV.js";
146
149
  import "./chunk-5UTFL4QJ.js";
147
150
  import "./chunk-KQHGZWSV.js";
@@ -155,16 +158,17 @@ import {
155
158
  getAgentRunStatusIcon,
156
159
  isAgentNameFallback,
157
160
  isAgentRunTerminalStatus,
161
+ normalizeRunTitle,
158
162
  resolveRunLabel,
159
163
  runShowsLogTail,
160
164
  shortRunId
161
- } from "./chunk-3VNWWVKB.js";
162
- import "./chunk-F5IMTLHP.js";
165
+ } from "./chunk-L4KXQ6QP.js";
166
+ import "./chunk-A3JENOEB.js";
163
167
  import "./chunk-HNRASX3X.js";
164
168
  import "./chunk-YRRASA5Q.js";
165
169
  import "./chunk-63W5N6P3.js";
166
170
  import "./chunk-VF4K2QE6.js";
167
- import "./chunk-XFEBG6NU.js";
171
+ import "./chunk-TUETDBTI.js";
168
172
  import "./chunk-Z7IZQF56.js";
169
173
  import "./chunk-XPRWFQQK.js";
170
174
  import {
@@ -174,15 +178,15 @@ import {
174
178
  } from "./chunk-YPREESF4.js";
175
179
  import "./chunk-BJUDYFV5.js";
176
180
  import "./chunk-MEYIRKDN.js";
177
- import "./chunk-XWVHWH35.js";
181
+ import "./chunk-CRGSU5DB.js";
178
182
  import "./chunk-ZJ7UHBJS.js";
179
183
  import {
180
184
  extractReferenceKeysFromMessage
181
- } from "./chunk-2VMY5RLA.js";
185
+ } from "./chunk-TS5BDIPV.js";
182
186
  import "./chunk-MC4XLIJ7.js";
183
187
  import "./chunk-YYLHWIW6.js";
184
188
  import "./chunk-6O4IK4V2.js";
185
- import "./chunk-SNVNLFVK.js";
189
+ import "./chunk-TV5ODOAF.js";
186
190
  import "./chunk-D76D3RTR.js";
187
191
  import "./chunk-5RGU3J7P.js";
188
192
  import "./chunk-M76ECQRD.js";
@@ -3019,6 +3023,7 @@ function sanitizeRunSnapshotForNormal(snapshot) {
3019
3023
  ...snapshot,
3020
3024
  agentName: snapshot.agentName ? clean(snapshot.agentName) : snapshot.agentName,
3021
3025
  taskPreview: snapshot.taskPreview ? clean(snapshot.taskPreview) : snapshot.taskPreview,
3026
+ title: snapshot.title ? clean(snapshot.title) : snapshot.title,
3022
3027
  lastAssistantText: snapshot.lastAssistantText ? clean(snapshot.lastAssistantText) : snapshot.lastAssistantText,
3023
3028
  lastToolNames: snapshot.lastToolNames?.map(clean).filter(Boolean),
3024
3029
  errorMessage,
@@ -3259,8 +3264,16 @@ function formatRunDockLines(snapshots, colorEnabled, now = Date.now(), maxRows =
3259
3264
  const header = `\u{1F916} runs \xB7 ${summary}`;
3260
3265
  lines.push(colorEnabled ? themeText(header, "muted", true) : header);
3261
3266
  const shown = snapshots.slice(0, Math.max(1, maxRows));
3267
+ const titleCounts = /* @__PURE__ */ new Map();
3262
3268
  for (const snapshot of shown) {
3263
- lines.push(formatRunDockRow(snapshot, colorEnabled, now));
3269
+ const title = snapshot.title?.trim();
3270
+ if (title) titleCounts.set(title, (titleCounts.get(title) ?? 0) + 1);
3271
+ }
3272
+ const duplicateTitles = new Set(
3273
+ [...titleCounts].filter(([, count]) => count > 1).map(([title]) => title)
3274
+ );
3275
+ for (const snapshot of shown) {
3276
+ lines.push(formatRunDockRow(snapshot, colorEnabled, now, duplicateTitles));
3264
3277
  }
3265
3278
  const hidden = snapshots.length - shown.length;
3266
3279
  if (hidden > 0) {
@@ -3269,7 +3282,7 @@ function formatRunDockLines(snapshots, colorEnabled, now = Date.now(), maxRows =
3269
3282
  }
3270
3283
  return lines;
3271
3284
  }
3272
- function formatRunDockRow(snapshot, colorEnabled, now) {
3285
+ function formatRunDockRow(snapshot, colorEnabled, now, duplicateTitles = /* @__PURE__ */ new Set()) {
3273
3286
  const name = displayAgentName(snapshot);
3274
3287
  const short = shortRunId(snapshot.runId);
3275
3288
  const icon = getAgentRunStatusIcon(snapshot.status);
@@ -3295,7 +3308,9 @@ function formatRunDockRow(snapshot, colorEnabled, now) {
3295
3308
  if (lastTool) facts.push(clipText(lastTool, 20));
3296
3309
  }
3297
3310
  if (snapshot.errorMessage) facts.push(clipText(snapshot.errorMessage, 40));
3298
- const label = `${name}${short ? ` #${short}` : ""}`;
3311
+ const title = snapshot.title?.trim();
3312
+ const idSuffix = short ? ` #${short}` : "";
3313
+ const label = title ? `${title}${duplicateTitles.has(title) ? idSuffix : ""} \xB7 ${name}` : `${name}${idSuffix}`;
3299
3314
  const factsPart = facts.length > 0 ? ` \xB7 ${facts.join(" \xB7 ")}` : "";
3300
3315
  if (!colorEnabled) return ` ${icon} ${label}${factsPart}`;
3301
3316
  const errorTail = snapshot.errorMessage;
@@ -3472,11 +3487,13 @@ function snapshotFromRunRecord(record, now) {
3472
3487
  const usable = Number.isFinite(startedFrom) && startedFrom > 0 ? Math.min(startedFrom, now) : now;
3473
3488
  inFlight = { kind: raw.kind, name: raw.name, startedAt: usable };
3474
3489
  }
3490
+ const title = normalizeRunTitle(record.title);
3475
3491
  return {
3476
3492
  runId: record.runId,
3477
3493
  status: record.status,
3478
3494
  ...!record.parentDialogId ? { unassigned: true } : {},
3479
3495
  ...isAgentNameFallback(label) ? {} : { agentName: label },
3496
+ ...title ? { title } : {},
3480
3497
  ...startedAt !== void 0 ? { startedAt } : {},
3481
3498
  ...endedAt !== void 0 ? { finishedAt: endedAt } : {},
3482
3499
  ...typeof counters?.toolCalls === "number" ? { toolCallCount: counters.toolCalls } : {},
@@ -3492,6 +3509,7 @@ function fingerprint(snapshot) {
3492
3509
  return JSON.stringify([
3493
3510
  snapshot.status,
3494
3511
  snapshot.agentName ?? "",
3512
+ snapshot.title ?? "",
3495
3513
  snapshot.unassigned ?? false,
3496
3514
  snapshot.toolCallCount ?? -1,
3497
3515
  snapshot.errorMessage ?? "",
@@ -3861,74 +3879,6 @@ function sortAgentsFavoriteOwnedPublic(items) {
3861
3879
  return arr;
3862
3880
  }
3863
3881
 
3864
- // packages/cli/tui/subscriptionQuotaRefresh.ts
3865
- var CATALOG_QUOTA_REFRESH_TIMEOUT_MS = 2e3;
3866
- var CATALOG_QUOTA_STALE_MS = 6e4;
3867
- var EMPTY_REFRESH_BACKOFF_MS = 5 * 6e4;
3868
- var lastRefreshEmptyAt = 0;
3869
- function quotaIsFresh(entry, now) {
3870
- const observedAt = entry.quota?.observedAt;
3871
- return typeof observedAt === "number" && Number.isFinite(observedAt) && now - observedAt < CATALOG_QUOTA_STALE_MS;
3872
- }
3873
- async function refreshCatalogSubscriptionQuotas(args) {
3874
- try {
3875
- const now = Date.now();
3876
- const needsRefresh = args.entries.some(
3877
- (entry) => entry.kind === "private" && !quotaIsFresh(entry, now)
3878
- );
3879
- if (!needsRefresh) return;
3880
- if (lastRefreshEmptyAt && now - lastRefreshEmptyAt < EMPTY_REFRESH_BACKOFF_MS) {
3881
- return;
3882
- }
3883
- const env = args.env ?? process.env;
3884
- const authToken = resolveAuthToken([], env);
3885
- if (!authToken) return;
3886
- const fetchImpl = args.fetchImpl ?? fetch;
3887
- const refreshPromise = (async () => {
3888
- const res = await fetchImpl(
3889
- `${resolveServerUrl(env)}/api/agents/quota/refresh`,
3890
- {
3891
- method: "POST",
3892
- headers: {
3893
- "Content-Type": "application/json",
3894
- Authorization: `Bearer ${authToken}`
3895
- },
3896
- body: "{}",
3897
- signal: AbortSignal.timeout(CATALOG_QUOTA_REFRESH_TIMEOUT_MS)
3898
- }
3899
- );
3900
- if (!res.ok) return;
3901
- const payload = await res.json().catch(() => null);
3902
- const quotas = payload?.quotas;
3903
- if (!quotas || typeof quotas !== "object") return;
3904
- const probed = typeof payload?.probed === "number" ? payload.probed : 0;
3905
- if (probed === 0 && Object.keys(quotas).length === 0) {
3906
- lastRefreshEmptyAt = Date.now();
3907
- return;
3908
- }
3909
- lastRefreshEmptyAt = 0;
3910
- for (const entry of args.entries) {
3911
- const quota = quotas[entry.key];
3912
- if (quota && Array.isArray(quota.windows)) {
3913
- entry.quota = quota;
3914
- }
3915
- }
3916
- })();
3917
- let timer;
3918
- await Promise.race([
3919
- refreshPromise,
3920
- new Promise((resolve4) => {
3921
- timer = setTimeout(resolve4, CATALOG_QUOTA_REFRESH_TIMEOUT_MS);
3922
- })
3923
- ]).catch(() => {
3924
- });
3925
- if (timer) clearTimeout(timer);
3926
- refreshPromise.catch(() => {
3927
- });
3928
- } catch {
3929
- }
3930
- }
3931
-
3932
3882
  // packages/cli/tui/agentCatalog.ts
3933
3883
  var DEFAULT_TUI_AGENT_KEY = NOLO_DEFAULT_AGENT_KEY;
3934
3884
  function formatAgentSourceLabel(entry) {
@@ -4121,14 +4071,25 @@ async function loadAgentCatalog(args) {
4121
4071
  rawData.privateAgents,
4122
4072
  rawData.favoritedAtByKey
4123
4073
  );
4124
- await refreshCatalogSubscriptionQuotas({
4125
- entries,
4126
- env,
4127
- ...args.fetchImpl ? { fetchImpl: args.fetchImpl } : {}
4128
- });
4074
+ await mergeCatalogQuotas(entries, { env, fetchImpl: args.fetchImpl });
4129
4075
  agentCatalogCache = { cacheKey, at: Date.now(), entries };
4130
4076
  return entries;
4131
4077
  }
4078
+ async function mergeCatalogQuotas(entries, args) {
4079
+ const fresh = await refreshSubscriptionQuotas({
4080
+ entries: entries.map((entry) => ({
4081
+ key: entry.key,
4082
+ ...entry.quota ? { quota: entry.quota } : {},
4083
+ probeable: entry.kind === "private"
4084
+ })),
4085
+ ...args.env ? { env: args.env } : {},
4086
+ ...args.fetchImpl ? { fetchImpl: args.fetchImpl } : {}
4087
+ });
4088
+ for (const entry of entries) {
4089
+ const quota = fresh[entry.key];
4090
+ if (quota) entry.quota = quota;
4091
+ }
4092
+ }
4132
4093
  function refreshAgentCatalogInBackground(args, env, cacheKey) {
4133
4094
  if (agentCatalogRefreshInFlight) return;
4134
4095
  agentCatalogRefreshInFlight = fetchRawCatalogData(
@@ -4141,11 +4102,7 @@ function refreshAgentCatalogInBackground(args, env, cacheKey) {
4141
4102
  rawData.privateAgents,
4142
4103
  rawData.favoritedAtByKey
4143
4104
  );
4144
- await refreshCatalogSubscriptionQuotas({
4145
- entries,
4146
- env,
4147
- ...args.fetchImpl ? { fetchImpl: args.fetchImpl } : {}
4148
- });
4105
+ await mergeCatalogQuotas(entries, { env, fetchImpl: args.fetchImpl });
4149
4106
  agentCatalogCache = { cacheKey, at: Date.now(), entries };
4150
4107
  }).catch(() => {
4151
4108
  }).finally(() => {
@@ -5419,15 +5376,6 @@ function renderStatusLine(state, maxWidth) {
5419
5376
  if (!surface) return body;
5420
5377
  return `${surface} ${body} \x1B[49m`;
5421
5378
  }
5422
- function composeStatusLineWithQueue(state, queueSuffix, maxWidth) {
5423
- const hasBudget = typeof maxWidth === "number" && maxWidth > 0;
5424
- const queueWidth = queueSuffix ? visibleWidth(queueSuffix) : 0;
5425
- const budget = hasBudget ? Math.max(1, maxWidth - queueWidth) : void 0;
5426
- const base = renderStatusLine(state, budget);
5427
- if (!queueSuffix) return base;
5428
- if (!hasBudget) return base + queueSuffix;
5429
- return visibleWidth(base) + queueWidth <= maxWidth ? base + queueSuffix : base;
5430
- }
5431
5379
  function buildPlainScene(isDark, frame = 0, maxFrames = 0) {
5432
5380
  let skyLine = null;
5433
5381
  if (isDark === true) {
@@ -11493,11 +11441,7 @@ async function runTuiWorkspace(options) {
11493
11441
  let resolveDone = null;
11494
11442
  const baseFixedInput = createFixedInput(output, {
11495
11443
  getStatusLine: (maxWidth) => {
11496
- const queueSuffix = chatQueueBinding && chatQueueBinding.queueLength() > 0 ? dimCliText(
11497
- ` \xB7 ${chatQueueBinding.queueLength()} ${t("queuedHint")}`,
11498
- resolveCliColorEnabled()
11499
- ) : "";
11500
- return composeStatusLineWithQueue(state, queueSuffix, maxWidth);
11444
+ return renderStatusLine(state, maxWidth);
11501
11445
  },
11502
11446
  getActivityLines: () => activityIndicator.getActivityLines(resolveCliColorEnabled()),
11503
11447
  getQueueLines: () => {
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  fetchAgentContexts
3
- } from "./chunk-VPNHD2TS.js";
3
+ } from "./chunk-63ZFMDDF.js";
4
4
  import {
5
5
  generateRequestBody,
6
6
  mergeReferences,
7
7
  performFetchRequest,
8
8
  sanitizeOutboundBody
9
- } from "./chunk-OMI6BKIS.js";
9
+ } from "./chunk-DT7WS4NV.js";
10
10
  import "./chunk-EOARMOVD.js";
11
11
  import "./chunk-HS7MLR74.js";
12
12
  import "./chunk-6OTOA5MH.js";
13
13
  import {
14
14
  findToolExecutor,
15
15
  getToolResultErrorData
16
- } from "./chunk-K3NOJJUS.js";
16
+ } from "./chunk-MPRDXX4T.js";
17
17
  import "./chunk-OZ6V53WV.js";
18
18
  import "./chunk-5UTFL4QJ.js";
19
19
  import "./chunk-KQHGZWSV.js";
20
20
  import "./chunk-GOMR6S5Z.js";
21
21
  import "./chunk-NF64D32W.js";
22
22
  import "./chunk-3L2WKC3W.js";
23
- import "./chunk-3VNWWVKB.js";
24
- import "./chunk-F5IMTLHP.js";
23
+ import "./chunk-L4KXQ6QP.js";
24
+ import "./chunk-A3JENOEB.js";
25
25
  import "./chunk-HNRASX3X.js";
26
26
  import "./chunk-YRRASA5Q.js";
27
27
  import "./chunk-63W5N6P3.js";
28
28
  import "./chunk-VF4K2QE6.js";
29
- import "./chunk-XFEBG6NU.js";
29
+ import "./chunk-TUETDBTI.js";
30
30
  import "./chunk-Z7IZQF56.js";
31
31
  import "./chunk-XPRWFQQK.js";
32
32
  import "./chunk-BJUDYFV5.js";
33
33
  import "./chunk-MEYIRKDN.js";
34
- import "./chunk-XWVHWH35.js";
34
+ import "./chunk-CRGSU5DB.js";
35
35
  import "./chunk-ZJ7UHBJS.js";
36
36
  import {
37
37
  updateTokensAction
38
- } from "./chunk-2VMY5RLA.js";
38
+ } from "./chunk-TS5BDIPV.js";
39
39
  import "./chunk-MC4XLIJ7.js";
40
40
  import "./chunk-YYLHWIW6.js";
41
41
  import "./chunk-6O4IK4V2.js";
42
- import "./chunk-SNVNLFVK.js";
42
+ import "./chunk-TV5ODOAF.js";
43
43
  import "./chunk-D76D3RTR.js";
44
44
  import "./chunk-5RGU3J7P.js";
45
45
  import "./chunk-M76ECQRD.js";
@@ -19,11 +19,11 @@ import {
19
19
  readStreamChunk,
20
20
  sendOpenAICompletionsRequest,
21
21
  updateTotalUsage
22
- } from "./chunk-37GBLNHI.js";
22
+ } from "./chunk-6YT7I7KF.js";
23
23
  import "./chunk-JEXVIMYZ.js";
24
24
  import {
25
25
  prepareTools
26
- } from "./chunk-OXY64W6K.js";
26
+ } from "./chunk-SUFNELDG.js";
27
27
  import {
28
28
  isContextOverflowText,
29
29
  parseApiError
@@ -44,7 +44,7 @@ import {
44
44
  sanitizeOutboundResponsesInput,
45
45
  selectResponsesConversationState,
46
46
  updateResponsesConversationState
47
- } from "./chunk-OMI6BKIS.js";
47
+ } from "./chunk-DT7WS4NV.js";
48
48
  import "./chunk-EOARMOVD.js";
49
49
  import "./chunk-HS7MLR74.js";
50
50
  import {
@@ -54,7 +54,7 @@ import {
54
54
  getAllToolRuns,
55
55
  resolveAgentRecommendedSkillNames,
56
56
  resolveAgentRequiredPackIds
57
- } from "./chunk-K3NOJJUS.js";
57
+ } from "./chunk-MPRDXX4T.js";
58
58
  import "./chunk-OZ6V53WV.js";
59
59
  import "./chunk-5UTFL4QJ.js";
60
60
  import "./chunk-KQHGZWSV.js";
@@ -64,15 +64,15 @@ import {
64
64
  } from "./chunk-GOMR6S5Z.js";
65
65
  import "./chunk-NF64D32W.js";
66
66
  import "./chunk-3L2WKC3W.js";
67
- import "./chunk-3VNWWVKB.js";
68
- import "./chunk-F5IMTLHP.js";
67
+ import "./chunk-L4KXQ6QP.js";
68
+ import "./chunk-A3JENOEB.js";
69
69
  import "./chunk-HNRASX3X.js";
70
70
  import "./chunk-YRRASA5Q.js";
71
71
  import "./chunk-63W5N6P3.js";
72
72
  import "./chunk-VF4K2QE6.js";
73
73
  import {
74
74
  getDocState
75
- } from "./chunk-XFEBG6NU.js";
75
+ } from "./chunk-TUETDBTI.js";
76
76
  import "./chunk-Z7IZQF56.js";
77
77
  import {
78
78
  resolveToolBaseUrl
@@ -83,7 +83,7 @@ import {
83
83
  } from "./chunk-MEYIRKDN.js";
84
84
  import {
85
85
  getTableState
86
- } from "./chunk-XWVHWH35.js";
86
+ } from "./chunk-CRGSU5DB.js";
87
87
  import {
88
88
  getCurrentSpaceId,
89
89
  getCurrentSpaceIdRaw,
@@ -108,11 +108,11 @@ import {
108
108
  shouldBlockForGptPro,
109
109
  updateTokens,
110
110
  updateToolMessage
111
- } from "./chunk-2VMY5RLA.js";
111
+ } from "./chunk-TS5BDIPV.js";
112
112
  import "./chunk-MC4XLIJ7.js";
113
113
  import "./chunk-YYLHWIW6.js";
114
114
  import "./chunk-6O4IK4V2.js";
115
- import "./chunk-SNVNLFVK.js";
115
+ import "./chunk-TV5ODOAF.js";
116
116
  import {
117
117
  createCliChatTurnStream,
118
118
  getCliChatSession,
@@ -8,31 +8,31 @@ import {
8
8
  toolQueryFunc,
9
9
  toolQueryFunctionSchema,
10
10
  toolRegistry
11
- } from "./chunk-K3NOJJUS.js";
11
+ } from "./chunk-MPRDXX4T.js";
12
12
  import "./chunk-OZ6V53WV.js";
13
13
  import "./chunk-5UTFL4QJ.js";
14
14
  import "./chunk-KQHGZWSV.js";
15
15
  import "./chunk-GOMR6S5Z.js";
16
16
  import "./chunk-NF64D32W.js";
17
17
  import "./chunk-3L2WKC3W.js";
18
- import "./chunk-3VNWWVKB.js";
19
- import "./chunk-F5IMTLHP.js";
18
+ import "./chunk-L4KXQ6QP.js";
19
+ import "./chunk-A3JENOEB.js";
20
20
  import "./chunk-HNRASX3X.js";
21
21
  import "./chunk-YRRASA5Q.js";
22
22
  import "./chunk-63W5N6P3.js";
23
23
  import "./chunk-VF4K2QE6.js";
24
- import "./chunk-XFEBG6NU.js";
24
+ import "./chunk-TUETDBTI.js";
25
25
  import "./chunk-Z7IZQF56.js";
26
26
  import "./chunk-XPRWFQQK.js";
27
27
  import "./chunk-BJUDYFV5.js";
28
28
  import "./chunk-MEYIRKDN.js";
29
- import "./chunk-XWVHWH35.js";
29
+ import "./chunk-CRGSU5DB.js";
30
30
  import "./chunk-ZJ7UHBJS.js";
31
- import "./chunk-2VMY5RLA.js";
31
+ import "./chunk-TS5BDIPV.js";
32
32
  import "./chunk-MC4XLIJ7.js";
33
33
  import "./chunk-YYLHWIW6.js";
34
34
  import "./chunk-6O4IK4V2.js";
35
- import "./chunk-SNVNLFVK.js";
35
+ import "./chunk-TV5ODOAF.js";
36
36
  import "./chunk-D76D3RTR.js";
37
37
  import "./chunk-5RGU3J7P.js";
38
38
  import "./chunk-M76ECQRD.js";
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  updateContentTitle
3
- } from "./chunk-XWVHWH35.js";
3
+ } from "./chunk-CRGSU5DB.js";
4
4
  import "./chunk-ZJ7UHBJS.js";
5
5
  import {
6
6
  isAssistantToolStub,
7
7
  selectAllMsgs
8
- } from "./chunk-2VMY5RLA.js";
8
+ } from "./chunk-TS5BDIPV.js";
9
9
  import {
10
10
  BUILTIN_DIALOG_LLM_FALLBACK_MODEL,
11
11
  BUILTIN_TITLE_LLM_CONFIG
@@ -14,7 +14,7 @@ import "./chunk-YYLHWIW6.js";
14
14
  import "./chunk-6O4IK4V2.js";
15
15
  import {
16
16
  runLlm
17
- } from "./chunk-SNVNLFVK.js";
17
+ } from "./chunk-TV5ODOAF.js";
18
18
  import "./chunk-D76D3RTR.js";
19
19
  import "./chunk-5RGU3J7P.js";
20
20
  import {