@archastro/sdk 0.20.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 +6 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +7 -1
- 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 +388 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/common.d.ts +1132 -287
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +146 -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/threads.d.ts +64 -0
- package/dist/types/threads.d.ts.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 +31 -1
- 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 +55 -4
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +44 -4
- package/dist/v1/resources/ai.js.map +1 -1
- package/dist/v1/resources/artifacts.d.ts +34 -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 +94 -0
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +60 -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 +3 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +4 -1
- 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 +630 -1
- package/dist/v1/resources/orgs.d.ts.map +1 -1
- package/dist/v1/resources/orgs.js +351 -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 +129 -1
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +71 -1
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +76 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +42 -1
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/users.d.ts +129 -3
- 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 +6 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +10 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../src/types/tasks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,uEAAuE;AACvE,MAAM,WAAW,uBAAuB;IACtC,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,OAAO,EAAE,MAAM,CAAC;IAChB,wEAAwE;IACxE,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,6DAA6D;AAC7D,eAAO,MAAM,6BAA6B;I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
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: 5ce6eba81c55
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { actorSchema } from "./common.js";
|
|
6
6
|
/** Runtime validator for {@link TaskSessionLeaseSummary}. */
|
|
@@ -18,8 +18,8 @@ export const taskSchema = z.object({
|
|
|
18
18
|
agent: z.string().nullable().optional().describe("ID of the agent that owns this task (`agi_...`). `null` if the task is scoped to a team or user."),
|
|
19
19
|
/** Event-stream version for optimistic update fencing. Pass this value as `expected_version` on an update to reject concurrent writes. */
|
|
20
20
|
aggregate_version: z.number().int().nullable().optional().describe("Event-stream version for optimistic update fencing. Pass this value as `expected_version` on an update to reject concurrent writes."),
|
|
21
|
-
/** Number of tasks marked as blocking this task, whether or not they are done (see `GET /tasks/{task}/blockers`). Computed on list/show reads; create/update responses may lag one read behind. */
|
|
22
|
-
blocked_by_count: z.number().int().optional().describe("Number of tasks marked as blocking this task, whether or not they are done (see `GET /tasks/{task}/blockers`). Computed on list/show reads; create/update responses may lag one read behind."),
|
|
21
|
+
/** Number of readable tasks marked as blocking this task, whether or not they are done (see `GET /tasks/{task}/blockers`). Computed on list/show reads; create/update responses may lag one read behind. */
|
|
22
|
+
blocked_by_count: z.number().int().optional().describe("Number of readable tasks marked as blocking this task, whether or not they are done (see `GET /tasks/{task}/blockers`). Computed on list/show reads; create/update responses may lag one read behind."),
|
|
23
23
|
/** When the task was marked as done or otherwise closed (ISO 8601). `null` if the task is still open. */
|
|
24
24
|
closed_at: z.string().nullable().optional().describe("When the task was marked as done or otherwise closed (ISO 8601). `null` if the task is still open."),
|
|
25
25
|
/** Total number of comments posted on this task. */
|
|
@@ -42,8 +42,10 @@ export const taskSchema = z.object({
|
|
|
42
42
|
epic: z.string().nullable().optional().describe("Free-form grouping label. `null` when the task is not in an epic."),
|
|
43
43
|
/** Task ID (`tsk_...`). */
|
|
44
44
|
id: z.string().describe("Task ID (`tsk_...`)."),
|
|
45
|
-
/** `true` while at least one blocking task is not yet done. Informational only
|
|
46
|
-
is_blocked: z.boolean().optional().describe("`true` while at least one blocking task is not yet done. Informational only
|
|
45
|
+
/** `true` while at least one blocking task is not yet done. Informational only - a blocked task can still change status - and derived at read time, so the task un-blocks automatically when its last open blocker completes. Computed on reads, including mutation responses. */
|
|
46
|
+
is_blocked: z.boolean().optional().describe("`true` while at least one blocking task is not yet done. Informational only - a blocked task can still change status - and derived at read time, so the task un-blocks automatically when its last open blocker completes. Computed on reads, including mutation responses."),
|
|
47
|
+
/** True exactly when status is in_progress and the task has no lease or its lease expiry is in the past. Derived at read time from status and lease expiry, including on unannotated reads. */
|
|
48
|
+
is_stalled: z.boolean().optional().describe("True exactly when status is in_progress and the task has no lease or its lease expiry is in the past. Derived at read time from status and lease expiry, including on unannotated reads."),
|
|
47
49
|
/** Key-value map of named URLs or references associated with the task. Returns an empty object when no links have been set. */
|
|
48
50
|
links: z.record(z.custom((value) => value !== undefined)).optional().describe("Key-value map of named URLs or references associated with the task. Returns an empty object when no links have been set."),
|
|
49
51
|
/** Arbitrary key-value map of application-specific data stored alongside the task. Returns an empty object when no metadata has been set. */
|
|
@@ -58,10 +60,12 @@ export const taskSchema = z.object({
|
|
|
58
60
|
owner_agent: z.string().nullable().optional().describe("ID of the agent assigned as owner (`agi_...`). `null` if the owner is a human user, the task is unassigned, or the assigned agent was deleted."),
|
|
59
61
|
/** ID of the user assigned as owner (`usr_...`). `null` if the owner is an agent, the task is unassigned, or the assigned agent was deleted. */
|
|
60
62
|
owner_user: z.string().nullable().optional().describe("ID of the user assigned as owner (`usr_...`). `null` if the owner is an agent, the task is unassigned, or the assigned agent was deleted."),
|
|
61
|
-
/** ID of the parent task when this task is a subtask (`tsk_...`). `null` for top-level tasks. Subtasks nest exactly one level. */
|
|
62
|
-
parent: z.string().nullable().optional().describe("ID of the parent task when this task is a subtask (`tsk_...`). `null` for top-level tasks. Subtasks nest exactly one level."),
|
|
63
|
+
/** ID of the parent task when this task is a subtask (`tsk_...`). `null` for top-level tasks or when the parent is not readable. Subtasks nest exactly one level. */
|
|
64
|
+
parent: z.string().nullable().optional().describe("ID of the parent task when this task is a subtask (`tsk_...`). `null` for top-level tasks or when the parent is not readable. Subtasks nest exactly one level."),
|
|
63
65
|
/** Priority level of the task from `0` (highest) to `4` (lowest). Defaults to `2` (medium) when not explicitly set. */
|
|
64
66
|
priority: z.number().int().optional().describe("Priority level of the task from `0` (highest) to `4` (lowest). Defaults to `2` (medium) when not explicitly set."),
|
|
67
|
+
/** Optional project ID (`prj_...`). Membership does not change task visibility. */
|
|
68
|
+
project_id: z.string().nullable().optional().describe("Optional project ID (`prj_...`). Membership does not change task visibility."),
|
|
65
69
|
/** ID of the developer sandbox this task is scoped to (`dsb_...`). `null` for tasks outside a sandbox environment. */
|
|
66
70
|
sandbox: z.string().nullable().optional().describe("ID of the developer sandbox this task is scoped to (`dsb_...`). `null` for tasks outside a sandbox environment."),
|
|
67
71
|
/** Source object identity (for example `ArchAstro/firstlanding`). `null` when the task has no source. */
|
|
@@ -70,16 +74,22 @@ export const taskSchema = z.object({
|
|
|
70
74
|
source_scope: z.string().nullable().optional().describe("Container of the work this task is about (for example `github.com`). `null` when the task has no source. Set together with `source_type` and `source_id`."),
|
|
71
75
|
/** Kind of source object (for example `repository`). `null` when the task has no source. */
|
|
72
76
|
source_type: z.string().nullable().optional().describe("Kind of source object (for example `repository`). `null` when the task has no source."),
|
|
77
|
+
/** Lease expiry for a stalled task, or its last update when no lease expiry exists. Null when not stalled. */
|
|
78
|
+
stalled_since: z.string().nullable().optional().describe("Lease expiry for a stalled task, or its last update when no lease expiry exists. Null when not stalled."),
|
|
73
79
|
/** Current status of the task. One of `"open"`, `"in_progress"`, `"in_review"`, `"paused"`, `"failed"`, `"superseding"`, `"done"`, or `"cancelled"`. */
|
|
74
80
|
status: z.string().describe("Current status of the task. One of `\"open\"`, `\"in_progress\"`, `\"in_review\"`, `\"paused\"`, `\"failed\"`, `\"superseding\"`, `\"done\"`, or `\"cancelled\"`."),
|
|
75
|
-
/** Number of subtasks under this task. Computed on list/show reads; create/update responses may report 0 until the next read. Always 0 for subtasks. */
|
|
76
|
-
subtasks_count: z.number().int().optional().describe("Number of subtasks under this task. Computed on list/show reads; create/update responses may report 0 until the next read. Always 0 for subtasks."),
|
|
81
|
+
/** Number of readable subtasks under this task. Computed on list/show reads; create/update responses may report 0 until the next read. Always 0 for subtasks. */
|
|
82
|
+
subtasks_count: z.number().int().optional().describe("Number of readable subtasks under this task. Computed on list/show reads; create/update responses may report 0 until the next read. Always 0 for subtasks."),
|
|
77
83
|
/** Labels for grouping and filtering, stored lowercase and de-duplicated. Empty array when untagged. */
|
|
78
84
|
tags: z.array(z.string()).optional().describe("Labels for grouping and filtering, stored lowercase and de-duplicated. Empty array when untagged."),
|
|
85
|
+
/** Binary that must run this work (for example `my-cli`). A worker should take the task only when its own `target_binary` build is at least `target_version`. `null` when the task has no target. Set together with `target_version`. */
|
|
86
|
+
target_binary: z.string().nullable().optional().describe("Binary that must run this work (for example `my-cli`). A worker should take the task only when its own `target_binary` build is at least `target_version`. `null` when the task has no target. Set together with `target_version`."),
|
|
87
|
+
/** Minimum semantic version of `target_binary` that can run this work (for example `0.48.9`), in canonical `MAJOR.MINOR.PATCH[-prerelease][+build]` form. `null` when the task has no target. */
|
|
88
|
+
target_version: z.string().nullable().optional().describe("Minimum semantic version of `target_binary` that can run this work (for example `0.48.9`), in canonical `MAJOR.MINOR.PATCH[-prerelease][+build]` form. `null` when the task has no target."),
|
|
79
89
|
/** ID of the team that owns this task (`tem_...`). `null` if the task is not scoped to a team. */
|
|
80
90
|
team: z.string().nullable().optional().describe("ID of the team that owns this task (`tem_...`). `null` if the task is not scoped to a team."),
|
|
81
|
-
/** ID of the thread this task is bound to (`thr_...`)
|
|
82
|
-
thread: z.string().nullable().optional().describe("ID of the thread this task is bound to (`thr_...`)
|
|
91
|
+
/** ID of the thread this task is bound to (`thr_...`) - the conversation it was filed from, or the thread passed at creation. `null` for tasks not tied to a thread. */
|
|
92
|
+
thread: z.string().nullable().optional().describe("ID of the thread this task is bound to (`thr_...`) - the conversation it was filed from, or the thread passed at creation. `null` for tasks not tied to a thread."),
|
|
83
93
|
/** When the task was last modified (ISO 8601). */
|
|
84
94
|
updated_at: z.string().optional().describe("When the task was last modified (ISO 8601)."),
|
|
85
95
|
/** ID of the user that owns this task (`usr_...`). `null` if the task is scoped to a team. */
|
|
@@ -110,6 +120,13 @@ export const taskCommentSchema = z.object({
|
|
|
110
120
|
/** When this comment was last edited (ISO 8601). */
|
|
111
121
|
updated_at: z.string().optional().describe("When this comment was last edited (ISO 8601)."),
|
|
112
122
|
}).describe("A comment posted on a task by a user or an agent, including resolved author information.");
|
|
123
|
+
/** Runtime validator for {@link TaskEnsureResult}. */
|
|
124
|
+
export const taskEnsureResultSchema = z.object({
|
|
125
|
+
/** Whether this request created the task. */
|
|
126
|
+
created: z.boolean().describe("Whether this request created the task."),
|
|
127
|
+
/** The current task. */
|
|
128
|
+
task: taskSchema.describe("The current task."),
|
|
129
|
+
}).describe("The current source task and whether this request created it.");
|
|
113
130
|
/** Runtime validator for {@link TaskExternalLink}. */
|
|
114
131
|
export const taskExternalLinkSchema = z.object({
|
|
115
132
|
/** External container identity. */
|
|
@@ -119,6 +136,15 @@ export const taskExternalLinkSchema = z.object({
|
|
|
119
136
|
/** External object kind. */
|
|
120
137
|
object_type: z.string().describe("External object kind."),
|
|
121
138
|
}).describe("An indexed external object linked to a task.");
|
|
139
|
+
/** Runtime validator for {@link TaskOwnershipJob}. */
|
|
140
|
+
export const taskOwnershipJobSchema = z.object({
|
|
141
|
+
/** Background job ID. */
|
|
142
|
+
job_id: z.number().int().describe("Background job ID."),
|
|
143
|
+
/** Completed transfers are still reaching task read models. */
|
|
144
|
+
projection_pending: z.boolean().optional().describe("Completed transfers are still reaching task read models."),
|
|
145
|
+
/** Current background job state. */
|
|
146
|
+
status: z.string().describe("Current background job state."),
|
|
147
|
+
}).describe("The background job accepted for a task ownership conversion.");
|
|
122
148
|
/** Runtime validator for {@link TaskSessionLease}. */
|
|
123
149
|
export const taskSessionLeaseSchema = z.object({
|
|
124
150
|
/** Server-calculated lease expiry in ISO 8601 format. */
|
|
@@ -127,11 +153,17 @@ export const taskSessionLeaseSchema = z.object({
|
|
|
127
153
|
harness: z.string().describe("Bounded harness identifier for the matching coding session."),
|
|
128
154
|
/** Caller-generated fencing token required for renewal and release. */
|
|
129
155
|
lease_id: z.string().describe("Caller-generated fencing token required for renewal and release."),
|
|
156
|
+
/** Milliseconds of lease left when the response was built, clamped at zero. A renewal made while more than half the lease remains appends no event and leaves the expiry unchanged, so clients derive their deadline from this value. */
|
|
157
|
+
lease_remaining_ms: z.number().int().describe("Milliseconds of lease left when the response was built, clamped at zero. A renewal made while more than half the lease remains appends no event and leaves the expiry unchanged, so clients derive their deadline from this value."),
|
|
130
158
|
/** Server timestamp for the most recent claim, reclaim, or renewal. */
|
|
131
159
|
renewed_at: z.string().describe("Server timestamp for the most recent claim, reclaim, or renewal."),
|
|
132
160
|
/** Opaque caller-generated coding-session identifier. */
|
|
133
161
|
session_id: z.string().describe("Opaque caller-generated coding-session identifier."),
|
|
134
162
|
/** Display name supplied by the matching coding session. */
|
|
135
163
|
session_name: z.string().describe("Display name supplied by the matching coding session."),
|
|
164
|
+
/** Task aggregate version including the claim, reclaim, or renewal event. */
|
|
165
|
+
task_aggregate_version: z.number().int().describe("Task aggregate version including the claim, reclaim, or renewal event."),
|
|
166
|
+
/** Native task status after the lease event. */
|
|
167
|
+
task_status: z.string().describe("Native task status after the lease event."),
|
|
136
168
|
}).describe("A task-session lease returned only to its matching holder.");
|
|
137
169
|
//# sourceMappingURL=tasks.js.map
|
package/dist/types/tasks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.js","sourceRoot":"","sources":["../../src/types/tasks.ts"],"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AuC,CAAC"}
|
package/dist/types/threads.d.ts
CHANGED
|
@@ -374,8 +374,10 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
374
374
|
type: z.ZodString;
|
|
375
375
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
376
376
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
377
|
+
byte_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
377
378
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
378
379
|
created_at: z.ZodOptional<z.ZodString>;
|
|
380
|
+
duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
379
381
|
file: z.ZodOptional<z.ZodString>;
|
|
380
382
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
381
383
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -405,8 +407,10 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
405
407
|
url?: string | null | undefined;
|
|
406
408
|
width?: number | null | undefined;
|
|
407
409
|
}>>>;
|
|
410
|
+
sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
411
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
409
412
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
413
|
+
url_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
410
414
|
variant_key: z.ZodOptional<z.ZodString>;
|
|
411
415
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
412
416
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -417,7 +421,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
417
421
|
height?: number | null | undefined;
|
|
418
422
|
url?: string | null | undefined;
|
|
419
423
|
width?: number | null | undefined;
|
|
424
|
+
byte_size?: number | null | undefined;
|
|
420
425
|
content_type?: string | null | undefined;
|
|
426
|
+
duration_ms?: number | null | undefined;
|
|
421
427
|
filename?: string | null | undefined;
|
|
422
428
|
image_source?: {
|
|
423
429
|
mime_type?: string | null | undefined;
|
|
@@ -428,6 +434,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
428
434
|
url?: string | null | undefined;
|
|
429
435
|
width?: number | null | undefined;
|
|
430
436
|
} | null | undefined;
|
|
437
|
+
sha256?: string | null | undefined;
|
|
438
|
+
url_expires_at?: string | null | undefined;
|
|
431
439
|
variant_key?: string | undefined;
|
|
432
440
|
}, {
|
|
433
441
|
id: string;
|
|
@@ -437,7 +445,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
437
445
|
height?: number | null | undefined;
|
|
438
446
|
url?: string | null | undefined;
|
|
439
447
|
width?: number | null | undefined;
|
|
448
|
+
byte_size?: number | null | undefined;
|
|
440
449
|
content_type?: string | null | undefined;
|
|
450
|
+
duration_ms?: number | null | undefined;
|
|
441
451
|
filename?: string | null | undefined;
|
|
442
452
|
image_source?: {
|
|
443
453
|
mime_type?: string | null | undefined;
|
|
@@ -448,6 +458,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
448
458
|
url?: string | null | undefined;
|
|
449
459
|
width?: number | null | undefined;
|
|
450
460
|
} | null | undefined;
|
|
461
|
+
sha256?: string | null | undefined;
|
|
462
|
+
url_expires_at?: string | null | undefined;
|
|
451
463
|
variant_key?: string | undefined;
|
|
452
464
|
}>, "many">>;
|
|
453
465
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -486,7 +498,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
486
498
|
height?: number | null | undefined;
|
|
487
499
|
url?: string | null | undefined;
|
|
488
500
|
width?: number | null | undefined;
|
|
501
|
+
byte_size?: number | null | undefined;
|
|
489
502
|
content_type?: string | null | undefined;
|
|
503
|
+
duration_ms?: number | null | undefined;
|
|
490
504
|
filename?: string | null | undefined;
|
|
491
505
|
image_source?: {
|
|
492
506
|
mime_type?: string | null | undefined;
|
|
@@ -497,6 +511,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
497
511
|
url?: string | null | undefined;
|
|
498
512
|
width?: number | null | undefined;
|
|
499
513
|
} | null | undefined;
|
|
514
|
+
sha256?: string | null | undefined;
|
|
515
|
+
url_expires_at?: string | null | undefined;
|
|
500
516
|
variant_key?: string | undefined;
|
|
501
517
|
}[] | undefined;
|
|
502
518
|
version?: number | null | undefined;
|
|
@@ -534,7 +550,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
534
550
|
height?: number | null | undefined;
|
|
535
551
|
url?: string | null | undefined;
|
|
536
552
|
width?: number | null | undefined;
|
|
553
|
+
byte_size?: number | null | undefined;
|
|
537
554
|
content_type?: string | null | undefined;
|
|
555
|
+
duration_ms?: number | null | undefined;
|
|
538
556
|
filename?: string | null | undefined;
|
|
539
557
|
image_source?: {
|
|
540
558
|
mime_type?: string | null | undefined;
|
|
@@ -545,6 +563,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
545
563
|
url?: string | null | undefined;
|
|
546
564
|
width?: number | null | undefined;
|
|
547
565
|
} | null | undefined;
|
|
566
|
+
sha256?: string | null | undefined;
|
|
567
|
+
url_expires_at?: string | null | undefined;
|
|
548
568
|
variant_key?: string | undefined;
|
|
549
569
|
}[] | undefined;
|
|
550
570
|
version?: number | null | undefined;
|
|
@@ -743,7 +763,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
743
763
|
height?: number | null | undefined;
|
|
744
764
|
url?: string | null | undefined;
|
|
745
765
|
width?: number | null | undefined;
|
|
766
|
+
byte_size?: number | null | undefined;
|
|
746
767
|
content_type?: string | null | undefined;
|
|
768
|
+
duration_ms?: number | null | undefined;
|
|
747
769
|
filename?: string | null | undefined;
|
|
748
770
|
image_source?: {
|
|
749
771
|
mime_type?: string | null | undefined;
|
|
@@ -754,6 +776,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
754
776
|
url?: string | null | undefined;
|
|
755
777
|
width?: number | null | undefined;
|
|
756
778
|
} | null | undefined;
|
|
779
|
+
sha256?: string | null | undefined;
|
|
780
|
+
url_expires_at?: string | null | undefined;
|
|
757
781
|
variant_key?: string | undefined;
|
|
758
782
|
}[] | undefined;
|
|
759
783
|
version?: number | null | undefined;
|
|
@@ -879,7 +903,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
879
903
|
height?: number | null | undefined;
|
|
880
904
|
url?: string | null | undefined;
|
|
881
905
|
width?: number | null | undefined;
|
|
906
|
+
byte_size?: number | null | undefined;
|
|
882
907
|
content_type?: string | null | undefined;
|
|
908
|
+
duration_ms?: number | null | undefined;
|
|
883
909
|
filename?: string | null | undefined;
|
|
884
910
|
image_source?: {
|
|
885
911
|
mime_type?: string | null | undefined;
|
|
@@ -890,6 +916,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
890
916
|
url?: string | null | undefined;
|
|
891
917
|
width?: number | null | undefined;
|
|
892
918
|
} | null | undefined;
|
|
919
|
+
sha256?: string | null | undefined;
|
|
920
|
+
url_expires_at?: string | null | undefined;
|
|
893
921
|
variant_key?: string | undefined;
|
|
894
922
|
}[] | undefined;
|
|
895
923
|
version?: number | null | undefined;
|
|
@@ -2602,7 +2630,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2602
2630
|
height?: number | null | undefined;
|
|
2603
2631
|
url?: string | null | undefined;
|
|
2604
2632
|
width?: number | null | undefined;
|
|
2633
|
+
byte_size?: number | null | undefined;
|
|
2605
2634
|
content_type?: string | null | undefined;
|
|
2635
|
+
duration_ms?: number | null | undefined;
|
|
2606
2636
|
filename?: string | null | undefined;
|
|
2607
2637
|
image_source?: {
|
|
2608
2638
|
mime_type?: string | null | undefined;
|
|
@@ -2613,6 +2643,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2613
2643
|
url?: string | null | undefined;
|
|
2614
2644
|
width?: number | null | undefined;
|
|
2615
2645
|
} | null | undefined;
|
|
2646
|
+
sha256?: string | null | undefined;
|
|
2647
|
+
url_expires_at?: string | null | undefined;
|
|
2616
2648
|
variant_key?: string | undefined;
|
|
2617
2649
|
}[] | undefined;
|
|
2618
2650
|
version?: number | null | undefined;
|
|
@@ -2994,7 +3026,9 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
2994
3026
|
height?: number | null | undefined;
|
|
2995
3027
|
url?: string | null | undefined;
|
|
2996
3028
|
width?: number | null | undefined;
|
|
3029
|
+
byte_size?: number | null | undefined;
|
|
2997
3030
|
content_type?: string | null | undefined;
|
|
3031
|
+
duration_ms?: number | null | undefined;
|
|
2998
3032
|
filename?: string | null | undefined;
|
|
2999
3033
|
image_source?: {
|
|
3000
3034
|
mime_type?: string | null | undefined;
|
|
@@ -3005,6 +3039,8 @@ export declare const threadSchema: z.ZodObject<{
|
|
|
3005
3039
|
url?: string | null | undefined;
|
|
3006
3040
|
width?: number | null | undefined;
|
|
3007
3041
|
} | null | undefined;
|
|
3042
|
+
sha256?: string | null | undefined;
|
|
3043
|
+
url_expires_at?: string | null | undefined;
|
|
3008
3044
|
variant_key?: string | undefined;
|
|
3009
3045
|
}[] | undefined;
|
|
3010
3046
|
version?: number | null | undefined;
|
|
@@ -3403,8 +3439,10 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3403
3439
|
type: z.ZodString;
|
|
3404
3440
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3405
3441
|
variants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3442
|
+
byte_size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3406
3443
|
content_type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3407
3444
|
created_at: z.ZodOptional<z.ZodString>;
|
|
3445
|
+
duration_ms: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3408
3446
|
file: z.ZodOptional<z.ZodString>;
|
|
3409
3447
|
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3410
3448
|
height: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3434,8 +3472,10 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3434
3472
|
url?: string | null | undefined;
|
|
3435
3473
|
width?: number | null | undefined;
|
|
3436
3474
|
}>>>;
|
|
3475
|
+
sha256: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3437
3476
|
updated_at: z.ZodOptional<z.ZodString>;
|
|
3438
3477
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3478
|
+
url_expires_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3439
3479
|
variant_key: z.ZodOptional<z.ZodString>;
|
|
3440
3480
|
width: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3441
3481
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -3446,7 +3486,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3446
3486
|
height?: number | null | undefined;
|
|
3447
3487
|
url?: string | null | undefined;
|
|
3448
3488
|
width?: number | null | undefined;
|
|
3489
|
+
byte_size?: number | null | undefined;
|
|
3449
3490
|
content_type?: string | null | undefined;
|
|
3491
|
+
duration_ms?: number | null | undefined;
|
|
3450
3492
|
filename?: string | null | undefined;
|
|
3451
3493
|
image_source?: {
|
|
3452
3494
|
mime_type?: string | null | undefined;
|
|
@@ -3457,6 +3499,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3457
3499
|
url?: string | null | undefined;
|
|
3458
3500
|
width?: number | null | undefined;
|
|
3459
3501
|
} | null | undefined;
|
|
3502
|
+
sha256?: string | null | undefined;
|
|
3503
|
+
url_expires_at?: string | null | undefined;
|
|
3460
3504
|
variant_key?: string | undefined;
|
|
3461
3505
|
}, {
|
|
3462
3506
|
id: string;
|
|
@@ -3466,7 +3510,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3466
3510
|
height?: number | null | undefined;
|
|
3467
3511
|
url?: string | null | undefined;
|
|
3468
3512
|
width?: number | null | undefined;
|
|
3513
|
+
byte_size?: number | null | undefined;
|
|
3469
3514
|
content_type?: string | null | undefined;
|
|
3515
|
+
duration_ms?: number | null | undefined;
|
|
3470
3516
|
filename?: string | null | undefined;
|
|
3471
3517
|
image_source?: {
|
|
3472
3518
|
mime_type?: string | null | undefined;
|
|
@@ -3477,6 +3523,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3477
3523
|
url?: string | null | undefined;
|
|
3478
3524
|
width?: number | null | undefined;
|
|
3479
3525
|
} | null | undefined;
|
|
3526
|
+
sha256?: string | null | undefined;
|
|
3527
|
+
url_expires_at?: string | null | undefined;
|
|
3480
3528
|
variant_key?: string | undefined;
|
|
3481
3529
|
}>, "many">>;
|
|
3482
3530
|
version: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -3515,7 +3563,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3515
3563
|
height?: number | null | undefined;
|
|
3516
3564
|
url?: string | null | undefined;
|
|
3517
3565
|
width?: number | null | undefined;
|
|
3566
|
+
byte_size?: number | null | undefined;
|
|
3518
3567
|
content_type?: string | null | undefined;
|
|
3568
|
+
duration_ms?: number | null | undefined;
|
|
3519
3569
|
filename?: string | null | undefined;
|
|
3520
3570
|
image_source?: {
|
|
3521
3571
|
mime_type?: string | null | undefined;
|
|
@@ -3526,6 +3576,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3526
3576
|
url?: string | null | undefined;
|
|
3527
3577
|
width?: number | null | undefined;
|
|
3528
3578
|
} | null | undefined;
|
|
3579
|
+
sha256?: string | null | undefined;
|
|
3580
|
+
url_expires_at?: string | null | undefined;
|
|
3529
3581
|
variant_key?: string | undefined;
|
|
3530
3582
|
}[] | undefined;
|
|
3531
3583
|
version?: number | null | undefined;
|
|
@@ -3563,7 +3615,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3563
3615
|
height?: number | null | undefined;
|
|
3564
3616
|
url?: string | null | undefined;
|
|
3565
3617
|
width?: number | null | undefined;
|
|
3618
|
+
byte_size?: number | null | undefined;
|
|
3566
3619
|
content_type?: string | null | undefined;
|
|
3620
|
+
duration_ms?: number | null | undefined;
|
|
3567
3621
|
filename?: string | null | undefined;
|
|
3568
3622
|
image_source?: {
|
|
3569
3623
|
mime_type?: string | null | undefined;
|
|
@@ -3574,6 +3628,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3574
3628
|
url?: string | null | undefined;
|
|
3575
3629
|
width?: number | null | undefined;
|
|
3576
3630
|
} | null | undefined;
|
|
3631
|
+
sha256?: string | null | undefined;
|
|
3632
|
+
url_expires_at?: string | null | undefined;
|
|
3577
3633
|
variant_key?: string | undefined;
|
|
3578
3634
|
}[] | undefined;
|
|
3579
3635
|
version?: number | null | undefined;
|
|
@@ -3668,7 +3724,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3668
3724
|
height?: number | null | undefined;
|
|
3669
3725
|
url?: string | null | undefined;
|
|
3670
3726
|
width?: number | null | undefined;
|
|
3727
|
+
byte_size?: number | null | undefined;
|
|
3671
3728
|
content_type?: string | null | undefined;
|
|
3729
|
+
duration_ms?: number | null | undefined;
|
|
3672
3730
|
filename?: string | null | undefined;
|
|
3673
3731
|
image_source?: {
|
|
3674
3732
|
mime_type?: string | null | undefined;
|
|
@@ -3679,6 +3737,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3679
3737
|
url?: string | null | undefined;
|
|
3680
3738
|
width?: number | null | undefined;
|
|
3681
3739
|
} | null | undefined;
|
|
3740
|
+
sha256?: string | null | undefined;
|
|
3741
|
+
url_expires_at?: string | null | undefined;
|
|
3682
3742
|
variant_key?: string | undefined;
|
|
3683
3743
|
}[] | undefined;
|
|
3684
3744
|
version?: number | null | undefined;
|
|
@@ -3752,7 +3812,9 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3752
3812
|
height?: number | null | undefined;
|
|
3753
3813
|
url?: string | null | undefined;
|
|
3754
3814
|
width?: number | null | undefined;
|
|
3815
|
+
byte_size?: number | null | undefined;
|
|
3755
3816
|
content_type?: string | null | undefined;
|
|
3817
|
+
duration_ms?: number | null | undefined;
|
|
3756
3818
|
filename?: string | null | undefined;
|
|
3757
3819
|
image_source?: {
|
|
3758
3820
|
mime_type?: string | null | undefined;
|
|
@@ -3763,6 +3825,8 @@ export declare const threadMessageSchema: z.ZodObject<{
|
|
|
3763
3825
|
url?: string | null | undefined;
|
|
3764
3826
|
width?: number | null | undefined;
|
|
3765
3827
|
} | null | undefined;
|
|
3828
|
+
sha256?: string | null | undefined;
|
|
3829
|
+
url_expires_at?: string | null | undefined;
|
|
3766
3830
|
variant_key?: string | undefined;
|
|
3767
3831
|
}[] | undefined;
|
|
3768
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,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACnE,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAEvC,6GAA6G;AAC7G,MAAM,WAAW,cAAc;IAC7B,qOAAqO;IACrO,aAAa,CAAC,EAAE,OAAO,GAAG,IAAI,GAAG,SAAS,CAAC;CAC5C;AAED,oDAAoD;AACpD,eAAO,MAAM,oBAAoB;IAC/B,qOAAqO;;;;;;EAE9E,CAAC;AAE1J,oKAAoK;AACpK,MAAM,WAAW,MAAM;IACrB,sGAAsG;IACtG,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACvC,8CAA8C;IAC9C,UAAU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,2KAA2K;IAC3K,OAAO,CAAC,EAAE,MAAM,GAAG;QAAE,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,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;;;;;;;;;;;;;;;;;;;EAEkE,CAAC;AAEtM,8HAA8H;AAC9H,MAAM,WAAW,gBAAgB;IAC/B,gJAAgJ;IAChJ,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC,8DAA8D;IAC9D,MAAM,EAAE,MAAM,CAAC;IACf,uEAAuE;IACvE,YAAY,EAAE,MAAM,CAAC;CACtB;AAED,sDAAsD;AACtD,eAAO,MAAM,sBAAsB;IACjC,gJAAgJ;;IAEhJ,8DAA8D;;IAE9D,uEAAuE;;;;;;;;;;EAEmG,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
|