@vtxmacro/cli 2026.8.15 → 2026.8.16
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/bin/vtx.js +5 -5
- package/package.json +1 -1
package/bin/vtx.js
CHANGED
|
@@ -38,7 +38,7 @@ var init_agent_cli_release = __esm({
|
|
|
38
38
|
"agent-cli-release.json"() {
|
|
39
39
|
agent_cli_release_default = {
|
|
40
40
|
package_name: "@vtxmacro/cli",
|
|
41
|
-
package_version: "2026.8.
|
|
41
|
+
package_version: "2026.8.16",
|
|
42
42
|
codex_package_name: "@openai/codex",
|
|
43
43
|
codex_version: "0.147.0",
|
|
44
44
|
platforms: {
|
|
@@ -17403,7 +17403,7 @@ var init_mcp_client = __esm({
|
|
|
17403
17403
|
}).passthrough().parse(rawResult);
|
|
17404
17404
|
if (callResult.isError === true) {
|
|
17405
17405
|
const errorText = (callResult.content ?? []).filter((block) => block.type === "text").map((block) => block.text ?? "").join("\n");
|
|
17406
|
-
const definitivelyNotApplied = (name === "inference.host.register" || name === "inference.host.advertise") && errorText.includes("Advertisement is already expired.") || (name === "inference.agent.next" || name === "inference.agent.heartbeat") && (errorText.includes("Advertisement time is outside the allowed clock skew.") || errorText.includes("Advertisement is already expired.") || errorText.includes("Heartbeat time is outside the allowed clock skew."));
|
|
17406
|
+
const definitivelyNotApplied = (name === "inference.host.register" || name === "inference.host.advertise") && (errorText.includes("Advertisement time is outside the allowed clock skew.") || errorText.includes("Advertisement is already expired.")) || (name === "inference.agent.next" || name === "inference.agent.heartbeat") && (errorText.includes("Advertisement time is outside the allowed clock skew.") || errorText.includes("Advertisement is already expired.") || errorText.includes("Heartbeat time is outside the allowed clock skew."));
|
|
17407
17407
|
throw new ExternalInferenceMcpError(
|
|
17408
17408
|
"tool_rejected",
|
|
17409
17409
|
`Insights MCP rejected ${name}.`,
|
|
@@ -28416,7 +28416,7 @@ var init_runner = __esm({
|
|
|
28416
28416
|
}
|
|
28417
28417
|
throw lastError;
|
|
28418
28418
|
};
|
|
28419
|
-
const publishAdvertisement = async (health, forceAdvance, retryRemote = true) => {
|
|
28419
|
+
const publishAdvertisement = async (health, forceAdvance, retryRemote = true, allowDefinitiveReseed = true) => {
|
|
28420
28420
|
let advertisement = receipt.pending_advertisement;
|
|
28421
28421
|
if (!advertisement) {
|
|
28422
28422
|
const generation = receipt.registered && forceAdvance ? receipt.advertisement_generation + 1 : receipt.advertisement_generation;
|
|
@@ -28470,14 +28470,14 @@ var init_runner = __esm({
|
|
|
28470
28470
|
} catch (error48) {
|
|
28471
28471
|
const definitivelyNotApplied = error48 instanceof ExternalInferenceMcpError ? error48.definitivelyNotApplied : Boolean(error48 && typeof error48 === "object" && error48.definitivelyNotApplied === true);
|
|
28472
28472
|
const expectedGeneration = receipt.registered ? receipt.advertisement_generation + 1 : receipt.advertisement_generation;
|
|
28473
|
-
if (definitivelyNotApplied &&
|
|
28473
|
+
if (definitivelyNotApplied && advertisement.advertisement_generation === expectedGeneration && allowDefinitiveReseed) {
|
|
28474
28474
|
receipt = {
|
|
28475
28475
|
...receipt,
|
|
28476
28476
|
pending_advertisement: null,
|
|
28477
28477
|
updated_at: isoAt(now())
|
|
28478
28478
|
};
|
|
28479
28479
|
await this.persistReceipt(receipt, now);
|
|
28480
|
-
return await publishAdvertisement(health, forceAdvance, retryRemote);
|
|
28480
|
+
return await publishAdvertisement(health, forceAdvance, retryRemote, false);
|
|
28481
28481
|
}
|
|
28482
28482
|
throw error48;
|
|
28483
28483
|
}
|