@parcha/agentrun-client 0.1.0-beta.61 → 0.1.0-beta.62

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";
@@ -787,7 +788,7 @@ export type Run = {
787
788
  mode: "runner";
788
789
  } | {
789
790
  mode: "sandbox";
790
- box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
791
+ box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
791
792
  };
792
793
  computer?: {
793
794
  kind: "sandbox" | "desktop" | "phone" | "browser";
@@ -1133,7 +1134,7 @@ export type Capabilities = {
1133
1134
  places: {
1134
1135
  modes: Array<"runner" | "sandbox">;
1135
1136
  boxes: Array<{
1136
- id: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
1137
+ id: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
1137
1138
  available: boolean;
1138
1139
  state: "ready" | "unavailable";
1139
1140
  reason?: string;
@@ -1145,7 +1146,7 @@ export type Capabilities = {
1145
1146
  mode: "runner";
1146
1147
  } | {
1147
1148
  mode: "sandbox";
1148
- box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
1149
+ box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
1149
1150
  } | null;
1150
1151
  default_reason?: string;
1151
1152
  allow: Array<string>;
@@ -1628,6 +1629,7 @@ export type GetAgentResponse = Agent & ({
1628
1629
  provider_from?: "agent" | "server" | "default";
1629
1630
  default_provider?: string;
1630
1631
  resolved?: string;
1632
+ ceiling?: string;
1631
1633
  permission: "allow" | "ask" | "deny";
1632
1634
  permission_from: "agent" | "server" | "default" | "unattended";
1633
1635
  default_permission: "allow" | "ask" | "deny";
@@ -7403,6 +7405,27 @@ export type GetWrappedResponse = {
7403
7405
  runs: number;
7404
7406
  }>;
7405
7407
  unread_files: number;
7408
+ cache: {
7409
+ runs: number;
7410
+ hit_rate: number | null;
7411
+ breaks: {
7412
+ model: number;
7413
+ idle: number;
7414
+ compaction: number;
7415
+ edited: number;
7416
+ sidechain: number;
7417
+ unknown: number;
7418
+ };
7419
+ extra_cost_usd: {
7420
+ model: number;
7421
+ idle: number;
7422
+ compaction: number;
7423
+ edited: number;
7424
+ sidechain: number;
7425
+ unknown: number;
7426
+ };
7427
+ unpriced_breaks: number;
7428
+ } | null;
7406
7429
  };
7407
7430
  /** Each operation as the runtime sends it, by operationId. */
7408
7431
  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.61",
3
+ "version": "0.1.0-beta.62",
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.61"
86
+ "@parcha/agentrun-dsl": "0.1.0-beta.62"
87
87
  }
88
88
  }