@archastro/sdk 0.10.0 → 0.11.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/client.d.ts +14 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +15 -1
- package/dist/client.js.map +1 -1
- package/dist/types/ai.d.ts +2 -2
- package/dist/types/chat.d.ts +30 -30
- package/dist/types/common.d.ts +625 -0
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +136 -1
- package/dist/types/common.js.map +1 -1
- package/dist/types/extractions.d.ts +36 -0
- package/dist/types/extractions.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/status.d.ts +121 -0
- package/dist/types/status.d.ts.map +1 -0
- package/dist/types/status.js +18 -0
- package/dist/types/status.js.map +1 -0
- package/dist/types/tasks.d.ts +254 -0
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +52 -1
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/threads.d.ts +2 -2
- package/dist/v1/resources/activity_feed.d.ts +1 -1
- package/dist/v1/resources/activity_feed.js +2 -2
- package/dist/v1/resources/custom_objects.d.ts +31 -16
- package/dist/v1/resources/custom_objects.d.ts.map +1 -1
- package/dist/v1/resources/custom_objects.js +35 -16
- package/dist/v1/resources/custom_objects.js.map +1 -1
- package/dist/v1/resources/files.d.ts +19 -0
- package/dist/v1/resources/files.d.ts.map +1 -1
- package/dist/v1/resources/files.js +3 -1
- package/dist/v1/resources/files.js.map +1 -1
- package/dist/v1/resources/index.d.ts +7 -0
- package/dist/v1/resources/index.d.ts.map +1 -1
- package/dist/v1/resources/index.js +8 -1
- package/dist/v1/resources/index.js.map +1 -1
- package/dist/v1/resources/private_service_definitions.d.ts +12 -0
- package/dist/v1/resources/private_service_definitions.d.ts.map +1 -0
- package/dist/v1/resources/private_service_definitions.js +18 -0
- package/dist/v1/resources/private_service_definitions.js.map +1 -0
- package/dist/v1/resources/private_service_enrollments.d.ts +42 -0
- package/dist/v1/resources/private_service_enrollments.d.ts.map +1 -0
- package/dist/v1/resources/private_service_enrollments.js +56 -0
- package/dist/v1/resources/private_service_enrollments.js.map +1 -0
- package/dist/v1/resources/private_services.d.ts +46 -0
- package/dist/v1/resources/private_services.d.ts.map +1 -0
- package/dist/v1/resources/private_services.js +55 -0
- package/dist/v1/resources/private_services.js.map +1 -0
- package/dist/v1/resources/sandboxes.d.ts +81 -0
- package/dist/v1/resources/sandboxes.d.ts.map +1 -0
- package/dist/v1/resources/sandboxes.js +84 -0
- package/dist/v1/resources/sandboxes.js.map +1 -0
- package/dist/v1/resources/status.d.ts +22 -0
- package/dist/v1/resources/status.d.ts.map +1 -0
- package/dist/v1/resources/status.js +27 -0
- package/dist/v1/resources/status.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +599 -0
- package/dist/v1/resources/tasks.d.ts.map +1 -0
- package/dist/v1/resources/tasks.js +436 -0
- package/dist/v1/resources/tasks.js.map +1 -0
- package/dist/v1/resources/teams.d.ts +390 -3
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +227 -4
- package/dist/v1/resources/teams.js.map +1 -1
- package/dist/v1/resources/thread_messages.d.ts +6 -3
- package/dist/v1/resources/thread_messages.d.ts.map +1 -1
- package/dist/v1/resources/thread_messages.js +5 -4
- package/dist/v1/resources/thread_messages.js.map +1 -1
- package/dist/v1/resources/threads.d.ts +39 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +36 -1
- package/dist/v1/resources/threads.js.map +1 -1
- package/dist/v1/resources/trajectories.d.ts +34 -0
- package/dist/v1/resources/trajectories.d.ts.map +1 -0
- package/dist/v1/resources/trajectories.js +41 -0
- package/dist/v1/resources/trajectories.js.map +1 -0
- package/dist/v1/resources/users.d.ts +352 -0
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +208 -1
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1.d.ts +14 -0
- package/dist/v1.d.ts.map +1 -1
- package/dist/v1.js +22 -1
- package/dist/v1.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,599 @@
|
|
|
1
|
+
import { HttpClient } from "../../runtime/http-client.js";
|
|
2
|
+
import type { Task, TaskComment, TaskSessionLease, TaskSessionLeaseSummary } from "../../types/tasks.js";
|
|
3
|
+
export declare class BlockerResource {
|
|
4
|
+
private http;
|
|
5
|
+
constructor(http: HttpClient);
|
|
6
|
+
/**
|
|
7
|
+
* List a task's blockers
|
|
8
|
+
* Returns a bounded page of the tasks currently marked as blocking the
|
|
9
|
+
* specified task, newest first. Blocking is informational: a blocked task
|
|
10
|
+
* can still change status, and it stops counting as blocked as soon as
|
|
11
|
+
* every blocker is done. The task's owner is resolved from the task itself.
|
|
12
|
+
* @param task - Blocked task ID (`tsk_...`).
|
|
13
|
+
* @param params - Query parameters.
|
|
14
|
+
* @param params.team - Explicit owning team (`tem_...`) for privileged calls.
|
|
15
|
+
* @param params.user - Explicit owning user (`usr_...`) for privileged calls.
|
|
16
|
+
* @param params.agent - Explicit owning agent (`agi_...`) for privileged calls.
|
|
17
|
+
* @param params.org - Explicit organization (`org_...`) for privileged calls; pass null when unscoped.
|
|
18
|
+
* @param params.limit - Maximum blockers to return. Capped at 100.
|
|
19
|
+
* @param params.afterCursor - Opaque cursor returned by the previous page.
|
|
20
|
+
* @returns Successful response
|
|
21
|
+
*/
|
|
22
|
+
list(task: string, params?: {
|
|
23
|
+
team?: string;
|
|
24
|
+
user?: string;
|
|
25
|
+
agent?: string;
|
|
26
|
+
org?: string;
|
|
27
|
+
limit?: number;
|
|
28
|
+
afterCursor?: string;
|
|
29
|
+
}): Promise<{
|
|
30
|
+
after_cursor?: string | undefined;
|
|
31
|
+
before_cursor?: string | undefined;
|
|
32
|
+
data: {
|
|
33
|
+
agent?: string | undefined;
|
|
34
|
+
blocked_by_count?: number | undefined;
|
|
35
|
+
closed_at?: string | undefined;
|
|
36
|
+
comments_count?: number | undefined;
|
|
37
|
+
created_at?: string | undefined;
|
|
38
|
+
created_by_actor?: {
|
|
39
|
+
alias?: string | undefined;
|
|
40
|
+
id?: string | undefined;
|
|
41
|
+
name?: string | undefined;
|
|
42
|
+
profile_picture?: {
|
|
43
|
+
file?: string | undefined;
|
|
44
|
+
height?: number | undefined;
|
|
45
|
+
media?: string | undefined;
|
|
46
|
+
mime_type?: string | undefined;
|
|
47
|
+
refresh_url?: string | undefined;
|
|
48
|
+
url?: string | undefined;
|
|
49
|
+
width?: number | undefined;
|
|
50
|
+
} | undefined;
|
|
51
|
+
} | undefined;
|
|
52
|
+
created_by_agent?: string | undefined;
|
|
53
|
+
created_by_user?: string | undefined;
|
|
54
|
+
current_lease?: {
|
|
55
|
+
expires_at: string;
|
|
56
|
+
harness: string;
|
|
57
|
+
session_name: string;
|
|
58
|
+
} | null | undefined;
|
|
59
|
+
description?: string | undefined;
|
|
60
|
+
due_date?: string | undefined;
|
|
61
|
+
id: string;
|
|
62
|
+
is_blocked?: boolean | undefined;
|
|
63
|
+
links?: Record<string, unknown> | undefined;
|
|
64
|
+
metadata?: Record<string, unknown> | undefined;
|
|
65
|
+
name: string;
|
|
66
|
+
org?: string | undefined;
|
|
67
|
+
owner_actor?: {
|
|
68
|
+
alias?: string | undefined;
|
|
69
|
+
id?: string | undefined;
|
|
70
|
+
name?: string | undefined;
|
|
71
|
+
profile_picture?: {
|
|
72
|
+
file?: string | undefined;
|
|
73
|
+
height?: number | undefined;
|
|
74
|
+
media?: string | undefined;
|
|
75
|
+
mime_type?: string | undefined;
|
|
76
|
+
refresh_url?: string | undefined;
|
|
77
|
+
url?: string | undefined;
|
|
78
|
+
width?: number | undefined;
|
|
79
|
+
} | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
owner_agent?: string | undefined;
|
|
82
|
+
owner_user?: string | undefined;
|
|
83
|
+
parent?: string | undefined;
|
|
84
|
+
priority?: number | undefined;
|
|
85
|
+
sandbox?: string | undefined;
|
|
86
|
+
status: string;
|
|
87
|
+
subtasks_count?: number | undefined;
|
|
88
|
+
tags?: string[] | undefined;
|
|
89
|
+
team?: string | undefined;
|
|
90
|
+
thread?: string | undefined;
|
|
91
|
+
updated_at?: string | undefined;
|
|
92
|
+
user?: string | undefined;
|
|
93
|
+
}[];
|
|
94
|
+
has_more: boolean;
|
|
95
|
+
}>;
|
|
96
|
+
/**
|
|
97
|
+
* Mark a task as blocked by another task
|
|
98
|
+
* Records that the task in `blocker` blocks the specified task and returns
|
|
99
|
+
* the updated task. Blocking is informational — the blocked task can still
|
|
100
|
+
* change status — and derived at read time, so the task stops reporting
|
|
101
|
+
* `is_blocked` as soon as every blocker is done. The blocker must belong to
|
|
102
|
+
* the same owner (team or user) as the task; self-blocking and blocking a
|
|
103
|
+
* task that already blocks the blocker (a direct cycle) are rejected.
|
|
104
|
+
* @param task - Blocked task ID (`tsk_...`).
|
|
105
|
+
* @param input - Request body.
|
|
106
|
+
* @param input.agent - Explicit owning agent (`agi_...`) for privileged calls.
|
|
107
|
+
* @param input.blocker - ID of the task that blocks this task (`tsk_...`).
|
|
108
|
+
* @param input.org - Explicit organization (`org_...`) for privileged calls; pass null when unscoped.
|
|
109
|
+
* @param input.team - Explicit owning team (`tem_...`) for privileged calls.
|
|
110
|
+
* @param input.user - Explicit owning user (`usr_...`) for privileged calls.
|
|
111
|
+
* @returns The updated (blocked) task.
|
|
112
|
+
*/
|
|
113
|
+
create(task: string, input: {
|
|
114
|
+
agent?: string | undefined;
|
|
115
|
+
blocker: string;
|
|
116
|
+
org?: string | undefined;
|
|
117
|
+
team?: string | undefined;
|
|
118
|
+
user?: string | undefined;
|
|
119
|
+
}): Promise<Task>;
|
|
120
|
+
/**
|
|
121
|
+
* Remove a blocker from a task
|
|
122
|
+
* Removes the blocking relationship between the task in `blocker` and the
|
|
123
|
+
* specified task. Returns 204 No Content on success, or 404 if the given
|
|
124
|
+
* task is not currently marked as blocking this task.
|
|
125
|
+
* @param task - Blocked task ID (`tsk_...`).
|
|
126
|
+
* @param blocker - ID of the blocking task to remove (`tsk_...`).
|
|
127
|
+
* @returns Empty response body. HTTP 204 No Content on success.
|
|
128
|
+
*/
|
|
129
|
+
delete(task: string, blocker: string): Promise<void>;
|
|
130
|
+
}
|
|
131
|
+
export declare class CommentResource {
|
|
132
|
+
private http;
|
|
133
|
+
constructor(http: HttpClient);
|
|
134
|
+
/**
|
|
135
|
+
* List comments on a task
|
|
136
|
+
* Returns a bounded page of comments on the specified task, ordered by creation
|
|
137
|
+
* time ascending. App-scoped developer and server-to-server callers explicitly
|
|
138
|
+
* provide the owning `team`, `user`, or `agent` and `org`.
|
|
139
|
+
* @param task - Task ID (`tsk_...`).
|
|
140
|
+
* @param params - Query parameters.
|
|
141
|
+
* @param params.team - Explicit owning team (`tem_...`) for privileged calls.
|
|
142
|
+
* @param params.user - Explicit owning user (`usr_...`) for privileged calls.
|
|
143
|
+
* @param params.agent - Explicit owning agent (`agi_...`) for privileged calls.
|
|
144
|
+
* @param params.org - Explicit organization (`org_...`) for privileged calls; pass null when unscoped.
|
|
145
|
+
* @param params.limit - Maximum comments to return. Capped at 100.
|
|
146
|
+
* @param params.afterCursor - Opaque cursor returned by the previous page.
|
|
147
|
+
* @returns Successful response
|
|
148
|
+
*/
|
|
149
|
+
list(task: string, params?: {
|
|
150
|
+
team?: string;
|
|
151
|
+
user?: string;
|
|
152
|
+
agent?: string;
|
|
153
|
+
org?: string;
|
|
154
|
+
limit?: number;
|
|
155
|
+
afterCursor?: string;
|
|
156
|
+
}): Promise<{
|
|
157
|
+
after_cursor?: string | undefined;
|
|
158
|
+
before_cursor?: string | undefined;
|
|
159
|
+
data: {
|
|
160
|
+
author_actor?: {
|
|
161
|
+
alias?: string | undefined;
|
|
162
|
+
id?: string | undefined;
|
|
163
|
+
name?: string | undefined;
|
|
164
|
+
profile_picture?: {
|
|
165
|
+
file?: string | undefined;
|
|
166
|
+
height?: number | undefined;
|
|
167
|
+
media?: string | undefined;
|
|
168
|
+
mime_type?: string | undefined;
|
|
169
|
+
refresh_url?: string | undefined;
|
|
170
|
+
url?: string | undefined;
|
|
171
|
+
width?: number | undefined;
|
|
172
|
+
} | undefined;
|
|
173
|
+
} | undefined;
|
|
174
|
+
author_agent?: string | undefined;
|
|
175
|
+
author_user?: string | undefined;
|
|
176
|
+
body: string;
|
|
177
|
+
created_at?: string | undefined;
|
|
178
|
+
id: string;
|
|
179
|
+
org?: string | undefined;
|
|
180
|
+
sandbox?: string | undefined;
|
|
181
|
+
task?: string | undefined;
|
|
182
|
+
team?: string | undefined;
|
|
183
|
+
updated_at?: string | undefined;
|
|
184
|
+
}[];
|
|
185
|
+
has_more: boolean;
|
|
186
|
+
}>;
|
|
187
|
+
/**
|
|
188
|
+
* Create a comment on a task
|
|
189
|
+
* Posts a new comment on the specified task and returns the created comment.
|
|
190
|
+
* The task's owner is resolved from the task itself.
|
|
191
|
+
* @param task - Task ID (`tsk_...`).
|
|
192
|
+
* @param input - Request body.
|
|
193
|
+
* @param input.comment - Parameters for the comment to create, including its body.
|
|
194
|
+
* @returns The newly created comment.
|
|
195
|
+
*/
|
|
196
|
+
create(task: string, input: {
|
|
197
|
+
comment: {
|
|
198
|
+
body: string;
|
|
199
|
+
};
|
|
200
|
+
}): Promise<TaskComment>;
|
|
201
|
+
/**
|
|
202
|
+
* Delete a task comment
|
|
203
|
+
* Permanently removes a comment from its task. This action cannot be undone.
|
|
204
|
+
* The task's owner is resolved from the task itself.
|
|
205
|
+
* Only the comment's author, an admin of the comment's organization, or an
|
|
206
|
+
* admin of the owning team may delete a comment. Returns `403 Forbidden`
|
|
207
|
+
* otherwise.
|
|
208
|
+
* @param task - Task ID (`tsk_...`).
|
|
209
|
+
* @param comment - Comment ID (`tcm_...`).
|
|
210
|
+
* @returns Empty body. The server responds with HTTP 204 No Content on success.
|
|
211
|
+
*/
|
|
212
|
+
delete(task: string, comment: string): Promise<void>;
|
|
213
|
+
/**
|
|
214
|
+
* Update a task comment
|
|
215
|
+
* Replaces the body of an existing comment and returns the updated comment.
|
|
216
|
+
* The task's owner is resolved from the task itself.
|
|
217
|
+
* Only the comment's author, an admin of the comment's organization, or an
|
|
218
|
+
* admin of the owning team may edit a comment. Returns `403 Forbidden`
|
|
219
|
+
* otherwise.
|
|
220
|
+
* @param task - Task ID (`tsk_...`).
|
|
221
|
+
* @param comment - Comment ID (`tcm_...`).
|
|
222
|
+
* @param input - Request body.
|
|
223
|
+
* @param input.body - Replacement body for the comment. Must be non-empty.
|
|
224
|
+
* @returns The updated comment.
|
|
225
|
+
*/
|
|
226
|
+
replace(task: string, comment: string, input: {
|
|
227
|
+
body: string;
|
|
228
|
+
}): Promise<TaskComment>;
|
|
229
|
+
}
|
|
230
|
+
export declare class LeaseResource {
|
|
231
|
+
private http;
|
|
232
|
+
constructor(http: HttpClient);
|
|
233
|
+
/**
|
|
234
|
+
* Release a task session lease
|
|
235
|
+
* Releases the authenticated assignee's matching live task lease. Repeating a
|
|
236
|
+
* release after the lease is absent succeeds. A different live successor lease
|
|
237
|
+
* returns a mismatch.
|
|
238
|
+
* @param task - Task ID (`tsk_...`).
|
|
239
|
+
* @returns Empty response. HTTP 204 is returned after release is accepted.
|
|
240
|
+
*/
|
|
241
|
+
remove(task: string): Promise<void>;
|
|
242
|
+
/**
|
|
243
|
+
* Retrieve a task's current session lease
|
|
244
|
+
* Returns the authenticated assignee's viewer-safe live lease summary, or null
|
|
245
|
+
* when no live lease exists. Fencing and opaque session identifiers are never
|
|
246
|
+
* included.
|
|
247
|
+
* @param task - Task ID (`tsk_...`).
|
|
248
|
+
* @returns Viewer-safe live lease summary, or null.
|
|
249
|
+
*/
|
|
250
|
+
list(task: string): Promise<TaskSessionLeaseSummary>;
|
|
251
|
+
/**
|
|
252
|
+
* Claim a task for a coding session
|
|
253
|
+
* Atomically claims a user-assigned task for the authenticated user's coding
|
|
254
|
+
* session. The caller generates and retains both UUIDs. An exact retry returns
|
|
255
|
+
* the existing lease without extending it; another live holder produces a
|
|
256
|
+
* conflict. Developer and server-to-server credentials cannot impersonate the
|
|
257
|
+
* assigned user.
|
|
258
|
+
* @param task - Task ID (`tsk_...`).
|
|
259
|
+
* @param input - Request body.
|
|
260
|
+
* @param input.harness - Bounded harness identifier.
|
|
261
|
+
* @param input.lease_duration_seconds - Requested lease lifetime in seconds; the task aggregate enforces its bounds.
|
|
262
|
+
* @param input.lease_id - Caller-generated lease UUID.
|
|
263
|
+
* @param input.session_id - Caller-generated coding-session UUID.
|
|
264
|
+
* @param input.session_name - Human-readable coding-session label.
|
|
265
|
+
* @returns The caller-held lease, including its fencing token.
|
|
266
|
+
*/
|
|
267
|
+
create(task: string, input: {
|
|
268
|
+
harness: string;
|
|
269
|
+
lease_duration_seconds?: number | undefined;
|
|
270
|
+
lease_id: string;
|
|
271
|
+
session_id: string;
|
|
272
|
+
session_name: string;
|
|
273
|
+
}): Promise<TaskSessionLease>;
|
|
274
|
+
/**
|
|
275
|
+
* Renew a task session lease
|
|
276
|
+
* Renews the authenticated assignee's matching live task lease. Both
|
|
277
|
+
* caller-generated UUIDs must match the aggregate's current lease.
|
|
278
|
+
* @param task - Task ID (`tsk_...`).
|
|
279
|
+
* @param input - Request body.
|
|
280
|
+
* @param input.lease_duration_seconds - Requested renewed lifetime in seconds; the task aggregate enforces its bounds.
|
|
281
|
+
* @param input.lease_id - Current caller-held lease UUID.
|
|
282
|
+
* @param input.session_id - Current coding-session UUID.
|
|
283
|
+
* @returns The renewed caller-held lease.
|
|
284
|
+
*/
|
|
285
|
+
renew(task: string, input: {
|
|
286
|
+
lease_duration_seconds?: number | undefined;
|
|
287
|
+
lease_id: string;
|
|
288
|
+
session_id: string;
|
|
289
|
+
}): Promise<TaskSessionLease>;
|
|
290
|
+
}
|
|
291
|
+
export declare class TaskResource {
|
|
292
|
+
private http;
|
|
293
|
+
readonly blockers: BlockerResource;
|
|
294
|
+
readonly comments: CommentResource;
|
|
295
|
+
readonly lease: LeaseResource;
|
|
296
|
+
constructor(http: HttpClient);
|
|
297
|
+
/**
|
|
298
|
+
* Delete a task
|
|
299
|
+
* Deletes a task from task lists and detail views. The task event stream is
|
|
300
|
+
* retained for auditability, while comments are removed and direct subtasks
|
|
301
|
+
* are promoted to top-level tasks.
|
|
302
|
+
* The delete event is accepted before the read model is updated. Clients
|
|
303
|
+
* should remove the task from local collections immediately; subsequent reads
|
|
304
|
+
* converge once the projection processes the event.
|
|
305
|
+
* Authenticated users may delete tasks they can access using their session
|
|
306
|
+
* identity. App-scoped developer and server-to-server callers must explicitly
|
|
307
|
+
* supply the task's `org` and owner. `team` or `user` identifies that owner;
|
|
308
|
+
* when neither is present, `agent` identifies an agent-owned task. With a team
|
|
309
|
+
* or user owner, `agent` identifies the acting principal. Each reference is
|
|
310
|
+
* validated before deletion.
|
|
311
|
+
* @param task - Task ID (`tsk_...`).
|
|
312
|
+
* @returns Empty response. HTTP 204 is returned after the delete event is accepted.
|
|
313
|
+
*/
|
|
314
|
+
delete(task: string): Promise<void>;
|
|
315
|
+
/**
|
|
316
|
+
* Retrieve a task
|
|
317
|
+
* Returns the full task object for the specified task ID. Authenticated users
|
|
318
|
+
* and agents resolve access through their session. App-scoped developer and
|
|
319
|
+
* server-to-server callers explicitly provide the owning `team`, `user`, or `agent` and
|
|
320
|
+
* `org`. Callers without access receive a 404.
|
|
321
|
+
* @param task - Task ID (`tsk_...`).
|
|
322
|
+
* @param params - Query parameters.
|
|
323
|
+
* @param params.team - Explicit owning team (`tem_...`) for privileged calls.
|
|
324
|
+
* @param params.user - Explicit owning user (`usr_...`) for privileged calls.
|
|
325
|
+
* @param params.agent - Explicit owning agent (`agi_...`) for privileged calls.
|
|
326
|
+
* @param params.org - Explicit organization (`org_...`) for privileged calls; pass null when unscoped.
|
|
327
|
+
* @returns The requested task.
|
|
328
|
+
*/
|
|
329
|
+
get(task: string, params?: {
|
|
330
|
+
team?: string;
|
|
331
|
+
user?: string;
|
|
332
|
+
agent?: string;
|
|
333
|
+
org?: string;
|
|
334
|
+
}): Promise<Task>;
|
|
335
|
+
/**
|
|
336
|
+
* Update a task
|
|
337
|
+
* Updates the supplied fields on a task and returns the complete updated task.
|
|
338
|
+
* Authenticated users use their session identity. App-scoped developer and
|
|
339
|
+
* server-to-server callers must explicitly supply the task's `org` and owner.
|
|
340
|
+
* `team` or `user` identifies that owner; when neither is present, `agent`
|
|
341
|
+
* identifies an agent-owned task. With a team or user owner, `agent` identifies
|
|
342
|
+
* the acting principal. Every reference is validated before the update.
|
|
343
|
+
* A cooperating coding-session client may supply both `lease_id` and
|
|
344
|
+
* `lease_session_id`. The task aggregate fences that update against the live
|
|
345
|
+
* lease and records server-sourced session provenance. Omitting both remains a
|
|
346
|
+
* normal authorized human/API update.
|
|
347
|
+
* @param task - Task ID (`tsk_...`).
|
|
348
|
+
* @param input - Request body.
|
|
349
|
+
* @param input.agent - Explicit agent (`agi_...`). It is the owner when `team` and `user` are absent; otherwise it is the acting principal.
|
|
350
|
+
* @param input.description - Updated long-form description.
|
|
351
|
+
* @param input.due_date - Updated due date in ISO 8601 format, or null to clear it.
|
|
352
|
+
* @param input.lease_id - Current caller-held lease UUID. Must be paired with `lease_session_id`.
|
|
353
|
+
* @param input.lease_session_id - Current coding-session UUID. Must be paired with `lease_id`.
|
|
354
|
+
* @param input.links - Replacement related-links object.
|
|
355
|
+
* @param input.metadata - Replacement task metadata object.
|
|
356
|
+
* @param input.name - Updated display name for the task.
|
|
357
|
+
* @param input.org - Explicit organization (`org_...`) for a developer or server-to-server call. Pass null for an owner outside an organization.
|
|
358
|
+
* @param input.owner_agent - Assign to an agent by public ID (`agi_...`).
|
|
359
|
+
* @param input.owner_user - Assign to a user by public ID (`usr_...`).
|
|
360
|
+
* @param input.parent - Move this task under a top-level parent (`tsk_...`), or pass null to promote it to a top-level task. A task that has subtasks cannot become one.
|
|
361
|
+
* @param input.priority - Updated priority from 0 (highest) to 4 (lowest).
|
|
362
|
+
* @param input.status - Updated status: `open`, `in_progress`, or `done`.
|
|
363
|
+
* @param input.tags - Replacement tag list (max 20, each up to 40 characters; normalized to lowercase). Pass an empty array to clear all tags.
|
|
364
|
+
* @param input.team - Explicit owning team (`tem_...`) for a developer or server-to-server call.
|
|
365
|
+
* @param input.user - Explicit user (`usr_...`) for a developer or server-to-server call. With `team`, this identifies the acting team member.
|
|
366
|
+
* @returns The updated task.
|
|
367
|
+
*/
|
|
368
|
+
replace(task: string, input: {
|
|
369
|
+
agent?: string | undefined;
|
|
370
|
+
description?: string | undefined;
|
|
371
|
+
due_date?: string | undefined;
|
|
372
|
+
lease_id?: string | undefined;
|
|
373
|
+
lease_session_id?: string | undefined;
|
|
374
|
+
links?: Record<string, unknown> | undefined;
|
|
375
|
+
metadata?: Record<string, unknown> | undefined;
|
|
376
|
+
name?: string | undefined;
|
|
377
|
+
org?: string | undefined;
|
|
378
|
+
owner_agent?: string | undefined;
|
|
379
|
+
owner_user?: string | undefined;
|
|
380
|
+
parent?: string | undefined;
|
|
381
|
+
priority?: number | undefined;
|
|
382
|
+
status?: string | undefined;
|
|
383
|
+
tags?: string[] | undefined;
|
|
384
|
+
team?: string | undefined;
|
|
385
|
+
user?: string | undefined;
|
|
386
|
+
}): Promise<Task>;
|
|
387
|
+
/**
|
|
388
|
+
* List a task's activity
|
|
389
|
+
* Returns a bounded chronological page of activity for the specified task.
|
|
390
|
+
* App-scoped developer and server-to-server callers explicitly provide the
|
|
391
|
+
* owning `team`, `user`, or `agent` and `org`.
|
|
392
|
+
* @param task - Task ID (`tsk_...`).
|
|
393
|
+
* @param params - Query parameters.
|
|
394
|
+
* @param params.team - Explicit owning team (`tem_...`) for privileged calls.
|
|
395
|
+
* @param params.user - Explicit owning user (`usr_...`) for privileged calls.
|
|
396
|
+
* @param params.agent - Explicit owning agent (`agi_...`) for privileged calls.
|
|
397
|
+
* @param params.org - Explicit organization (`org_...`) for privileged calls; pass null when unscoped.
|
|
398
|
+
* @param params.limit - Maximum entries to return. Capped at 100.
|
|
399
|
+
* @param params.afterCursor - Opaque cursor returned by the previous page.
|
|
400
|
+
* @returns Successful response
|
|
401
|
+
*/
|
|
402
|
+
activity(task: string, params?: {
|
|
403
|
+
team?: string;
|
|
404
|
+
user?: string;
|
|
405
|
+
agent?: string;
|
|
406
|
+
org?: string;
|
|
407
|
+
limit?: number;
|
|
408
|
+
afterCursor?: string;
|
|
409
|
+
}): Promise<{
|
|
410
|
+
after_cursor?: string | undefined;
|
|
411
|
+
before_cursor?: string | undefined;
|
|
412
|
+
data: {
|
|
413
|
+
event_type?: string | undefined;
|
|
414
|
+
sentence?: string | undefined;
|
|
415
|
+
timestamp?: string | undefined;
|
|
416
|
+
}[];
|
|
417
|
+
has_more: boolean;
|
|
418
|
+
}>;
|
|
419
|
+
/**
|
|
420
|
+
* List the tasks a task blocks
|
|
421
|
+
* Returns a bounded page of the tasks that the specified task is marked as
|
|
422
|
+
* blocking (the inverse of `GET /tasks/{task}/blockers`), newest first.
|
|
423
|
+
* The task's owner is resolved from the task itself.
|
|
424
|
+
* @param task - Blocking task ID (`tsk_...`).
|
|
425
|
+
* @param params - Query parameters.
|
|
426
|
+
* @param params.team - Explicit owning team (`tem_...`) for privileged calls.
|
|
427
|
+
* @param params.user - Explicit owning user (`usr_...`) for privileged calls.
|
|
428
|
+
* @param params.agent - Explicit owning agent (`agi_...`) for privileged calls.
|
|
429
|
+
* @param params.org - Explicit organization (`org_...`) for privileged calls; pass null when unscoped.
|
|
430
|
+
* @param params.limit - Maximum tasks to return. Capped at 100.
|
|
431
|
+
* @param params.afterCursor - Opaque cursor returned by the previous page.
|
|
432
|
+
* @returns Successful response
|
|
433
|
+
*/
|
|
434
|
+
blocking(task: string, params?: {
|
|
435
|
+
team?: string;
|
|
436
|
+
user?: string;
|
|
437
|
+
agent?: string;
|
|
438
|
+
org?: string;
|
|
439
|
+
limit?: number;
|
|
440
|
+
afterCursor?: string;
|
|
441
|
+
}): Promise<{
|
|
442
|
+
after_cursor?: string | undefined;
|
|
443
|
+
before_cursor?: string | undefined;
|
|
444
|
+
data: {
|
|
445
|
+
agent?: string | undefined;
|
|
446
|
+
blocked_by_count?: number | undefined;
|
|
447
|
+
closed_at?: string | undefined;
|
|
448
|
+
comments_count?: number | undefined;
|
|
449
|
+
created_at?: string | undefined;
|
|
450
|
+
created_by_actor?: {
|
|
451
|
+
alias?: string | undefined;
|
|
452
|
+
id?: string | undefined;
|
|
453
|
+
name?: string | undefined;
|
|
454
|
+
profile_picture?: {
|
|
455
|
+
file?: string | undefined;
|
|
456
|
+
height?: number | undefined;
|
|
457
|
+
media?: string | undefined;
|
|
458
|
+
mime_type?: string | undefined;
|
|
459
|
+
refresh_url?: string | undefined;
|
|
460
|
+
url?: string | undefined;
|
|
461
|
+
width?: number | undefined;
|
|
462
|
+
} | undefined;
|
|
463
|
+
} | undefined;
|
|
464
|
+
created_by_agent?: string | undefined;
|
|
465
|
+
created_by_user?: string | undefined;
|
|
466
|
+
current_lease?: {
|
|
467
|
+
expires_at: string;
|
|
468
|
+
harness: string;
|
|
469
|
+
session_name: string;
|
|
470
|
+
} | null | undefined;
|
|
471
|
+
description?: string | undefined;
|
|
472
|
+
due_date?: string | undefined;
|
|
473
|
+
id: string;
|
|
474
|
+
is_blocked?: boolean | undefined;
|
|
475
|
+
links?: Record<string, unknown> | undefined;
|
|
476
|
+
metadata?: Record<string, unknown> | undefined;
|
|
477
|
+
name: string;
|
|
478
|
+
org?: string | undefined;
|
|
479
|
+
owner_actor?: {
|
|
480
|
+
alias?: string | undefined;
|
|
481
|
+
id?: string | undefined;
|
|
482
|
+
name?: string | undefined;
|
|
483
|
+
profile_picture?: {
|
|
484
|
+
file?: string | undefined;
|
|
485
|
+
height?: number | undefined;
|
|
486
|
+
media?: string | undefined;
|
|
487
|
+
mime_type?: string | undefined;
|
|
488
|
+
refresh_url?: string | undefined;
|
|
489
|
+
url?: string | undefined;
|
|
490
|
+
width?: number | undefined;
|
|
491
|
+
} | undefined;
|
|
492
|
+
} | undefined;
|
|
493
|
+
owner_agent?: string | undefined;
|
|
494
|
+
owner_user?: string | undefined;
|
|
495
|
+
parent?: string | undefined;
|
|
496
|
+
priority?: number | undefined;
|
|
497
|
+
sandbox?: string | undefined;
|
|
498
|
+
status: string;
|
|
499
|
+
subtasks_count?: number | undefined;
|
|
500
|
+
tags?: string[] | undefined;
|
|
501
|
+
team?: string | undefined;
|
|
502
|
+
thread?: string | undefined;
|
|
503
|
+
updated_at?: string | undefined;
|
|
504
|
+
user?: string | undefined;
|
|
505
|
+
}[];
|
|
506
|
+
has_more: boolean;
|
|
507
|
+
}>;
|
|
508
|
+
/**
|
|
509
|
+
* List a task's subtasks
|
|
510
|
+
* Returns a bounded page of the specified task's subtasks (tasks whose
|
|
511
|
+
* `parent` is this task), newest first. Subtasks nest exactly one level, so
|
|
512
|
+
* entries never have subtasks of their own. Privileged callers explicitly
|
|
513
|
+
* provide the owning `team`, `user`, or `agent` and `org`.
|
|
514
|
+
* @param task - Parent task ID (`tsk_...`).
|
|
515
|
+
* @param params - Query parameters.
|
|
516
|
+
* @param params.team - Explicit owning team (`tem_...`) for privileged calls.
|
|
517
|
+
* @param params.user - Explicit owning user (`usr_...`) for privileged calls.
|
|
518
|
+
* @param params.agent - Explicit owning agent (`agi_...`) for privileged calls.
|
|
519
|
+
* @param params.org - Explicit organization (`org_...`) for privileged calls; pass null when unscoped.
|
|
520
|
+
* @param params.limit - Maximum subtasks to return. Capped at 100.
|
|
521
|
+
* @param params.afterCursor - Opaque cursor returned by the previous page.
|
|
522
|
+
* @returns Successful response
|
|
523
|
+
*/
|
|
524
|
+
subtasks(task: string, params?: {
|
|
525
|
+
team?: string;
|
|
526
|
+
user?: string;
|
|
527
|
+
agent?: string;
|
|
528
|
+
org?: string;
|
|
529
|
+
limit?: number;
|
|
530
|
+
afterCursor?: string;
|
|
531
|
+
}): Promise<{
|
|
532
|
+
after_cursor?: string | undefined;
|
|
533
|
+
before_cursor?: string | undefined;
|
|
534
|
+
data: {
|
|
535
|
+
agent?: string | undefined;
|
|
536
|
+
blocked_by_count?: number | undefined;
|
|
537
|
+
closed_at?: string | undefined;
|
|
538
|
+
comments_count?: number | undefined;
|
|
539
|
+
created_at?: string | undefined;
|
|
540
|
+
created_by_actor?: {
|
|
541
|
+
alias?: string | undefined;
|
|
542
|
+
id?: string | undefined;
|
|
543
|
+
name?: string | undefined;
|
|
544
|
+
profile_picture?: {
|
|
545
|
+
file?: string | undefined;
|
|
546
|
+
height?: number | undefined;
|
|
547
|
+
media?: string | undefined;
|
|
548
|
+
mime_type?: string | undefined;
|
|
549
|
+
refresh_url?: string | undefined;
|
|
550
|
+
url?: string | undefined;
|
|
551
|
+
width?: number | undefined;
|
|
552
|
+
} | undefined;
|
|
553
|
+
} | undefined;
|
|
554
|
+
created_by_agent?: string | undefined;
|
|
555
|
+
created_by_user?: string | undefined;
|
|
556
|
+
current_lease?: {
|
|
557
|
+
expires_at: string;
|
|
558
|
+
harness: string;
|
|
559
|
+
session_name: string;
|
|
560
|
+
} | null | undefined;
|
|
561
|
+
description?: string | undefined;
|
|
562
|
+
due_date?: string | undefined;
|
|
563
|
+
id: string;
|
|
564
|
+
is_blocked?: boolean | undefined;
|
|
565
|
+
links?: Record<string, unknown> | undefined;
|
|
566
|
+
metadata?: Record<string, unknown> | undefined;
|
|
567
|
+
name: string;
|
|
568
|
+
org?: string | undefined;
|
|
569
|
+
owner_actor?: {
|
|
570
|
+
alias?: string | undefined;
|
|
571
|
+
id?: string | undefined;
|
|
572
|
+
name?: string | undefined;
|
|
573
|
+
profile_picture?: {
|
|
574
|
+
file?: string | undefined;
|
|
575
|
+
height?: number | undefined;
|
|
576
|
+
media?: string | undefined;
|
|
577
|
+
mime_type?: string | undefined;
|
|
578
|
+
refresh_url?: string | undefined;
|
|
579
|
+
url?: string | undefined;
|
|
580
|
+
width?: number | undefined;
|
|
581
|
+
} | undefined;
|
|
582
|
+
} | undefined;
|
|
583
|
+
owner_agent?: string | undefined;
|
|
584
|
+
owner_user?: string | undefined;
|
|
585
|
+
parent?: string | undefined;
|
|
586
|
+
priority?: number | undefined;
|
|
587
|
+
sandbox?: string | undefined;
|
|
588
|
+
status: string;
|
|
589
|
+
subtasks_count?: number | undefined;
|
|
590
|
+
tags?: string[] | undefined;
|
|
591
|
+
team?: string | undefined;
|
|
592
|
+
thread?: string | undefined;
|
|
593
|
+
updated_at?: string | undefined;
|
|
594
|
+
user?: string | undefined;
|
|
595
|
+
}[];
|
|
596
|
+
has_more: boolean;
|
|
597
|
+
}>;
|
|
598
|
+
}
|
|
599
|
+
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/tasks.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,gBAAgB,EAAE,uBAAuB,EAAE,MAAM,sBAAsB,CAAC;AAEzG,qBAAa,eAAe;IACd,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC;;;;;;;;;;;;;;;OAeG;IACG,IAAI,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE;QAAE,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,GAAG,CAAC,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAA;KAAE,GAAG,OAAO,CAAC;QAAE,YAAY,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,aAAa,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,EAAE;YAAE,KAAK,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;YAAC,gBAAgB,CAAC,EAAE,MAAM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