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

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.
@@ -584,6 +584,7 @@ export type Cost = {
584
584
  compile_usd?: number | null;
585
585
  followup_usd?: number | null;
586
586
  shadow_usd?: number | null;
587
+ check_usd?: number | null;
587
588
  share_usd?: number | null;
588
589
  plan?: {
589
590
  requests: number;
@@ -870,6 +871,12 @@ export type Run = {
870
871
  firing_key: string;
871
872
  } | null;
872
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
+ };
873
880
  path?: "agent" | "handed_back" | "workflow" | "replay" | "audit" | null;
874
881
  workflow?: {
875
882
  name: string | null;
@@ -947,6 +954,7 @@ export type RunFile = {
947
954
  };
948
955
  export type MessageCreate = {
949
956
  content: string;
957
+ said?: string;
950
958
  model_key?: string;
951
959
  mcp_auth?: Record<string, {
952
960
  headers: Record<string, string>;
@@ -1280,6 +1288,7 @@ export type Features = {
1280
1288
  answer: boolean;
1281
1289
  follow_up: boolean;
1282
1290
  steer_workflow_runs: boolean;
1291
+ said?: boolean;
1283
1292
  };
1284
1293
  timeline: {
1285
1294
  long_poll: boolean;
@@ -2803,7 +2812,7 @@ export type WriteHomeFileResponse = {
2803
2812
  export type GetLearningCorrectionsResponse = {
2804
2813
  text: string;
2805
2814
  etag: string;
2806
- cap_bytes: 2048;
2815
+ cap_bytes: 8192;
2807
2816
  };
2808
2817
  /** The agent's cost per run, run after run: its own cost, what learning added and the path it took (GET /agents/{agent_id}/learning/cost). */
2809
2818
  export interface GetLearningCostParams {
@@ -2828,6 +2837,7 @@ export type GetLearningCostResponse = {
2828
2837
  compile_usd?: number | null;
2829
2838
  followup_usd?: number | null;
2830
2839
  shadow_usd?: number | null;
2840
+ check_usd?: number | null;
2831
2841
  share_usd?: number | null;
2832
2842
  not_served?: "cost_stop" | "cut" | null;
2833
2843
  }>;
@@ -3070,7 +3080,7 @@ export interface PutLearningCorrectionsParams {
3070
3080
  export type PutLearningCorrectionsResponse = {
3071
3081
  text: string;
3072
3082
  etag: string;
3073
- cap_bytes: 2048;
3083
+ cap_bytes: 8192;
3074
3084
  };
3075
3085
  /** Start Connect GitHub: the app-manifest form the console posts to GitHub (POST /integrations/github/connect). */
3076
3086
  export type ConnectGitHubBody = {
@@ -5020,6 +5030,9 @@ export type GetRunLearningResponse = {
5020
5030
  detail: string | null;
5021
5031
  at: string;
5022
5032
  seed: string | null;
5033
+ seed_failed: "unreadable" | "not_copied" | "other_disk" | null;
5034
+ seed_waited: "ended" | "timed_out" | null;
5035
+ learned_chars: number;
5023
5036
  merged: string | null;
5024
5037
  workflows: Array<{
5025
5038
  file: string;
@@ -5027,6 +5040,7 @@ export type GetRunLearningResponse = {
5027
5040
  pending?: true;
5028
5041
  }>;
5029
5042
  corrections: number;
5043
+ dropped_lines: number;
5030
5044
  problems: Array<{
5031
5045
  rule: string;
5032
5046
  path?: string;
@@ -5783,6 +5797,12 @@ export type GetTemplateResponse = {
5783
5797
  dropped: Array<string>;
5784
5798
  note: string | null;
5785
5799
  } | null;
5800
+ model_tiers_here: {
5801
+ harness: string;
5802
+ fast: string | null;
5803
+ strong: string | null;
5804
+ note: string | null;
5805
+ };
5786
5806
  category: "engineering" | "security" | "sales" | "marketing" | "research" | "finance" | "operations" | "compliance" | "personal" | null;
5787
5807
  tags: Array<string>;
5788
5808
  mcp: Array<{
@@ -5888,6 +5908,12 @@ export type ImportTemplateResponse = {
5888
5908
  dropped: Array<string>;
5889
5909
  note: string | null;
5890
5910
  } | null;
5911
+ model_tiers_here: {
5912
+ harness: string;
5913
+ fast: string | null;
5914
+ strong: string | null;
5915
+ note: string | null;
5916
+ };
5891
5917
  category: "engineering" | "security" | "sales" | "marketing" | "research" | "finance" | "operations" | "compliance" | "personal" | null;
5892
5918
  tags: Array<string>;
5893
5919
  mcp: Array<{
@@ -5986,6 +6012,12 @@ export type ListTemplatesResponse = {
5986
6012
  dropped: Array<string>;
5987
6013
  note: string | null;
5988
6014
  } | null;
6015
+ model_tiers_here: {
6016
+ harness: string;
6017
+ fast: string | null;
6018
+ strong: string | null;
6019
+ note: string | null;
6020
+ };
5989
6021
  category: "engineering" | "security" | "sales" | "marketing" | "research" | "finance" | "operations" | "compliance" | "personal" | null;
5990
6022
  tags: Array<string>;
5991
6023
  mcp: Array<{
@@ -7426,6 +7458,11 @@ export type GetWrappedResponse = {
7426
7458
  };
7427
7459
  unpriced_breaks: number;
7428
7460
  } | null;
7461
+ secrets: {
7462
+ runs: number;
7463
+ runs_holding: number;
7464
+ removed: number;
7465
+ } | null;
7429
7466
  };
7430
7467
  /** Each operation as the runtime sends it, by operationId. */
7431
7468
  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.62",
3
+ "version": "0.1.0-beta.64",
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.62"
86
+ "@parcha/agentrun-dsl": "0.1.0-beta.64"
87
87
  }
88
88
  }