nolo-cli 0.16.0-alpha.2 → 0.16.0-alpha.4

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 (67) hide show
  1. package/{_executeModel-QAUS6B7J.js → _executeModel-TZUDMB24.js} +14 -13
  2. package/{agentDeleteCommand-365DMKHW.js → agentDeleteCommand-EMXLYNAH.js} +9 -8
  3. package/{agentEmailCommands-TQMXL36I.js → agentEmailCommands-A4U3WMMS.js} +19 -18
  4. package/{agentListCommands-6B5X4RC6.js → agentListCommands-HQZNTYEG.js} +10 -9
  5. package/{agentMachineCommands-LOEARB6V.js → agentMachineCommands-VFFEYHWZ.js} +9 -8
  6. package/{agentRecordCommands-DCH2WBL2.js → agentRecordCommands-MV6SFG6W.js} +18 -17
  7. package/{agentRunCommand-SGMH67WT.js → agentRunCommand-5M2V6PJT.js} +18 -17
  8. package/{agentRuntimeLocal-YSYZ33ER.js → agentRuntimeLocal-WGVEZMXW.js} +6 -5
  9. package/{agentSlice-IVE735EV.js → agentSlice-ILWKFTS5.js} +1 -1
  10. package/{appDeleteCommands-6QYOO3JB.js → appDeleteCommands-N5AHOOHG.js} +10 -9
  11. package/{appDeployCommands-WTCT6XO6.js → appDeployCommands-GDD4CHRI.js} +10 -9
  12. package/{appDeployStatusCommands-CGWGZJKB.js → appDeployStatusCommands-3ZQH2E2A.js} +10 -9
  13. package/{appGetCommands-O4OCAMRW.js → appGetCommands-U4BGN2SW.js} +10 -9
  14. package/{appListCommands-UENFP4XY.js → appListCommands-S5BF2T4A.js} +10 -9
  15. package/{authCommand-YFTR3347.js → authCommand-WKMPIXR6.js} +8 -2
  16. package/{chunk-HRQCKQA5.js → chunk-27DJM3CW.js} +1 -242
  17. package/{chunk-RKM3K52F.js → chunk-2L6OCZ6Z.js} +1 -1
  18. package/{chunk-YYIRR6QC.js → chunk-2ZDQ5PN5.js} +11 -11
  19. package/{chunk-Z24FGIU2.js → chunk-36GPBUJ2.js} +1 -1
  20. package/{chunk-J55UHASN.js → chunk-3GSNWWY3.js} +1 -1
  21. package/{chunk-6565R2TI.js → chunk-3SCCWSA3.js} +10 -8
  22. package/{chunk-YNHQIXX5.js → chunk-463YM7CS.js} +8 -8
  23. package/{chunk-EMXI3N3Z.js → chunk-4CANFLI7.js} +2 -2
  24. package/chunk-4MSDMVUW.js +247 -0
  25. package/{chunk-YC3DJILJ.js → chunk-7LFS3UL6.js} +8 -6
  26. package/{chunk-GRTFNYLR.js → chunk-AO2YB7PG.js} +2 -2
  27. package/{chunk-VE6XMVKG.js → chunk-CT3XKUX4.js} +8 -8
  28. package/{chunk-4IJYA27C.js → chunk-I4NUTIXT.js} +1 -1
  29. package/{chunk-RSYUDGGZ.js → chunk-LTZL7WC3.js} +1 -1
  30. package/{chunk-WRN5EQT7.js → chunk-MEZVPVXM.js} +1 -1
  31. package/{chunk-6MHDWKOT.js → chunk-MRDODOWX.js} +1 -1
  32. package/{chunk-WPN6RMDF.js → chunk-NCMP6Q3I.js} +3 -3
  33. package/{chunk-I66RU7P7.js → chunk-NY6KTTLA.js} +1 -1
  34. package/{chunk-QLFCNUVQ.js → chunk-OLNFFJVY.js} +44 -15
  35. package/{chunk-QZVGMD5F.js → chunk-ONELX7AM.js} +1 -1
  36. package/{chunk-O53CP2QR.js → chunk-TY27RYCD.js} +2 -2
  37. package/{chunk-BFRVXJJJ.js → chunk-VD24AND2.js} +6 -6
  38. package/{chunk-OQMPU2ML.js → chunk-VOVNQ4YU.js} +3 -3
  39. package/{chunk-ISYE6GZB.js → chunk-W3574B3G.js} +1 -1
  40. package/{chunk-E237VE6U.js → chunk-WFFFQD6S.js} +1 -1
  41. package/{chunk-G2MKOQCB.js → chunk-WIZX3ACC.js} +1 -1
  42. package/{chunk-4NLUNENX.js → chunk-WNUSEMPU.js} +1 -1
  43. package/{chunk-EHLHSX7R.js → chunk-XXUNUXCS.js} +9 -2
  44. package/{chunk-WA6KZL5V.js → chunk-ZODEA6YR.js} +9 -7
  45. package/{createAgentAutomationAction-TS6NNZ4X.js → createAgentAutomationAction-QHGTCNTZ.js} +2 -2
  46. package/{createDialogAction-5HVQ33EX.js → createDialogAction-BEO3QLUA.js} +3 -3
  47. package/{createPageAction-4F3ZGQJD.js → createPageAction-35EGISA5.js} +2 -2
  48. package/{dialogCommands-ZL6L24BS.js → dialogCommands-V7UHKTXT.js} +10 -9
  49. package/{dialogSlice-FAWUQDJW.js → dialogSlice-PWTRW5CX.js} +2 -2
  50. package/{docCreateCommands-LYROQTFH.js → docCreateCommands-TNC5RGE6.js} +9 -8
  51. package/{docDeleteCommands-6TWGTZNR.js → docDeleteCommands-PDMKS5KK.js} +10 -9
  52. package/{docReadCommands-PRULNF26.js → docReadCommands-GGAFPAUO.js} +9 -8
  53. package/{docStore-2UHVWLTV.js → docStore-BIJALNX5.js} +3 -3
  54. package/{docUpdateCommands-NNYYWJBI.js → docUpdateCommands-NCZK5UPH.js} +9 -8
  55. package/{handleSendMessageAction-LJPUYNOH.js → handleSendMessageAction-EN7ZJLBM.js} +190 -4
  56. package/index.js +47 -47
  57. package/{machineCommands-JQPEQFSE.js → machineCommands-WF2VFJD2.js} +17 -16
  58. package/{machineWsRunDispatch-FFFNWVEW.js → machineWsRunDispatch-7675PUSK.js} +17 -16
  59. package/package.json +1 -1
  60. package/{readlineWorkspace-QSXHSBHA.js → readlineWorkspace-4VTHXHUB.js} +23 -22
  61. package/{runAgentClientLoop-A75BUU6D.js → runAgentClientLoop-ZAZSFAAO.js} +11 -10
  62. package/{spaceCommands-4LE45GB7.js → spaceCommands-IASX6FPL.js} +9 -8
  63. package/{spaceSlice-444MFUP6.js → spaceSlice-HGDO7QJK.js} +2 -2
  64. package/{streamAgentChatTurn-DJAE7USZ.js → streamAgentChatTurn-KTDBTZUL.js} +13 -12
  65. package/{tools-YB6LXSVN.js → tools-IUKU5H6C.js} +5 -5
  66. package/{tuiSummaryLlmCaller-QQL3JA5I.js → tuiSummaryLlmCaller-RV6ZXCLV.js} +3 -2
  67. package/{updateDialogTitleAction-6HGFBM64.js → updateDialogTitleAction-6R62F4XS.js} +2 -2
@@ -6,7 +6,7 @@ import {
6
6
  parseFlagWithOptionalValue,
7
7
  runCloudflareOAuthLogin,
8
8
  upsertEnvVariable
9
- } from "./chunk-4IJYA27C.js";
9
+ } from "./chunk-I4NUTIXT.js";
10
10
  import "./chunk-6HYVJV7B.js";
11
11
  import {
12
12
  generatePkcePair,
@@ -17,10 +17,14 @@ import {
17
17
  runXaiOAuthDeviceCode,
18
18
  runXaiOAuthLogin,
19
19
  startCallbackServer
20
- } from "./chunk-EHLHSX7R.js";
20
+ } from "./chunk-XXUNUXCS.js";
21
+ import "./chunk-W3574B3G.js";
22
+ import "./chunk-27DJM3CW.js";
23
+ import "./chunk-OGGHETUE.js";
21
24
  import {
22
25
  createOAuthTokenStore
23
26
  } from "./chunk-JZPBVBIY.js";
27
+ import "./chunk-BYXBJQAS.js";
24
28
  import "./chunk-JBTJAPUF.js";
25
29
  import {
26
30
  toErrorMessage
@@ -33,9 +37,11 @@ import {
33
37
  } from "./chunk-ROWQEJRP.js";
34
38
  import "./chunk-A7GB5UGH.js";
35
39
  import "./chunk-OLZBQWZU.js";
40
+ import "./chunk-524BDL33.js";
36
41
  import "./chunk-O4BU24WZ.js";
37
42
  import "./chunk-I42VC5KR.js";
38
43
  import "./chunk-WWC7I6TA.js";
44
+ import "./chunk-QSJ3HFEF.js";
39
45
  import "./chunk-3EUW3WEO.js";
40
46
  import "./chunk-U6VC4MU4.js";
41
47
  import "./chunk-KUG52IAP.js";
@@ -7,9 +7,6 @@ import {
7
7
  import {
8
8
  asTrimmedString
9
9
  } from "./chunk-3EUW3WEO.js";
10
- import {
11
- isRecord
12
- } from "./chunk-KUG52IAP.js";
13
10
  import {
14
11
  normalizeServerOrigin
15
12
  } from "./chunk-CF7PE763.js";
@@ -344,235 +341,6 @@ async function buildProviderExecutionPlan(args) {
344
341
  };
345
342
  }
346
343
 
347
- // packages/agent-runtime/openAiCompatibleMessages.ts
348
- function preserveAgentStateFields(source, target, options) {
349
- const mutableTarget = target;
350
- if (source.role === "assistant") {
351
- if (!options?.stripReasoningContent && typeof source.reasoning_content === "string") {
352
- mutableTarget.reasoning_content = source.reasoning_content;
353
- }
354
- if (Array.isArray(source.tool_calls)) {
355
- mutableTarget.tool_calls = source.tool_calls;
356
- }
357
- }
358
- if (source.role === "tool") {
359
- const toolCallId = typeof source.tool_call_id === "string" ? source.tool_call_id.trim() : typeof source.toolCallId === "string" ? source.toolCallId.trim() : "";
360
- if (toolCallId) mutableTarget.tool_call_id = toolCallId;
361
- }
362
- return target;
363
- }
364
- function toOpenAiCompatibleMessages(messages, options) {
365
- return messages.map(
366
- (message) => preserveAgentStateFields(message, {
367
- role: message.role,
368
- content: message.content ?? ""
369
- }, options)
370
- );
371
- }
372
-
373
- // packages/integrations/openai/responsesHelpers.ts
374
- var RESPONSES_TOP_LEVEL_SCHEMA_KEYS = ["anyOf", "oneOf", "allOf", "enum", "not"];
375
- var sanitizeResponsesParameters = (parameters) => {
376
- if (!isRecord(parameters)) {
377
- return parameters;
378
- }
379
- const next = { ...parameters };
380
- for (const key of RESPONSES_TOP_LEVEL_SCHEMA_KEYS) {
381
- delete next[key];
382
- }
383
- return next;
384
- };
385
- var appendTextPart = (parts, text, role) => {
386
- if (!text) return;
387
- const last = parts.at(-1);
388
- const textType = role === "assistant" ? "output_text" : "input_text";
389
- if (last?.type === textType) {
390
- last.text += text;
391
- return;
392
- }
393
- parts.push({ type: textType, text });
394
- };
395
- var normalizeMessageParts = (content, role) => {
396
- if (typeof content === "string") {
397
- if (!content) return [];
398
- return [
399
- {
400
- type: role === "assistant" ? "output_text" : "input_text",
401
- text: content
402
- }
403
- ];
404
- }
405
- const parts = [];
406
- for (const part of content ?? []) {
407
- const typedPart = part;
408
- if (typedPart?.type === "text" && typeof typedPart.text === "string") {
409
- appendTextPart(parts, typedPart.text, role);
410
- continue;
411
- }
412
- if (typedPart?.type === "image_url" && typeof typedPart.image_url?.url === "string" && typedPart.image_url.url) {
413
- if (role === "assistant") continue;
414
- parts.push({
415
- type: "input_image",
416
- image_url: typedPart.image_url.url,
417
- detail: typedPart.image_url.detail
418
- });
419
- }
420
- }
421
- return parts;
422
- };
423
- var normalizeToolOutput = (content) => {
424
- if (typeof content === "string") return content;
425
- return JSON.stringify(content ?? "");
426
- };
427
- var toResponsesTools = (tools) => {
428
- if (!Array.isArray(tools) || tools.length === 0) return void 0;
429
- return tools.map((tool) => {
430
- const fn = tool?.function;
431
- if (!fn?.name) return null;
432
- return {
433
- type: "function",
434
- name: fn.name,
435
- description: fn.description,
436
- parameters: sanitizeResponsesParameters(fn.parameters),
437
- strict: fn.strict
438
- };
439
- }).filter(Boolean);
440
- };
441
- var convertMessagesToResponsesInput = (messages) => {
442
- const input = [];
443
- for (const message of messages) {
444
- if (!message?.role) continue;
445
- if (message.role === "tool") {
446
- if (!message.tool_call_id) continue;
447
- input.push({
448
- type: "function_call_output",
449
- call_id: message.tool_call_id,
450
- output: normalizeToolOutput(message.content)
451
- });
452
- continue;
453
- }
454
- const role = message.role;
455
- if (role === "assistant" && typeof message.reasoning_content === "string" && message.reasoning_content) {
456
- input.push({ type: "reasoning", content: message.reasoning_content });
457
- }
458
- const contentParts = normalizeMessageParts(message.content, role);
459
- if (contentParts.length > 0) {
460
- input.push({
461
- type: "message",
462
- role,
463
- content: contentParts
464
- });
465
- }
466
- if (role === "assistant" && Array.isArray(message.content)) {
467
- const replayImages = message.content.map((part) => part).filter(
468
- (part) => part?.type === "image_url" && typeof part.image_url?.url === "string" && Boolean(part.image_url.url)
469
- ).map((part) => ({
470
- type: "input_image",
471
- image_url: part.image_url.url,
472
- detail: part.image_url.detail
473
- }));
474
- if (replayImages.length > 0) {
475
- input.push({
476
- type: "message",
477
- role: "user",
478
- content: replayImages
479
- });
480
- }
481
- }
482
- if (role === "assistant" && Array.isArray(message.tool_calls)) {
483
- for (const toolCall of message.tool_calls) {
484
- if (!toolCall?.id || !toolCall.function?.name) continue;
485
- input.push({
486
- type: "function_call",
487
- call_id: toolCall.id,
488
- name: toolCall.function.name,
489
- arguments: typeof toolCall.function.arguments === "string" ? toolCall.function.arguments : JSON.stringify(toolCall.function.arguments ?? {})
490
- });
491
- }
492
- }
493
- }
494
- return input;
495
- };
496
- var extractTextFromResponseOutput = (response) => {
497
- const parts = [];
498
- for (const item of response?.output ?? []) {
499
- if (item?.type !== "message") continue;
500
- for (const content of item.content ?? []) {
501
- if (content?.type === "output_text" && typeof content.text === "string") {
502
- parts.push(content.text);
503
- }
504
- }
505
- }
506
- return parts.join("");
507
- };
508
- var toDataUrl = (base64Data, mimeType) => {
509
- const normalizedMimeType = asOptionalTrimmedString(mimeType) ?? "image/png";
510
- return `data:${normalizedMimeType};base64,${base64Data}`;
511
- };
512
- var extractImagePartsFromResponseOutput = (response) => {
513
- const images = [];
514
- for (const item of response?.output ?? []) {
515
- if (item?.type === "image_generation_call") {
516
- const result = asOptionalTrimmedString(item.result);
517
- if (result) {
518
- const outputFormat = asOptionalTrimmedString(item.output_format);
519
- images.push({
520
- type: "image_url",
521
- image_url: {
522
- url: toDataUrl(
523
- result,
524
- outputFormat ? `image/${outputFormat}` : void 0
525
- )
526
- }
527
- });
528
- }
529
- continue;
530
- }
531
- if (item?.type !== "message") continue;
532
- for (const content of item.content ?? []) {
533
- const result = asOptionalTrimmedString(content?.result);
534
- if (content?.type === "output_image" && result) {
535
- images.push({
536
- type: "image_url",
537
- image_url: {
538
- url: toDataUrl(
539
- result,
540
- content.mime_type ?? content.mimeType ?? null
541
- )
542
- }
543
- });
544
- }
545
- }
546
- }
547
- return images;
548
- };
549
- var extractToolCallsFromResponseOutput = (response) => {
550
- const calls = [];
551
- for (const item of response?.output ?? []) {
552
- if (item?.type !== "function_call") continue;
553
- if (!item.call_id || !item.name) continue;
554
- calls.push({
555
- id: item.call_id,
556
- type: "function",
557
- function: {
558
- name: item.name,
559
- arguments: typeof item.arguments === "string" ? item.arguments : JSON.stringify(item.arguments ?? {})
560
- }
561
- });
562
- }
563
- return calls;
564
- };
565
-
566
- // packages/core/chat/imageParts.ts
567
- function isImageUrlPart(part) {
568
- return isRecord(part) && part.type === "image_url";
569
- }
570
- function hasImageParts(messages) {
571
- return messages.some(
572
- (message) => Array.isArray(message.content) && message.content.some(isImageUrlPart)
573
- );
574
- }
575
-
576
344
  export {
577
345
  pickAgentRuntimeInferenceOptions,
578
346
  isOpenAiResponsesModel,
@@ -586,14 +354,5 @@ export {
586
354
  resolveAgentRuntimeLocation,
587
355
  resolveProviderTransportDecision,
588
356
  buildProviderAuthHeaders,
589
- buildProviderExecutionPlan,
590
- isImageUrlPart,
591
- hasImageParts,
592
- preserveAgentStateFields,
593
- toOpenAiCompatibleMessages,
594
- toResponsesTools,
595
- convertMessagesToResponsesInput,
596
- extractTextFromResponseOutput,
597
- extractImagePartsFromResponseOutput,
598
- extractToolCallsFromResponseOutput
357
+ buildProviderExecutionPlan
599
358
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isImageUrlPart
3
- } from "./chunk-HRQCKQA5.js";
3
+ } from "./chunk-4MSDMVUW.js";
4
4
  import {
5
5
  canonicalizeToolNames
6
6
  } from "./chunk-B4KT7RN2.js";
@@ -18,17 +18,17 @@ import {
18
18
  isBuiltinNoloAgentRef,
19
19
  t,
20
20
  toolLabel
21
- } from "./chunk-QLFCNUVQ.js";
21
+ } from "./chunk-OLNFFJVY.js";
22
22
  import {
23
23
  getReadableCliDb
24
24
  } from "./chunk-W4NVOSFF.js";
25
25
  import {
26
26
  readDbRecord,
27
27
  resolveAgentRecordFromHybridStore
28
- } from "./chunk-4NLUNENX.js";
28
+ } from "./chunk-WNUSEMPU.js";
29
29
  import {
30
30
  normalizeAgentHandle
31
- } from "./chunk-QZVGMD5F.js";
31
+ } from "./chunk-ONELX7AM.js";
32
32
  import {
33
33
  NOLO_PROJECT_MANAGER_AGENT_KEY,
34
34
  isLocalCliAgentKey
@@ -45,7 +45,7 @@ import {
45
45
  formatStatusRunCard,
46
46
  formatStopRunCard,
47
47
  isAgentRunTerminalStatus
48
- } from "./chunk-VE6XMVKG.js";
48
+ } from "./chunk-CT3XKUX4.js";
49
49
  import {
50
50
  isGatewayHttpStatus
51
51
  } from "./chunk-RQSOAMPJ.js";
@@ -54,7 +54,7 @@ import {
54
54
  chooseMemoryOwners,
55
55
  loadMemoryCandidatesFromDb,
56
56
  resolveAgentMemoryPolicy
57
- } from "./chunk-Z24FGIU2.js";
57
+ } from "./chunk-36GPBUJ2.js";
58
58
  import {
59
59
  parseExternalSkillMarkdown,
60
60
  parseSkillDocProtocol
@@ -63,14 +63,14 @@ import {
63
63
  API_REPORTED_COST_MULTIPLIER,
64
64
  normalizeUsage,
65
65
  parseUiAskChoiceContent
66
- } from "./chunk-YNHQIXX5.js";
66
+ } from "./chunk-463YM7CS.js";
67
67
  import {
68
68
  buildSkillDiscoveryContextBlock
69
69
  } from "./chunk-AS3ZQ3O2.js";
70
70
  import {
71
71
  buildPlatformChatCompletionRequest,
72
72
  parsePlatformChatCompletionData
73
- } from "./chunk-WA6KZL5V.js";
73
+ } from "./chunk-ZODEA6YR.js";
74
74
  import {
75
75
  resolveAgentRuntimeConfigFromRecord
76
76
  } from "./chunk-OIQPORYI.js";
@@ -79,7 +79,7 @@ import {
79
79
  LOCAL_TURN_ABORTED_CODE,
80
80
  readActionGate,
81
81
  readCommandActionGatePayload
82
- } from "./chunk-6MHDWKOT.js";
82
+ } from "./chunk-MRDODOWX.js";
83
83
  import {
84
84
  createThinkParserState,
85
85
  flushThinkParser,
@@ -88,7 +88,7 @@ import {
88
88
  import {
89
89
  resolvePlatformAuthToken,
90
90
  resolvePlatformChatCompletionsEndpoint
91
- } from "./chunk-HRQCKQA5.js";
91
+ } from "./chunk-27DJM3CW.js";
92
92
  import {
93
93
  DEFAULT_CONTEXT_WINDOW,
94
94
  getModelContextWindow
@@ -3557,7 +3557,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
3557
3557
  // packages/cli/client/agentRun.ts
3558
3558
  import { ulid } from "ulid";
3559
3559
  async function loadRunLocalAgentTurn() {
3560
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-YSYZ33ER.js");
3560
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-WGVEZMXW.js");
3561
3561
  return runLocalAgentTurn;
3562
3562
  }
3563
3563
  async function resolveCurrentMachineId(options) {
@@ -3993,7 +3993,7 @@ async function runLocalAgentTurnForCli(options, settings) {
3993
3993
  } : void 0;
3994
3994
  const currentDialogId = options.continueDialogId ?? ulid();
3995
3995
  const runChildTurn = async (input) => {
3996
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-YSYZ33ER.js");
3996
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-WGVEZMXW.js");
3997
3997
  return runLocalAgentTurn(input);
3998
3998
  };
3999
3999
  const createFreshChildBaseAdapter = () => {
@@ -3,7 +3,7 @@ import {
3
3
  prepareAndPersistMessage,
4
4
  uiAskChoiceFunc,
5
5
  uiAskChoiceFunctionSchema
6
- } from "./chunk-YNHQIXX5.js";
6
+ } from "./chunk-463YM7CS.js";
7
7
  import {
8
8
  require_date_fns
9
9
  } from "./chunk-M76ECQRD.js";
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-4NLUNENX.js";
5
+ } from "./chunk-WNUSEMPU.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-KQHGZWSV.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
3
3
  isAntigravityOAuthAgent
4
- } from "./chunk-ISYE6GZB.js";
4
+ } from "./chunk-W3574B3G.js";
5
5
  import {
6
6
  clipMultilineText,
7
7
  fetchAndSerializeTable,
8
8
  waitForAbortableDelay
9
- } from "./chunk-VE6XMVKG.js";
9
+ } from "./chunk-CT3XKUX4.js";
10
10
  import {
11
11
  createDrainExhaustedResponse,
12
12
  isCoreDrainingBody,
@@ -26,25 +26,27 @@ import {
26
26
  import {
27
27
  fetchAndCacheMessages,
28
28
  shouldUseServerProxy
29
- } from "./chunk-YNHQIXX5.js";
29
+ } from "./chunk-463YM7CS.js";
30
30
  import {
31
31
  fetchServerSyncedCredential
32
- } from "./chunk-OQMPU2ML.js";
32
+ } from "./chunk-VOVNQ4YU.js";
33
33
  import {
34
34
  buildCurrentTimeBlock,
35
35
  buildIdentityBlock,
36
36
  buildRuntimeGuidanceBlocks,
37
37
  requiresBareImageUrl,
38
38
  toBareImageUrlMessages
39
- } from "./chunk-RKM3K52F.js";
39
+ } from "./chunk-2L6OCZ6Z.js";
40
40
  import {
41
- buildProviderAuthHeaders,
42
41
  convertMessagesToResponsesInput,
42
+ preserveAgentStateFields
43
+ } from "./chunk-4MSDMVUW.js";
44
+ import {
45
+ buildProviderAuthHeaders,
43
46
  isOpenAiResponsesModel,
44
- preserveAgentStateFields,
45
47
  resolvePlatformChatCompletionsEndpoint,
46
48
  resolvePlatformResponsesEndpoint
47
- } from "./chunk-HRQCKQA5.js";
49
+ } from "./chunk-27DJM3CW.js";
48
50
  import {
49
51
  canonicalizeToolNames
50
52
  } from "./chunk-B4KT7RN2.js";
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  deleteServerSyncedCredential,
17
17
  runLlm
18
- } from "./chunk-OQMPU2ML.js";
18
+ } from "./chunk-VOVNQ4YU.js";
19
19
  import {
20
20
  cleanupCliSessionForDialog
21
21
  } from "./chunk-JS33TCQ3.js";
@@ -5529,7 +5529,7 @@ var messageSlice = createSliceWithThunks({
5529
5529
  runtimeOptions: args.runtimeOptions
5530
5530
  });
5531
5531
  if (agentKeyToUse) {
5532
- const { streamAgentChatTurn } = await import("./agentSlice-IVE735EV.js");
5532
+ const { streamAgentChatTurn } = await import("./agentSlice-ILWKFTS5.js");
5533
5533
  await dispatch(
5534
5534
  streamAgentChatTurn({
5535
5535
  agentKey: agentKeyToUse,
@@ -8249,7 +8249,7 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8249
8249
  }
8250
8250
  if (isCurrentDialog) {
8251
8251
  await thunkApi.dispatch(resetMsgs());
8252
- const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-FAWUQDJW.js");
8252
+ const { clearPendingAttachments: clearPendingAttachments2 } = await import("./dialogSlice-PWTRW5CX.js");
8253
8253
  dispatch(clearPendingAttachments2());
8254
8254
  clearWorkflow();
8255
8255
  }
@@ -8258,15 +8258,15 @@ var deleteDialogThunk = async (payload, thunkApi) => {
8258
8258
 
8259
8259
  // packages/chat/dialog/dialogSlice.ts
8260
8260
  var runCreateDialogAction = async (args, thunkApi) => {
8261
- const { createDialogAction } = await import("./createDialogAction-5HVQ33EX.js");
8261
+ const { createDialogAction } = await import("./createDialogAction-BEO3QLUA.js");
8262
8262
  return createDialogAction(args, thunkApi);
8263
8263
  };
8264
8264
  var runCreateAgentAutomationAction = async (args, thunkApi) => {
8265
- const { createAgentAutomationAction } = await import("./createAgentAutomationAction-TS6NNZ4X.js");
8265
+ const { createAgentAutomationAction } = await import("./createAgentAutomationAction-QHGTCNTZ.js");
8266
8266
  return createAgentAutomationAction(args, thunkApi);
8267
8267
  };
8268
8268
  var runUpdateDialogTitleAction = async (args, thunkApi) => {
8269
- const { updateDialogTitleAction } = await import("./updateDialogTitleAction-6HGFBM64.js");
8269
+ const { updateDialogTitleAction } = await import("./updateDialogTitleAction-6R62F4XS.js");
8270
8270
  return updateDialogTitleAction(args, thunkApi);
8271
8271
  };
8272
8272
  var runAddDialogAgentAction = async (args, thunkApi) => {
@@ -8286,7 +8286,7 @@ var runSetDialogExtraReferencesAction = async (args, thunkApi) => {
8286
8286
  return setDialogExtraReferencesAction(args, thunkApi);
8287
8287
  };
8288
8288
  var runHandleSendMessageAction = async (args, thunkApi) => {
8289
- const { handleSendMessageAction } = await import("./handleSendMessageAction-LJPUYNOH.js");
8289
+ const { handleSendMessageAction } = await import("./handleSendMessageAction-EN7ZJLBM.js");
8290
8290
  return handleSendMessageAction(args, thunkApi);
8291
8291
  };
8292
8292
  function clearDialogState() {
@@ -8299,7 +8299,7 @@ var createPageAndAddReference = createAsyncThunk(
8299
8299
  async (payload, { dispatch, getState, rejectWithValue }) => {
8300
8300
  const { slateData, jsonData, title, type, fileId, groupId, dialogKey } = payload;
8301
8301
  try {
8302
- const { createDocState } = await import("./docStore-2UHVWLTV.js");
8302
+ const { createDocState } = await import("./docStore-BIJALNX5.js");
8303
8303
  const pageKey = await createDocState(
8304
8304
  { slateData, title },
8305
8305
  { dispatch, getState }
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  clearCliLocalRuntimePreparedAgentCache
3
- } from "./chunk-QLFCNUVQ.js";
3
+ } from "./chunk-OLNFFJVY.js";
4
4
  import {
5
5
  getReadableCliDb
6
6
  } from "./chunk-W4NVOSFF.js";
@@ -12,7 +12,7 @@ import {
12
12
  resolveAgentRecordFromHybridStore,
13
13
  sanitizeAgentRecordForCliOutput,
14
14
  writeAgentRecord
15
- } from "./chunk-4NLUNENX.js";
15
+ } from "./chunk-WNUSEMPU.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
18
  } from "./chunk-VHBWHNVT.js";