@airstore/sdk 0.1.4 → 0.1.7
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/README.md +206 -285
- package/dist/cjs/airstore.js +33 -24
- package/dist/cjs/airstore.js.map +1 -1
- package/dist/cjs/client.js +22 -2
- package/dist/cjs/client.js.map +1 -1
- package/dist/cjs/index.js +6 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/resources/access-log.js +3 -55
- package/dist/cjs/resources/access-log.js.map +1 -1
- package/dist/cjs/resources/agents.js +57 -2
- package/dist/cjs/resources/agents.js.map +1 -1
- package/dist/cjs/resources/channels.js +50 -0
- package/dist/cjs/resources/channels.js.map +1 -0
- package/dist/cjs/resources/connections.js +6 -37
- package/dist/cjs/resources/connections.js.map +1 -1
- package/dist/cjs/resources/filesystem.js +61 -54
- package/dist/cjs/resources/filesystem.js.map +1 -1
- package/dist/cjs/resources/helpers.js +52 -0
- package/dist/cjs/resources/helpers.js.map +1 -0
- package/dist/cjs/resources/hooks.js +98 -0
- package/dist/cjs/resources/hooks.js.map +1 -0
- package/dist/cjs/resources/index.js +5 -1
- package/dist/cjs/resources/index.js.map +1 -1
- package/dist/cjs/resources/members.js +3 -33
- package/dist/cjs/resources/members.js.map +1 -1
- package/dist/cjs/resources/oauth.js +4 -39
- package/dist/cjs/resources/oauth.js.map +1 -1
- package/dist/cjs/resources/runs.js +67 -10
- package/dist/cjs/resources/runs.js.map +1 -1
- package/dist/cjs/resources/tasks.js +185 -46
- package/dist/cjs/resources/tasks.js.map +1 -1
- package/dist/cjs/resources/tokens.js +5 -36
- package/dist/cjs/resources/tokens.js.map +1 -1
- package/dist/cjs/resources/views.js +5 -40
- package/dist/cjs/resources/views.js.map +1 -1
- package/dist/cjs/resources/workspaces.js +18 -48
- package/dist/cjs/resources/workspaces.js.map +1 -1
- package/dist/cjs/types/channels.js +3 -0
- package/dist/cjs/types/channels.js.map +1 -0
- package/dist/cjs/types/hooks.js +3 -0
- package/dist/cjs/types/hooks.js.map +1 -0
- package/dist/cjs/types/index.js +2 -0
- package/dist/cjs/types/index.js.map +1 -1
- package/dist/cjs/types/tasks.js.map +1 -1
- package/dist/esm/airstore.js +33 -24
- package/dist/esm/airstore.js.map +1 -1
- package/dist/esm/client.js +22 -2
- package/dist/esm/client.js.map +1 -1
- package/dist/esm/index.js +2 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/resources/access-log.js +3 -55
- package/dist/esm/resources/access-log.js.map +1 -1
- package/dist/esm/resources/agents.js +57 -2
- package/dist/esm/resources/agents.js.map +1 -1
- package/dist/esm/resources/channels.js +46 -0
- package/dist/esm/resources/channels.js.map +1 -0
- package/dist/esm/resources/connections.js +6 -37
- package/dist/esm/resources/connections.js.map +1 -1
- package/dist/esm/resources/filesystem.js +61 -54
- package/dist/esm/resources/filesystem.js.map +1 -1
- package/dist/esm/resources/helpers.js +47 -0
- package/dist/esm/resources/helpers.js.map +1 -0
- package/dist/esm/resources/hooks.js +94 -0
- package/dist/esm/resources/hooks.js.map +1 -0
- package/dist/esm/resources/index.js +2 -0
- package/dist/esm/resources/index.js.map +1 -1
- package/dist/esm/resources/members.js +3 -33
- package/dist/esm/resources/members.js.map +1 -1
- package/dist/esm/resources/oauth.js +4 -39
- package/dist/esm/resources/oauth.js.map +1 -1
- package/dist/esm/resources/runs.js +67 -10
- package/dist/esm/resources/runs.js.map +1 -1
- package/dist/esm/resources/tasks.js +182 -43
- package/dist/esm/resources/tasks.js.map +1 -1
- package/dist/esm/resources/tokens.js +5 -36
- package/dist/esm/resources/tokens.js.map +1 -1
- package/dist/esm/resources/views.js +5 -40
- package/dist/esm/resources/views.js.map +1 -1
- package/dist/esm/resources/workspaces.js +18 -48
- package/dist/esm/resources/workspaces.js.map +1 -1
- package/dist/esm/types/channels.js +2 -0
- package/dist/esm/types/channels.js.map +1 -0
- package/dist/esm/types/hooks.js +2 -0
- package/dist/esm/types/hooks.js.map +1 -0
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/types/index.js.map +1 -1
- package/dist/esm/types/tasks.js.map +1 -1
- package/dist/types/airstore.d.ts +31 -24
- package/dist/types/airstore.d.ts.map +1 -1
- package/dist/types/client.d.ts.map +1 -1
- package/dist/types/index.d.ts +8 -4
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/resources/access-log.d.ts +3 -55
- package/dist/types/resources/access-log.d.ts.map +1 -1
- package/dist/types/resources/agents.d.ts +22 -2
- package/dist/types/resources/agents.d.ts.map +1 -1
- package/dist/types/resources/channels.d.ts +21 -0
- package/dist/types/resources/channels.d.ts.map +1 -0
- package/dist/types/resources/connections.d.ts +6 -37
- package/dist/types/resources/connections.d.ts.map +1 -1
- package/dist/types/resources/filesystem.d.ts +39 -54
- package/dist/types/resources/filesystem.d.ts.map +1 -1
- package/dist/types/resources/helpers.d.ts +5 -0
- package/dist/types/resources/helpers.d.ts.map +1 -0
- package/dist/types/resources/hooks.d.ts +23 -0
- package/dist/types/resources/hooks.d.ts.map +1 -0
- package/dist/types/resources/index.d.ts +2 -0
- package/dist/types/resources/index.d.ts.map +1 -1
- package/dist/types/resources/members.d.ts +3 -33
- package/dist/types/resources/members.d.ts.map +1 -1
- package/dist/types/resources/oauth.d.ts +4 -39
- package/dist/types/resources/oauth.d.ts.map +1 -1
- package/dist/types/resources/runs.d.ts +14 -6
- package/dist/types/resources/runs.d.ts.map +1 -1
- package/dist/types/resources/tasks.d.ts +62 -2
- package/dist/types/resources/tasks.d.ts.map +1 -1
- package/dist/types/resources/tokens.d.ts +5 -36
- package/dist/types/resources/tokens.d.ts.map +1 -1
- package/dist/types/resources/views.d.ts +5 -40
- package/dist/types/resources/views.d.ts.map +1 -1
- package/dist/types/resources/workspaces.d.ts +13 -48
- package/dist/types/resources/workspaces.d.ts.map +1 -1
- package/dist/types/types/agents.d.ts +74 -2
- package/dist/types/types/agents.d.ts.map +1 -1
- package/dist/types/types/channels.d.ts +20 -0
- package/dist/types/types/channels.d.ts.map +1 -0
- package/dist/types/types/filesystem.d.ts +20 -0
- package/dist/types/types/filesystem.d.ts.map +1 -1
- package/dist/types/types/hooks.d.ts +57 -0
- package/dist/types/types/hooks.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +2 -0
- package/dist/types/types/index.d.ts.map +1 -1
- package/dist/types/types/runs.d.ts +22 -6
- package/dist/types/types/runs.d.ts.map +1 -1
- package/dist/types/types/tasks.d.ts +227 -3
- package/dist/types/types/tasks.d.ts.map +1 -1
- package/package.json +2 -1
|
@@ -5,53 +5,18 @@ import type { OAuthSession, OAuthSessionCreateParams, OAuthSessionStatus, OAuthP
|
|
|
5
5
|
*
|
|
6
6
|
* Use this when you want users to authorize via browser redirect
|
|
7
7
|
* rather than passing tokens directly.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const session = await airstore.oauth.createSession({
|
|
12
|
-
* integrationType: "gmail",
|
|
13
|
-
* returnTo: "https://myapp.com/callback",
|
|
14
|
-
* });
|
|
15
|
-
* console.log(session.authorize_url); // redirect user here
|
|
16
|
-
* const completed = await airstore.oauth.poll(session.session_id);
|
|
17
|
-
* ```
|
|
18
8
|
*/
|
|
19
9
|
export declare class OAuth {
|
|
20
10
|
private readonly client;
|
|
21
11
|
constructor(client: CoreClient);
|
|
22
12
|
/**
|
|
23
|
-
* Create an OAuth session
|
|
24
|
-
*
|
|
25
|
-
* Returns a session with an `authorize_url` that the user should be
|
|
26
|
-
* redirected to. Once they complete authorization, poll the session
|
|
27
|
-
* for the resulting connection ID.
|
|
28
|
-
*
|
|
29
|
-
* @param params - Session creation parameters.
|
|
30
|
-
* @param options - Per-request overrides.
|
|
31
|
-
* @returns The session with authorize_url to redirect the user to.
|
|
13
|
+
* Create an OAuth session. Returns a session with an `authorize_url`
|
|
14
|
+
* that the user should be redirected to.
|
|
32
15
|
*/
|
|
33
16
|
createSession(params: OAuthSessionCreateParams, options?: RequestOptions): Promise<OAuthSession>;
|
|
34
|
-
/**
|
|
35
|
-
* Get the current status of an OAuth session.
|
|
36
|
-
*
|
|
37
|
-
* @param sessionId - Session ID from createSession.
|
|
38
|
-
* @param options - Per-request overrides.
|
|
39
|
-
* @returns The session status.
|
|
40
|
-
*/
|
|
17
|
+
/** Get the current status of an OAuth session. */
|
|
41
18
|
getSession(sessionId: string, options?: RequestOptions): Promise<OAuthSessionStatus>;
|
|
42
|
-
/**
|
|
43
|
-
* Poll an OAuth session until completion or timeout.
|
|
44
|
-
*
|
|
45
|
-
* Repeatedly checks session status at the specified interval until
|
|
46
|
-
* the session completes, errors, or the timeout is reached.
|
|
47
|
-
*
|
|
48
|
-
* @param sessionId - Session ID from createSession.
|
|
49
|
-
* @param pollOpts - Polling configuration (timeout, interval).
|
|
50
|
-
* @param options - Per-request overrides.
|
|
51
|
-
* @returns The completed session status with connection_id.
|
|
52
|
-
*
|
|
53
|
-
* @throws {AirstoreError} If the session errors or times out.
|
|
54
|
-
*/
|
|
19
|
+
/** Poll an OAuth session until completion, error, or timeout. */
|
|
55
20
|
poll(sessionId: string, pollOpts?: OAuthPollOptions, options?: RequestOptions): Promise<OAuthSessionStatus>;
|
|
56
21
|
}
|
|
57
22
|
//# sourceMappingURL=oauth.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../src/resources/oauth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EACV,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAG3B
|
|
1
|
+
{"version":3,"file":"oauth.d.ts","sourceRoot":"","sources":["../../../src/resources/oauth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EACV,YAAY,EACZ,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EACjB,MAAM,mBAAmB,CAAC;AAG3B;;;;;GAKG;AACH,qBAAa,KAAK;IACJ,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,UAAU;IAE/C;;;OAGG;IACG,aAAa,CACjB,MAAM,EAAE,wBAAwB,EAChC,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC;IAgBxB,kDAAkD;IAC5C,UAAU,CACd,SAAS,EAAE,MAAM,EACjB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,kBAAkB,CAAC;IAU9B,iEAAiE;IAC3D,IAAI,CACR,SAAS,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,gBAAgB,EAC3B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,kBAAkB,CAAC;CAoB/B"}
|
|
@@ -1,17 +1,25 @@
|
|
|
1
|
-
import type
|
|
2
|
-
import type { AgentRun, AgentRunSnapshot, RunCancelResponse
|
|
3
|
-
import type { TaskAcceptedResponse } from '../types/tasks.js';
|
|
1
|
+
import { type CoreClient, type RequestOptions } from '../client.js';
|
|
2
|
+
import type { AgentRun, RunListParams, RunListResponse, AgentRunSnapshot, RunCancelResponse } from '../types/runs.js';
|
|
4
3
|
/**
|
|
5
|
-
* Read and
|
|
4
|
+
* Read and manage the lifecycle of agent runs.
|
|
5
|
+
*
|
|
6
|
+
* A run is the actual execution instance spawned by a task. Use this resource
|
|
7
|
+
* to inspect run status, list snapshots (intermediate state), retrieve
|
|
8
|
+
* execution events, or cancel a running execution.
|
|
6
9
|
*/
|
|
7
10
|
export declare class Runs {
|
|
8
11
|
private readonly client;
|
|
9
12
|
constructor(client: CoreClient);
|
|
10
|
-
|
|
13
|
+
/** List runs with optional filters (agent, status, session, date range) and cursor pagination. */
|
|
14
|
+
list(workspaceId: string, options?: RequestOptions): Promise<RunListResponse>;
|
|
15
|
+
list(workspaceId: string, params?: RunListParams, options?: RequestOptions): Promise<RunListResponse>;
|
|
16
|
+
/** Retrieve a single run by ID. */
|
|
11
17
|
retrieve(workspaceId: string, runId: string, options?: RequestOptions): Promise<AgentRun>;
|
|
18
|
+
/** List snapshots (intermediate state captures) for a run, ordered by sequence number. */
|
|
12
19
|
listSnapshots(workspaceId: string, runId: string, options?: RequestOptions): Promise<AgentRunSnapshot[]>;
|
|
20
|
+
/** List execution events emitted during a run. */
|
|
13
21
|
listEvents(workspaceId: string, runId: string, options?: RequestOptions): Promise<Array<Record<string, unknown>>>;
|
|
14
|
-
|
|
22
|
+
/** Cancel an active run. */
|
|
15
23
|
cancel(workspaceId: string, runId: string, options?: RequestOptions): Promise<RunCancelResponse>;
|
|
16
24
|
}
|
|
17
25
|
//# sourceMappingURL=runs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/resources/runs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"runs.d.ts","sourceRoot":"","sources":["../../../src/resources/runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AACxF,OAAO,KAAK,EACV,QAAQ,EACR,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EAClB,MAAM,kBAAkB,CAAC;AAE1B;;;;;;GAMG;AACH,qBAAa,IAAI;IACH,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,UAAU;IAE/C,kGAAkG;IAC5F,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,eAAe,CAAC;IAC7E,IAAI,CACR,WAAW,EAAE,MAAM,EACnB,MAAM,CAAC,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,eAAe,CAAC;IAqC3B,mCAAmC;IAC7B,QAAQ,CACZ,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,QAAQ,CAAC;IAUpB,0FAA0F;IACpF,aAAa,CACjB,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,gBAAgB,EAAE,CAAC;IAU9B,kDAAkD;IAC5C,UAAU,CACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAU1C,4BAA4B;IACtB,MAAM,CACV,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,iBAAiB,CAAC;CAS9B"}
|
|
@@ -1,12 +1,72 @@
|
|
|
1
1
|
import type { CoreClient, RequestOptions } from '../client.js';
|
|
2
|
-
import type { AgentCommandCreateParams, AgentTask, TaskAcceptedResponse } from '../types/tasks.js';
|
|
2
|
+
import type { AgentCommandCreateParams, AgentTask, TaskCancelResponse, TaskAcceptedResponse, TaskArchiveResponse, TaskListParams, TaskListResponse, TaskUpdateParams, TaskLogListParams, TaskLogListResponse, TaskEventStreamParams, TaskEventBatch, Schedule, ScheduleCreateParams, ScheduleUpdateParams, TaskOutput, TaskOutputListParams, TaskOutputListResponse, CreateTaskOutputParams, AppendRowsParams, SubmitTaskInputParams, SubmitTaskInputResponse } from '../types/tasks.js';
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Create, list, and manage agent tasks and their cron schedules.
|
|
5
|
+
*
|
|
6
|
+
* A task is a unit of intent sent to an agent. Creating a task triggers the
|
|
7
|
+
* orchestrator to dispatch a run. Tasks support idempotency, cancellation,
|
|
8
|
+
* archival, log streaming, and cron-based scheduling.
|
|
5
9
|
*/
|
|
6
10
|
export declare class Tasks {
|
|
7
11
|
private readonly client;
|
|
8
12
|
constructor(client: CoreClient);
|
|
13
|
+
/**
|
|
14
|
+
* Submit a new task to an agent. Returns an accepted response containing the
|
|
15
|
+
* task and, when immediately dispatched, a `run_id`. Duplicate submissions
|
|
16
|
+
* with the same `idempotencyKey` return the original task.
|
|
17
|
+
*/
|
|
9
18
|
create(workspaceId: string, params: AgentCommandCreateParams, options?: RequestOptions): Promise<TaskAcceptedResponse>;
|
|
19
|
+
/** Retrieve a single task by ID. */
|
|
10
20
|
retrieve(workspaceId: string, taskId: string, options?: RequestOptions): Promise<AgentTask>;
|
|
21
|
+
/** List tasks with optional filters (state, agent, date range) and cursor pagination. */
|
|
22
|
+
list(workspaceId: string, params?: TaskListParams, options?: RequestOptions): Promise<TaskListResponse>;
|
|
23
|
+
/** Fetch execution logs for a task. Pass `cursor` for incremental reads. */
|
|
24
|
+
listLogs(workspaceId: string, taskId: string, params?: TaskLogListParams, options?: RequestOptions): Promise<TaskLogListResponse>;
|
|
25
|
+
/**
|
|
26
|
+
* Poll a composite event stream for a task: the current task/run state,
|
|
27
|
+
* new log entries, run events, and pending inputs in a single batch.
|
|
28
|
+
*/
|
|
29
|
+
streamEvents(workspaceId: string, taskId: string, params?: TaskEventStreamParams, options?: RequestOptions): Promise<TaskEventBatch>;
|
|
30
|
+
/** Cancel a running task and its active run. */
|
|
31
|
+
cancel(workspaceId: string, taskId: string, options?: RequestOptions): Promise<TaskCancelResponse>;
|
|
32
|
+
/** Archive a terminal task so it no longer appears in active listings. */
|
|
33
|
+
archive(workspaceId: string, taskId: string, options?: RequestOptions): Promise<TaskArchiveResponse>;
|
|
34
|
+
/**
|
|
35
|
+
* Submit follow-up input to a task. The backend durably stores the input
|
|
36
|
+
* and delivers it to whichever run is active for the task.
|
|
37
|
+
*/
|
|
38
|
+
submitInput(workspaceId: string, taskId: string, params: SubmitTaskInputParams, options?: RequestOptions): Promise<SubmitTaskInputResponse>;
|
|
39
|
+
/** Update metadata on an existing task. */
|
|
40
|
+
update(workspaceId: string, taskId: string, params: TaskUpdateParams, options?: RequestOptions): Promise<AgentTask>;
|
|
41
|
+
private schedulePath;
|
|
42
|
+
/** Create a cron schedule that periodically submits a task to an agent. */
|
|
43
|
+
createSchedule(workspaceId: string, params: ScheduleCreateParams, options?: RequestOptions): Promise<Schedule>;
|
|
44
|
+
/** List all cron schedules in a workspace. */
|
|
45
|
+
listSchedules(workspaceId: string, options?: RequestOptions): Promise<Schedule[]>;
|
|
46
|
+
/** Retrieve a single schedule by ID. */
|
|
47
|
+
retrieveSchedule(workspaceId: string, scheduleId: string, options?: RequestOptions): Promise<Schedule>;
|
|
48
|
+
/** Update a schedule. Only provided fields are changed. Set `active: false` to pause. */
|
|
49
|
+
updateSchedule(workspaceId: string, scheduleId: string, params: ScheduleUpdateParams, options?: RequestOptions): Promise<Schedule>;
|
|
50
|
+
/** Permanently delete a schedule. */
|
|
51
|
+
deleteSchedule(workspaceId: string, scheduleId: string, options?: RequestOptions): Promise<void>;
|
|
52
|
+
private outputPath;
|
|
53
|
+
/** List all outputs for a task. */
|
|
54
|
+
listOutputs(workspaceId: string, taskId: string, options?: RequestOptions): Promise<TaskOutput[]>;
|
|
55
|
+
/** List recent outputs across a workspace. */
|
|
56
|
+
listWorkspaceOutputs(workspaceId: string, params?: TaskOutputListParams, options?: RequestOptions): Promise<TaskOutputListResponse>;
|
|
57
|
+
/** Create a structured output for a task. */
|
|
58
|
+
createOutput(workspaceId: string, taskId: string, params: CreateTaskOutputParams, options?: RequestOptions): Promise<TaskOutput>;
|
|
59
|
+
/** Retrieve a single output by ID (includes full data). */
|
|
60
|
+
getOutput(workspaceId: string, taskId: string, outputId: string, options?: RequestOptions): Promise<TaskOutput>;
|
|
61
|
+
/** Append rows to a table output. */
|
|
62
|
+
appendOutputRows(workspaceId: string, taskId: string, outputId: string, params: AppendRowsParams, options?: RequestOptions): Promise<void>;
|
|
63
|
+
/** Delete an output. */
|
|
64
|
+
deleteOutput(workspaceId: string, taskId: string, outputId: string, options?: RequestOptions): Promise<void>;
|
|
65
|
+
/** Archive (dismiss) a single output. */
|
|
66
|
+
archiveOutput(workspaceId: string, outputId: string, options?: RequestOptions): Promise<void>;
|
|
67
|
+
/** Archive all unarchived outputs in the workspace. */
|
|
68
|
+
archiveAllOutputs(workspaceId: string, options?: RequestOptions): Promise<{
|
|
69
|
+
archived: number;
|
|
70
|
+
}>;
|
|
11
71
|
}
|
|
12
72
|
//# sourceMappingURL=tasks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/resources/tasks.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"tasks.d.ts","sourceRoot":"","sources":["../../../src/resources/tasks.ts"],"names":[],"mappings":"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"}
|
|
@@ -5,50 +5,19 @@ import type { Token, TokenCreateParams, TokenCreated } from '../types/tokens.js'
|
|
|
5
5
|
*
|
|
6
6
|
* Tokens are used for CLI mounting (`airstore start --token <token>`)
|
|
7
7
|
* and per-workspace programmatic access.
|
|
8
|
-
*
|
|
9
|
-
* @example
|
|
10
|
-
* ```ts
|
|
11
|
-
* const token = await airstore.tokens.create("ws_abc", {
|
|
12
|
-
* email: "agent@internal",
|
|
13
|
-
* name: "vm-mount",
|
|
14
|
-
* });
|
|
15
|
-
* // token.token -> pass to: airstore start --token <this>
|
|
16
|
-
* ```
|
|
17
8
|
*/
|
|
18
9
|
export declare class Tokens {
|
|
19
10
|
private readonly client;
|
|
20
11
|
constructor(client: CoreClient);
|
|
21
12
|
/**
|
|
22
|
-
* Create a workspace-scoped token.
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* and no member with that email exists, one is auto-created.
|
|
26
|
-
*
|
|
27
|
-
* @param workspaceId - Workspace external ID.
|
|
28
|
-
* @param params - Token creation parameters.
|
|
29
|
-
* @param options - Per-request overrides.
|
|
30
|
-
* @returns The created token with raw value (shown once — store it safely).
|
|
13
|
+
* Create a workspace-scoped token. Either `memberId` or `email` must be
|
|
14
|
+
* provided. If `email` is given and no member exists, one is auto-created.
|
|
15
|
+
* The raw token value is only returned once -- store it safely.
|
|
31
16
|
*/
|
|
32
17
|
create(workspaceId: string, params: TokenCreateParams, options?: RequestOptions): Promise<TokenCreated>;
|
|
33
|
-
/**
|
|
34
|
-
* List tokens in a workspace.
|
|
35
|
-
*
|
|
36
|
-
* Raw token values are never returned — only metadata.
|
|
37
|
-
*
|
|
38
|
-
* @param workspaceId - Workspace external ID.
|
|
39
|
-
* @param options - Per-request overrides.
|
|
40
|
-
* @returns Array of token metadata.
|
|
41
|
-
*/
|
|
18
|
+
/** List tokens in a workspace. Raw token values are never returned. */
|
|
42
19
|
list(workspaceId: string, options?: RequestOptions): Promise<Token[]>;
|
|
43
|
-
/**
|
|
44
|
-
* Revoke (delete) a token. Once revoked, the token can no longer be used.
|
|
45
|
-
*
|
|
46
|
-
* @param workspaceId - Workspace external ID.
|
|
47
|
-
* @param tokenId - Token external ID.
|
|
48
|
-
* @param options - Per-request overrides.
|
|
49
|
-
*
|
|
50
|
-
* @throws {NotFoundError} If the token doesn't exist.
|
|
51
|
-
*/
|
|
20
|
+
/** Revoke (delete) a token. Once revoked it can no longer be used. */
|
|
52
21
|
revoke(workspaceId: string, tokenId: string, options?: RequestOptions): Promise<void>;
|
|
53
22
|
}
|
|
54
23
|
//# sourceMappingURL=tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/resources/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEjF
|
|
1
|
+
{"version":3,"file":"tokens.d.ts","sourceRoot":"","sources":["../../../src/resources/tokens.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAEjF;;;;;GAKG;AACH,qBAAa,MAAM;IACL,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,UAAU;IAE/C;;;;OAIG;IACG,MAAM,CACV,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,iBAAiB,EACzB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,YAAY,CAAC;IAgBxB,uEAAuE;IACjE,IAAI,CAAC,WAAW,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;IAU3E,sEAAsE;IAChE,MAAM,CACV,WAAW,EAAE,MAAM,EACnB,OAAO,EAAE,MAAM,EACf,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;CASjB"}
|
|
@@ -6,61 +6,26 @@ import type { SourceView, ViewCreateParams, ViewUpdateParams, SyncResult, Integr
|
|
|
6
6
|
* Source views are materialized queries over connected data sources.
|
|
7
7
|
* In **smart** mode the query is LLM-inferred from natural language guidance;
|
|
8
8
|
* in **query** mode the query is built from a structured per-integration filter.
|
|
9
|
-
*
|
|
10
|
-
* @example Smart mode (LLM-inferred)
|
|
11
|
-
* ```ts
|
|
12
|
-
* await airstore.views.create("ws_abc", {
|
|
13
|
-
* integration: "gmail",
|
|
14
|
-
* name: "Recent Emails",
|
|
15
|
-
* guidance: "Last 7 days of emails",
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*
|
|
19
|
-
* @example Query mode (structured filter)
|
|
20
|
-
* ```ts
|
|
21
|
-
* await airstore.views.create("ws_abc", {
|
|
22
|
-
* integration: "gmail",
|
|
23
|
-
* name: "Unread from boss",
|
|
24
|
-
* filter: { from: "boss@company.com", is_unread: true },
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
9
|
*/
|
|
28
10
|
export declare class Views {
|
|
29
11
|
private readonly client;
|
|
30
12
|
constructor(client: CoreClient);
|
|
31
13
|
/**
|
|
32
|
-
* Create a new source view.
|
|
33
|
-
*
|
|
34
|
-
* If `filter` is provided the view is created in query mode;
|
|
35
|
-
* otherwise it uses smart mode with LLM inference from `guidance`.
|
|
14
|
+
* Create a new source view. If `filter` is provided the view is created
|
|
15
|
+
* in query mode; otherwise it uses smart mode with LLM inference from `guidance`.
|
|
36
16
|
*/
|
|
37
17
|
create(workspaceId: string, params: ViewCreateParams, options?: RequestOptions): Promise<SourceView>;
|
|
38
18
|
/** List all source views in a workspace. */
|
|
39
19
|
list(workspaceId: string, options?: RequestOptions): Promise<SourceView[]>;
|
|
40
20
|
/** Retrieve a source view by its virtual filesystem path. */
|
|
41
21
|
retrieve(workspaceId: string, viewPath: string, options?: RequestOptions): Promise<SourceView>;
|
|
42
|
-
/** Update an existing source view. */
|
|
22
|
+
/** Update an existing source view. Only provided fields are changed. */
|
|
43
23
|
update(workspaceId: string, viewId: string, params: ViewUpdateParams, options?: RequestOptions): Promise<SourceView>;
|
|
44
24
|
/** Delete a source view. */
|
|
45
25
|
del(workspaceId: string, viewId: string, options?: RequestOptions): Promise<void>;
|
|
46
|
-
/**
|
|
47
|
-
* Sync a source view — re-execute its query and refresh cached metadata.
|
|
48
|
-
*
|
|
49
|
-
* Idempotent and safe to call repeatedly. Returns the count of total
|
|
50
|
-
* and newly discovered results.
|
|
51
|
-
*/
|
|
26
|
+
/** Sync a source view -- re-execute its query and refresh cached metadata. */
|
|
52
27
|
sync(workspaceId: string, viewId: string, options?: RequestOptions): Promise<SyncResult>;
|
|
53
|
-
/**
|
|
54
|
-
* List available resources for an integration (repos, channels, etc.).
|
|
55
|
-
*
|
|
56
|
-
* Used to populate filter dropdowns with real data from connected sources.
|
|
57
|
-
*
|
|
58
|
-
* @example
|
|
59
|
-
* ```ts
|
|
60
|
-
* const repos = await airstore.views.listResources("ws_abc", "github");
|
|
61
|
-
* // [{ id: "owner/repo", name: "owner/repo" }, ...]
|
|
62
|
-
* ```
|
|
63
|
-
*/
|
|
28
|
+
/** List available resources for an integration (repos, channels, etc.). */
|
|
64
29
|
listResources(workspaceId: string, integration: string, resourceType?: string, options?: RequestOptions): Promise<IntegrationResource[]>;
|
|
65
30
|
}
|
|
66
31
|
//# sourceMappingURL=views.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/resources/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B
|
|
1
|
+
{"version":3,"file":"views.d.ts","sourceRoot":"","sources":["../../../src/resources/views.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EACV,UAAU,EACV,gBAAgB,EAChB,gBAAgB,EAChB,UAAU,EACV,mBAAmB,EACpB,MAAM,mBAAmB,CAAC;AAE3B;;;;;;GAMG;AACH,qBAAa,KAAK;IACJ,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,UAAU;IAE/C;;;OAGG;IACG,MAAM,CACV,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC;IAmBtB,4CAA4C;IACtC,IAAI,CACR,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,EAAE,CAAC;IAWxB,6DAA6D;IACvD,QAAQ,CACZ,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,EAChB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC;IAUtB,wEAAwE;IAClE,MAAM,CACV,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,gBAAgB,EACxB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC;IAetB,4BAA4B;IACtB,GAAG,CACP,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;IAUhB,8EAA8E;IACxE,IAAI,CACR,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,MAAM,EACd,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,UAAU,CAAC;IAUtB,2EAA2E;IACrE,aAAa,CACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,YAAY,CAAC,EAAE,MAAM,EACrB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,mBAAmB,EAAE,CAAC;CAalC"}
|
|
@@ -1,63 +1,28 @@
|
|
|
1
1
|
import type { CoreClient, RequestOptions } from '../client.js';
|
|
2
2
|
import type { Workspace, WorkspaceCreateParams } from '../types/workspaces.js';
|
|
3
|
+
import type { ChannelBinding, UpdateChannelsParams } from '../types/agents.js';
|
|
3
4
|
/**
|
|
4
|
-
*
|
|
5
|
+
* Create, list, retrieve, and delete workspaces.
|
|
5
6
|
*
|
|
6
7
|
* Workspaces are the top-level container for connections, source views,
|
|
7
|
-
* members, and the virtual filesystem.
|
|
8
|
-
* workspaces are automatically scoped to the token's tenant.
|
|
9
|
-
*
|
|
10
|
-
* @example
|
|
11
|
-
* ```ts
|
|
12
|
-
* const ws = await airstore.workspaces.create({ name: "user-123" });
|
|
13
|
-
* console.log(ws.external_id);
|
|
14
|
-
* ```
|
|
8
|
+
* agents, members, and the virtual filesystem.
|
|
15
9
|
*/
|
|
16
10
|
export declare class Workspaces {
|
|
17
11
|
private readonly client;
|
|
18
12
|
constructor(client: CoreClient);
|
|
19
|
-
/**
|
|
20
|
-
* Create a new workspace.
|
|
21
|
-
*
|
|
22
|
-
* When called with an organization token, the workspace is automatically
|
|
23
|
-
* tagged with the token's `tenant_id`.
|
|
24
|
-
*
|
|
25
|
-
* @param params - Workspace creation parameters.
|
|
26
|
-
* @param options - Per-request overrides.
|
|
27
|
-
* @returns The newly created workspace.
|
|
28
|
-
*
|
|
29
|
-
* @throws {AuthenticationError} If the API key is invalid or missing.
|
|
30
|
-
* @throws {PermissionDeniedError} If the token lacks workspace creation rights.
|
|
31
|
-
*/
|
|
13
|
+
/** Create a new workspace scoped to the token's tenant. */
|
|
32
14
|
create(params: WorkspaceCreateParams, options?: RequestOptions): Promise<Workspace>;
|
|
33
|
-
/**
|
|
34
|
-
* List all workspaces accessible to the authenticated token.
|
|
35
|
-
*
|
|
36
|
-
* Organization tokens only see workspaces belonging to their tenant.
|
|
37
|
-
* Cluster admin tokens see all workspaces.
|
|
38
|
-
*
|
|
39
|
-
* @param options - Per-request overrides.
|
|
40
|
-
* @returns Array of workspaces.
|
|
41
|
-
*/
|
|
15
|
+
/** List all workspaces accessible to the authenticated token. */
|
|
42
16
|
list(options?: RequestOptions): Promise<Workspace[]>;
|
|
43
|
-
/**
|
|
44
|
-
* Retrieve a workspace by its external ID.
|
|
45
|
-
*
|
|
46
|
-
* @param id - Workspace external ID (UUID).
|
|
47
|
-
* @param options - Per-request overrides.
|
|
48
|
-
* @returns The workspace.
|
|
49
|
-
*
|
|
50
|
-
* @throws {NotFoundError} If the workspace doesn't exist.
|
|
51
|
-
*/
|
|
17
|
+
/** Retrieve a workspace by external ID. */
|
|
52
18
|
retrieve(id: string, options?: RequestOptions): Promise<Workspace>;
|
|
53
|
-
/**
|
|
54
|
-
* Delete a workspace and all associated data.
|
|
55
|
-
*
|
|
56
|
-
* @param id - Workspace external ID (UUID).
|
|
57
|
-
* @param options - Per-request overrides.
|
|
58
|
-
*
|
|
59
|
-
* @throws {NotFoundError} If the workspace doesn't exist.
|
|
60
|
-
*/
|
|
19
|
+
/** Delete a workspace and all associated data. */
|
|
61
20
|
del(id: string, options?: RequestOptions): Promise<void>;
|
|
21
|
+
/** List workspace-level channel bindings. */
|
|
22
|
+
listChannels(workspaceId: string, options?: RequestOptions): Promise<ChannelBinding[]>;
|
|
23
|
+
/** Upsert workspace-level channel bindings. */
|
|
24
|
+
updateChannels(workspaceId: string, params: UpdateChannelsParams, options?: RequestOptions): Promise<ChannelBinding[]>;
|
|
25
|
+
/** Remove a workspace-level channel binding by type. */
|
|
26
|
+
deleteChannel(workspaceId: string, channelType: string, options?: RequestOptions): Promise<void>;
|
|
62
27
|
}
|
|
63
28
|
//# sourceMappingURL=workspaces.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/resources/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;
|
|
1
|
+
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../../src/resources/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,KAAK,EACV,cAAc,EACd,oBAAoB,EACrB,MAAM,oBAAoB,CAAC;AAE5B;;;;;GAKG;AACH,qBAAa,UAAU;IACT,OAAO,CAAC,QAAQ,CAAC,MAAM;gBAAN,MAAM,EAAE,UAAU;IAE/C,2DAA2D;IACrD,MAAM,CACV,MAAM,EAAE,qBAAqB,EAC7B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,SAAS,CAAC;IAUrB,iEAAiE;IAC3D,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IAU1D,2CAA2C;IACrC,QAAQ,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,SAAS,CAAC;IAUxE,kDAAkD;IAC5C,GAAG,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,OAAO,CAAC,IAAI,CAAC;IAU9D,6CAA6C;IACvC,YAAY,CAChB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,cAAc,EAAE,CAAC;IAU5B,+CAA+C;IACzC,cAAc,CAClB,WAAW,EAAE,MAAM,EACnB,MAAM,EAAE,oBAAoB,EAC5B,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,cAAc,EAAE,CAAC;IAU5B,wDAAwD;IAClD,aAAa,CACjB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,IAAI,CAAC;CASjB"}
|
|
@@ -1,17 +1,89 @@
|
|
|
1
|
+
/** Runner implementation that executes the agent. */
|
|
2
|
+
export type AgentRunner = 'claude_code';
|
|
3
|
+
/** LLM provider backing the runner. Inferred from the runner (e.g. claude_code -> claude). */
|
|
4
|
+
export type AgentProvider = 'claude';
|
|
5
|
+
/** Agent configuration: runner, model, system prompt, and workspace settings. */
|
|
6
|
+
export interface AgentConfig {
|
|
7
|
+
runner?: AgentRunner;
|
|
8
|
+
provider?: AgentProvider;
|
|
9
|
+
model?: string;
|
|
10
|
+
system_prompt?: string;
|
|
11
|
+
system_prompt_mode?: string;
|
|
12
|
+
workspace_dir?: string;
|
|
13
|
+
skills?: string[];
|
|
14
|
+
[key: string]: unknown;
|
|
15
|
+
}
|
|
16
|
+
/** A registered agent profile within a workspace. */
|
|
1
17
|
export interface AgentProfile {
|
|
2
18
|
id: string;
|
|
3
19
|
workspace_id: number;
|
|
4
20
|
agent_key: string;
|
|
5
21
|
name: string;
|
|
6
|
-
|
|
22
|
+
role: string;
|
|
23
|
+
memory_scope: string;
|
|
24
|
+
quality_score?: number;
|
|
25
|
+
cost_budget_usd?: number;
|
|
26
|
+
config_json: AgentConfig;
|
|
7
27
|
active: boolean;
|
|
8
28
|
created_at: string;
|
|
9
29
|
updated_at: string;
|
|
10
30
|
}
|
|
31
|
+
/** Parameters for creating a new agent profile. */
|
|
11
32
|
export interface AgentCreateParams {
|
|
12
33
|
agentKey: string;
|
|
13
34
|
name: string;
|
|
14
|
-
|
|
35
|
+
runner?: AgentRunner;
|
|
36
|
+
config?: AgentConfig;
|
|
37
|
+
active?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/** Parameters for updating an existing agent profile. All fields are optional. */
|
|
40
|
+
export interface AgentUpdateParams {
|
|
41
|
+
name?: string;
|
|
42
|
+
role?: string;
|
|
43
|
+
memoryScope?: string;
|
|
44
|
+
qualityScore?: number;
|
|
45
|
+
costBudgetUsd?: number;
|
|
46
|
+
config?: AgentConfig;
|
|
15
47
|
active?: boolean;
|
|
16
48
|
}
|
|
49
|
+
/**
|
|
50
|
+
* A channel binding that routes inbound messages (email, SMS) to an agent or workspace.
|
|
51
|
+
*
|
|
52
|
+
* When `agent_id` is set, the binding is scoped to that specific agent —
|
|
53
|
+
* inbound messages go directly to that agent as tasks.
|
|
54
|
+
*
|
|
55
|
+
* When `agent_id` is null, the binding is workspace-level — inbound
|
|
56
|
+
* messages are routed to agents automatically via BAML classification.
|
|
57
|
+
*/
|
|
58
|
+
export interface ChannelBinding {
|
|
59
|
+
id: number;
|
|
60
|
+
workspace_id: number;
|
|
61
|
+
agent_id: string | null;
|
|
62
|
+
channel_type: 'email' | 'sms';
|
|
63
|
+
address: string;
|
|
64
|
+
config_json: Record<string, unknown>;
|
|
65
|
+
active: boolean;
|
|
66
|
+
created_at: string;
|
|
67
|
+
updated_at: string;
|
|
68
|
+
}
|
|
69
|
+
/** Aggregated task metrics for an agent. */
|
|
70
|
+
export interface AgentStats {
|
|
71
|
+
total: number;
|
|
72
|
+
by_state: Record<string, number>;
|
|
73
|
+
avg_run_sec?: number;
|
|
74
|
+
quality_score?: number;
|
|
75
|
+
total_cost_usd: number;
|
|
76
|
+
running_count: number;
|
|
77
|
+
completed_count: number;
|
|
78
|
+
failed_count: number;
|
|
79
|
+
}
|
|
80
|
+
/** Parameters for upserting channel bindings. */
|
|
81
|
+
export interface UpdateChannelsParams {
|
|
82
|
+
channels: Array<{
|
|
83
|
+
channel_type: string;
|
|
84
|
+
address: string;
|
|
85
|
+
active?: boolean;
|
|
86
|
+
config_json?: Record<string, unknown>;
|
|
87
|
+
}>;
|
|
88
|
+
}
|
|
17
89
|
//# sourceMappingURL=agents.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,YAAY,EAAE,MAAM,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../../src/types/agents.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { AgentCommandCreateParams, QueueMode, TaskAcceptedResponse } from './tasks.js';
|
|
2
|
+
export type ChannelType = 'direct';
|
|
3
|
+
/**
|
|
4
|
+
* Payload for sending a direct message to an agent.
|
|
5
|
+
* This creates a new task for the target agent.
|
|
6
|
+
*/
|
|
7
|
+
export interface SendDirectAgentMessageParams extends Omit<AgentCommandCreateParams, 'agentId'> {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Payload for sending direct follow-up input to an existing run.
|
|
11
|
+
*/
|
|
12
|
+
export interface SendDirectRunMessageParams {
|
|
13
|
+
message: string;
|
|
14
|
+
taskId: string;
|
|
15
|
+
queueMode?: QueueMode;
|
|
16
|
+
idempotencyKey?: string;
|
|
17
|
+
}
|
|
18
|
+
export type SendDirectAgentMessageResponse = TaskAcceptedResponse;
|
|
19
|
+
export type SendDirectRunMessageResponse = TaskAcceptedResponse;
|
|
20
|
+
//# sourceMappingURL=channels.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channels.d.ts","sourceRoot":"","sources":["../../../src/types/channels.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAE5F,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC;AAEnC;;;GAGG;AACH,MAAM,WAAW,4BACf,SAAQ,IAAI,CAAC,wBAAwB,EAAE,SAAS,CAAC;CAAG;AAEtD;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,8BAA8B,GAAG,oBAAoB,CAAC;AAClE,MAAM,MAAM,4BAA4B,GAAG,oBAAoB,CAAC"}
|
|
@@ -36,4 +36,24 @@ export interface TreeListing {
|
|
|
36
36
|
truncated: boolean;
|
|
37
37
|
continuation_token?: string;
|
|
38
38
|
}
|
|
39
|
+
/**
|
|
40
|
+
* Search result.
|
|
41
|
+
*/
|
|
42
|
+
export interface SearchResult {
|
|
43
|
+
query: string;
|
|
44
|
+
results: VirtualFile[];
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Presigned upload URL response.
|
|
48
|
+
*/
|
|
49
|
+
export interface UploadUrlResponse {
|
|
50
|
+
upload_url: string;
|
|
51
|
+
key: string;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Presigned download URL response.
|
|
55
|
+
*/
|
|
56
|
+
export interface DownloadUrlResponse {
|
|
57
|
+
download_url: string;
|
|
58
|
+
}
|
|
39
59
|
//# sourceMappingURL=filesystem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../../src/types/filesystem.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,yBAAyB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B"}
|
|
1
|
+
{"version":3,"file":"filesystem.d.ts","sourceRoot":"","sources":["../../../src/types/filesystem.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,yBAAyB;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,8BAA8B;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,iBAAiB;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,mCAAmC;IACnC,SAAS,EAAE,OAAO,CAAC;IACnB,0BAA0B;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4CAA4C;IAC5C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,WAAW,EAAE,CAAC;IACvB,SAAS,EAAE,OAAO,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,WAAW,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACb;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,YAAY,EAAE,MAAM,CAAC;CACtB"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/** A file-system hook that auto-triggers agent tasks on source view changes. */
|
|
2
|
+
export interface Hook {
|
|
3
|
+
external_id: string;
|
|
4
|
+
workspace_id: string;
|
|
5
|
+
path: string;
|
|
6
|
+
prompt: string;
|
|
7
|
+
skill_path: string;
|
|
8
|
+
skill_paths: string[];
|
|
9
|
+
event_types: string[];
|
|
10
|
+
agent_id?: string;
|
|
11
|
+
agent_key?: string;
|
|
12
|
+
agent_name?: string;
|
|
13
|
+
agent_config?: Record<string, unknown>;
|
|
14
|
+
active: boolean;
|
|
15
|
+
created_at: string;
|
|
16
|
+
updated_at: string;
|
|
17
|
+
}
|
|
18
|
+
/** Parameters for creating a hook on a source view folder. */
|
|
19
|
+
export interface HookCreateParams {
|
|
20
|
+
/** Source view folder path to watch (e.g. `/sources/gmail/Recent Emails`). */
|
|
21
|
+
path: string;
|
|
22
|
+
/** Prompt sent to the agent when an event fires. */
|
|
23
|
+
prompt: string;
|
|
24
|
+
/** Single skill path (prefer `skillPaths`). */
|
|
25
|
+
skillPath?: string;
|
|
26
|
+
/** Skill paths the agent can use when handling hook events. */
|
|
27
|
+
skillPaths?: string[];
|
|
28
|
+
/** File event types to listen for (e.g. `['create', 'write']`). Defaults to all. */
|
|
29
|
+
eventTypes?: string[];
|
|
30
|
+
/** Display name for the auto-created agent. */
|
|
31
|
+
agentName?: string;
|
|
32
|
+
/** Agent configuration overrides. */
|
|
33
|
+
agentConfig?: {
|
|
34
|
+
runner?: string;
|
|
35
|
+
model?: string;
|
|
36
|
+
systemPrompt?: string;
|
|
37
|
+
systemPromptMode?: string;
|
|
38
|
+
workspaceDir?: string;
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
/** Parameters for updating a hook. All fields are optional. */
|
|
42
|
+
export interface HookUpdateParams {
|
|
43
|
+
prompt?: string;
|
|
44
|
+
active?: boolean;
|
|
45
|
+
skillPath?: string;
|
|
46
|
+
skillPaths?: string[];
|
|
47
|
+
eventTypes?: string[];
|
|
48
|
+
agentName?: string;
|
|
49
|
+
agentConfig?: {
|
|
50
|
+
runner?: string;
|
|
51
|
+
model?: string;
|
|
52
|
+
systemPrompt?: string;
|
|
53
|
+
systemPromptMode?: string;
|
|
54
|
+
workspaceDir?: string;
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
//# sourceMappingURL=hooks.d.ts.map
|