@archastro/sdk 0.19.0 → 0.21.0
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/channels/api_artifact_channel.d.ts +48 -0
- package/dist/channels/api_artifact_channel.d.ts.map +1 -0
- package/dist/channels/api_artifact_channel.js +85 -0
- package/dist/channels/api_artifact_channel.js.map +1 -0
- package/dist/client.d.ts +7 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +9 -3
- package/dist/client.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/types/ai.d.ts +124 -10
- package/dist/types/ai.d.ts.map +1 -1
- package/dist/types/ai.js +27 -7
- package/dist/types/ai.js.map +1 -1
- package/dist/types/artifacts.d.ts +351 -0
- package/dist/types/artifacts.d.ts.map +1 -1
- package/dist/types/artifacts.js +65 -1
- package/dist/types/artifacts.js.map +1 -1
- package/dist/types/automations.d.ts +22 -22
- package/dist/types/automations.d.ts.map +1 -1
- package/dist/types/automations.js +7 -7
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +467 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +1161 -296
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +148 -28
- package/dist/types/common.js.map +1 -1
- package/dist/types/computers.d.ts +22 -0
- package/dist/types/computers.d.ts.map +1 -0
- package/dist/types/computers.js +12 -0
- package/dist/types/computers.js.map +1 -0
- package/dist/types/events.d.ts +34 -16
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/events.js +3 -1
- package/dist/types/events.js.map +1 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +3 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/relays.d.ts +22 -0
- package/dist/types/relays.d.ts.map +1 -0
- package/dist/types/relays.js +12 -0
- package/dist/types/relays.js.map +1 -0
- package/dist/types/tasks.d.ts +598 -14
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +43 -11
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +20 -0
- package/dist/types/teams.d.ts.map +1 -1
- package/dist/types/teams.js +8 -1
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +78 -2
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +3 -3
- package/dist/types/threads.js.map +1 -1
- package/dist/v1/resources/agent_computers.d.ts +33 -1
- package/dist/v1/resources/agent_computers.d.ts.map +1 -1
- package/dist/v1/resources/agent_computers.js +17 -1
- package/dist/v1/resources/agent_computers.js.map +1 -1
- package/dist/v1/resources/agent_requests.d.ts +54 -0
- package/dist/v1/resources/agent_requests.d.ts.map +1 -0
- package/dist/v1/resources/agent_requests.js +71 -0
- package/dist/v1/resources/agent_requests.js.map +1 -0
- package/dist/v1/resources/agent_sessions.d.ts +23 -1
- package/dist/v1/resources/agent_sessions.d.ts.map +1 -1
- package/dist/v1/resources/agent_sessions.js +26 -1
- package/dist/v1/resources/agent_sessions.js.map +1 -1
- package/dist/v1/resources/agents.d.ts +32 -2
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +12 -2
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +76 -7
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +54 -4
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.d.ts +35 -2
- package/dist/v1/resources/artifacts.d.ts.map +1 -1
- package/dist/v1/resources/artifacts.js +3 -2
- package/dist/v1/resources/artifacts.js.map +1 -1
- package/dist/v1/resources/custom_objects.d.ts +99 -0
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +64 -1
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/event_subscriptions.d.ts +12 -0
- package/dist/v1/resources/event_subscriptions.d.ts.map +1 -1
- package/dist/v1/resources/event_subscriptions.js +7 -1
- package/dist/v1/resources/event_subscriptions.js.map +1 -1
- package/dist/v1/resources/files.d.ts +32 -10
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +32 -11
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +4 -1
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +5 -2
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/knowledge_sources.d.ts +4 -0
- package/dist/v1/resources/knowledge_sources.d.ts.map +1 -1
- package/dist/v1/resources/knowledge_sources.js +1 -1
- package/dist/v1/resources/kv.d.ts +75 -31
- package/dist/v1/resources/kv.d.ts.map +1 -1
- package/dist/v1/resources/kv.js +79 -32
- package/dist/v1/resources/kv.js.map +1 -1
- package/dist/v1/resources/notifications.d.ts +14 -0
- package/dist/v1/resources/notifications.d.ts.map +1 -1
- package/dist/v1/resources/notifications.js +13 -1
- package/dist/v1/resources/notifications.js.map +1 -1
- package/dist/v1/resources/oauth.d.ts +2 -0
- package/dist/v1/resources/oauth.d.ts.map +1 -1
- package/dist/v1/resources/oauth.js +2 -1
- package/dist/v1/resources/oauth.js.map +1 -1
- package/dist/v1/resources/orgs.d.ts +662 -2
- package/dist/v1/resources/orgs.d.ts.map +1 -1
- package/dist/v1/resources/orgs.js +380 -2
- package/dist/v1/resources/orgs.js.map +1 -1
- package/dist/v1/resources/private_service_enrollments.d.ts +7 -0
- package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -1
- package/dist/v1/resources/private_service_enrollments.js +10 -1
- package/dist/v1/resources/private_service_enrollments.js.map +1 -1
- package/dist/v1/resources/relays.d.ts +38 -0
- package/dist/v1/resources/relays.d.ts.map +1 -0
- package/dist/v1/resources/relays.js +44 -0
- package/dist/v1/resources/relays.js.map +1 -0
- package/dist/v1/resources/scripts.d.ts +20 -9
- package/dist/v1/resources/scripts.d.ts.map +1 -1
- package/dist/v1/resources/scripts.js +18 -10
- package/dist/v1/resources/scripts.js.map +1 -1
- package/dist/v1/resources/task_ownership_conversions.d.ts +14 -0
- package/dist/v1/resources/task_ownership_conversions.d.ts.map +1 -0
- package/dist/v1/resources/task_ownership_conversions.js +19 -0
- package/dist/v1/resources/task_ownership_conversions.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +62 -1
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +35 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +141 -3
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +82 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +79 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +44 -1
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +131 -4
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +73 -3
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/workflows.d.ts +5 -1
- package/dist/v1/resources/workflows.d.ts.map +1 -1
- package/dist/v1/resources/workflows.js +6 -2
- package/dist/v1/resources/workflows.js.map +1 -1
- package/dist/v1.d.ts +7 -1
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +12 -3
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
package/dist/types/threads.d.ts
CHANGED
|
@@ -57,7 +57,7 @@ export interface Thread {
|
|
|
57
57
|
is_unlisted?: boolean | undefined;
|
|
58
58
|
/** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
|
|
59
59
|
key?: string | null | undefined;
|
|
60
|
-
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal`
|
|
60
|
+
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"feed"` for a post feed with inline replies, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal` and `feed` are explicit creation options; mirror kinds are server-derived. */
|
|
61
61
|
kind?: string | null | undefined;
|
|
62
62
|
/** When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment. */
|
|
63
63
|
last_activity?: string | null | undefined;
|
|
@@ -190,7 +190,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
190
190
|
is_unlisted: z.ZodOptional<z.ZodBoolean>;
|
|
191
191
|
/** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
|
|
192
192
|
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
193
|
-
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal`
|
|
193
|
+
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"feed"` for a post feed with inline replies, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal` and `feed` are explicit creation options; mirror kinds are server-derived. */
|
|
194
194
|
kind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
195
195
|
/** When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment. */
|
|
196
196
|
last_activity: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -366,6 +366,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
366
366
|
}>>>;
|
|
367
367
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
368
368
|
image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
369
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
369
370
|
media_type: z.ZodOptional<z.ZodString>;
|
|
370
371
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
371
372
|
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
@@ -373,8 +374,10 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
373
374
|
type: z.ZodString;
|
|
374
375
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
375
376
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
377
|
+
byte_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
376
378
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
377
379
|
created_at: z.ZodOptional<z.ZodString>;
|
|
380
|
+
duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
378
381
|
file: z.ZodOptional<z.ZodString>;
|
|
379
382
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
380
383
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -404,8 +407,10 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
404
407
|
url?: string | null | undefined;
|
|
405
408
|
width?: number | null | undefined;
|
|
406
409
|
}>>>;
|
|
410
|
+
sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
407
411
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
408
412
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
+
url_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
409
414
|
variant_key: z.ZodOptional<z.ZodString>;
|
|
410
415
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
411
416
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -416,7 +421,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
416
421
|
height?: number | null | undefined;
|
|
417
422
|
url?: string | null | undefined;
|
|
418
423
|
width?: number | null | undefined;
|
|
424
|
+
byte_size?: number | null | undefined;
|
|
419
425
|
content_type?: string | null | undefined;
|
|
426
|
+
duration_ms?: number | null | undefined;
|
|
420
427
|
filename?: string | null | undefined;
|
|
421
428
|
image_source?: {
|
|
422
429
|
mime_type?: string | null | undefined;
|
|
@@ -427,6 +434,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
427
434
|
url?: string | null | undefined;
|
|
428
435
|
width?: number | null | undefined;
|
|
429
436
|
} | null | undefined;
|
|
437
|
+
sha256?: string | null | undefined;
|
|
438
|
+
url_expires_at?: string | null | undefined;
|
|
430
439
|
variant_key?: string | undefined;
|
|
431
440
|
}, {
|
|
432
441
|
id: string;
|
|
@@ -436,7 +445,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
436
445
|
height?: number | null | undefined;
|
|
437
446
|
url?: string | null | undefined;
|
|
438
447
|
width?: number | null | undefined;
|
|
448
|
+
byte_size?: number | null | undefined;
|
|
439
449
|
content_type?: string | null | undefined;
|
|
450
|
+
duration_ms?: number | null | undefined;
|
|
440
451
|
filename?: string | null | undefined;
|
|
441
452
|
image_source?: {
|
|
442
453
|
mime_type?: string | null | undefined;
|
|
@@ -447,6 +458,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
447
458
|
url?: string | null | undefined;
|
|
448
459
|
width?: number | null | undefined;
|
|
449
460
|
} | null | undefined;
|
|
461
|
+
sha256?: string | null | undefined;
|
|
462
|
+
url_expires_at?: string | null | undefined;
|
|
450
463
|
variant_key?: string | undefined;
|
|
451
464
|
}>, "many">>;
|
|
452
465
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -455,6 +468,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
455
468
|
type: string;
|
|
456
469
|
id: string;
|
|
457
470
|
object?: Record<string, {} | null> | undefined;
|
|
471
|
+
key?: string | null | undefined;
|
|
458
472
|
name?: string | null | undefined;
|
|
459
473
|
description?: string | null | undefined;
|
|
460
474
|
height?: number | null | undefined;
|
|
@@ -484,7 +498,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
484
498
|
height?: number | null | undefined;
|
|
485
499
|
url?: string | null | undefined;
|
|
486
500
|
width?: number | null | undefined;
|
|
501
|
+
byte_size?: number | null | undefined;
|
|
487
502
|
content_type?: string | null | undefined;
|
|
503
|
+
duration_ms?: number | null | undefined;
|
|
488
504
|
filename?: string | null | undefined;
|
|
489
505
|
image_source?: {
|
|
490
506
|
mime_type?: string | null | undefined;
|
|
@@ -495,6 +511,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
495
511
|
url?: string | null | undefined;
|
|
496
512
|
width?: number | null | undefined;
|
|
497
513
|
} | null | undefined;
|
|
514
|
+
sha256?: string | null | undefined;
|
|
515
|
+
url_expires_at?: string | null | undefined;
|
|
498
516
|
variant_key?: string | undefined;
|
|
499
517
|
}[] | undefined;
|
|
500
518
|
version?: number | null | undefined;
|
|
@@ -502,6 +520,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
502
520
|
type: string;
|
|
503
521
|
id: string;
|
|
504
522
|
object?: Record<string, {} | null> | undefined;
|
|
523
|
+
key?: string | null | undefined;
|
|
505
524
|
name?: string | null | undefined;
|
|
506
525
|
description?: string | null | undefined;
|
|
507
526
|
height?: number | null | undefined;
|
|
@@ -531,7 +550,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
531
550
|
height?: number | null | undefined;
|
|
532
551
|
url?: string | null | undefined;
|
|
533
552
|
width?: number | null | undefined;
|
|
553
|
+
byte_size?: number | null | undefined;
|
|
534
554
|
content_type?: string | null | undefined;
|
|
555
|
+
duration_ms?: number | null | undefined;
|
|
535
556
|
filename?: string | null | undefined;
|
|
536
557
|
image_source?: {
|
|
537
558
|
mime_type?: string | null | undefined;
|
|
@@ -542,6 +563,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
542
563
|
url?: string | null | undefined;
|
|
543
564
|
width?: number | null | undefined;
|
|
544
565
|
} | null | undefined;
|
|
566
|
+
sha256?: string | null | undefined;
|
|
567
|
+
url_expires_at?: string | null | undefined;
|
|
545
568
|
variant_key?: string | undefined;
|
|
546
569
|
}[] | undefined;
|
|
547
570
|
version?: number | null | undefined;
|
|
@@ -710,6 +733,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
710
733
|
type: string;
|
|
711
734
|
id: string;
|
|
712
735
|
object?: Record<string, {} | null> | undefined;
|
|
736
|
+
key?: string | null | undefined;
|
|
713
737
|
name?: string | null | undefined;
|
|
714
738
|
description?: string | null | undefined;
|
|
715
739
|
height?: number | null | undefined;
|
|
@@ -739,7 +763,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
739
763
|
height?: number | null | undefined;
|
|
740
764
|
url?: string | null | undefined;
|
|
741
765
|
width?: number | null | undefined;
|
|
766
|
+
byte_size?: number | null | undefined;
|
|
742
767
|
content_type?: string | null | undefined;
|
|
768
|
+
duration_ms?: number | null | undefined;
|
|
743
769
|
filename?: string | null | undefined;
|
|
744
770
|
image_source?: {
|
|
745
771
|
mime_type?: string | null | undefined;
|
|
@@ -750,6 +776,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
750
776
|
url?: string | null | undefined;
|
|
751
777
|
width?: number | null | undefined;
|
|
752
778
|
} | null | undefined;
|
|
779
|
+
sha256?: string | null | undefined;
|
|
780
|
+
url_expires_at?: string | null | undefined;
|
|
753
781
|
variant_key?: string | undefined;
|
|
754
782
|
}[] | undefined;
|
|
755
783
|
version?: number | null | undefined;
|
|
@@ -845,6 +873,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
845
873
|
type: string;
|
|
846
874
|
id: string;
|
|
847
875
|
object?: Record<string, {} | null> | undefined;
|
|
876
|
+
key?: string | null | undefined;
|
|
848
877
|
name?: string | null | undefined;
|
|
849
878
|
description?: string | null | undefined;
|
|
850
879
|
height?: number | null | undefined;
|
|
@@ -874,7 +903,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
874
903
|
height?: number | null | undefined;
|
|
875
904
|
url?: string | null | undefined;
|
|
876
905
|
width?: number | null | undefined;
|
|
906
|
+
byte_size?: number | null | undefined;
|
|
877
907
|
content_type?: string | null | undefined;
|
|
908
|
+
duration_ms?: number | null | undefined;
|
|
878
909
|
filename?: string | null | undefined;
|
|
879
910
|
image_source?: {
|
|
880
911
|
mime_type?: string | null | undefined;
|
|
@@ -885,6 +916,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
885
916
|
url?: string | null | undefined;
|
|
886
917
|
width?: number | null | undefined;
|
|
887
918
|
} | null | undefined;
|
|
919
|
+
sha256?: string | null | undefined;
|
|
920
|
+
url_expires_at?: string | null | undefined;
|
|
888
921
|
variant_key?: string | undefined;
|
|
889
922
|
}[] | undefined;
|
|
890
923
|
version?: number | null | undefined;
|
|
@@ -2567,6 +2600,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2567
2600
|
type: string;
|
|
2568
2601
|
id: string;
|
|
2569
2602
|
object?: Record<string, {} | null> | undefined;
|
|
2603
|
+
key?: string | null | undefined;
|
|
2570
2604
|
name?: string | null | undefined;
|
|
2571
2605
|
description?: string | null | undefined;
|
|
2572
2606
|
height?: number | null | undefined;
|
|
@@ -2596,7 +2630,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2596
2630
|
height?: number | null | undefined;
|
|
2597
2631
|
url?: string | null | undefined;
|
|
2598
2632
|
width?: number | null | undefined;
|
|
2633
|
+
byte_size?: number | null | undefined;
|
|
2599
2634
|
content_type?: string | null | undefined;
|
|
2635
|
+
duration_ms?: number | null | undefined;
|
|
2600
2636
|
filename?: string | null | undefined;
|
|
2601
2637
|
image_source?: {
|
|
2602
2638
|
mime_type?: string | null | undefined;
|
|
@@ -2607,6 +2643,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2607
2643
|
url?: string | null | undefined;
|
|
2608
2644
|
width?: number | null | undefined;
|
|
2609
2645
|
} | null | undefined;
|
|
2646
|
+
sha256?: string | null | undefined;
|
|
2647
|
+
url_expires_at?: string | null | undefined;
|
|
2610
2648
|
variant_key?: string | undefined;
|
|
2611
2649
|
}[] | undefined;
|
|
2612
2650
|
version?: number | null | undefined;
|
|
@@ -2958,6 +2996,7 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2958
2996
|
type: string;
|
|
2959
2997
|
id: string;
|
|
2960
2998
|
object?: Record<string, {} | null> | undefined;
|
|
2999
|
+
key?: string | null | undefined;
|
|
2961
3000
|
name?: string | null | undefined;
|
|
2962
3001
|
description?: string | null | undefined;
|
|
2963
3002
|
height?: number | null | undefined;
|
|
@@ -2987,7 +3026,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2987
3026
|
height?: number | null | undefined;
|
|
2988
3027
|
url?: string | null | undefined;
|
|
2989
3028
|
width?: number | null | undefined;
|
|
3029
|
+
byte_size?: number | null | undefined;
|
|
2990
3030
|
content_type?: string | null | undefined;
|
|
3031
|
+
duration_ms?: number | null | undefined;
|
|
2991
3032
|
filename?: string | null | undefined;
|
|
2992
3033
|
image_source?: {
|
|
2993
3034
|
mime_type?: string | null | undefined;
|
|
@@ -2998,6 +3039,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2998
3039
|
url?: string | null | undefined;
|
|
2999
3040
|
width?: number | null | undefined;
|
|
3000
3041
|
} | null | undefined;
|
|
3042
|
+
sha256?: string | null | undefined;
|
|
3043
|
+
url_expires_at?: string | null | undefined;
|
|
3001
3044
|
variant_key?: string | undefined;
|
|
3002
3045
|
}[] | undefined;
|
|
3003
3046
|
version?: number | null | undefined;
|
|
@@ -3388,6 +3431,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3388
3431
|
}>>>;
|
|
3389
3432
|
image_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3390
3433
|
image_width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3434
|
+
key: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3391
3435
|
media_type: z.ZodOptional<z.ZodString>;
|
|
3392
3436
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3393
3437
|
object: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<{} | null, z.ZodTypeDef, {} | null>>>;
|
|
@@ -3395,8 +3439,10 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3395
3439
|
type: z.ZodString;
|
|
3396
3440
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3397
3441
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3442
|
+
byte_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3398
3443
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3399
3444
|
created_at: z.ZodOptional<z.ZodString>;
|
|
3445
|
+
duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3400
3446
|
file: z.ZodOptional<z.ZodString>;
|
|
3401
3447
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3402
3448
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3426,8 +3472,10 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3426
3472
|
url?: string | null | undefined;
|
|
3427
3473
|
width?: number | null | undefined;
|
|
3428
3474
|
}>>>;
|
|
3475
|
+
sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3429
3476
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
3430
3477
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3478
|
+
url_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3431
3479
|
variant_key: z.ZodOptional<z.ZodString>;
|
|
3432
3480
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3433
3481
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3438,7 +3486,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3438
3486
|
height?: number | null | undefined;
|
|
3439
3487
|
url?: string | null | undefined;
|
|
3440
3488
|
width?: number | null | undefined;
|
|
3489
|
+
byte_size?: number | null | undefined;
|
|
3441
3490
|
content_type?: string | null | undefined;
|
|
3491
|
+
duration_ms?: number | null | undefined;
|
|
3442
3492
|
filename?: string | null | undefined;
|
|
3443
3493
|
image_source?: {
|
|
3444
3494
|
mime_type?: string | null | undefined;
|
|
@@ -3449,6 +3499,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3449
3499
|
url?: string | null | undefined;
|
|
3450
3500
|
width?: number | null | undefined;
|
|
3451
3501
|
} | null | undefined;
|
|
3502
|
+
sha256?: string | null | undefined;
|
|
3503
|
+
url_expires_at?: string | null | undefined;
|
|
3452
3504
|
variant_key?: string | undefined;
|
|
3453
3505
|
}, {
|
|
3454
3506
|
id: string;
|
|
@@ -3458,7 +3510,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3458
3510
|
height?: number | null | undefined;
|
|
3459
3511
|
url?: string | null | undefined;
|
|
3460
3512
|
width?: number | null | undefined;
|
|
3513
|
+
byte_size?: number | null | undefined;
|
|
3461
3514
|
content_type?: string | null | undefined;
|
|
3515
|
+
duration_ms?: number | null | undefined;
|
|
3462
3516
|
filename?: string | null | undefined;
|
|
3463
3517
|
image_source?: {
|
|
3464
3518
|
mime_type?: string | null | undefined;
|
|
@@ -3469,6 +3523,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3469
3523
|
url?: string | null | undefined;
|
|
3470
3524
|
width?: number | null | undefined;
|
|
3471
3525
|
} | null | undefined;
|
|
3526
|
+
sha256?: string | null | undefined;
|
|
3527
|
+
url_expires_at?: string | null | undefined;
|
|
3472
3528
|
variant_key?: string | undefined;
|
|
3473
3529
|
}>, "many">>;
|
|
3474
3530
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3477,6 +3533,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3477
3533
|
type: string;
|
|
3478
3534
|
id: string;
|
|
3479
3535
|
object?: Record<string, {} | null> | undefined;
|
|
3536
|
+
key?: string | null | undefined;
|
|
3480
3537
|
name?: string | null | undefined;
|
|
3481
3538
|
description?: string | null | undefined;
|
|
3482
3539
|
height?: number | null | undefined;
|
|
@@ -3506,7 +3563,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3506
3563
|
height?: number | null | undefined;
|
|
3507
3564
|
url?: string | null | undefined;
|
|
3508
3565
|
width?: number | null | undefined;
|
|
3566
|
+
byte_size?: number | null | undefined;
|
|
3509
3567
|
content_type?: string | null | undefined;
|
|
3568
|
+
duration_ms?: number | null | undefined;
|
|
3510
3569
|
filename?: string | null | undefined;
|
|
3511
3570
|
image_source?: {
|
|
3512
3571
|
mime_type?: string | null | undefined;
|
|
@@ -3517,6 +3576,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3517
3576
|
url?: string | null | undefined;
|
|
3518
3577
|
width?: number | null | undefined;
|
|
3519
3578
|
} | null | undefined;
|
|
3579
|
+
sha256?: string | null | undefined;
|
|
3580
|
+
url_expires_at?: string | null | undefined;
|
|
3520
3581
|
variant_key?: string | undefined;
|
|
3521
3582
|
}[] | undefined;
|
|
3522
3583
|
version?: number | null | undefined;
|
|
@@ -3524,6 +3585,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3524
3585
|
type: string;
|
|
3525
3586
|
id: string;
|
|
3526
3587
|
object?: Record<string, {} | null> | undefined;
|
|
3588
|
+
key?: string | null | undefined;
|
|
3527
3589
|
name?: string | null | undefined;
|
|
3528
3590
|
description?: string | null | undefined;
|
|
3529
3591
|
height?: number | null | undefined;
|
|
@@ -3553,7 +3615,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3553
3615
|
height?: number | null | undefined;
|
|
3554
3616
|
url?: string | null | undefined;
|
|
3555
3617
|
width?: number | null | undefined;
|
|
3618
|
+
byte_size?: number | null | undefined;
|
|
3556
3619
|
content_type?: string | null | undefined;
|
|
3620
|
+
duration_ms?: number | null | undefined;
|
|
3557
3621
|
filename?: string | null | undefined;
|
|
3558
3622
|
image_source?: {
|
|
3559
3623
|
mime_type?: string | null | undefined;
|
|
@@ -3564,6 +3628,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3564
3628
|
url?: string | null | undefined;
|
|
3565
3629
|
width?: number | null | undefined;
|
|
3566
3630
|
} | null | undefined;
|
|
3631
|
+
sha256?: string | null | undefined;
|
|
3632
|
+
url_expires_at?: string | null | undefined;
|
|
3567
3633
|
variant_key?: string | undefined;
|
|
3568
3634
|
}[] | undefined;
|
|
3569
3635
|
version?: number | null | undefined;
|
|
@@ -3628,6 +3694,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3628
3694
|
type: string;
|
|
3629
3695
|
id: string;
|
|
3630
3696
|
object?: Record<string, {} | null> | undefined;
|
|
3697
|
+
key?: string | null | undefined;
|
|
3631
3698
|
name?: string | null | undefined;
|
|
3632
3699
|
description?: string | null | undefined;
|
|
3633
3700
|
height?: number | null | undefined;
|
|
@@ -3657,7 +3724,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3657
3724
|
height?: number | null | undefined;
|
|
3658
3725
|
url?: string | null | undefined;
|
|
3659
3726
|
width?: number | null | undefined;
|
|
3727
|
+
byte_size?: number | null | undefined;
|
|
3660
3728
|
content_type?: string | null | undefined;
|
|
3729
|
+
duration_ms?: number | null | undefined;
|
|
3661
3730
|
filename?: string | null | undefined;
|
|
3662
3731
|
image_source?: {
|
|
3663
3732
|
mime_type?: string | null | undefined;
|
|
@@ -3668,6 +3737,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3668
3737
|
url?: string | null | undefined;
|
|
3669
3738
|
width?: number | null | undefined;
|
|
3670
3739
|
} | null | undefined;
|
|
3740
|
+
sha256?: string | null | undefined;
|
|
3741
|
+
url_expires_at?: string | null | undefined;
|
|
3671
3742
|
variant_key?: string | undefined;
|
|
3672
3743
|
}[] | undefined;
|
|
3673
3744
|
version?: number | null | undefined;
|
|
@@ -3711,6 +3782,7 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3711
3782
|
type: string;
|
|
3712
3783
|
id: string;
|
|
3713
3784
|
object?: Record<string, {} | null> | undefined;
|
|
3785
|
+
key?: string | null | undefined;
|
|
3714
3786
|
name?: string | null | undefined;
|
|
3715
3787
|
description?: string | null | undefined;
|
|
3716
3788
|
height?: number | null | undefined;
|
|
@@ -3740,7 +3812,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3740
3812
|
height?: number | null | undefined;
|
|
3741
3813
|
url?: string | null | undefined;
|
|
3742
3814
|
width?: number | null | undefined;
|
|
3815
|
+
byte_size?: number | null | undefined;
|
|
3743
3816
|
content_type?: string | null | undefined;
|
|
3817
|
+
duration_ms?: number | null | undefined;
|
|
3744
3818
|
filename?: string | null | undefined;
|
|
3745
3819
|
image_source?: {
|
|
3746
3820
|
mime_type?: string | null | undefined;
|
|
@@ -3751,6 +3825,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3751
3825
|
url?: string | null | undefined;
|
|
3752
3826
|
width?: number | null | undefined;
|
|
3753
3827
|
} | null | undefined;
|
|
3828
|
+
sha256?: string | null | undefined;
|
|
3829
|
+
url_expires_at?: string | null | undefined;
|
|
3754
3830
|
variant_key?: string | undefined;
|
|
3755
3831
|
}[] | undefined;
|
|
3756
3832
|
version?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threads.d.ts","sourceRoot":"","sources":["../../src/types/threads.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,OAAO,KAAK,EAAE,GAAG,EAAE,KAAK,EAAE,UAAU,E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
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: a19b9060bd6b
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { aclSchema, agentSchema, attachmentSchema, messageSchema } from "./common.js";
|
|
6
6
|
import { userSchema } from "./users.js";
|
|
@@ -31,8 +31,8 @@ export const threadSchema = z.object({
|
|
|
31
31
|
is_unlisted: z.boolean().optional().describe("Whether this thread is hidden from public discovery. Unlisted threads are accessible only to direct participants."),
|
|
32
32
|
/** Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set. */
|
|
33
33
|
key: z.string().nullable().optional().describe("Application-defined stable key that uniquely identifies the thread within its scope. Useful for idempotent creation. `null` if not set."),
|
|
34
|
-
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal`
|
|
35
|
-
kind: z.string().nullable().optional().describe("Thread subtype: `\"standard\"` for ordinary threads, `\"personal\"` for a user-and-owned-agents roster, `\"slack_mirror\"` for the membership-strict mirror of a Slack channel, or `\"slashwork_mirror\"` for the membership-strict mirror of a Slashwork group. `personal`
|
|
34
|
+
/** Thread subtype: `"standard"` for ordinary threads, `"personal"` for a user-and-owned-agents roster, `"feed"` for a post feed with inline replies, `"slack_mirror"` for the membership-strict mirror of a Slack channel, or `"slashwork_mirror"` for the membership-strict mirror of a Slashwork group. `personal` and `feed` are explicit creation options; mirror kinds are server-derived. */
|
|
35
|
+
kind: z.string().nullable().optional().describe("Thread subtype: `\"standard\"` for ordinary threads, `\"personal\"` for a user-and-owned-agents roster, `\"feed\"` for a post feed with inline replies, `\"slack_mirror\"` for the membership-strict mirror of a Slack channel, or `\"slashwork_mirror\"` for the membership-strict mirror of a Slashwork group. `personal` and `feed` are explicit creation options; mirror kinds are server-derived."),
|
|
36
36
|
/** When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment. */
|
|
37
37
|
last_activity: z.string().nullable().optional().describe("When the most recent message was posted in this thread, falling back to the thread's creation time if it has no messages. Always populated on thread list endpoints (which order by it, after default threads); `null` on endpoints that don't compute activity enrichment."),
|
|
38
38
|
/** Single-line snippet of the most recent message's text content (first non-empty line, truncated to 140 characters). Populated on thread list endpoints alongside `last_activity`; `null` when the thread has no messages, the latest message has no text content (e.g. attachment-only), or the endpoint doesn't compute activity enrichment. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"threads.js","sourceRoot":"","sources":["../../src/types/threads.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAE7B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,WAAW,EAAE,gBAAgB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACtF,OAAO,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAUxC,oDAAoD;AACpD,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,qOAAqO;IACrO,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,gOAAgO,CAAC;CAC5R,CAAC,CAAC,QAAQ,CAAC,wGAAwG,CAAqC,CAAC;AA4E1J,4CAA4C;AAC5C,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,sGAAsG;IACtG,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC,iGAAiG,CAAC;IACxJ,8CAA8C;IAC9C,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAA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C9D,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,yDAAyD,CAAC;IACtF,uEAAuE;IACvE,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,kEAAkE,CAAC;CAC5G,CAAC,CAAC,QAAQ,CAAC,yHAAyH,CAAuC,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from "../../runtime/http-client.js";
|
|
2
|
-
import type { AgentComputer
|
|
2
|
+
import type { AgentComputer } from "../../types/common.js";
|
|
3
|
+
import type { ComputerExecResult } from "../../types/computers.js";
|
|
3
4
|
export declare class AgentComputerResource {
|
|
4
5
|
private http;
|
|
5
6
|
constructor(http: HttpClient);
|
|
@@ -25,6 +26,37 @@ export declare class AgentComputerResource {
|
|
|
25
26
|
* @returns The requested computer.
|
|
26
27
|
*/
|
|
27
28
|
get(computer: string): Promise<AgentComputer>;
|
|
29
|
+
/**
|
|
30
|
+
* Update a computer
|
|
31
|
+
* Updates the computer's direct access grants. Requires permission to modify
|
|
32
|
+
* the computer. Read grants allow retrieval and command execution; write grants
|
|
33
|
+
* also allow management and deletion. Use acl.grants to replace grants, or
|
|
34
|
+
* acl.add/acl.remove to patch them. An empty acl.grants array revokes all direct
|
|
35
|
+
* grants; omitting acl preserves them. Sharing does not add the computer to
|
|
36
|
+
* agent or thread lists.
|
|
37
|
+
* @param computer - Computer ID (`cmp_...`).
|
|
38
|
+
* @param input - Request body.
|
|
39
|
+
* @param input.acl - Access control list replacement or add/remove operations.
|
|
40
|
+
* @returns Empty response body. Returns HTTP 204 on success.
|
|
41
|
+
*/
|
|
42
|
+
update(computer: string, input: {
|
|
43
|
+
acl?: {
|
|
44
|
+
add?: {
|
|
45
|
+
actions: string[];
|
|
46
|
+
principal?: string | undefined;
|
|
47
|
+
principal_type: string;
|
|
48
|
+
}[] | undefined;
|
|
49
|
+
grants?: {
|
|
50
|
+
actions: string[];
|
|
51
|
+
principal?: string | undefined;
|
|
52
|
+
principal_type: string;
|
|
53
|
+
}[] | undefined;
|
|
54
|
+
remove?: {
|
|
55
|
+
principal?: string | undefined;
|
|
56
|
+
principal_type: string;
|
|
57
|
+
}[] | undefined;
|
|
58
|
+
} | undefined;
|
|
59
|
+
}): Promise<void>;
|
|
28
60
|
/**
|
|
29
61
|
* Execute a command on a computer
|
|
30
62
|
* Runs a shell command on the specified computer and returns its combined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent_computers.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/agent_computers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"agent_computers.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/agent_computers.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAC3D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAEnE,qBAAa,qBAAqB;IACpB,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC;;;;;;;;;OASG;IACG,MAAM,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAI7C;;;;;;;;;OASG;IACG,GAAG,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;IAInD;;;;;;;;;;;;OAYG;IACG,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,GAAG,CAAC,EAAE;YAAE,GAAG,CAAC,EAAE;gBAAE,OAAO,EAAE,MAAM,EAAE,CAAC;gBAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAAC,cAAc,EAAE,MAAM,CAAA;aAAE,EAAE,GAAG,SAAS,CAAC;YAAC,MAAM,CAAC,EAAE;gBAAE,OAAO,EAAE,MAAM,EAAE,CAAC;gBAAC,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAAC,cAAc,EAAE,MAAM,CAAA;aAAE,EAAE,GAAG,SAAS,CAAC;YAAC,MAAM,CAAC,EAAE;gBAAE,SAAS,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;gBAAC,cAAc,EAAE,MAAM,CAAA;aAAE,EAAE,GAAG,SAAS,CAAA;SAAE,GAAG,SAAS,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI1W;;;;;;;;;;;;;;;OAeG;IACG,IAAI,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,GAAG,SAAS,CAAA;KAAE,GAAG,OAAO,CAAC,kBAAkB,CAAC;IAI/G;;;;;;;;;;OAUG;IACG,OAAO,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,CAAC;CAGxD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
2
|
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
-
// Content hash:
|
|
3
|
+
// Content hash: b30cd80116d4
|
|
4
4
|
export class AgentComputerResource {
|
|
5
5
|
http;
|
|
6
6
|
constructor(http) {
|
|
@@ -32,6 +32,22 @@ export class AgentComputerResource {
|
|
|
32
32
|
async get(computer) {
|
|
33
33
|
return this.http.request(`/api/v1/agent_computers/${computer}`);
|
|
34
34
|
}
|
|
35
|
+
/**
|
|
36
|
+
* Update a computer
|
|
37
|
+
* Updates the computer's direct access grants. Requires permission to modify
|
|
38
|
+
* the computer. Read grants allow retrieval and command execution; write grants
|
|
39
|
+
* also allow management and deletion. Use acl.grants to replace grants, or
|
|
40
|
+
* acl.add/acl.remove to patch them. An empty acl.grants array revokes all direct
|
|
41
|
+
* grants; omitting acl preserves them. Sharing does not add the computer to
|
|
42
|
+
* agent or thread lists.
|
|
43
|
+
* @param computer - Computer ID (`cmp_...`).
|
|
44
|
+
* @param input - Request body.
|
|
45
|
+
* @param input.acl - Access control list replacement or add/remove operations.
|
|
46
|
+
* @returns Empty response body. Returns HTTP 204 on success.
|
|
47
|
+
*/
|
|
48
|
+
async update(computer, input) {
|
|
49
|
+
await this.http.request(`/api/v1/agent_computers/${computer}`, { method: "PATCH", body: input });
|
|
50
|
+
}
|
|
35
51
|
/**
|
|
36
52
|
* Execute a command on a computer
|
|
37
53
|
* Runs a shell command on the specified computer and returns its combined
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent_computers.js","sourceRoot":"","sources":["../../../src/v1/resources/agent_computers.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;
|
|
1
|
+
{"version":3,"file":"agent_computers.js","sourceRoot":"","sources":["../../../src/v1/resources/agent_computers.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAM7B,MAAM,OAAO,qBAAqB;IACZ;IAApB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAExC;;;;;;;;;OASG;IACH,KAAK,CAAC,MAAM,CAAC,QAAgB;QAC3B,MAAM,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC;IACvF,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,GAAG,CAAC,QAAgB;QACxB,OAAO,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,2BAA2B,QAAQ,EAAE,CAAC,CAAC;IAClE,CAAC;IAED;;;;;;;;;;;;OAYG;IACH,KAAK,CAAC,MAAM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