nolo-cli 0.12.0-alpha.1 → 0.12.0-alpha.10

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 (82) hide show
  1. package/{_executeModel-MWAY74HA.js → _executeModel-4F7VZR5U.js} +24 -23
  2. package/{action-RAXNQQKC.js → action-OTOWUMPW.js} +3 -3
  3. package/{addContentAction-ZHI7TVV3.js → addContentAction-JGBUVR7K.js} +2 -2
  4. package/{addDialogAgentAction-JWXPKXNC.js → addDialogAgentAction-V6CL2UCF.js} +1 -1
  5. package/{agentDeleteCommand-LXR5A5FV.js → agentDeleteCommand-MMRSG6AB.js} +15 -14
  6. package/{agentEmailCommands-DXRAP7BB.js → agentEmailCommands-YFVKOGM7.js} +28 -27
  7. package/{agentListCommands-ZFMS5ZLY.js → agentListCommands-2PZHIQ3I.js} +16 -15
  8. package/{agentMachineCommands-ZJLYVV52.js → agentMachineCommands-55UUZNHF.js} +17 -16
  9. package/{agentRecordCommands-DFS626TB.js → agentRecordCommands-BTP3OAPL.js} +28 -27
  10. package/{agentRunCommand-GWBIE2TS.js → agentRunCommand-AA4QLRQZ.js} +29 -28
  11. package/{agentRuntimeLocal-YNZSHMZC.js → agentRuntimeLocal-QDJCBXM2.js} +12 -11
  12. package/{agentSlice-T2PXOEPQ.js → agentSlice-6JAJOU3X.js} +2 -2
  13. package/{chunk-G3B356GF.js → chunk-2BVGERJ2.js} +67 -3
  14. package/{chunk-WWU275LU.js → chunk-3MI5LDDU.js} +2 -2
  15. package/{chunk-OPZYGHUC.js → chunk-3WGLLTK4.js} +59 -1
  16. package/{chunk-EBH7G34M.js → chunk-3XF6LCCN.js} +2 -2
  17. package/chunk-5MMAK75Q.js +15 -0
  18. package/{chunk-ZR4VHQ5D.js → chunk-5S4SWV5G.js} +38 -26
  19. package/{chunk-JUN3HFMN.js → chunk-5V524MHX.js} +25 -15
  20. package/{chunk-JZDIW766.js → chunk-ARSC56DC.js} +1 -1
  21. package/{chunk-3QKO4EHV.js → chunk-AS3ZQ3O2.js} +16 -25
  22. package/{chunk-43UD5ZP7.js → chunk-B4KT7RN2.js} +4 -4
  23. package/{chunk-YTQLJYLB.js → chunk-C3BFP57W.js} +95 -2
  24. package/{chunk-QCA3EPYK.js → chunk-CGDQDXKZ.js} +1 -1
  25. package/{chunk-7MYHLZ3F.js → chunk-DPFWKRHG.js} +1 -1
  26. package/{chunk-LHSJMY5V.js → chunk-EIMX5ER5.js} +3 -3
  27. package/{chunk-AM53Q2SD.js → chunk-FSUZIGIG.js} +28 -39
  28. package/{chunk-4GBNEA5B.js → chunk-H5Y2H2N6.js} +1 -1
  29. package/{chunk-S73OEOHH.js → chunk-JFANOO7I.js} +3 -15
  30. package/{chunk-OCDEWRE2.js → chunk-JKWWVF2I.js} +1 -1
  31. package/{chunk-WTYKCU4W.js → chunk-JU7J7EAV.js} +37 -37
  32. package/{chunk-5ITRDSHY.js → chunk-KWBH4RAL.js} +57 -18
  33. package/{chunk-6OVCRC72.js → chunk-LUKQQJFL.js} +39 -2
  34. package/{chunk-DRMGJFGQ.js → chunk-MG6BVV3T.js} +31 -17
  35. package/{chunk-RSEUHW6T.js → chunk-MQRZ5QUH.js} +1 -1
  36. package/{chunk-RZ735TLX.js → chunk-MZHSAPZP.js} +167 -20
  37. package/{chunk-OPKKB25T.js → chunk-O4FOPRCP.js} +1 -1
  38. package/{chunk-S3UTETIC.js → chunk-OGGHETUE.js} +19 -4
  39. package/{chunk-4EH7AR52.js → chunk-OPM2DE2J.js} +1 -1
  40. package/{chunk-UG3WOFU6.js → chunk-QJSTNKJY.js} +1 -1
  41. package/{chunk-DE5BA4O6.js → chunk-QUHUVG6Y.js} +2 -2
  42. package/{chunk-YDCZVUFP.js → chunk-RQSOAMPJ.js} +16 -0
  43. package/{chunk-ZPFRLGIZ.js → chunk-RUGEW4P7.js} +70 -37
  44. package/{chunk-6LMFFG3K.js → chunk-RWO5DGXI.js} +2 -2
  45. package/{chunk-4BTHUYMY.js → chunk-TA7VKOHU.js} +23 -9
  46. package/{chunk-MEVCDATU.js → chunk-TQYYGE6G.js} +3 -3
  47. package/{chunk-TSKWE74T.js → chunk-TYPHUVK5.js} +13 -1
  48. package/{chunk-RNQ5BLR2.js → chunk-VBSWHE5W.js} +1 -1
  49. package/{chunk-NITP2JDG.js → chunk-VKG4HXYV.js} +1 -1
  50. package/{chunk-3HHTVM6G.js → chunk-WVTBAALN.js} +1 -1
  51. package/{chunk-GPZM7QH6.js → chunk-Y5P3ZRGC.js} +4 -4
  52. package/{chunk-GDBCUWQ3.js → chunk-YUMYYXPI.js} +31 -167
  53. package/{createAgentAutomationAction-G32GKDGV.js → createAgentAutomationAction-4NY4JLOK.js} +9 -8
  54. package/{createDialogAction-TISANRZK.js → createDialogAction-I5WUWFJ6.js} +10 -9
  55. package/{createPageAction-O7KOYNV4.js → createPageAction-HFTIQ7TW.js} +9 -8
  56. package/{dbSlice-WDP2ZZHK.js → dbSlice-J4PUZ6Y5.js} +1 -1
  57. package/{dialogCommands-6JPB3YQY.js → dialogCommands-SVXRJFZS.js} +16 -15
  58. package/{dialogSlice-PRHHYSP5.js → dialogSlice-35LA3ZRG.js} +9 -8
  59. package/{docCreateCommands-75E6TZNN.js → docCreateCommands-Z7RIAYKQ.js} +15 -14
  60. package/{docDeleteCommands-EJHLN7LW.js → docDeleteCommands-NEYHUVZF.js} +16 -15
  61. package/{docReadCommands-RJYBC4FS.js → docReadCommands-I4US2SDE.js} +15 -14
  62. package/{docStore-H5VWKT5D.js → docStore-3CP2IO6M.js} +10 -9
  63. package/{docUpdateCommands-MG4CNISV.js → docUpdateCommands-UU5HQBRP.js} +15 -14
  64. package/{getPricing-6TOZXPAU.js → getPricing-UGDJHI7M.js} +2 -2
  65. package/{handleSendMessageAction-QTUGICSZ.js → handleSendMessageAction-FWTLQGOZ.js} +9 -8
  66. package/index.js +36 -36
  67. package/{machineCommands-MAV7M3TK.js → machineCommands-STHZKBDJ.js} +28 -27
  68. package/{machineWsRunDispatch-ZOEGTKHC.js → machineWsRunDispatch-7YHT4TPT.js} +27 -26
  69. package/package.json +1 -1
  70. package/{readlineWorkspace-SWQKC7ZS.js → readlineWorkspace-OMRWYMB6.js} +203 -75
  71. package/{removeDialogAgentAction-GTX5AN54.js → removeDialogAgentAction-XUZYQBV4.js} +3 -3
  72. package/{runAgentClientLoop-P25HACXX.js → runAgentClientLoop-FP2K33ZO.js} +20 -19
  73. package/{setDialogExtraReferencesAction-WFQ63KYO.js → setDialogExtraReferencesAction-PTAIFKGM.js} +1 -1
  74. package/{setPrimaryDialogAgentAction-P57FXTSU.js → setPrimaryDialogAgentAction-HRFTDB44.js} +3 -3
  75. package/{settingSlice-CK5YZGNI.js → settingSlice-VGRJUSE5.js} +2 -2
  76. package/{skillDiscovery-ZYHSX7VD.js → skillDiscovery-6M2BZUFN.js} +1 -1
  77. package/{spaceCommands-6O5EFEM5.js → spaceCommands-GN73BCOB.js} +15 -14
  78. package/{spaceSlice-4EXTYXS4.js → spaceSlice-WTFNKOVA.js} +11 -8
  79. package/{streamAgentChatTurn-Q3FJAHG2.js → streamAgentChatTurn-HBAQQVNK.js} +244 -26
  80. package/{tools-AHNQE4GP.js → tools-TPQYTLQZ.js} +15 -14
  81. package/{tuiSummaryLlmCaller-TXLF4MEI.js → tuiSummaryLlmCaller-XDC7WG4K.js} +6 -4
  82. package/{updateDialogTitleAction-XZDVLKVX.js → updateDialogTitleAction-AWXNPUQJ.js} +9 -8
@@ -1,9 +1,10 @@
1
1
  import {
2
2
  CORE_DRAIN_REASON,
3
+ DRAIN_EXHAUSTED_USER_MESSAGE,
3
4
  isGatewayHttpStatus,
4
5
  normalizeNonNegativeMs,
5
6
  parseRetryAfterHeaderMs
6
- } from "./chunk-YDCZVUFP.js";
7
+ } from "./chunk-RQSOAMPJ.js";
7
8
  import {
8
9
  sortSafeAgentSummaries,
9
10
  toSafeAgentSummary
@@ -33,10 +34,10 @@ import {
33
34
  } from "./chunk-VF4K2QE6.js";
34
35
  import {
35
36
  createDocState
36
- } from "./chunk-MEVCDATU.js";
37
+ } from "./chunk-TQYYGE6G.js";
37
38
  import {
38
39
  createDialogAction
39
- } from "./chunk-G3B356GF.js";
40
+ } from "./chunk-2BVGERJ2.js";
40
41
  import {
41
42
  buildSkillDocMarkdown,
42
43
  normalizeSkillBudgetTier,
@@ -75,13 +76,13 @@ import {
75
76
  updateContentCategory,
76
77
  updateContentTitle,
77
78
  updateStep
78
- } from "./chunk-AM53Q2SD.js";
79
+ } from "./chunk-FSUZIGIG.js";
79
80
  import {
80
81
  createAgent,
81
82
  runLlm,
82
83
  streamAgentChatTurn,
83
84
  updateAgent
84
- } from "./chunk-GPZM7QH6.js";
85
+ } from "./chunk-Y5P3ZRGC.js";
85
86
  import {
86
87
  NOLO_WORKSPACE_TOOL_NAMES,
87
88
  buildNoloSubjectRefQueryTarget,
@@ -97,13 +98,13 @@ import {
97
98
  redactAgentRecordForWorkspaceTool,
98
99
  resolveNoloDialogInput,
99
100
  verifyNoloDialogSubjectRefQuery
100
- } from "./chunk-43UD5ZP7.js";
101
+ } from "./chunk-B4KT7RN2.js";
101
102
  import {
102
103
  buildDatabaseFileContentUrl
103
- } from "./chunk-S73OEOHH.js";
104
+ } from "./chunk-JFANOO7I.js";
104
105
  import {
105
106
  DEFAULT_MODEL
106
- } from "./chunk-S3UTETIC.js";
107
+ } from "./chunk-OGGHETUE.js";
107
108
  import {
108
109
  ToolApiError,
109
110
  buildToolRequestHeaders,
@@ -129,14 +130,14 @@ import {
129
130
  } from "./chunk-DWLEOOGR.js";
130
131
  import {
131
132
  shareResourceAction
132
- } from "./chunk-7MYHLZ3F.js";
133
+ } from "./chunk-DPFWKRHG.js";
133
134
  import {
134
135
  AGENT_UPDATE_FIELD_NAMES,
135
136
  normalizeAgentUpdateFieldList,
136
137
  selectAutoApproveSelfUpdateFields,
137
138
  selectCurrentServer,
138
139
  selectSyncServers
139
- } from "./chunk-WTYKCU4W.js";
140
+ } from "./chunk-JU7J7EAV.js";
140
141
  import {
141
142
  asRecordOrEmpty
142
143
  } from "./chunk-KX6YBIHG.js";
@@ -144,7 +145,7 @@ import {
144
145
  addContentAction,
145
146
  createSpaceKey,
146
147
  normalizeSpaceId
147
- } from "./chunk-3HHTVM6G.js";
148
+ } from "./chunk-WVTBAALN.js";
148
149
  import {
149
150
  patch,
150
151
  read,
@@ -152,7 +153,7 @@ import {
152
153
  readAndWaitAction,
153
154
  toTimestampMs,
154
155
  write
155
- } from "./chunk-NITP2JDG.js";
156
+ } from "./chunk-VKG4HXYV.js";
156
157
  import {
157
158
  SEPARATOR,
158
159
  createAgentKey,
@@ -2240,6 +2241,7 @@ var chat_locale_default = {
2240
2241
  uploadFailed: "Upload failed",
2241
2242
  deleteMessageTitle: "Delete Message",
2242
2243
  delConfirm: "Delete this tool output?",
2244
+ delConfirmMessage: "Delete this message?",
2243
2245
  bash: {
2244
2246
  blockedTitle: "Dangerous Command Blocked",
2245
2247
  blockedDesc: "This command was detected as high-risk and was not executed. If necessary, please confirm the risk and continue.",
@@ -2594,6 +2596,7 @@ var chat_locale_default = {
2594
2596
  answerContent: "\u56DE\u7B54",
2595
2597
  deleteMessageTitle: "\u5220\u9664\u6D88\u606F",
2596
2598
  delConfirm: "\u5220\u9664\u6B64\u5DE5\u5177\u8F93\u51FA\uFF1F",
2599
+ delConfirmMessage: "\u5220\u9664\u6B64\u6D88\u606F\uFF1F",
2597
2600
  bash: {
2598
2601
  blockedTitle: "\u5371\u9669\u547D\u4EE4\u5DF2\u88AB\u62E6\u622A",
2599
2602
  blockedDesc: "\u8BE5\u547D\u4EE4\u88AB\u68C0\u6D4B\u4E3A\u9AD8\u5371\u64CD\u4F5C\uFF0C\u9ED8\u8BA4\u672A\u6267\u884C\u3002\u5982\u786E\u6709\u5FC5\u8981\uFF0C\u8BF7\u786E\u8BA4\u98CE\u9669\u540E\u7EE7\u7EED\u3002",
@@ -2939,6 +2942,7 @@ var chat_locale_default = {
2939
2942
  answerContent: "\u56DE\u7B54",
2940
2943
  deleteMessageTitle: "\u522A\u9664\u8A0A\u606F",
2941
2944
  delConfirm: "\u522A\u9664\u6B64\u5DE5\u5177\u8F38\u51FA\uFF1F",
2945
+ delConfirmMessage: "\u522A\u9664\u6B64\u8A0A\u606F\uFF1F",
2942
2946
  bash: {
2943
2947
  blockedTitle: "\u5371\u96AA\u547D\u4EE4\u5DF2\u88AB\u6514\u622A",
2944
2948
  blockedDesc: "\u8A72\u547D\u4EE4\u88AB\u6AA2\u6E2C\u70BA\u9AD8\u5371\u64CD\u4F5C\uFF0C\u9810\u8A2D\u672A\u57F7\u884C\u3002\u5982\u78BA\u6709\u5FC5\u8981\uFF0C\u8ACB\u78BA\u8A8D\u98A8\u96AA\u5F8C\u7E7C\u7E8C\u3002",
@@ -3228,6 +3232,7 @@ var chat_locale_default = {
3228
3232
  uploadFailed: "\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u5931\u6557",
3229
3233
  deleteMessageTitle: "\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u524A\u9664",
3230
3234
  delConfirm: "\u3053\u306E\u5DE5\u5177\u306E\u51FA\u529B\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",
3235
+ delConfirmMessage: "\u3053\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u524A\u9664\u3057\u307E\u3059\u304B\uFF1F",
3231
3236
  bash: {
3232
3237
  blockedTitle: "\u5371\u967A\u306A\u30B3\u30DE\u30F3\u30C9\u3092\u30D6\u30ED\u30C3\u30AF\u3057\u307E\u3057\u305F",
3233
3238
  blockedDesc: "\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u9AD8\u30EA\u30B9\u30AF\u3068\u3057\u3066\u691C\u51FA\u3055\u308C\u3001\u5B9F\u884C\u3055\u308C\u307E\u305B\u3093\u3067\u3057\u305F\u3002\u5FC5\u8981\u306B\u5FDC\u3058\u3066\u30EA\u30B9\u30AF\u3092\u78BA\u8A8D\u3057\u3001\u7D9A\u884C\u3057\u3066\u304F\u3060\u3055\u3044\u3002",
@@ -3410,6 +3415,7 @@ var space_locale_default = {
3410
3415
  select_space: "Select Space",
3411
3416
  no_spaces: "No spaces available",
3412
3417
  no_spaces_yet: "No spaces created yet",
3418
+ space_list_failed: "Failed to load spaces \u2014 tap to retry",
3413
3419
  space_list: "Space List",
3414
3420
  space_dropdown: "Open space menu",
3415
3421
  current_space: "Current Space",
@@ -3719,6 +3725,7 @@ var space_locale_default = {
3719
3725
  select_space: "\u9009\u62E9\u7A7A\u95F4",
3720
3726
  no_spaces: "\u6682\u65E0\u7A7A\u95F4",
3721
3727
  no_spaces_yet: "\u5C1A\u672A\u521B\u5EFA\u4EFB\u4F55\u7A7A\u95F4",
3728
+ space_list_failed: "\u7A7A\u95F4\u5217\u8868\u52A0\u8F7D\u5931\u8D25\uFF0C\u70B9\u51FB\u91CD\u8BD5",
3722
3729
  space_list: "\u7A7A\u95F4\u5217\u8868",
3723
3730
  space_dropdown: "\u6253\u5F00\u7A7A\u95F4\u83DC\u5355",
3724
3731
  current_space: "\u5F53\u524D\u7A7A\u95F4",
@@ -4027,6 +4034,7 @@ var space_locale_default = {
4027
4034
  select_space: "\u9078\u64C7\u7A7A\u9593",
4028
4035
  no_spaces: "\u66AB\u7121\u7A7A\u9593",
4029
4036
  no_spaces_yet: "\u5C1A\u672A\u5275\u5EFA\u4EFB\u4F55\u7A7A\u9593",
4037
+ space_list_failed: "\u7A7A\u9593\u6E05\u55AE\u8F09\u5165\u5931\u6557\uFF0C\u9EDE\u64CA\u91CD\u8A66",
4030
4038
  space_list: "\u7A7A\u9593\u6E05\u55AE",
4031
4039
  space_dropdown: "\u958B\u555F\u7A7A\u9593\u9078\u55AE",
4032
4040
  current_space: "\u76EE\u524D\u7A7A\u9593",
@@ -4669,6 +4677,40 @@ var interface_locale_default = {
4669
4677
  machines: "Machines",
4670
4678
  updates: "Updates"
4671
4679
  },
4680
+ updates: {
4681
+ title: "Client updates",
4682
+ desktopOnly: "This page is only available in the desktop client.",
4683
+ overview: {
4684
+ title: "Version status",
4685
+ description: "New versions are detected automatically on launch. You can also check, download, and install updates manually here."
4686
+ },
4687
+ currentHash: "Current build",
4688
+ latestHash: "Latest build",
4689
+ idle: "Waiting to check for updates",
4690
+ checkNow: "Check for updates",
4691
+ noAction: "No update available right now",
4692
+ failed: "Check failed",
4693
+ timeline: {
4694
+ title: "Update log",
4695
+ description: "Shows the most recent check or download events so you can confirm which stage the client is in.",
4696
+ empty: "No update events yet."
4697
+ },
4698
+ phase: {
4699
+ not_checked: "Not checked yet",
4700
+ checking: "Checking",
4701
+ update_available: "New version available",
4702
+ downloading: "Downloading",
4703
+ ready_to_install: "Ready to install",
4704
+ applying: "Installing",
4705
+ up_to_date: "Up to date",
4706
+ invalid_remote: "Remote metadata is invalid",
4707
+ error: "Check failed"
4708
+ },
4709
+ action: {
4710
+ download: "Download update",
4711
+ apply: "Restart and install"
4712
+ }
4713
+ },
4672
4714
  developer: {
4673
4715
  title: "Developer",
4674
4716
  developerMode: {
@@ -5915,6 +5957,40 @@ var interface_locale_default = {
5915
5957
  machines: "\u7535\u8111",
5916
5958
  updates: "\u66F4\u65B0"
5917
5959
  },
5960
+ updates: {
5961
+ title: "\u5BA2\u6237\u7AEF\u66F4\u65B0",
5962
+ desktopOnly: "\u6B64\u9875\u9762\u4EC5\u5728\u684C\u9762\u5BA2\u6237\u7AEF\u4E2D\u53EF\u7528\u3002",
5963
+ overview: {
5964
+ title: "\u7248\u672C\u72B6\u6001",
5965
+ description: "\u542F\u52A8\u65F6\u4F1A\u81EA\u52A8\u68C0\u6D4B\u65B0\u7248\u672C\u3002\u4F60\u4E5F\u53EF\u4EE5\u5728\u6B64\u624B\u52A8\u68C0\u67E5\u3001\u4E0B\u8F7D\u548C\u5B89\u88C5\u66F4\u65B0\u3002"
5966
+ },
5967
+ currentHash: "\u5F53\u524D\u6784\u5EFA",
5968
+ latestHash: "\u6700\u65B0\u6784\u5EFA",
5969
+ idle: "\u7B49\u5F85\u68C0\u67E5\u66F4\u65B0",
5970
+ checkNow: "\u68C0\u67E5\u66F4\u65B0",
5971
+ noAction: "\u6682\u65E0\u53EF\u7528\u66F4\u65B0",
5972
+ failed: "\u68C0\u67E5\u5931\u8D25",
5973
+ timeline: {
5974
+ title: "\u66F4\u65B0\u65E5\u5FD7",
5975
+ description: "\u663E\u793A\u6700\u8FD1\u7684\u68C0\u67E5\u6216\u4E0B\u8F7D\u4E8B\u4EF6\uFF0C\u4EE5\u4FBF\u4F60\u786E\u8BA4\u5BA2\u6237\u7AEF\u5904\u4E8E\u54EA\u4E2A\u9636\u6BB5\u3002",
5976
+ empty: "\u6682\u65E0\u66F4\u65B0\u4E8B\u4EF6\u3002"
5977
+ },
5978
+ phase: {
5979
+ not_checked: "\u672A\u68C0\u67E5",
5980
+ checking: "\u68C0\u67E5\u4E2D",
5981
+ update_available: "\u53D1\u73B0\u65B0\u7248\u672C",
5982
+ downloading: "\u4E0B\u8F7D\u4E2D",
5983
+ ready_to_install: "\u51C6\u5907\u5B89\u88C5",
5984
+ applying: "\u5B89\u88C5\u4E2D",
5985
+ up_to_date: "\u5DF2\u662F\u6700\u65B0\u7248\u672C",
5986
+ invalid_remote: "\u8FDC\u7AEF\u5143\u6570\u636E\u65E0\u6548",
5987
+ error: "\u68C0\u67E5\u5931\u8D25"
5988
+ },
5989
+ action: {
5990
+ download: "\u4E0B\u8F7D\u66F4\u65B0",
5991
+ apply: "\u91CD\u542F\u5E76\u5B89\u88C5"
5992
+ }
5993
+ },
5918
5994
  developer: {
5919
5995
  title: "\u5F00\u53D1\u8005",
5920
5996
  developerMode: {
@@ -7105,6 +7181,40 @@ var interface_locale_default = {
7105
7181
  machines: "\u96FB\u8166",
7106
7182
  updates: "\u66F4\u65B0"
7107
7183
  },
7184
+ updates: {
7185
+ title: "\u5BA2\u6236\u7AEF\u66F4\u65B0",
7186
+ desktopOnly: "\u6B64\u9801\u9762\u50C5\u5728\u684C\u9762\u5BA2\u6236\u7AEF\u4E2D\u53EF\u7528\u3002",
7187
+ overview: {
7188
+ title: "\u7248\u672C\u72C0\u614B",
7189
+ description: "\u555F\u52D5\u6642\u6703\u81EA\u52D5\u6AA2\u6E2C\u65B0\u7248\u672C\u3002\u4F60\u4E5F\u53EF\u4EE5\u5728\u6B64\u624B\u52D5\u6AA2\u67E5\u3001\u4E0B\u8F09\u548C\u5B89\u88DD\u66F4\u65B0\u3002"
7190
+ },
7191
+ currentHash: "\u7576\u524D\u5EFA\u7F6E",
7192
+ latestHash: "\u6700\u65B0\u5EFA\u7F6E",
7193
+ idle: "\u7B49\u5F85\u6AA2\u67E5\u66F4\u65B0",
7194
+ checkNow: "\u6AA2\u67E5\u66F4\u65B0",
7195
+ noAction: "\u66AB\u7121\u53EF\u7528\u66F4\u65B0",
7196
+ failed: "\u6AA2\u67E5\u5931\u6557",
7197
+ timeline: {
7198
+ title: "\u66F4\u65B0\u65E5\u8A8C",
7199
+ description: "\u986F\u793A\u6700\u8FD1\u7684\u6AA2\u67E5\u6216\u4E0B\u8F09\u4E8B\u4EF6\uFF0C\u4EE5\u4FBF\u4F60\u78BA\u8A8D\u5BA2\u6236\u7AEF\u8655\u65BC\u54EA\u500B\u968E\u6BB5\u3002",
7200
+ empty: "\u66AB\u7121\u66F4\u65B0\u4E8B\u4EF6\u3002"
7201
+ },
7202
+ phase: {
7203
+ not_checked: "\u672A\u6AA2\u67E5",
7204
+ checking: "\u6AA2\u67E5\u4E2D",
7205
+ update_available: "\u767C\u73FE\u65B0\u7248\u672C",
7206
+ downloading: "\u4E0B\u8F09\u4E2D",
7207
+ ready_to_install: "\u6E96\u5099\u5B89\u88DD",
7208
+ applying: "\u5B89\u88DD\u4E2D",
7209
+ up_to_date: "\u5DF2\u662F\u6700\u65B0\u7248\u672C",
7210
+ invalid_remote: "\u9060\u7AEF\u5143\u8CC7\u6599\u7121\u6548",
7211
+ error: "\u6AA2\u67E5\u5931\u6557"
7212
+ },
7213
+ action: {
7214
+ download: "\u4E0B\u8F09\u66F4\u65B0",
7215
+ apply: "\u91CD\u555F\u4E26\u5B89\u88DD"
7216
+ }
7217
+ },
7108
7218
  developer: {
7109
7219
  title: "\u958B\u767C\u8005",
7110
7220
  developerMode: {
@@ -8221,6 +8331,40 @@ var interface_locale_default = {
8221
8331
  machines: "\u30DE\u30B7\u30F3",
8222
8332
  updates: "\u66F4\u65B0"
8223
8333
  },
8334
+ updates: {
8335
+ title: "\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u66F4\u65B0",
8336
+ desktopOnly: "\u3053\u306E\u30DA\u30FC\u30B8\u306F\u30C7\u30B9\u30AF\u30C8\u30C3\u30D7\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u3067\u306E\u307F\u5229\u7528\u3067\u304D\u307E\u3059\u3002",
8337
+ overview: {
8338
+ title: "\u30D0\u30FC\u30B8\u30E7\u30F3\u72B6\u614B",
8339
+ description: "\u8D77\u52D5\u6642\u306B\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3\u304C\u81EA\u52D5\u691C\u51FA\u3055\u308C\u307E\u3059\u3002\u3053\u3053\u304B\u3089\u624B\u52D5\u3067\u78BA\u8A8D\u3001\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u3001\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u3059\u308B\u3053\u3068\u3082\u3067\u304D\u307E\u3059\u3002"
8340
+ },
8341
+ currentHash: "\u73FE\u5728\u306E\u30D3\u30EB\u30C9",
8342
+ latestHash: "\u6700\u65B0\u306E\u30D3\u30EB\u30C9",
8343
+ idle: "\u66F4\u65B0\u78BA\u8A8D\u3092\u5F85\u6A5F\u4E2D",
8344
+ checkNow: "\u66F4\u65B0\u3092\u78BA\u8A8D",
8345
+ noAction: "\u73FE\u5728\u5229\u7528\u53EF\u80FD\u306A\u66F4\u65B0\u306F\u3042\u308A\u307E\u305B\u3093",
8346
+ failed: "\u78BA\u8A8D\u5931\u6557",
8347
+ timeline: {
8348
+ title: "\u66F4\u65B0\u30ED\u30B0",
8349
+ description: "\u6700\u8FD1\u306E\u78BA\u8A8D\u307E\u305F\u306F\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u30A4\u30D9\u30F3\u30C8\u3092\u8868\u793A\u3057\u3001\u30AF\u30E9\u30A4\u30A2\u30F3\u30C8\u306E\u30B9\u30C6\u30FC\u30B8\u3092\u78BA\u8A8D\u3067\u304D\u307E\u3059\u3002",
8350
+ empty: "\u66F4\u65B0\u30A4\u30D9\u30F3\u30C8\u306F\u307E\u3060\u3042\u308A\u307E\u305B\u3093\u3002"
8351
+ },
8352
+ phase: {
8353
+ not_checked: "\u672A\u78BA\u8A8D",
8354
+ checking: "\u78BA\u8A8D\u4E2D",
8355
+ update_available: "\u65B0\u3057\u3044\u30D0\u30FC\u30B8\u30E7\u30F3\u304C\u5229\u7528\u53EF\u80FD",
8356
+ downloading: "\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u4E2D",
8357
+ ready_to_install: "\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u6E96\u5099\u5B8C\u4E86",
8358
+ applying: "\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB\u4E2D",
8359
+ up_to_date: "\u6700\u65B0\u72B6\u614B",
8360
+ invalid_remote: "\u30EA\u30E2\u30FC\u30C8\u30E1\u30BF\u30C7\u30FC\u30BF\u304C\u7121\u52B9\u3067\u3059",
8361
+ error: "\u78BA\u8A8D\u5931\u6557"
8362
+ },
8363
+ action: {
8364
+ download: "\u66F4\u65B0\u3092\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9",
8365
+ apply: "\u518D\u8D77\u52D5\u3057\u3066\u30A4\u30F3\u30B9\u30C8\u30FC\u30EB"
8366
+ }
8367
+ },
8224
8368
  developer: {
8225
8369
  title: "\u958B\u767A\u8005",
8226
8370
  developerMode: {
@@ -11530,7 +11674,7 @@ var buildFormDataFromArgs = async (args) => {
11530
11674
  const trimmedModel = toTrimmedString(model);
11531
11675
  const trimmedProvider = toTrimmedString(provider);
11532
11676
  const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
11533
- const { getModelPricing } = await import("./getPricing-6TOZXPAU.js");
11677
+ const { getModelPricing } = await import("./getPricing-UGDJHI7M.js");
11534
11678
  const normalizedTools = tools ?? [];
11535
11679
  const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
11536
11680
  const formData = {
@@ -13960,7 +14104,7 @@ async function deleteDialogsFunc(args, thunkApi) {
13960
14104
  const deletedDialogIds = [];
13961
14105
  const deletedDialogKeys = [];
13962
14106
  const failures = [];
13963
- const { deleteDialog } = await import("./dialogSlice-PRHHYSP5.js");
14107
+ const { deleteDialog } = await import("./dialogSlice-35LA3ZRG.js");
13964
14108
  for (const target of targets) {
13965
14109
  try {
13966
14110
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -19612,7 +19756,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
19612
19756
  var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
19613
19757
  async function addImageContentToSpace(input) {
19614
19758
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
19615
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-ZHI7TVV3.js")).addContentAction;
19759
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-JGBUVR7K.js")).addContentAction;
19616
19760
  await addContentAction2(
19617
19761
  {
19618
19762
  spaceId: input.spaceId,
@@ -20932,6 +21076,9 @@ var runAgentBackground = createAsyncThunk("agent/runBackground", async (args, {
20932
21076
  await waitForRetryDelay(retryAfterMs, effectiveSignal);
20933
21077
  continue;
20934
21078
  }
21079
+ if (isCoreDraining) {
21080
+ throw new Error(DRAIN_EXHAUSTED_USER_MESSAGE);
21081
+ }
20935
21082
  throw new Error(`\u542F\u52A8\u540E\u53F0\u4EFB\u52A1\u5931\u8D25 (${runRes.status}): ${errText}`);
20936
21083
  }
20937
21084
  if (!runResponse) {
@@ -23094,7 +23241,7 @@ var executeToolRun = createAsyncThunk(
23094
23241
  if (!executionInput) {
23095
23242
  throw new Error(`ToolRun ${id} has no input to execute with.`);
23096
23243
  }
23097
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-AHNQE4GP.js");
23244
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-TPQYTLQZ.js");
23098
23245
  const { executor } = findToolExecutor2(run.toolName);
23099
23246
  toolRunStarted({
23100
23247
  id: run.id,
@@ -23118,7 +23265,7 @@ var executeToolRun = createAsyncThunk(
23118
23265
  const latestState = thunkApi.getState();
23119
23266
  const userId = latestState.auth?.currentUser?.userId;
23120
23267
  if (userId) {
23121
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-4EXTYXS4.js");
23268
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-WTFNKOVA.js");
23122
23269
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
23123
23270
  }
23124
23271
  }
@@ -25521,7 +25668,7 @@ async function updateDocFunc(args, thunkApi) {
25521
25668
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
25522
25669
  };
25523
25670
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
25524
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-H5VWKT5D.js");
25671
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-3CP2IO6M.js");
25525
25672
  if (getDocState().pageKey === id) {
25526
25673
  applyExternalDocUpdate({
25527
25674
  slateData: finalSlateData,
@@ -25546,7 +25693,7 @@ async function updateDocFunc(args, thunkApi) {
25546
25693
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
25547
25694
  async function dispatchSetSettings(thunkApi, changes) {
25548
25695
  const injectedSetSettings = thunkApi?.extra?.setSettings;
25549
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-CK5YZGNI.js")).setSettings;
25696
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-VGRJUSE5.js")).setSettings;
25550
25697
  await thunkApi.dispatch(setSettings(changes)).unwrap();
25551
25698
  }
25552
25699
  var updateUserPreferenceProfileFunctionSchema = {
@@ -26040,7 +26187,7 @@ var ziweiChartFunctionSchema = {
26040
26187
  }
26041
26188
  };
26042
26189
  async function ziweiChartFunc(args) {
26043
- const result = runZiweiChart(args);
26190
+ const result = await runZiweiChart(args);
26044
26191
  return {
26045
26192
  rawData: result,
26046
26193
  displayData: result.displayData,
@@ -2,7 +2,7 @@ import {
2
2
  deleteDbRecord,
3
3
  queryUserRecords,
4
4
  readDbRecord
5
- } from "./chunk-QCA3EPYK.js";
5
+ } from "./chunk-CGDQDXKZ.js";
6
6
  import {
7
7
  mergeAndDedupUserData
8
8
  } from "./chunk-KQHGZWSV.js";
@@ -81,6 +81,21 @@ var anthropicModels = [
81
81
  // packages/integrations/qwen/models.ts
82
82
  var qwenModels = [
83
83
  // ── Qwen3 旗舰 ──
84
+ {
85
+ name: "qwen3.8-max",
86
+ displayName: "Qwen3.8 Max",
87
+ hasVision: true,
88
+ contextWindow: 1e6,
89
+ maxOutputTokens: 131072,
90
+ jsonOutput: true,
91
+ fnCall: true,
92
+ supportsTool: true,
93
+ supportsReasoningEffort: true,
94
+ // 官方价:输入 ¥12/M、输出 ¥36/M;缓存命中 ¥1.5/M、显式缓存创建 ¥15/M、显式缓存命中 ¥1/M。
95
+ price: { input: 12, output: 36 },
96
+ provider: "qwen",
97
+ description: "2.4\u4E07\u4EBF\u53C2\u6570 MoE \u65D7\u8230\uFF0C1M \u4E0A\u4E0B\u6587\uFF08\u8F93\u5165 991K / \u8F93\u51FA 131K / \u601D\u7EF4\u94FE 262K\uFF09\uFF0C\u539F\u751F\u89C6\u89C9\u7406\u89E3\u8D2F\u7A7F\u89C4\u5212-\u6267\u884C-\u9A8C\u8BC1\uFF0C\u81EA\u4E3B\u7F16\u7A0B\u53EF\u4EA4\u4ED8\u5B8C\u6574\u9879\u76EE\u3002"
98
+ },
84
99
  {
85
100
  name: "qwen3-max",
86
101
  displayName: "Qwen3 Max",
@@ -246,18 +261,18 @@ var qwenModels = [
246
261
  var qwenTokenPlanModels = [
247
262
  // ── 千问 ──
248
263
  {
249
- name: "qwen3.8-max-preview",
250
- displayName: "Qwen3.8 Max Preview",
264
+ name: "qwen3.8-max",
265
+ displayName: "Qwen3.8 Max",
251
266
  hasVision: true,
252
267
  contextWindow: 1e6,
253
- maxOutputTokens: 32768,
268
+ maxOutputTokens: 131072,
254
269
  jsonOutput: true,
255
270
  fnCall: true,
256
271
  supportsTool: true,
257
272
  supportsReasoningEffort: true,
258
273
  price: { input: 0, output: 0 },
259
274
  provider: "qwen",
260
- description: "\u63A8\u7406\u6A21\u578B\u3001\u89C6\u89C9\u7406\u89E3\u3001\u6587\u672C\u751F\u6210\uFF08\u9884\u89C8\u7248\uFF09\u3002"
275
+ description: "2.4\u4E07\u4EBF\u53C2\u6570 MoE \u65D7\u8230\uFF0C\u63A8\u7406\u3001\u89C6\u89C9\u7406\u89E3\u3001\u6587\u672C\u751F\u6210\uFF1B1M \u4E0A\u4E0B\u6587\u3001131K \u8F93\u51FA\u3001262K \u601D\u7EF4\u94FE\u3002"
261
276
  },
262
277
  {
263
278
  name: "qwen3.7-max",
@@ -7,7 +7,7 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-OPKKB25T.js";
10
+ } from "./chunk-O4FOPRCP.js";
11
11
  import {
12
12
  buildDialogAttachmentPlan,
13
13
  extractFileContentIds
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  DEFAULT_AGENT_BASE_POLICY,
3
3
  DEFAULT_USER_PREFERENCE_PROFILE
4
- } from "./chunk-WTYKCU4W.js";
4
+ } from "./chunk-JU7J7EAV.js";
5
5
 
6
6
  // packages/ai/policy/runtimePolicy.ts
7
7
  var clampLevel = (value, fallback) => {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  listUserRecordsFromServers,
3
3
  readLiveDbRecordAfterTombstoneMerge
4
- } from "./chunk-OPKKB25T.js";
4
+ } from "./chunk-O4FOPRCP.js";
5
5
  import {
6
6
  agentRecordHasConfiguredCredential
7
- } from "./chunk-QCA3EPYK.js";
7
+ } from "./chunk-CGDQDXKZ.js";
8
8
  import {
9
9
  toSafeAgentSummary
10
10
  } from "./chunk-OOIN7HSO.js";
@@ -1,5 +1,18 @@
1
1
  // packages/core/drainReason.ts
2
2
  var CORE_DRAIN_REASON = "core_draining";
3
+ var DRAIN_EXHAUSTED_USER_MESSAGE = "\u670D\u52A1\u6B63\u5728\u91CD\u542F\u4E2D\uFF0C\u8BF7\u7A0D\u540E\u91CD\u8BD5";
4
+ function isCoreDrainingBody(body) {
5
+ return typeof body === "object" && body !== null && body.reason === CORE_DRAIN_REASON;
6
+ }
7
+ function createDrainExhaustedResponse(original) {
8
+ const retryAfter = original.headers.get("Retry-After");
9
+ const headers = { "Content-Type": "text/plain; charset=utf-8" };
10
+ if (retryAfter) headers["Retry-After"] = retryAfter;
11
+ return new Response(DRAIN_EXHAUSTED_USER_MESSAGE, {
12
+ status: 503,
13
+ headers
14
+ });
15
+ }
3
16
 
4
17
  // packages/core/retryAfterMs.ts
5
18
  function normalizeNonNegativeMs(value, fallbackMs) {
@@ -28,6 +41,9 @@ function isGatewayHttpStatus(status) {
28
41
 
29
42
  export {
30
43
  CORE_DRAIN_REASON,
44
+ DRAIN_EXHAUSTED_USER_MESSAGE,
45
+ isCoreDrainingBody,
46
+ createDrainExhaustedResponse,
31
47
  normalizeNonNegativeMs,
32
48
  parseRetryAfterHeaderMs,
33
49
  isGatewayHttpStatus