nolo-cli 0.16.0-alpha.16 → 0.16.0-alpha.18

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 (108) hide show
  1. package/{_executeModel-UD2KY354.js → _executeModel-UREJOVS3.js} +39 -35
  2. package/{action-F5JACQBG.js → action-LT7BRFLK.js} +10 -9
  3. package/{addContentAction-AQXEYRBE.js → addContentAction-PL3KKBDH.js} +9 -8
  4. package/{addDialogAgentAction-EJHHJZWW.js → addDialogAgentAction-FCMSKYAF.js} +8 -7
  5. package/{agentDeleteCommand-UVL3YSRK.js → agentDeleteCommand-TJ2EAYDA.js} +27 -25
  6. package/{agentEmailCommands-77H4MECZ.js → agentEmailCommands-TOPVS5Q3.js} +50 -46
  7. package/{agentListCommands-J2F4E5C6.js → agentListCommands-WD5XYVGK.js} +25 -23
  8. package/{agentMachineCommands-DKDXHUDO.js → agentMachineCommands-24BLT7M4.js} +25 -23
  9. package/{agentPullCommand-6HWUT3SW.js → agentPullCommand-ZZGU5KOY.js} +4 -4
  10. package/{agentRecordCommands-KESYXWJZ.js → agentRecordCommands-FYRQB7SX.js} +45 -41
  11. package/{agentRunCommand-LZMUCDVH.js → agentRunCommand-TLW6PYPA.js} +46 -42
  12. package/{agentRuntimeLocal-44OVOJQ7.js → agentRuntimeLocal-K2J7IS6O.js} +18 -16
  13. package/{agentSlice-R4TX7ZSI.js → agentSlice-B6FQEOAF.js} +9 -8
  14. package/{appDeleteCommands-KXZCWKF2.js → appDeleteCommands-X7YGULGZ.js} +22 -20
  15. package/{appDeployCommands-JNXA3HP7.js → appDeployCommands-IMNPBUN7.js} +22 -20
  16. package/{appDeployStatusCommands-IZ225RMY.js → appDeployStatusCommands-2KFZUEET.js} +22 -20
  17. package/{appGetCommands-WALF7VTA.js → appGetCommands-AYG44S7G.js} +22 -20
  18. package/{appListCommands-Y3KMGFVO.js → appListCommands-Z7CLYPLH.js} +22 -20
  19. package/{authCommand-MSSBXCQ6.js → authCommand-WJZPOLSS.js} +9 -8
  20. package/{authCommands-YXGOXNBZ.js → authCommands-XTBV7OFZ.js} +6 -5
  21. package/{chunk-LBOJLRSS.js → chunk-37XKBS4O.js} +368 -320
  22. package/{chunk-XPC5C7BK.js → chunk-3ND52WIL.js} +2 -2
  23. package/{chunk-SOTZ6RDN.js → chunk-3Q7WHGCB.js} +1 -1
  24. package/{chunk-IPY6NKPP.js → chunk-4CQFPP2G.js} +9 -5
  25. package/{chunk-6N4KODMN.js → chunk-4T5F7YZQ.js} +1 -1
  26. package/{chunk-IRLFPNG7.js → chunk-5ICZUVFN.js} +2 -2
  27. package/chunk-7BUYEZ6U.js +671 -0
  28. package/{chunk-RADTZFVM.js → chunk-7TENCSE7.js} +40 -50
  29. package/{chunk-4PIVMGLG.js → chunk-A7QNCVO5.js} +10 -3
  30. package/{chunk-SR4IC7DS.js → chunk-B26VDWID.js} +2 -8
  31. package/{chunk-MTU75CZ2.js → chunk-B5TOXZAK.js} +1 -1
  32. package/{chunk-HYURMZU3.js → chunk-BLQ3U7UK.js} +3 -3
  33. package/{chunk-6HV3GSA4.js → chunk-BUTE3AHD.js} +6 -6
  34. package/{chunk-PXZY7NIS.js → chunk-C5SQSDB7.js} +6 -6
  35. package/{chunk-TX6S7JCM.js → chunk-C75ONZYN.js} +2 -2
  36. package/{chunk-UIVHASVR.js → chunk-CZAAQLAW.js} +3 -3
  37. package/{chunk-OSIJVBXP.js → chunk-DKZFOK24.js} +14 -85
  38. package/{chunk-IIHJMUV5.js → chunk-EGPCU42M.js} +6 -6
  39. package/{chunk-IWLUTMYX.js → chunk-ELT65PZW.js} +2 -2
  40. package/{chunk-X6LNYUFU.js → chunk-GO7R5K32.js} +5 -5
  41. package/{chunk-3ZLCL32L.js → chunk-I2NSE23G.js} +1 -1
  42. package/{chunk-SOW2GCA5.js → chunk-IOOMJJ4Z.js} +1 -1
  43. package/{setDialogExtraReferencesAction-LR6MSIXO.js → chunk-JLA4FXYC.js} +2 -17
  44. package/{chunk-FQLNGLOX.js → chunk-KO4PXGVN.js} +1 -1
  45. package/{chunk-ARJBFRBT.js → chunk-LP5UAY5I.js} +38 -54
  46. package/{chunk-QW7K3Y7V.js → chunk-LRYORNMJ.js} +63 -163
  47. package/{chunk-KFHN5NGJ.js → chunk-MVQ4TBSD.js} +1 -1
  48. package/{chunk-5PWAAPWU.js → chunk-OOKISU7J.js} +4 -4
  49. package/{chunk-Y62XMRMG.js → chunk-QCJITMYO.js} +10 -8
  50. package/{chunk-OOSFSFMA.js → chunk-R5V5G73M.js} +2 -0
  51. package/{chunk-EABWT43X.js → chunk-RVOUXDFU.js} +5 -5
  52. package/{chunk-JTINRTBT.js → chunk-SKDNBYZK.js} +2 -2
  53. package/{chunk-PVHN3TZV.js → chunk-TKV34RQ6.js} +138 -56
  54. package/{chunk-IAXU3LK5.js → chunk-TP6TE4L7.js} +16 -16
  55. package/{chunk-KMQPSTMJ.js → chunk-TRT4I4UD.js} +2 -2
  56. package/{chunk-YJKXGHJ6.js → chunk-UGUW3FHG.js} +4 -4
  57. package/{chunk-W4NVOSFF.js → chunk-WFHXMLHZ.js} +1 -1
  58. package/{chunk-H33743XH.js → chunk-WJRJDX2W.js} +1 -1
  59. package/chunk-X4Q4UZEY.js +26 -0
  60. package/{chunk-RPDGJO4D.js → chunk-XHG22OEX.js} +4 -4
  61. package/{chunk-DVRHHFEA.js → chunk-XMLRJUU5.js} +1 -1
  62. package/{chunk-3S2VOMIF.js → chunk-XRZJGPFI.js} +7 -7
  63. package/{chunk-DLH6BOUO.js → chunk-XU6XCPWB.js} +1 -1
  64. package/{chunk-NKN2NIW7.js → chunk-YEFSRF54.js} +10 -8
  65. package/chunk-ZZ2MH7LE.js +84 -0
  66. package/{cliExecutor-K3F7DMRO.js → cliExecutor-DNE7TCC4.js} +2 -2
  67. package/codingSkills-36KN5NQT.js +48 -0
  68. package/{createAgentAutomationAction-HXIGGMHG.js → createAgentAutomationAction-F62DAY54.js} +18 -17
  69. package/{createDialogAction-HDNEXHMH.js → createDialogAction-RPB6W3QN.js} +20 -19
  70. package/{createPageAction-F37QJEHE.js → createPageAction-APL7B2KC.js} +24 -23
  71. package/{dbSlice-7KQH6GOU.js → dbSlice-CGSRFJN3.js} +8 -7
  72. package/{deleteFile-WPWVZE4B.js → deleteFile-WDZ3VM7B.js} +3 -3
  73. package/{dialogCommands-6HHOMMSZ.js → dialogCommands-J7C6MB3Q.js} +23 -21
  74. package/{dialogSlice-ZCVFV3WX.js → dialogSlice-DMJVC2XX.js} +18 -17
  75. package/{docCreateCommands-C6DUOJZQ.js → docCreateCommands-Y7OSXNB6.js} +21 -19
  76. package/{docDeleteCommands-WAKYWSKE.js → docDeleteCommands-ALZGQRCE.js} +22 -20
  77. package/{docReadCommands-QXWKU7NB.js → docReadCommands-4BDDESGT.js} +21 -19
  78. package/{docStore-CSWTGKJJ.js → docStore-YAPW55HZ.js} +19 -18
  79. package/{docUpdateCommands-7AX4KLZZ.js → docUpdateCommands-LU2ZM2VE.js} +21 -19
  80. package/{fetchMessages-KTNM7QAR.js → fetchMessages-BMGVZVSE.js} +4 -3
  81. package/{handleSendMessageAction-3KHB7J7E.js → handleSendMessageAction-YDCWKDVY.js} +19 -18
  82. package/index.js +62 -62
  83. package/{localDialogRead-2VRI24F4.js → localDialogRead-HQZPVIE3.js} +1 -1
  84. package/{localRuntimeDb-LGDF6FQP.js → localRuntimeDb-THJZGAOJ.js} +1 -1
  85. package/{machineCommands-GKOAG4SD.js → machineCommands-QKGBDYER.js} +52 -48
  86. package/{machineWsRunDispatch-CBRB2L3Q.js → machineWsRunDispatch-25LT4UG6.js} +43 -39
  87. package/package.json +1 -1
  88. package/queryRunOverlay-O5IAGNXY.js +203 -0
  89. package/{read-CN3TNXIP.js → read-3FMPZPER.js} +3 -3
  90. package/{readDocTool-WF3675ED.js → readDocTool-VSYHKK3V.js} +1 -1
  91. package/{readlineWorkspace-LTW3NLCR.js → readlineWorkspace-U6UCWL4I.js} +66 -62
  92. package/{removeDialogAgentAction-YDHBFEGI.js → removeDialogAgentAction-OAGA2G3U.js} +10 -9
  93. package/{runAgentClientLoop-LVE52RH4.js → runAgentClientLoop-PDE63NNW.js} +35 -31
  94. package/runOverlayPresentation-BHD5POEM.js +79 -0
  95. package/{runtimeDoctorCommands-THIHX2SY.js → runtimeDoctorCommands-E2OUORHK.js} +6 -6
  96. package/setDialogExtraReferencesAction-JZEXA5SL.js +27 -0
  97. package/{setPrimaryDialogAgentAction-57GRIGX5.js → setPrimaryDialogAgentAction-4ZUQQKDG.js} +10 -9
  98. package/{settingSlice-O23YDK2O.js → settingSlice-7MNKHZ6R.js} +9 -8
  99. package/{spaceCommands-7RB3OWGN.js → spaceCommands-UG4QHSHD.js} +24 -22
  100. package/{spaceSlice-HLNFOVCA.js → spaceSlice-DPX4F5V3.js} +18 -17
  101. package/{streamAgentChatTurn-VS5W3C3N.js → streamAgentChatTurn-LYN66RLC.js} +66 -41
  102. package/{tableCommands-3P7MJ3PF.js → tableCommands-BEQAGE4I.js} +1 -1
  103. package/{tools-RWQXREN7.js → tools-VAJZFXRP.js} +29 -25
  104. package/types-ZSTJ7MPR.js +7 -0
  105. package/{updateDialogTitleAction-C6WFIIAW.js → updateDialogTitleAction-LE7SCNSB.js} +21 -20
  106. package/{chunk-O4BU24WZ.js → chunk-6Y7A3OQQ.js} +3 -3
  107. package/{chunk-CMKUBIGW.js → chunk-X7W4TNB4.js} +3 -3
  108. package/{localRuntimeAuthority-TEGCOWX4.js → localRuntimeAuthority-4IXJCHZ7.js} +3 -3
@@ -8,8 +8,13 @@ import {
8
8
  writeUsage
9
9
  } from "./chunk-DZ3XJVET.js";
10
10
  import {
11
- resolveMachineId
12
- } from "./chunk-6HYVJV7B.js";
11
+ getReadableCliDb
12
+ } from "./chunk-WFHXMLHZ.js";
13
+ import {
14
+ normalizeAgentHandle,
15
+ readDbRecord,
16
+ resolveAgentRecordFromHybridStore
17
+ } from "./chunk-A7QNCVO5.js";
13
18
  import {
14
19
  agentRunCardLabels,
15
20
  createCliCallAgentToolExecutor,
@@ -20,17 +25,7 @@ import {
20
25
  parseAgentRunEvent,
21
26
  t,
22
27
  toolLabel
23
- } from "./chunk-ARJBFRBT.js";
24
- import {
25
- getReadableCliDb
26
- } from "./chunk-W4NVOSFF.js";
27
- import {
28
- readDbRecord,
29
- resolveAgentRecordFromHybridStore
30
- } from "./chunk-4PIVMGLG.js";
31
- import {
32
- normalizeAgentHandle
33
- } from "./chunk-SR4IC7DS.js";
28
+ } from "./chunk-LP5UAY5I.js";
34
29
  import {
35
30
  NOLO_PROJECT_MANAGER_AGENT_KEY,
36
31
  isLocalCliAgentKey
@@ -39,30 +34,36 @@ import {
39
34
  applyModelLayerOverride,
40
35
  buildModelLayerOverride
41
36
  } from "./chunk-LTRXGFMS.js";
37
+ import {
38
+ resolveMachineId
39
+ } from "./chunk-6HYVJV7B.js";
42
40
  import {
43
41
  formatAgentListCard
44
- } from "./chunk-PVHN3TZV.js";
42
+ } from "./chunk-TKV34RQ6.js";
45
43
  import {
46
44
  isGatewayHttpStatus
47
45
  } from "./chunk-RQSOAMPJ.js";
46
+ import {
47
+ getDefaultCliLocalRuntimeDb
48
+ } from "./chunk-WJRJDX2W.js";
48
49
  import {
49
50
  buildMemorySubjectsForAgent,
50
51
  chooseMemoryOwners,
51
52
  loadMemoryCandidatesFromDb,
52
53
  resolveAgentMemoryPolicy
53
- } from "./chunk-IPY6NKPP.js";
54
- import {
55
- parseExternalSkillMarkdown,
56
- parseSkillDocProtocol
57
- } from "./chunk-VC6OZXO5.js";
54
+ } from "./chunk-4CQFPP2G.js";
58
55
  import {
59
56
  API_REPORTED_COST_MULTIPLIER,
60
57
  normalizeUsage,
61
58
  parseUiAskChoiceContent
62
- } from "./chunk-LBOJLRSS.js";
59
+ } from "./chunk-37XKBS4O.js";
63
60
  import {
64
61
  buildSkillDiscoveryContextBlock
65
62
  } from "./chunk-7OBMZCRD.js";
63
+ import {
64
+ parseExternalSkillMarkdown,
65
+ parseSkillDocProtocol
66
+ } from "./chunk-VC6OZXO5.js";
66
67
  import {
67
68
  buildPlatformChatCompletionRequest,
68
69
  parsePlatformChatCompletionData
@@ -75,7 +76,7 @@ import {
75
76
  LOCAL_TURN_ABORTED_CODE,
76
77
  readActionGate,
77
78
  readCommandActionGatePayload
78
- } from "./chunk-Y62XMRMG.js";
79
+ } from "./chunk-QCJITMYO.js";
79
80
  import {
80
81
  createThinkParserState,
81
82
  flushThinkParser,
@@ -88,13 +89,16 @@ import {
88
89
  import {
89
90
  DEFAULT_CONTEXT_WINDOW,
90
91
  getModelContextWindow
91
- } from "./chunk-IIHJMUV5.js";
92
+ } from "./chunk-EGPCU42M.js";
92
93
  import {
93
94
  clipCompactText
94
95
  } from "./chunk-5MMAK75Q.js";
95
96
  import {
96
97
  findModelConfig
97
98
  } from "./chunk-HQPG2PIV.js";
99
+ import {
100
+ toErrorMessage
101
+ } from "./chunk-HNMXYYJR.js";
98
102
  import {
99
103
  buildMemoryOverlayLayer,
100
104
  buildMemoryUseGuidanceLayer
@@ -119,13 +123,7 @@ import {
119
123
  } from "./chunk-FKXFCYVO.js";
120
124
  import {
121
125
  CliProviderQuotaError
122
- } from "./chunk-CMKUBIGW.js";
123
- import {
124
- toErrorMessage
125
- } from "./chunk-HNMXYYJR.js";
126
- import {
127
- getDefaultCliLocalRuntimeDb
128
- } from "./chunk-H33743XH.js";
126
+ } from "./chunk-X7W4TNB4.js";
129
127
  import {
130
128
  readPipeText,
131
129
  spawnProcess
@@ -138,7 +136,7 @@ import {
138
136
  } from "./chunk-Y5GCAMGP.js";
139
137
  import {
140
138
  createMemoryKey
141
- } from "./chunk-O4BU24WZ.js";
139
+ } from "./chunk-6Y7A3OQQ.js";
142
140
  import {
143
141
  asTrimmedLowercaseString
144
142
  } from "./chunk-QSJ3HFEF.js";
@@ -146,7 +144,7 @@ import {
146
144
  BUILTIN_NOLO_AGENT_KEY,
147
145
  PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY,
148
146
  PUBLIC_KIMI_K26_IMAGE_AGENT_KEY
149
- } from "./chunk-XPC5C7BK.js";
147
+ } from "./chunk-3ND52WIL.js";
150
148
  import {
151
149
  asTrimmedString
152
150
  } from "./chunk-3EUW3WEO.js";
@@ -200,23 +198,18 @@ function buildQuickChatIntentSystemPrompt(tierAgents) {
200
198
  \u53EF\u9009 agent \u5217\u8868\uFF08agentKey \u4E0E\u63CF\u8FF0\uFF09\uFF1A
201
199
  ${agentList}
202
200
 
203
- \u5224\u65AD\u539F\u5219\uFF08\u9ED8\u8BA4\u504F\u5411\u901A\u7528\u6863\u4F4D\uFF1B\u4E13\u804C agent \u5728\u660E\u786E\u5339\u914D\u65F6\u4F7F\u7528\uFF1B**\u7F16\u7801/\u672C\u5730\u4ED3\u5E93\u4EFB\u52A1\u8D70\u901A\u7528\u6863 + needsWorkspace=true**\uFF09\uFF1A
201
+ \u5224\u65AD\u539F\u5219\uFF08\u9ED8\u8BA4\u504F\u5411\u901A\u7528\u6863\u4F4D\uFF1B\u4E13\u804C agent \u5728\u660E\u786E\u5339\u914D\u65F6\u4F7F\u7528\uFF1B**\u7F16\u7801/\u672C\u5730\u4ED3\u5E93\u4EFB\u52A1\u8D70\u901A\u7528\u6863 balanced/quality**\uFF09\uFF1A
204
202
  - \u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0C**\u9664\u975E\u7528\u6237\u660E\u786E\u8868\u8FBE\u8981\u5EFA\u5E94\u7528/\u5EFA Agent/\u63D0\u4EA4\u53CD\u9988/\u591A Agent \u7F16\u6392**\uFF0C\u5426\u5219\u9009\u901A\u7528\u6863\u4F4D\uFF08flash/balanced/quality\uFF09\uFF1A
205
203
  - \u7B80\u5355\u95EE\u5019\u3001\u95F2\u804A\u3001\u5FEB\u901F\u95EE\u7B54\u3001\u7FFB\u8BD1\u3001\u77ED\u6587 \u2192 \u9009 flash \u6863
206
204
  - \u9700\u8981\u63A8\u7406\u3001\u5206\u6790\u3001\u4E2D\u7B49\u957F\u5EA6\u5199\u4F5C\u3001\u666E\u901A\u4EE3\u7801\u89E3\u91CA/\u67B6\u6784\u95EE\u7B54 \u2192 \u9009 balanced \u6863
207
205
  - \u590D\u6742\u63A8\u7406\u3001\u957F\u6587\u3001\u67B6\u6784\u8BBE\u8BA1\u3001\u6DF1\u5EA6\u5206\u6790 \u2192 \u9009 quality \u6863
208
- - **\u660E\u786E\u7F16\u7801\u4EFB\u52A1\uFF08\u5B9E\u73B0\u529F\u80FD\u3001\u4FEE bug\u3001refactor\u3001\u5199/\u8865\u6D4B\u8BD5\u3001\u8DD1 build/tests/ci\uFF09\u6216\u67E5\u770B\u672C\u673A\u4ED3\u5E93/\u4EE3\u7801\u72B6\u6001\uFF08git/\u5206\u652F/commit/\u672C\u5730\u4E0E\u8FDC\u7A0B\u5DEE\u8DDD/\u672A\u63D0\u4EA4\u6539\u52A8\u7B49\uFF09** \u2192 \u9009 balanced \u6216 quality \u6863\uFF08\u6309\u590D\u6742\u5EA6\uFF1B**\u4E0D\u8981\u9009 flash**\uFF09\uFF0C\u4E14 needsWorkspace=true
206
+ - **\u660E\u786E\u7F16\u7801\u4EFB\u52A1\uFF08\u5B9E\u73B0\u529F\u80FD\u3001\u4FEE bug\u3001refactor\u3001\u5199/\u8865\u6D4B\u8BD5\u3001\u8DD1 build/tests/ci\uFF09\u6216\u67E5\u770B\u672C\u673A\u4ED3\u5E93/\u4EE3\u7801\u72B6\u6001\uFF08git/\u5206\u652F/commit/\u672C\u5730\u4E0E\u8FDC\u7A0B\u5DEE\u8DDD/\u672A\u63D0\u4EA4\u6539\u52A8\u7B49\uFF09** \u2192 \u9009 balanced \u6216 quality \u6863\uFF08\u6309\u590D\u6742\u5EA6\uFF1B**\u4E0D\u8981\u9009 flash**\uFF09
209
207
  - \u4E13\u804C agent \u8DEF\u7531\u89C4\u5219\uFF08\u6709\u660E\u786E\u5339\u914D\u65F6\u4F7F\u7528\uFF09\uFF1A
210
208
  - \u8981\u63D0\u4EA4/\u8BB0\u5F55 bug\u3001\u4F53\u9A8C\u95EE\u9898\u3001\u6570\u636E\u5F02\u5E38\u3001\u4EA7\u54C1\u5EFA\u8BAE\uFF0C\u6216\u53E3\u8BED\u5982\u300C\u60F3\u53CD\u9988\u4E00\u4E9B\u95EE\u9898\u300D\u300C\u53CD\u9988\u4E00\u4E0B\u300D\u2192 \u9009\u610F\u89C1\u53CD\u9988\u4E13\u804C agent
211
209
  - \u8981\u65B0\u5EFA\u6216\u5B9A\u5236 AI/Agent/\u667A\u80FD\u4F53\u52A9\u624B\uFF08\u542B\u914D\u7F6E\u5DE5\u5177\u3001\u77E5\u8BC6\u3001\u786E\u8BA4\u521B\u5EFA\uFF09\u2192 \u9009\u521B\u5EFA Agent \u4E13\u804C agent
212
210
  - \u8981\u505A/\u6539/\u53D1\u5E03\u7F51\u7AD9\u3001\u7F51\u9875\u3001\u5C0F\u5E94\u7528\u3001\u9884\u7EA6\u9875\u3001\u535A\u5BA2\u3001\u770B\u677F \u2192 \u9009\u5E94\u7528\u6784\u5EFA\u4E13\u804C agent
213
211
  - \u8981\u6D3E\u591A\u4E2A agent\u3001\u591A agent \u5E76\u884C\u3001\u62C6\u6210\u4EFB\u52A1\u540E\u53F0\u6267\u884C\u3001\u591A\u4E2A agent review\u3001\u8BA9\u4E0D\u540C agent \u8BA8\u8BBA/\u4F1A\u5546 \u2192 \u9009\u591A Agent \u7F16\u6392\u4E13\u804C agent\uFF08\u663E\u5F0F multi-agent \u4F18\u5148\uFF09
214
- - **\u62FF\u4E0D\u51C6\u65F6**\uFF1A\u7EAF\u95F2\u804A\u9009 flash\uFF1B**\u82E5\u6CBE\u8FB9\u672C\u5730\u4ED3\u5E93/\u5F53\u524D\u4EE3\u7801\u72B6\u6001\uFF0C\u9009 balanced/quality + needsWorkspace=true**\u3002
215
-
216
- \u540C\u65F6\u5224\u65AD\u672C\u8F6E\u662F\u5426\u9700\u8981\u6CE8\u5165\u300C\u5DE5\u4F5C\u533A\u53EA\u8BFB\u5DE5\u5177\u300D\uFF08listFiles/globFiles/searchFiles/readFile/execShell \u7B49\uFF09\uFF1A
217
- - needsWorkspace=true \u7684\u573A\u666F\uFF1A\u7528\u6237\u8981\u8BFB/\u6539/\u5206\u6790\u6587\u4EF6\u6216\u4EE3\u7801\u3001\u63D0\u5230\u4E86\u6587\u4EF6\u8DEF\u5F84/\u6269\u5C55\u540D\uFF08.md/.csv/.ts \u7B49\uFF09\u3001\u63D0\u5230\u5DE5\u4F5C\u533A/\u4EE3\u7801\u5E93/\u4ED3\u5E93/\u76EE\u5F55/git/\u5206\u652F\u3001\u8981\u770B\u5F53\u524D\u4EE3\u7801\u6216\u4ED3\u5E93\u72B6\u6001\u3001\u672C\u5730\u641C\u7D22/\u67E5\u770B\u4EE3\u7801\u3002
218
- - needsWorkspace=false \u7684\u573A\u666F\uFF1A\u901A\u7528\u77E5\u8BC6\u95EE\u7B54\uFF08\u5982\u300C\u5E7F\u4E1C\u7ECF\u6D4E\u6570\u636E\u300D\u300C\u5199\u4E00\u9996\u8BD7\u300D\uFF09\u3001\u7EAF\u95F2\u804A\u95EE\u5019\u3001\u7FFB\u8BD1\u3001\u4E0D\u6D89\u53CA\u672C\u5730\u6587\u4EF6/\u4ED3\u5E93\u3002
219
- - \u6F0F\u5224\uFF08\u7528\u6237\u8981\u6587\u4EF6\u800C\u6CA1\u5E26\u5DE5\u5177\uFF09\u6BD4\u8BEF\u5224\uFF08\u767D\u641C\u51E0\u8F6E\uFF09\u4EE3\u4EF7\u66F4\u9AD8\uFF0C\u5B81\u53EF\u504F\u5BBD\u5224 true\u3002
212
+ - **\u62FF\u4E0D\u51C6\u65F6**\uFF1A\u7EAF\u95F2\u804A\u9009 flash\uFF1B**\u82E5\u6CBE\u8FB9\u672C\u5730\u4ED3\u5E93/\u5F53\u524D\u4EE3\u7801\u72B6\u6001\uFF0C\u9009 balanced/quality**\u3002
220
213
 
221
214
  \u5728\u7ED9\u51FA agentKey \u4E4B\u524D\uFF0C\u5148\u5728\u5FC3\u91CC\u533A\u5206\u5019\u9009\u6863\u4F4D\u7684\u8FB9\u754C\u518D\u7ED9\u7F6E\u4FE1\u5EA6\uFF1Abalanced \u4E0E quality \u7684\u8FB9\u754C\u5728\u4E8E\u590D\u6742\u5EA6/\u7BC7\u5E45/\u662F\u5426\u9700\u8981\u6DF1\u5EA6\u5206\u6790\uFF0C\u62FF\u4E0D\u51C6\u5C31\u7ED9\u4F4E confidence\u3002
222
215
 
@@ -228,7 +221,7 @@ ${agentList}
228
221
  - \u666E\u901A\u95EE\u7B54/\u7EAF\u95F2\u804A/\u5EFA\u5E94\u7528 \u2192 skills \u4E3A []
229
222
 
230
223
  \u53EA\u8F93\u51FA JSON\uFF0C\u4E0D\u8981\u8F93\u51FA\u5176\u4ED6\u5185\u5BB9\uFF1A
231
- {"confidence": <0\u52301\u4E4B\u95F4\u7684\u5C0F\u6570\uFF0C\u8868\u793A\u4F60\u5BF9\u8FD9\u4E2A\u5206\u7C7B\u5224\u65AD\u7684\u628A\u63E1\u7A0B\u5EA6>, "agentKey": "<\u4ECE\u5217\u8868\u4E2D\u9009\u62E9\u7684 agentKey>", "needsWorkspace": <true \u6216 false>, "skills": <\u5B57\u7B26\u4E32\u6570\u7EC4\uFF0C\u5143\u7D20\u53EA\u80FD\u662F ${[...VALID_QUICK_CHAT_SKILLS].map((s) => `"${s}"`).join(" | ")}\uFF0C\u672A\u547D\u4E2D\u7ED9 []>}`;
224
+ {"confidence": <0\u52301\u4E4B\u95F4\u7684\u5C0F\u6570\uFF0C\u8868\u793A\u4F60\u5BF9\u8FD9\u4E2A\u5206\u7C7B\u5224\u65AD\u7684\u628A\u63E1\u7A0B\u5EA6>, "agentKey": "<\u4ECE\u5217\u8868\u4E2D\u9009\u62E9\u7684 agentKey>", "skills": <\u5B57\u7B26\u4E32\u6570\u7EC4\uFF0C\u5143\u7D20\u53EA\u80FD\u662F ${[...VALID_QUICK_CHAT_SKILLS].map((s) => `"${s}"`).join(" | ")}\uFF0C\u672A\u547D\u4E2D\u7ED9 []>}`;
232
225
  }
233
226
  function parseQuickChatIntentResult(content, tierAgents) {
234
227
  try {
@@ -237,8 +230,6 @@ function parseQuickChatIntentResult(content, tierAgents) {
237
230
  const key = parsed.agentKey;
238
231
  if (typeof key !== "string") return null;
239
232
  if (!tierAgents.some((t2) => t2.agentKey === key)) return null;
240
- const rawNeedsWorkspace = parsed.needsWorkspace;
241
- const needsWorkspace = rawNeedsWorkspace === true;
242
233
  const rawConfidence = parsed.confidence;
243
234
  const confidence = typeof rawConfidence === "number" && Number.isFinite(rawConfidence) && rawConfidence >= 0 && rawConfidence <= 1 ? rawConfidence : void 0;
244
235
  const rawSkills = parsed.skills;
@@ -249,7 +240,7 @@ function parseQuickChatIntentResult(content, tierAgents) {
249
240
  );
250
241
  if (filtered.length > 0) skills = filtered;
251
242
  }
252
- return { agentKey: key, needsWorkspace, confidence, skills };
243
+ return { agentKey: key, confidence, skills };
253
244
  } catch {
254
245
  return null;
255
246
  }
@@ -361,7 +352,6 @@ async function classifyCliAutoRoute(text, options) {
361
352
  tier,
362
353
  classified: true,
363
354
  confidence: parsed.confidence,
364
- needsWorkspace: parsed.needsWorkspace,
365
355
  skills: parsed.skills
366
356
  };
367
357
  } catch {
@@ -2135,7 +2125,7 @@ function isNeedsActionToolResult(event) {
2135
2125
  return Boolean(event.metadata?.actionGate);
2136
2126
  }
2137
2127
  function parseUiAskChoiceForCli(event) {
2138
- if (event.toolName !== "ui_ask_choice" && !event.metadata?.uiAskChoice) {
2128
+ if (event.toolName !== "ask_user" && !event.metadata?.uiAskChoice) {
2139
2129
  return null;
2140
2130
  }
2141
2131
  const parsed = parseUiAskChoiceContent(event.content);
@@ -2393,7 +2383,7 @@ function formatVerboseToolEvent(event, colorEnabled) {
2393
2383
  );
2394
2384
  }
2395
2385
  const elapsed = typeof event.elapsedMs === "number" ? ` ${event.elapsedMs}ms` : "";
2396
- if (event.type === "tool-result" && (event.toolName === "ui_ask_choice" || event.metadata?.uiAskChoice)) {
2386
+ if (event.type === "tool-result" && (event.toolName === "ask_user" || event.metadata?.uiAskChoice)) {
2397
2387
  const block = formatUiAskChoiceBlock(event, colorEnabled);
2398
2388
  if (block) return `${formatToolTraceLine(`[nolo:tool] #${round} <- ${event.toolName}${elapsed}`, colorEnabled)}${block}`;
2399
2389
  }
@@ -2606,7 +2596,7 @@ function formatCompactToolLine(event, pending, colorEnabled) {
2606
2596
  if (event.type === "tool-result" && (toolName === "listAgents" || toolName === "startAgentRun" || toolName === "controlAgentRun")) {
2607
2597
  return formatOrchestrationCardBlock(event, toolName, colorEnabled);
2608
2598
  }
2609
- if (event.type === "tool-result" && (event.toolName === "ui_ask_choice" || event.metadata?.uiAskChoice)) {
2599
+ if (event.type === "tool-result" && (event.toolName === "ask_user" || event.metadata?.uiAskChoice)) {
2610
2600
  const block = formatUiAskChoiceBlock(event, colorEnabled);
2611
2601
  if (block) return block;
2612
2602
  }
@@ -2879,7 +2869,7 @@ function createSseToolEventAdapter(onEvent) {
2879
2869
  toolName,
2880
2870
  // The full payload, not just the clipped summary. Consumers that parse
2881
2871
  // structured results — the agent-run snapshot parser feeding the dock
2882
- // panel, the orchestration card renderer, ui_ask_choice — all read
2872
+ // panel, the orchestration card renderer, ask_user — all read
2883
2873
  // `content`; dropping it here made every one of them silently inert on
2884
2874
  // the HTTP/SSE path while working on the local path.
2885
2875
  ...rawContent ? { content: rawContent } : {},
@@ -3528,7 +3518,7 @@ function findCollapsedPasteSpanAt(buffer, pos, opts = {}) {
3528
3518
  // packages/cli/client/agentRun.ts
3529
3519
  import { ulid } from "ulid";
3530
3520
  async function loadRunLocalAgentTurn() {
3531
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-44OVOJQ7.js");
3521
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-K2J7IS6O.js");
3532
3522
  return runLocalAgentTurn;
3533
3523
  }
3534
3524
  async function resolveCurrentMachineId(options) {
@@ -3968,7 +3958,7 @@ async function runLocalAgentTurnForCli(options, settings) {
3968
3958
  } : void 0;
3969
3959
  const currentDialogId = options.continueDialogId ?? ulid();
3970
3960
  const runChildTurn = async (input) => {
3971
- const { runLocalAgentTurn } = await import("./agentRuntimeLocal-44OVOJQ7.js");
3961
+ const { runLocalAgentTurn } = await import("./agentRuntimeLocal-K2J7IS6O.js");
3972
3962
  return runLocalAgentTurn(input);
3973
3963
  };
3974
3964
  const createFreshChildBaseAdapter = () => {
@@ -1,8 +1,7 @@
1
1
  import {
2
2
  buildLocalAgentLookupKeys,
3
- normalizeAgentHandle,
4
3
  shouldReadAgentKeyRemotely
5
- } from "./chunk-SR4IC7DS.js";
4
+ } from "./chunk-B26VDWID.js";
6
5
  import {
7
6
  resolveCliAgentKeyInput
8
7
  } from "./chunk-VHBWHNVT.js";
@@ -22,10 +21,17 @@ import {
22
21
  } from "./chunk-A7GB5UGH.js";
23
22
  import {
24
23
  createAgentKey
25
- } from "./chunk-O4BU24WZ.js";
24
+ } from "./chunk-6Y7A3OQQ.js";
26
25
 
27
26
  // packages/cli/agentRecordHelpers.ts
28
27
  import { readFileSync } from "node:fs";
28
+
29
+ // packages/core/agentHandle.ts
30
+ function normalizeAgentHandle(value) {
31
+ return typeof value === "string" && value.trim() ? value.trim().toLowerCase().replace(/\s+/g, " ") : void 0;
32
+ }
33
+
34
+ // packages/cli/agentRecordHelpers.ts
29
35
  var PROVIDER_COPY_FIELDS = [
30
36
  "apiSource",
31
37
  "provider",
@@ -612,6 +618,7 @@ async function buildUpdatedAgentRecord(args) {
612
618
  }
613
619
 
614
620
  export {
621
+ normalizeAgentHandle,
615
622
  fetchWithTransportFallback,
616
623
  readAgentRecord,
617
624
  readDbRecord,
@@ -1,19 +1,13 @@
1
1
  import {
2
2
  buildAgentRuntimeAgentLookupKeys,
3
3
  shouldFetchAgentRuntimeRecordRemotely
4
- } from "./chunk-NKN2NIW7.js";
4
+ } from "./chunk-YEFSRF54.js";
5
5
 
6
6
  // packages/cli/client/localAgentRecords.ts
7
7
  var buildLocalAgentLookupKeys = buildAgentRuntimeAgentLookupKeys;
8
8
  var shouldReadAgentKeyRemotely = shouldFetchAgentRuntimeRecordRemotely;
9
9
 
10
- // packages/core/agentHandle.ts
11
- function normalizeAgentHandle(value) {
12
- return typeof value === "string" && value.trim() ? value.trim().toLowerCase().replace(/\s+/g, " ") : void 0;
13
- }
14
-
15
10
  export {
16
11
  buildLocalAgentLookupKeys,
17
- shouldReadAgentKeyRemotely,
18
- normalizeAgentHandle
12
+ shouldReadAgentKeyRemotely
19
13
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  dialogMessageKey
3
- } from "./chunk-O4BU24WZ.js";
3
+ } from "./chunk-6Y7A3OQQ.js";
4
4
  import {
5
5
  asOptionalFiniteNumber
6
6
  } from "./chunk-WWC7I6TA.js";
@@ -7,11 +7,11 @@ import {
7
7
  listUserRecordsFromServers,
8
8
  readDbRecordFromServers,
9
9
  readLiveDbRecordAfterTombstoneMerge
10
- } from "./chunk-DLH6BOUO.js";
10
+ } from "./chunk-XU6XCPWB.js";
11
11
  import {
12
12
  buildDialogAttachmentPlan,
13
13
  extractFileContentIds
14
- } from "./chunk-MTU75CZ2.js";
14
+ } from "./chunk-B5TOXZAK.js";
15
15
  import {
16
16
  toErrorMessage
17
17
  } from "./chunk-HNMXYYJR.js";
@@ -625,7 +625,7 @@ async function tryHttpDialogCandidates(args) {
625
625
  throw Object.assign(new Error("All HTTP dialog reads failed"), { attempts });
626
626
  }
627
627
  async function readDialogFromLocalDb(dialogKey, dialogId, limit) {
628
- const { readDialogFromLocalDb: readLocalDialog } = await import("./localDialogRead-2VRI24F4.js");
628
+ const { readDialogFromLocalDb: readLocalDialog } = await import("./localDialogRead-HQZPVIE3.js");
629
629
  const result = await readLocalDialog({ dialogKey, dialogId, limit });
630
630
  return {
631
631
  ...result,
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  updateContentTitle
3
- } from "./chunk-LBOJLRSS.js";
3
+ } from "./chunk-37XKBS4O.js";
4
4
  import {
5
5
  require_date_fns
6
6
  } from "./chunk-M76ECQRD.js";
7
- import {
8
- require_react
9
- } from "./chunk-3ASDTTEI.js";
10
7
  import {
11
8
  toErrorMessage
12
9
  } from "./chunk-HNMXYYJR.js";
10
+ import {
11
+ require_react
12
+ } from "./chunk-3ASDTTEI.js";
13
13
  import {
14
14
  patch,
15
15
  readAndWait
16
- } from "./chunk-3S2VOMIF.js";
16
+ } from "./chunk-XRZJGPFI.js";
17
17
  import {
18
18
  asOptionalTrimmedString
19
19
  } from "./chunk-G3SUCT4W.js";
@@ -367,7 +367,7 @@ async function saveDocState(arg, { dispatch, getState }) {
367
367
  }
368
368
  }
369
369
  async function createDocState(args, thunkApi) {
370
- const { createPageAction } = await import("./createPageAction-F37QJEHE.js");
370
+ const { createPageAction } = await import("./createPageAction-APL7B2KC.js");
371
371
  return createPageAction(args, thunkApi);
372
372
  }
373
373
  function subscribe(listener) {
@@ -11,16 +11,16 @@ import {
11
11
  patch,
12
12
  remove,
13
13
  write
14
- } from "./chunk-3S2VOMIF.js";
14
+ } from "./chunk-XRZJGPFI.js";
15
15
  import {
16
16
  createAgentKey,
17
17
  toTrimmedString
18
- } from "./chunk-O4BU24WZ.js";
18
+ } from "./chunk-6Y7A3OQQ.js";
19
19
  import {
20
20
  asyncThunkCreator,
21
21
  buildCreateSlice,
22
22
  getRuntimeServerContext
23
- } from "./chunk-DVRHHFEA.js";
23
+ } from "./chunk-XMLRJUU5.js";
24
24
  import {
25
25
  asTrimmedString
26
26
  } from "./chunk-3EUW3WEO.js";
@@ -300,7 +300,7 @@ var slice = createSliceWithThunks({
300
300
  const overrides = {};
301
301
  if (args.systemPromptOverride !== void 0) overrides.prompt = args.systemPromptOverride;
302
302
  if (args.toolsOverride !== void 0) overrides.tools = args.toolsOverride;
303
- const { _executeModel } = await import("./_executeModel-UD2KY354.js");
303
+ const { _executeModel } = await import("./_executeModel-UREJOVS3.js");
304
304
  return _executeModel(
305
305
  {
306
306
  isStreaming: args.isStreaming ?? false,
@@ -321,7 +321,7 @@ var slice = createSliceWithThunks({
321
321
  * - 循环直到无工具调用或触发其他运行时停止条件
322
322
  */
323
323
  runAgent: create.asyncThunk(async (args, thunkApi) => {
324
- const { runAgentClientLoop } = await import("./runAgentClientLoop-LVE52RH4.js");
324
+ const { runAgentClientLoop } = await import("./runAgentClientLoop-PDE63NNW.js");
325
325
  const { content: loopContent, toolCallCount } = await runAgentClientLoop(
326
326
  {
327
327
  agentKey: args.agentKey,
@@ -337,7 +337,7 @@ var slice = createSliceWithThunks({
337
337
  * 聊天轮次流式 Agent 调用
338
338
  */
339
339
  streamAgentChatTurn: create.asyncThunk(async (args, thunkApi) => {
340
- const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-VS5W3C3N.js");
340
+ const { streamAgentChatTurnHandler } = await import("./streamAgentChatTurn-LYN66RLC.js");
341
341
  return streamAgentChatTurnHandler(args, thunkApi);
342
342
  }),
343
343
  /**
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  i18n_default,
3
3
  toolRegistry
4
- } from "./chunk-PVHN3TZV.js";
4
+ } from "./chunk-TKV34RQ6.js";
5
5
  import {
6
6
  canonicalizeToolNames
7
- } from "./chunk-OSIJVBXP.js";
7
+ } from "./chunk-ZZ2MH7LE.js";
8
8
  import {
9
9
  isNoloHostedProvider
10
10
  } from "./chunk-O6W2O2DA.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createCliLocalRuntimeAdapter,
3
3
  summarizeEndpoint
4
- } from "./chunk-ARJBFRBT.js";
4
+ } from "./chunk-LP5UAY5I.js";
5
5
  import {
6
6
  clipMultilineText
7
- } from "./chunk-PVHN3TZV.js";
7
+ } from "./chunk-TKV34RQ6.js";
8
8
  import {
9
9
  runLocalAgentTurn
10
- } from "./chunk-Y62XMRMG.js";
10
+ } from "./chunk-QCJITMYO.js";
11
11
  import {
12
12
  resolveLocalRuntimeEnvFromPolicy
13
13
  } from "./chunk-5CS33IBL.js";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  asRecordOrEmpty
3
3
  } from "./chunk-KX6YBIHG.js";
4
+ import {
5
+ asOptionalFiniteNumber
6
+ } from "./chunk-WWC7I6TA.js";
4
7
  import {
5
8
  asNonEmptyStringArray,
6
9
  asTrimmedNonEmptyStringArray
7
10
  } from "./chunk-I42VC5KR.js";
8
- import {
9
- asOptionalFiniteNumber
10
- } from "./chunk-WWC7I6TA.js";
11
11
  import {
12
12
  isRecord
13
13
  } from "./chunk-KUG52IAP.js";
@@ -15,85 +15,6 @@ import {
15
15
  asOptionalTrimmedString
16
16
  } from "./chunk-G3SUCT4W.js";
17
17
 
18
- // packages/agent-runtime/toolNameAliases.ts
19
- var LEGACY_TOOL_NAME_ALIASES = {
20
- createPage: "createDoc",
21
- updatePage: "updateDoc",
22
- update_page: "updateDoc",
23
- create_page: "createDoc",
24
- fetchwebpage: "fetchWebpage",
25
- fetch_webpage: "fetchWebpage",
26
- "fetch-page": "fetchWebpage",
27
- exasearch: "exa_search",
28
- "exa-search": "exa_search",
29
- exa_search: "exa_search",
30
- firecrawlscrape: "firecrawl_scrape",
31
- "firecrawl-scrape": "firecrawl_scrape",
32
- firecrawl_scrape: "firecrawl_scrape",
33
- firecrawlsearch: "firecrawl_search",
34
- "firecrawl-search": "firecrawl_search",
35
- firecrawl_search: "firecrawl_search",
36
- readDoc: "readDoc",
37
- readpage: "readDoc",
38
- read_page: "readDoc",
39
- read_doc: "readDoc",
40
- createdoc: "createDoc",
41
- updateDocTool: "updateDoc",
42
- terminalCommand: "execShell",
43
- terminal_command: "execShell",
44
- runCommand: "execShell",
45
- run_command: "execShell",
46
- runInBash: "execShell",
47
- run_in_bash: "execShell",
48
- executeCommand: "execShell",
49
- execute_command: "execShell",
50
- // Codex CLI 风格工具名 → nolo 原生工具名
51
- bash: "execShell",
52
- shell: "execShell",
53
- read: "readFile",
54
- edit: "editFile",
55
- write: "writeFile",
56
- glob: "globFiles",
57
- grep: "searchFiles",
58
- // 联网搜索别名
59
- web_search: "exa_search",
60
- websearch: "exa_search",
61
- search_web: "exa_search",
62
- searchweb: "exa_search",
63
- webfetch: "fetchWebpage",
64
- web_fetch: "fetchWebpage",
65
- fetchweb: "fetchWebpage",
66
- fetch_web: "fetchWebpage",
67
- // 模型偶尔会把 loadSkill 幻觉成 readSkill(参数风格 name= 一致),
68
- // 规范化到 loadSkill,避免 localToolPolicy 把这种调用直接拦死。
69
- readSkill: "loadSkill"
70
- };
71
- var normalizeToolName = (name) => name.replace(/[-_]/g, "").toLowerCase();
72
- var canonicalizeToolName = (rawName) => {
73
- const trimmedName = rawName.trim();
74
- if (!trimmedName) return rawName;
75
- if (LEGACY_TOOL_NAME_ALIASES[trimmedName]) {
76
- return LEGACY_TOOL_NAME_ALIASES[trimmedName];
77
- }
78
- const normalizedRawName = normalizeToolName(trimmedName);
79
- const matchedAlias = Object.entries(LEGACY_TOOL_NAME_ALIASES).find(
80
- ([alias]) => normalizeToolName(alias) === normalizedRawName
81
- );
82
- return matchedAlias?.[1] ?? trimmedName;
83
- };
84
- var canonicalizeToolNames = (toolNames) => Array.from(
85
- new Set(
86
- toolNames.filter((toolName) => typeof toolName === "string").map(canonicalizeToolName)
87
- )
88
- );
89
- var prioritizeToolNames = (toolNames, preferredToolNames) => {
90
- const canonicalTools = canonicalizeToolNames(toolNames);
91
- const preferred = new Set(canonicalizeToolNames(preferredToolNames));
92
- const prioritized = canonicalTools.filter((toolName) => preferred.has(toolName));
93
- const remaining = canonicalTools.filter((toolName) => !preferred.has(toolName));
94
- return [...prioritized, ...remaining];
95
- };
96
-
97
18
  // packages/agent-runtime/runtimeToolSurface.ts
98
19
  var DEFAULT_PRIVATE_NOLO_WORKSPACE_TOOLS = [
99
20
  "listDialogs",
@@ -895,6 +816,17 @@ function buildLoadSkillExecutor(args) {
895
816
  const { resolveSkillByName } = await import("./skillDiscovery-KJWT7JBU.js");
896
817
  const resolved = resolveSkillByName(args.cwd, name);
897
818
  if (!resolved) {
819
+ const { resolveCodingBuiltinSlug, buildCodingSkillContentBySlug } = await import("./codingSkills-36KN5NQT.js");
820
+ const builtinSlug = resolveCodingBuiltinSlug(name);
821
+ if (builtinSlug) {
822
+ const body = buildCodingSkillContentBySlug(builtinSlug);
823
+ return {
824
+ content: `Skill "${name}" loaded inline. Follow its instructions.
825
+
826
+ ${body}`,
827
+ metadata: { loadSkill: true, resolved: true, name, requestedName: name, builtin: true }
828
+ };
829
+ }
898
830
  return {
899
831
  content: await formatUnknownSkillMessage(args.cwd, name),
900
832
  metadata: { loadSkill: true, resolved: false, name, requestedName: name }
@@ -938,9 +870,6 @@ var nodeSpawnFallback = (options) => {
938
870
  };
939
871
 
940
872
  export {
941
- canonicalizeToolName,
942
- canonicalizeToolNames,
943
- prioritizeToolNames,
944
873
  resolveRuntimeToolSurfaceForAgent,
945
874
  redactAgentRecordForWorkspaceTool,
946
875
  resolveExecutableOnPath,
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  MODEL_LOOKUP_MAP
3
3
  } from "./chunk-HQPG2PIV.js";
4
+ import {
5
+ addContentAction
6
+ } from "./chunk-ELT65PZW.js";
4
7
  import {
5
8
  ALL_MODELS
6
9
  } from "./chunk-RK5NYQEL.js";
7
- import {
8
- addContentAction
9
- } from "./chunk-IWLUTMYX.js";
10
10
  import {
11
11
  upload
12
- } from "./chunk-3S2VOMIF.js";
12
+ } from "./chunk-XRZJGPFI.js";
13
13
  import {
14
14
  PUBLIC_DEEPSEEK_V4_FLASH_AGENT_KEY,
15
15
  PUBLIC_KIMI_K26_IMAGE_AGENT_KEY
16
- } from "./chunk-XPC5C7BK.js";
16
+ } from "./chunk-3ND52WIL.js";
17
17
  import {
18
18
  getRuntimeServerContext
19
- } from "./chunk-DVRHHFEA.js";
19
+ } from "./chunk-XMLRJUU5.js";
20
20
  import {
21
21
  API_ENDPOINTS
22
22
  } from "./chunk-LCBAMY2M.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  patch,
3
3
  read
4
- } from "./chunk-3S2VOMIF.js";
4
+ } from "./chunk-XRZJGPFI.js";
5
5
  import {
6
6
  DEVICE_LOCAL_OWNER_ID,
7
7
  isDeviceLocalSpaceBody,
8
8
  selectIdentityUserId
9
- } from "./chunk-DVRHHFEA.js";
9
+ } from "./chunk-XMLRJUU5.js";
10
10
 
11
11
  // packages/create/space/spaceKeys.ts
12
12
  var SEPARATOR = "-";
@@ -1,9 +1,6 @@
1
- import {
2
- clearCliLocalRuntimePreparedAgentCache
3
- } from "./chunk-ARJBFRBT.js";
4
1
  import {
5
2
  getReadableCliDb
6
- } from "./chunk-W4NVOSFF.js";
3
+ } from "./chunk-WFHXMLHZ.js";
7
4
  import {
8
5
  buildCreatedAgentRecord,
9
6
  buildUpdatedAgentRecord,
@@ -12,7 +9,10 @@ import {
12
9
  resolveAgentRecordFromHybridStore,
13
10
  sanitizeAgentRecordForCliOutput,
14
11
  writeAgentRecord
15
- } from "./chunk-4PIVMGLG.js";
12
+ } from "./chunk-A7QNCVO5.js";
13
+ import {
14
+ clearCliLocalRuntimePreparedAgentCache
15
+ } from "./chunk-LP5UAY5I.js";
16
16
  import {
17
17
  resolveCliAgentKeyInput
18
18
  } from "./chunk-VHBWHNVT.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  fetchReferenceContents,
3
3
  resolveReferenceAssets
4
- } from "./chunk-QW7K3Y7V.js";
4
+ } from "./chunk-LRYORNMJ.js";
5
5
 
6
6
  // packages/ai/agent/fetchAgentContexts.ts
7
7
  async function fetchAgentContexts(references, dispatch) {