@parcha/agentrun-client 0.1.0-beta.57 → 0.1.0-beta.58
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.
|
@@ -527,6 +527,10 @@ export type Cost = {
|
|
|
527
527
|
learning_usd?: number | null;
|
|
528
528
|
tools_usd?: number | null;
|
|
529
529
|
all_in_usd?: number | null;
|
|
530
|
+
compile_usd?: number | null;
|
|
531
|
+
followup_usd?: number | null;
|
|
532
|
+
shadow_usd?: number | null;
|
|
533
|
+
share_usd?: number | null;
|
|
530
534
|
degraded?: true;
|
|
531
535
|
plan?: {
|
|
532
536
|
requests: number;
|
|
@@ -2621,6 +2625,11 @@ export type GetLearningCostResponse = {
|
|
|
2621
2625
|
cost_upper_bound: boolean;
|
|
2622
2626
|
learning_usd: number | null;
|
|
2623
2627
|
total_usd: number | null;
|
|
2628
|
+
compile_usd?: number | null;
|
|
2629
|
+
followup_usd?: number | null;
|
|
2630
|
+
shadow_usd?: number | null;
|
|
2631
|
+
share_usd?: number | null;
|
|
2632
|
+
not_served?: "cost_stop" | "cut" | null;
|
|
2624
2633
|
}>;
|
|
2625
2634
|
total_runs: number;
|
|
2626
2635
|
unknown_cost_runs: number;
|
|
@@ -3375,6 +3384,8 @@ export type ListComputersResponse = {
|
|
|
3375
3384
|
online: boolean;
|
|
3376
3385
|
held_by_run: string | null;
|
|
3377
3386
|
held_until: string | null;
|
|
3387
|
+
held_on: string | null;
|
|
3388
|
+
hold_note: string | null;
|
|
3378
3389
|
pairing: string;
|
|
3379
3390
|
created_at: string;
|
|
3380
3391
|
seen_at: string | null;
|
|
@@ -4688,6 +4699,7 @@ export interface ListAllRunsParams {
|
|
|
4688
4699
|
status?: "queued" | "working" | "paused" | "input_required" | "completed" | "failed" | "cancelled";
|
|
4689
4700
|
archived?: boolean;
|
|
4690
4701
|
label?: string;
|
|
4702
|
+
source?: string;
|
|
4691
4703
|
}
|
|
4692
4704
|
export type ListAllRunsResponse = RunList;
|
|
4693
4705
|
/** Send the run a message (POST /runs/{run_id}/messages). */
|
|
@@ -6976,12 +6988,14 @@ export type GetWrappedResponse = {
|
|
|
6976
6988
|
sessions: number;
|
|
6977
6989
|
requests: number;
|
|
6978
6990
|
tokens: number;
|
|
6991
|
+
sources: Array<string>;
|
|
6979
6992
|
}>;
|
|
6980
6993
|
models: Array<{
|
|
6981
6994
|
model: string;
|
|
6982
6995
|
requests: number;
|
|
6983
6996
|
tokens: number;
|
|
6984
6997
|
cost_usd: number;
|
|
6998
|
+
unpriced_requests: number;
|
|
6985
6999
|
}>;
|
|
6986
7000
|
sources: Array<{
|
|
6987
7001
|
source: string;
|
|
@@ -150,7 +150,7 @@ export const OPERATIONS = {
|
|
|
150
150
|
handBackRunComputer: { "method": "POST", "path": "/runs/{run_id}/computer/hand-back", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": false, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
151
151
|
getRunLearning: { "method": "GET", "path": "/runs/{run_id}/learning", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
152
152
|
getRunLearningDiff: { "method": "GET", "path": "/runs/{run_id}/learning/diff", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
153
|
-
listAllRuns: { "method": "GET", "path": "/runs", "pathParams": [], "multiSegment": [], "query": ["limit", "cursor", "agent", "revision", "status", "archived", "label"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
153
|
+
listAllRuns: { "method": "GET", "path": "/runs", "pathParams": [], "multiSegment": [], "query": ["limit", "cursor", "agent", "revision", "status", "archived", "label", "source"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
154
154
|
sendMessage: { "method": "POST", "path": "/runs/{run_id}/messages", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": ["Idempotency-Key"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
155
155
|
pauseRun: { "method": "POST", "path": "/runs/{run_id}/pause", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
156
156
|
raiseRunCap: { "method": "PATCH", "path": "/runs/{run_id}", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parcha/agentrun-client",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.58",
|
|
4
4
|
"description": "A typed TypeScript client for a self-hosted AgentRun server: a method per operation of its API, typed from its OpenAPI document, with waiting for a run and following its timeline. No dependencies; fetch only.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agentrun",
|
|
@@ -83,6 +83,6 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@parcha/agentrun-dsl": "0.1.0-beta.
|
|
86
|
+
"@parcha/agentrun-dsl": "0.1.0-beta.58"
|
|
87
87
|
}
|
|
88
88
|
}
|