@stigmer/protos 0.5.0 → 1.0.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/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +7 -0
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +54 -0
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +56 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +149 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +50 -2
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +31 -0
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +32 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +31 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +16 -0
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +68 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +6 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
- package/ai/stigmer/agentic/artifact/v1/api_pb.d.ts +152 -0
- package/ai/stigmer/agentic/artifact/v1/api_pb.js +24 -0
- package/ai/stigmer/agentic/artifact/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/command_connect.d.ts +83 -0
- package/ai/stigmer/agentic/artifact/v1/command_connect.js +92 -0
- package/ai/stigmer/agentic/artifact/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/command_pb.d.ts +86 -0
- package/ai/stigmer/agentic/artifact/v1/command_pb.js +36 -0
- package/ai/stigmer/agentic/artifact/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/enum_pb.d.ts +49 -0
- package/ai/stigmer/agentic/artifact/v1/enum_pb.js +54 -0
- package/ai/stigmer/agentic/artifact/v1/enum_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/io_pb.d.ts +205 -0
- package/ai/stigmer/agentic/artifact/v1/io_pb.js +37 -0
- package/ai/stigmer/agentic/artifact/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/query_connect.d.ts +127 -0
- package/ai/stigmer/agentic/artifact/v1/query_connect.js +135 -0
- package/ai/stigmer/agentic/artifact/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/query_pb.d.ts +128 -0
- package/ai/stigmer/agentic/artifact/v1/query_pb.js +32 -0
- package/ai/stigmer/agentic/artifact/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/artifact/v1/spec_pb.d.ts +161 -0
- package/ai/stigmer/agentic/artifact/v1/spec_pb.js +25 -0
- package/ai/stigmer/agentic/artifact/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/runner/v1/api_pb.d.ts +33 -0
- package/ai/stigmer/agentic/runner/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/runner/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/runner/v1/io_pb.d.ts +15 -1
- package/ai/stigmer/agentic/runner/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/runner/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +30 -0
- package/ai/stigmer/agentic/workflow/v1/command_connect.js +31 -0
- package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +30 -0
- package/ai/stigmer/agentic/workflow/v1/command_pb.js +2 -1
- package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/enum_pb.d.ts +141 -1
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js +142 -1
- package/ai/stigmer/agentic/workflow/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +132 -1
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js +10 -5
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.d.ts +430 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.js +172 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_descriptor_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.d.ts +39 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.js +46 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_connect.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.d.ts +41 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.js +28 -0
- package/ai/stigmer/agentic/workflow/v1/task_kind_registry_query_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.d.ts +186 -4
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js +10 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/agent_call_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.d.ts +67 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.js +72 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/common_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.d.ts +147 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.js +22 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/emit_event_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.d.ts +341 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.js +128 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/eval_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.d.ts +129 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js +56 -2
- package/ai/stigmer/agentic/workflow/v1/tasks/for_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.d.ts +284 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.js +80 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/human_input_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.d.ts +186 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js +18 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/llm_call_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.d.ts +160 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.js +16 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/notification_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.d.ts +124 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.js +65 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/transform_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.d.ts +19 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/try_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.d.ts +257 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.js +79 -0
- package/ai/stigmer/agentic/workflow/v1/tasks/validate_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +96 -0
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +47 -0
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +48 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +47 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +1287 -0
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js +303 -0
- package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js.map +1 -0
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +578 -72
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +82 -70
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.d.ts +182 -0
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js +184 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.d.ts +180 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +2 -1
- package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/io_pb.d.ts +8 -0
- package/ai/stigmer/billing/v1/io_pb.js +1 -1
- package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +29 -0
- package/ai/stigmer/platform/v1/server_info_connect.js +36 -0
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -0
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +100 -0
- package/ai/stigmer/platform/v1/server_info_pb.js +65 -0
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { ApprovalAction } from "../../agentexecution/v1/enum_pb.js";
|
|
3
|
-
import type { WorkflowExecution, WorkflowExecutionStatus
|
|
3
|
+
import type { WorkflowExecution, WorkflowExecutionStatus } from "./api_pb.js";
|
|
4
4
|
import type { ExecutionPhase } from "./enum_pb.js";
|
|
5
|
+
import type { WorkflowEventType, WorkflowExecutionEvent } from "./event_pb.js";
|
|
6
|
+
import type { Duration, Timestamp } from "@bufbuild/protobuf/wkt";
|
|
5
7
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
6
8
|
/**
|
|
7
9
|
* Describes the file ai/stigmer/agentic/workflowexecution/v1/io.proto.
|
|
@@ -208,6 +210,27 @@ export type WorkflowExecutionUpdateStatusInput = Message<"ai.stigmer.agentic.wor
|
|
|
208
210
|
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionStatus status = 2;
|
|
209
211
|
*/
|
|
210
212
|
status?: WorkflowExecutionStatus;
|
|
213
|
+
/**
|
|
214
|
+
* Execution events to append to the event log alongside this status update.
|
|
215
|
+
*
|
|
216
|
+
* @internal
|
|
217
|
+
* Append-only: events are added to the persistent event log, never replaced.
|
|
218
|
+
* This contrasts with status.tasks which uses full-replace protocol.
|
|
219
|
+
*
|
|
220
|
+
* The workflow-runner appends events atomically with each status update,
|
|
221
|
+
* ensuring the event log stays consistent with the status snapshot.
|
|
222
|
+
* Events must have monotonically increasing sequence_numbers — the handler
|
|
223
|
+
* rejects batches where any event's sequence_number is <= the current
|
|
224
|
+
* highest persisted sequence for this execution.
|
|
225
|
+
*
|
|
226
|
+
* Empty list means no new events (backward compatible — existing runners
|
|
227
|
+
* that do not yet emit events continue to work without changes).
|
|
228
|
+
*
|
|
229
|
+
* @since T06 (Execution Event Stream Model)
|
|
230
|
+
*
|
|
231
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionEvent events = 10;
|
|
232
|
+
*/
|
|
233
|
+
events: WorkflowExecutionEvent[];
|
|
211
234
|
};
|
|
212
235
|
/**
|
|
213
236
|
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdateStatusInput.
|
|
@@ -271,17 +294,29 @@ export type SubmitWorkflowApprovalInput = Message<"ai.stigmer.agentic.workflowex
|
|
|
271
294
|
*/
|
|
272
295
|
export declare const SubmitWorkflowApprovalInputSchema: GenMessage<SubmitWorkflowApprovalInput>;
|
|
273
296
|
/**
|
|
274
|
-
*
|
|
297
|
+
* SubmitWorkflowTaskApprovalInput submits a human reviewer's decision for a
|
|
298
|
+
* workflow-level human_input task.
|
|
275
299
|
*
|
|
276
300
|
* @internal
|
|
277
|
-
*
|
|
278
|
-
*
|
|
301
|
+
* Unlike submitApproval (which forwards agent-level tool approvals to a child
|
|
302
|
+
* AgentExecution), this RPC resolves workflow-level human_input tasks. The handler:
|
|
279
303
|
*
|
|
280
|
-
*
|
|
304
|
+
* 1. Validates that the named task exists in the execution and is a human_input task
|
|
305
|
+
* 2. Validates the outcome against the task's configured outcomes (if any)
|
|
306
|
+
* 3. Constructs the Temporal signal name ("human_input_{task_name}")
|
|
307
|
+
* 4. Builds the signal payload matching HumanInputSignalPayload
|
|
308
|
+
* 5. Sends the signal via SignalWithStart for race-proof delivery
|
|
309
|
+
*
|
|
310
|
+
* The reviewer's decision (outcome + form_data) becomes the task output after
|
|
311
|
+
* the workflow-runner receives and processes the signal.
|
|
312
|
+
*
|
|
313
|
+
* @since T13b (Java/Cloud Backend Parity)
|
|
314
|
+
*
|
|
315
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.SubmitWorkflowTaskApprovalInput
|
|
281
316
|
*/
|
|
282
|
-
export type
|
|
317
|
+
export type SubmitWorkflowTaskApprovalInput = Message<"ai.stigmer.agentic.workflowexecution.v1.SubmitWorkflowTaskApprovalInput"> & {
|
|
283
318
|
/**
|
|
284
|
-
*
|
|
319
|
+
* ID of the workflow execution containing the human_input task.
|
|
285
320
|
*
|
|
286
321
|
* @internal
|
|
287
322
|
* Format: "wfx_{unique-suffix}"
|
|
@@ -289,55 +324,86 @@ export type SubscribeWorkflowExecutionRequest = Message<"ai.stigmer.agentic.work
|
|
|
289
324
|
* @generated from field: string execution_id = 1;
|
|
290
325
|
*/
|
|
291
326
|
executionId: string;
|
|
292
|
-
};
|
|
293
|
-
/**
|
|
294
|
-
* Describes the message ai.stigmer.agentic.workflowexecution.v1.SubscribeWorkflowExecutionRequest.
|
|
295
|
-
* Use `create(SubscribeWorkflowExecutionRequestSchema)` to create a new message.
|
|
296
|
-
*/
|
|
297
|
-
export declare const SubscribeWorkflowExecutionRequestSchema: GenMessage<SubscribeWorkflowExecutionRequest>;
|
|
298
|
-
/**
|
|
299
|
-
* WorkflowExecutionUpdate represents a real-time execution update event.
|
|
300
|
-
*
|
|
301
|
-
* @internal
|
|
302
|
-
* Reserved for future WebSocket/SSE streaming implementations.
|
|
303
|
-
* Currently not used by subscribe() RPC (which sends full WorkflowExecution).
|
|
304
|
-
*
|
|
305
|
-
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdate
|
|
306
|
-
*/
|
|
307
|
-
export type WorkflowExecutionUpdate = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionUpdate"> & {
|
|
308
327
|
/**
|
|
309
|
-
*
|
|
328
|
+
* Name of the human_input task to respond to.
|
|
329
|
+
*
|
|
330
|
+
* @internal
|
|
331
|
+
* Must match a task in the workflow whose kind is human_input and whose
|
|
332
|
+
* current status is WORKFLOW_TASK_IN_PROGRESS (waiting for signal).
|
|
333
|
+
* The handler constructs the signal name as "human_input_{task_name}".
|
|
334
|
+
*
|
|
335
|
+
* @generated from field: string task_name = 2;
|
|
336
|
+
*/
|
|
337
|
+
taskName: string;
|
|
338
|
+
/**
|
|
339
|
+
* Outcome selected by the reviewer.
|
|
340
|
+
*
|
|
341
|
+
* @internal
|
|
342
|
+
* If the human_input task defines custom outcomes, this must match one of
|
|
343
|
+
* the configured outcome names (e.g., "approve", "deny", "needs_revision").
|
|
344
|
+
* If no custom outcomes are defined, must be "approve" or "deny".
|
|
345
|
+
*
|
|
346
|
+
* @generated from field: string outcome = 3;
|
|
347
|
+
*/
|
|
348
|
+
outcome: string;
|
|
349
|
+
/**
|
|
350
|
+
* Form data collected from the reviewer's response form.
|
|
310
351
|
*
|
|
311
352
|
* @internal
|
|
312
|
-
*
|
|
353
|
+
* Populated when the human_input task defines a form_schema. The form data
|
|
354
|
+
* is delivered to the Go runner as-is and becomes part of the task output.
|
|
355
|
+
* Validation against the form_schema is a runtime concern (Go runner side).
|
|
313
356
|
*
|
|
314
|
-
* @generated from field:
|
|
357
|
+
* @generated from field: google.protobuf.Struct form_data = 4;
|
|
315
358
|
*/
|
|
316
|
-
|
|
359
|
+
formData?: JsonObject;
|
|
317
360
|
/**
|
|
318
|
-
*
|
|
361
|
+
* Identity of the reviewer submitting the decision.
|
|
319
362
|
*
|
|
320
363
|
* @internal
|
|
321
|
-
*
|
|
364
|
+
* Typically the authenticated user's identity. Stored in the task output
|
|
365
|
+
* for audit trail purposes.
|
|
322
366
|
*
|
|
323
|
-
* @generated from field:
|
|
367
|
+
* @generated from field: string reviewer = 5;
|
|
324
368
|
*/
|
|
325
|
-
|
|
369
|
+
reviewer: string;
|
|
326
370
|
/**
|
|
327
|
-
*
|
|
371
|
+
* Optional comment from the reviewer, stored in the audit trail.
|
|
372
|
+
*
|
|
373
|
+
* @generated from field: string comment = 6;
|
|
374
|
+
*/
|
|
375
|
+
comment: string;
|
|
376
|
+
};
|
|
377
|
+
/**
|
|
378
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.SubmitWorkflowTaskApprovalInput.
|
|
379
|
+
* Use `create(SubmitWorkflowTaskApprovalInputSchema)` to create a new message.
|
|
380
|
+
*/
|
|
381
|
+
export declare const SubmitWorkflowTaskApprovalInputSchema: GenMessage<SubmitWorkflowTaskApprovalInput>;
|
|
382
|
+
/**
|
|
383
|
+
* SubscribeWorkflowExecutionRequest subscribes to real-time execution updates.
|
|
384
|
+
*
|
|
385
|
+
* @internal
|
|
386
|
+
* Opens a server-side streaming RPC that pushes WorkflowExecution updates
|
|
387
|
+
* as the execution progresses. Stream closes when execution reaches a terminal state.
|
|
388
|
+
*
|
|
389
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.SubscribeWorkflowExecutionRequest
|
|
390
|
+
*/
|
|
391
|
+
export type SubscribeWorkflowExecutionRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.SubscribeWorkflowExecutionRequest"> & {
|
|
392
|
+
/**
|
|
393
|
+
* Execution ID to subscribe to.
|
|
328
394
|
*
|
|
329
395
|
* @internal
|
|
330
|
-
*
|
|
396
|
+
* Format: "wfx_{unique-suffix}"
|
|
331
397
|
*
|
|
332
|
-
* @generated from field:
|
|
398
|
+
* @generated from field: string execution_id = 1;
|
|
333
399
|
*/
|
|
334
|
-
|
|
400
|
+
executionId: string;
|
|
335
401
|
};
|
|
336
402
|
/**
|
|
337
|
-
* Describes the message ai.stigmer.agentic.workflowexecution.v1.
|
|
338
|
-
* Use `create(
|
|
403
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.SubscribeWorkflowExecutionRequest.
|
|
404
|
+
* Use `create(SubscribeWorkflowExecutionRequestSchema)` to create a new message.
|
|
339
405
|
*/
|
|
340
|
-
export declare const
|
|
406
|
+
export declare const SubscribeWorkflowExecutionRequestSchema: GenMessage<SubscribeWorkflowExecutionRequest>;
|
|
341
407
|
/**
|
|
342
408
|
* CancelWorkflowExecutionInput requests graceful cancellation of a workflow execution.
|
|
343
409
|
*
|
|
@@ -571,79 +637,519 @@ export type SendSignalInput = Message<"ai.stigmer.agentic.workflowexecution.v1.S
|
|
|
571
637
|
*/
|
|
572
638
|
export declare const SendSignalInputSchema: GenMessage<SendSignalInput>;
|
|
573
639
|
/**
|
|
574
|
-
*
|
|
640
|
+
* GetEventLogRequest fetches the paginated event log for a workflow execution.
|
|
575
641
|
*
|
|
576
642
|
* @internal
|
|
577
|
-
*
|
|
643
|
+
* Returns events ordered by sequence_number ascending. Supports cursor-based
|
|
644
|
+
* pagination via after_sequence and optional filtering by event type or task.
|
|
578
645
|
*
|
|
579
|
-
*
|
|
646
|
+
* Use Cases:
|
|
647
|
+
*
|
|
648
|
+
* 1. Execution Viewer Timeline (T09):
|
|
649
|
+
* - UI loads execution state via get(), then fetches event log for timeline
|
|
650
|
+
* - Initial load: after_sequence = 0, page_size = 100
|
|
651
|
+
* - Subsequent pages: after_sequence = latest_sequence from previous response
|
|
652
|
+
*
|
|
653
|
+
* 2. Task Drill-Down:
|
|
654
|
+
* - User clicks a task in the viewer to see its full history
|
|
655
|
+
* - Filter by task_name to get only events for that task
|
|
656
|
+
*
|
|
657
|
+
* 3. Cost Analysis:
|
|
658
|
+
* - Filter by budget_checkpoint events to chart cost over time
|
|
659
|
+
*
|
|
660
|
+
* @since T06 (Execution Event Stream Model)
|
|
661
|
+
*
|
|
662
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.GetEventLogRequest
|
|
580
663
|
*/
|
|
581
|
-
export
|
|
664
|
+
export type GetEventLogRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.GetEventLogRequest"> & {
|
|
665
|
+
/**
|
|
666
|
+
* Execution ID to fetch events for.
|
|
667
|
+
*
|
|
668
|
+
* @internal
|
|
669
|
+
* Format: "wfx_{unique-suffix}"
|
|
670
|
+
*
|
|
671
|
+
* @generated from field: string execution_id = 1;
|
|
672
|
+
*/
|
|
673
|
+
executionId: string;
|
|
582
674
|
/**
|
|
583
|
-
*
|
|
675
|
+
* Return events with sequence_number strictly greater than this value.
|
|
584
676
|
*
|
|
585
677
|
* @internal
|
|
586
|
-
*
|
|
678
|
+
* Cursor-based pagination: set to 0 for the first page, then to
|
|
679
|
+
* latest_sequence from the previous response for subsequent pages.
|
|
680
|
+
* Also used by subscribeEvents for replay + live tail positioning.
|
|
587
681
|
*
|
|
588
|
-
* @generated from
|
|
682
|
+
* @generated from field: uint64 after_sequence = 2;
|
|
589
683
|
*/
|
|
590
|
-
|
|
684
|
+
afterSequence: bigint;
|
|
591
685
|
/**
|
|
592
|
-
*
|
|
686
|
+
* Optional filter: return only events of these types.
|
|
593
687
|
*
|
|
594
688
|
* @internal
|
|
595
|
-
*
|
|
689
|
+
* When empty, all event types are returned. When populated, only events
|
|
690
|
+
* whose event_type matches one of the specified values are included.
|
|
691
|
+
* Useful for filtering to only task lifecycle events, or only budget events.
|
|
596
692
|
*
|
|
597
|
-
* @generated from
|
|
693
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowEventType event_types = 3;
|
|
598
694
|
*/
|
|
599
|
-
|
|
695
|
+
eventTypes: WorkflowEventType[];
|
|
600
696
|
/**
|
|
601
|
-
*
|
|
697
|
+
* Optional filter: return only events for this task.
|
|
602
698
|
*
|
|
603
699
|
* @internal
|
|
604
|
-
*
|
|
700
|
+
* When empty, events for all tasks (and execution-level events) are returned.
|
|
701
|
+
* When populated, only events where task_name matches are included.
|
|
702
|
+
* Execution-level events (empty task_name) are excluded when this filter is set.
|
|
605
703
|
*
|
|
606
|
-
* @generated from
|
|
704
|
+
* @generated from field: string task_name = 4;
|
|
607
705
|
*/
|
|
608
|
-
|
|
706
|
+
taskName: string;
|
|
609
707
|
/**
|
|
610
|
-
*
|
|
708
|
+
* Maximum number of events to return per page.
|
|
611
709
|
*
|
|
612
710
|
* @internal
|
|
613
|
-
*
|
|
711
|
+
* Default: 100. Maximum: 500 (backend enforces this limit).
|
|
712
|
+
* Events are always returned in sequence_number ascending order.
|
|
713
|
+
*
|
|
714
|
+
* @generated from field: int32 page_size = 5;
|
|
715
|
+
*/
|
|
716
|
+
pageSize: number;
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.GetEventLogRequest.
|
|
720
|
+
* Use `create(GetEventLogRequestSchema)` to create a new message.
|
|
721
|
+
*/
|
|
722
|
+
export declare const GetEventLogRequestSchema: GenMessage<GetEventLogRequest>;
|
|
723
|
+
/**
|
|
724
|
+
* GetEventLogResponse contains a page of execution events.
|
|
725
|
+
*
|
|
726
|
+
* @internal
|
|
727
|
+
* @since T06 (Execution Event Stream Model)
|
|
728
|
+
*
|
|
729
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.GetEventLogResponse
|
|
730
|
+
*/
|
|
731
|
+
export type GetEventLogResponse = Message<"ai.stigmer.agentic.workflowexecution.v1.GetEventLogResponse"> & {
|
|
732
|
+
/**
|
|
733
|
+
* Events in this page, ordered by sequence_number ascending.
|
|
614
734
|
*
|
|
615
|
-
* @generated from
|
|
735
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionEvent events = 1;
|
|
616
736
|
*/
|
|
617
|
-
|
|
737
|
+
events: WorkflowExecutionEvent[];
|
|
618
738
|
/**
|
|
619
|
-
*
|
|
739
|
+
* Whether more events exist after the last event in this response.
|
|
740
|
+
* When false, the client has reached the end of the current event log.
|
|
741
|
+
* For in-progress executions, more events may appear later.
|
|
742
|
+
*
|
|
743
|
+
* @generated from field: bool has_more = 2;
|
|
744
|
+
*/
|
|
745
|
+
hasMore: boolean;
|
|
746
|
+
/**
|
|
747
|
+
* Highest sequence_number returned in this response.
|
|
748
|
+
* Use as after_sequence in the next request for cursor-based pagination.
|
|
749
|
+
* 0 when events is empty.
|
|
750
|
+
*
|
|
751
|
+
* @generated from field: uint64 latest_sequence = 3;
|
|
752
|
+
*/
|
|
753
|
+
latestSequence: bigint;
|
|
754
|
+
};
|
|
755
|
+
/**
|
|
756
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.GetEventLogResponse.
|
|
757
|
+
* Use `create(GetEventLogResponseSchema)` to create a new message.
|
|
758
|
+
*/
|
|
759
|
+
export declare const GetEventLogResponseSchema: GenMessage<GetEventLogResponse>;
|
|
760
|
+
/**
|
|
761
|
+
* SubscribeEventsRequest opens a real-time event stream for a workflow execution.
|
|
762
|
+
*
|
|
763
|
+
* @internal
|
|
764
|
+
* Unlike subscribe() which streams full WorkflowExecution snapshots, this
|
|
765
|
+
* streams individual WorkflowExecutionEvent messages as they occur.
|
|
766
|
+
* Lightweight and incremental — suitable for the execution viewer timeline.
|
|
767
|
+
*
|
|
768
|
+
* Replay + Live Tail:
|
|
769
|
+
* When after_sequence is set, the server first replays persisted events
|
|
770
|
+
* with sequence_number > after_sequence, then switches to live streaming.
|
|
771
|
+
* This enables seamless reconnection without missing events.
|
|
772
|
+
*
|
|
773
|
+
* Stream Lifecycle:
|
|
774
|
+
* 1. Client sends SubscribeEventsRequest with execution_id
|
|
775
|
+
* 2. Server validates authorization
|
|
776
|
+
* 3. If after_sequence > 0: Server replays missed events
|
|
777
|
+
* 4. Server streams new events in real-time as they occur
|
|
778
|
+
* 5. Server closes stream when execution reaches a terminal phase
|
|
779
|
+
* 6. Client can close stream early (e.g., user navigates away)
|
|
780
|
+
*
|
|
781
|
+
* @since T06 (Execution Event Stream Model)
|
|
782
|
+
*
|
|
783
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.SubscribeEventsRequest
|
|
784
|
+
*/
|
|
785
|
+
export type SubscribeEventsRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.SubscribeEventsRequest"> & {
|
|
786
|
+
/**
|
|
787
|
+
* Execution ID to subscribe to.
|
|
620
788
|
*
|
|
621
789
|
* @internal
|
|
622
|
-
*
|
|
790
|
+
* Format: "wfx_{unique-suffix}"
|
|
623
791
|
*
|
|
624
|
-
* @generated from
|
|
792
|
+
* @generated from field: string execution_id = 1;
|
|
625
793
|
*/
|
|
626
|
-
|
|
794
|
+
executionId: string;
|
|
627
795
|
/**
|
|
628
|
-
*
|
|
796
|
+
* Resume from this sequence number (replay + live tail).
|
|
629
797
|
*
|
|
630
798
|
* @internal
|
|
631
|
-
*
|
|
799
|
+
* 0 = start from the beginning (replay all events then live tail).
|
|
800
|
+
* N = replay events with sequence_number > N, then live tail.
|
|
632
801
|
*
|
|
633
|
-
*
|
|
802
|
+
* Use the latest_sequence from a previous getEventLog response or
|
|
803
|
+
* the last received event's sequence_number for reconnection.
|
|
804
|
+
*
|
|
805
|
+
* @generated from field: uint64 after_sequence = 2;
|
|
634
806
|
*/
|
|
635
|
-
|
|
807
|
+
afterSequence: bigint;
|
|
636
808
|
/**
|
|
637
|
-
*
|
|
809
|
+
* Optional filter: stream only events of these types.
|
|
638
810
|
*
|
|
639
811
|
* @internal
|
|
640
|
-
*
|
|
812
|
+
* When empty, all event types are streamed.
|
|
813
|
+
* Applied to both replayed and live events.
|
|
814
|
+
*
|
|
815
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowEventType event_types = 3;
|
|
816
|
+
*/
|
|
817
|
+
eventTypes: WorkflowEventType[];
|
|
818
|
+
};
|
|
819
|
+
/**
|
|
820
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.SubscribeEventsRequest.
|
|
821
|
+
* Use `create(SubscribeEventsRequestSchema)` to create a new message.
|
|
822
|
+
*/
|
|
823
|
+
export declare const SubscribeEventsRequestSchema: GenMessage<SubscribeEventsRequest>;
|
|
824
|
+
/**
|
|
825
|
+
* GetExecutionSummaryRequest fetches aggregated execution statistics for an organization.
|
|
826
|
+
*
|
|
827
|
+
* @since T14 (Dashboard Integration)
|
|
828
|
+
*
|
|
829
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.GetExecutionSummaryRequest
|
|
830
|
+
*/
|
|
831
|
+
export type GetExecutionSummaryRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.GetExecutionSummaryRequest"> & {
|
|
832
|
+
/**
|
|
833
|
+
* Organization slug to scope the summary.
|
|
834
|
+
*
|
|
835
|
+
* @generated from field: string org = 1;
|
|
836
|
+
*/
|
|
837
|
+
org: string;
|
|
838
|
+
/**
|
|
839
|
+
* Time window for aggregation.
|
|
840
|
+
*
|
|
841
|
+
* Defaults to LAST_7D when unspecified.
|
|
842
|
+
*
|
|
843
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.SummaryTimeWindow time_window = 2;
|
|
844
|
+
*/
|
|
845
|
+
timeWindow: SummaryTimeWindow;
|
|
846
|
+
};
|
|
847
|
+
/**
|
|
848
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.GetExecutionSummaryRequest.
|
|
849
|
+
* Use `create(GetExecutionSummaryRequestSchema)` to create a new message.
|
|
850
|
+
*/
|
|
851
|
+
export declare const GetExecutionSummaryRequestSchema: GenMessage<GetExecutionSummaryRequest>;
|
|
852
|
+
/**
|
|
853
|
+
* ExecutionSummary contains aggregated statistics for workflow executions.
|
|
854
|
+
*
|
|
855
|
+
* All counts, costs, and durations are scoped to the requested time window.
|
|
856
|
+
*
|
|
857
|
+
* @since T14 (Dashboard Integration)
|
|
858
|
+
*
|
|
859
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.ExecutionSummary
|
|
860
|
+
*/
|
|
861
|
+
export type ExecutionSummary = Message<"ai.stigmer.agentic.workflowexecution.v1.ExecutionSummary"> & {
|
|
862
|
+
/**
|
|
863
|
+
* Number of executions currently in a non-terminal phase (PENDING, IN_PROGRESS, PAUSED).
|
|
864
|
+
*
|
|
865
|
+
* @generated from field: int32 active_count = 1;
|
|
866
|
+
*/
|
|
867
|
+
activeCount: number;
|
|
868
|
+
/**
|
|
869
|
+
* Execution counts broken down by phase.
|
|
870
|
+
*
|
|
871
|
+
* Keys are ExecutionPhase enum values (as int32).
|
|
872
|
+
* Only phases with at least one execution are included.
|
|
873
|
+
*
|
|
874
|
+
* @generated from field: map<int32, int32> phase_counts = 2;
|
|
875
|
+
*/
|
|
876
|
+
phaseCounts: {
|
|
877
|
+
[key: number]: number;
|
|
878
|
+
};
|
|
879
|
+
/**
|
|
880
|
+
* Aggregate cost across all executions in the time window.
|
|
881
|
+
*
|
|
882
|
+
* @generated from field: ai.stigmer.agentic.workflowexecution.v1.WorkflowCostSummary total_cost = 3;
|
|
883
|
+
*/
|
|
884
|
+
totalCost?: WorkflowCostSummary;
|
|
885
|
+
/**
|
|
886
|
+
* Mean execution duration (from started_at to completed_at) for completed executions.
|
|
887
|
+
*
|
|
888
|
+
* Zero when no completed executions exist in the window.
|
|
889
|
+
*
|
|
890
|
+
* @generated from field: google.protobuf.Duration avg_duration = 4;
|
|
891
|
+
*/
|
|
892
|
+
avgDuration?: Duration;
|
|
893
|
+
/**
|
|
894
|
+
* Workflows with the highest failure count in the time window, ranked descending.
|
|
895
|
+
*
|
|
896
|
+
* Capped at 10 entries.
|
|
897
|
+
*
|
|
898
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowFailureRank top_failing_workflows = 5;
|
|
899
|
+
*/
|
|
900
|
+
topFailingWorkflows: WorkflowFailureRank[];
|
|
901
|
+
/**
|
|
902
|
+
* Per-workflow cost breakdown, ranked by total_cost descending.
|
|
903
|
+
*
|
|
904
|
+
* Capped at 10 entries.
|
|
905
|
+
*
|
|
906
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowCostBreakdown cost_by_workflow = 6;
|
|
907
|
+
*/
|
|
908
|
+
costByWorkflow: WorkflowCostBreakdown[];
|
|
909
|
+
};
|
|
910
|
+
/**
|
|
911
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.ExecutionSummary.
|
|
912
|
+
* Use `create(ExecutionSummarySchema)` to create a new message.
|
|
913
|
+
*/
|
|
914
|
+
export declare const ExecutionSummarySchema: GenMessage<ExecutionSummary>;
|
|
915
|
+
/**
|
|
916
|
+
* WorkflowCostSummary aggregates token and dollar costs.
|
|
917
|
+
*
|
|
918
|
+
* @since T14 (Dashboard Integration)
|
|
919
|
+
*
|
|
920
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowCostSummary
|
|
921
|
+
*/
|
|
922
|
+
export type WorkflowCostSummary = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowCostSummary"> & {
|
|
923
|
+
/**
|
|
924
|
+
* @generated from field: double total_cost_usd = 1;
|
|
925
|
+
*/
|
|
926
|
+
totalCostUsd: number;
|
|
927
|
+
/**
|
|
928
|
+
* @generated from field: int64 total_input_tokens = 2;
|
|
929
|
+
*/
|
|
930
|
+
totalInputTokens: bigint;
|
|
931
|
+
/**
|
|
932
|
+
* @generated from field: int64 total_output_tokens = 3;
|
|
933
|
+
*/
|
|
934
|
+
totalOutputTokens: bigint;
|
|
935
|
+
};
|
|
936
|
+
/**
|
|
937
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowCostSummary.
|
|
938
|
+
* Use `create(WorkflowCostSummarySchema)` to create a new message.
|
|
939
|
+
*/
|
|
940
|
+
export declare const WorkflowCostSummarySchema: GenMessage<WorkflowCostSummary>;
|
|
941
|
+
/**
|
|
942
|
+
* WorkflowFailureRank represents a workflow and its failure count within a time window.
|
|
943
|
+
*
|
|
944
|
+
* @since T14 (Dashboard Integration)
|
|
945
|
+
*
|
|
946
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowFailureRank
|
|
947
|
+
*/
|
|
948
|
+
export type WorkflowFailureRank = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowFailureRank"> & {
|
|
949
|
+
/**
|
|
950
|
+
* @generated from field: string workflow_slug = 1;
|
|
951
|
+
*/
|
|
952
|
+
workflowSlug: string;
|
|
953
|
+
/**
|
|
954
|
+
* @generated from field: string workflow_name = 2;
|
|
955
|
+
*/
|
|
956
|
+
workflowName: string;
|
|
957
|
+
/**
|
|
958
|
+
* @generated from field: int32 failure_count = 3;
|
|
959
|
+
*/
|
|
960
|
+
failureCount: number;
|
|
961
|
+
};
|
|
962
|
+
/**
|
|
963
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowFailureRank.
|
|
964
|
+
* Use `create(WorkflowFailureRankSchema)` to create a new message.
|
|
965
|
+
*/
|
|
966
|
+
export declare const WorkflowFailureRankSchema: GenMessage<WorkflowFailureRank>;
|
|
967
|
+
/**
|
|
968
|
+
* WorkflowCostBreakdown represents per-workflow cost aggregation.
|
|
969
|
+
*
|
|
970
|
+
* @since T14 (Dashboard Integration)
|
|
971
|
+
*
|
|
972
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowCostBreakdown
|
|
973
|
+
*/
|
|
974
|
+
export type WorkflowCostBreakdown = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowCostBreakdown"> & {
|
|
975
|
+
/**
|
|
976
|
+
* @generated from field: string workflow_slug = 1;
|
|
977
|
+
*/
|
|
978
|
+
workflowSlug: string;
|
|
979
|
+
/**
|
|
980
|
+
* @generated from field: string workflow_name = 2;
|
|
981
|
+
*/
|
|
982
|
+
workflowName: string;
|
|
983
|
+
/**
|
|
984
|
+
* @generated from field: double total_cost_usd = 3;
|
|
985
|
+
*/
|
|
986
|
+
totalCostUsd: number;
|
|
987
|
+
/**
|
|
988
|
+
* @generated from field: int32 execution_count = 4;
|
|
989
|
+
*/
|
|
990
|
+
executionCount: number;
|
|
991
|
+
};
|
|
992
|
+
/**
|
|
993
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowCostBreakdown.
|
|
994
|
+
* Use `create(WorkflowCostBreakdownSchema)` to create a new message.
|
|
995
|
+
*/
|
|
996
|
+
export declare const WorkflowCostBreakdownSchema: GenMessage<WorkflowCostBreakdown>;
|
|
997
|
+
/**
|
|
998
|
+
* ListPendingApprovalsRequest fetches workflow executions that have active
|
|
999
|
+
* human_input tasks awaiting reviewer decisions.
|
|
1000
|
+
*
|
|
1001
|
+
* @since T14 (Dashboard Integration)
|
|
1002
|
+
*
|
|
1003
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.ListPendingApprovalsRequest
|
|
1004
|
+
*/
|
|
1005
|
+
export type ListPendingApprovalsRequest = Message<"ai.stigmer.agentic.workflowexecution.v1.ListPendingApprovalsRequest"> & {
|
|
1006
|
+
/**
|
|
1007
|
+
* Organization slug to scope the query.
|
|
1008
|
+
*
|
|
1009
|
+
* @generated from field: string org = 1;
|
|
1010
|
+
*/
|
|
1011
|
+
org: string;
|
|
1012
|
+
/**
|
|
1013
|
+
* Maximum number of pending approvals to return per page.
|
|
1014
|
+
*
|
|
1015
|
+
* Default: 20. Maximum: 100.
|
|
1016
|
+
*
|
|
1017
|
+
* @generated from field: int32 page_size = 2;
|
|
1018
|
+
*/
|
|
1019
|
+
pageSize: number;
|
|
1020
|
+
/**
|
|
1021
|
+
* Opaque pagination token from a previous response.
|
|
1022
|
+
*
|
|
1023
|
+
* @generated from field: string page_token = 3;
|
|
1024
|
+
*/
|
|
1025
|
+
pageToken: string;
|
|
1026
|
+
};
|
|
1027
|
+
/**
|
|
1028
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.ListPendingApprovalsRequest.
|
|
1029
|
+
* Use `create(ListPendingApprovalsRequestSchema)` to create a new message.
|
|
1030
|
+
*/
|
|
1031
|
+
export declare const ListPendingApprovalsRequestSchema: GenMessage<ListPendingApprovalsRequest>;
|
|
1032
|
+
/**
|
|
1033
|
+
* PendingApproval represents a single human_input task awaiting a reviewer decision.
|
|
1034
|
+
*
|
|
1035
|
+
* @since T14 (Dashboard Integration)
|
|
1036
|
+
*
|
|
1037
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.PendingApproval
|
|
1038
|
+
*/
|
|
1039
|
+
export type PendingApproval = Message<"ai.stigmer.agentic.workflowexecution.v1.PendingApproval"> & {
|
|
1040
|
+
/**
|
|
1041
|
+
* Workflow execution containing the pending task.
|
|
1042
|
+
*
|
|
1043
|
+
* @generated from field: string execution_id = 1;
|
|
1044
|
+
*/
|
|
1045
|
+
executionId: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* Human-readable workflow name for display.
|
|
1048
|
+
*
|
|
1049
|
+
* @generated from field: string workflow_name = 2;
|
|
1050
|
+
*/
|
|
1051
|
+
workflowName: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* Name of the human_input task awaiting response.
|
|
1054
|
+
*
|
|
1055
|
+
* @generated from field: string task_name = 3;
|
|
1056
|
+
*/
|
|
1057
|
+
taskName: string;
|
|
1058
|
+
/**
|
|
1059
|
+
* Identity of the user or system that triggered the execution.
|
|
1060
|
+
*
|
|
1061
|
+
* @generated from field: string requester = 4;
|
|
1062
|
+
*/
|
|
1063
|
+
requester: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* When the approval was requested (task entered waiting state).
|
|
1066
|
+
*
|
|
1067
|
+
* @generated from field: google.protobuf.Timestamp requested_at = 5;
|
|
1068
|
+
*/
|
|
1069
|
+
requestedAt?: Timestamp;
|
|
1070
|
+
/**
|
|
1071
|
+
* When the approval times out (if a timeout policy is configured).
|
|
1072
|
+
*
|
|
1073
|
+
* Zero value when no timeout is configured.
|
|
1074
|
+
*
|
|
1075
|
+
* @generated from field: google.protobuf.Timestamp timeout_at = 6;
|
|
1076
|
+
*/
|
|
1077
|
+
timeoutAt?: Timestamp;
|
|
1078
|
+
/**
|
|
1079
|
+
* Optional JSON Schema for the approval form.
|
|
1080
|
+
*
|
|
1081
|
+
* When present, the reviewer is expected to fill in form data
|
|
1082
|
+
* that conforms to this schema before submitting the decision.
|
|
1083
|
+
*
|
|
1084
|
+
* @generated from field: google.protobuf.Struct form_schema = 7;
|
|
1085
|
+
*/
|
|
1086
|
+
formSchema?: JsonObject;
|
|
1087
|
+
};
|
|
1088
|
+
/**
|
|
1089
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.PendingApproval.
|
|
1090
|
+
* Use `create(PendingApprovalSchema)` to create a new message.
|
|
1091
|
+
*/
|
|
1092
|
+
export declare const PendingApprovalSchema: GenMessage<PendingApproval>;
|
|
1093
|
+
/**
|
|
1094
|
+
* PendingApprovalsList contains a paginated list of pending approvals.
|
|
1095
|
+
*
|
|
1096
|
+
* @since T14 (Dashboard Integration)
|
|
1097
|
+
*
|
|
1098
|
+
* @generated from message ai.stigmer.agentic.workflowexecution.v1.PendingApprovalsList
|
|
1099
|
+
*/
|
|
1100
|
+
export type PendingApprovalsList = Message<"ai.stigmer.agentic.workflowexecution.v1.PendingApprovalsList"> & {
|
|
1101
|
+
/**
|
|
1102
|
+
* @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.PendingApproval entries = 1;
|
|
1103
|
+
*/
|
|
1104
|
+
entries: PendingApproval[];
|
|
1105
|
+
/**
|
|
1106
|
+
* Total number of pending approvals matching the query (across all pages).
|
|
1107
|
+
*
|
|
1108
|
+
* @generated from field: int32 total_count = 2;
|
|
1109
|
+
*/
|
|
1110
|
+
totalCount: number;
|
|
1111
|
+
/**
|
|
1112
|
+
* Pagination token for the next page. Empty when no more pages exist.
|
|
641
1113
|
*
|
|
642
|
-
* @generated from
|
|
1114
|
+
* @generated from field: string next_page_token = 3;
|
|
1115
|
+
*/
|
|
1116
|
+
nextPageToken: string;
|
|
1117
|
+
};
|
|
1118
|
+
/**
|
|
1119
|
+
* Describes the message ai.stigmer.agentic.workflowexecution.v1.PendingApprovalsList.
|
|
1120
|
+
* Use `create(PendingApprovalsListSchema)` to create a new message.
|
|
1121
|
+
*/
|
|
1122
|
+
export declare const PendingApprovalsListSchema: GenMessage<PendingApprovalsList>;
|
|
1123
|
+
/**
|
|
1124
|
+
* SummaryTimeWindow controls the time range for aggregated dashboard queries.
|
|
1125
|
+
*
|
|
1126
|
+
* @since T14 (Dashboard Integration)
|
|
1127
|
+
*
|
|
1128
|
+
* @generated from enum ai.stigmer.agentic.workflowexecution.v1.SummaryTimeWindow
|
|
1129
|
+
*/
|
|
1130
|
+
export declare enum SummaryTimeWindow {
|
|
1131
|
+
/**
|
|
1132
|
+
* @generated from enum value: SUMMARY_TIME_WINDOW_UNSPECIFIED = 0;
|
|
1133
|
+
*/
|
|
1134
|
+
UNSPECIFIED = 0,
|
|
1135
|
+
/**
|
|
1136
|
+
* @generated from enum value: SUMMARY_TIME_WINDOW_LAST_24H = 1;
|
|
1137
|
+
*/
|
|
1138
|
+
LAST_24H = 1,
|
|
1139
|
+
/**
|
|
1140
|
+
* @generated from enum value: SUMMARY_TIME_WINDOW_LAST_7D = 2;
|
|
1141
|
+
*/
|
|
1142
|
+
LAST_7D = 2,
|
|
1143
|
+
/**
|
|
1144
|
+
* @generated from enum value: SUMMARY_TIME_WINDOW_LAST_30D = 3;
|
|
1145
|
+
*/
|
|
1146
|
+
LAST_30D = 3,
|
|
1147
|
+
/**
|
|
1148
|
+
* @generated from enum value: SUMMARY_TIME_WINDOW_ALL_TIME = 4;
|
|
643
1149
|
*/
|
|
644
|
-
|
|
1150
|
+
ALL_TIME = 4
|
|
645
1151
|
}
|
|
646
1152
|
/**
|
|
647
|
-
* Describes the enum ai.stigmer.agentic.workflowexecution.v1.
|
|
1153
|
+
* Describes the enum ai.stigmer.agentic.workflowexecution.v1.SummaryTimeWindow.
|
|
648
1154
|
*/
|
|
649
|
-
export declare const
|
|
1155
|
+
export declare const SummaryTimeWindowSchema: GenEnum<SummaryTimeWindow>;
|