@autohq/cli 0.1.618 → 0.1.620
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/agent-bridge.js +7 -2
- package/dist/index.js +7 -2
- package/package.json +1 -1
package/dist/agent-bridge.js
CHANGED
|
@@ -37770,7 +37770,7 @@ Object.assign(lookup, {
|
|
|
37770
37770
|
// package.json
|
|
37771
37771
|
var package_default = {
|
|
37772
37772
|
name: "@autohq/cli",
|
|
37773
|
-
version: "0.1.
|
|
37773
|
+
version: "0.1.620",
|
|
37774
37774
|
license: "SEE LICENSE IN README.md",
|
|
37775
37775
|
publishConfig: {
|
|
37776
37776
|
access: "public"
|
|
@@ -93992,6 +93992,9 @@ var CodexProjector = class {
|
|
|
93992
93992
|
}
|
|
93993
93993
|
});
|
|
93994
93994
|
case "webSearch":
|
|
93995
|
+
if (phase === "started" && item.query.length === 0) {
|
|
93996
|
+
return [];
|
|
93997
|
+
}
|
|
93995
93998
|
return this.projectToolItem({
|
|
93996
93999
|
phase,
|
|
93997
94000
|
itemId: item.id,
|
|
@@ -94496,6 +94499,7 @@ function renderCodexConfigToml(config2) {
|
|
|
94496
94499
|
const selectedProvider = codexProviderIdForModel(config2);
|
|
94497
94500
|
lines.push(`model = ${tomlString(config2.model?.id ?? CODEX_DEFAULT_MODEL)}`);
|
|
94498
94501
|
lines.push(`model_provider = ${tomlString(selectedProvider)}`);
|
|
94502
|
+
lines.push('web_search = "live"');
|
|
94499
94503
|
if (config2.reasoningEffort) {
|
|
94500
94504
|
lines.push(
|
|
94501
94505
|
`model_reasoning_effort = ${tomlString(config2.reasoningEffort)}`
|
|
@@ -94969,7 +94973,8 @@ var CODEX_ITEM_SETTLE_TIMEOUT_MS = 1e4;
|
|
|
94969
94973
|
var CODEX_TOOL_ITEM_TYPES = /* @__PURE__ */ new Set([
|
|
94970
94974
|
"commandExecution",
|
|
94971
94975
|
"fileChange",
|
|
94972
|
-
"mcpToolCall"
|
|
94976
|
+
"mcpToolCall",
|
|
94977
|
+
"webSearch"
|
|
94973
94978
|
]);
|
|
94974
94979
|
var CODEX_RETRYABLE_ERROR_PAIRING_WINDOW_MS = 1e3;
|
|
94975
94980
|
function startCodexAgentBridgeSession(input) {
|
package/dist/index.js
CHANGED
|
@@ -93759,7 +93759,7 @@ var init_package = __esm({
|
|
|
93759
93759
|
"package.json"() {
|
|
93760
93760
|
package_default = {
|
|
93761
93761
|
name: "@autohq/cli",
|
|
93762
|
-
version: "0.1.
|
|
93762
|
+
version: "0.1.620",
|
|
93763
93763
|
license: "SEE LICENSE IN README.md",
|
|
93764
93764
|
publishConfig: {
|
|
93765
93765
|
access: "public"
|
|
@@ -112363,6 +112363,9 @@ var CodexProjector = class {
|
|
|
112363
112363
|
}
|
|
112364
112364
|
});
|
|
112365
112365
|
case "webSearch":
|
|
112366
|
+
if (phase === "started" && item.query.length === 0) {
|
|
112367
|
+
return [];
|
|
112368
|
+
}
|
|
112366
112369
|
return this.projectToolItem({
|
|
112367
112370
|
phase,
|
|
112368
112371
|
itemId: item.id,
|
|
@@ -112868,6 +112871,7 @@ function renderCodexConfigToml(config2) {
|
|
|
112868
112871
|
const selectedProvider = codexProviderIdForModel(config2);
|
|
112869
112872
|
lines.push(`model = ${tomlString(config2.model?.id ?? CODEX_DEFAULT_MODEL)}`);
|
|
112870
112873
|
lines.push(`model_provider = ${tomlString(selectedProvider)}`);
|
|
112874
|
+
lines.push('web_search = "live"');
|
|
112871
112875
|
if (config2.reasoningEffort) {
|
|
112872
112876
|
lines.push(
|
|
112873
112877
|
`model_reasoning_effort = ${tomlString(config2.reasoningEffort)}`
|
|
@@ -113341,7 +113345,8 @@ var CODEX_ITEM_SETTLE_TIMEOUT_MS = 1e4;
|
|
|
113341
113345
|
var CODEX_TOOL_ITEM_TYPES = /* @__PURE__ */ new Set([
|
|
113342
113346
|
"commandExecution",
|
|
113343
113347
|
"fileChange",
|
|
113344
|
-
"mcpToolCall"
|
|
113348
|
+
"mcpToolCall",
|
|
113349
|
+
"webSearch"
|
|
113345
113350
|
]);
|
|
113346
113351
|
var CODEX_RETRYABLE_ERROR_PAIRING_WINDOW_MS = 1e3;
|
|
113347
113352
|
function startCodexAgentBridgeSession(input) {
|