agent.libx.js 0.94.20 → 0.94.22
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.
- package/dist/cli.js +3 -2
- package/dist/cli.js.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1833,7 +1833,8 @@ var askUserQuestionTool = {
|
|
|
1833
1833
|
const fallback = args.options?.[0]?.label ?? "";
|
|
1834
1834
|
return `No interactive user is available \u2014 proceed using your best judgment.${fallback ? ` (Closest default: "${fallback}")` : ""}`;
|
|
1835
1835
|
}
|
|
1836
|
-
|
|
1836
|
+
const answer = ctx.host.ask(args);
|
|
1837
|
+
return ctx.parkHuman ? ctx.parkHuman(answer) : answer;
|
|
1837
1838
|
}
|
|
1838
1839
|
};
|
|
1839
1840
|
var ScriptedHostBridge = class {
|