nolo-cli 0.30.0-alpha.16 → 0.30.0-alpha.17

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 (102) hide show
  1. package/{_executeModel-RPVEFWZE.js → _executeModel-UDIVONWT.js} +32 -32
  2. package/{action-HI3VRQLP.js → action-P5NVIGGG.js} +6 -6
  3. package/{addContentAction-NCURJ6PK.js → addContentAction-V2QQUJ32.js} +5 -5
  4. package/{addDialogAgentAction-RCY4ECF4.js → addDialogAgentAction-536QKJ6L.js} +4 -4
  5. package/{agentDeleteCommand-ALMEJQSN.js → agentDeleteCommand-KR2AOFUR.js} +25 -25
  6. package/{agentEmailCommands-SKPDD2H5.js → agentEmailCommands-ATFOL4YL.js} +37 -37
  7. package/{agentListCommands-J5KXCTG7.js → agentListCommands-PVISDHEH.js} +27 -27
  8. package/{agentMachineCommands-5EO36JQP.js → agentMachineCommands-HWCVOWT4.js} +25 -25
  9. package/{agentRecordCommands-SHDXGMCT.js → agentRecordCommands-X3PZHTZF.js} +36 -36
  10. package/{agentRunCommand-EHBIBRYS.js → agentRunCommand-ZAQ7SUPD.js} +36 -36
  11. package/{agentRuntimeLocal-33HIW2B5.js → agentRuntimeLocal-OJSF7ASI.js} +22 -22
  12. package/{agentSlice-Z67XJAEB.js → agentSlice-A44QWXKV.js} +5 -5
  13. package/{appDeleteCommands-D4DKOPEO.js → appDeleteCommands-VUHZIEII.js} +26 -26
  14. package/{appDeployCommands-KBMBOWDJ.js → appDeployCommands-AL65K337.js} +26 -26
  15. package/{appDeployStatusCommands-LPNXC35V.js → appDeployStatusCommands-S4K6ZI2G.js} +26 -26
  16. package/{appGetCommands-J5BV36OP.js → appGetCommands-E2JQXCLL.js} +26 -26
  17. package/{appListCommands-TBPOEBGL.js → appListCommands-MRLBOQ4F.js} +26 -26
  18. package/{authCommand-3GQR43KB.js → authCommand-EEPAMCL5.js} +6 -6
  19. package/{chunk-ATK5WJOA.js → chunk-2U6OW2C3.js} +3 -3
  20. package/{chunk-O6PR7OEC.js → chunk-3AQLTEV6.js} +26 -26
  21. package/{chunk-2K4NDPT5.js → chunk-5QCX4USZ.js} +3 -16
  22. package/{chunk-SFWZUTCI.js → chunk-6BHFP2I2.js} +1 -1
  23. package/{chunk-CGRGHTRM.js → chunk-AFY5VXL4.js} +10 -10
  24. package/{chunk-Y37L6ZJJ.js → chunk-B2NMLPPF.js} +11 -11
  25. package/{chunk-ZFMBGISW.js → chunk-CTNZOVAK.js} +4 -4
  26. package/{chunk-LAXMH7JY.js → chunk-DFPTW7QE.js} +5 -5
  27. package/{chunk-2IJAKBK2.js → chunk-E5WZMGFH.js} +414 -236
  28. package/{chunk-ZJH3LKEW.js → chunk-FD6FKCDH.js} +1 -1
  29. package/{chunk-APH6YKRU.js → chunk-FDU55CU6.js} +2 -2
  30. package/{chunk-QDVKSUVS.js → chunk-GA3445ID.js} +2 -2
  31. package/{chunk-C5LUFXRU.js → chunk-GCKV55PN.js} +6 -6
  32. package/{chunk-VP4WJWKW.js → chunk-GM6PU7B6.js} +431 -345
  33. package/{chunk-CCBEUTI3.js → chunk-H374ANLV.js} +3 -3
  34. package/{chunk-JSQBUSDX.js → chunk-HSLWFYXV.js} +3 -3
  35. package/{chunk-XCCPWF3M.js → chunk-IC2O5ERT.js} +24 -25
  36. package/{chunk-3LY4F7SV.js → chunk-INZZJSQF.js} +348 -331
  37. package/{chunk-43EPBPZ2.js → chunk-JQFRQWGN.js} +1 -1
  38. package/{chunk-UDA3ZYLW.js → chunk-LCFTHU4L.js} +2 -2
  39. package/{chunk-6XASEZZC.js → chunk-M2C5LJCQ.js} +249 -215
  40. package/{chunk-CAENRKNJ.js → chunk-MM4VL6W6.js} +64 -81
  41. package/{chunk-L7YEJWTK.js → chunk-NS2OOLL4.js} +1 -1
  42. package/{chunk-65677FXQ.js → chunk-NY62UD7Y.js} +1 -1
  43. package/{chunk-ISCO75E2.js → chunk-OA5O6NIX.js} +1 -1
  44. package/{chunk-G5GVZAXF.js → chunk-OJE3M2CY.js} +3 -3
  45. package/{chunk-YHGHADBQ.js → chunk-OLM3MSUX.js} +1 -1
  46. package/{chunk-KGEVMUMI.js → chunk-OMR6FM26.js} +2 -2
  47. package/{chunk-DYSVCA3I.js → chunk-P3A4IVAJ.js} +12 -12
  48. package/{chunk-OYWWNU4S.js → chunk-P5YDMJ52.js} +1 -1
  49. package/{chunk-PTHDLIRB.js → chunk-PHNKV5OL.js} +1 -1
  50. package/{chunk-DFIDPY57.js → chunk-Q5EDKGQ4.js} +1 -1
  51. package/{chunk-FBXHGRKK.js → chunk-QBUMNDV4.js} +6 -6
  52. package/{chunk-ZJ2WITOO.js → chunk-QGSD46W6.js} +1 -1
  53. package/{chunk-6CABEXHO.js → chunk-R4Z22GQN.js} +5 -5
  54. package/{chunk-WTGCTVJG.js → chunk-RAHYAK3J.js} +1 -1
  55. package/{chunk-JPPZ7KOT.js → chunk-RR3CMLZ4.js} +13 -13
  56. package/{chunk-FRHQTJSE.js → chunk-RZAO7ODD.js} +5 -5
  57. package/{chunk-V54H24CQ.js → chunk-U2I2DYUD.js} +2 -2
  58. package/{chunk-MXHPQ4ZP.js → chunk-V6KBHF6O.js} +2 -2
  59. package/{chunk-JVKITFNK.js → chunk-VFTR2DDW.js} +2 -2
  60. package/{chunk-E3APEOIM.js → chunk-VK7N2IGC.js} +1 -1
  61. package/{chunk-M4TQ5FES.js → chunk-W6T6CDHM.js} +4 -4
  62. package/{chunk-FKSFP7XK.js → chunk-WRNPQBNT.js} +14 -14
  63. package/{chunk-F3MP7CP6.js → chunk-XD6JM3SC.js} +1 -1
  64. package/{chunk-MTJ3QIP7.js → chunk-XRNROT2M.js} +5 -5
  65. package/{chunk-ZLJWBBPK.js → chunk-ZZK2S3DE.js} +2 -2
  66. package/{clipboardy-BVE3LVEH.js → clipboardy-MMBYVRLF.js} +166 -372
  67. package/{createAgentAutomationAction-FC5JXI7R.js → createAgentAutomationAction-3SIKM6ZI.js} +13 -13
  68. package/{createDialogAction-L56Q2KGL.js → createDialogAction-J2BQ5HWS.js} +14 -14
  69. package/{createPageAction-23K4MGBC.js → createPageAction-AP3GTIYF.js} +15 -15
  70. package/{dbSlice-BBL3PEVW.js → dbSlice-6IRTSQLA.js} +4 -4
  71. package/{deleteFile-RJTEPOT4.js → deleteFile-TSEW36N4.js} +2 -2
  72. package/{dialogCommands-IXX4KIO4.js → dialogCommands-FVIUXL76.js} +26 -26
  73. package/{dialogSlice-4L4UXF7H.js → dialogSlice-3Y5JN5YB.js} +12 -12
  74. package/{docCreateCommands-CD4V2W3D.js → docCreateCommands-NZWSNBHB.js} +25 -25
  75. package/{docDeleteCommands-PORKB6MK.js → docDeleteCommands-G2JJCGQX.js} +26 -26
  76. package/{docReadCommands-4Y3FIOON.js → docReadCommands-O4JDEM6Z.js} +25 -25
  77. package/{docStore-Y6CJ4EMN.js → docStore-SILWT4ZA.js} +14 -14
  78. package/{docUpdateCommands-OTQZYIDN.js → docUpdateCommands-SBX43RFV.js} +25 -25
  79. package/{getPricing-QO5TYNCK.js → getPricing-UVOBHKQU.js} +3 -3
  80. package/{handleSendMessageAction-R775ABXT.js → handleSendMessageAction-75QIHWQM.js} +12 -12
  81. package/index.js +47 -47
  82. package/{lib-FYYBQIXS.js → lib-2ZTNRXR4.js} +432 -183
  83. package/{machineCommands-WK6KQ4OF.js → machineCommands-BT6OIRO7.js} +35 -35
  84. package/{machineWsRunDispatch-H22DDQUD.js → machineWsRunDispatch-U7KC332Z.js} +35 -35
  85. package/{models-WDUTTYFS.js → models-LIGXE6EQ.js} +2 -2
  86. package/package.json +1 -1
  87. package/{read-64OQDO3I.js → read-UMWKE5D4.js} +2 -2
  88. package/{readDocTool-MXM3T6PE.js → readDocTool-FEHZDVEE.js} +1 -1
  89. package/{readlineWorkspace-H4RG3P2X.js → readlineWorkspace-LDGKLBBE.js} +40 -40
  90. package/{removeDialogAgentAction-NEKVAMSH.js → removeDialogAgentAction-X32EDHZX.js} +6 -6
  91. package/{runAgentClientLoop-X62DJXWK.js → runAgentClientLoop-7RV4HOYL.js} +28 -28
  92. package/{setDialogExtraReferencesAction-WTOHQDIV.js → setDialogExtraReferencesAction-VGI5CCSY.js} +5 -5
  93. package/{setPrimaryDialogAgentAction-LDJOYC4F.js → setPrimaryDialogAgentAction-QOFXGQT6.js} +6 -6
  94. package/{settingSlice-4M37TN7V.js → settingSlice-RHSYAKFT.js} +5 -5
  95. package/{slateUtils-2M7MUTWX.js → slateUtils-VO2FU36K.js} +1 -1
  96. package/{spaceCommands-UENBIIAG.js → spaceCommands-ZUTH77CK.js} +25 -25
  97. package/{spaceSlice-RSRIBG3I.js → spaceSlice-VNT5E4TT.js} +13 -13
  98. package/{streamAgentChatTurn-5SFVRLJX.js → streamAgentChatTurn-4CZASNW4.js} +31 -31
  99. package/{switchDialogAgentAction-XVWGKR2Z.js → switchDialogAgentAction-KX56UKUF.js} +4 -4
  100. package/{tools-XZTXW7W4.js → tools-IXK45RRJ.js} +23 -23
  101. package/{tuiSummaryLlmCaller-LBL5NS77.js → tuiSummaryLlmCaller-4ZVJZKP4.js} +4 -4
  102. package/{updateDialogTitleAction-6NV52GCP.js → updateDialogTitleAction-DMZTWY24.js} +13 -13
@@ -68,10 +68,10 @@ var googleModels = [
68
68
  maxOutputTokens: 65500,
69
69
  supportsTool: true,
70
70
  price: {
71
- input: 0.5 * 7,
72
- output: 3 * 7,
73
- cachingWrite: 0.05 * 7,
74
- cachingRead: 0.05 * 7
71
+ input: 3.5,
72
+ output: 21,
73
+ cachingWrite: 0.35000000000000003,
74
+ cachingRead: 0.35000000000000003
75
75
  }
76
76
  },
77
77
  {
@@ -85,12 +85,11 @@ var googleModels = [
85
85
  maxOutputTokens: 65536,
86
86
  supportsTool: true,
87
87
  supportsReasoningEffort: true,
88
- // TODO(pricing): gemini-3.6-flash 官方定价未确认,暂沿用 3.5-flash 费率,确认后更新。
89
88
  price: {
90
- input: 1.5 * 7,
91
- output: 9 * 7,
92
- cachingWrite: 0.15 * 7,
93
- cachingRead: 0.15 * 7
89
+ input: 10.5,
90
+ output: 63,
91
+ cachingWrite: 1.05,
92
+ cachingRead: 1.05
94
93
  },
95
94
  serviceTierPriceMultipliers: {
96
95
  batch: { inputOutput: 0.5, cache: 0.5 },
@@ -109,21 +108,20 @@ var googleModels = [
109
108
  maxOutputTokens: 65536,
110
109
  supportsTool: true,
111
110
  supportsReasoningEffort: true,
112
- // Official promo pricing: $0.75/$3.75/$0.075 per 1M through 2026-12-31.
113
111
  // Antigravity's subscription wire route is tiered; Gemini API uses this logical id.
114
112
  price: {
115
- input: 0.75 * 7,
116
- output: 3.75 * 7,
117
- cachingWrite: 0.075 * 7,
118
- cachingRead: 0.075 * 7
113
+ input: 5.25,
114
+ output: 26.25,
115
+ cachingWrite: 0.525,
116
+ cachingRead: 0.525
119
117
  }
120
118
  },
121
119
  createGoogleImageModel({
122
120
  name: "gemini-3-pro-image-preview",
123
121
  displayName: "Nano Banana Pro (Gemini 3 Pro Image Preview)",
124
- inputPrice: 2 * 7,
125
- outputPrice: 12 * 7,
126
- imageTokenPricePerMillion: 120 * 7,
122
+ inputPrice: 14,
123
+ outputPrice: 84,
124
+ imageTokenPricePerMillion: 840,
127
125
  imageOutputTokenEstimateBySize: {
128
126
  "1K": 1120,
129
127
  "2K": 1120,
@@ -159,9 +157,9 @@ var googleModels = [
159
157
  createGoogleImageModel({
160
158
  name: "gemini-3.1-flash-image-preview",
161
159
  displayName: "Nano Banana 2 (Gemini 3.1 Flash Image Preview)",
162
- inputPrice: 0.5 * 7,
163
- outputPrice: 3 * 7,
164
- imageTokenPricePerMillion: 60 * 7,
160
+ inputPrice: 3.5,
161
+ outputPrice: 21,
162
+ imageTokenPricePerMillion: 420,
165
163
  imageOutputTokenEstimateBySize: {
166
164
  "1K": 1120,
167
165
  "2K": 1680,
@@ -197,9 +195,9 @@ var googleModels = [
197
195
  createGoogleImageModel({
198
196
  name: "gemini-3.1-flash-lite-image",
199
197
  displayName: "Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image)",
200
- inputPrice: 0.25 * 7,
201
- outputPrice: 1.5 * 7,
202
- pricePerImage: 0.034 * 7,
198
+ inputPrice: 1.75,
199
+ outputPrice: 10.5,
200
+ pricePerImage: 0.23800000000000002,
203
201
  maxOutputTokens: 65536,
204
202
  contextWindow: 65536,
205
203
  imageGenerationWaitTimeSeconds: {
@@ -231,49 +229,49 @@ var googleModels = [
231
229
 
232
230
  // packages/integrations/openai/models.ts
233
231
  var GPT_5_5_STANDARD_PRICE = {
234
- input: 5 * 8,
235
- output: 30 * 8,
236
- inputCacheHit: 0.5 * 8
232
+ input: 40,
233
+ output: 240,
234
+ inputCacheHit: 4
237
235
  };
238
236
  var GPT_5_5_LONG_CONTEXT_PRICE = {
239
- input: 10 * 8,
240
- output: 45 * 8,
241
- inputCacheHit: 1 * 8
237
+ input: 80,
238
+ output: 360,
239
+ inputCacheHit: 8
242
240
  };
243
241
  var GPT_5_5_PRO_STANDARD_PRICE = {
244
- input: 30 * 8,
245
- output: 180 * 8,
242
+ input: 240,
243
+ output: 1440,
246
244
  inputCacheHit: 0
247
245
  };
248
246
  var GPT_5_5_PRO_LONG_CONTEXT_PRICE = {
249
- input: 60 * 8,
250
- output: 270 * 8,
247
+ input: 480,
248
+ output: 2160,
251
249
  inputCacheHit: 0
252
250
  };
253
251
  var GPT_5_6_SOL_STANDARD_PRICE = {
254
- input: 5 * 8,
255
- output: 30 * 8,
256
- inputCacheHit: 0.5 * 8
252
+ input: 40,
253
+ output: 240,
254
+ inputCacheHit: 4
257
255
  };
258
256
  var GPT_5_6_SOL_LONG_CONTEXT_PRICE = {
259
- input: 10 * 8,
260
- output: 45 * 8,
261
- inputCacheHit: 1 * 8
257
+ input: 80,
258
+ output: 360,
259
+ inputCacheHit: 8
262
260
  };
263
261
  var GPT_5_6_TERRA_STANDARD_PRICE = {
264
- input: 2 * 8,
265
- output: 12 * 8,
266
- inputCacheHit: 0.2 * 8
262
+ input: 16,
263
+ output: 96,
264
+ inputCacheHit: 1.6
267
265
  };
268
266
  var GPT_5_6_TERRA_LONG_CONTEXT_PRICE = {
269
- input: 4 * 8,
270
- output: 18 * 8,
271
- inputCacheHit: 0.4 * 8
267
+ input: 32,
268
+ output: 144,
269
+ inputCacheHit: 3.2
272
270
  };
273
271
  var GPT_5_6_LUNA_PRICE = {
274
- input: 0.2 * 8,
275
- output: 1.2 * 8,
276
- inputCacheHit: 0.02 * 8
272
+ input: 1.6,
273
+ output: 9.6,
274
+ inputCacheHit: 0.16
277
275
  };
278
276
  var openAIModels = [
279
277
  {
@@ -372,13 +370,11 @@ var openAIModels = [
372
370
  supportsTool: false,
373
371
  contextWindow: 128e3,
374
372
  maxOutputTokens: 32768,
375
- price: { input: 5 * 8, output: 0, inputCacheHit: 1.25 * 8 },
373
+ price: { input: 40, output: 0, inputCacheHit: 10 },
376
374
  pricePerImage: void 0,
377
375
  // Dynamic cost via imageTokenPricePerMillion and quality/size
378
- imageTokenPricePerMillion: 30 * 8,
379
- // $30.00 per 1M output tokens
376
+ imageTokenPricePerMillion: 240,
380
377
  // Official GPT Image 2 output estimates from the OpenAI image guide:
381
- // low/medium/high cost by size divided by $30 per 1M output tokens.
382
378
  imageOutputTokenEstimateBySize: {
383
379
  "1K": { low: 200, medium: 1766, high: 7033 },
384
380
  "2K": { low: 166, medium: 1366, high: 5500 },
@@ -441,8 +437,7 @@ var xaiModels = [
441
437
  displayName: "Grok 4.6",
442
438
  hasVision: true,
443
439
  contextWindow: 5e5,
444
- // 价格沿用 grok-4.5 报价($2/$6 ×7),换代后待 live 验证再校准。
445
- price: { input: 2 * 7, output: 6 * 7 },
440
+ price: { input: 14, output: 42 },
446
441
  fnCall: true,
447
442
  jsonOutput: true
448
443
  }
@@ -455,9 +450,9 @@ var fireworksModels = [
455
450
  displayName: "MiniMax: MiniMax M3",
456
451
  hasVision: true,
457
452
  price: {
458
- input: 0.3 * 8,
459
- output: 1.2 * 8,
460
- cachingRead: 0.06 * 8
453
+ input: 2.4,
454
+ output: 9.6,
455
+ cachingRead: 0.48
461
456
  },
462
457
  contextWindow: 512e3,
463
458
  supportsTool: true
@@ -517,37 +512,27 @@ var isPlatformHostedClaudeModel = (model) => PLATFORM_HOSTED_CLAUDE_MODELS.some(
517
512
  var PLATFORM_HOSTED_GROK_4_6_MODEL = "grok-4.6";
518
513
  var isPlatformHostedGrokModel = (model) => asTrimmedLowercaseString(model) === PLATFORM_HOSTED_GROK_4_6_MODEL;
519
514
  var PLATFORM_HOSTED_QWEN_37_FLASH_MODEL = "qwen3.7-flash";
520
- var PLATFORM_CREDITS_PER_USD = 7;
521
- var EXTERNAL_API_DISCOUNT = 0.8;
522
- var toPlatformCredits = (usdPerMillion) => Number(
523
- (usdPerMillion * EXTERNAL_API_DISCOUNT * PLATFORM_CREDITS_PER_USD).toFixed(
524
- 6
525
- )
526
- );
527
515
  var PLATFORM_HOSTED_KIMI_PRICE = {
528
- input: toPlatformCredits(0.6),
529
- output: toPlatformCredits(2.4)
516
+ input: 3.36,
517
+ output: 13.44
530
518
  };
531
519
  var PLATFORM_HOSTED_KIMI_K3_PRICE = {
532
520
  input: 16,
533
- // crof $2 × 8,特殊价不走通用 0.8×7 换算
534
521
  inputCacheHit: 2,
535
- // crof $0.25 × 8
536
522
  output: 64
537
- // crof $8 × 8
538
523
  };
539
524
  var PLATFORM_HOSTED_GLM_PRICE = {
540
- input: toPlatformCredits(1.4),
541
- inputCacheHit: toPlatformCredits(0.26),
542
- output: toPlatformCredits(4.4)
525
+ input: 7.84,
526
+ inputCacheHit: 1.456,
527
+ output: 24.64
543
528
  };
544
529
  var PLATFORM_HOSTED_GLM_52_MODEL = "glm-5.2";
545
530
  var PLATFORM_HOSTED_GEMINI_37_FLASH_MODEL = "gemini-3.7-flash";
546
531
  var PLATFORM_HOSTED_GEMINI_37_FLASH_PRICE = {
547
- input: toPlatformCredits(0.75),
548
- output: toPlatformCredits(3.75),
549
- cachingWrite: toPlatformCredits(0.075),
550
- cachingRead: toPlatformCredits(0.075)
532
+ input: 4.2,
533
+ output: 21,
534
+ cachingWrite: 0.42,
535
+ cachingRead: 0.42
551
536
  };
552
537
  var PLATFORM_HOSTED_DEEPSEEK_FLASH_MODEL = "deepseek-v4-flash";
553
538
  var PLATFORM_HOSTED_DEEPSEEK_PRO_MODEL = "deepseek-v4-pro";
@@ -683,8 +668,7 @@ var platformHostedModels = [
683
668
  name: PLATFORM_HOSTED_GROK_4_6_MODEL,
684
669
  displayName: "Grok 4.6",
685
670
  hasVision: true,
686
- // 上游 xAI 官方 API:$2/$6 per 1M ×7(同 xai/models.ts 报价口径)。
687
- price: { input: 2 * 7, output: 6 * 7 },
671
+ price: { input: 14, output: 42 },
688
672
  maxOutputTokens: 1e5,
689
673
  contextWindow: 5e5,
690
674
  supportsTool: true
@@ -693,10 +677,9 @@ var platformHostedModels = [
693
677
  name: PLATFORM_HOSTED_QWEN_37_FLASH_MODEL,
694
678
  displayName: "Qwen 3.7 Flash",
695
679
  hasVision: true,
696
- // 上游 OpenRouter:$0.03/$0.13 per 1M → nolo 8 折 ×7
697
680
  price: {
698
- input: toPlatformCredits(0.03),
699
- output: toPlatformCredits(0.13)
681
+ input: 0.168,
682
+ output: 0.728
700
683
  },
701
684
  maxOutputTokens: 65536,
702
685
  contextWindow: 1e6,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-FBXHGRKK.js";
4
+ } from "./chunk-QBUMNDV4.js";
5
5
 
6
6
  // packages/cli/client/localAgentRecords.ts
7
7
  var buildLocalAgentLookupKeys = buildAgentRuntimeAgentLookupKeys;
@@ -27,7 +27,7 @@ import {
27
27
  resolvePlatformAuthToken,
28
28
  resolvePlatformServerUrl,
29
29
  resolveProviderTransportDecision
30
- } from "./chunk-UDA3ZYLW.js";
30
+ } from "./chunk-LCFTHU4L.js";
31
31
  import {
32
32
  clipCompactText
33
33
  } from "./chunk-OB6FBSH3.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-QDVKSUVS.js";
3
+ } from "./chunk-GA3445ID.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -7,13 +7,13 @@ import {
7
7
  toTimestampMs,
8
8
  upsert,
9
9
  write
10
- } from "./chunk-LAXMH7JY.js";
10
+ } from "./chunk-DFPTW7QE.js";
11
11
  import {
12
12
  asTrimmedLowercaseString
13
13
  } from "./chunk-QSJ3HFEF.js";
14
14
  import {
15
15
  BUILTIN_NOLO_AGENT_KEY
16
- } from "./chunk-ZJH3LKEW.js";
16
+ } from "./chunk-FD6FKCDH.js";
17
17
  import {
18
18
  asyncThunkCreator,
19
19
  buildCreateSlice,
@@ -21,7 +21,7 @@ import {
21
21
  createAsyncThunk,
22
22
  createSelector,
23
23
  selectIdentityUserId
24
- } from "./chunk-2IJAKBK2.js";
24
+ } from "./chunk-E5WZMGFH.js";
25
25
  import {
26
26
  getAllServers,
27
27
  getIsDesktopApp,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  trimTrailingSlash
3
- } from "./chunk-UDA3ZYLW.js";
3
+ } from "./chunk-LCFTHU4L.js";
4
4
  import {
5
5
  toErrorMessage
6
6
  } from "./chunk-HNMXYYJR.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  selectCurrentServer,
3
3
  selectRemoteServers
4
- } from "./chunk-G5GVZAXF.js";
4
+ } from "./chunk-OJE3M2CY.js";
5
5
  import {
6
6
  noloDeleteRequest,
7
7
  noloWriteRequest,
8
8
  selectIdentityUser,
9
9
  selectIdentityUserId
10
- } from "./chunk-2IJAKBK2.js";
10
+ } from "./chunk-E5WZMGFH.js";
11
11
  import {
12
12
  normalizeTimeFields
13
13
  } from "./chunk-5RDLGLAP.js";
@@ -9,15 +9,15 @@ import {
9
9
  buildRuntimeGuidanceBlocks,
10
10
  fetchReferenceContents,
11
11
  resolveToolGuidedSections
12
- } from "./chunk-C5LUFXRU.js";
12
+ } from "./chunk-GCKV55PN.js";
13
13
  import {
14
14
  getAllToolRuns,
15
15
  resolveAgentRecommendedSkillNames,
16
16
  resolveAgentRequiredPackIds
17
- } from "./chunk-FBXHGRKK.js";
17
+ } from "./chunk-QBUMNDV4.js";
18
18
  import {
19
19
  getDocState
20
- } from "./chunk-ZFMBGISW.js";
20
+ } from "./chunk-CTNZOVAK.js";
21
21
  import {
22
22
  resolveToolBaseUrl
23
23
  } from "./chunk-44HACRCK.js";
@@ -26,12 +26,12 @@ import {
26
26
  getModelPricing,
27
27
  getPrices,
28
28
  hasExplicitAgentPricing
29
- } from "./chunk-E3APEOIM.js";
29
+ } from "./chunk-VK7N2IGC.js";
30
30
  import {
31
31
  selectCurrentTable,
32
32
  selectTableRows,
33
33
  selectViewMode
34
- } from "./chunk-6XASEZZC.js";
34
+ } from "./chunk-M2C5LJCQ.js";
35
35
  import {
36
36
  PERSONALIZATION_DIALOG_CATEGORY,
37
37
  buildPersonalizationDialogPolicyContext,
@@ -43,7 +43,7 @@ import {
43
43
  resolveBuiltinPlatformAgentConfig,
44
44
  selectAllMsgs,
45
45
  serializeMessageContent
46
- } from "./chunk-XCCPWF3M.js";
46
+ } from "./chunk-IC2O5ERT.js";
47
47
  import {
48
48
  clipCompactText
49
49
  } from "./chunk-OB6FBSH3.js";
@@ -57,10 +57,10 @@ import {
57
57
  findModelConfig,
58
58
  getModelConfig,
59
59
  getProviderByModelName
60
- } from "./chunk-2K4NDPT5.js";
60
+ } from "./chunk-5QCX4USZ.js";
61
61
  import {
62
62
  PLATFORM_HOSTED_QWEN_37_FLASH_MODEL
63
- } from "./chunk-CAENRKNJ.js";
63
+ } from "./chunk-MM4VL6W6.js";
64
64
  import {
65
65
  DEFAULT_AGENT_BASE_POLICY,
66
66
  DEFAULT_USER_PREFERENCE_PROFILE,
@@ -69,27 +69,27 @@ import {
69
69
  selectKnowledgeCaptureLevel,
70
70
  selectSpaceContextLevel,
71
71
  selectUserTonePreset
72
- } from "./chunk-G5GVZAXF.js";
72
+ } from "./chunk-OJE3M2CY.js";
73
73
  import {
74
74
  asRecordOrEmpty
75
75
  } from "./chunk-KX6YBIHG.js";
76
76
  import {
77
77
  read,
78
78
  selectById
79
- } from "./chunk-LAXMH7JY.js";
79
+ } from "./chunk-DFPTW7QE.js";
80
80
  import {
81
81
  asTrimmedLowercaseString
82
82
  } from "./chunk-QSJ3HFEF.js";
83
83
  import {
84
84
  PUBLIC_QWEN_37_FLASH_AGENT_KEY
85
- } from "./chunk-ZJH3LKEW.js";
85
+ } from "./chunk-FD6FKCDH.js";
86
86
  import {
87
87
  extractCustomId
88
88
  } from "./chunk-TOW4E763.js";
89
89
  import {
90
90
  selectIdentityUserBalance,
91
91
  selectIdentityUserId
92
- } from "./chunk-2IJAKBK2.js";
92
+ } from "./chunk-E5WZMGFH.js";
93
93
  import {
94
94
  isRecord
95
95
  } from "./chunk-KUG52IAP.js";
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-DFIDPY57.js";
5
+ } from "./chunk-Q5EDKGQ4.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-KQHGZWSV.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-SFWZUTCI.js";
4
+ } from "./chunk-6BHFP2I2.js";
5
5
  import {
6
6
  toErrorMessage
7
7
  } from "./chunk-HNMXYYJR.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildLocalAgentLookupKeys,
3
3
  shouldReadAgentKeyRemotely
4
- } from "./chunk-L7YEJWTK.js";
4
+ } from "./chunk-NS2OOLL4.js";
5
5
  import {
6
6
  resolveCliAgentKeyInput
7
7
  } from "./chunk-K6QEHQZ3.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-DCDL3GC4.js";
7
7
  import {
8
8
  fetchAndCacheTableRows
9
- } from "./chunk-6XASEZZC.js";
9
+ } from "./chunk-M2C5LJCQ.js";
10
10
  import {
11
11
  toErrorMessage
12
12
  } from "./chunk-HNMXYYJR.js";
@@ -15,13 +15,13 @@ import {
15
15
  } from "./chunk-3ASDTTEI.js";
16
16
  import {
17
17
  nolotusId
18
- } from "./chunk-G5GVZAXF.js";
18
+ } from "./chunk-OJE3M2CY.js";
19
19
  import {
20
20
  asRecordOrEmpty
21
21
  } from "./chunk-KX6YBIHG.js";
22
22
  import {
23
23
  DEFAULT_CODE_PLANNER_EXECUTOR_CANDIDATE_KEYS
24
- } from "./chunk-ZJH3LKEW.js";
24
+ } from "./chunk-FD6FKCDH.js";
25
25
  import {
26
26
  isOwnedAgentKey,
27
27
  ownedAgentKey,
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-TOW4E763.js";
30
30
  import {
31
31
  createAsyncThunk
32
- } from "./chunk-2IJAKBK2.js";
32
+ } from "./chunk-E5WZMGFH.js";
33
33
  import {
34
34
  asOptionalFiniteNumber
35
35
  } from "./chunk-WWC7I6TA.js";
@@ -1621,7 +1621,7 @@ var executeToolRun = createAsyncThunk(
1621
1621
  if (!executionInput) {
1622
1622
  throw new Error(`ToolRun ${id} has no input to execute with.`);
1623
1623
  }
1624
- const { findToolExecutor } = await import("./tools-XZTXW7W4.js");
1624
+ const { findToolExecutor } = await import("./tools-IXK45RRJ.js");
1625
1625
  const { executor } = findToolExecutor(run.toolName);
1626
1626
  toolRunStarted({
1627
1627
  id: run.id,
@@ -1645,7 +1645,7 @@ var executeToolRun = createAsyncThunk(
1645
1645
  const latestState = thunkApi.getState();
1646
1646
  const userId = latestState.auth?.currentUser?.userId;
1647
1647
  if (userId) {
1648
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-RSRIBG3I.js");
1648
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-VNT5E4TT.js");
1649
1649
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
1650
1650
  }
1651
1651
  }
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRuntimeServerContext,
3
3
  scheduleDeleteReplication
4
- } from "./chunk-2IJAKBK2.js";
4
+ } from "./chunk-E5WZMGFH.js";
5
5
  import {
6
6
  fetchFromClientDb
7
7
  } from "./chunk-5RDLGLAP.js";
@@ -8,12 +8,12 @@ import {
8
8
  patch,
9
9
  remove,
10
10
  write
11
- } from "./chunk-LAXMH7JY.js";
11
+ } from "./chunk-DFPTW7QE.js";
12
12
  import {
13
13
  asyncThunkCreator,
14
14
  buildCreateSlice,
15
15
  getRuntimeServerContext
16
- } from "./chunk-2IJAKBK2.js";
16
+ } from "./chunk-E5WZMGFH.js";
17
17
  import {
18
18
  createAgentKey,
19
19
  toTrimmedString
@@ -583,7 +583,7 @@ var slice = createSliceWithThunks({
583
583
  const overrides = {};
584
584
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
585
585
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
586
- const { _executeModel } = await import("./_executeModel-RPVEFWZE.js");
586
+ const { _executeModel } = await import("./_executeModel-UDIVONWT.js");
587
587
  return _executeModel(
588
588
  {
589
589
  isStreaming: args.isStreaming ?? false,
@@ -604,7 +604,7 @@ var slice = createSliceWithThunks({
604
604
  * - 循环直到无工具调用或触发其他运行时停止条件
605
605
  */
606
606
  runAgent: create.asyncThunk(async (args, thunkApi) => {
607
- const { runAgentClientLoop } = await import("./runAgentClientLoop-X62DJXWK.js");
607
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-7RV4HOYL.js");
608
608
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
609
609
  {
610
610
  agentKey: args.agentKey,
@@ -620,7 +620,7 @@ var slice = createSliceWithThunks({
620
620
  * 聊天轮次流式 Agent 调用
621
621
  */
622
622
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
623
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-5SFVRLJX.js");
623
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-4CZASNW4.js");
624
624
  return streamAgentChatTurnHandler(args, thunkApi);
625
625
  }),
626
626
  /**
@@ -9,7 +9,7 @@ import {
9
9
  platformHostedModels,
10
10
  xaiModels,
11
11
  zaiModels
12
- } from "./chunk-CAENRKNJ.js";
12
+ } from "./chunk-MM4VL6W6.js";
13
13
 
14
14
  // packages/ai/llm/modelAbility.ts
15
15
  var MODEL_ABILITY_TABLE = {
@@ -5,10 +5,10 @@ import {
5
5
  inlineImageUrlsForCustomProvider,
6
6
  prepareTools,
7
7
  shouldInlineImageUrlsForAgent
8
- } from "./chunk-ZLJWBBPK.js";
8
+ } from "./chunk-ZZK2S3DE.js";
9
9
  import {
10
10
  EMPTY_ASSISTANT_REPAIR_PROMPT
11
- } from "./chunk-DYSVCA3I.js";
11
+ } from "./chunk-P3A4IVAJ.js";
12
12
  import {
13
13
  accumulateToolCallDelta,
14
14
  createThinkParserState,
@@ -20,12 +20,12 @@ import {
20
20
  } from "./chunk-N7J63Q6C.js";
21
21
  import {
22
22
  performFetchRequest
23
- } from "./chunk-CGRGHTRM.js";
23
+ } from "./chunk-AFY5VXL4.js";
24
24
  import {
25
25
  createSSEParser,
26
26
  findToolExecutor,
27
27
  toolDefinitionsByName
28
- } from "./chunk-O6PR7OEC.js";
28
+ } from "./chunk-3AQLTEV6.js";
29
29
  import {
30
30
  createToolRunId,
31
31
  getToolResultErrorData,
@@ -33,23 +33,23 @@ import {
33
33
  toolRunSetPending,
34
34
  toolRunStarted,
35
35
  toolRunSucceeded
36
- } from "./chunk-FBXHGRKK.js";
36
+ } from "./chunk-QBUMNDV4.js";
37
37
  import {
38
38
  getPublicImageAgentMode
39
- } from "./chunk-E3APEOIM.js";
39
+ } from "./chunk-VK7N2IGC.js";
40
40
  import {
41
41
  selectCurrentSpaceId
42
- } from "./chunk-6XASEZZC.js";
42
+ } from "./chunk-M2C5LJCQ.js";
43
43
  import {
44
44
  addToolMessage,
45
45
  getModelInfo,
46
46
  messageStreamEnd,
47
47
  messageStreaming,
48
48
  updateToolMessage
49
- } from "./chunk-XCCPWF3M.js";
49
+ } from "./chunk-IC2O5ERT.js";
50
50
  import {
51
51
  streamAgentChatTurn
52
- } from "./chunk-6CABEXHO.js";
52
+ } from "./chunk-R4Z22GQN.js";
53
53
  import {
54
54
  toErrorMessage
55
55
  } from "./chunk-HNMXYYJR.js";
@@ -60,20 +60,20 @@ import {
60
60
  } from "./chunk-3ASDTTEI.js";
61
61
  import {
62
62
  getApiEndpoint
63
- } from "./chunk-2K4NDPT5.js";
63
+ } from "./chunk-5QCX4USZ.js";
64
64
  import {
65
65
  selectCurrentServer
66
- } from "./chunk-G5GVZAXF.js";
66
+ } from "./chunk-OJE3M2CY.js";
67
67
  import {
68
68
  write
69
- } from "./chunk-LAXMH7JY.js";
69
+ } from "./chunk-DFPTW7QE.js";
70
70
  import {
71
71
  extractCustomId
72
72
  } from "./chunk-TOW4E763.js";
73
73
  import {
74
74
  createAsyncThunk,
75
75
  selectIdentityToken
76
- } from "./chunk-2IJAKBK2.js";
76
+ } from "./chunk-E5WZMGFH.js";
77
77
  import {
78
78
  isAbortError
79
79
  } from "./chunk-5RDLGLAP.js";