@parcha/agentrun-client 0.1.0-beta.66 → 0.1.0-beta.68
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/operations.generated.d.ts +50 -15
- package/package.json +2 -2
|
@@ -177,7 +177,7 @@ export type DefinitionInput = {
|
|
|
177
177
|
mode: "runner";
|
|
178
178
|
} | {
|
|
179
179
|
mode: "sandbox";
|
|
180
|
-
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
180
|
+
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox" | "vercel" | "sprites" | "instabox";
|
|
181
181
|
};
|
|
182
182
|
computer?: {
|
|
183
183
|
kind: "none" | "sandbox" | "desktop" | "phone" | "browser";
|
|
@@ -499,6 +499,7 @@ export type RunSummary = {
|
|
|
499
499
|
kind: "question";
|
|
500
500
|
question: string;
|
|
501
501
|
asked_at: string;
|
|
502
|
+
expires_at?: string;
|
|
502
503
|
} | {
|
|
503
504
|
kind: "approval";
|
|
504
505
|
id: string;
|
|
@@ -538,7 +539,7 @@ export type RunSummary = {
|
|
|
538
539
|
kind: "stopped";
|
|
539
540
|
} | null;
|
|
540
541
|
imported_from?: {
|
|
541
|
-
source: "claude-code" | "codex" | "pi" | "opencode" | "copilot";
|
|
542
|
+
source: "claude-code" | "codex" | "pi" | "opencode" | "copilot" | "cursor";
|
|
542
543
|
session: string;
|
|
543
544
|
} | null;
|
|
544
545
|
trigger?: {
|
|
@@ -792,7 +793,7 @@ export type Run = {
|
|
|
792
793
|
mode: "runner";
|
|
793
794
|
} | {
|
|
794
795
|
mode: "sandbox";
|
|
795
|
-
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
796
|
+
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox" | "vercel" | "sprites" | "instabox";
|
|
796
797
|
};
|
|
797
798
|
computer?: {
|
|
798
799
|
kind: "sandbox" | "desktop" | "phone" | "browser";
|
|
@@ -827,6 +828,7 @@ export type Run = {
|
|
|
827
828
|
kind: "question";
|
|
828
829
|
question: string;
|
|
829
830
|
asked_at: string;
|
|
831
|
+
expires_at?: string;
|
|
830
832
|
} | {
|
|
831
833
|
kind: "approval";
|
|
832
834
|
id: string;
|
|
@@ -866,7 +868,7 @@ export type Run = {
|
|
|
866
868
|
kind: "stopped";
|
|
867
869
|
} | null;
|
|
868
870
|
imported_from?: {
|
|
869
|
-
source: "claude-code" | "codex" | "pi" | "opencode" | "copilot";
|
|
871
|
+
source: "claude-code" | "codex" | "pi" | "opencode" | "copilot" | "cursor";
|
|
870
872
|
session: string;
|
|
871
873
|
} | null;
|
|
872
874
|
trigger?: {
|
|
@@ -1145,7 +1147,7 @@ export type Capabilities = {
|
|
|
1145
1147
|
places: {
|
|
1146
1148
|
modes: Array<"runner" | "sandbox">;
|
|
1147
1149
|
boxes: Array<{
|
|
1148
|
-
id: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
1150
|
+
id: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox" | "vercel" | "sprites" | "instabox";
|
|
1149
1151
|
available: boolean;
|
|
1150
1152
|
state: "ready" | "unavailable";
|
|
1151
1153
|
reason?: string;
|
|
@@ -1157,7 +1159,7 @@ export type Capabilities = {
|
|
|
1157
1159
|
mode: "runner";
|
|
1158
1160
|
} | {
|
|
1159
1161
|
mode: "sandbox";
|
|
1160
|
-
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox";
|
|
1162
|
+
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "render" | "boxd" | "groundbox" | "vercel" | "sprites" | "instabox";
|
|
1161
1163
|
} | null;
|
|
1162
1164
|
default_reason?: string;
|
|
1163
1165
|
allow: Array<string>;
|
|
@@ -1346,6 +1348,7 @@ export type Features = {
|
|
|
1346
1348
|
auth: Array<"none" | "bearer" | "headers" | "oauth" | "github_app" | "per_run">;
|
|
1347
1349
|
at_rest: "sealed";
|
|
1348
1350
|
harnesses: Array<string>;
|
|
1351
|
+
composio_key_envs?: Array<string>;
|
|
1349
1352
|
composio_per_run: boolean;
|
|
1350
1353
|
};
|
|
1351
1354
|
tool_permissions?: boolean;
|
|
@@ -1825,6 +1828,7 @@ export type ListLearningPromotionsResponse = {
|
|
|
1825
1828
|
};
|
|
1826
1829
|
};
|
|
1827
1830
|
unjudged?: number;
|
|
1831
|
+
unread?: number;
|
|
1828
1832
|
}>;
|
|
1829
1833
|
of?: Array<string>;
|
|
1830
1834
|
cost_usd?: number | null;
|
|
@@ -1855,6 +1859,8 @@ export type ListLearningPromotionsResponse = {
|
|
|
1855
1859
|
value?: string;
|
|
1856
1860
|
}>;
|
|
1857
1861
|
}>;
|
|
1862
|
+
unread?: number;
|
|
1863
|
+
undecided?: true;
|
|
1858
1864
|
stopped?: true;
|
|
1859
1865
|
released?: number;
|
|
1860
1866
|
fresh_reads?: number;
|
|
@@ -1875,6 +1881,7 @@ export type ListLearningPromotionsResponse = {
|
|
|
1875
1881
|
agent_right: number;
|
|
1876
1882
|
};
|
|
1877
1883
|
unjudged?: number;
|
|
1884
|
+
unread?: number;
|
|
1878
1885
|
}>;
|
|
1879
1886
|
of: Array<string>;
|
|
1880
1887
|
outcomes: {
|
|
@@ -1899,6 +1906,7 @@ export type ListLearningPromotionsResponse = {
|
|
|
1899
1906
|
}>;
|
|
1900
1907
|
}>;
|
|
1901
1908
|
fresh_reads?: number;
|
|
1909
|
+
unread?: number;
|
|
1902
1910
|
};
|
|
1903
1911
|
};
|
|
1904
1912
|
runs?: Array<string>;
|
|
@@ -1986,6 +1994,7 @@ export type ListLearningPromotionsResponse = {
|
|
|
1986
1994
|
};
|
|
1987
1995
|
};
|
|
1988
1996
|
unjudged?: number;
|
|
1997
|
+
unread?: number;
|
|
1989
1998
|
}>;
|
|
1990
1999
|
of?: Array<string>;
|
|
1991
2000
|
cost_usd?: number | null;
|
|
@@ -2016,6 +2025,8 @@ export type ListLearningPromotionsResponse = {
|
|
|
2016
2025
|
value?: string;
|
|
2017
2026
|
}>;
|
|
2018
2027
|
}>;
|
|
2028
|
+
unread?: number;
|
|
2029
|
+
undecided?: true;
|
|
2019
2030
|
stopped?: true;
|
|
2020
2031
|
released?: number;
|
|
2021
2032
|
fresh_reads?: number;
|
|
@@ -2036,6 +2047,7 @@ export type ListLearningPromotionsResponse = {
|
|
|
2036
2047
|
agent_right: number;
|
|
2037
2048
|
};
|
|
2038
2049
|
unjudged?: number;
|
|
2050
|
+
unread?: number;
|
|
2039
2051
|
}>;
|
|
2040
2052
|
of: Array<string>;
|
|
2041
2053
|
outcomes: {
|
|
@@ -2060,6 +2072,7 @@ export type ListLearningPromotionsResponse = {
|
|
|
2060
2072
|
}>;
|
|
2061
2073
|
}>;
|
|
2062
2074
|
fresh_reads?: number;
|
|
2075
|
+
unread?: number;
|
|
2063
2076
|
};
|
|
2064
2077
|
} | null;
|
|
2065
2078
|
} | null;
|
|
@@ -3584,7 +3597,8 @@ export type ListComposioEventsResponse = {
|
|
|
3584
3597
|
};
|
|
3585
3598
|
/** List the toolkits Composio offers, for the console's toolkit picker; stores nothing (POST /settings/mcp-servers/composio/toolkits). Its body's string values are secrets: each copy is cut from the answer, and a refusal keeps only its code. */
|
|
3586
3599
|
export type ListComposioToolkitsBody = {
|
|
3587
|
-
api_key
|
|
3600
|
+
api_key?: string;
|
|
3601
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
3588
3602
|
};
|
|
3589
3603
|
export type ListComposioToolkitsResponse = {
|
|
3590
3604
|
toolkits: Array<{
|
|
@@ -3594,8 +3608,9 @@ export type ListComposioToolkitsResponse = {
|
|
|
3594
3608
|
};
|
|
3595
3609
|
/** List the actions of a Composio toolkit, for the console's picker; stores nothing (POST /settings/mcp-servers/composio/tools). Its body's string values are secrets: each copy is cut from the answer, and a refusal keeps only its code. */
|
|
3596
3610
|
export type ListComposioToolsBody = {
|
|
3597
|
-
api_key: string;
|
|
3598
3611
|
toolkit: string;
|
|
3612
|
+
api_key?: string;
|
|
3613
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
3599
3614
|
};
|
|
3600
3615
|
export type ListComposioToolsResponse = {
|
|
3601
3616
|
toolkit: string;
|
|
@@ -4067,7 +4082,7 @@ export type SaveComposioServerBody = {
|
|
|
4067
4082
|
auth_config_id?: string;
|
|
4068
4083
|
price_usd?: number;
|
|
4069
4084
|
api_key?: string;
|
|
4070
|
-
api_key_env?: "COMPOSIO_API_KEY";
|
|
4085
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
4071
4086
|
};
|
|
4072
4087
|
export type SaveComposioServerResponse = {
|
|
4073
4088
|
server: {
|
|
@@ -4078,7 +4093,7 @@ export type SaveComposioServerResponse = {
|
|
|
4078
4093
|
auth: {
|
|
4079
4094
|
type: "none" | "bearer" | "headers" | "oauth" | "github_app" | "per_run";
|
|
4080
4095
|
headers?: Array<string>;
|
|
4081
|
-
api_key_env?: "COMPOSIO_API_KEY";
|
|
4096
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
4082
4097
|
};
|
|
4083
4098
|
credential: "sealed" | "unreadable" | "expired" | null;
|
|
4084
4099
|
oauth?: {
|
|
@@ -4235,6 +4250,9 @@ export type SaveModelGatewayResponse = {
|
|
|
4235
4250
|
/** Scan a repository for places its app needs an agent (POST /suggestions/scans). */
|
|
4236
4251
|
export type ScanForSuggestionsBody = {
|
|
4237
4252
|
repo: string;
|
|
4253
|
+
start?: "host";
|
|
4254
|
+
run_id?: string;
|
|
4255
|
+
scan?: string;
|
|
4238
4256
|
};
|
|
4239
4257
|
export type ScanForSuggestionsResponse = {
|
|
4240
4258
|
repo: string;
|
|
@@ -4242,6 +4260,23 @@ export type ScanForSuggestionsResponse = {
|
|
|
4242
4260
|
agent_id: string;
|
|
4243
4261
|
status: "running";
|
|
4244
4262
|
already_running: boolean;
|
|
4263
|
+
} | {
|
|
4264
|
+
repo: string;
|
|
4265
|
+
agent_id: string;
|
|
4266
|
+
input: {
|
|
4267
|
+
content: string;
|
|
4268
|
+
};
|
|
4269
|
+
scan: string;
|
|
4270
|
+
status: "starting";
|
|
4271
|
+
} | {
|
|
4272
|
+
repo: string;
|
|
4273
|
+
status: "released";
|
|
4274
|
+
} | {
|
|
4275
|
+
repo: string;
|
|
4276
|
+
run_id: string;
|
|
4277
|
+
agent_id: string;
|
|
4278
|
+
status: "running";
|
|
4279
|
+
already_running: boolean;
|
|
4245
4280
|
};
|
|
4246
4281
|
/** Sign out of ChatGPT: the session revoked at OpenAI, then forgotten here (DELETE /settings/chatgpt). */
|
|
4247
4282
|
export type SignOutChatGPTResponse = {
|
|
@@ -4471,7 +4506,7 @@ export type GetMcpServerResponse = {
|
|
|
4471
4506
|
auth: {
|
|
4472
4507
|
type: "none" | "bearer" | "headers" | "oauth" | "github_app" | "per_run";
|
|
4473
4508
|
headers?: Array<string>;
|
|
4474
|
-
api_key_env?: "COMPOSIO_API_KEY";
|
|
4509
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
4475
4510
|
};
|
|
4476
4511
|
credential: "sealed" | "unreadable" | "expired" | null;
|
|
4477
4512
|
oauth?: {
|
|
@@ -4522,7 +4557,7 @@ export type ListMcpServersResponse = {
|
|
|
4522
4557
|
auth: {
|
|
4523
4558
|
type: "none" | "bearer" | "headers" | "oauth" | "github_app" | "per_run";
|
|
4524
4559
|
headers?: Array<string>;
|
|
4525
|
-
api_key_env?: "COMPOSIO_API_KEY";
|
|
4560
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
4526
4561
|
};
|
|
4527
4562
|
credential: "sealed" | "unreadable" | "expired" | null;
|
|
4528
4563
|
oauth?: {
|
|
@@ -4618,7 +4653,7 @@ export type RefreshMcpServerResponse = {
|
|
|
4618
4653
|
auth: {
|
|
4619
4654
|
type: "none" | "bearer" | "headers" | "oauth" | "github_app" | "per_run";
|
|
4620
4655
|
headers?: Array<string>;
|
|
4621
|
-
api_key_env?: "COMPOSIO_API_KEY";
|
|
4656
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
4622
4657
|
};
|
|
4623
4658
|
credential: "sealed" | "unreadable" | "expired" | null;
|
|
4624
4659
|
oauth?: {
|
|
@@ -4679,7 +4714,7 @@ export type SaveMcpServerResponse = {
|
|
|
4679
4714
|
auth: {
|
|
4680
4715
|
type: "none" | "bearer" | "headers" | "oauth" | "github_app" | "per_run";
|
|
4681
4716
|
headers?: Array<string>;
|
|
4682
|
-
api_key_env?: "COMPOSIO_API_KEY";
|
|
4717
|
+
api_key_env?: "COMPOSIO_API_KEY" | "AGENTRUN_COMPOSIO_API_KEY";
|
|
4683
4718
|
};
|
|
4684
4719
|
credential: "sealed" | "unreadable" | "expired" | null;
|
|
4685
4720
|
oauth?: {
|
|
@@ -5659,7 +5694,7 @@ export type GetStatsResponse = {
|
|
|
5659
5694
|
unknown_cost_runs: number;
|
|
5660
5695
|
}>;
|
|
5661
5696
|
by_source: Array<{
|
|
5662
|
-
source: "live" | "claude-code" | "codex" | "pi" | "opencode" | "copilot";
|
|
5697
|
+
source: "live" | "claude-code" | "codex" | "pi" | "opencode" | "copilot" | "cursor";
|
|
5663
5698
|
runs: number;
|
|
5664
5699
|
completed: number;
|
|
5665
5700
|
needs_review: number;
|
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.68",
|
|
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.68"
|
|
87
87
|
}
|
|
88
88
|
}
|