@runtypelabs/sdk 7.2.0 → 7.2.1
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/index.cjs +1 -1
- package/dist/index.d.cts +19 -3
- package/dist/index.d.ts +19 -3
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -6452,7 +6452,7 @@ var Runtype = class {
|
|
|
6452
6452
|
|
|
6453
6453
|
// src/version.ts
|
|
6454
6454
|
var FALLBACK_VERSION = "0.0.0";
|
|
6455
|
-
var SDK_VERSION = "7.2.
|
|
6455
|
+
var SDK_VERSION = "7.2.1".length > 0 ? "7.2.1" : FALLBACK_VERSION;
|
|
6456
6456
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6457
6457
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6458
6458
|
|
package/dist/index.d.cts
CHANGED
|
@@ -894,7 +894,9 @@ interface paths {
|
|
|
894
894
|
/** Format: uri */
|
|
895
895
|
endpoint: string;
|
|
896
896
|
/** @enum {string} */
|
|
897
|
-
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "custom";
|
|
897
|
+
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "custom";
|
|
898
|
+
/** @enum {string} */
|
|
899
|
+
protocol?: "a2a" | "runtype-stream";
|
|
898
900
|
retryCount?: number;
|
|
899
901
|
skillOrchestration?: ("delegate" | "managed") | ("agent_skill" | "runtype" | "none");
|
|
900
902
|
skillOrchestrator?: {
|
|
@@ -2000,7 +2002,9 @@ interface paths {
|
|
|
2000
2002
|
/** Format: uri */
|
|
2001
2003
|
endpoint: string;
|
|
2002
2004
|
/** @enum {string} */
|
|
2003
|
-
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "custom";
|
|
2005
|
+
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "custom";
|
|
2006
|
+
/** @enum {string} */
|
|
2007
|
+
protocol?: "a2a" | "runtype-stream";
|
|
2004
2008
|
retryCount?: number;
|
|
2005
2009
|
skillOrchestration?: ("delegate" | "managed") | ("agent_skill" | "runtype" | "none");
|
|
2006
2010
|
skillOrchestrator?: {
|
|
@@ -5449,7 +5453,11 @@ interface paths {
|
|
|
5449
5453
|
"application/json": {
|
|
5450
5454
|
batchExecutionId: string;
|
|
5451
5455
|
recordId: string;
|
|
5456
|
+
/** @description Portion of totalCostUsd asserted by an externally-run agent pushed to /v1/executions/ingest. Unverified: Runtype neither dispatched nor paid for it. 0 unless external runs were ingested. */
|
|
5457
|
+
selfReportedCostUsd: number;
|
|
5452
5458
|
totalCostUsd: number;
|
|
5459
|
+
/** @description Count of rows inside totalCostUsd that recorded no cost figure. Their contribution is 0 because the cost is unknown, not because it was free. */
|
|
5460
|
+
unpricedExecutions: number;
|
|
5453
5461
|
};
|
|
5454
5462
|
};
|
|
5455
5463
|
};
|
|
@@ -5632,7 +5640,7 @@ interface paths {
|
|
|
5632
5640
|
};
|
|
5633
5641
|
/**
|
|
5634
5642
|
* Get batch execution total cost
|
|
5635
|
-
* @description Returns the total cost across all records, flow steps, agent executions, and nested subagents.
|
|
5643
|
+
* @description Returns the total cost across all records, flow steps, agent executions, and nested subagents, decomposed by how much the figure can be trusted.
|
|
5636
5644
|
*/
|
|
5637
5645
|
get: {
|
|
5638
5646
|
parameters: {
|
|
@@ -5654,7 +5662,11 @@ interface paths {
|
|
|
5654
5662
|
content: {
|
|
5655
5663
|
"application/json": {
|
|
5656
5664
|
batchExecutionId: string;
|
|
5665
|
+
/** @description Portion of totalCostUsd asserted by an externally-run agent pushed to /v1/executions/ingest. Unverified: Runtype neither dispatched nor paid for it. 0 unless external runs were ingested. */
|
|
5666
|
+
selfReportedCostUsd: number;
|
|
5657
5667
|
totalCostUsd: number;
|
|
5668
|
+
/** @description Count of rows inside totalCostUsd that recorded no cost figure. Their contribution is 0 because the cost is unknown, not because it was free. */
|
|
5669
|
+
unpricedExecutions: number;
|
|
5658
5670
|
};
|
|
5659
5671
|
};
|
|
5660
5672
|
};
|
|
@@ -38902,6 +38914,8 @@ interface paths {
|
|
|
38902
38914
|
"application/json": {
|
|
38903
38915
|
avgCostUsd: number | null;
|
|
38904
38916
|
avgDurationMs: number | null;
|
|
38917
|
+
/** @description Portion of avgCostUsd asserted by externally-run agents pushed to /v1/executions/ingest, over the same run count. Unverified: Runtype neither dispatched nor paid for it. 0 unless external runs were ingested. */
|
|
38918
|
+
avgSelfReportedCostUsd: number | null;
|
|
38905
38919
|
completed: number;
|
|
38906
38920
|
failed: number;
|
|
38907
38921
|
last7Days: {
|
|
@@ -38911,6 +38925,8 @@ interface paths {
|
|
|
38911
38925
|
}[];
|
|
38912
38926
|
successRate: number | null;
|
|
38913
38927
|
total: number;
|
|
38928
|
+
/** @description Count of rows behind these costs that recorded no cost figure. Their contribution is 0 because the cost is unknown, not because it was free. */
|
|
38929
|
+
unpricedExecutions: number;
|
|
38914
38930
|
};
|
|
38915
38931
|
};
|
|
38916
38932
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -894,7 +894,9 @@ interface paths {
|
|
|
894
894
|
/** Format: uri */
|
|
895
895
|
endpoint: string;
|
|
896
896
|
/** @enum {string} */
|
|
897
|
-
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "custom";
|
|
897
|
+
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "custom";
|
|
898
|
+
/** @enum {string} */
|
|
899
|
+
protocol?: "a2a" | "runtype-stream";
|
|
898
900
|
retryCount?: number;
|
|
899
901
|
skillOrchestration?: ("delegate" | "managed") | ("agent_skill" | "runtype" | "none");
|
|
900
902
|
skillOrchestrator?: {
|
|
@@ -2000,7 +2002,9 @@ interface paths {
|
|
|
2000
2002
|
/** Format: uri */
|
|
2001
2003
|
endpoint: string;
|
|
2002
2004
|
/** @enum {string} */
|
|
2003
|
-
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "custom";
|
|
2005
|
+
framework?: "langchain" | "vercel_ai" | "crewai" | "cloudflare" | "autogen" | "flue" | "custom";
|
|
2006
|
+
/** @enum {string} */
|
|
2007
|
+
protocol?: "a2a" | "runtype-stream";
|
|
2004
2008
|
retryCount?: number;
|
|
2005
2009
|
skillOrchestration?: ("delegate" | "managed") | ("agent_skill" | "runtype" | "none");
|
|
2006
2010
|
skillOrchestrator?: {
|
|
@@ -5449,7 +5453,11 @@ interface paths {
|
|
|
5449
5453
|
"application/json": {
|
|
5450
5454
|
batchExecutionId: string;
|
|
5451
5455
|
recordId: string;
|
|
5456
|
+
/** @description Portion of totalCostUsd asserted by an externally-run agent pushed to /v1/executions/ingest. Unverified: Runtype neither dispatched nor paid for it. 0 unless external runs were ingested. */
|
|
5457
|
+
selfReportedCostUsd: number;
|
|
5452
5458
|
totalCostUsd: number;
|
|
5459
|
+
/** @description Count of rows inside totalCostUsd that recorded no cost figure. Their contribution is 0 because the cost is unknown, not because it was free. */
|
|
5460
|
+
unpricedExecutions: number;
|
|
5453
5461
|
};
|
|
5454
5462
|
};
|
|
5455
5463
|
};
|
|
@@ -5632,7 +5640,7 @@ interface paths {
|
|
|
5632
5640
|
};
|
|
5633
5641
|
/**
|
|
5634
5642
|
* Get batch execution total cost
|
|
5635
|
-
* @description Returns the total cost across all records, flow steps, agent executions, and nested subagents.
|
|
5643
|
+
* @description Returns the total cost across all records, flow steps, agent executions, and nested subagents, decomposed by how much the figure can be trusted.
|
|
5636
5644
|
*/
|
|
5637
5645
|
get: {
|
|
5638
5646
|
parameters: {
|
|
@@ -5654,7 +5662,11 @@ interface paths {
|
|
|
5654
5662
|
content: {
|
|
5655
5663
|
"application/json": {
|
|
5656
5664
|
batchExecutionId: string;
|
|
5665
|
+
/** @description Portion of totalCostUsd asserted by an externally-run agent pushed to /v1/executions/ingest. Unverified: Runtype neither dispatched nor paid for it. 0 unless external runs were ingested. */
|
|
5666
|
+
selfReportedCostUsd: number;
|
|
5657
5667
|
totalCostUsd: number;
|
|
5668
|
+
/** @description Count of rows inside totalCostUsd that recorded no cost figure. Their contribution is 0 because the cost is unknown, not because it was free. */
|
|
5669
|
+
unpricedExecutions: number;
|
|
5658
5670
|
};
|
|
5659
5671
|
};
|
|
5660
5672
|
};
|
|
@@ -38902,6 +38914,8 @@ interface paths {
|
|
|
38902
38914
|
"application/json": {
|
|
38903
38915
|
avgCostUsd: number | null;
|
|
38904
38916
|
avgDurationMs: number | null;
|
|
38917
|
+
/** @description Portion of avgCostUsd asserted by externally-run agents pushed to /v1/executions/ingest, over the same run count. Unverified: Runtype neither dispatched nor paid for it. 0 unless external runs were ingested. */
|
|
38918
|
+
avgSelfReportedCostUsd: number | null;
|
|
38905
38919
|
completed: number;
|
|
38906
38920
|
failed: number;
|
|
38907
38921
|
last7Days: {
|
|
@@ -38911,6 +38925,8 @@ interface paths {
|
|
|
38911
38925
|
}[];
|
|
38912
38926
|
successRate: number | null;
|
|
38913
38927
|
total: number;
|
|
38928
|
+
/** @description Count of rows behind these costs that recorded no cost figure. Their contribution is 0 because the cost is unknown, not because it was free. */
|
|
38929
|
+
unpricedExecutions: number;
|
|
38914
38930
|
};
|
|
38915
38931
|
};
|
|
38916
38932
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -6264,7 +6264,7 @@ var Runtype = class {
|
|
|
6264
6264
|
|
|
6265
6265
|
// src/version.ts
|
|
6266
6266
|
var FALLBACK_VERSION = "0.0.0";
|
|
6267
|
-
var SDK_VERSION = "7.2.
|
|
6267
|
+
var SDK_VERSION = "7.2.1".length > 0 ? "7.2.1" : FALLBACK_VERSION;
|
|
6268
6268
|
var RUNTYPE_CLIENT_KIND = "sdk";
|
|
6269
6269
|
var SDK_USER_AGENT = `runtype-sdk/${SDK_VERSION} (typescript)`;
|
|
6270
6270
|
|
package/package.json
CHANGED