nolo-cli 0.153.0-alpha.1 → 0.155.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 (118) hide show
  1. package/{_executeModel-4KHFMQT4.js → _executeModel-UWUM5QKW.js} +35 -35
  2. package/{addContentAction-ZV774PHH.js → addContentAction-65ONHX2T.js} +4 -4
  3. package/{addDialogAgentAction-A6SMKAGH.js → addDialogAgentAction-WOLK7RB4.js} +3 -3
  4. package/{agentDeleteCommand-EKFV5FC7.js → agentDeleteCommand-FRPRYY4N.js} +44 -44
  5. package/{agentEmailCommands-MNV3MUH5.js → agentEmailCommands-TMP7BKVS.js} +46 -46
  6. package/{agentListCommands-E6FYKXC3.js → agentListCommands-G36AMSBR.js} +21 -21
  7. package/{agentMachineCommands-2GFUU7GF.js → agentMachineCommands-CAWH6B4N.js} +18 -18
  8. package/{agentProviderCommands-HL6MBLCL.js → agentProviderCommands-X2HQE6HY.js} +2 -2
  9. package/{agentRecordCommands-LPHHTEPM.js → agentRecordCommands-NRUEGQO6.js} +44 -44
  10. package/{agentRunCommand-JSPW7W32.js → agentRunCommand-MTUMHPBF.js} +45 -45
  11. package/{agentRunControl-IFM7IGMG.js → agentRunControl-2C5GM3BW.js} +5 -5
  12. package/{agentRuntimeLocal-ARS4TV77.js → agentRuntimeLocal-Q7ZOMZC7.js} +16 -16
  13. package/{agentSlice-IP4DZNNV.js → agentSlice-RKEZWJZL.js} +4 -4
  14. package/{appDeleteCommands-JHTLKQSX.js → appDeleteCommands-MMWT54BR.js} +19 -19
  15. package/{appDeployCommands-5V26M2KA.js → appDeployCommands-OIFXVDOF.js} +19 -19
  16. package/{appDeployStatusCommands-SBSPS627.js → appDeployStatusCommands-OTXMSDFB.js} +19 -19
  17. package/{appGetCommands-NKPD2L45.js → appGetCommands-JPY36ANL.js} +19 -19
  18. package/{appListCommands-ZOGRZFYY.js → appListCommands-IHJGN36O.js} +19 -19
  19. package/{authCommand-QYN47CQD.js → authCommand-J3XILHWW.js} +8 -8
  20. package/{builtinSkillRegistry-TDQ6JB2E.js → builtinSkillRegistry-A6VSPJEJ.js} +3 -3
  21. package/{chunk-6LIKQYG4.js → chunk-2KKTIPQ3.js} +12 -10
  22. package/{chunk-4PXHOOFA.js → chunk-2MTE2PEH.js} +3 -3
  23. package/{chunk-GQV5KHJU.js → chunk-3C2QLERX.js} +1 -1
  24. package/{chunk-HIQ4GF53.js → chunk-4Z245KOA.js} +1 -1
  25. package/{chunk-T5BHHWA5.js → chunk-4ZSZP7PY.js} +5 -5
  26. package/{chunk-HL3O3PCQ.js → chunk-6TF64IF2.js} +2 -2
  27. package/{chunk-XS47QOFV.js → chunk-7KYVUFDG.js} +1 -1
  28. package/{chunk-74RAWNQN.js → chunk-A7HQF6YH.js} +2 -2
  29. package/{chunk-PPU323UE.js → chunk-AHSHCC2V.js} +24 -24
  30. package/{chunk-HSJPKBLC.js → chunk-ANJTRG52.js} +2 -2
  31. package/{chunk-TYJ5XFEA.js → chunk-B2EGWZJG.js} +1 -1
  32. package/{chunk-PLSVXHSA.js → chunk-C5DLHL3R.js} +1 -1
  33. package/{chunk-CHCS6XPJ.js → chunk-CGFNDIKK.js} +65 -0
  34. package/{chunk-AHYBQP3M.js → chunk-D3AN5D3L.js} +3 -3
  35. package/{chunk-VJXHL6MH.js → chunk-EM3YOZJ4.js} +3 -3
  36. package/{chunk-D2QN6CTI.js → chunk-FDT27L7S.js} +2 -2
  37. package/{chunk-RVWMAFIT.js → chunk-FYYSDHVQ.js} +1 -1
  38. package/{chunk-USHQX6VT.js → chunk-G47IPDOK.js} +1 -1
  39. package/{chunk-OFVFQYIE.js → chunk-GW7LIREE.js} +4 -4
  40. package/{chunk-MZHOLWW5.js → chunk-H3KW6W64.js} +3 -3
  41. package/{chunk-ZF6526IQ.js → chunk-HKT6QXP3.js} +1 -1
  42. package/{chunk-ZIWPQEFU.js → chunk-HXHSTRGH.js} +1 -1
  43. package/{chunk-UBUH2TCC.js → chunk-I2RMFLLH.js} +2 -2
  44. package/{chunk-XRUSXPCQ.js → chunk-IPAW7XLD.js} +57 -4
  45. package/{chunk-I5V3V2H4.js → chunk-ITECOZFT.js} +18 -18
  46. package/{chunk-GCKHQECX.js → chunk-IYBIRCQV.js} +1 -1
  47. package/{chunk-XZNCX52W.js → chunk-JGRPBIZZ.js} +1 -1
  48. package/{chunk-KMM2X7LP.js → chunk-K2XCMQMM.js} +3 -3
  49. package/{chunk-44WXLHFI.js → chunk-K43ZF2C3.js} +1 -1
  50. package/{chunk-LC23WBCU.js → chunk-KO4VPOIN.js} +4 -4
  51. package/{chunk-JKMLSTZK.js → chunk-KX6LPG7W.js} +3 -3
  52. package/{chunk-DYYMIUN4.js → chunk-L6EQV5OC.js} +4 -4
  53. package/{chunk-SCMHQUMK.js → chunk-LGCICX53.js} +1 -1
  54. package/{chunk-EZVK3N5L.js → chunk-LOEO7LRC.js} +56 -0
  55. package/{chunk-YVLQXTUB.js → chunk-MM3662RS.js} +1 -1
  56. package/{chunk-RQ6E3G5L.js → chunk-NS2WBMJT.js} +1 -1
  57. package/{chunk-ILU2NPWY.js → chunk-OGI4JKBD.js} +1 -1
  58. package/{chunk-JWTSWUPS.js → chunk-OHUFHV3U.js} +3 -3
  59. package/{chunk-F32Z66T4.js → chunk-PDJ6ZODI.js} +1 -1
  60. package/{chunk-TYYRSFBG.js → chunk-PSJWPSKS.js} +3 -3
  61. package/{chunk-XCA6HQGS.js → chunk-RV3PVWWL.js} +4 -4
  62. package/{chunk-64PFYIAY.js → chunk-RYCZTKFM.js} +24 -24
  63. package/{chunk-K2AER7RX.js → chunk-SUKSWFLP.js} +2 -2
  64. package/{chunk-KFHQQ3NO.js → chunk-T6CBQ6BN.js} +1 -1
  65. package/{chunk-EHFS4XZO.js → chunk-TENH5FPC.js} +5 -5
  66. package/{chunk-E2AKSW7L.js → chunk-TJ2VPCBE.js} +1 -1
  67. package/{chunk-A4MW3YZL.js → chunk-TPG4CZHI.js} +1 -1
  68. package/{chunk-I4SN4NUQ.js → chunk-TRW43TSC.js} +1 -1
  69. package/{chunk-WD4XYDYC.js → chunk-TYND6RDQ.js} +164 -0
  70. package/{chunk-ISQL4V7C.js → chunk-UTIMX333.js} +1 -1
  71. package/{chunk-EDX5XSJM.js → chunk-VEJFPTX7.js} +1 -1
  72. package/{chunk-XTWDF6RU.js → chunk-VOEJ7EMJ.js} +12 -12
  73. package/{chunk-VNP54NZL.js → chunk-WHLTTNKZ.js} +12 -12
  74. package/{chunk-PMYAE4OZ.js → chunk-XZ6QGCBU.js} +3 -3
  75. package/{chunk-GKXCHNTE.js → chunk-Y6ORVLSS.js} +1 -1
  76. package/{chunk-RSHPU4PD.js → chunk-YANF2RR4.js} +2 -2
  77. package/{chunk-BNDETALN.js → chunk-ZG73GDYU.js} +12 -10
  78. package/{chunk-PFBIXTFB.js → chunk-ZJWUXAJ7.js} +30 -22
  79. package/{chunk-DTODXBHK.js → chunk-ZWG3C7VI.js} +2 -2
  80. package/{commandRegistry-VBALU4Q4.js → commandRegistry-O335ZA5D.js} +57 -57
  81. package/{contentThunks-HPY2QNWZ.js → contentThunks-6GWTLD5V.js} +15 -15
  82. package/{createAgentAutomationAction-6ADGPGY6.js → createAgentAutomationAction-3WJWXWWA.js} +15 -15
  83. package/{createDialogAction-6ABMSEW2.js → createDialogAction-VEX236QX.js} +16 -16
  84. package/{createPageAction-OC4NNRPC.js → createPageAction-65CX7QH6.js} +15 -15
  85. package/{dbSlice-J37OGIXH.js → dbSlice-S2HYXURM.js} +3 -3
  86. package/{dialogCommands-EIGBRSQP.js → dialogCommands-H3K7PTF6.js} +20 -20
  87. package/{dialogSlice-SI45KJOH.js → dialogSlice-AHU5PNUQ.js} +14 -14
  88. package/{docCreateCommands-3JDBBMU5.js → docCreateCommands-KP64KMVL.js} +18 -18
  89. package/{docDeleteCommands-5M6C7UUB.js → docDeleteCommands-C3F4SZSR.js} +19 -19
  90. package/{docReadCommands-DUB57F6V.js → docReadCommands-7H6BDOUR.js} +18 -18
  91. package/{docStore-L43MDEK4.js → docStore-WROLAUBT.js} +4 -4
  92. package/{docUpdateCommands-WF7MAMPK.js → docUpdateCommands-JDW4BRBH.js} +18 -18
  93. package/{getPricing-FKK3F5EJ.js → getPricing-TX35D7PI.js} +3 -3
  94. package/{handleSendMessageAction-BSMU7SVS.js → handleSendMessageAction-OK3GHWHR.js} +26 -26
  95. package/index.js +4 -4
  96. package/{localRuntimeAdapter-N5PDR26F.js → localRuntimeAdapter-ARIAVQ4O.js} +42 -42
  97. package/{machineCommands-TMXJKZCE.js → machineCommands-ZTAJYKQM.js} +43 -43
  98. package/{machineWsRunDispatch-25H63KEH.js → machineWsRunDispatch-JIODLHZZ.js} +43 -43
  99. package/{memberThunks-66DH6ABQ.js → memberThunks-VPTET5M2.js} +4 -4
  100. package/{models-LAS4B2B5.js → models-PZQC7VV4.js} +2 -2
  101. package/package.json +1 -1
  102. package/{providerPresetApply-MY66I6NT.js → providerPresetApply-CRZFMQD5.js} +6 -6
  103. package/{providerRegistry-QOE2FT57.js → providerRegistry-7IS43D3X.js} +6 -6
  104. package/{read-DC4NUGN6.js → read-VMMIHEAK.js} +2 -2
  105. package/{readDocTool-NCJ5NT25.js → readDocTool-4XSLKYSQ.js} +1 -1
  106. package/{readlineWorkspace-BS7WVCL2.js → readlineWorkspace-24O4OG6C.js} +51 -49
  107. package/{removeDialogAgentAction-E2H3OZU6.js → removeDialogAgentAction-YIV37ENV.js} +4 -4
  108. package/{runAgentClientLoop-BVKRI4SY.js → runAgentClientLoop-WWE753AB.js} +33 -33
  109. package/{runtimeDoctorCommands-GIOGC5SC.js → runtimeDoctorCommands-56NWKNON.js} +5 -5
  110. package/{setDialogExtraReferencesAction-SITRPMYU.js → setDialogExtraReferencesAction-FWVD656I.js} +4 -4
  111. package/{setPrimaryDialogAgentAction-U7N45TGC.js → setPrimaryDialogAgentAction-HIPQTT6N.js} +4 -4
  112. package/{settingThunks-Y7SVJOMZ.js → settingThunks-SB37UY4C.js} +5 -5
  113. package/{spaceCommands-5EWREUWS.js → spaceCommands-JQN7D4FE.js} +18 -18
  114. package/{streamAgentChatTurn-B4VFUV52.js → streamAgentChatTurn-YD65RR4J.js} +44 -93
  115. package/{switchDialogAgentAction-OMGBD3N2.js → switchDialogAgentAction-SLTPB635.js} +3 -3
  116. package/{tools-5WYAUKMK.js → tools-ZDLAPPTQ.js} +28 -28
  117. package/{tuiSummaryLlmCaller-PPU7YDBG.js → tuiSummaryLlmCaller-KLK6K3Q3.js} +8 -8
  118. package/{updateDialogTitleAction-YJHDKHFX.js → updateDialogTitleAction-RQEO5PNQ.js} +15 -15
@@ -6,26 +6,27 @@ import {
6
6
  } from "./chunk-HS7MLR74.js";
7
7
  import {
8
8
  performServerProxyFetchWithRetry
9
- } from "./chunk-T5BHHWA5.js";
9
+ } from "./chunk-4ZSZP7PY.js";
10
10
  import {
11
11
  shouldUseServerProxy
12
12
  } from "./chunk-UKZX3NHN.js";
13
13
  import {
14
14
  fetchServerSyncedCredential
15
- } from "./chunk-LC23WBCU.js";
15
+ } from "./chunk-KO4VPOIN.js";
16
16
  import {
17
17
  buildSkillGuidancePromptBlock
18
- } from "./chunk-HIQ4GF53.js";
18
+ } from "./chunk-4Z245KOA.js";
19
19
  import {
20
20
  DELETE_SAFETY_RED_LINE,
21
21
  PARALLEL_DISPATCH_DEFAULT_RULE,
22
22
  PLATFORM_RISK_CONTROL_RULE,
23
+ buildConsultationModeBlock,
23
24
  buildIdentityBlock,
24
25
  buildRuntimeGuidanceBlocks,
25
26
  compileContextLayers,
26
27
  detectDispatchIntentFromMessages,
27
28
  resolveToolGuidedSections
28
- } from "./chunk-WD4XYDYC.js";
29
+ } from "./chunk-TYND6RDQ.js";
29
30
  import {
30
31
  convertMessagesToResponsesInput,
31
32
  getUsageRequestOptions,
@@ -34,7 +35,7 @@ import {
34
35
  resolveReasoningReplayOptions,
35
36
  shouldStripReasoningContentForOutbound,
36
37
  stablePromptCacheKey
37
- } from "./chunk-HL3O3PCQ.js";
38
+ } from "./chunk-6TF64IF2.js";
38
39
  import {
39
40
  createFileCredentialBroker
40
41
  } from "./chunk-UHTDNB5Y.js";
@@ -45,21 +46,21 @@ import {
45
46
  ANTIGRAVITY_CLOUD_CODE_BASE_URL,
46
47
  isAntigravityCloudCodeBaseUrl,
47
48
  isAntigravityOAuthAgent
48
- } from "./chunk-XZNCX52W.js";
49
+ } from "./chunk-JGRPBIZZ.js";
49
50
  import {
50
51
  buildProviderAuthHeaders
51
- } from "./chunk-K2AER7RX.js";
52
+ } from "./chunk-SUKSWFLP.js";
52
53
  import {
53
54
  isOpenAiResponsesModel,
54
55
  resolvePlatformChatCompletionsEndpoint,
55
56
  resolvePlatformResponsesEndpoint
56
- } from "./chunk-UBUH2TCC.js";
57
+ } from "./chunk-I2RMFLLH.js";
57
58
  import {
58
59
  clampReasoningEffort,
59
60
  findModelConfig,
60
61
  getModelConfig,
61
62
  isModelSupportReasoningEffort
62
- } from "./chunk-I4SN4NUQ.js";
63
+ } from "./chunk-TRW43TSC.js";
63
64
  import {
64
65
  isRecord
65
66
  } from "./chunk-KUG52IAP.js";
@@ -83,7 +84,7 @@ import {
83
84
  isFireworksKimiModel,
84
85
  isPlatformMimoProviderModel,
85
86
  resolveFireworksKimiModel
86
- } from "./chunk-CHCS6XPJ.js";
87
+ } from "./chunk-CGFNDIKK.js";
87
88
  import {
88
89
  asTrimmedLowercaseString
89
90
  } from "./chunk-QSJ3HFEF.js";
@@ -468,6 +469,7 @@ ${wrapHistoricalSummaryWithReplayGuard(contexts.dialogSummary)}` : "";
468
469
  cacheScope: "static",
469
470
  content: PLATFORM_RISK_CONTROL_RULE
470
471
  },
472
+ { id: "consultation-mode", owner: "platform", cacheScope: "static", content: buildConsultationModeBlock() },
471
473
  { id: "identity", owner: "platform", cacheScope: "session", content: identitySection },
472
474
  { id: "user-response-language", owner: "platform", cacheScope: "session", content: buildUserResponseLanguageContext({ language: safeLanguage }) },
473
475
  { id: "startup-protocol", owner: "platform", cacheScope: "static", content: startupProtocol },
@@ -3,13 +3,13 @@ import {
3
3
  } from "./chunk-PSCNXBYA.js";
4
4
  import {
5
5
  MODEL_LOOKUP_MAP
6
- } from "./chunk-I4SN4NUQ.js";
6
+ } from "./chunk-TRW43TSC.js";
7
7
  import {
8
8
  ALL_MODELS
9
- } from "./chunk-RVWMAFIT.js";
9
+ } from "./chunk-FYYSDHVQ.js";
10
10
  import {
11
11
  isPlatformManagedProvider
12
- } from "./chunk-CHCS6XPJ.js";
12
+ } from "./chunk-CGFNDIKK.js";
13
13
  import {
14
14
  __commonJS,
15
15
  __require,
@@ -5,7 +5,7 @@ import {
5
5
  getAntigravityUserAgent,
6
6
  readAntigravityProjectId,
7
7
  resolveAntigravityCloudCodeBaseUrl
8
- } from "./chunk-XZNCX52W.js";
8
+ } from "./chunk-JGRPBIZZ.js";
9
9
  import {
10
10
  asOptionalTrimmedString
11
11
  } from "./chunk-G3SUCT4W.js";
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-XETG4RIX.js";
14
14
  import {
15
15
  nolotusId
16
- } from "./chunk-GKXCHNTE.js";
16
+ } from "./chunk-Y6ORVLSS.js";
17
17
  import {
18
18
  canonicalizeToolNames
19
19
  } from "./chunk-5EBLANFT.js";
@@ -2,7 +2,7 @@ import {
2
2
  clipMultilineText,
3
3
  fetchAndSerializeTable,
4
4
  waitForAbortableDelay
5
- } from "./chunk-EHFS4XZO.js";
5
+ } from "./chunk-TENH5FPC.js";
6
6
  import {
7
7
  isGatewayHttpStatus
8
8
  } from "./chunk-NF64D32W.js";
@@ -15,19 +15,19 @@ import {
15
15
  import {
16
16
  resolvePageReadMarkdown,
17
17
  slateToSimplifiedMarkdown
18
- } from "./chunk-SCMHQUMK.js";
18
+ } from "./chunk-LGCICX53.js";
19
19
  import {
20
20
  extractCategorizedMentions
21
21
  } from "./chunk-AGIM7IMJ.js";
22
22
  import {
23
23
  fetchAndCacheMessages
24
- } from "./chunk-PFBIXTFB.js";
24
+ } from "./chunk-ZJWUXAJ7.js";
25
25
  import {
26
26
  createSpaceKey
27
27
  } from "./chunk-UAD2WT54.js";
28
28
  import {
29
29
  read
30
- } from "./chunk-74RAWNQN.js";
30
+ } from "./chunk-A7HQF6YH.js";
31
31
  import {
32
32
  getRuntimeServerContext
33
33
  } from "./chunk-4YRTZIVN.js";
@@ -35,7 +35,7 @@ import {
35
35
  extractRuntimePageCapabilities,
36
36
  resolveBuiltinSkillPage,
37
37
  resolveSkillGraphFromRoots
38
- } from "./chunk-HIQ4GF53.js";
38
+ } from "./chunk-4Z245KOA.js";
39
39
  import {
40
40
  isAbortError
41
41
  } from "./chunk-7DPNBQSV.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getModelContextWindow
3
- } from "./chunk-4PXHOOFA.js";
3
+ } from "./chunk-2MTE2PEH.js";
4
4
  import {
5
5
  isRecord
6
6
  } from "./chunk-KUG52IAP.js";
@@ -11,7 +11,7 @@ import {
11
11
  PLATFORM_HOSTED_KIMI_K3_MODEL,
12
12
  isFireworksKimiModel,
13
13
  isNoloHostedProvider
14
- } from "./chunk-CHCS6XPJ.js";
14
+ } from "./chunk-CGFNDIKK.js";
15
15
  import {
16
16
  asTrimmedLowercaseString
17
17
  } from "./chunk-QSJ3HFEF.js";
@@ -11,7 +11,7 @@ import {
11
11
  getAntigravityUserAgent,
12
12
  normalizeAntigravityTokenPayload,
13
13
  refreshAntigravityToken
14
- } from "./chunk-XZNCX52W.js";
14
+ } from "./chunk-JGRPBIZZ.js";
15
15
  import {
16
16
  asOptionalFiniteNumber
17
17
  } from "./chunk-WWC7I6TA.js";
@@ -6,7 +6,7 @@ import {
6
6
  readAction,
7
7
  readRequestManager,
8
8
  resolveAgentReadServers
9
- } from "./chunk-A4MW3YZL.js";
9
+ } from "./chunk-TPG4CZHI.js";
10
10
  import {
11
11
  loadFileFromIndexedDb,
12
12
  removeAction,
@@ -706,7 +706,7 @@ var dbSlice = createSliceWithThunks({
706
706
  // 动态 import 在调用期解析,避开 TDZ/求值顺序问题(同下方 share)。
707
707
  read: create.asyncThunk(
708
708
  async (payload, thunkApi) => {
709
- const { readAction: readAction2 } = await import("./read-DC4NUGN6.js");
709
+ const { readAction: readAction2 } = await import("./read-VMMIHEAK.js");
710
710
  return readAction2(payload, thunkApi);
711
711
  },
712
712
  {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  assembleAgentDiscoveryResult,
3
3
  resolveDiscoveryScope
4
- } from "./chunk-JKMLSTZK.js";
4
+ } from "./chunk-KX6LPG7W.js";
5
5
  import {
6
6
  fetchWithTransientRetry
7
7
  } from "./chunk-I2ZMGXXF.js";
@@ -20,7 +20,7 @@ import {
20
20
  toolRunUpdated,
21
21
  uiCardFallback,
22
22
  waitForAbortableDelay
23
- } from "./chunk-EHFS4XZO.js";
23
+ } from "./chunk-TENH5FPC.js";
24
24
  import {
25
25
  isGatewayHttpStatus
26
26
  } from "./chunk-NF64D32W.js";
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  AGENT_UPDATE_FIELD_NAMES,
36
36
  normalizeAgentUpdateFieldList
37
- } from "./chunk-ZIWPQEFU.js";
37
+ } from "./chunk-HXHSTRGH.js";
38
38
  import {
39
39
  ToolApiError,
40
40
  buildToolRequestHeaders,
@@ -49,7 +49,7 @@ import {
49
49
  readPageFunc,
50
50
  readPageFunctionSchema,
51
51
  resolvePageReadMarkdown
52
- } from "./chunk-SCMHQUMK.js";
52
+ } from "./chunk-LGCICX53.js";
53
53
  import {
54
54
  markdownToSlate
55
55
  } from "./chunk-5MM7NNO6.js";
@@ -64,7 +64,7 @@ import {
64
64
  } from "./chunk-VF4K2QE6.js";
65
65
  import {
66
66
  createDocState
67
- } from "./chunk-KMM2X7LP.js";
67
+ } from "./chunk-K2XCMQMM.js";
68
68
  import {
69
69
  addMemberSpace,
70
70
  fetchAuthoritativeRemoteSpace,
@@ -76,13 +76,13 @@ import {
76
76
  setMembershipRejected,
77
77
  setSpaceInitialized,
78
78
  updateMemberSpaceName
79
- } from "./chunk-ILU2NPWY.js";
79
+ } from "./chunk-OGI4JKBD.js";
80
80
  import {
81
81
  createDialogAction
82
- } from "./chunk-XCA6HQGS.js";
82
+ } from "./chunk-RV3PVWWL.js";
83
83
  import {
84
84
  setDialogExtraReferencesAction
85
- } from "./chunk-F32Z66T4.js";
85
+ } from "./chunk-PDJ6ZODI.js";
86
86
  import {
87
87
  shareResourceAction
88
88
  } from "./chunk-EYWJT7A2.js";
@@ -102,7 +102,7 @@ import {
102
102
  updateContentCategory,
103
103
  updateContentTitle,
104
104
  writeStoredCollapsedCategories
105
- } from "./chunk-OFVFQYIE.js";
105
+ } from "./chunk-GW7LIREE.js";
106
106
  import {
107
107
  buildDatabaseFileContentUrl,
108
108
  deleteDialog,
@@ -115,7 +115,7 @@ import {
115
115
  selectMsgById,
116
116
  uiAskChoiceFunc,
117
117
  uiAskChoiceFunctionSchema
118
- } from "./chunk-PFBIXTFB.js";
118
+ } from "./chunk-ZJWUXAJ7.js";
119
119
  import {
120
120
  buildMediaToolConfirmation,
121
121
  normalizeMediaConfirmExecutionRevision
@@ -126,7 +126,7 @@ import {
126
126
  runLlm,
127
127
  streamAgentChatTurn,
128
128
  updateAgent
129
- } from "./chunk-LC23WBCU.js";
129
+ } from "./chunk-KO4VPOIN.js";
130
130
  import {
131
131
  getCurrentSpaceId,
132
132
  getCurrentSpaceIdRaw,
@@ -153,7 +153,7 @@ import {
153
153
  UNCATEGORIZED_ID,
154
154
  addContentAction,
155
155
  checkSpaceMembership
156
- } from "./chunk-EDX5XSJM.js";
156
+ } from "./chunk-VEJFPTX7.js";
157
157
  import {
158
158
  createSpaceKey,
159
159
  normalizeSpaceId
@@ -169,10 +169,10 @@ import {
169
169
  selectEntities,
170
170
  toTimestampMs,
171
171
  write
172
- } from "./chunk-74RAWNQN.js";
172
+ } from "./chunk-A7HQF6YH.js";
173
173
  import {
174
174
  readAction
175
- } from "./chunk-A4MW3YZL.js";
175
+ } from "./chunk-TPG4CZHI.js";
176
176
  import {
177
177
  DEVICE_LOCAL_OWNER_ID,
178
178
  getRuntimeServerContext,
@@ -199,7 +199,7 @@ import {
199
199
  import {
200
200
  listBuiltinSkills,
201
201
  resolveBuiltinSkillByName
202
- } from "./chunk-HIQ4GF53.js";
202
+ } from "./chunk-4Z245KOA.js";
203
203
  import {
204
204
  CAPABILITY_PACKS
205
205
  } from "./chunk-JZX2XLKC.js";
@@ -302,7 +302,7 @@ import {
302
302
  DEFAULT_MODEL,
303
303
  clampReasoningEffort,
304
304
  resolveModelReasoningCapabilityWithCache
305
- } from "./chunk-I4SN4NUQ.js";
305
+ } from "./chunk-TRW43TSC.js";
306
306
  import {
307
307
  isRecord
308
308
  } from "./chunk-KUG52IAP.js";
@@ -1019,7 +1019,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
1019
1019
  workspace: { mode: "lease" }
1020
1020
  };
1021
1021
  var findModelConfig = async (modelName, provider) => {
1022
- const { ALL_MODELS } = await import("./models-LAS4B2B5.js");
1022
+ const { ALL_MODELS } = await import("./models-PZQC7VV4.js");
1023
1023
  const name = toTrimmedString(modelName);
1024
1024
  const prov = toTrimmedString(provider ?? "");
1025
1025
  if (!name) return null;
@@ -1264,7 +1264,7 @@ var buildPlatformFormDataFromArgs = async (args) => {
1264
1264
  const trimmedModel = toTrimmedString(model);
1265
1265
  const trimmedProvider = toTrimmedString(provider);
1266
1266
  const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
1267
- const { getModelPricing } = await import("./getPricing-FKK3F5EJ.js");
1267
+ const { getModelPricing } = await import("./getPricing-TX35D7PI.js");
1268
1268
  const normalizedTools = tools ?? [];
1269
1269
  const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
1270
1270
  const formData = {
@@ -3881,7 +3881,7 @@ async function deleteDialogsFunc(args, thunkApi) {
3881
3881
  const deletedDialogIds = [];
3882
3882
  const deletedDialogKeys = [];
3883
3883
  const failures = [];
3884
- const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-SI45KJOH.js");
3884
+ const { deleteDialog: deleteDialog2 } = await import("./dialogSlice-AHU5PNUQ.js");
3885
3885
  for (const target of targets) {
3886
3886
  try {
3887
3887
  await thunkApi.dispatch(deleteDialog2(target.dbKey)).unwrap();
@@ -4197,7 +4197,7 @@ var readSkillDocFunctionSchema = {
4197
4197
  }
4198
4198
  };
4199
4199
  async function readSkillDocFunc(args, thunkApi) {
4200
- const { buildReadDocResult } = await import("./readDocTool-NCJ5NT25.js");
4200
+ const { buildReadDocResult } = await import("./readDocTool-4XSLKYSQ.js");
4201
4201
  const id = args?.id ?? args?.doc ?? args?.docKey ?? args?.pageKey;
4202
4202
  if (typeof id !== "string" || !id.trim()) {
4203
4203
  throw new Error("readSkillDoc requires id or doc.");
@@ -4986,7 +4986,7 @@ var fetchSpaceAction = async (input, thunkAPI) => {
4986
4986
  const spaceKey = createSpaceKey.space(spaceId);
4987
4987
  const readSpace = async (dbKey) => {
4988
4988
  try {
4989
- const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-J37OGIXH.js");
4989
+ const { read: read2, readAndWait: readAndWait2 } = await import("./dbSlice-S2HYXURM.js");
4990
4990
  if (fresh) {
4991
4991
  return await dispatch(readAndWait2(dbKey)).unwrap();
4992
4992
  }
@@ -11522,7 +11522,7 @@ var selectUserIdFromState = (state2) => {
11522
11522
  var selectCurrentServerFromState = (state2) => typeof state2?.settings?.currentServer === "string" ? state2.settings.currentServer : null;
11523
11523
  async function addImageContentToSpace(input) {
11524
11524
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
11525
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-ZV774PHH.js")).addContentAction;
11525
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-65ONHX2T.js")).addContentAction;
11526
11526
  await addContentAction2(
11527
11527
  {
11528
11528
  spaceId: input.spaceId,
@@ -18307,7 +18307,7 @@ async function updateDocFunc(args, thunkApi) {
18307
18307
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
18308
18308
  };
18309
18309
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
18310
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-L43MDEK4.js");
18310
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-WROLAUBT.js");
18311
18311
  if (getDocState().pageKey === id) {
18312
18312
  applyExternalDocUpdate({
18313
18313
  slateData: finalSlateData,
@@ -18332,7 +18332,7 @@ async function updateDocFunc(args, thunkApi) {
18332
18332
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
18333
18333
  async function dispatchSetSettings(thunkApi, changes) {
18334
18334
  const injectedSetSettings = thunkApi?.extra?.setSettings;
18335
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-Y7SVJOMZ.js")).setSettings;
18335
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingThunks-SB37UY4C.js")).setSettings;
18336
18336
  await thunkApi.dispatch(setSettings(changes)).unwrap();
18337
18337
  }
18338
18338
  var updateUserPreferenceProfileFunctionSchema = {
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-5ZUL4CUO.js";
4
4
  import {
5
5
  resolveAgentImageInputSupport
6
- } from "./chunk-GCKHQECX.js";
6
+ } from "./chunk-IYBIRCQV.js";
7
7
  import {
8
8
  getModelContextWindow
9
- } from "./chunk-4PXHOOFA.js";
9
+ } from "./chunk-2MTE2PEH.js";
10
10
  import {
11
11
  asOptionalFiniteNumber
12
12
  } from "./chunk-WWC7I6TA.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  generatePkcePair,
3
3
  startCallbackServer
4
- } from "./chunk-XS47QOFV.js";
4
+ } from "./chunk-7KYVUFDG.js";
5
5
  import {
6
6
  asOptionalFiniteNumber
7
7
  } from "./chunk-WWC7I6TA.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-QFEW2ULV.js";
4
4
  import {
5
5
  patch
6
- } from "./chunk-74RAWNQN.js";
6
+ } from "./chunk-A7HQF6YH.js";
7
7
  import {
8
8
  getIsDesktopApp
9
9
  } from "./chunk-6Q7UTJKR.js";
@@ -702,6 +702,19 @@ var PLATFORM_HOSTED_GPT_6_ASTRA_PRICE = {
702
702
  output: toPlatformCredits(50)
703
703
  // 400 credits
704
704
  };
705
+ var PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS = 272001;
706
+ var PLATFORM_HOSTED_GPT_6_ASTRA_LONG_CONTEXT_PRICE = {
707
+ input: toPlatformCredits(20),
708
+ // 160 credits
709
+ inputCacheHit: toPlatformCredits(2),
710
+ // 16 credits
711
+ cachingRead: toPlatformCredits(2),
712
+ // 16 credits(CF 官方长档 cached in)
713
+ cachingWrite: toPlatformCredits(25),
714
+ // 200 credits(CF 官方长档 cache write)
715
+ output: toPlatformCredits(75)
716
+ // 600 credits
717
+ };
705
718
  var PLATFORM_HOSTED_GPT_56_SOL_PRICE = {
706
719
  input: toPlatformCredits(2),
707
720
  // 16 credits
@@ -750,6 +763,18 @@ var PLATFORM_HOSTED_GPT_6_LUNA_PRICE = {
750
763
  output: toPlatformCredits(0.5)
751
764
  // 4.0 credits
752
765
  };
766
+ var PLATFORM_HOSTED_GPT_6_LUNA_LONG_CONTEXT_PRICE = {
767
+ input: toPlatformCredits(0.2),
768
+ // 1.6 credits
769
+ inputCacheHit: toPlatformCredits(0.02),
770
+ // 0.16 credits
771
+ cachingRead: toPlatformCredits(0.02),
772
+ // 0.16 credits(CF 官方长档 cached in)
773
+ cachingWrite: toPlatformCredits(0.25),
774
+ // 2 credits(CF 官方长档 cache write)
775
+ output: 4.2
776
+ // 6 credits
777
+ };
753
778
  var PLATFORM_HOSTED_GPT_6_1_SOL_PRICE = {
754
779
  input: toPlatformCredits(2),
755
780
  // 16 credits
@@ -762,6 +787,18 @@ var PLATFORM_HOSTED_GPT_6_1_SOL_PRICE = {
762
787
  output: toPlatformCredits(10)
763
788
  // 80 credits
764
789
  };
790
+ var PLATFORM_HOSTED_GPT_6_1_SOL_LONG_CONTEXT_PRICE = {
791
+ input: toPlatformCredits(4),
792
+ // 32 credits
793
+ inputCacheHit: toPlatformCredits(0.2),
794
+ // 1.6 credits
795
+ cachingRead: toPlatformCredits(0.2),
796
+ // 1.6 credits(CF 官方长档 cached in)
797
+ cachingWrite: toPlatformCredits(5),
798
+ // 40 credits(CF 官方长档 cache write)
799
+ output: toPlatformCredits(15)
800
+ // 120 credits
801
+ };
765
802
  var PLATFORM_HOSTED_GLM_53_FLASH_PRICE = {
766
803
  input: toPlatformCredits(0.1),
767
804
  // 0.8 credits
@@ -1151,6 +1188,16 @@ var platformHostedModels = [
1151
1188
  displayName: "GPT-6 Astra",
1152
1189
  hasVision: true,
1153
1190
  price: { ...PLATFORM_HOSTED_GPT_6_ASTRA_PRICE },
1191
+ // 长上下文档(>272K 输入)按档浮动:上游 CF 官方长档价 ×8。
1192
+ pricingStrategy: {
1193
+ type: "tiered_context",
1194
+ tiers: [
1195
+ {
1196
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1197
+ price: { ...PLATFORM_HOSTED_GPT_6_ASTRA_LONG_CONTEXT_PRICE }
1198
+ }
1199
+ ]
1200
+ },
1154
1201
  maxOutputTokens: 128e3,
1155
1202
  contextWindow: 105e4,
1156
1203
  supportsTool: true,
@@ -1164,6 +1211,15 @@ var platformHostedModels = [
1164
1211
  displayName: "GPT-6 Luna",
1165
1212
  hasVision: true,
1166
1213
  price: { ...PLATFORM_HOSTED_GPT_6_LUNA_PRICE },
1214
+ pricingStrategy: {
1215
+ type: "tiered_context",
1216
+ tiers: [
1217
+ {
1218
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1219
+ price: { ...PLATFORM_HOSTED_GPT_6_LUNA_LONG_CONTEXT_PRICE }
1220
+ }
1221
+ ]
1222
+ },
1167
1223
  // 2026-09-22 随 GPT-6 Sol/Luna 上线(出处:PLATFORM_HOSTED_GPT_6_LUNA_PRICE 注释)。
1168
1224
  releasedAtMs: catalogReleasedAt(2026, 9, 22),
1169
1225
  maxOutputTokens: 128e3,
@@ -1184,6 +1240,15 @@ var platformHostedModels = [
1184
1240
  displayName: "GPT-6.1 Sol",
1185
1241
  hasVision: false,
1186
1242
  price: { ...PLATFORM_HOSTED_GPT_6_1_SOL_PRICE },
1243
+ pricingStrategy: {
1244
+ type: "tiered_context",
1245
+ tiers: [
1246
+ {
1247
+ minContext: PLATFORM_HOSTED_GPT_LONG_CONTEXT_MIN_TOKENS,
1248
+ price: { ...PLATFORM_HOSTED_GPT_6_1_SOL_LONG_CONTEXT_PRICE }
1249
+ }
1250
+ ]
1251
+ },
1187
1252
  // 2026-10-13 收进广场(= 平台上架日;出处:PLATFORM_HOSTED_GPT_6_1_SOL_PRICE 注释)。
1188
1253
  releasedAtMs: catalogReleasedAt(2026, 10, 13),
1189
1254
  contextWindow: 105e4,
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-T5BHHWA5.js";
4
+ } from "./chunk-4ZSZP7PY.js";
5
5
  import {
6
6
  updateTokensAction
7
- } from "./chunk-PFBIXTFB.js";
7
+ } from "./chunk-ZJWUXAJ7.js";
8
8
  import {
9
9
  applyUpdateTokensFulfilled
10
10
  } from "./chunk-OWYYDMGJ.js";
@@ -12,7 +12,7 @@ import {
12
12
  extractReasoningFromResponseOutput,
13
13
  extractTextFromResponseOutput,
14
14
  extractToolCallsFromResponseOutput
15
- } from "./chunk-HL3O3PCQ.js";
15
+ } from "./chunk-6TF64IF2.js";
16
16
  import {
17
17
  isRecord
18
18
  } from "./chunk-KUG52IAP.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-USHQX6VT.js";
4
+ } from "./chunk-G47IPDOK.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-ZF6526IQ.js";
7
+ } from "./chunk-HKT6QXP3.js";
8
8
  import {
9
9
  deriveCredentialGroup
10
- } from "./chunk-JKMLSTZK.js";
10
+ } from "./chunk-KX6LPG7W.js";
11
11
  import {
12
12
  isTombstoneRecord
13
13
  } from "./chunk-D2MDMY2M.js";
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-USHQX6VT.js";
10
+ } from "./chunk-G47IPDOK.js";
11
11
  import {
12
12
  fetchWithTransientRetry
13
13
  } from "./chunk-I2ZMGXXF.js";
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-I42VC5KR.js";
41
41
  import {
42
42
  resolveRunsDir
43
- } from "./chunk-YVLQXTUB.js";
43
+ } from "./chunk-MM3662RS.js";
44
44
  import {
45
45
  isRecord
46
46
  } from "./chunk-KUG52IAP.js";
@@ -4,7 +4,7 @@ import {
4
4
  openrouterModels,
5
5
  platformHostedModels,
6
6
  zaiModels
7
- } from "./chunk-CHCS6XPJ.js";
7
+ } from "./chunk-CGFNDIKK.js";
8
8
 
9
9
  // packages/ai/llm/modelAbility.ts
10
10
  var MODEL_ABILITY_TABLE = {
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-ZF6526IQ.js";
5
+ } from "./chunk-HKT6QXP3.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-OXME3PEE.js";
@@ -2,7 +2,7 @@ import {
2
2
  deleteDialog,
3
3
  runtime_default,
4
4
  toast
5
- } from "./chunk-PFBIXTFB.js";
5
+ } from "./chunk-ZJWUXAJ7.js";
6
6
  import {
7
7
  getCurrentSpaceId,
8
8
  getCurrentSpaceIdRaw,
@@ -19,7 +19,7 @@ import {
19
19
  addContentAction,
20
20
  checkSpaceMembership,
21
21
  localSpaceAuthorityPatchStamp
22
- } from "./chunk-EDX5XSJM.js";
22
+ } from "./chunk-VEJFPTX7.js";
23
23
  import {
24
24
  createSpaceKey,
25
25
  normalizeSpaceId
@@ -32,7 +32,7 @@ import {
32
32
  uploadFileAction,
33
33
  upsertSSREntity,
34
34
  write
35
- } from "./chunk-74RAWNQN.js";
35
+ } from "./chunk-A7HQF6YH.js";
36
36
  import {
37
37
  resolveFileCategory
38
38
  } from "./chunk-3PVYUPXK.js";
@@ -58,7 +58,7 @@ import {
58
58
  } from "./chunk-D2MDMY2M.js";
59
59
  import {
60
60
  isSystemAdmin
61
- } from "./chunk-GKXCHNTE.js";
61
+ } from "./chunk-Y6ORVLSS.js";
62
62
  import {
63
63
  asRecordOrEmpty
64
64
  } from "./chunk-KX6YBIHG.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  toolRegistry
3
- } from "./chunk-PPU323UE.js";
3
+ } from "./chunk-AHSHCC2V.js";
4
4
  import {
5
5
  runtime_default
6
- } from "./chunk-PFBIXTFB.js";
6
+ } from "./chunk-ZJWUXAJ7.js";
7
7
  import {
8
8
  canonicalizeToolNames
9
9
  } from "./chunk-5EBLANFT.js";
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-KUG52IAP.js";
13
13
  import {
14
14
  isNoloHostedProvider
15
- } from "./chunk-CHCS6XPJ.js";
15
+ } from "./chunk-CGFNDIKK.js";
16
16
  import {
17
17
  asTrimmedLowercaseString
18
18
  } from "./chunk-QSJ3HFEF.js";