@archastro/sdk 0.14.0 → 0.16.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_chat_channel.d.ts +8 -0
- package/dist/channels/api_chat_channel.d.ts.map +1 -1
- package/dist/channels/api_chat_channel.js +17 -1
- package/dist/channels/api_chat_channel.js.map +1 -1
- 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/effective-access.d.ts +34 -0
- package/dist/effective-access.d.ts.map +1 -0
- package/dist/effective-access.js +51 -0
- package/dist/effective-access.js.map +1 -0
- 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 +109 -109
- package/dist/types/ai.js +10 -10
- package/dist/types/ai.js.map +1 -1
- package/dist/types/automations.d.ts +15 -15
- package/dist/types/automations.js +6 -6
- package/dist/types/automations.js.map +1 -1
- package/dist/types/chat.d.ts +3005 -2434
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/chat.js +22 -4
- package/dist/types/chat.js.map +1 -1
- package/dist/types/common.d.ts +2703 -3254
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/common.js +235 -227
- package/dist/types/common.js.map +1 -1
- package/dist/types/config.d.ts +11 -11
- package/dist/types/config.js +3 -3
- package/dist/types/config.js.map +1 -1
- package/dist/types/events.d.ts +810 -0
- package/dist/types/events.d.ts.map +1 -0
- package/dist/types/events.js +77 -0
- package/dist/types/events.js.map +1 -0
- package/dist/types/expressions.d.ts +66 -0
- package/dist/types/expressions.d.ts.map +1 -0
- package/dist/types/expressions.js +27 -0
- package/dist/types/expressions.js.map +1 -0
- package/dist/types/extractions.d.ts +3 -3
- package/dist/types/extractions.js +2 -2
- package/dist/types/extractions.js.map +1 -1
- package/dist/types/graph.d.ts +34 -0
- package/dist/types/graph.d.ts.map +1 -0
- package/dist/types/graph.js +16 -0
- package/dist/types/graph.js.map +1 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +6 -1
- package/dist/types/index.js.map +1 -1
- package/dist/types/notifications.d.ts +3 -3
- package/dist/types/notifications.js +2 -2
- package/dist/types/notifications.js.map +1 -1
- package/dist/types/oauth.d.ts +5 -5
- package/dist/types/scripts.d.ts +800 -0
- package/dist/types/scripts.d.ts.map +1 -0
- package/dist/types/scripts.js +112 -0
- package/dist/types/scripts.js.map +1 -0
- package/dist/types/status.d.ts +8 -8
- package/dist/types/status.js +2 -2
- package/dist/types/status.js.map +1 -1
- package/dist/types/system.d.ts +2 -2
- package/dist/types/tasks.d.ts +12 -6
- package/dist/types/tasks.d.ts.map +1 -1
- package/dist/types/tasks.js +5 -3
- package/dist/types/tasks.js.map +1 -1
- package/dist/types/teams.d.ts +334 -334
- package/dist/types/teams.js +5 -5
- package/dist/types/teams.js.map +1 -1
- package/dist/types/threads.d.ts +242 -202
- package/dist/types/threads.d.ts.map +1 -1
- package/dist/types/threads.js +6 -6
- package/dist/types/threads.js.map +1 -1
- package/dist/types/users.d.ts +50 -6
- package/dist/types/users.d.ts.map +1 -1
- package/dist/types/users.js +18 -3
- package/dist/types/users.js.map +1 -1
- package/dist/types/workflows.d.ts +544 -0
- package/dist/types/workflows.d.ts.map +1 -0
- package/dist/types/workflows.js +91 -0
- package/dist/types/workflows.js.map +1 -0
- package/dist/v1/resources/agents.d.ts +4 -3
- package/dist/v1/resources/agents.d.ts.map +1 -1
- package/dist/v1/resources/agents.js +1 -1
- package/dist/v1/resources/agents.js.map +1 -1
- package/dist/v1/resources/ai.d.ts +2 -2
- package/dist/v1/resources/ai.d.ts.map +1 -1
- package/dist/v1/resources/ai.js +1 -1
- package/dist/v1/resources/event_subscriptions.d.ts +1 -1
- package/dist/v1/resources/event_subscriptions.js +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/scripts.d.ts +117 -0
- package/dist/v1/resources/scripts.d.ts.map +1 -0
- package/dist/v1/resources/scripts.js +116 -0
- package/dist/v1/resources/scripts.js.map +1 -0
- package/dist/v1/resources/ssh_keys.d.ts +13 -0
- package/dist/v1/resources/ssh_keys.d.ts.map +1 -0
- package/dist/v1/resources/ssh_keys.js +19 -0
- package/dist/v1/resources/ssh_keys.js.map +1 -0
- package/dist/v1/resources/tasks.d.ts +7 -0
- package/dist/v1/resources/tasks.d.ts.map +1 -1
- package/dist/v1/resources/tasks.js +4 -1
- package/dist/v1/resources/tasks.js.map +1 -1
- package/dist/v1/resources/teams.d.ts +10 -0
- package/dist/v1/resources/teams.d.ts.map +1 -1
- package/dist/v1/resources/teams.js +1 -1
- package/dist/v1/resources/threads.d.ts +6 -0
- package/dist/v1/resources/threads.d.ts.map +1 -1
- package/dist/v1/resources/threads.js +1 -1
- package/dist/v1/resources/users.d.ts +66 -4
- package/dist/v1/resources/users.d.ts.map +1 -1
- package/dist/v1/resources/users.js +52 -3
- package/dist/v1/resources/users.js.map +1 -1
- package/dist/v1/resources/work_items.d.ts +1 -1
- package/dist/v1/resources/work_items.d.ts.map +1 -1
- package/dist/v1/resources/work_items.js +1 -1
- package/dist/v1/resources/workflows.d.ts +205 -0
- package/dist/v1/resources/workflows.d.ts.map +1 -0
- package/dist/v1/resources/workflows.js +205 -0
- package/dist/v1/resources/workflows.js.map +1 -0
- 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
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
import { HttpClient } from "../../runtime/http-client.js";
|
|
2
|
+
import type { Command, NodeType } from "../../types/common.js";
|
|
3
|
+
import type { ExpressionResult, ExpressionValidation } from "../../types/expressions.js";
|
|
4
|
+
import type { GraphValidation } from "../../types/graph.js";
|
|
5
|
+
export declare class EventResource {
|
|
6
|
+
private http;
|
|
7
|
+
constructor(http: HttpClient);
|
|
8
|
+
/**
|
|
9
|
+
* Retrieve a sample event payload
|
|
10
|
+
* Returns a representative sample payload for the specified workflow event type.
|
|
11
|
+
* Use this to inspect the structure of an event before configuring a workflow
|
|
12
|
+
* trigger or building an event handler.
|
|
13
|
+
* Requires a valid developer session. Returns 404 if the event name is not
|
|
14
|
+
* registered in the platform event catalog.
|
|
15
|
+
* @param name - Fully-qualified event type name registered in the catalog, e.g. `"thread.created"`. Returns 404 if the name is not recognized.
|
|
16
|
+
* @returns Successful response
|
|
17
|
+
*/
|
|
18
|
+
sample(name: string): Promise<{
|
|
19
|
+
sample: Record<string, unknown>;
|
|
20
|
+
}>;
|
|
21
|
+
}
|
|
22
|
+
export declare class ExpressionResource {
|
|
23
|
+
private http;
|
|
24
|
+
constructor(http: HttpClient);
|
|
25
|
+
/**
|
|
26
|
+
* Run a workflow expression
|
|
27
|
+
* Evaluates a single workflow expression string against a caller-supplied variable scope
|
|
28
|
+
* and returns the computed result. Use this endpoint to test and iterate on expressions
|
|
29
|
+
* during workflow development before embedding them in a workflow graph.
|
|
30
|
+
* The expression is evaluated synchronously. If evaluation fails (syntax error, runtime
|
|
31
|
+
* exception, or type mismatch), the endpoint returns a 422 with a human-readable reason
|
|
32
|
+
* rather than a 200 with an error payload. Successful responses always include any
|
|
33
|
+
* `println` output captured during evaluation.
|
|
34
|
+
* Requires an authenticated developer session. The expression runs in an isolated
|
|
35
|
+
* context and cannot access platform resources beyond what you supply in `scope`.
|
|
36
|
+
* @param input - Request body.
|
|
37
|
+
* @param input.expression - The workflow expression source to evaluate. Defaults to an empty string.
|
|
38
|
+
* @param input.scope - Key-value map of variables available to the expression at evaluation time. Defaults to an empty map.
|
|
39
|
+
* @returns The result of evaluating the expression, including any captured print output.
|
|
40
|
+
*/
|
|
41
|
+
run(input: {
|
|
42
|
+
expression?: string | undefined;
|
|
43
|
+
scope?: Record<string, unknown> | undefined;
|
|
44
|
+
}): Promise<ExpressionResult>;
|
|
45
|
+
/**
|
|
46
|
+
* Validate a workflow expression
|
|
47
|
+
* Parses and statically analyses a workflow expression string without executing it.
|
|
48
|
+
* Returns structured findings, inferred symbol types, and any warnings so that editors
|
|
49
|
+
* and build-time tooling can surface diagnostics before the expression is used in a
|
|
50
|
+
* live workflow.
|
|
51
|
+
* The response always includes an `ok` flag indicating whether the validation call
|
|
52
|
+
* itself succeeded, and a separate `valid` flag indicating whether the expression
|
|
53
|
+
* passed analysis. A 200 is returned regardless of whether the expression is valid;
|
|
54
|
+
* a 401 is returned if the caller is not authenticated.
|
|
55
|
+
* Requires an authenticated developer session.
|
|
56
|
+
* @param input - Request body.
|
|
57
|
+
* @param input.expression - The workflow expression source to validate. Defaults to an empty string.
|
|
58
|
+
* @returns Validation outcome including parse errors, warnings, symbol types, and structured editor diagnostics.
|
|
59
|
+
*/
|
|
60
|
+
validate(input: {
|
|
61
|
+
expression?: string | undefined;
|
|
62
|
+
}): Promise<ExpressionValidation>;
|
|
63
|
+
}
|
|
64
|
+
export declare class GraphResource {
|
|
65
|
+
private http;
|
|
66
|
+
constructor(http: HttpClient);
|
|
67
|
+
/**
|
|
68
|
+
* Validate a workflow graph
|
|
69
|
+
* Submits a workflow graph definition for static analysis and returns a
|
|
70
|
+
* structured validation report. The graph is checked for structural correctness
|
|
71
|
+
* (valid node and edge references) and then analyzed for logical issues such as
|
|
72
|
+
* unreachable nodes, dead-end paths, and cycles.
|
|
73
|
+
* This endpoint is non-destructive — it does not persist any data. Use it
|
|
74
|
+
* during development to surface problems with a graph definition before saving
|
|
75
|
+
* or executing it. Requires developer-level authentication.
|
|
76
|
+
* @param input - Request body.
|
|
77
|
+
* @param input.graph - Complete workflow graph definition to validate, containing node and edge declarations.
|
|
78
|
+
* @returns Validation report describing whether the graph is structurally sound and any findings from static analysis.
|
|
79
|
+
*/
|
|
80
|
+
validate(input: {
|
|
81
|
+
graph: Record<string, unknown>;
|
|
82
|
+
}): Promise<GraphValidation>;
|
|
83
|
+
}
|
|
84
|
+
export declare class NodeTypeResource {
|
|
85
|
+
private http;
|
|
86
|
+
constructor(http: HttpClient);
|
|
87
|
+
/**
|
|
88
|
+
* List workflow node types
|
|
89
|
+
* Returns an array of all node type definitions registered with the workflow host. Node
|
|
90
|
+
* types describe the available building blocks for constructing workflow graphs, including
|
|
91
|
+
* each type's label, category, color, and configurable field definitions.
|
|
92
|
+
* This endpoint requires a valid authenticated session. It does not support pagination
|
|
93
|
+
* — all registered node types are returned in a single response. The list reflects the
|
|
94
|
+
* node types available at the time of the request; types are registered at startup and
|
|
95
|
+
* do not change at runtime.
|
|
96
|
+
* @returns Array of all registered workflow node type definitions.
|
|
97
|
+
*/
|
|
98
|
+
list(): Promise<NodeType[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Retrieve a workflow node type
|
|
101
|
+
* Returns the full definition for a single workflow node type, identified by its
|
|
102
|
+
* string identifier. The response includes the node type's label, description, category,
|
|
103
|
+
* display properties, and the complete list of configurable field definitions.
|
|
104
|
+
* Returns 404 if no node type with the given identifier is registered. This endpoint
|
|
105
|
+
* requires a valid authenticated session.
|
|
106
|
+
* @param nodeType - Identifier of the node type to retrieve, e.g. `"http_request"` or `"conditional"`.
|
|
107
|
+
* @returns The requested workflow node type definition.
|
|
108
|
+
*/
|
|
109
|
+
get(nodeType: string): Promise<NodeType>;
|
|
110
|
+
}
|
|
111
|
+
export declare class SampleResource {
|
|
112
|
+
private http;
|
|
113
|
+
constructor(http: HttpClient);
|
|
114
|
+
/**
|
|
115
|
+
* Retrieve a sample workflow graph
|
|
116
|
+
* Returns a minimal, runnable `WorkflowGraph` YAML document that illustrates the
|
|
117
|
+
* structure of a workflow graph. Use this as a starting point when building or
|
|
118
|
+
* testing your own workflow definitions.
|
|
119
|
+
* The response is returned as plain YAML (`application/x-yaml`) rather than JSON.
|
|
120
|
+
* The sample graph includes a trigger node, a transform node, and an event-emit
|
|
121
|
+
* node wired together in sequence.
|
|
122
|
+
* @returns Minimal runnable WorkflowGraph YAML document.
|
|
123
|
+
*/
|
|
124
|
+
list(): Promise<{
|
|
125
|
+
content: ArrayBuffer;
|
|
126
|
+
mimeType: string;
|
|
127
|
+
}>;
|
|
128
|
+
}
|
|
129
|
+
export declare class WorkflowResource {
|
|
130
|
+
private http;
|
|
131
|
+
readonly events: EventResource;
|
|
132
|
+
readonly expressions: ExpressionResource;
|
|
133
|
+
readonly graph: GraphResource;
|
|
134
|
+
readonly node_types: NodeTypeResource;
|
|
135
|
+
readonly sample: SampleResource;
|
|
136
|
+
constructor(http: HttpClient);
|
|
137
|
+
/**
|
|
138
|
+
* List available workflow commands
|
|
139
|
+
* Returns the full set of workflow commands registered with the workflow host.
|
|
140
|
+
* Commands represent discrete operations that a workflow node can invoke — each
|
|
141
|
+
* carries its own input and output schemas used by the workflow builder.
|
|
142
|
+
* This endpoint requires a valid developer session. The list is not paginated;
|
|
143
|
+
* all registered commands are returned in a single response.
|
|
144
|
+
* @returns Array of all registered workflow command definitions.
|
|
145
|
+
*/
|
|
146
|
+
commands(): Promise<Command[]>;
|
|
147
|
+
/**
|
|
148
|
+
* Retrieve the workflow-authoring LLM prompt
|
|
149
|
+
* Returns the plain-text system prompt used by workflow-authoring assistants.
|
|
150
|
+
* The prompt is rendered from the registered node types and commands so its
|
|
151
|
+
* authoring guidance stays synchronized with the running platform.
|
|
152
|
+
* @returns Plain-text system prompt for workflow-authoring assistants.
|
|
153
|
+
*/
|
|
154
|
+
llmTxt(): Promise<{
|
|
155
|
+
content: ArrayBuffer;
|
|
156
|
+
mimeType: string;
|
|
157
|
+
}>;
|
|
158
|
+
/**
|
|
159
|
+
* Execute a workflow node or graph
|
|
160
|
+
* Executes a single workflow node or a complete workflow graph and returns the result.
|
|
161
|
+
* Supply either `node` (to run one node in isolation) or `graph` (to execute a full
|
|
162
|
+
* directed graph); the two parameters are mutually exclusive and exactly one must be
|
|
163
|
+
* provided.
|
|
164
|
+
* The authenticated developer is used as the default workflow principal for entitlement
|
|
165
|
+
* checks on billable operations such as LLM calls. Supply `run_as_user` or
|
|
166
|
+
* `run_as_agent` to override the acting identity for the execution — at most one
|
|
167
|
+
* override may be set per request.
|
|
168
|
+
* Execution errors are logged to the activity feed under the acting identity so they
|
|
169
|
+
* appear alongside automation-driven workflow errors in operator dashboards. A 422
|
|
170
|
+
* response is returned when execution fails; the response body includes the error
|
|
171
|
+
* message and any partial records produced before the failure.
|
|
172
|
+
* @param input - Request body.
|
|
173
|
+
* @param input.context - Additional execution context made available to workflow nodes at runtime. Merged with the authenticated viewer context set by the platform. Defaults to an empty object if omitted.
|
|
174
|
+
* @param input.env - Evaluator environment variables injected into expression contexts during execution. The platform automatically merges developer-tier runtime env vars before evaluation. Defaults to an empty object if omitted.
|
|
175
|
+
* @param input.graph - A complete workflow graph to execute. Must be an object conforming to the `WorkflowGraph` schema (keys: `start_node`, `nodes`, etc.). Mutually exclusive with `node` — supply exactly one.
|
|
176
|
+
* @param input.node - A single workflow node to execute in isolation. Must be an object with at minimum a `type` key identifying the node kind, plus any node-specific configuration values. Mutually exclusive with `graph` — supply exactly one.
|
|
177
|
+
* @param input.payload - Arbitrary input data passed into the workflow as the initial payload. Defaults to an empty object if omitted.
|
|
178
|
+
* @param input.run_as_agent - Agent ID (`agt_...`) of the agent to impersonate for the execution. When set, workflow nodes run with this agent as the acting principal instead of the authenticated developer. The agent must belong to the current app. Mutually exclusive with `run_as_user`. `null` by default (runs as the authenticated developer).
|
|
179
|
+
* @param input.run_as_user - User ID (`usr_...`) of the user to impersonate for the execution. When set, workflow nodes run with this user as the acting principal instead of the authenticated developer. Mutually exclusive with `run_as_agent`. `null` by default (runs as the authenticated developer).
|
|
180
|
+
* @returns Successful response
|
|
181
|
+
*/
|
|
182
|
+
run(input: {
|
|
183
|
+
context?: Record<string, unknown> | undefined;
|
|
184
|
+
env?: Record<string, unknown> | undefined;
|
|
185
|
+
graph?: Record<string, unknown> | undefined;
|
|
186
|
+
node?: Record<string, unknown> | undefined;
|
|
187
|
+
payload?: Record<string, unknown> | undefined;
|
|
188
|
+
run_as_agent?: string | undefined;
|
|
189
|
+
run_as_user?: string | undefined;
|
|
190
|
+
}): Promise<{
|
|
191
|
+
context?: Record<string, unknown> | undefined;
|
|
192
|
+
env?: Record<string, unknown> | undefined;
|
|
193
|
+
error?: string | undefined;
|
|
194
|
+
files?: Record<string, unknown>[] | undefined;
|
|
195
|
+
log?: string[] | undefined;
|
|
196
|
+
nextNodeId?: string | undefined;
|
|
197
|
+
output?: unknown | undefined;
|
|
198
|
+
payload?: unknown | undefined;
|
|
199
|
+
records?: Record<string, unknown>[] | undefined;
|
|
200
|
+
startNodeId?: string | undefined;
|
|
201
|
+
status?: string | undefined;
|
|
202
|
+
wait?: Record<string, unknown> | undefined;
|
|
203
|
+
}>;
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=workflows.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.d.ts","sourceRoot":"","sources":["../../../src/v1/resources/workflows.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,KAAK,EAAE,gBAAgB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACzF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D,qBAAa,aAAa;IACZ,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,UAAU;IAEpC;;;;;;;;;OASG;IACG,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;KAAE,CAAC;CAGzE;AAED,qBAAa,kBAAkB;IACjB,OAAO,CAAC,IAAI;gBAAJ,IAAI,EAAE,U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AU,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,MAAM,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAAC,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,GAAG,SAAS,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,MAAM,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;QAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,SAAS,CAAA;KAAE,CAAC;CAGpwB"}
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
// Copyright (c) 2026 ArchAstro Inc. Licensed under the MIT License.
|
|
2
|
+
// This file is auto-generated by @archastro/sdk-generator. Do not edit.
|
|
3
|
+
// Content hash: cc892020c789
|
|
4
|
+
export class EventResource {
|
|
5
|
+
http;
|
|
6
|
+
constructor(http) {
|
|
7
|
+
this.http = http;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Retrieve a sample event payload
|
|
11
|
+
* Returns a representative sample payload for the specified workflow event type.
|
|
12
|
+
* Use this to inspect the structure of an event before configuring a workflow
|
|
13
|
+
* trigger or building an event handler.
|
|
14
|
+
* Requires a valid developer session. Returns 404 if the event name is not
|
|
15
|
+
* registered in the platform event catalog.
|
|
16
|
+
* @param name - Fully-qualified event type name registered in the catalog, e.g. `"thread.created"`. Returns 404 if the name is not recognized.
|
|
17
|
+
* @returns Successful response
|
|
18
|
+
*/
|
|
19
|
+
async sample(name) {
|
|
20
|
+
return this.http.request(`/api/v1/workflows/events/${name}/sample`);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export class ExpressionResource {
|
|
24
|
+
http;
|
|
25
|
+
constructor(http) {
|
|
26
|
+
this.http = http;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Run a workflow expression
|
|
30
|
+
* Evaluates a single workflow expression string against a caller-supplied variable scope
|
|
31
|
+
* and returns the computed result. Use this endpoint to test and iterate on expressions
|
|
32
|
+
* during workflow development before embedding them in a workflow graph.
|
|
33
|
+
* The expression is evaluated synchronously. If evaluation fails (syntax error, runtime
|
|
34
|
+
* exception, or type mismatch), the endpoint returns a 422 with a human-readable reason
|
|
35
|
+
* rather than a 200 with an error payload. Successful responses always include any
|
|
36
|
+
* `println` output captured during evaluation.
|
|
37
|
+
* Requires an authenticated developer session. The expression runs in an isolated
|
|
38
|
+
* context and cannot access platform resources beyond what you supply in `scope`.
|
|
39
|
+
* @param input - Request body.
|
|
40
|
+
* @param input.expression - The workflow expression source to evaluate. Defaults to an empty string.
|
|
41
|
+
* @param input.scope - Key-value map of variables available to the expression at evaluation time. Defaults to an empty map.
|
|
42
|
+
* @returns The result of evaluating the expression, including any captured print output.
|
|
43
|
+
*/
|
|
44
|
+
async run(input) {
|
|
45
|
+
return this.http.request(`/api/v1/workflows/expressions/run`, { method: "POST", body: input });
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Validate a workflow expression
|
|
49
|
+
* Parses and statically analyses a workflow expression string without executing it.
|
|
50
|
+
* Returns structured findings, inferred symbol types, and any warnings so that editors
|
|
51
|
+
* and build-time tooling can surface diagnostics before the expression is used in a
|
|
52
|
+
* live workflow.
|
|
53
|
+
* The response always includes an `ok` flag indicating whether the validation call
|
|
54
|
+
* itself succeeded, and a separate `valid` flag indicating whether the expression
|
|
55
|
+
* passed analysis. A 200 is returned regardless of whether the expression is valid;
|
|
56
|
+
* a 401 is returned if the caller is not authenticated.
|
|
57
|
+
* Requires an authenticated developer session.
|
|
58
|
+
* @param input - Request body.
|
|
59
|
+
* @param input.expression - The workflow expression source to validate. Defaults to an empty string.
|
|
60
|
+
* @returns Validation outcome including parse errors, warnings, symbol types, and structured editor diagnostics.
|
|
61
|
+
*/
|
|
62
|
+
async validate(input) {
|
|
63
|
+
return this.http.request(`/api/v1/workflows/expressions/validate`, { method: "POST", body: input });
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
export class GraphResource {
|
|
67
|
+
http;
|
|
68
|
+
constructor(http) {
|
|
69
|
+
this.http = http;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Validate a workflow graph
|
|
73
|
+
* Submits a workflow graph definition for static analysis and returns a
|
|
74
|
+
* structured validation report. The graph is checked for structural correctness
|
|
75
|
+
* (valid node and edge references) and then analyzed for logical issues such as
|
|
76
|
+
* unreachable nodes, dead-end paths, and cycles.
|
|
77
|
+
* This endpoint is non-destructive — it does not persist any data. Use it
|
|
78
|
+
* during development to surface problems with a graph definition before saving
|
|
79
|
+
* or executing it. Requires developer-level authentication.
|
|
80
|
+
* @param input - Request body.
|
|
81
|
+
* @param input.graph - Complete workflow graph definition to validate, containing node and edge declarations.
|
|
82
|
+
* @returns Validation report describing whether the graph is structurally sound and any findings from static analysis.
|
|
83
|
+
*/
|
|
84
|
+
async validate(input) {
|
|
85
|
+
return this.http.request(`/api/v1/workflows/graph/validate`, { method: "POST", body: input });
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
export class NodeTypeResource {
|
|
89
|
+
http;
|
|
90
|
+
constructor(http) {
|
|
91
|
+
this.http = http;
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* List workflow node types
|
|
95
|
+
* Returns an array of all node type definitions registered with the workflow host. Node
|
|
96
|
+
* types describe the available building blocks for constructing workflow graphs, including
|
|
97
|
+
* each type's label, category, color, and configurable field definitions.
|
|
98
|
+
* This endpoint requires a valid authenticated session. It does not support pagination
|
|
99
|
+
* — all registered node types are returned in a single response. The list reflects the
|
|
100
|
+
* node types available at the time of the request; types are registered at startup and
|
|
101
|
+
* do not change at runtime.
|
|
102
|
+
* @returns Array of all registered workflow node type definitions.
|
|
103
|
+
*/
|
|
104
|
+
async list() {
|
|
105
|
+
return this.http.request(`/api/v1/workflows/node_types`);
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Retrieve a workflow node type
|
|
109
|
+
* Returns the full definition for a single workflow node type, identified by its
|
|
110
|
+
* string identifier. The response includes the node type's label, description, category,
|
|
111
|
+
* display properties, and the complete list of configurable field definitions.
|
|
112
|
+
* Returns 404 if no node type with the given identifier is registered. This endpoint
|
|
113
|
+
* requires a valid authenticated session.
|
|
114
|
+
* @param nodeType - Identifier of the node type to retrieve, e.g. `"http_request"` or `"conditional"`.
|
|
115
|
+
* @returns The requested workflow node type definition.
|
|
116
|
+
*/
|
|
117
|
+
async get(nodeType) {
|
|
118
|
+
return this.http.request(`/api/v1/workflows/node_types/${nodeType}`);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
export class SampleResource {
|
|
122
|
+
http;
|
|
123
|
+
constructor(http) {
|
|
124
|
+
this.http = http;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Retrieve a sample workflow graph
|
|
128
|
+
* Returns a minimal, runnable `WorkflowGraph` YAML document that illustrates the
|
|
129
|
+
* structure of a workflow graph. Use this as a starting point when building or
|
|
130
|
+
* testing your own workflow definitions.
|
|
131
|
+
* The response is returned as plain YAML (`application/x-yaml`) rather than JSON.
|
|
132
|
+
* The sample graph includes a trigger node, a transform node, and an event-emit
|
|
133
|
+
* node wired together in sequence.
|
|
134
|
+
* @returns Minimal runnable WorkflowGraph YAML document.
|
|
135
|
+
*/
|
|
136
|
+
async list() {
|
|
137
|
+
return this.http.requestRaw(`/api/v1/workflows/sample`);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
export class WorkflowResource {
|
|
141
|
+
http;
|
|
142
|
+
events;
|
|
143
|
+
expressions;
|
|
144
|
+
graph;
|
|
145
|
+
node_types;
|
|
146
|
+
sample;
|
|
147
|
+
constructor(http) {
|
|
148
|
+
this.http = http;
|
|
149
|
+
this.events = new EventResource(http);
|
|
150
|
+
this.expressions = new ExpressionResource(http);
|
|
151
|
+
this.graph = new GraphResource(http);
|
|
152
|
+
this.node_types = new NodeTypeResource(http);
|
|
153
|
+
this.sample = new SampleResource(http);
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* List available workflow commands
|
|
157
|
+
* Returns the full set of workflow commands registered with the workflow host.
|
|
158
|
+
* Commands represent discrete operations that a workflow node can invoke — each
|
|
159
|
+
* carries its own input and output schemas used by the workflow builder.
|
|
160
|
+
* This endpoint requires a valid developer session. The list is not paginated;
|
|
161
|
+
* all registered commands are returned in a single response.
|
|
162
|
+
* @returns Array of all registered workflow command definitions.
|
|
163
|
+
*/
|
|
164
|
+
async commands() {
|
|
165
|
+
return this.http.request(`/api/v1/workflows/commands`);
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Retrieve the workflow-authoring LLM prompt
|
|
169
|
+
* Returns the plain-text system prompt used by workflow-authoring assistants.
|
|
170
|
+
* The prompt is rendered from the registered node types and commands so its
|
|
171
|
+
* authoring guidance stays synchronized with the running platform.
|
|
172
|
+
* @returns Plain-text system prompt for workflow-authoring assistants.
|
|
173
|
+
*/
|
|
174
|
+
async llmTxt() {
|
|
175
|
+
return this.http.requestRaw(`/api/v1/workflows/llm.txt`);
|
|
176
|
+
}
|
|
177
|
+
/**
|
|
178
|
+
* Execute a workflow node or graph
|
|
179
|
+
* Executes a single workflow node or a complete workflow graph and returns the result.
|
|
180
|
+
* Supply either `node` (to run one node in isolation) or `graph` (to execute a full
|
|
181
|
+
* directed graph); the two parameters are mutually exclusive and exactly one must be
|
|
182
|
+
* provided.
|
|
183
|
+
* The authenticated developer is used as the default workflow principal for entitlement
|
|
184
|
+
* checks on billable operations such as LLM calls. Supply `run_as_user` or
|
|
185
|
+
* `run_as_agent` to override the acting identity for the execution — at most one
|
|
186
|
+
* override may be set per request.
|
|
187
|
+
* Execution errors are logged to the activity feed under the acting identity so they
|
|
188
|
+
* appear alongside automation-driven workflow errors in operator dashboards. A 422
|
|
189
|
+
* response is returned when execution fails; the response body includes the error
|
|
190
|
+
* message and any partial records produced before the failure.
|
|
191
|
+
* @param input - Request body.
|
|
192
|
+
* @param input.context - Additional execution context made available to workflow nodes at runtime. Merged with the authenticated viewer context set by the platform. Defaults to an empty object if omitted.
|
|
193
|
+
* @param input.env - Evaluator environment variables injected into expression contexts during execution. The platform automatically merges developer-tier runtime env vars before evaluation. Defaults to an empty object if omitted.
|
|
194
|
+
* @param input.graph - A complete workflow graph to execute. Must be an object conforming to the `WorkflowGraph` schema (keys: `start_node`, `nodes`, etc.). Mutually exclusive with `node` — supply exactly one.
|
|
195
|
+
* @param input.node - A single workflow node to execute in isolation. Must be an object with at minimum a `type` key identifying the node kind, plus any node-specific configuration values. Mutually exclusive with `graph` — supply exactly one.
|
|
196
|
+
* @param input.payload - Arbitrary input data passed into the workflow as the initial payload. Defaults to an empty object if omitted.
|
|
197
|
+
* @param input.run_as_agent - Agent ID (`agt_...`) of the agent to impersonate for the execution. When set, workflow nodes run with this agent as the acting principal instead of the authenticated developer. The agent must belong to the current app. Mutually exclusive with `run_as_user`. `null` by default (runs as the authenticated developer).
|
|
198
|
+
* @param input.run_as_user - User ID (`usr_...`) of the user to impersonate for the execution. When set, workflow nodes run with this user as the acting principal instead of the authenticated developer. Mutually exclusive with `run_as_agent`. `null` by default (runs as the authenticated developer).
|
|
199
|
+
* @returns Successful response
|
|
200
|
+
*/
|
|
201
|
+
async run(input) {
|
|
202
|
+
return this.http.request(`/api/v1/workflows/run`, { method: "POST", body: input });
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
//# sourceMappingURL=workflows.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workflows.js","sourceRoot":"","sources":["../../../src/v1/resources/workflows.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAO7B,MAAM,OAAO,aAAa;IACJ;IAApB,YAAoB,IAAgB;QAAhB,SAAI,GAAJ,IAAI,CAAY;IAAG,CAAC;IAExC;;;;;;;;;OASG;IACH,KAAK,CAAC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AAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IACrF,CAAC;CACF"}
|
package/dist/v1.d.ts
CHANGED
|
@@ -35,11 +35,13 @@ import { PrivateServiceDefinitionResource } from "./v1/resources/private_service
|
|
|
35
35
|
import { PrivateServiceEnrollmentResource } from "./v1/resources/private_service_enrollments.js";
|
|
36
36
|
import { PrivateServiceResource } from "./v1/resources/private_services.js";
|
|
37
37
|
import { SandboxResource } from "./v1/resources/sandboxes.js";
|
|
38
|
+
import { ScriptResource } from "./v1/resources/scripts.js";
|
|
38
39
|
import { SlackChannelBindingResource } from "./v1/resources/slack_channel_bindings.js";
|
|
39
40
|
import { SolutionCategoryResource } from "./v1/resources/solution_categories.js";
|
|
40
41
|
import { SolutionInstanceResource } from "./v1/resources/solution_instances.js";
|
|
41
42
|
import { SolutionTagResource } from "./v1/resources/solution_tags.js";
|
|
42
43
|
import { SolutionResource } from "./v1/resources/solutions.js";
|
|
44
|
+
import { SshKeyResource } from "./v1/resources/ssh_keys.js";
|
|
43
45
|
import { StatuResource } from "./v1/resources/status.js";
|
|
44
46
|
import { TaskResource } from "./v1/resources/tasks.js";
|
|
45
47
|
import { TeamMembershipResource } from "./v1/resources/team_memberships.js";
|
|
@@ -49,6 +51,7 @@ import { ThreadResource } from "./v1/resources/threads.js";
|
|
|
49
51
|
import { TrajectoryResource } from "./v1/resources/trajectories.js";
|
|
50
52
|
import { UserResource } from "./v1/resources/users.js";
|
|
51
53
|
import { WorkItemResource } from "./v1/resources/work_items.js";
|
|
54
|
+
import { WorkflowResource } from "./v1/resources/workflows.js";
|
|
52
55
|
export declare class V1 {
|
|
53
56
|
readonly activity_feed: ActivityFeedResource;
|
|
54
57
|
readonly agent_computers: AgentComputerResource;
|
|
@@ -84,11 +87,13 @@ export declare class V1 {
|
|
|
84
87
|
readonly private_service_enrollments: PrivateServiceEnrollmentResource;
|
|
85
88
|
readonly private_services: PrivateServiceResource;
|
|
86
89
|
readonly sandboxes: SandboxResource;
|
|
90
|
+
readonly scripts: ScriptResource;
|
|
87
91
|
readonly slack_channel_bindings: SlackChannelBindingResource;
|
|
88
92
|
readonly solution_categories: SolutionCategoryResource;
|
|
89
93
|
readonly solution_instances: SolutionInstanceResource;
|
|
90
94
|
readonly solution_tags: SolutionTagResource;
|
|
91
95
|
readonly solutions: SolutionResource;
|
|
96
|
+
readonly ssh_keys: SshKeyResource;
|
|
92
97
|
readonly status: StatuResource;
|
|
93
98
|
readonly tasks: TaskResource;
|
|
94
99
|
readonly team_memberships: TeamMembershipResource;
|
|
@@ -98,6 +103,7 @@ export declare class V1 {
|
|
|
98
103
|
readonly trajectories: TrajectoryResource;
|
|
99
104
|
readonly users: UserResource;
|
|
100
105
|
readonly work_items: WorkItemResource;
|
|
106
|
+
readonly workflows: WorkflowResource;
|
|
101
107
|
readonly ai: AiResource;
|
|
102
108
|
readonly oauth: OauthResource;
|
|
103
109
|
constructor(http: HttpClient);
|
package/dist/v1.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.d.ts","sourceRoot":"","sources":["../src/v1.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OA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;IACtC,QAAQ,CAAC,SAAS,EAAE,gBAAgB,CAAC;IACrC,QAAQ,CAAC,EAAE,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;gBAElB,IAAI,EAAE,UAAU;CAuD7B"}
|
package/dist/v1.js
CHANGED
|
@@ -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: f66bcee51e92
|
|
4
4
|
import { ActivityFeedResource } from "./v1/resources/activity_feed.js";
|
|
5
5
|
import { AgentComputerResource } from "./v1/resources/agent_computers.js";
|
|
6
6
|
import { AgentEnvVarResource } from "./v1/resources/agent_env_vars.js";
|
|
@@ -37,11 +37,13 @@ import { PrivateServiceDefinitionResource } from "./v1/resources/private_service
|
|
|
37
37
|
import { PrivateServiceEnrollmentResource } from "./v1/resources/private_service_enrollments.js";
|
|
38
38
|
import { PrivateServiceResource } from "./v1/resources/private_services.js";
|
|
39
39
|
import { SandboxResource } from "./v1/resources/sandboxes.js";
|
|
40
|
+
import { ScriptResource } from "./v1/resources/scripts.js";
|
|
40
41
|
import { SlackChannelBindingResource } from "./v1/resources/slack_channel_bindings.js";
|
|
41
42
|
import { SolutionCategoryResource } from "./v1/resources/solution_categories.js";
|
|
42
43
|
import { SolutionInstanceResource } from "./v1/resources/solution_instances.js";
|
|
43
44
|
import { SolutionTagResource } from "./v1/resources/solution_tags.js";
|
|
44
45
|
import { SolutionResource } from "./v1/resources/solutions.js";
|
|
46
|
+
import { SshKeyResource } from "./v1/resources/ssh_keys.js";
|
|
45
47
|
import { StatuResource } from "./v1/resources/status.js";
|
|
46
48
|
import { TaskResource } from "./v1/resources/tasks.js";
|
|
47
49
|
import { TeamMembershipResource } from "./v1/resources/team_memberships.js";
|
|
@@ -51,6 +53,7 @@ import { ThreadResource } from "./v1/resources/threads.js";
|
|
|
51
53
|
import { TrajectoryResource } from "./v1/resources/trajectories.js";
|
|
52
54
|
import { UserResource } from "./v1/resources/users.js";
|
|
53
55
|
import { WorkItemResource } from "./v1/resources/work_items.js";
|
|
56
|
+
import { WorkflowResource } from "./v1/resources/workflows.js";
|
|
54
57
|
export class V1 {
|
|
55
58
|
activity_feed;
|
|
56
59
|
agent_computers;
|
|
@@ -86,11 +89,13 @@ export class V1 {
|
|
|
86
89
|
private_service_enrollments;
|
|
87
90
|
private_services;
|
|
88
91
|
sandboxes;
|
|
92
|
+
scripts;
|
|
89
93
|
slack_channel_bindings;
|
|
90
94
|
solution_categories;
|
|
91
95
|
solution_instances;
|
|
92
96
|
solution_tags;
|
|
93
97
|
solutions;
|
|
98
|
+
ssh_keys;
|
|
94
99
|
status;
|
|
95
100
|
tasks;
|
|
96
101
|
team_memberships;
|
|
@@ -100,6 +105,7 @@ export class V1 {
|
|
|
100
105
|
trajectories;
|
|
101
106
|
users;
|
|
102
107
|
work_items;
|
|
108
|
+
workflows;
|
|
103
109
|
ai;
|
|
104
110
|
oauth;
|
|
105
111
|
constructor(http) {
|
|
@@ -137,11 +143,13 @@ export class V1 {
|
|
|
137
143
|
this.private_service_enrollments = new PrivateServiceEnrollmentResource(http);
|
|
138
144
|
this.private_services = new PrivateServiceResource(http);
|
|
139
145
|
this.sandboxes = new SandboxResource(http);
|
|
146
|
+
this.scripts = new ScriptResource(http);
|
|
140
147
|
this.slack_channel_bindings = new SlackChannelBindingResource(http);
|
|
141
148
|
this.solution_categories = new SolutionCategoryResource(http);
|
|
142
149
|
this.solution_instances = new SolutionInstanceResource(http);
|
|
143
150
|
this.solution_tags = new SolutionTagResource(http);
|
|
144
151
|
this.solutions = new SolutionResource(http);
|
|
152
|
+
this.ssh_keys = new SshKeyResource(http);
|
|
145
153
|
this.status = new StatuResource(http);
|
|
146
154
|
this.tasks = new TaskResource(http);
|
|
147
155
|
this.team_memberships = new TeamMembershipResource(http);
|
|
@@ -151,6 +159,7 @@ export class V1 {
|
|
|
151
159
|
this.trajectories = new TrajectoryResource(http);
|
|
152
160
|
this.users = new UserResource(http);
|
|
153
161
|
this.work_items = new WorkItemResource(http);
|
|
162
|
+
this.workflows = new WorkflowResource(http);
|
|
154
163
|
this.ai = new AiResource(http);
|
|
155
164
|
this.oauth = new OauthResource(http);
|
|
156
165
|
}
|
package/dist/v1.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v1.js","sourceRoot":"","sources":["../src/v1.ts"],"names":[],"mappings":"AAAA,oEAAoE;AACpE,wEAAwE;AACxE,6BAA6B;AAG7B,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACnF,OAAO,EAAE,yBAAyB,EAAE,MAAM,uCAAuC,CAAC;AAClF,OAAO,EAAE,uBAAuB,EAAE,MAAM,sCAAsC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,mCAAmC,CAAC;AAC1E,OAAO,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AA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