@mduan/paseo-cli 0.11.0-fork.1 → 0.11.0-fork.3
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/node_modules/@getpaseo/client/package.json +3 -3
- package/node_modules/@getpaseo/highlight/package.json +1 -1
- package/node_modules/@getpaseo/plugin/package.json +3 -3
- package/node_modules/@getpaseo/protocol/dist/agent-types.d.ts +3 -0
- package/node_modules/@getpaseo/protocol/dist/generated/validation/ws-outbound.aot.js +337 -1
- package/node_modules/@getpaseo/protocol/dist/messages.js +4 -0
- package/node_modules/@getpaseo/protocol/package.json +1 -1
- package/node_modules/@getpaseo/relay/package.json +1 -1
- package/node_modules/@getpaseo/server/dist/server/builtin-plugins/package.json +1 -1
- package/node_modules/@getpaseo/server/dist/server/server/agent/agent-manager.d.ts +2 -2
- package/node_modules/@getpaseo/server/dist/server/server/agent/agent-manager.js +5 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/agent-projections.js +4 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/agent-sdk-types.d.ts +8 -1
- package/node_modules/@getpaseo/server/dist/server/server/agent/agent-storage.d.ts +2 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/agent-storage.js +2 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/provider-subagents/cost.d.ts +17 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/provider-subagents/cost.js +25 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/provider-subagents/subtitle-format.d.ts +8 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/provider-subagents/subtitle-format.js +22 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/appended-lines-reader.d.ts +20 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/appended-lines-reader.js +59 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/agent.js +147 -4
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/live-source.d.ts +6 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/live-source.js +33 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/presentation.d.ts +4 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/presentation.js +6 -8
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/replay-source.d.ts +13 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/replay-source.js +44 -22
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/transcript-cost.d.ts +18 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/claude/subagents/transcript-cost.js +50 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/codex/pricing.d.ts +15 -1
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/codex/pricing.js +32 -1
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/codex/rollout-cost.d.ts +4 -8
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/codex/rollout-cost.js +11 -51
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/codex-app-server-agent.d.ts +7 -1
- package/node_modules/@getpaseo/server/dist/server/server/agent/providers/codex-app-server-agent.js +119 -17
- package/node_modules/@getpaseo/server/dist/server/server/agent/turn-diffs/snapshot.d.ts +14 -0
- package/node_modules/@getpaseo/server/dist/server/server/agent/turn-diffs/snapshot.js +91 -4
- package/node_modules/@getpaseo/server/dist/server/server/agent/turn-diffs/store.d.ts +3 -3
- package/node_modules/@getpaseo/server/dist/server/server/agent/turn-diffs/store.js +24 -18
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{desktop-attachment-bridge-930503b4f858c84de293b25a88bddcd5.js → desktop-attachment-bridge-6eaa3854bb0e0bf2260c50ed5acac196.js} +1 -1
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-bridge-6eaa3854bb0e0bf2260c50ed5acac196.js.br +4 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-bridge-6eaa3854bb0e0bf2260c50ed5acac196.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{desktop-attachment-store-46b63a296048f752e9cace2869e65020.js → desktop-attachment-store-f093e6af17b9293a6d18bd73214b3172.js} +1 -1
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{desktop-attachment-store-46b63a296048f752e9cace2869e65020.js.br → desktop-attachment-store-f093e6af17b9293a6d18bd73214b3172.js.br} +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-store-f093e6af17b9293a6d18bd73214b3172.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{index-9489c4e1587c4252f0bd3b6e4b1abab3.js → index-ac557a7bf2f9db15fc71b6d2cbb3fcf7.js} +748 -747
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-ac557a7bf2f9db15fc71b6d2cbb3fcf7.js.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-ac557a7bf2f9db15fc71b6d2cbb3fcf7.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{indexeddb-attachment-store-4443393854050b1919467b89f1cbafc4.js → indexeddb-attachment-store-c1b8c035b248805cc62bb0f7b8e50acc.js} +1 -1
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{indexeddb-attachment-store-4443393854050b1919467b89f1cbafc4.js.br → indexeddb-attachment-store-c1b8c035b248805cc62bb0f7b8e50acc.js.br} +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/indexeddb-attachment-store-c1b8c035b248805cc62bb0f7b8e50acc.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/{native-file-attachment-store-d5f9e56b2ce163fcb45fa34b52e2c3d1.js → native-file-attachment-store-c3b75054cb85e7c8b21aedadaf7d54f3.js} +3 -3
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-c3b75054cb85e7c8b21aedadaf7d54f3.js.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-c3b75054cb85e7c8b21aedadaf7d54f3.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/index.html +1 -1
- package/node_modules/@getpaseo/server/dist/server/web-ui/index.html.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/index.html.gz +0 -0
- package/node_modules/@getpaseo/server/package.json +6 -6
- package/package.json +7 -7
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-bridge-930503b4f858c84de293b25a88bddcd5.js.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-bridge-930503b4f858c84de293b25a88bddcd5.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/desktop-attachment-store-46b63a296048f752e9cace2869e65020.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-9489c4e1587c4252f0bd3b6e4b1abab3.js.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/index-9489c4e1587c4252f0bd3b6e4b1abab3.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/indexeddb-attachment-store-4443393854050b1919467b89f1cbafc4.js.gz +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-d5f9e56b2ce163fcb45fa34b52e2c3d1.js.br +0 -0
- package/node_modules/@getpaseo/server/dist/server/web-ui/_expo/static/js/web/native-file-attachment-store-d5f9e56b2ce163fcb45fa34b52e2c3d1.js.gz +0 -0
|
@@ -631,7 +631,7 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
631
631
|
function __du_106(__dx_107) { switch (__dx_107["type"]) {
|
|
632
632
|
case "thread_started": return typeof __dx_107 === "object" && __dx_107 !== null && !Array.isArray(__dx_107) && __dx_107["type"] === "thread_started" && typeof __dx_107["sessionId"] === "string" && typeof __dx_107["provider"] === "string";
|
|
633
633
|
case "turn_started": return typeof __dx_107 === "object" && __dx_107 !== null && !Array.isArray(__dx_107) && __dx_107["type"] === "turn_started" && typeof __dx_107["provider"] === "string" && (__dx_107["turnId"] === undefined || (typeof __dx_107["turnId"] === "string"));
|
|
634
|
-
case "turn_completed": return typeof __dx_107 === "object" && __dx_107 !== null && !Array.isArray(__dx_107) && __dx_107["type"] === "turn_completed" && typeof __dx_107["provider"] === "string" && (__dx_107["turnId"] === undefined || (typeof __dx_107["turnId"] === "string")) && (__dx_107["usage"] === undefined || (typeof __dx_107["usage"] === "object" && __dx_107["usage"] !== null && !Array.isArray(__dx_107["usage"]) && (__dx_107["usage"]["inputTokens"] === undefined || (typeof __dx_107["usage"]["inputTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["inputTokens"]) && Number.isFinite(__dx_107["usage"]["inputTokens"]))) && (__dx_107["usage"]["cachedInputTokens"] === undefined || (typeof __dx_107["usage"]["cachedInputTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["cachedInputTokens"]) && Number.isFinite(__dx_107["usage"]["cachedInputTokens"]))) && (__dx_107["usage"]["outputTokens"] === undefined || (typeof __dx_107["usage"]["outputTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["outputTokens"]) && Number.isFinite(__dx_107["usage"]["outputTokens"]))) && (__dx_107["usage"]["totalCostUsd"] === undefined || (typeof __dx_107["usage"]["totalCostUsd"] === "number" && !Number.isNaN(__dx_107["usage"]["totalCostUsd"]) && Number.isFinite(__dx_107["usage"]["totalCostUsd"]))) && (__dx_107["usage"]["totalCostUnavailable"] === undefined || (typeof __dx_107["usage"]["totalCostUnavailable"] === "boolean")) && (__dx_107["usage"]["contextWindowMaxTokens"] === undefined || (typeof __dx_107["usage"]["contextWindowMaxTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["contextWindowMaxTokens"]) && Number.isFinite(__dx_107["usage"]["contextWindowMaxTokens"]))) && (__dx_107["usage"]["contextWindowUsedTokens"] === undefined || (typeof __dx_107["usage"]["contextWindowUsedTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["contextWindowUsedTokens"]) && Number.isFinite(__dx_107["usage"]["contextWindowUsedTokens"])))));
|
|
634
|
+
case "turn_completed": return typeof __dx_107 === "object" && __dx_107 !== null && !Array.isArray(__dx_107) && __dx_107["type"] === "turn_completed" && typeof __dx_107["provider"] === "string" && (__dx_107["turnId"] === undefined || (typeof __dx_107["turnId"] === "string")) && (__dx_107["usage"] === undefined || (typeof __dx_107["usage"] === "object" && __dx_107["usage"] !== null && !Array.isArray(__dx_107["usage"]) && (__dx_107["usage"]["inputTokens"] === undefined || (typeof __dx_107["usage"]["inputTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["inputTokens"]) && Number.isFinite(__dx_107["usage"]["inputTokens"]))) && (__dx_107["usage"]["cachedInputTokens"] === undefined || (typeof __dx_107["usage"]["cachedInputTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["cachedInputTokens"]) && Number.isFinite(__dx_107["usage"]["cachedInputTokens"]))) && (__dx_107["usage"]["outputTokens"] === undefined || (typeof __dx_107["usage"]["outputTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["outputTokens"]) && Number.isFinite(__dx_107["usage"]["outputTokens"]))) && (__dx_107["usage"]["subagentCostUsd"] === undefined || (typeof __dx_107["usage"]["subagentCostUsd"] === "number" && !Number.isNaN(__dx_107["usage"]["subagentCostUsd"]) && Number.isFinite(__dx_107["usage"]["subagentCostUsd"]))) && (__dx_107["usage"]["totalCostUsd"] === undefined || (typeof __dx_107["usage"]["totalCostUsd"] === "number" && !Number.isNaN(__dx_107["usage"]["totalCostUsd"]) && Number.isFinite(__dx_107["usage"]["totalCostUsd"]))) && (__dx_107["usage"]["totalCostUnavailable"] === undefined || (typeof __dx_107["usage"]["totalCostUnavailable"] === "boolean")) && (__dx_107["usage"]["totalCostEstimated"] === undefined || (typeof __dx_107["usage"]["totalCostEstimated"] === "boolean")) && (__dx_107["usage"]["contextWindowMaxTokens"] === undefined || (typeof __dx_107["usage"]["contextWindowMaxTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["contextWindowMaxTokens"]) && Number.isFinite(__dx_107["usage"]["contextWindowMaxTokens"]))) && (__dx_107["usage"]["contextWindowUsedTokens"] === undefined || (typeof __dx_107["usage"]["contextWindowUsedTokens"] === "number" && !Number.isNaN(__dx_107["usage"]["contextWindowUsedTokens"]) && Number.isFinite(__dx_107["usage"]["contextWindowUsedTokens"])))));
|
|
635
635
|
case "turn_failed": return typeof __dx_107 === "object" && __dx_107 !== null && !Array.isArray(__dx_107) && __dx_107["type"] === "turn_failed" && typeof __dx_107["provider"] === "string" && (__dx_107["turnId"] === undefined || (typeof __dx_107["turnId"] === "string")) && typeof __dx_107["error"] === "string" && (__dx_107["code"] === undefined || (typeof __dx_107["code"] === "string")) && (__dx_107["diagnostic"] === undefined || (typeof __dx_107["diagnostic"] === "string"));
|
|
636
636
|
case "turn_canceled": return typeof __dx_107 === "object" && __dx_107 !== null && !Array.isArray(__dx_107) && __dx_107["type"] === "turn_canceled" && typeof __dx_107["provider"] === "string" && (__dx_107["turnId"] === undefined || (typeof __dx_107["turnId"] === "string")) && typeof __dx_107["reason"] === "string";
|
|
637
637
|
case "timeline": return typeof __dx_107 === "object" && __dx_107 !== null && !Array.isArray(__dx_107) && __dx_107["type"] === "timeline" && typeof __dx_107["provider"] === "string" && ((typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "user_message" && typeof __dx_107["item"]["text"] === "string" && (__dx_107["item"]["messageId"] === undefined || (typeof __dx_107["item"]["messageId"] === "string")) && (__dx_107["item"]["clientMessageId"] === undefined || (typeof __dx_107["item"]["clientMessageId"] === "string"))) || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "assistant_message" && typeof __dx_107["item"]["text"] === "string" && (__dx_107["item"]["messageId"] === undefined || (typeof __dx_107["item"]["messageId"] === "string"))) || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "reasoning" && typeof __dx_107["item"]["text"] === "string") || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __du_108(__dx_107["item"])) || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "todo" && Array.isArray(__dx_107["item"]["items"]) && __af_184(__dx_107["item"]["items"])) || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "error" && typeof __dx_107["item"]["message"] === "string") || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "notification" && (__dx_107["item"]["level"] === "info" || __dx_107["item"]["level"] === "warning" || __dx_107["item"]["level"] === "error") && typeof __dx_107["item"]["message"] === "string") || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "compaction" && (__dx_107["item"]["status"] === "loading" || __dx_107["item"]["status"] === "completed") && (__dx_107["item"]["trigger"] === undefined || ((__dx_107["item"]["trigger"] === "auto" || __dx_107["item"]["trigger"] === "manual"))) && (__dx_107["item"]["preTokens"] === undefined || (typeof __dx_107["item"]["preTokens"] === "number" && !Number.isNaN(__dx_107["item"]["preTokens"]) && Number.isFinite(__dx_107["item"]["preTokens"])))) || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "fork_marker" && typeof __dx_107["item"]["sourceAgentId"] === "string" && (__dx_107["item"]["mode"] === "full" || __dx_107["item"]["mode"] === "summary")) || (typeof __dx_107["item"] === "object" && __dx_107["item"] !== null && !Array.isArray(__dx_107["item"]) && __dx_107["item"]["type"] === "plugin" && typeof __dx_107["item"]["id"] === "string" && typeof __dx_107["item"]["pluginId"] === "string" && __re_re_185.test(__dx_107["item"]["pluginId"]) && typeof __dx_107["item"]["kind"] === "string" && typeof __dx_107["item"]["version"] === "number" && !Number.isNaN(__dx_107["item"]["version"]) && Number.isFinite(__dx_107["item"]["version"]) && true)) && (__dx_107["turnId"] === undefined || (typeof __dx_107["turnId"] === "string"));
|
|
@@ -2441,6 +2441,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
2441
2441
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_333["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
2442
2442
|
}
|
|
2443
2443
|
}
|
|
2444
|
+
if (__o_333["subagentCostUsd"] !== undefined) {
|
|
2445
|
+
if (typeof __o_333["subagentCostUsd"] !== "number") {
|
|
2446
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_333["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
2447
|
+
}
|
|
2448
|
+
else if (Number.isNaN(__o_333["subagentCostUsd"])) {
|
|
2449
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_333["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
2450
|
+
}
|
|
2451
|
+
else if (!Number.isFinite(__o_333["subagentCostUsd"])) {
|
|
2452
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_333["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
2453
|
+
}
|
|
2454
|
+
}
|
|
2444
2455
|
if (__o_333["totalCostUsd"] !== undefined) {
|
|
2445
2456
|
if (typeof __o_333["totalCostUsd"] !== "number") {
|
|
2446
2457
|
_e.push({ code: "invalid_type", expected: "number", input: __o_333["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -2457,6 +2468,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
2457
2468
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_333["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
2458
2469
|
}
|
|
2459
2470
|
}
|
|
2471
|
+
if (__o_333["totalCostEstimated"] !== undefined) {
|
|
2472
|
+
if (typeof __o_333["totalCostEstimated"] !== "boolean") {
|
|
2473
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_333["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
2474
|
+
}
|
|
2475
|
+
}
|
|
2460
2476
|
if (__o_333["contextWindowMaxTokens"] !== undefined) {
|
|
2461
2477
|
if (typeof __o_333["contextWindowMaxTokens"] !== "number") {
|
|
2462
2478
|
_e.push({ code: "invalid_type", expected: "number", input: __o_333["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -4257,6 +4273,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
4257
4273
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_464["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
4258
4274
|
}
|
|
4259
4275
|
}
|
|
4276
|
+
if (__o_464["subagentCostUsd"] !== undefined) {
|
|
4277
|
+
if (typeof __o_464["subagentCostUsd"] !== "number") {
|
|
4278
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_464["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
4279
|
+
}
|
|
4280
|
+
else if (Number.isNaN(__o_464["subagentCostUsd"])) {
|
|
4281
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_464["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
4282
|
+
}
|
|
4283
|
+
else if (!Number.isFinite(__o_464["subagentCostUsd"])) {
|
|
4284
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_464["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
4285
|
+
}
|
|
4286
|
+
}
|
|
4260
4287
|
if (__o_464["totalCostUsd"] !== undefined) {
|
|
4261
4288
|
if (typeof __o_464["totalCostUsd"] !== "number") {
|
|
4262
4289
|
_e.push({ code: "invalid_type", expected: "number", input: __o_464["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -4273,6 +4300,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
4273
4300
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_464["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
4274
4301
|
}
|
|
4275
4302
|
}
|
|
4303
|
+
if (__o_464["totalCostEstimated"] !== undefined) {
|
|
4304
|
+
if (typeof __o_464["totalCostEstimated"] !== "boolean") {
|
|
4305
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_464["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
4306
|
+
}
|
|
4307
|
+
}
|
|
4276
4308
|
if (__o_464["contextWindowMaxTokens"] !== undefined) {
|
|
4277
4309
|
if (typeof __o_464["contextWindowMaxTokens"] !== "number") {
|
|
4278
4310
|
_e.push({ code: "invalid_type", expected: "number", input: __o_464["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -4507,6 +4539,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
4507
4539
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_475["outputTokens"], path: ["message"].concat("payload").concat("event").concat("usage").concat("outputTokens") });
|
|
4508
4540
|
}
|
|
4509
4541
|
}
|
|
4542
|
+
if (__o_475["subagentCostUsd"] !== undefined) {
|
|
4543
|
+
if (typeof __o_475["subagentCostUsd"] !== "number") {
|
|
4544
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_475["subagentCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("subagentCostUsd") });
|
|
4545
|
+
}
|
|
4546
|
+
else if (Number.isNaN(__o_475["subagentCostUsd"])) {
|
|
4547
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_475["subagentCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("subagentCostUsd") });
|
|
4548
|
+
}
|
|
4549
|
+
else if (!Number.isFinite(__o_475["subagentCostUsd"])) {
|
|
4550
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_475["subagentCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("subagentCostUsd") });
|
|
4551
|
+
}
|
|
4552
|
+
}
|
|
4510
4553
|
if (__o_475["totalCostUsd"] !== undefined) {
|
|
4511
4554
|
if (typeof __o_475["totalCostUsd"] !== "number") {
|
|
4512
4555
|
_e.push({ code: "invalid_type", expected: "number", input: __o_475["totalCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("totalCostUsd") });
|
|
@@ -4523,6 +4566,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
4523
4566
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_475["totalCostUnavailable"], path: ["message"].concat("payload").concat("event").concat("usage").concat("totalCostUnavailable") });
|
|
4524
4567
|
}
|
|
4525
4568
|
}
|
|
4569
|
+
if (__o_475["totalCostEstimated"] !== undefined) {
|
|
4570
|
+
if (typeof __o_475["totalCostEstimated"] !== "boolean") {
|
|
4571
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_475["totalCostEstimated"], path: ["message"].concat("payload").concat("event").concat("usage").concat("totalCostEstimated") });
|
|
4572
|
+
}
|
|
4573
|
+
}
|
|
4526
4574
|
if (__o_475["contextWindowMaxTokens"] !== undefined) {
|
|
4527
4575
|
if (typeof __o_475["contextWindowMaxTokens"] !== "number") {
|
|
4528
4576
|
_e.push({ code: "invalid_type", expected: "number", input: __o_475["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("event").concat("usage").concat("contextWindowMaxTokens") });
|
|
@@ -15369,6 +15417,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
15369
15417
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1232["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
15370
15418
|
}
|
|
15371
15419
|
}
|
|
15420
|
+
if (__o_1232["subagentCostUsd"] !== undefined) {
|
|
15421
|
+
if (typeof __o_1232["subagentCostUsd"] !== "number") {
|
|
15422
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_1232["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
15423
|
+
}
|
|
15424
|
+
else if (Number.isNaN(__o_1232["subagentCostUsd"])) {
|
|
15425
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_1232["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
15426
|
+
}
|
|
15427
|
+
else if (!Number.isFinite(__o_1232["subagentCostUsd"])) {
|
|
15428
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1232["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
15429
|
+
}
|
|
15430
|
+
}
|
|
15372
15431
|
if (__o_1232["totalCostUsd"] !== undefined) {
|
|
15373
15432
|
if (typeof __o_1232["totalCostUsd"] !== "number") {
|
|
15374
15433
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1232["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -15385,6 +15444,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
15385
15444
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1232["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
15386
15445
|
}
|
|
15387
15446
|
}
|
|
15447
|
+
if (__o_1232["totalCostEstimated"] !== undefined) {
|
|
15448
|
+
if (typeof __o_1232["totalCostEstimated"] !== "boolean") {
|
|
15449
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1232["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
15450
|
+
}
|
|
15451
|
+
}
|
|
15388
15452
|
if (__o_1232["contextWindowMaxTokens"] !== undefined) {
|
|
15389
15453
|
if (typeof __o_1232["contextWindowMaxTokens"] !== "number") {
|
|
15390
15454
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1232["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -18050,6 +18114,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
18050
18114
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1366["outputTokens"], path: ["message"].concat("payload").concat("event").concat("usage").concat("outputTokens") });
|
|
18051
18115
|
}
|
|
18052
18116
|
}
|
|
18117
|
+
if (__o_1366["subagentCostUsd"] !== undefined) {
|
|
18118
|
+
if (typeof __o_1366["subagentCostUsd"] !== "number") {
|
|
18119
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_1366["subagentCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("subagentCostUsd") });
|
|
18120
|
+
}
|
|
18121
|
+
else if (Number.isNaN(__o_1366["subagentCostUsd"])) {
|
|
18122
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_1366["subagentCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("subagentCostUsd") });
|
|
18123
|
+
}
|
|
18124
|
+
else if (!Number.isFinite(__o_1366["subagentCostUsd"])) {
|
|
18125
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1366["subagentCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("subagentCostUsd") });
|
|
18126
|
+
}
|
|
18127
|
+
}
|
|
18053
18128
|
if (__o_1366["totalCostUsd"] !== undefined) {
|
|
18054
18129
|
if (typeof __o_1366["totalCostUsd"] !== "number") {
|
|
18055
18130
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1366["totalCostUsd"], path: ["message"].concat("payload").concat("event").concat("usage").concat("totalCostUsd") });
|
|
@@ -18066,6 +18141,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
18066
18141
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1366["totalCostUnavailable"], path: ["message"].concat("payload").concat("event").concat("usage").concat("totalCostUnavailable") });
|
|
18067
18142
|
}
|
|
18068
18143
|
}
|
|
18144
|
+
if (__o_1366["totalCostEstimated"] !== undefined) {
|
|
18145
|
+
if (typeof __o_1366["totalCostEstimated"] !== "boolean") {
|
|
18146
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1366["totalCostEstimated"], path: ["message"].concat("payload").concat("event").concat("usage").concat("totalCostEstimated") });
|
|
18147
|
+
}
|
|
18148
|
+
}
|
|
18069
18149
|
if (__o_1366["contextWindowMaxTokens"] !== undefined) {
|
|
18070
18150
|
if (typeof __o_1366["contextWindowMaxTokens"] !== "number") {
|
|
18071
18151
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1366["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("event").concat("usage").concat("contextWindowMaxTokens") });
|
|
@@ -24622,6 +24702,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
24622
24702
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1852["outputTokens"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("outputTokens") });
|
|
24623
24703
|
}
|
|
24624
24704
|
}
|
|
24705
|
+
if (__o_1852["subagentCostUsd"] !== undefined) {
|
|
24706
|
+
if (typeof __o_1852["subagentCostUsd"] !== "number") {
|
|
24707
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_1852["subagentCostUsd"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("subagentCostUsd") });
|
|
24708
|
+
}
|
|
24709
|
+
else if (Number.isNaN(__o_1852["subagentCostUsd"])) {
|
|
24710
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_1852["subagentCostUsd"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("subagentCostUsd") });
|
|
24711
|
+
}
|
|
24712
|
+
else if (!Number.isFinite(__o_1852["subagentCostUsd"])) {
|
|
24713
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1852["subagentCostUsd"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("subagentCostUsd") });
|
|
24714
|
+
}
|
|
24715
|
+
}
|
|
24625
24716
|
if (__o_1852["totalCostUsd"] !== undefined) {
|
|
24626
24717
|
if (typeof __o_1852["totalCostUsd"] !== "number") {
|
|
24627
24718
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1852["totalCostUsd"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -24638,6 +24729,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
24638
24729
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1852["totalCostUnavailable"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("totalCostUnavailable") });
|
|
24639
24730
|
}
|
|
24640
24731
|
}
|
|
24732
|
+
if (__o_1852["totalCostEstimated"] !== undefined) {
|
|
24733
|
+
if (typeof __o_1852["totalCostEstimated"] !== "boolean") {
|
|
24734
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1852["totalCostEstimated"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("totalCostEstimated") });
|
|
24735
|
+
}
|
|
24736
|
+
}
|
|
24641
24737
|
if (__o_1852["contextWindowMaxTokens"] !== undefined) {
|
|
24642
24738
|
if (typeof __o_1852["contextWindowMaxTokens"] !== "number") {
|
|
24643
24739
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1852["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("info").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -26176,6 +26272,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
26176
26272
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1959["outputTokens"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
26177
26273
|
}
|
|
26178
26274
|
}
|
|
26275
|
+
if (__o_1959["subagentCostUsd"] !== undefined) {
|
|
26276
|
+
if (typeof __o_1959["subagentCostUsd"] !== "number") {
|
|
26277
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_1959["subagentCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
26278
|
+
}
|
|
26279
|
+
else if (Number.isNaN(__o_1959["subagentCostUsd"])) {
|
|
26280
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_1959["subagentCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
26281
|
+
}
|
|
26282
|
+
else if (!Number.isFinite(__o_1959["subagentCostUsd"])) {
|
|
26283
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_1959["subagentCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
26284
|
+
}
|
|
26285
|
+
}
|
|
26179
26286
|
if (__o_1959["totalCostUsd"] !== undefined) {
|
|
26180
26287
|
if (typeof __o_1959["totalCostUsd"] !== "number") {
|
|
26181
26288
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1959["totalCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -26192,6 +26299,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
26192
26299
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1959["totalCostUnavailable"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
26193
26300
|
}
|
|
26194
26301
|
}
|
|
26302
|
+
if (__o_1959["totalCostEstimated"] !== undefined) {
|
|
26303
|
+
if (typeof __o_1959["totalCostEstimated"] !== "boolean") {
|
|
26304
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_1959["totalCostEstimated"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
26305
|
+
}
|
|
26306
|
+
}
|
|
26195
26307
|
if (__o_1959["contextWindowMaxTokens"] !== undefined) {
|
|
26196
26308
|
if (typeof __o_1959["contextWindowMaxTokens"] !== "number") {
|
|
26197
26309
|
_e.push({ code: "invalid_type", expected: "number", input: __o_1959["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("entries").concat(__i_1859).concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -28112,6 +28224,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
28112
28224
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_2094["outputTokens"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
28113
28225
|
}
|
|
28114
28226
|
}
|
|
28227
|
+
if (__o_2094["subagentCostUsd"] !== undefined) {
|
|
28228
|
+
if (typeof __o_2094["subagentCostUsd"] !== "number") {
|
|
28229
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_2094["subagentCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
28230
|
+
}
|
|
28231
|
+
else if (Number.isNaN(__o_2094["subagentCostUsd"])) {
|
|
28232
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_2094["subagentCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
28233
|
+
}
|
|
28234
|
+
else if (!Number.isFinite(__o_2094["subagentCostUsd"])) {
|
|
28235
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_2094["subagentCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
28236
|
+
}
|
|
28237
|
+
}
|
|
28115
28238
|
if (__o_2094["totalCostUsd"] !== undefined) {
|
|
28116
28239
|
if (typeof __o_2094["totalCostUsd"] !== "number") {
|
|
28117
28240
|
_e.push({ code: "invalid_type", expected: "number", input: __o_2094["totalCostUsd"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -28128,6 +28251,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
28128
28251
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_2094["totalCostUnavailable"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
28129
28252
|
}
|
|
28130
28253
|
}
|
|
28254
|
+
if (__o_2094["totalCostEstimated"] !== undefined) {
|
|
28255
|
+
if (typeof __o_2094["totalCostEstimated"] !== "boolean") {
|
|
28256
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_2094["totalCostEstimated"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
28257
|
+
}
|
|
28258
|
+
}
|
|
28131
28259
|
if (__o_2094["contextWindowMaxTokens"] !== undefined) {
|
|
28132
28260
|
if (typeof __o_2094["contextWindowMaxTokens"] !== "number") {
|
|
28133
28261
|
_e.push({ code: "invalid_type", expected: "number", input: __o_2094["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("entries").concat(__i_1994).concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -33368,6 +33496,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
33368
33496
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_2367["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
33369
33497
|
}
|
|
33370
33498
|
}
|
|
33499
|
+
if (__o_2367["subagentCostUsd"] !== undefined) {
|
|
33500
|
+
if (typeof __o_2367["subagentCostUsd"] !== "number") {
|
|
33501
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_2367["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
33502
|
+
}
|
|
33503
|
+
else if (Number.isNaN(__o_2367["subagentCostUsd"])) {
|
|
33504
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_2367["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
33505
|
+
}
|
|
33506
|
+
else if (!Number.isFinite(__o_2367["subagentCostUsd"])) {
|
|
33507
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_2367["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
33508
|
+
}
|
|
33509
|
+
}
|
|
33371
33510
|
if (__o_2367["totalCostUsd"] !== undefined) {
|
|
33372
33511
|
if (typeof __o_2367["totalCostUsd"] !== "number") {
|
|
33373
33512
|
_e.push({ code: "invalid_type", expected: "number", input: __o_2367["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -33384,6 +33523,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
33384
33523
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_2367["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
33385
33524
|
}
|
|
33386
33525
|
}
|
|
33526
|
+
if (__o_2367["totalCostEstimated"] !== undefined) {
|
|
33527
|
+
if (typeof __o_2367["totalCostEstimated"] !== "boolean") {
|
|
33528
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_2367["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
33529
|
+
}
|
|
33530
|
+
}
|
|
33387
33531
|
if (__o_2367["contextWindowMaxTokens"] !== undefined) {
|
|
33388
33532
|
if (typeof __o_2367["contextWindowMaxTokens"] !== "number") {
|
|
33389
33533
|
_e.push({ code: "invalid_type", expected: "number", input: __o_2367["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -35120,6 +35264,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
35120
35264
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_2490["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
35121
35265
|
}
|
|
35122
35266
|
}
|
|
35267
|
+
if (__o_2490["subagentCostUsd"] !== undefined) {
|
|
35268
|
+
if (typeof __o_2490["subagentCostUsd"] !== "number") {
|
|
35269
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_2490["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
35270
|
+
}
|
|
35271
|
+
else if (Number.isNaN(__o_2490["subagentCostUsd"])) {
|
|
35272
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_2490["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
35273
|
+
}
|
|
35274
|
+
else if (!Number.isFinite(__o_2490["subagentCostUsd"])) {
|
|
35275
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_2490["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
35276
|
+
}
|
|
35277
|
+
}
|
|
35123
35278
|
if (__o_2490["totalCostUsd"] !== undefined) {
|
|
35124
35279
|
if (typeof __o_2490["totalCostUsd"] !== "number") {
|
|
35125
35280
|
_e.push({ code: "invalid_type", expected: "number", input: __o_2490["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -35136,6 +35291,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
35136
35291
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_2490["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
35137
35292
|
}
|
|
35138
35293
|
}
|
|
35294
|
+
if (__o_2490["totalCostEstimated"] !== undefined) {
|
|
35295
|
+
if (typeof __o_2490["totalCostEstimated"] !== "boolean") {
|
|
35296
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_2490["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
35297
|
+
}
|
|
35298
|
+
}
|
|
35139
35299
|
if (__o_2490["contextWindowMaxTokens"] !== undefined) {
|
|
35140
35300
|
if (typeof __o_2490["contextWindowMaxTokens"] !== "number") {
|
|
35141
35301
|
_e.push({ code: "invalid_type", expected: "number", input: __o_2490["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -49921,6 +50081,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
49921
50081
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3550["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
49922
50082
|
}
|
|
49923
50083
|
}
|
|
50084
|
+
if (__o_3550["subagentCostUsd"] !== undefined) {
|
|
50085
|
+
if (typeof __o_3550["subagentCostUsd"] !== "number") {
|
|
50086
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_3550["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
50087
|
+
}
|
|
50088
|
+
else if (Number.isNaN(__o_3550["subagentCostUsd"])) {
|
|
50089
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_3550["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
50090
|
+
}
|
|
50091
|
+
else if (!Number.isFinite(__o_3550["subagentCostUsd"])) {
|
|
50092
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3550["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
50093
|
+
}
|
|
50094
|
+
}
|
|
49924
50095
|
if (__o_3550["totalCostUsd"] !== undefined) {
|
|
49925
50096
|
if (typeof __o_3550["totalCostUsd"] !== "number") {
|
|
49926
50097
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3550["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -49937,6 +50108,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
49937
50108
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3550["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
49938
50109
|
}
|
|
49939
50110
|
}
|
|
50111
|
+
if (__o_3550["totalCostEstimated"] !== undefined) {
|
|
50112
|
+
if (typeof __o_3550["totalCostEstimated"] !== "boolean") {
|
|
50113
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3550["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
50114
|
+
}
|
|
50115
|
+
}
|
|
49940
50116
|
if (__o_3550["contextWindowMaxTokens"] !== undefined) {
|
|
49941
50117
|
if (typeof __o_3550["contextWindowMaxTokens"] !== "number") {
|
|
49942
50118
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3550["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -51467,6 +51643,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
51467
51643
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3655["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
51468
51644
|
}
|
|
51469
51645
|
}
|
|
51646
|
+
if (__o_3655["subagentCostUsd"] !== undefined) {
|
|
51647
|
+
if (typeof __o_3655["subagentCostUsd"] !== "number") {
|
|
51648
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_3655["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
51649
|
+
}
|
|
51650
|
+
else if (Number.isNaN(__o_3655["subagentCostUsd"])) {
|
|
51651
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_3655["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
51652
|
+
}
|
|
51653
|
+
else if (!Number.isFinite(__o_3655["subagentCostUsd"])) {
|
|
51654
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3655["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
51655
|
+
}
|
|
51656
|
+
}
|
|
51470
51657
|
if (__o_3655["totalCostUsd"] !== undefined) {
|
|
51471
51658
|
if (typeof __o_3655["totalCostUsd"] !== "number") {
|
|
51472
51659
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3655["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -51483,6 +51670,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
51483
51670
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3655["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
51484
51671
|
}
|
|
51485
51672
|
}
|
|
51673
|
+
if (__o_3655["totalCostEstimated"] !== undefined) {
|
|
51674
|
+
if (typeof __o_3655["totalCostEstimated"] !== "boolean") {
|
|
51675
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3655["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
51676
|
+
}
|
|
51677
|
+
}
|
|
51486
51678
|
if (__o_3655["contextWindowMaxTokens"] !== undefined) {
|
|
51487
51679
|
if (typeof __o_3655["contextWindowMaxTokens"] !== "number") {
|
|
51488
51680
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3655["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -53065,6 +53257,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
53065
53257
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3768["outputTokens"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("outputTokens") });
|
|
53066
53258
|
}
|
|
53067
53259
|
}
|
|
53260
|
+
if (__o_3768["subagentCostUsd"] !== undefined) {
|
|
53261
|
+
if (typeof __o_3768["subagentCostUsd"] !== "number") {
|
|
53262
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_3768["subagentCostUsd"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("subagentCostUsd") });
|
|
53263
|
+
}
|
|
53264
|
+
else if (Number.isNaN(__o_3768["subagentCostUsd"])) {
|
|
53265
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_3768["subagentCostUsd"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("subagentCostUsd") });
|
|
53266
|
+
}
|
|
53267
|
+
else if (!Number.isFinite(__o_3768["subagentCostUsd"])) {
|
|
53268
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3768["subagentCostUsd"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("subagentCostUsd") });
|
|
53269
|
+
}
|
|
53270
|
+
}
|
|
53068
53271
|
if (__o_3768["totalCostUsd"] !== undefined) {
|
|
53069
53272
|
if (typeof __o_3768["totalCostUsd"] !== "number") {
|
|
53070
53273
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3768["totalCostUsd"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -53081,6 +53284,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
53081
53284
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3768["totalCostUnavailable"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("totalCostUnavailable") });
|
|
53082
53285
|
}
|
|
53083
53286
|
}
|
|
53287
|
+
if (__o_3768["totalCostEstimated"] !== undefined) {
|
|
53288
|
+
if (typeof __o_3768["totalCostEstimated"] !== "boolean") {
|
|
53289
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3768["totalCostEstimated"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("totalCostEstimated") });
|
|
53290
|
+
}
|
|
53291
|
+
}
|
|
53084
53292
|
if (__o_3768["contextWindowMaxTokens"] !== undefined) {
|
|
53085
53293
|
if (typeof __o_3768["contextWindowMaxTokens"] !== "number") {
|
|
53086
53294
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3768["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agents").concat(__i_3669).concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -54601,6 +54809,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
54601
54809
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3873["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
54602
54810
|
}
|
|
54603
54811
|
}
|
|
54812
|
+
if (__o_3873["subagentCostUsd"] !== undefined) {
|
|
54813
|
+
if (typeof __o_3873["subagentCostUsd"] !== "number") {
|
|
54814
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_3873["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
54815
|
+
}
|
|
54816
|
+
else if (Number.isNaN(__o_3873["subagentCostUsd"])) {
|
|
54817
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_3873["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
54818
|
+
}
|
|
54819
|
+
else if (!Number.isFinite(__o_3873["subagentCostUsd"])) {
|
|
54820
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_3873["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
54821
|
+
}
|
|
54822
|
+
}
|
|
54604
54823
|
if (__o_3873["totalCostUsd"] !== undefined) {
|
|
54605
54824
|
if (typeof __o_3873["totalCostUsd"] !== "number") {
|
|
54606
54825
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3873["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -54617,6 +54836,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
54617
54836
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3873["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
54618
54837
|
}
|
|
54619
54838
|
}
|
|
54839
|
+
if (__o_3873["totalCostEstimated"] !== undefined) {
|
|
54840
|
+
if (typeof __o_3873["totalCostEstimated"] !== "boolean") {
|
|
54841
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_3873["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
54842
|
+
}
|
|
54843
|
+
}
|
|
54620
54844
|
if (__o_3873["contextWindowMaxTokens"] !== undefined) {
|
|
54621
54845
|
if (typeof __o_3873["contextWindowMaxTokens"] !== "number") {
|
|
54622
54846
|
_e.push({ code: "invalid_type", expected: "number", input: __o_3873["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -56902,6 +57126,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
56902
57126
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4016["outputTokens"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
56903
57127
|
}
|
|
56904
57128
|
}
|
|
57129
|
+
if (__o_4016["subagentCostUsd"] !== undefined) {
|
|
57130
|
+
if (typeof __o_4016["subagentCostUsd"] !== "number") {
|
|
57131
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_4016["subagentCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
57132
|
+
}
|
|
57133
|
+
else if (Number.isNaN(__o_4016["subagentCostUsd"])) {
|
|
57134
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_4016["subagentCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
57135
|
+
}
|
|
57136
|
+
else if (!Number.isFinite(__o_4016["subagentCostUsd"])) {
|
|
57137
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4016["subagentCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
57138
|
+
}
|
|
57139
|
+
}
|
|
56905
57140
|
if (__o_4016["totalCostUsd"] !== undefined) {
|
|
56906
57141
|
if (typeof __o_4016["totalCostUsd"] !== "number") {
|
|
56907
57142
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4016["totalCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -56918,6 +57153,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
56918
57153
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4016["totalCostUnavailable"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
56919
57154
|
}
|
|
56920
57155
|
}
|
|
57156
|
+
if (__o_4016["totalCostEstimated"] !== undefined) {
|
|
57157
|
+
if (typeof __o_4016["totalCostEstimated"] !== "boolean") {
|
|
57158
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4016["totalCostEstimated"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
57159
|
+
}
|
|
57160
|
+
}
|
|
56921
57161
|
if (__o_4016["contextWindowMaxTokens"] !== undefined) {
|
|
56922
57162
|
if (typeof __o_4016["contextWindowMaxTokens"] !== "number") {
|
|
56923
57163
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4016["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -59235,6 +59475,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
59235
59475
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4159["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
59236
59476
|
}
|
|
59237
59477
|
}
|
|
59478
|
+
if (__o_4159["subagentCostUsd"] !== undefined) {
|
|
59479
|
+
if (typeof __o_4159["subagentCostUsd"] !== "number") {
|
|
59480
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_4159["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
59481
|
+
}
|
|
59482
|
+
else if (Number.isNaN(__o_4159["subagentCostUsd"])) {
|
|
59483
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_4159["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
59484
|
+
}
|
|
59485
|
+
else if (!Number.isFinite(__o_4159["subagentCostUsd"])) {
|
|
59486
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4159["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
59487
|
+
}
|
|
59488
|
+
}
|
|
59238
59489
|
if (__o_4159["totalCostUsd"] !== undefined) {
|
|
59239
59490
|
if (typeof __o_4159["totalCostUsd"] !== "number") {
|
|
59240
59491
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4159["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -59251,6 +59502,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
59251
59502
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4159["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
59252
59503
|
}
|
|
59253
59504
|
}
|
|
59505
|
+
if (__o_4159["totalCostEstimated"] !== undefined) {
|
|
59506
|
+
if (typeof __o_4159["totalCostEstimated"] !== "boolean") {
|
|
59507
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4159["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
59508
|
+
}
|
|
59509
|
+
}
|
|
59254
59510
|
if (__o_4159["contextWindowMaxTokens"] !== undefined) {
|
|
59255
59511
|
if (typeof __o_4159["contextWindowMaxTokens"] !== "number") {
|
|
59256
59512
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4159["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -61541,6 +61797,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
61541
61797
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4302["outputTokens"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
61542
61798
|
}
|
|
61543
61799
|
}
|
|
61800
|
+
if (__o_4302["subagentCostUsd"] !== undefined) {
|
|
61801
|
+
if (typeof __o_4302["subagentCostUsd"] !== "number") {
|
|
61802
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_4302["subagentCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
61803
|
+
}
|
|
61804
|
+
else if (Number.isNaN(__o_4302["subagentCostUsd"])) {
|
|
61805
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_4302["subagentCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
61806
|
+
}
|
|
61807
|
+
else if (!Number.isFinite(__o_4302["subagentCostUsd"])) {
|
|
61808
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4302["subagentCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
61809
|
+
}
|
|
61810
|
+
}
|
|
61544
61811
|
if (__o_4302["totalCostUsd"] !== undefined) {
|
|
61545
61812
|
if (typeof __o_4302["totalCostUsd"] !== "number") {
|
|
61546
61813
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4302["totalCostUsd"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -61557,6 +61824,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
61557
61824
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4302["totalCostUnavailable"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
61558
61825
|
}
|
|
61559
61826
|
}
|
|
61827
|
+
if (__o_4302["totalCostEstimated"] !== undefined) {
|
|
61828
|
+
if (typeof __o_4302["totalCostEstimated"] !== "boolean") {
|
|
61829
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4302["totalCostEstimated"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
61830
|
+
}
|
|
61831
|
+
}
|
|
61560
61832
|
if (__o_4302["contextWindowMaxTokens"] !== undefined) {
|
|
61561
61833
|
if (typeof __o_4302["contextWindowMaxTokens"] !== "number") {
|
|
61562
61834
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4302["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("creation").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -63884,6 +64156,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
63884
64156
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4446["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
63885
64157
|
}
|
|
63886
64158
|
}
|
|
64159
|
+
if (__o_4446["subagentCostUsd"] !== undefined) {
|
|
64160
|
+
if (typeof __o_4446["subagentCostUsd"] !== "number") {
|
|
64161
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_4446["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
64162
|
+
}
|
|
64163
|
+
else if (Number.isNaN(__o_4446["subagentCostUsd"])) {
|
|
64164
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_4446["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
64165
|
+
}
|
|
64166
|
+
else if (!Number.isFinite(__o_4446["subagentCostUsd"])) {
|
|
64167
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4446["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
64168
|
+
}
|
|
64169
|
+
}
|
|
63887
64170
|
if (__o_4446["totalCostUsd"] !== undefined) {
|
|
63888
64171
|
if (typeof __o_4446["totalCostUsd"] !== "number") {
|
|
63889
64172
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4446["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -63900,6 +64183,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
63900
64183
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4446["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
63901
64184
|
}
|
|
63902
64185
|
}
|
|
64186
|
+
if (__o_4446["totalCostEstimated"] !== undefined) {
|
|
64187
|
+
if (typeof __o_4446["totalCostEstimated"] !== "boolean") {
|
|
64188
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4446["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
64189
|
+
}
|
|
64190
|
+
}
|
|
63903
64191
|
if (__o_4446["contextWindowMaxTokens"] !== undefined) {
|
|
63904
64192
|
if (typeof __o_4446["contextWindowMaxTokens"] !== "number") {
|
|
63905
64193
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4446["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -66229,6 +66517,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
66229
66517
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4590["outputTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
66230
66518
|
}
|
|
66231
66519
|
}
|
|
66520
|
+
if (__o_4590["subagentCostUsd"] !== undefined) {
|
|
66521
|
+
if (typeof __o_4590["subagentCostUsd"] !== "number") {
|
|
66522
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_4590["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
66523
|
+
}
|
|
66524
|
+
else if (Number.isNaN(__o_4590["subagentCostUsd"])) {
|
|
66525
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_4590["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
66526
|
+
}
|
|
66527
|
+
else if (!Number.isFinite(__o_4590["subagentCostUsd"])) {
|
|
66528
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4590["subagentCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
66529
|
+
}
|
|
66530
|
+
}
|
|
66232
66531
|
if (__o_4590["totalCostUsd"] !== undefined) {
|
|
66233
66532
|
if (typeof __o_4590["totalCostUsd"] !== "number") {
|
|
66234
66533
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4590["totalCostUsd"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -66245,6 +66544,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
66245
66544
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4590["totalCostUnavailable"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
66246
66545
|
}
|
|
66247
66546
|
}
|
|
66547
|
+
if (__o_4590["totalCostEstimated"] !== undefined) {
|
|
66548
|
+
if (typeof __o_4590["totalCostEstimated"] !== "boolean") {
|
|
66549
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4590["totalCostEstimated"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
66550
|
+
}
|
|
66551
|
+
}
|
|
66248
66552
|
if (__o_4590["contextWindowMaxTokens"] !== undefined) {
|
|
66249
66553
|
if (typeof __o_4590["contextWindowMaxTokens"] !== "number") {
|
|
66250
66554
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4590["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -68588,6 +68892,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
68588
68892
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4735["outputTokens"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("outputTokens") });
|
|
68589
68893
|
}
|
|
68590
68894
|
}
|
|
68895
|
+
if (__o_4735["subagentCostUsd"] !== undefined) {
|
|
68896
|
+
if (typeof __o_4735["subagentCostUsd"] !== "number") {
|
|
68897
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_4735["subagentCostUsd"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
68898
|
+
}
|
|
68899
|
+
else if (Number.isNaN(__o_4735["subagentCostUsd"])) {
|
|
68900
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_4735["subagentCostUsd"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
68901
|
+
}
|
|
68902
|
+
else if (!Number.isFinite(__o_4735["subagentCostUsd"])) {
|
|
68903
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_4735["subagentCostUsd"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("subagentCostUsd") });
|
|
68904
|
+
}
|
|
68905
|
+
}
|
|
68591
68906
|
if (__o_4735["totalCostUsd"] !== undefined) {
|
|
68592
68907
|
if (typeof __o_4735["totalCostUsd"] !== "number") {
|
|
68593
68908
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4735["totalCostUsd"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -68604,6 +68919,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
68604
68919
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4735["totalCostUnavailable"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("totalCostUnavailable") });
|
|
68605
68920
|
}
|
|
68606
68921
|
}
|
|
68922
|
+
if (__o_4735["totalCostEstimated"] !== undefined) {
|
|
68923
|
+
if (typeof __o_4735["totalCostEstimated"] !== "boolean") {
|
|
68924
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_4735["totalCostEstimated"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("totalCostEstimated") });
|
|
68925
|
+
}
|
|
68926
|
+
}
|
|
68607
68927
|
if (__o_4735["contextWindowMaxTokens"] !== undefined) {
|
|
68608
68928
|
if (typeof __o_4735["contextWindowMaxTokens"] !== "number") {
|
|
68609
68929
|
_e.push({ code: "invalid_type", expected: "number", input: __o_4735["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("snapshot").concat("agent").concat("lastUsage").concat("contextWindowMaxTokens") });
|
|
@@ -74025,6 +74345,17 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
74025
74345
|
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_5171["outputTokens"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("outputTokens") });
|
|
74026
74346
|
}
|
|
74027
74347
|
}
|
|
74348
|
+
if (__o_5171["subagentCostUsd"] !== undefined) {
|
|
74349
|
+
if (typeof __o_5171["subagentCostUsd"] !== "number") {
|
|
74350
|
+
_e.push({ code: "invalid_type", expected: "number", input: __o_5171["subagentCostUsd"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("subagentCostUsd") });
|
|
74351
|
+
}
|
|
74352
|
+
else if (Number.isNaN(__o_5171["subagentCostUsd"])) {
|
|
74353
|
+
_e.push({ code: "invalid_type", expected: "number", received: "NaN", input: __o_5171["subagentCostUsd"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("subagentCostUsd") });
|
|
74354
|
+
}
|
|
74355
|
+
else if (!Number.isFinite(__o_5171["subagentCostUsd"])) {
|
|
74356
|
+
_e.push({ code: "invalid_type", expected: "number", received: "Infinity", input: __o_5171["subagentCostUsd"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("subagentCostUsd") });
|
|
74357
|
+
}
|
|
74358
|
+
}
|
|
74028
74359
|
if (__o_5171["totalCostUsd"] !== undefined) {
|
|
74029
74360
|
if (typeof __o_5171["totalCostUsd"] !== "number") {
|
|
74030
74361
|
_e.push({ code: "invalid_type", expected: "number", input: __o_5171["totalCostUsd"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("totalCostUsd") });
|
|
@@ -74041,6 +74372,11 @@ export const WSOutboundMessageSchema = /* @__PURE__ */ (() => {
|
|
|
74041
74372
|
_e.push({ code: "invalid_type", expected: "boolean", input: __o_5171["totalCostUnavailable"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("totalCostUnavailable") });
|
|
74042
74373
|
}
|
|
74043
74374
|
}
|
|
74375
|
+
if (__o_5171["totalCostEstimated"] !== undefined) {
|
|
74376
|
+
if (typeof __o_5171["totalCostEstimated"] !== "boolean") {
|
|
74377
|
+
_e.push({ code: "invalid_type", expected: "boolean", input: __o_5171["totalCostEstimated"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("totalCostEstimated") });
|
|
74378
|
+
}
|
|
74379
|
+
}
|
|
74044
74380
|
if (__o_5171["contextWindowMaxTokens"] !== undefined) {
|
|
74045
74381
|
if (typeof __o_5171["contextWindowMaxTokens"] !== "number") {
|
|
74046
74382
|
_e.push({ code: "invalid_type", expected: "number", input: __o_5171["contextWindowMaxTokens"], path: ["message"].concat("payload").concat("final").concat("lastUsage").concat("contextWindowMaxTokens") });
|