@parcha/agentrun-client 0.1.0-beta.59 → 0.1.0-beta.61
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.
|
@@ -337,6 +337,8 @@ export type AgentList = {
|
|
|
337
337
|
export type RunList = {
|
|
338
338
|
runs: Array<RunSummary>;
|
|
339
339
|
next_cursor: string | null;
|
|
340
|
+
scope?: "active" | "review";
|
|
341
|
+
observed_at?: string;
|
|
340
342
|
};
|
|
341
343
|
export type RunSummary = {
|
|
342
344
|
run_id: Id;
|
|
@@ -349,6 +351,18 @@ export type RunSummary = {
|
|
|
349
351
|
created_at: Timestamp;
|
|
350
352
|
ended_at: Timestamp | null;
|
|
351
353
|
cost: Cost;
|
|
354
|
+
computer?: {
|
|
355
|
+
kind: "sandbox" | "desktop" | "phone" | "browser";
|
|
356
|
+
provider: string;
|
|
357
|
+
state: "starting" | "ready" | "taken_over" | "released" | "ended" | "failed";
|
|
358
|
+
why?: string;
|
|
359
|
+
held?: {
|
|
360
|
+
state: "starting" | "waiting" | "started" | "ended" | "released";
|
|
361
|
+
minutes: number;
|
|
362
|
+
until?: string;
|
|
363
|
+
why?: "timeout" | "lost";
|
|
364
|
+
};
|
|
365
|
+
};
|
|
352
366
|
sdk?: {
|
|
353
367
|
runtime: "claude-agent-sdk" | "codex-sdk" | "eve";
|
|
354
368
|
model: string | null;
|
|
@@ -422,6 +436,37 @@ export type RunSummary = {
|
|
|
422
436
|
};
|
|
423
437
|
model_requests: null;
|
|
424
438
|
};
|
|
439
|
+
factory?: {
|
|
440
|
+
lifecycle_version: string;
|
|
441
|
+
source: "managed" | "native" | "sdk" | "cli";
|
|
442
|
+
runtime: string;
|
|
443
|
+
control: "managed" | "observed";
|
|
444
|
+
controls: {
|
|
445
|
+
stop: boolean;
|
|
446
|
+
cancel: boolean;
|
|
447
|
+
approve: boolean;
|
|
448
|
+
};
|
|
449
|
+
observation: {
|
|
450
|
+
basis: "runner" | "connector" | "unreported";
|
|
451
|
+
status: "current" | "offline" | "revoked" | "unreported";
|
|
452
|
+
last_seen_at: string | null;
|
|
453
|
+
};
|
|
454
|
+
last_activity_at: string | null;
|
|
455
|
+
github: null | {
|
|
456
|
+
repository: string;
|
|
457
|
+
issue: number | null;
|
|
458
|
+
pull_request: number | null;
|
|
459
|
+
head_sha: string | null;
|
|
460
|
+
provenance: "launch" | "github_trigger";
|
|
461
|
+
};
|
|
462
|
+
children: Array<{
|
|
463
|
+
id: string;
|
|
464
|
+
conversation_id: number;
|
|
465
|
+
parent_call_id: string;
|
|
466
|
+
status: "active" | "completed";
|
|
467
|
+
label: string | null;
|
|
468
|
+
}>;
|
|
469
|
+
};
|
|
425
470
|
console_url?: string;
|
|
426
471
|
revision: string;
|
|
427
472
|
kind: "agentic" | "workflow";
|
|
@@ -433,7 +478,7 @@ export type RunSummary = {
|
|
|
433
478
|
error?: RunError | null;
|
|
434
479
|
learning?: {
|
|
435
480
|
state: "seeded" | "reflecting" | "merged" | "dropped";
|
|
436
|
-
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | null;
|
|
481
|
+
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | "purged_since_seed" | null;
|
|
437
482
|
detail: string | null;
|
|
438
483
|
workflows?: Array<{
|
|
439
484
|
file: string;
|
|
@@ -539,7 +584,6 @@ export type Cost = {
|
|
|
539
584
|
followup_usd?: number | null;
|
|
540
585
|
shadow_usd?: number | null;
|
|
541
586
|
share_usd?: number | null;
|
|
542
|
-
degraded?: true;
|
|
543
587
|
plan?: {
|
|
544
588
|
requests: number;
|
|
545
589
|
tokens: number;
|
|
@@ -685,6 +729,37 @@ export type Run = {
|
|
|
685
729
|
};
|
|
686
730
|
model_requests: null;
|
|
687
731
|
};
|
|
732
|
+
factory?: {
|
|
733
|
+
lifecycle_version: string;
|
|
734
|
+
source: "managed" | "native" | "sdk" | "cli";
|
|
735
|
+
runtime: string;
|
|
736
|
+
control: "managed" | "observed";
|
|
737
|
+
controls: {
|
|
738
|
+
stop: boolean;
|
|
739
|
+
cancel: boolean;
|
|
740
|
+
approve: boolean;
|
|
741
|
+
};
|
|
742
|
+
observation: {
|
|
743
|
+
basis: "runner" | "connector" | "unreported";
|
|
744
|
+
status: "current" | "offline" | "revoked" | "unreported";
|
|
745
|
+
last_seen_at: string | null;
|
|
746
|
+
};
|
|
747
|
+
last_activity_at: string | null;
|
|
748
|
+
github: null | {
|
|
749
|
+
repository: string;
|
|
750
|
+
issue: number | null;
|
|
751
|
+
pull_request: number | null;
|
|
752
|
+
head_sha: string | null;
|
|
753
|
+
provenance: "launch" | "github_trigger";
|
|
754
|
+
};
|
|
755
|
+
children: Array<{
|
|
756
|
+
id: string;
|
|
757
|
+
conversation_id: number;
|
|
758
|
+
parent_call_id: string;
|
|
759
|
+
status: "active" | "completed";
|
|
760
|
+
label: string | null;
|
|
761
|
+
}>;
|
|
762
|
+
};
|
|
688
763
|
console_url?: string;
|
|
689
764
|
revision: string;
|
|
690
765
|
kind: "agentic" | "workflow";
|
|
@@ -728,7 +803,7 @@ export type Run = {
|
|
|
728
803
|
};
|
|
729
804
|
learning?: {
|
|
730
805
|
state: "seeded" | "reflecting" | "merged" | "dropped";
|
|
731
|
-
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | null;
|
|
806
|
+
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | "purged_since_seed" | null;
|
|
732
807
|
detail: string | null;
|
|
733
808
|
at: string;
|
|
734
809
|
workflows?: Array<{
|
|
@@ -1002,7 +1077,7 @@ export type TimelineRow = {
|
|
|
1002
1077
|
tool_result_text?: string | null;
|
|
1003
1078
|
learning?: {
|
|
1004
1079
|
state: "seeded" | "reflecting" | "merged" | "dropped";
|
|
1005
|
-
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | null;
|
|
1080
|
+
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | "purged_since_seed" | null;
|
|
1006
1081
|
detail: string | null;
|
|
1007
1082
|
};
|
|
1008
1083
|
};
|
|
@@ -1071,7 +1146,7 @@ export type Capabilities = {
|
|
|
1071
1146
|
} | {
|
|
1072
1147
|
mode: "sandbox";
|
|
1073
1148
|
box: "docker" | "daytona" | "modal" | "e2b" | "agent37" | "morph" | "cloudflare" | "fly" | "boxd" | "groundbox";
|
|
1074
|
-
};
|
|
1149
|
+
} | null;
|
|
1075
1150
|
default_reason?: string;
|
|
1076
1151
|
allow: Array<string>;
|
|
1077
1152
|
};
|
|
@@ -1252,7 +1327,6 @@ export type Features = {
|
|
|
1252
1327
|
routes: boolean;
|
|
1253
1328
|
at_rest: "sealed";
|
|
1254
1329
|
harnesses: Array<string>;
|
|
1255
|
-
kept: Array<string>;
|
|
1256
1330
|
};
|
|
1257
1331
|
mcp_client?: {
|
|
1258
1332
|
transports: Array<"streamable-http">;
|
|
@@ -2145,6 +2219,7 @@ export interface ListRunsParams {
|
|
|
2145
2219
|
limit?: number;
|
|
2146
2220
|
cursor?: string;
|
|
2147
2221
|
status?: "queued" | "working" | "paused" | "input_required" | "completed" | "failed" | "cancelled";
|
|
2222
|
+
scope?: "active" | "review";
|
|
2148
2223
|
label?: string;
|
|
2149
2224
|
}
|
|
2150
2225
|
export type ListRunsResponse = RunList;
|
|
@@ -3120,6 +3195,7 @@ export type DeleteModelGatewayResponse = {
|
|
|
3120
3195
|
/** Turn Mode 2 off: run folders on this server's own disk (DELETE /workspace/archil). */
|
|
3121
3196
|
export type DeleteWorkspaceArchilResponse = {
|
|
3122
3197
|
on: boolean;
|
|
3198
|
+
regions: Record<string, string>;
|
|
3123
3199
|
secret: {
|
|
3124
3200
|
name: string;
|
|
3125
3201
|
set: boolean;
|
|
@@ -3129,6 +3205,7 @@ export type DeleteWorkspaceArchilResponse = {
|
|
|
3129
3205
|
source?: "env" | "console";
|
|
3130
3206
|
region?: string;
|
|
3131
3207
|
s3Url?: string;
|
|
3208
|
+
s3UrlFrom?: "region" | "given";
|
|
3132
3209
|
image?: string;
|
|
3133
3210
|
};
|
|
3134
3211
|
/** Discard a suggested agent: it goes away, and later scans leave it out (POST /suggestions/{suggestion_id}/discard). */
|
|
@@ -3288,6 +3365,44 @@ export type GetGitHubConnectionResponse = {
|
|
|
3288
3365
|
account: string;
|
|
3289
3366
|
}>;
|
|
3290
3367
|
};
|
|
3368
|
+
/** This machine, its Ollama, the free local model recommended for them, and the pull here (GET /settings/local-model). */
|
|
3369
|
+
export type GetLocalModelResponse = {
|
|
3370
|
+
machine: {
|
|
3371
|
+
platform: string;
|
|
3372
|
+
arch: string;
|
|
3373
|
+
ram_bytes: number;
|
|
3374
|
+
gpu: {
|
|
3375
|
+
kind: "apple";
|
|
3376
|
+
unified: true;
|
|
3377
|
+
} | {
|
|
3378
|
+
kind: "nvidia";
|
|
3379
|
+
name: string;
|
|
3380
|
+
memory_bytes: number;
|
|
3381
|
+
} | {
|
|
3382
|
+
kind: "unknown";
|
|
3383
|
+
};
|
|
3384
|
+
};
|
|
3385
|
+
ollama: {
|
|
3386
|
+
asked: boolean;
|
|
3387
|
+
reachable: boolean;
|
|
3388
|
+
version: string | null;
|
|
3389
|
+
};
|
|
3390
|
+
recommended: {
|
|
3391
|
+
tag: string | null;
|
|
3392
|
+
why: string;
|
|
3393
|
+
pulled: boolean;
|
|
3394
|
+
};
|
|
3395
|
+
pull: null | {
|
|
3396
|
+
tag: string;
|
|
3397
|
+
state: "pulling" | "done" | "failed";
|
|
3398
|
+
status: string;
|
|
3399
|
+
completed_bytes: number;
|
|
3400
|
+
total_bytes: number;
|
|
3401
|
+
error?: string;
|
|
3402
|
+
};
|
|
3403
|
+
can_pull: boolean;
|
|
3404
|
+
refused: string | null;
|
|
3405
|
+
};
|
|
3291
3406
|
/** The model gateway in force: the environment's, the one saved here, or none (GET /settings/model-gateway). */
|
|
3292
3407
|
export type GetModelGatewayResponse = {
|
|
3293
3408
|
source: "env" | "console" | null;
|
|
@@ -3389,6 +3504,7 @@ export type GetSuggestionResponse = {
|
|
|
3389
3504
|
/** Whether run folders are on Archil disks (Mode 2), the settings, and whether its keys are saved (GET /workspace/archil). */
|
|
3390
3505
|
export type GetWorkspaceArchilResponse = {
|
|
3391
3506
|
on: boolean;
|
|
3507
|
+
regions: Record<string, string>;
|
|
3392
3508
|
secret: {
|
|
3393
3509
|
name: string;
|
|
3394
3510
|
set: boolean;
|
|
@@ -3398,6 +3514,7 @@ export type GetWorkspaceArchilResponse = {
|
|
|
3398
3514
|
source?: "env" | "console";
|
|
3399
3515
|
region?: string;
|
|
3400
3516
|
s3Url?: string;
|
|
3517
|
+
s3UrlFrom?: "region" | "given";
|
|
3401
3518
|
image?: string;
|
|
3402
3519
|
};
|
|
3403
3520
|
/** Where GitHub sends the owner's browser back with the new App's code (GET /integrations/github/callback). */
|
|
@@ -3714,10 +3831,51 @@ export type ListSuggestionsResponse = {
|
|
|
3714
3831
|
};
|
|
3715
3832
|
}>;
|
|
3716
3833
|
};
|
|
3834
|
+
/** Pull a recommended model into the Ollama here (POST /settings/local-model/pull). */
|
|
3835
|
+
export type PullLocalModelBody = {
|
|
3836
|
+
tag: "inkling-2-mini" | "qwen3:8b" | "qwen3:4b";
|
|
3837
|
+
};
|
|
3838
|
+
export type PullLocalModelResponse = {
|
|
3839
|
+
machine: {
|
|
3840
|
+
platform: string;
|
|
3841
|
+
arch: string;
|
|
3842
|
+
ram_bytes: number;
|
|
3843
|
+
gpu: {
|
|
3844
|
+
kind: "apple";
|
|
3845
|
+
unified: true;
|
|
3846
|
+
} | {
|
|
3847
|
+
kind: "nvidia";
|
|
3848
|
+
name: string;
|
|
3849
|
+
memory_bytes: number;
|
|
3850
|
+
} | {
|
|
3851
|
+
kind: "unknown";
|
|
3852
|
+
};
|
|
3853
|
+
};
|
|
3854
|
+
ollama: {
|
|
3855
|
+
asked: boolean;
|
|
3856
|
+
reachable: boolean;
|
|
3857
|
+
version: string | null;
|
|
3858
|
+
};
|
|
3859
|
+
recommended: {
|
|
3860
|
+
tag: string | null;
|
|
3861
|
+
why: string;
|
|
3862
|
+
pulled: boolean;
|
|
3863
|
+
};
|
|
3864
|
+
pull: null | {
|
|
3865
|
+
tag: string;
|
|
3866
|
+
state: "pulling" | "done" | "failed";
|
|
3867
|
+
status: string;
|
|
3868
|
+
completed_bytes: number;
|
|
3869
|
+
total_bytes: number;
|
|
3870
|
+
error?: string;
|
|
3871
|
+
};
|
|
3872
|
+
can_pull: boolean;
|
|
3873
|
+
refused: string | null;
|
|
3874
|
+
};
|
|
3717
3875
|
/** Turn Mode 2 on: run folders on Archil disks, one per agent (PUT /workspace/archil). */
|
|
3718
3876
|
export type PutWorkspaceArchilBody = {
|
|
3719
3877
|
region: string;
|
|
3720
|
-
s3Url
|
|
3878
|
+
s3Url?: string;
|
|
3721
3879
|
image?: string;
|
|
3722
3880
|
keys?: {
|
|
3723
3881
|
ARCHIL_API_KEY?: string | null;
|
|
@@ -3725,6 +3883,7 @@ export type PutWorkspaceArchilBody = {
|
|
|
3725
3883
|
};
|
|
3726
3884
|
export type PutWorkspaceArchilResponse = {
|
|
3727
3885
|
on: boolean;
|
|
3886
|
+
regions: Record<string, string>;
|
|
3728
3887
|
secret: {
|
|
3729
3888
|
name: string;
|
|
3730
3889
|
set: boolean;
|
|
@@ -3734,6 +3893,7 @@ export type PutWorkspaceArchilResponse = {
|
|
|
3734
3893
|
source?: "env" | "console";
|
|
3735
3894
|
region?: string;
|
|
3736
3895
|
s3Url?: string;
|
|
3896
|
+
s3UrlFrom?: "region" | "given";
|
|
3737
3897
|
image?: string;
|
|
3738
3898
|
};
|
|
3739
3899
|
/** Fire a Composio trigger: a request it checks, no token (POST /hooks/composio/{hook}). */
|
|
@@ -4048,6 +4208,39 @@ export type SignOutChatGPTResponse = {
|
|
|
4048
4208
|
revoked: boolean;
|
|
4049
4209
|
message?: string;
|
|
4050
4210
|
};
|
|
4211
|
+
/** Sign out of Claude Code's login on this machine: AgentRun's own login removed, the mode off (POST /settings/claude-login/sign-out). */
|
|
4212
|
+
export type SignOutClaudeLoginResponse = {
|
|
4213
|
+
confirmed: boolean;
|
|
4214
|
+
message?: string;
|
|
4215
|
+
login: {
|
|
4216
|
+
state: "off" | "other_machine" | "refused" | "signed_in" | "signed_out" | "no_cli" | "unknown";
|
|
4217
|
+
place: "agentrun" | "machine";
|
|
4218
|
+
command: string;
|
|
4219
|
+
can_start: boolean;
|
|
4220
|
+
refused?: string;
|
|
4221
|
+
account?: {
|
|
4222
|
+
method?: string;
|
|
4223
|
+
email?: string;
|
|
4224
|
+
organization?: string;
|
|
4225
|
+
plan?: string;
|
|
4226
|
+
};
|
|
4227
|
+
folder: string;
|
|
4228
|
+
machine: {
|
|
4229
|
+
folder: string;
|
|
4230
|
+
source: "CLAUDE_CONFIG_DIR" | "default";
|
|
4231
|
+
credentials?: string;
|
|
4232
|
+
};
|
|
4233
|
+
sign_in?: {
|
|
4234
|
+
state: "waiting" | "signed_in" | "timed_out" | "failed" | "not_started";
|
|
4235
|
+
started_at: string;
|
|
4236
|
+
ended_at?: string;
|
|
4237
|
+
limit_ms: number;
|
|
4238
|
+
exit_code?: number;
|
|
4239
|
+
signal?: string;
|
|
4240
|
+
error?: string;
|
|
4241
|
+
};
|
|
4242
|
+
};
|
|
4243
|
+
};
|
|
4051
4244
|
/** Start signing in with ChatGPT: the link to open (POST /settings/chatgpt/sign-in). */
|
|
4052
4245
|
export type StartChatGPTSignInResponse = {
|
|
4053
4246
|
authorize_url: string;
|
|
@@ -4821,7 +5014,7 @@ export type HandBackRunComputerResponse = {
|
|
|
4821
5014
|
export type GetRunLearningResponse = {
|
|
4822
5015
|
run: string;
|
|
4823
5016
|
state: "seeded" | "reflecting" | "merged" | "dropped";
|
|
4824
|
-
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | null;
|
|
5017
|
+
reason: "seed_failed" | "no_budget" | "unknown_cost" | "cancelled" | "crashed" | "reflect_failed" | "empty" | "checker" | "use" | "reset" | "purged_since_seed" | null;
|
|
4825
5018
|
detail: string | null;
|
|
4826
5019
|
at: string;
|
|
4827
5020
|
seed: string | null;
|
|
@@ -4884,6 +5077,7 @@ export interface ListAllRunsParams {
|
|
|
4884
5077
|
agent?: string;
|
|
4885
5078
|
revision?: string;
|
|
4886
5079
|
status?: "queued" | "working" | "paused" | "input_required" | "completed" | "failed" | "cancelled";
|
|
5080
|
+
scope?: "active" | "review";
|
|
4887
5081
|
archived?: boolean;
|
|
4888
5082
|
label?: string;
|
|
4889
5083
|
source?: string;
|
|
@@ -5601,6 +5795,10 @@ export type GetTemplateResponse = {
|
|
|
5601
5795
|
pin?: Record<string, string | number | boolean | null | Array<string | number | boolean | null> | {
|
|
5602
5796
|
keys: Array<string>;
|
|
5603
5797
|
}>;
|
|
5798
|
+
file?: {
|
|
5799
|
+
folder: string;
|
|
5800
|
+
show: Array<string>;
|
|
5801
|
+
};
|
|
5604
5802
|
}>;
|
|
5605
5803
|
}>;
|
|
5606
5804
|
parameters: Record<string, unknown>;
|
|
@@ -5702,6 +5900,10 @@ export type ImportTemplateResponse = {
|
|
|
5702
5900
|
pin?: Record<string, string | number | boolean | null | Array<string | number | boolean | null> | {
|
|
5703
5901
|
keys: Array<string>;
|
|
5704
5902
|
}>;
|
|
5903
|
+
file?: {
|
|
5904
|
+
folder: string;
|
|
5905
|
+
show: Array<string>;
|
|
5906
|
+
};
|
|
5705
5907
|
}>;
|
|
5706
5908
|
}>;
|
|
5707
5909
|
parameters: Record<string, unknown>;
|
|
@@ -5796,6 +5998,10 @@ export type ListTemplatesResponse = {
|
|
|
5796
5998
|
pin?: Record<string, string | number | boolean | null | Array<string | number | boolean | null> | {
|
|
5797
5999
|
keys: Array<string>;
|
|
5798
6000
|
}>;
|
|
6001
|
+
file?: {
|
|
6002
|
+
folder: string;
|
|
6003
|
+
show: Array<string>;
|
|
6004
|
+
};
|
|
5799
6005
|
}>;
|
|
5800
6006
|
}>;
|
|
5801
6007
|
parameters: Record<string, unknown>;
|
|
@@ -7391,6 +7597,8 @@ export declare function resources(call: Call): {
|
|
|
7391
7597
|
getEmailAccount: (options?: RequestOptions) => Promise<GetEmailAccountResponse>;
|
|
7392
7598
|
/** Whether a GitHub App is connected, and if so its id, slug and installations, never a secret (GET /integrations/github). */
|
|
7393
7599
|
getGitHubConnection: (options?: RequestOptions) => Promise<GetGitHubConnectionResponse>;
|
|
7600
|
+
/** This machine, its Ollama, the free local model recommended for them, and the pull here (GET /settings/local-model). */
|
|
7601
|
+
getLocalModel: (options?: RequestOptions) => Promise<GetLocalModelResponse>;
|
|
7394
7602
|
/** The model gateway in force: the environment's, the one saved here, or none (GET /settings/model-gateway). */
|
|
7395
7603
|
getModelGateway: (options?: RequestOptions) => Promise<GetModelGatewayResponse>;
|
|
7396
7604
|
/** One suggested agent whole: its instructions, the files a create adds, and whether GitHub lets it (GET /suggestions/{suggestion_id}). */
|
|
@@ -7419,6 +7627,8 @@ export declare function resources(call: Call): {
|
|
|
7419
7627
|
listRunningComputers: (options?: RequestOptions) => Promise<ListRunningComputersResponse>;
|
|
7420
7628
|
/** Suggested agents: each repository's scan and the agents it suggests (GET /suggestions). */
|
|
7421
7629
|
listSuggestions: (params?: ListSuggestionsParams, options?: RequestOptions) => Promise<ListSuggestionsResponse>;
|
|
7630
|
+
/** Pull a recommended model into the Ollama here (POST /settings/local-model/pull). */
|
|
7631
|
+
pullLocalModel: (body: PullLocalModelBody, options?: RequestOptions) => Promise<PullLocalModelResponse>;
|
|
7422
7632
|
/** Turn Mode 2 on: run folders on Archil disks, one per agent (PUT /workspace/archil). */
|
|
7423
7633
|
putWorkspaceArchil: (body: PutWorkspaceArchilBody, options?: RequestOptions) => Promise<PutWorkspaceArchilResponse>;
|
|
7424
7634
|
/** Fire a Composio trigger: a request it checks, no token (POST /hooks/composio/{hook}). */
|
|
@@ -7445,6 +7655,8 @@ export declare function resources(call: Call): {
|
|
|
7445
7655
|
scanForSuggestions: (body: ScanForSuggestionsBody, options?: RequestOptions) => Promise<ScanForSuggestionsResponse>;
|
|
7446
7656
|
/** Sign out of ChatGPT: the session revoked at OpenAI, then forgotten here (DELETE /settings/chatgpt). */
|
|
7447
7657
|
signOutChatGpt: (options?: RequestOptions) => Promise<SignOutChatGPTResponse>;
|
|
7658
|
+
/** Sign out of Claude Code's login on this machine: AgentRun's own login removed, the mode off (POST /settings/claude-login/sign-out). */
|
|
7659
|
+
signOutClaudeLogin: (options?: RequestOptions) => Promise<SignOutClaudeLoginResponse>;
|
|
7448
7660
|
/** Start signing in with ChatGPT: the link to open (POST /settings/chatgpt/sign-in). */
|
|
7449
7661
|
startChatGptsignIn: (options?: RequestOptions) => Promise<StartChatGPTSignInResponse>;
|
|
7450
7662
|
/** Start the Claude Code CLI's own sign-in on this machine (POST /settings/claude-login/login). */
|
|
@@ -21,7 +21,7 @@ export const OPERATIONS = {
|
|
|
21
21
|
getAgentPackage: { "method": "GET", "path": "/agents/{agent_id}/package", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
22
22
|
resolveSourceSync: { "method": "POST", "path": "/agents/{agent_id}/source/resolve", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
23
23
|
reviewSourceProject: { "method": "POST", "path": "/agents/{agent_id}/source/project-review", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
24
|
-
listRuns: { "method": "GET", "path": "/agents/{agent_id}/runs", "pathParams": ["agent_id"], "multiSegment": [], "query": ["limit", "cursor", "status", "label"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
24
|
+
listRuns: { "method": "GET", "path": "/agents/{agent_id}/runs", "pathParams": ["agent_id"], "multiSegment": [], "query": ["limit", "cursor", "status", "scope", "label"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
25
25
|
setSourceSync: { "method": "PATCH", "path": "/agents/{agent_id}/source", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
26
26
|
unarchiveAgent: { "method": "POST", "path": "/agents/{agent_id}/unarchive", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
27
27
|
updateDefinition: { "method": "PUT", "path": "/agents/{agent_id}/definition", "pathParams": ["agent_id"], "multiSegment": [], "query": [], "headers": ["If-Match"], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": true },
|
|
@@ -86,6 +86,7 @@ export const OPERATIONS = {
|
|
|
86
86
|
getClaudeLogin: { "method": "GET", "path": "/settings/claude-login", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
87
87
|
getEmailAccount: { "method": "GET", "path": "/settings/email", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
88
88
|
getGitHubConnection: { "method": "GET", "path": "/integrations/github", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
89
|
+
getLocalModel: { "method": "GET", "path": "/settings/local-model", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
89
90
|
getModelGateway: { "method": "GET", "path": "/settings/model-gateway", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
90
91
|
getSuggestion: { "method": "GET", "path": "/suggestions/{suggestion_id}", "pathParams": ["suggestion_id"], "multiSegment": [], "query": ["name"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
91
92
|
getWorkspaceArchil: { "method": "GET", "path": "/workspace/archil", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
@@ -102,6 +103,7 @@ export const OPERATIONS = {
|
|
|
102
103
|
listMcpServerNames: { "method": "GET", "path": "/settings/mcp-server-names", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
103
104
|
listRunningComputers: { "method": "GET", "path": "/computers/running", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
104
105
|
listSuggestions: { "method": "GET", "path": "/suggestions", "pathParams": [], "multiSegment": [], "query": ["repo", "status"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
106
|
+
pullLocalModel: { "method": "POST", "path": "/settings/local-model/pull", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
105
107
|
putWorkspaceArchil: { "method": "PUT", "path": "/workspace/archil", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
106
108
|
receiveHook_composio: { "method": "POST", "path": "/hooks/composio/{hook}", "pathParams": ["hook"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["*/*"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
107
109
|
restoreSuggestion: { "method": "POST", "path": "/suggestions/{suggestion_id}/restore", "pathParams": ["suggestion_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
@@ -115,6 +117,7 @@ export const OPERATIONS = {
|
|
|
115
117
|
saveModelGateway: { "method": "PUT", "path": "/settings/model-gateway", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["base_url", "ids", "models.default", "models.fast", "models.strong"], "tagged": false },
|
|
116
118
|
scanForSuggestions: { "method": "POST", "path": "/suggestions/scans", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
117
119
|
signOutChatGPT: { "method": "DELETE", "path": "/settings/chatgpt", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
120
|
+
signOutClaudeLogin: { "method": "POST", "path": "/settings/claude-login/sign-out", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
118
121
|
startChatGPTSignIn: { "method": "POST", "path": "/settings/chatgpt/sign-in", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
119
122
|
startClaudeLogin: { "method": "POST", "path": "/settings/claude-login/login", "pathParams": [], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
120
123
|
startMcpOAuth: { "method": "POST", "path": "/settings/mcp-servers/{name}/oauth/start", "pathParams": ["name"], "multiSegment": [], "query": [], "headers": [], "body": { "required": true, "types": ["application/json"] }, "answer": "json", "secret": true, "publicFields": ["url", "scopes.[]", "client_id"], "tagged": false },
|
|
@@ -152,7 +155,7 @@ export const OPERATIONS = {
|
|
|
152
155
|
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 },
|
|
153
156
|
getRunLearning: { "method": "GET", "path": "/runs/{run_id}/learning", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
154
157
|
getRunLearningDiff: { "method": "GET", "path": "/runs/{run_id}/learning/diff", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
155
|
-
listAllRuns: { "method": "GET", "path": "/runs", "pathParams": [], "multiSegment": [], "query": ["limit", "cursor", "agent", "revision", "status", "archived", "label", "source", "from", "to", "model"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
158
|
+
listAllRuns: { "method": "GET", "path": "/runs", "pathParams": [], "multiSegment": [], "query": ["limit", "cursor", "agent", "revision", "status", "scope", "archived", "label", "source", "from", "to", "model"], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
156
159
|
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 },
|
|
157
160
|
pauseRun: { "method": "POST", "path": "/runs/{run_id}/pause", "pathParams": ["run_id"], "multiSegment": [], "query": [], "headers": [], "body": null, "answer": "json", "secret": false, "publicFields": [], "tagged": false },
|
|
158
161
|
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 },
|
|
@@ -403,6 +406,8 @@ export function resources(call) {
|
|
|
403
406
|
getEmailAccount: (options) => call("getEmailAccount", [], undefined, undefined, options),
|
|
404
407
|
/** Whether a GitHub App is connected, and if so its id, slug and installations, never a secret (GET /integrations/github). */
|
|
405
408
|
getGitHubConnection: (options) => call("getGitHubConnection", [], undefined, undefined, options),
|
|
409
|
+
/** This machine, its Ollama, the free local model recommended for them, and the pull here (GET /settings/local-model). */
|
|
410
|
+
getLocalModel: (options) => call("getLocalModel", [], undefined, undefined, options),
|
|
406
411
|
/** The model gateway in force: the environment's, the one saved here, or none (GET /settings/model-gateway). */
|
|
407
412
|
getModelGateway: (options) => call("getModelGateway", [], undefined, undefined, options),
|
|
408
413
|
/** One suggested agent whole: its instructions, the files a create adds, and whether GitHub lets it (GET /suggestions/{suggestion_id}). */
|
|
@@ -431,6 +436,8 @@ export function resources(call) {
|
|
|
431
436
|
listRunningComputers: (options) => call("listRunningComputers", [], undefined, undefined, options),
|
|
432
437
|
/** Suggested agents: each repository's scan and the agents it suggests (GET /suggestions). */
|
|
433
438
|
listSuggestions: (params, options) => call("listSuggestions", [], undefined, params, options),
|
|
439
|
+
/** Pull a recommended model into the Ollama here (POST /settings/local-model/pull). */
|
|
440
|
+
pullLocalModel: (body, options) => call("pullLocalModel", [], body, undefined, options),
|
|
434
441
|
/** Turn Mode 2 on: run folders on Archil disks, one per agent (PUT /workspace/archil). */
|
|
435
442
|
putWorkspaceArchil: (body, options) => call("putWorkspaceArchil", [], body, undefined, options),
|
|
436
443
|
/** Fire a Composio trigger: a request it checks, no token (POST /hooks/composio/{hook}). */
|
|
@@ -457,6 +464,8 @@ export function resources(call) {
|
|
|
457
464
|
scanForSuggestions: (body, options) => call("scanForSuggestions", [], body, undefined, options),
|
|
458
465
|
/** Sign out of ChatGPT: the session revoked at OpenAI, then forgotten here (DELETE /settings/chatgpt). */
|
|
459
466
|
signOutChatGpt: (options) => call("signOutChatGPT", [], undefined, undefined, options),
|
|
467
|
+
/** Sign out of Claude Code's login on this machine: AgentRun's own login removed, the mode off (POST /settings/claude-login/sign-out). */
|
|
468
|
+
signOutClaudeLogin: (options) => call("signOutClaudeLogin", [], undefined, undefined, options),
|
|
460
469
|
/** Start signing in with ChatGPT: the link to open (POST /settings/chatgpt/sign-in). */
|
|
461
470
|
startChatGptsignIn: (options) => call("startChatGPTSignIn", [], undefined, undefined, options),
|
|
462
471
|
/** Start the Claude Code CLI's own sign-in on this machine (POST /settings/claude-login/login). */
|
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.61",
|
|
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.61"
|
|
87
87
|
}
|
|
88
88
|
}
|