nolo-cli 0.8.0-alpha.15 → 0.8.0-alpha.19

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 (98) hide show
  1. package/README.md +1 -1
  2. package/{_executeModel-KUP2WVMT.js → _executeModel-BOMQGOZC.js} +33 -30
  3. package/{action-ZJWE3Y5S.js → action-AEHDRQHP.js} +4 -4
  4. package/{addContentAction-TVDBNJM5.js → addContentAction-OL5YQ6LW.js} +3 -3
  5. package/{addDialogAgentAction-EKH774VT.js → addDialogAgentAction-XU5Y2E2X.js} +2 -2
  6. package/{agentDeleteCommand-GNVYHOGZ.js → agentDeleteCommand-5DD2IM3J.js} +12 -11
  7. package/{agentEmailCommands-VSPS3MZT.js → agentEmailCommands-SE7MBTAG.js} +35 -32
  8. package/{agentListCommands-FM4OWXYT.js → agentListCommands-I6KZYCIG.js} +13 -12
  9. package/{agentMachineCommands-7EK7IKEV.js → agentMachineCommands-SBYN6EXT.js} +13 -12
  10. package/{agentRecordCommands-GYLQ5OA6.js → agentRecordCommands-F74NBFOZ.js} +35 -32
  11. package/{agentRunCommand-KL2A7CGA.js → agentRunCommand-3DGDK4Y3.js} +41 -36
  12. package/{agentRuntimeLocal-XL5PLRJV.js → agentRuntimeLocal-ZYEIPTY4.js} +9 -8
  13. package/{agentSlice-OEHVCG26.js → agentSlice-XEH6Y334.js} +3 -3
  14. package/{authCommand-PXFX6JDT.js → authCommand-EB5JSOX5.js} +3 -3
  15. package/{authCommands-356AYWEK.js → authCommands-XPEHTKSM.js} +2 -2
  16. package/{chunk-M2GJTPUU.js → chunk-2BIV3FMX.js} +25 -236
  17. package/{chunk-MGOJ5R6J.js → chunk-2NNJ6S5U.js} +1 -1
  18. package/{chunk-KTVVPRJS.js → chunk-2T2C6CNY.js} +2 -2
  19. package/{chunk-E7LCFMW5.js → chunk-4NDK6NWB.js} +86 -113
  20. package/{chunk-HBY2MXIN.js → chunk-4P2MDGKS.js} +76 -211
  21. package/{chunk-MXLQWBVM.js → chunk-4QEWT7KD.js} +33 -3
  22. package/{chunk-DSNONPGW.js → chunk-5KLGBAAR.js} +1 -1
  23. package/{chunk-TSS3XJY4.js → chunk-64AAZRGY.js} +2 -2
  24. package/{chunk-BZMZUAFJ.js → chunk-6RSAUKSQ.js} +24 -13
  25. package/{chunk-TWPGVS2U.js → chunk-7DAJ4AI4.js} +2 -2
  26. package/{chunk-RLCFUU46.js → chunk-7KCUSYT2.js} +4 -10
  27. package/chunk-AFON4QUU.js +112 -0
  28. package/chunk-AGFH73SK.js +239 -0
  29. package/{chunk-572EKYLF.js → chunk-BBYVOSU2.js} +1 -1
  30. package/{chunk-2MALU52L.js → chunk-C3RUNRHT.js} +1 -1
  31. package/{chunk-SL35K7AH.js → chunk-C4FTUXVF.js} +2 -82
  32. package/{chunk-FY3KVW36.js → chunk-C77B4AFC.js} +2 -2
  33. package/{chunk-USZMK5UT.js → chunk-DCOA4QSN.js} +1 -1
  34. package/{chunk-BKPVTIEK.js → chunk-FVYY6MCS.js} +3 -3
  35. package/{chunk-3TZDXYSF.js → chunk-HNW7IJSK.js} +1 -1
  36. package/{chunk-AURGW6TR.js → chunk-IEKTE4JQ.js} +2 -2
  37. package/{chunk-BR2WP3DF.js → chunk-IWX4UW2E.js} +9 -9
  38. package/{chunk-AWCQ2SK4.js → chunk-IX4C5TCO.js} +3 -3
  39. package/{chunk-6GANEXVO.js → chunk-JRCUAPXX.js} +1 -1
  40. package/{chunk-XDVAYP26.js → chunk-JRKKFRAV.js} +1 -1
  41. package/{chunk-COMXDWNM.js → chunk-KPSWSDUF.js} +2 -2
  42. package/chunk-LTRXGFMS.js +83 -0
  43. package/{chunk-PCWC3JTN.js → chunk-MTU75CZ2.js} +1 -1
  44. package/{chunk-DGFWICQJ.js → chunk-N54XAP77.js} +1 -1
  45. package/{chunk-SACYB45H.js → chunk-O2ZNTTET.js} +5 -5
  46. package/{chunk-SH2CFQOH.js → chunk-O4BU24WZ.js} +2 -181
  47. package/{chunk-PA23IU5W.js → chunk-OFM4S5P3.js} +13 -13
  48. package/{chunk-ZJDUYY3D.js → chunk-OI54SUZ7.js} +6 -6
  49. package/{chunk-63SLEOLK.js → chunk-OZNNTJM7.js} +2 -2
  50. package/{chunk-DG7AAAR3.js → chunk-P3PKED2I.js} +62 -2
  51. package/{chunk-NGXGGF4K.js → chunk-PY4NLIAF.js} +1 -1
  52. package/{chunk-7IPLJUYC.js → chunk-RL776AGR.js} +1 -1
  53. package/{chunk-MTAJCUIC.js → chunk-RM7KF6OT.js} +41 -22
  54. package/{chunk-RJKDVL4L.js → chunk-SDJDLO5W.js} +2 -2
  55. package/{chunk-N5Z5DMDD.js → chunk-SHAFJ4TI.js} +3 -3
  56. package/{chunk-YYUCRDOK.js → chunk-SOTZ6RDN.js} +1 -1
  57. package/chunk-VC6OZXO5.js +298 -0
  58. package/{chunk-EXTIQUCI.js → chunk-VVX233PH.js} +1 -1
  59. package/{chunk-ZQ2UM4KG.js → chunk-WZSRQNQG.js} +1 -292
  60. package/{chunk-Q2YZULBH.js → chunk-XENYHRUE.js} +1 -1
  61. package/{chunk-VQ2AJRGD.js → chunk-YPRZSPF3.js} +1 -1
  62. package/{chunk-4P3XCCG2.js → chunk-YRG2GO6E.js} +210 -63
  63. package/{cliExecutor-DNE7TCC4.js → cliExecutor-K3F7DMRO.js} +2 -2
  64. package/{createAgentAutomationAction-KY7OQ4YJ.js → createAgentAutomationAction-MBUL3ALA.js} +12 -12
  65. package/{createDialogAction-CWPWISDF.js → createDialogAction-3JLD4VED.js} +16 -15
  66. package/{createPageAction-GDQVH2DC.js → createPageAction-Z2AOWGIW.js} +17 -16
  67. package/{dbSlice-PR44QPXY.js → dbSlice-LSKJDY2R.js} +2 -2
  68. package/{dialogCommands-DWSE4PMW.js → dialogCommands-4IX4XIZE.js} +14 -13
  69. package/{dialogSlice-2EX2IPKM.js → dialogSlice-NRQ5WIJO.js} +12 -12
  70. package/{docCreateCommands-UFJL5PUM.js → docCreateCommands-SIL3NPGT.js} +14 -12
  71. package/{docDeleteCommands-XHEIBAB2.js → docDeleteCommands-7IOMLUS4.js} +16 -14
  72. package/{docReadCommands-PEDIC2CW.js → docReadCommands-FNFXUA5L.js} +14 -12
  73. package/{docStore-BDZODEOU.js → docStore-DBFNPMHU.js} +13 -13
  74. package/{docUpdateCommands-WBRODQ7P.js → docUpdateCommands-X2HNDVUC.js} +14 -12
  75. package/{fetchMessages-U6ZHN56A.js → fetchMessages-KTNM7QAR.js} +2 -2
  76. package/{getPricing-PWPJ6MNV.js → getPricing-3E6UNPKL.js} +3 -3
  77. package/{handleSendMessageAction-3ZTXMDDU.js → handleSendMessageAction-G3WLT6I7.js} +12 -12
  78. package/index.js +45 -45
  79. package/{localDialogRead-Z5UTAJPU.js → localDialogRead-2VRI24F4.js} +1 -1
  80. package/{machineCommands-7PL6UCMC.js → machineCommands-GPEWO27H.js} +37 -34
  81. package/{machineWsRunDispatch-Q6XZLVQE.js → machineWsRunDispatch-2LSYCV4S.js} +34 -31
  82. package/{models-XLEOET3E.js → models-4OPOOLFS.js} +2 -2
  83. package/package.json +3 -2
  84. package/{readlineWorkspace-6S37COYT.js → readlineWorkspace-UL4LXWHX.js} +252 -78
  85. package/{removeDialogAgentAction-GJQJNDW6.js → removeDialogAgentAction-U3CP2M2H.js} +4 -4
  86. package/{runAgentClientLoop-Y2LTIWEU.js → runAgentClientLoop-KKV7BWWC.js} +27 -24
  87. package/{setDialogExtraReferencesAction-M7OQG54N.js → setDialogExtraReferencesAction-S7GUFLTN.js} +2 -2
  88. package/{setPrimaryDialogAgentAction-46UNFJDL.js → setPrimaryDialogAgentAction-5SF7G5OS.js} +4 -4
  89. package/{settingSlice-FVUUH4JA.js → settingSlice-EXYZ5EFP.js} +3 -3
  90. package/skillDiscovery-UGSQGX2U.js +16 -0
  91. package/{spaceCommands-ORSFAWEY.js → spaceCommands-E7VOF4LO.js} +16 -19
  92. package/{spaceSlice-ULWMVNFC.js → spaceSlice-KIDVQWOV.js} +16 -14
  93. package/{streamAgentChatTurn-J4YW33EM.js → streamAgentChatTurn-YQH6ZGE6.js} +41 -36
  94. package/{tools-753HRGSD.js → tools-5C7OGJEW.js} +21 -19
  95. package/{tuiSummaryLlmCaller-JSI4GL6W.js → tuiSummaryLlmCaller-RV3THLZF.js} +4 -4
  96. package/{understanding-GQKNDDWM.js → understanding-3CUQQ6SV.js} +3 -3
  97. package/{updateDialogTitleAction-PXLE3P4E.js → updateDialogTitleAction-JHAVYVIP.js} +12 -12
  98. package/{chunk-X7W4TNB4.js → chunk-CMKUBIGW.js} +3 -3
@@ -23,12 +23,15 @@ import {
23
23
  import {
24
24
  slateToRenderMarkdown
25
25
  } from "./chunk-63W5N6P3.js";
26
+ import {
27
+ isSkillSummaryMarker
28
+ } from "./chunk-VF4K2QE6.js";
26
29
  import {
27
30
  createDocState
28
- } from "./chunk-AWCQ2SK4.js";
31
+ } from "./chunk-IX4C5TCO.js";
29
32
  import {
30
33
  createDialogAction
31
- } from "./chunk-ZJDUYY3D.js";
34
+ } from "./chunk-OI54SUZ7.js";
32
35
  import {
33
36
  buildSkillDocMarkdown,
34
37
  normalizeSkillBudgetTier,
@@ -37,7 +40,10 @@ import {
37
40
  parseExternalSkillMarkdown,
38
41
  parseSkillDocProtocol,
39
42
  resolvePageSkillMetadata
40
- } from "./chunk-ZQ2UM4KG.js";
43
+ } from "./chunk-VC6OZXO5.js";
44
+ import {
45
+ shareResourceAction
46
+ } from "./chunk-OZNNTJM7.js";
41
47
  import {
42
48
  addCategory,
43
49
  addContentToSpace,
@@ -68,16 +74,16 @@ import {
68
74
  updateContentCategory,
69
75
  updateContentTitle,
70
76
  updateStep
71
- } from "./chunk-HBY2MXIN.js";
77
+ } from "./chunk-4P2MDGKS.js";
72
78
  import {
73
79
  createAgent,
74
80
  runLlm,
75
81
  streamAgentChatTurn,
76
82
  updateAgent
77
- } from "./chunk-BZMZUAFJ.js";
83
+ } from "./chunk-6RSAUKSQ.js";
78
84
  import {
79
85
  addContentAction
80
- } from "./chunk-MGOJ5R6J.js";
86
+ } from "./chunk-2NNJ6S5U.js";
81
87
  import {
82
88
  createSpaceKey,
83
89
  normalizeSpaceId
@@ -97,10 +103,10 @@ import {
97
103
  redactAgentRecordForWorkspaceTool,
98
104
  resolveNoloDialogInput,
99
105
  verifyNoloDialogSubjectRefQuery
100
- } from "./chunk-DG7AAAR3.js";
106
+ } from "./chunk-P3PKED2I.js";
101
107
  import {
102
108
  DEFAULT_MODEL
103
- } from "./chunk-572EKYLF.js";
109
+ } from "./chunk-BBYVOSU2.js";
104
110
  import {
105
111
  ToolApiError,
106
112
  buildToolRequestHeaders,
@@ -124,16 +130,13 @@ import {
124
130
  import {
125
131
  toErrorMessage
126
132
  } from "./chunk-HNMXYYJR.js";
127
- import {
128
- shareResourceAction
129
- } from "./chunk-63SLEOLK.js";
130
133
  import {
131
134
  AGENT_UPDATE_FIELD_NAMES,
132
135
  normalizeAgentUpdateFieldList,
133
136
  selectAutoApproveSelfUpdateFields,
134
137
  selectCurrentServer,
135
138
  selectSyncServers
136
- } from "./chunk-TSS3XJY4.js";
139
+ } from "./chunk-64AAZRGY.js";
137
140
  import {
138
141
  patch,
139
142
  read,
@@ -141,7 +144,7 @@ import {
141
144
  readAndWaitAction,
142
145
  toTimestampMs,
143
146
  write
144
- } from "./chunk-COMXDWNM.js";
147
+ } from "./chunk-KPSWSDUF.js";
145
148
  import {
146
149
  asRecordOrEmpty
147
150
  } from "./chunk-KX6YBIHG.js";
@@ -156,7 +159,7 @@ import {
156
159
  rowKey,
157
160
  toTrimmedString,
158
161
  ulid
159
- } from "./chunk-SH2CFQOH.js";
162
+ } from "./chunk-O4BU24WZ.js";
160
163
  import {
161
164
  asNonEmptyStringArray,
162
165
  asTrimmedNonEmptyStringArray
@@ -2074,6 +2077,9 @@ var chat_locale_default = {
2074
2077
  messageInput: "Message input field",
2075
2078
  messageInputArea: "Message input area with file upload",
2076
2079
  messageOrFileHere: "Type a message or upload a file...",
2080
+ pastedTextChip: "Pasted text #{{id}} \xB7 {{lines}} lines \xB7 {{size}}",
2081
+ removePastedText: "Remove pasted text",
2082
+ expandPastedText: "Expand pasted text into the input",
2077
2083
  Mode: "Mode",
2078
2084
  ModeUpdateFailed: "Failed to update mode",
2079
2085
  ModeUpdatedSuccess: "Mode updated successfully",
@@ -2228,6 +2234,7 @@ var chat_locale_default = {
2228
2234
  execShell: "Run command",
2229
2235
  listAgents: "List agents",
2230
2236
  readAgent: "Read agent",
2237
+ loadSkill: "Load skill",
2231
2238
  callAgent: "Call agent"
2232
2239
  },
2233
2240
  gemini: {
@@ -2404,6 +2411,9 @@ var chat_locale_default = {
2404
2411
  messageInput: "\u6D88\u606F\u8F93\u5165\u6846",
2405
2412
  messageInputArea: "\u6D88\u606F\u8F93\u5165\u533A\uFF0C\u652F\u6301\u6587\u4EF6\u4E0A\u4F20",
2406
2413
  messageOrFileHere: "\u8F93\u5165\u6D88\u606F\u6216\u4E0A\u4F20\u6587\u4EF6...",
2414
+ pastedTextChip: "\u5DF2\u7C98\u8D34\u6587\u672C #{{id}} \xB7 {{lines}} \u884C \xB7 {{size}}",
2415
+ removePastedText: "\u79FB\u9664\u7C98\u8D34\u6587\u672C",
2416
+ expandPastedText: "\u5C55\u5F00\u7C98\u8D34\u6587\u672C\u5230\u8F93\u5165\u6846",
2407
2417
  Mode: "\u6A21\u5F0F",
2408
2418
  ModeUpdateFailed: "\u6A21\u5F0F\u66F4\u65B0\u5931\u8D25",
2409
2419
  ModeUpdatedSuccess: "\u6A21\u5F0F\u66F4\u65B0\u6210\u529F",
@@ -2552,6 +2562,7 @@ var chat_locale_default = {
2552
2562
  execShell: "\u8FD0\u884C\u547D\u4EE4",
2553
2563
  listAgents: "\u5217\u51FA\u52A9\u624B",
2554
2564
  readAgent: "\u8BFB\u53D6\u52A9\u624B",
2565
+ loadSkill: "\u52A0\u8F7D\u6280\u80FD",
2555
2566
  callAgent: "\u8C03\u7528\u52A9\u624B"
2556
2567
  },
2557
2568
  gemini: {
@@ -2728,6 +2739,9 @@ var chat_locale_default = {
2728
2739
  messageInput: "\u8A0A\u606F\u8F38\u5165\u6846",
2729
2740
  messageInputArea: "\u8A0A\u606F\u8F38\u5165\u5340\uFF0C\u652F\u6301\u6A94\u6848\u4E0A\u50B3",
2730
2741
  messageOrFileHere: "\u8F38\u5165\u8A0A\u606F\u6216\u4E0A\u50B3\u6A94\u6848...",
2742
+ pastedTextChip: "\u5DF2\u8CBC\u4E0A\u6587\u5B57 #{{id}} \xB7 {{lines}} \u884C \xB7 {{size}}",
2743
+ removePastedText: "\u79FB\u9664\u8CBC\u4E0A\u6587\u5B57",
2744
+ expandPastedText: "\u5C55\u958B\u8CBC\u4E0A\u6587\u5B57\u5230\u8F38\u5165\u6846",
2731
2745
  Mode: "\u6A21\u5F0F",
2732
2746
  ModeUpdateFailed: "\u6A21\u5F0F\u66F4\u65B0\u5931\u6557",
2733
2747
  ModeUpdatedSuccess: "\u6A21\u5F0F\u66F4\u65B0\u6210\u529F",
@@ -2866,6 +2880,7 @@ var chat_locale_default = {
2866
2880
  execShell: "\u57F7\u884C\u547D\u4EE4",
2867
2881
  listAgents: "\u5217\u51FA\u52A9\u624B",
2868
2882
  readAgent: "\u8B80\u53D6\u52A9\u624B",
2883
+ loadSkill: "\u8F09\u5165\u6280\u80FD",
2869
2884
  callAgent: "\u547C\u53EB\u52A9\u624B"
2870
2885
  },
2871
2886
  gemini: {
@@ -2980,6 +2995,9 @@ var chat_locale_default = {
2980
2995
  messageInput: "\u30E1\u30C3\u30BB\u30FC\u30B8\u5165\u529B\u6B04",
2981
2996
  messageInputArea: "\u30D5\u30A1\u30A4\u30EB\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u5BFE\u5FDC\u306E\u30E1\u30C3\u30BB\u30FC\u30B8\u5165\u529B\u30A8\u30EA\u30A2",
2982
2997
  messageOrFileHere: "\u30E1\u30C3\u30BB\u30FC\u30B8\u3092\u5165\u529B\u307E\u305F\u306F\u30D5\u30A1\u30A4\u30EB\u3092\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9...",
2998
+ pastedTextChip: "\u8CBC\u308A\u4ED8\u3051\u30C6\u30AD\u30B9\u30C8 #{{id}} \xB7 {{lines}} \u884C \xB7 {{size}}",
2999
+ removePastedText: "\u8CBC\u308A\u4ED8\u3051\u30C6\u30AD\u30B9\u30C8\u3092\u524A\u9664",
3000
+ expandPastedText: "\u8CBC\u308A\u4ED8\u3051\u30C6\u30AD\u30B9\u30C8\u3092\u5165\u529B\u6B04\u306B\u5C55\u958B",
2983
3001
  Mode: "\u30E2\u30FC\u30C9",
2984
3002
  ModeUpdateFailed: "\u30E2\u30FC\u30C9\u306E\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
2985
3003
  ModeUpdatedSuccess: "\u30E2\u30FC\u30C9\u3092\u66F4\u65B0\u3057\u307E\u3057\u305F",
@@ -3124,6 +3142,7 @@ var chat_locale_default = {
3124
3142
  execShell: "\u30B3\u30DE\u30F3\u30C9\u5B9F\u884C",
3125
3143
  listAgents: "\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u4E00\u89A7",
3126
3144
  readAgent: "\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u8AAD\u307F\u53D6\u308A",
3145
+ loadSkill: "\u30B9\u30AD\u30EB\u3092\u8AAD\u307F\u8FBC\u307F",
3127
3146
  callAgent: "\u30A8\u30FC\u30B8\u30A7\u30F3\u30C8\u547C\u3073\u51FA\u3057"
3128
3147
  },
3129
3148
  gemini: {
@@ -3247,12 +3266,6 @@ var space_locale_default = {
3247
3266
  discard_changes: "Discard Changes",
3248
3267
  load_error_title: "Failed to Load Space Information",
3249
3268
  no_space_data: "Space data not found",
3250
- try_repair: "Try to Repair",
3251
- repair_success: "Repair operation completed successfully",
3252
- repair_space: "Repair Space",
3253
- repair_count_warn: "This space has {{count}} content items. Repair will re-deduplicate and remove orphaned references. Continue?",
3254
- repair: "Repair",
3255
- repair_error: "Repair operation failed",
3256
3269
  try_later: "Please try again later",
3257
3270
  // === 基本信息 ===
3258
3271
  basic_info: "Basic Information",
@@ -3327,6 +3340,7 @@ var space_locale_default = {
3327
3340
  expandAll: "Expand All",
3328
3341
  collapseAll: "Collapse All",
3329
3342
  contentMoved: "Content moved successfully",
3343
+ movedToDesc: "Moved to {{space}}. Switch to continue?",
3330
3344
  moveSwitchPrompt: "Switch to this space to continue?",
3331
3345
  switchToSpaceAction: "Switch",
3332
3346
  switchSpaceFailed: "Failed to switch space",
@@ -3561,12 +3575,6 @@ var space_locale_default = {
3561
3575
  discard_changes: "\u653E\u5F03\u66F4\u6539",
3562
3576
  load_error_title: "\u52A0\u8F7D\u7A7A\u95F4\u4FE1\u606F\u5931\u8D25",
3563
3577
  no_space_data: "\u672A\u627E\u5230\u7A7A\u95F4\u6570\u636E",
3564
- try_repair: "\u5C1D\u8BD5\u4FEE\u590D",
3565
- repair_success: "\u4FEE\u590D\u64CD\u4F5C\u6210\u529F\u5B8C\u6210",
3566
- repair_space: "\u4FEE\u590D\u7A7A\u95F4",
3567
- repair_count_warn: "\u6B64\u7A7A\u95F4\u6709 {{count}} \u9879\u5185\u5BB9\u3002\u4FEE\u590D\u5C06\u91CD\u65B0\u53BB\u91CD\u5E76\u6E05\u9664\u5B64\u7ACB\u7684\u5F15\u7528\u3002\u662F\u5426\u7EE7\u7EED\uFF1F",
3568
- repair: "\u4FEE\u590D",
3569
- repair_error: "\u4FEE\u590D\u64CD\u4F5C\u5931\u8D25",
3570
3578
  try_later: "\u8BF7\u7A0D\u540E\u91CD\u8BD5",
3571
3579
  // === 基本信息 ===
3572
3580
  basic_info: "\u57FA\u672C\u4FE1\u606F",
@@ -3641,6 +3649,7 @@ var space_locale_default = {
3641
3649
  expandAll: "\u5168\u90E8\u5C55\u5F00",
3642
3650
  collapseAll: "\u5168\u90E8\u6298\u53E0",
3643
3651
  contentMoved: "\u5185\u5BB9\u5DF2\u6210\u529F\u79FB\u52A8",
3652
+ movedToDesc: "\u5DF2\u79FB\u52A8\u5230 {{space}}\uFF0C\u662F\u5426\u5207\u6362\uFF1F",
3644
3653
  moveSwitchPrompt: "\u662F\u5426\u5207\u6362\u5230\u8BE5\u7A7A\u95F4\u7EE7\u7EED\u64CD\u4F5C\uFF1F",
3645
3654
  switchToSpaceAction: "\u5207\u6362",
3646
3655
  switchSpaceFailed: "\u5207\u6362\u7A7A\u95F4\u5931\u8D25",
@@ -3874,12 +3883,6 @@ var space_locale_default = {
3874
3883
  discard_changes: "\u653E\u68C4\u8B8A\u66F4",
3875
3884
  load_error_title: "\u8F09\u5165\u7A7A\u9593\u8CC7\u8A0A\u5931\u6557",
3876
3885
  no_space_data: "\u672A\u627E\u5230\u7A7A\u9593\u8CC7\u6599",
3877
- try_repair: "\u5617\u8A66\u4FEE\u5FA9",
3878
- repair_success: "\u4FEE\u5FA9\u64CD\u4F5C\u6210\u529F\u5B8C\u6210",
3879
- repair_space: "\u4FEE\u5FA9\u7A7A\u9593",
3880
- repair_count_warn: "\u6B64\u7A7A\u9593\u6709 {{count}} \u9805\u5167\u5BB9\u3002\u4FEE\u5FA9\u5C07\u91CD\u65B0\u53BB\u91CD\u4E26\u6E05\u9664\u5B64\u7ACB\u7684\u5F15\u7528\u3002\u662F\u5426\u7E7C\u7E8C\uFF1F",
3881
- repair: "\u4FEE\u5FA9",
3882
- repair_error: "\u4FEE\u5FA9\u64CD\u4F5C\u5931\u6557",
3883
3886
  try_later: "\u8ACB\u7A0D\u5F8C\u91CD\u8A66",
3884
3887
  // === 基本信息 ===
3885
3888
  basic_info: "\u57FA\u672C\u8CC7\u8A0A",
@@ -3954,6 +3957,7 @@ var space_locale_default = {
3954
3957
  expandAll: "\u5168\u90E8\u5C55\u958B",
3955
3958
  collapseAll: "\u5168\u90E8\u647A\u758A",
3956
3959
  contentMoved: "\u5167\u5BB9\u5DF2\u6210\u529F\u79FB\u52D5",
3960
+ movedToDesc: "\u5DF2\u79FB\u52D5\u5230 {{space}}\uFF0C\u662F\u5426\u5207\u63DB\uFF1F",
3957
3961
  moveSwitchPrompt: "\u662F\u5426\u5207\u63DB\u5230\u8A72\u7A7A\u9593\u7E7C\u7E8C\u64CD\u4F5C\uFF1F",
3958
3962
  switchToSpaceAction: "\u5207\u63DB",
3959
3963
  switchSpaceFailed: "\u5207\u63DB\u7A7A\u9593\u5931\u6557",
@@ -4180,12 +4184,6 @@ var space_locale_default = {
4180
4184
  discard_changes: "\u5909\u66F4\u3092\u7834\u68C4",
4181
4185
  load_error_title: "\u30B9\u30DA\u30FC\u30B9\u60C5\u5831\u306E\u8AAD\u307F\u8FBC\u307F\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
4182
4186
  no_space_data: "\u30B9\u30DA\u30FC\u30B9\u30C7\u30FC\u30BF\u304C\u898B\u3064\u304B\u308A\u307E\u305B\u3093",
4183
- try_repair: "\u4FEE\u5FA9\u3092\u8A66\u884C",
4184
- repair_success: "\u4FEE\u5FA9\u64CD\u4F5C\u304C\u6B63\u5E38\u306B\u5B8C\u4E86\u3057\u307E\u3057\u305F",
4185
- repair_space: "\u30B9\u30DA\u30FC\u30B9\u3092\u4FEE\u5FA9",
4186
- repair_count_warn: "\u3053\u306E\u30B9\u30DA\u30FC\u30B9\u306B\u306F {{count}} \u4EF6\u306E\u30B3\u30F3\u30C6\u30F3\u30C4\u304C\u3042\u308A\u307E\u3059\u3002\u4FEE\u5FA9\u306F\u91CD\u8907\u3092\u6574\u7406\u3057\u3001\u5B64\u7ACB\u3057\u305F\u53C2\u7167\u3092\u524A\u9664\u3057\u307E\u3059\u3002\u7D9A\u884C\u3057\u307E\u3059\u304B\uFF1F",
4187
- repair: "\u4FEE\u5FA9",
4188
- repair_error: "\u4FEE\u5FA9\u64CD\u4F5C\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
4189
4187
  try_later: "\u3057\u3070\u3089\u304F\u3057\u3066\u304B\u3089\u518D\u5EA6\u304A\u8A66\u3057\u304F\u3060\u3055\u3044",
4190
4188
  // === 基本情報 ===
4191
4189
  basic_info: "\u57FA\u672C\u60C5\u5831",
@@ -4260,6 +4258,7 @@ var space_locale_default = {
4260
4258
  expandAll: "\u3059\u3079\u3066\u5C55\u958B",
4261
4259
  collapseAll: "\u3059\u3079\u3066\u6298\u308A\u305F\u305F\u3080",
4262
4260
  contentMoved: "\u30B3\u30F3\u30C6\u30F3\u30C4\u304C\u6B63\u5E38\u306B\u79FB\u52D5\u3055\u308C\u307E\u3057\u305F",
4261
+ movedToDesc: "{{space}}\u306B\u79FB\u52D5\u3057\u307E\u3057\u305F\u3002\u5207\u308A\u66FF\u3048\u307E\u3059\u304B\uFF1F",
4263
4262
  moveSwitchPrompt: "\u3053\u306E\u30B9\u30DA\u30FC\u30B9\u306B\u5207\u308A\u66FF\u3048\u307E\u3059\u304B\uFF1F",
4264
4263
  switchToSpaceAction: "\u5207\u308A\u66FF\u3048",
4265
4264
  switchSpaceFailed: "\u30B9\u30DA\u30FC\u30B9\u306E\u5207\u308A\u66FF\u3048\u306B\u5931\u6557\u3057\u307E\u3057\u305F",
@@ -11036,7 +11035,7 @@ var HOSTED_EXEC_RUNTIME_TOOL_POLICY = {
11036
11035
  workspace: { mode: "lease" }
11037
11036
  };
11038
11037
  var findModelConfig = async (modelName, provider) => {
11039
- const { ALL_MODELS } = await import("./models-XLEOET3E.js");
11038
+ const { ALL_MODELS } = await import("./models-4OPOOLFS.js");
11040
11039
  const name = toTrimmedString(modelName);
11041
11040
  const prov = toTrimmedString(provider ?? "");
11042
11041
  if (!name) return null;
@@ -11277,7 +11276,7 @@ var buildFormDataFromArgs = async (args) => {
11277
11276
  const trimmedModel = toTrimmedString(model);
11278
11277
  const trimmedProvider = toTrimmedString(provider);
11279
11278
  const modelConfig = await findModelConfig(trimmedModel, trimmedProvider);
11280
- const { getModelPricing } = await import("./getPricing-PWPJ6MNV.js");
11279
+ const { getModelPricing } = await import("./getPricing-3E6UNPKL.js");
11281
11280
  const normalizedTools = tools ?? [];
11282
11281
  const resolvedRuntimeToolPolicy = runtimeToolPolicy ?? (normalizedTools.includes("execShell") ? HOSTED_EXEC_RUNTIME_TOOL_POLICY : void 0);
11283
11282
  const formData = {
@@ -12458,6 +12457,139 @@ Imported from: ${url}` : ""
12458
12457
  });
12459
12458
  }
12460
12459
 
12460
+ // packages/ai/tools/loadSkillTool.ts
12461
+ var loadSkillFunctionSchema = {
12462
+ name: "loadSkill",
12463
+ description: [
12464
+ "\u6309\u540D\u79F0\u52A0\u8F7D\u4E00\u4E2A\u5DF2\u4FDD\u5B58\u7684 skill \u6587\u6863\uFF0C\u8FD4\u56DE\u5176\u5B8C\u6574\u6307\u4EE4\u6B63\u6587\u3002",
12465
+ "name \u4F7F\u7528 skill \u4FDD\u5B58\u65F6\u5199\u5165 skill-config \u7684 name\uFF08\u4E5F\u63A5\u53D7 skillId\uFF09\u3002",
12466
+ "\u627E\u4E0D\u5230\u5BF9\u5E94 skill \u65F6\u8FD4\u56DE\u5F53\u524D\u53EF\u7528\u7684 skill \u540D\u79F0\u5217\u8868\uFF08\u4E0D\u62A5\u9519\uFF09\u3002"
12467
+ ].join("\n"),
12468
+ parameters: {
12469
+ type: "object",
12470
+ properties: {
12471
+ name: {
12472
+ type: "string",
12473
+ description: "\u8981\u52A0\u8F7D\u7684 skill \u540D\u79F0\u3002"
12474
+ }
12475
+ },
12476
+ required: ["name"]
12477
+ }
12478
+ };
12479
+ var getRuntime = (thunkApi) => {
12480
+ const state = thunkApi?.getState?.();
12481
+ return state ? selectRuntimeSnapshot(state) : null;
12482
+ };
12483
+ var authHeaders = (token) => token ? { Authorization: `Bearer ${token}` } : {};
12484
+ async function readRemoteRecord(args) {
12485
+ const serverBase = normalizeServerOrigin(args.serverBase);
12486
+ if (!serverBase || !args.token) return null;
12487
+ const response = await fetch(
12488
+ `${serverBase}/api/v1/db/read/${encodeURIComponent(args.dbKey)}?includeDeleted=true`,
12489
+ { headers: authHeaders(args.token) }
12490
+ );
12491
+ if (!response.ok) return null;
12492
+ const payload = await response.json().catch(() => null);
12493
+ return payload?.data ?? payload;
12494
+ }
12495
+ function matchSkillCandidate(candidates, requestedName) {
12496
+ return candidates.find(
12497
+ (candidate) => candidate.name === requestedName || candidate.skillId === requestedName
12498
+ );
12499
+ }
12500
+ function collectSkillCandidatesFromSpace(space) {
12501
+ if (!space?.contents || typeof space.contents !== "object") return [];
12502
+ const candidates = [];
12503
+ for (const [entryKey, value] of Object.entries(space.contents)) {
12504
+ if (!isRecord(value)) continue;
12505
+ const skillSummary = value.skillSummary;
12506
+ if (!isSkillSummaryMarker(skillSummary)) continue;
12507
+ const name = asTrimmedString(skillSummary.name);
12508
+ if (!name) continue;
12509
+ candidates.push({
12510
+ dbKey: entryKey,
12511
+ name,
12512
+ skillId: asOptionalTrimmedString(skillSummary.skillId) ?? void 0
12513
+ });
12514
+ }
12515
+ return candidates;
12516
+ }
12517
+ function extractSkillBody(page) {
12518
+ return parseSkillDocProtocol(page?.content ?? "").content;
12519
+ }
12520
+ async function listSkillCandidates(thunkApi) {
12521
+ const runtime = getRuntime(thunkApi);
12522
+ const serverBase = runtime?.currentServer;
12523
+ const token = runtime?.currentToken;
12524
+ const userId = runtime?.currentUserId;
12525
+ if (!serverBase || !token || !userId) return [];
12526
+ const membershipsResponse = await fetch(
12527
+ `${normalizeServerOrigin(serverBase)}/rpc/getUserSpaceMemberships`,
12528
+ {
12529
+ method: "POST",
12530
+ headers: {
12531
+ "Content-Type": "application/json",
12532
+ ...authHeaders(token)
12533
+ },
12534
+ body: JSON.stringify({ userId })
12535
+ }
12536
+ ).catch(() => null);
12537
+ if (!membershipsResponse?.ok) return [];
12538
+ const memberships = await membershipsResponse.json().catch(() => []);
12539
+ if (!Array.isArray(memberships)) return [];
12540
+ const candidates = [];
12541
+ for (const membership of memberships) {
12542
+ const spaceId = asTrimmedString(membership?.spaceId);
12543
+ if (!spaceId) continue;
12544
+ const space = await readRemoteRecord({
12545
+ serverBase,
12546
+ token,
12547
+ dbKey: createSpaceKey.space(spaceId)
12548
+ });
12549
+ if (!space) continue;
12550
+ candidates.push(...collectSkillCandidatesFromSpace(space));
12551
+ }
12552
+ return candidates;
12553
+ }
12554
+ async function loadSkillFunc(args, thunkApi) {
12555
+ const requestedName = asTrimmedString(args?.name);
12556
+ if (!requestedName) throw new Error("loadSkill \u9700\u8981\u63D0\u4F9B name\u3002");
12557
+ const candidates = await listSkillCandidates(thunkApi);
12558
+ const matched = matchSkillCandidate(candidates, requestedName);
12559
+ if (!matched) {
12560
+ const availableNames = Array.from(
12561
+ new Set(candidates.map((candidate) => candidate.name))
12562
+ );
12563
+ const availableText = availableNames.length ? availableNames.join(", ") : "(none)";
12564
+ return {
12565
+ rawData: {
12566
+ success: false,
12567
+ name: requestedName,
12568
+ availableSkills: availableNames
12569
+ },
12570
+ displayData: `Skill "${requestedName}" not found. Available skills: ${availableText}`
12571
+ };
12572
+ }
12573
+ const runtime = getRuntime(thunkApi);
12574
+ const page = await readRemoteRecord({
12575
+ serverBase: runtime?.currentServer,
12576
+ token: runtime?.currentToken,
12577
+ dbKey: matched.dbKey
12578
+ });
12579
+ const body = extractSkillBody(page);
12580
+ return {
12581
+ rawData: {
12582
+ success: true,
12583
+ name: requestedName,
12584
+ dbKey: matched.dbKey,
12585
+ body
12586
+ },
12587
+ displayData: `Skill "${requestedName}" loaded inline. Follow its instructions.
12588
+
12589
+ ${body}`
12590
+ };
12591
+ }
12592
+
12461
12593
  // packages/ai/tools/category/createCategoryTool.ts
12462
12594
  var createCategoryFunctionSchema = {
12463
12595
  // 已从 'create_category' 更新为 'createCategory'
@@ -13265,18 +13397,18 @@ var jsonPreview = (value, maxLength = 1800) => {
13265
13397
  return text.length <= maxLength ? text : `${text.slice(0, maxLength)}
13266
13398
  ...(truncated)`;
13267
13399
  };
13268
- var getRuntime = (thunkApi) => {
13400
+ var getRuntime2 = (thunkApi) => {
13269
13401
  const state = thunkApi?.getState?.();
13270
13402
  return state ? selectRuntimeSnapshot(state) : null;
13271
13403
  };
13272
- var authHeaders = (token) => token ? { Authorization: `Bearer ${token}` } : {};
13273
- async function readRemoteRecord(args) {
13404
+ var authHeaders2 = (token) => token ? { Authorization: `Bearer ${token}` } : {};
13405
+ async function readRemoteRecord2(args) {
13274
13406
  const serverBase = normalizeServerOrigin(args.serverBase);
13275
13407
  if (!serverBase || !args.token) return null;
13276
13408
  const query = args.includeDeleted ? "?includeDeleted=true" : "";
13277
13409
  const response = await fetch(
13278
13410
  `${serverBase}/api/v1/db/read/${encodeURIComponent(args.dbKey)}${query}`,
13279
- { headers: authHeaders(args.token) }
13411
+ { headers: authHeaders2(args.token) }
13280
13412
  );
13281
13413
  if (!response.ok) return null;
13282
13414
  const payload = await response.json().catch(() => null);
@@ -13291,7 +13423,7 @@ async function queryRemoteUserRecords(args) {
13291
13423
  method: "POST",
13292
13424
  headers: {
13293
13425
  "Content-Type": "application/json",
13294
- ...authHeaders(args.token)
13426
+ ...authHeaders2(args.token)
13295
13427
  },
13296
13428
  body: JSON.stringify({
13297
13429
  type: args.type,
@@ -13304,7 +13436,7 @@ async function queryRemoteUserRecords(args) {
13304
13436
  return Array.isArray(payload?.data?.data) ? payload.data.data : Array.isArray(payload?.data) ? payload.data : [];
13305
13437
  }
13306
13438
  async function queryBestRecords(thunkApi, type, limit) {
13307
- const runtime = getRuntime(thunkApi);
13439
+ const runtime = getRuntime2(thunkApi);
13308
13440
  const remoteRecords = await queryRemoteUserRecords({
13309
13441
  serverBase: runtime?.currentServer,
13310
13442
  token: runtime?.currentToken,
@@ -13315,8 +13447,8 @@ async function queryBestRecords(thunkApi, type, limit) {
13315
13447
  return remoteRecords;
13316
13448
  }
13317
13449
  async function readBestRecord(thunkApi, dbKey, includeDeleted = false) {
13318
- const runtime = getRuntime(thunkApi);
13319
- return readRemoteRecord({
13450
+ const runtime = getRuntime2(thunkApi);
13451
+ return readRemoteRecord2({
13320
13452
  serverBase: runtime?.currentServer,
13321
13453
  token: runtime?.currentToken,
13322
13454
  dbKey,
@@ -13417,7 +13549,7 @@ var deleteDialogsFunctionSchema = {
13417
13549
  }
13418
13550
  };
13419
13551
  async function queryDialogsBySubjectRefFunc(args, thunkApi) {
13420
- const runtime = getRuntime(thunkApi);
13552
+ const runtime = getRuntime2(thunkApi);
13421
13553
  const target = buildNoloSubjectRefQueryTarget(args ?? {});
13422
13554
  if (!target) throw new Error("queryDialogsBySubjectRef requires rowDbKey or subjectKind plus subjectId.");
13423
13555
  const queryLimit = clampNoloPositiveInteger(args?.queryLimit, 500, 500);
@@ -13463,7 +13595,7 @@ async function queryDialogsBySubjectRefFunc(args, thunkApi) {
13463
13595
  };
13464
13596
  }
13465
13597
  async function readDialogFunc(args, thunkApi) {
13466
- const runtime = getRuntime(thunkApi);
13598
+ const runtime = getRuntime2(thunkApi);
13467
13599
  const userId = runtime?.currentUserId;
13468
13600
  if (!userId) throw new Error("readDialog requires a signed-in user.");
13469
13601
  const rawDialog = asTrimmedString(args?.dialog) || asTrimmedString(args?.dialogId) || asTrimmedString(args?.id);
@@ -13478,7 +13610,7 @@ async function readDialogFunc(args, thunkApi) {
13478
13610
  method: "POST",
13479
13611
  headers: {
13480
13612
  "Content-Type": "application/json",
13481
- ...authHeaders(runtime.currentToken)
13613
+ ...authHeaders2(runtime.currentToken)
13482
13614
  },
13483
13615
  body: JSON.stringify({ dialogId: resolved.dialogId, limit })
13484
13616
  }).catch(() => null);
@@ -13528,7 +13660,7 @@ var formatDeleteDialogsPreview = (preview) => {
13528
13660
  return lines.join("\n");
13529
13661
  };
13530
13662
  var loadDeleteDialogsPreview = async (args, thunkApi) => {
13531
- const runtime = getRuntime(thunkApi);
13663
+ const runtime = getRuntime2(thunkApi);
13532
13664
  const userId = runtime?.currentUserId;
13533
13665
  if (!userId) throw new Error("deleteDialogs requires a signed-in user.");
13534
13666
  const query = asTrimmedString(args?.query);
@@ -13574,7 +13706,7 @@ async function deleteDialogsFunc(args, thunkApi) {
13574
13706
  const deletedDialogIds = [];
13575
13707
  const deletedDialogKeys = [];
13576
13708
  const failures = [];
13577
- const { deleteDialog } = await import("./dialogSlice-2EX2IPKM.js");
13709
+ const { deleteDialog } = await import("./dialogSlice-NRQ5WIJO.js");
13578
13710
  for (const target of targets) {
13579
13711
  try {
13580
13712
  await thunkApi.dispatch(deleteDialog(target.dbKey)).unwrap();
@@ -13641,7 +13773,7 @@ var readAgentFunctionSchema = {
13641
13773
  }
13642
13774
  };
13643
13775
  async function readAgentFunc(args, thunkApi) {
13644
- const runtime = getRuntime(thunkApi);
13776
+ const runtime = getRuntime2(thunkApi);
13645
13777
  const userId = runtime?.currentUserId;
13646
13778
  if (!userId) throw new Error("readAgent requires a signed-in user.");
13647
13779
  const rawAgent = asTrimmedString(args?.agent) || asTrimmedString(args?.agentKey) || asTrimmedString(args?.id);
@@ -13675,14 +13807,14 @@ var listSpacesFunctionSchema = {
13675
13807
  }
13676
13808
  };
13677
13809
  async function listSpacesFunc(_args, thunkApi) {
13678
- const runtime = getRuntime(thunkApi);
13810
+ const runtime = getRuntime2(thunkApi);
13679
13811
  const serverBase = normalizeServerOrigin(runtime?.currentServer);
13680
13812
  if (serverBase && runtime?.currentToken && runtime?.currentUserId) {
13681
13813
  const response = await fetch(`${serverBase}/rpc/getUserSpaceMemberships`, {
13682
13814
  method: "POST",
13683
13815
  headers: {
13684
13816
  "Content-Type": "application/json",
13685
- ...authHeaders(runtime.currentToken)
13817
+ ...authHeaders2(runtime.currentToken)
13686
13818
  },
13687
13819
  body: JSON.stringify({ userId: runtime.currentUserId })
13688
13820
  }).catch(() => null);
@@ -13784,7 +13916,7 @@ var cliWhoamiFunctionSchema = {
13784
13916
  parameters: { type: "object", properties: {} }
13785
13917
  };
13786
13918
  async function cliWhoamiFunc(_args, thunkApi) {
13787
- const runtime = getRuntime(thunkApi);
13919
+ const runtime = getRuntime2(thunkApi);
13788
13920
  const result = {
13789
13921
  success: true,
13790
13922
  runtime: "browser",
@@ -13800,7 +13932,7 @@ var cliDoctorFunctionSchema = {
13800
13932
  parameters: { type: "object", properties: {} }
13801
13933
  };
13802
13934
  async function cliDoctorFunc(_args, thunkApi) {
13803
- const runtime = getRuntime(thunkApi);
13935
+ const runtime = getRuntime2(thunkApi);
13804
13936
  const result = {
13805
13937
  success: true,
13806
13938
  runtime: "browser",
@@ -19156,7 +19288,7 @@ var selectUserIdFromState = (state) => typeof state?.auth?.currentUser?.userId =
19156
19288
  var selectCurrentServerFromState = (state) => typeof state?.settings?.currentServer === "string" ? state.settings.currentServer : null;
19157
19289
  async function addImageContentToSpace(input) {
19158
19290
  const injectedAddContentAction = input.thunkApi?.extra?.addContentAction;
19159
- const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-TVDBNJM5.js")).addContentAction;
19291
+ const addContentAction2 = typeof injectedAddContentAction === "function" ? injectedAddContentAction : (await import("./addContentAction-OL5YQ6LW.js")).addContentAction;
19160
19292
  await addContentAction2(
19161
19293
  {
19162
19294
  spaceId: input.spaceId,
@@ -22520,7 +22652,7 @@ var executeToolRun = createAsyncThunk(
22520
22652
  if (!executionInput) {
22521
22653
  throw new Error(`ToolRun ${id} has no input to execute with.`);
22522
22654
  }
22523
- const { findToolExecutor: findToolExecutor2 } = await import("./tools-753HRGSD.js");
22655
+ const { findToolExecutor: findToolExecutor2 } = await import("./tools-5C7OGJEW.js");
22524
22656
  const { executor } = findToolExecutor2(run.toolName);
22525
22657
  toolRunStarted({
22526
22658
  id: run.id,
@@ -22544,7 +22676,7 @@ var executeToolRun = createAsyncThunk(
22544
22676
  const latestState = thunkApi.getState();
22545
22677
  const userId = latestState.auth?.currentUser?.userId;
22546
22678
  if (userId) {
22547
- const { fetchUserSpaceMemberships } = await import("./spaceSlice-ULWMVNFC.js");
22679
+ const { fetchUserSpaceMemberships } = await import("./spaceSlice-KIDVQWOV.js");
22548
22680
  await thunkApi.dispatch(fetchUserSpaceMemberships(userId));
22549
22681
  }
22550
22682
  }
@@ -24947,7 +25079,7 @@ async function updateDocFunc(args, thunkApi) {
24947
25079
  updated_at: (/* @__PURE__ */ new Date()).toISOString()
24948
25080
  };
24949
25081
  await dispatch(write({ data: updatedPageData, customKey: id })).unwrap();
24950
- const { getDocState, applyExternalDocUpdate } = await import("./docStore-BDZODEOU.js");
25082
+ const { getDocState, applyExternalDocUpdate } = await import("./docStore-DBFNPMHU.js");
24951
25083
  if (getDocState().pageKey === id) {
24952
25084
  applyExternalDocUpdate({
24953
25085
  slateData: finalSlateData,
@@ -24972,7 +25104,7 @@ async function updateDocFunc(args, thunkApi) {
24972
25104
  // packages/ai/tools/updateUserPreferenceProfileTool.ts
24973
25105
  async function dispatchSetSettings(thunkApi, changes) {
24974
25106
  const injectedSetSettings = thunkApi?.extra?.setSettings;
24975
- const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-FVUUH4JA.js")).setSettings;
25107
+ const setSettings = typeof injectedSetSettings === "function" ? injectedSetSettings : (await import("./settingSlice-EXYZ5EFP.js")).setSettings;
24976
25108
  await thunkApi.dispatch(setSettings(changes)).unwrap();
24977
25109
  }
24978
25110
  var updateUserPreferenceProfileFunctionSchema = {
@@ -25779,6 +25911,21 @@ var baseToolDefinitions = [
25779
25911
  costLevel: "medium",
25780
25912
  defaultConsent: "ask"
25781
25913
  },
25914
+ {
25915
+ id: "loadSkill",
25916
+ schema: loadSkillFunctionSchema,
25917
+ executor: loadSkillFunc,
25918
+ description: {
25919
+ name: "loadSkill",
25920
+ description: "\u6309\u540D\u79F0\u52A0\u8F7D\u5DF2\u4FDD\u5B58\u7684 skill \u6587\u6863\uFF0C\u8FD4\u56DE\u5B8C\u6574\u6307\u4EE4\u6B63\u6587\u3002",
25921
+ category: "\u5185\u5BB9\u7BA1\u7406"
25922
+ },
25923
+ behavior: "data",
25924
+ uiGroup: "content",
25925
+ capability: "space_context",
25926
+ riskLevel: "low",
25927
+ costLevel: "low"
25928
+ },
25782
25929
  {
25783
25930
  id: "wereadGateway",
25784
25931
  schema: wereadGatewayFunctionSchema,
@@ -12,11 +12,11 @@ import {
12
12
  isBufferedCliStreamingProvider,
13
13
  materializeCliImageInputs,
14
14
  startCliSession
15
- } from "./chunk-X7W4TNB4.js";
15
+ } from "./chunk-CMKUBIGW.js";
16
+ import "./chunk-JBTJAPUF.js";
16
17
  import {
17
18
  buildCliPrompt
18
19
  } from "./chunk-ATNTHIZI.js";
19
- import "./chunk-JBTJAPUF.js";
20
20
  import "./chunk-4VNS5WPM.js";
21
21
  export {
22
22
  CLI_PROBE_BINARIES,
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  addContentToSpace
3
- } from "./chunk-HBY2MXIN.js";
3
+ } from "./chunk-4P2MDGKS.js";
4
4
  import "./chunk-4ZDM73SD.js";
5
5
  import "./chunk-MRC4Q34M.js";
6
- import "./chunk-PCWC3JTN.js";
6
+ import "./chunk-MTU75CZ2.js";
7
7
  import "./chunk-CWMSB67P.js";
8
- import "./chunk-BZMZUAFJ.js";
9
- import "./chunk-KTVVPRJS.js";
8
+ import "./chunk-6RSAUKSQ.js";
9
+ import "./chunk-2T2C6CNY.js";
10
10
  import "./chunk-Z4NR32XR.js";
11
11
  import "./chunk-M76ECQRD.js";
12
- import "./chunk-YYUCRDOK.js";
13
- import "./chunk-MGOJ5R6J.js";
12
+ import "./chunk-SOTZ6RDN.js";
13
+ import "./chunk-2NNJ6S5U.js";
14
14
  import "./chunk-UAD2WT54.js";
15
- import "./chunk-USZMK5UT.js";
15
+ import "./chunk-DCOA4QSN.js";
16
16
  import "./chunk-5MMAK75Q.js";
17
- import "./chunk-572EKYLF.js";
17
+ import "./chunk-BBYVOSU2.js";
18
18
  import "./chunk-5CS33IBL.js";
19
19
  import "./chunk-JZPBVBIY.js";
20
- import "./chunk-BR2WP3DF.js";
20
+ import "./chunk-IWX4UW2E.js";
21
21
  import "./chunk-DFFIZ25G.js";
22
22
  import "./chunk-3ASDTTEI.js";
23
23
  import "./chunk-DWLEOOGR.js";
24
24
  import "./chunk-HNMXYYJR.js";
25
- import "./chunk-TSS3XJY4.js";
25
+ import "./chunk-64AAZRGY.js";
26
26
  import "./chunk-Y5GCAMGP.js";
27
27
  import {
28
28
  write
29
- } from "./chunk-COMXDWNM.js";
29
+ } from "./chunk-KPSWSDUF.js";
30
30
  import "./chunk-AZPCASRE.js";
31
31
  import "./chunk-2EISRLRC.js";
32
32
  import "./chunk-KX6YBIHG.js";
@@ -34,7 +34,7 @@ import {
34
34
  buildAgentAutomationOwnerIndexValue,
35
35
  createAgentAutomationKey,
36
36
  createAgentAutomationOwnerIndexKey
37
- } from "./chunk-SH2CFQOH.js";
37
+ } from "./chunk-O4BU24WZ.js";
38
38
  import "./chunk-I42VC5KR.js";
39
39
  import "./chunk-WWC7I6TA.js";
40
40
  import "./chunk-QSJ3HFEF.js";