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
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KFEVY3ST.js";
4
4
  import {
5
5
  canonicalizeToolNames
6
- } from "./chunk-OSIJVBXP.js";
6
+ } from "./chunk-ZZ2MH7LE.js";
7
7
  import {
8
8
  asTrimmedLowercaseString
9
9
  } from "./chunk-QSJ3HFEF.js";
@@ -7,23 +7,7 @@ import {
7
7
  import {
8
8
  patch,
9
9
  selectById
10
- } from "./chunk-3S2VOMIF.js";
11
- import "./chunk-O4BU24WZ.js";
12
- import "./chunk-I42VC5KR.js";
13
- import "./chunk-WWC7I6TA.js";
14
- import "./chunk-JTINRTBT.js";
15
- import "./chunk-QSJ3HFEF.js";
16
- import "./chunk-XPC5C7BK.js";
17
- import "./chunk-DVRHHFEA.js";
18
- import "./chunk-OOSFSFMA.js";
19
- import "./chunk-GBRG75BQ.js";
20
- import "./chunk-3EUW3WEO.js";
21
- import "./chunk-U6VC4MU4.js";
22
- import "./chunk-KUG52IAP.js";
23
- import "./chunk-LCBAMY2M.js";
24
- import "./chunk-4SN6J65J.js";
25
- import "./chunk-CF7PE763.js";
26
- import "./chunk-G3SUCT4W.js";
10
+ } from "./chunk-XRZJGPFI.js";
27
11
  import {
28
12
  __toESM
29
13
  } from "./chunk-4VNS5WPM.js";
@@ -54,6 +38,7 @@ var setDialogExtraReferencesAction = async (extraReferences, thunkApi) => {
54
38
  })
55
39
  ).unwrap();
56
40
  };
41
+
57
42
  export {
58
43
  setDialogExtraReferencesAction
59
44
  };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  requireTokenUser
3
- } from "./chunk-5PWAAPWU.js";
3
+ } from "./chunk-OOKISU7J.js";
4
4
  import {
5
5
  resolveServerUrl
6
6
  } from "./chunk-A7GB5UGH.js";
@@ -6,9 +6,8 @@ import {
6
6
  } from "./chunk-UB4RYYNQ.js";
7
7
  import {
8
8
  buildLocalAgentLookupKeys,
9
- normalizeAgentHandle,
10
9
  shouldReadAgentKeyRemotely
11
- } from "./chunk-SR4IC7DS.js";
10
+ } from "./chunk-B26VDWID.js";
12
11
  import {
13
12
  LOCAL_CODEX_AGENT_ID,
14
13
  LOCAL_CODEX_AGENT_KEY,
@@ -17,11 +16,11 @@ import {
17
16
  } from "./chunk-VHBWHNVT.js";
18
17
  import {
19
18
  inferCaptureIntent
20
- } from "./chunk-KFHN5NGJ.js";
19
+ } from "./chunk-MVQ4TBSD.js";
21
20
  import {
22
21
  inlineImageUrlsForCustomProvider,
23
22
  prepareTools
24
- } from "./chunk-TX6S7JCM.js";
23
+ } from "./chunk-C75ONZYN.js";
25
24
  import {
26
25
  getAntigravityUserAgent,
27
26
  isAntigravityOAuthAgent,
@@ -42,7 +41,7 @@ import {
42
41
  readXhsProfileFunctionSchema,
43
42
  rememberMemoryFunctionSchema,
44
43
  resolveEffectiveEnabledPacks
45
- } from "./chunk-PVHN3TZV.js";
44
+ } from "./chunk-TKV34RQ6.js";
46
45
  import {
47
46
  createDrainExhaustedResponse,
48
47
  isCoreDrainingBody,
@@ -52,15 +51,18 @@ import {
52
51
  import {
53
52
  normalizeDialogTitle
54
53
  } from "./chunk-OWOHNGCN.js";
54
+ import {
55
+ getDefaultCliLocalRuntimeDb
56
+ } from "./chunk-WJRJDX2W.js";
55
57
  import {
56
58
  prepareTokenUsageData
57
- } from "./chunk-LBOJLRSS.js";
59
+ } from "./chunk-37XKBS4O.js";
58
60
  import {
59
61
  BUILTIN_TITLE_LLM_CONFIG
60
62
  } from "./chunk-XOIF2TNF.js";
61
63
  import {
62
64
  fetchServerSyncedCredential
63
- } from "./chunk-PXZY7NIS.js";
65
+ } from "./chunk-C5SQSDB7.js";
64
66
  import {
65
67
  buildAgentRuntimeDialogWritePlan,
66
68
  buildLocalWorkspaceOpenAiTools,
@@ -74,7 +76,7 @@ import {
74
76
  parseSseDataLineObject,
75
77
  readOpenAiCompatibleSseCompletion,
76
78
  resolveOpenAiCompatibleProviderConfig
77
- } from "./chunk-NKN2NIW7.js";
79
+ } from "./chunk-YEFSRF54.js";
78
80
  import {
79
81
  buildPlatformChatCompletionRequest,
80
82
  canUsePlatformChatProvider,
@@ -89,7 +91,7 @@ import {
89
91
  } from "./chunk-OIQPORYI.js";
90
92
  import {
91
93
  summarizeToolArguments
92
- } from "./chunk-Y62XMRMG.js";
94
+ } from "./chunk-QCJITMYO.js";
93
95
  import {
94
96
  convertMessagesToResponsesInput,
95
97
  toResponsesTools
@@ -101,16 +103,12 @@ import {
101
103
  buildLoadSkillExecutor,
102
104
  buildNoloWorkspaceCliToolExecutors,
103
105
  buildNoloWorkspaceOpenAiTools,
104
- canonicalizeToolNames,
105
106
  parseNoloWorkspaceToolArguments,
106
107
  resolveRuntimeToolSurfaceForAgent
107
- } from "./chunk-OSIJVBXP.js";
108
+ } from "./chunk-DKZFOK24.js";
108
109
  import {
109
110
  clipCompactText
110
111
  } from "./chunk-5MMAK75Q.js";
111
- import {
112
- isAdaptiveThinkingModelId
113
- } from "./chunk-HQPG2PIV.js";
114
112
  import {
115
113
  createFileCredentialBroker,
116
114
  resolveCurrentRunRuntimeToolPolicy,
@@ -123,6 +121,15 @@ import {
123
121
  readOAuthCredential,
124
122
  resolveFreshAccessToken
125
123
  } from "./chunk-JZPBVBIY.js";
124
+ import {
125
+ isAdaptiveThinkingModelId
126
+ } from "./chunk-HQPG2PIV.js";
127
+ import {
128
+ toErrorMessage
129
+ } from "./chunk-HNMXYYJR.js";
130
+ import {
131
+ canonicalizeToolNames
132
+ } from "./chunk-ZZ2MH7LE.js";
126
133
  import {
127
134
  compactWhitespace
128
135
  } from "./chunk-DWLEOOGR.js";
@@ -149,16 +156,10 @@ import {
149
156
  import {
150
157
  CliProviderQuotaError,
151
158
  executeCli
152
- } from "./chunk-CMKUBIGW.js";
159
+ } from "./chunk-X7W4TNB4.js";
153
160
  import {
154
161
  buildCliPrompt
155
162
  } from "./chunk-ATNTHIZI.js";
156
- import {
157
- toErrorMessage
158
- } from "./chunk-HNMXYYJR.js";
159
- import {
160
- getDefaultCliLocalRuntimeDb
161
- } from "./chunk-H33743XH.js";
162
163
  import {
163
164
  isCompiledBinary,
164
165
  parseUserIdFromAuthToken
@@ -170,13 +171,13 @@ import {
170
171
  createTokenKey,
171
172
  createUserKey,
172
173
  dialogMessageRange
173
- } from "./chunk-O4BU24WZ.js";
174
- import {
175
- asTrimmedNonEmptyStringArray
176
- } from "./chunk-I42VC5KR.js";
174
+ } from "./chunk-6Y7A3OQQ.js";
177
175
  import {
178
176
  asOptionalFiniteNumber
179
177
  } from "./chunk-WWC7I6TA.js";
178
+ import {
179
+ asTrimmedNonEmptyStringArray
180
+ } from "./chunk-I42VC5KR.js";
180
181
  import {
181
182
  asTrimmedLowercaseString
182
183
  } from "./chunk-QSJ3HFEF.js";
@@ -186,7 +187,7 @@ import {
186
187
  PUBLIC_DEEPSEEK_V4_PRO_AGENT_KEY,
187
188
  PUBLIC_GLM_52_AGENT_KEY,
188
189
  PUBLIC_KIMI_K26_IMAGE_AGENT_KEY
189
- } from "./chunk-XPC5C7BK.js";
190
+ } from "./chunk-3ND52WIL.js";
190
191
  import {
191
192
  asTrimmedString
192
193
  } from "./chunk-3EUW3WEO.js";
@@ -558,7 +559,7 @@ var STRINGS = {
558
559
  en: "abort the operation",
559
560
  zh: "\u4E2D\u6B62\u64CD\u4F5C"
560
561
  },
561
- // --- Ask choice (ui_ask_choice) ------------------------------------------
562
+ // --- Ask choice (ask_user) ------------------------------------------
562
563
  askChoiceTitle: {
563
564
  en: "question",
564
565
  zh: "\u95EE\u9898"
@@ -1795,23 +1796,6 @@ async function readAgentFromStore(args) {
1795
1796
  if (!record || typeof record !== "object") continue;
1796
1797
  return resolveAgentRuntimeConfigFromRecord(key, record);
1797
1798
  }
1798
- const normalizedRef = normalizeAgentHandle(args.agentRef);
1799
- if (!normalizedRef) {
1800
- return resolveBuiltinPlatformAgentConfig(args.agentRef);
1801
- }
1802
- try {
1803
- const iterator = args.store.iterator({
1804
- gte: "agent-",
1805
- lte: "agent-\uFFFF"
1806
- });
1807
- for await (const [key, record] of iterator) {
1808
- if (!record || typeof record !== "object") continue;
1809
- const handle = normalizeAgentHandle(record.handle);
1810
- if (handle !== normalizedRef) continue;
1811
- return resolveAgentRuntimeConfigFromRecord(key, record);
1812
- }
1813
- } catch {
1814
- }
1815
1799
  return resolveBuiltinPlatformAgentConfig(args.agentRef);
1816
1800
  }
1817
1801
  async function readDialogMessages(args) {
@@ -3057,7 +3041,7 @@ function buildLocalToolExecutors(args) {
3057
3041
  }
3058
3042
  };
3059
3043
  },
3060
- ui_ask_choice: async (call) => {
3044
+ ask_user: async (call) => {
3061
3045
  const parsedArgs = (() => {
3062
3046
  try {
3063
3047
  return JSON.parse(call.arguments || "{}");
@@ -3073,8 +3057,8 @@ function buildLocalToolExecutors(args) {
3073
3057
  if (!hasQuestions && (!question || choices.length === 0)) {
3074
3058
  return {
3075
3059
  content: JSON.stringify({
3076
- error: "ui_ask_choice",
3077
- detail: "ui_ask_choice \u9700\u8981 question+choices \u6216 questions\u3002"
3060
+ error: "ask_user",
3061
+ detail: "ask_user \u9700\u8981 question+choices \u6216 questions\u3002"
3078
3062
  }),
3079
3063
  metadata: { uiAskChoice: true, error: true }
3080
3064
  };
@@ -3090,7 +3074,7 @@ function buildLocalToolExecutors(args) {
3090
3074
  if (result.kind === "multi-submitted") {
3091
3075
  return {
3092
3076
  content: JSON.stringify({
3093
- type: "ui_ask_choice",
3077
+ type: "ask_user",
3094
3078
  question,
3095
3079
  choices,
3096
3080
  blocking,
@@ -3107,7 +3091,7 @@ function buildLocalToolExecutors(args) {
3107
3091
  if (result.kind === "selected") {
3108
3092
  return {
3109
3093
  content: JSON.stringify({
3110
- type: "ui_ask_choice",
3094
+ type: "ask_user",
3111
3095
  question,
3112
3096
  choices,
3113
3097
  blocking,
@@ -3122,7 +3106,7 @@ function buildLocalToolExecutors(args) {
3122
3106
  }
3123
3107
  return {
3124
3108
  content: JSON.stringify({
3125
- type: "ui_ask_choice",
3109
+ type: "ask_user",
3126
3110
  question,
3127
3111
  choices,
3128
3112
  blocking,
@@ -3137,7 +3121,7 @@ function buildLocalToolExecutors(args) {
3137
3121
  }
3138
3122
  return {
3139
3123
  content: JSON.stringify({
3140
- type: "ui_ask_choice",
3124
+ type: "ask_user",
3141
3125
  question,
3142
3126
  choices,
3143
3127
  blocking,
@@ -10695,7 +10679,7 @@ function buildOpenAiTools(args) {
10695
10679
  const toolset = buildLocalWorkspaceToolsetForEnv(args);
10696
10680
  const toolNameSet = new Set(args.toolNames ?? []);
10697
10681
  const callAgentTools = toolNameSet.has("callAgent") ? prepareTools(["callAgent"]) : [];
10698
- const uiAskChoiceTools = toolNameSet.has("ui_ask_choice") ? prepareTools(["ui_ask_choice"]) : [];
10682
+ const uiAskChoiceTools = toolNameSet.has("ask_user") ? prepareTools(["ask_user"]) : [];
10699
10683
  const readPastedTextTools = toolNameSet.has("readPastedText") ? [
10700
10684
  {
10701
10685
  type: "function",
@@ -10755,10 +10739,10 @@ function buildOpenAiTools(args) {
10755
10739
  var CLI_DEFAULT_TOOLS = ["exa_search", "fetchWebpage"];
10756
10740
  function addDefaultCliCoreTools(toolNames, env, options) {
10757
10741
  const declaredOnly = env && shouldUseDeclaredOnlyLocalWorkspaceTools(env);
10758
- const forcedTools = options?.hasUserChoice === true ? FORCED_TOOLS : FORCED_TOOLS.filter((name) => name !== "ui_ask_choice");
10742
+ const forcedTools = options?.hasUserChoice === true ? FORCED_TOOLS : FORCED_TOOLS.filter((name) => name !== "ask_user");
10759
10743
  const injected = declaredOnly ? [...forcedTools] : [...forcedTools, ...CLI_DEFAULT_TOOLS];
10760
10744
  const combined = [...toolNames, ...injected];
10761
- const filtered = options?.hasUserChoice === true ? combined : combined.filter((name) => name !== "ui_ask_choice");
10745
+ const filtered = options?.hasUserChoice === true ? combined : combined.filter((name) => name !== "ask_user");
10762
10746
  return [...new Set(filtered)];
10763
10747
  }
10764
10748
  function resolveCliEffectiveEnabledPacks(args) {