@parcha/agentrun-client 0.1.0-beta.61 → 0.1.0-beta.63
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.
|
@@ -63,6 +63,7 @@ export type Agent = {
|
|
|
63
63
|
provider_from?: "agent" | "server" | "default";
|
|
64
64
|
default_provider?: string;
|
|
65
65
|
resolved?: string;
|
|
66
|
+
ceiling?: string;
|
|
66
67
|
permission: "allow" | "ask" | "deny";
|
|
67
68
|
permission_from: "agent" | "server" | "default" | "unattended";
|
|
68
69
|
default_permission: "allow" | "ask" | "deny";
|
|
@@ -176,7 +177,7 @@ export type DefinitionInput = {
|
|
|
176
177
|
mode: "runner";
|
|
177
178
|
} | {
|
|
178
179
|
mode: "sandbox";
|
|
179
|
-
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
|
|
180
|
+
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
180
181
|
};
|
|
181
182
|
computer?: {
|
|
182
183
|
kind: "none" | "sandbox" | "desktop" | "phone" | "browser";
|
|
@@ -583,6 +584,7 @@ export type Cost = {
|
|
|
583
584
|
compile_usd?: number | null;
|
|
584
585
|
followup_usd?: number | null;
|
|
585
586
|
shadow_usd?: number | null;
|
|
587
|
+
check_usd?: number | null;
|
|
586
588
|
share_usd?: number | null;
|
|
587
589
|
plan?: {
|
|
588
590
|
requests: number;
|
|
@@ -787,7 +789,7 @@ export type Run = {
|
|
|
787
789
|
mode: "runner";
|
|
788
790
|
} | {
|
|
789
791
|
mode: "sandbox";
|
|
790
|
-
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
|
|
792
|
+
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
791
793
|
};
|
|
792
794
|
computer?: {
|
|
793
795
|
kind: "sandbox" | "desktop" | "phone" | "browser";
|
|
@@ -869,6 +871,12 @@ export type Run = {
|
|
|
869
871
|
firing_key: string;
|
|
870
872
|
} | null;
|
|
871
873
|
audit_of?: string | null;
|
|
874
|
+
learning_work: {
|
|
875
|
+
state: "none" | "running" | "ended";
|
|
876
|
+
runs: Array<string>;
|
|
877
|
+
ended_at: string | null;
|
|
878
|
+
deadline_at: string | null;
|
|
879
|
+
};
|
|
872
880
|
path?: "agent" | "handed_back" | "workflow" | "replay" | "audit" | null;
|
|
873
881
|
workflow?: {
|
|
874
882
|
name: string | null;
|
|
@@ -1133,7 +1141,7 @@ export type Capabilities = {
|
|
|
1133
1141
|
places: {
|
|
1134
1142
|
modes: Array<"runner" | "sandbox">;
|
|
1135
1143
|
boxes: Array<{
|
|
1136
|
-
id: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
|
|
1144
|
+
id: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
1137
1145
|
available: boolean;
|
|
1138
1146
|
state: "ready" | "unavailable";
|
|
1139
1147
|
reason?: string;
|
|
@@ -1145,7 +1153,7 @@ export type Capabilities = {
|
|
|
1145
1153
|
mode: "runner";
|
|
1146
1154
|
} | {
|
|
1147
1155
|
mode: "sandbox";
|
|
1148
|
-
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
|
|
1156
|
+
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
1149
1157
|
} | null;
|
|
1150
1158
|
default_reason?: string;
|
|
1151
1159
|
allow: Array<string>;
|
|
@@ -1628,6 +1636,7 @@ export type GetAgentResponse = Agent & ({
|
|
|
1628
1636
|
provider_from?: "agent" | "server" | "default";
|
|
1629
1637
|
default_provider?: string;
|
|
1630
1638
|
resolved?: string;
|
|
1639
|
+
ceiling?: string;
|
|
1631
1640
|
permission: "allow" | "ask" | "deny";
|
|
1632
1641
|
permission_from: "agent" | "server" | "default" | "unattended";
|
|
1633
1642
|
default_permission: "allow" | "ask" | "deny";
|
|
@@ -2826,6 +2835,7 @@ export type GetLearningCostResponse = {
|
|
|
2826
2835
|
compile_usd?: number | null;
|
|
2827
2836
|
followup_usd?: number | null;
|
|
2828
2837
|
shadow_usd?: number | null;
|
|
2838
|
+
check_usd?: number | null;
|
|
2829
2839
|
share_usd?: number | null;
|
|
2830
2840
|
not_served?: "cost_stop" | "cut" | null;
|
|
2831
2841
|
}>;
|
|
@@ -7403,6 +7413,27 @@ export type GetWrappedResponse = {
|
|
|
7403
7413
|
runs: number;
|
|
7404
7414
|
}>;
|
|
7405
7415
|
unread_files: number;
|
|
7416
|
+
cache: {
|
|
7417
|
+
runs: number;
|
|
7418
|
+
hit_rate: number | null;
|
|
7419
|
+
breaks: {
|
|
7420
|
+
model: number;
|
|
7421
|
+
idle: number;
|
|
7422
|
+
compaction: number;
|
|
7423
|
+
edited: number;
|
|
7424
|
+
sidechain: number;
|
|
7425
|
+
unknown: number;
|
|
7426
|
+
};
|
|
7427
|
+
extra_cost_usd: {
|
|
7428
|
+
model: number;
|
|
7429
|
+
idle: number;
|
|
7430
|
+
compaction: number;
|
|
7431
|
+
edited: number;
|
|
7432
|
+
sidechain: number;
|
|
7433
|
+
unknown: number;
|
|
7434
|
+
};
|
|
7435
|
+
unpriced_breaks: number;
|
|
7436
|
+
} | null;
|
|
7406
7437
|
};
|
|
7407
7438
|
/** Each operation as the runtime sends it, by operationId. */
|
|
7408
7439
|
export declare const OPERATIONS: Readonly<Record<string, Operation>>;
|
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.63",
|
|
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.63"
|
|
87
87
|
}
|
|
88
88
|
}
|