@stigmer/protos 3.0.9-dev.20260616060535 → 3.1.1

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.
Files changed (43) hide show
  1. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +81 -1
  2. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
  3. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.d.ts +325 -1
  5. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js +26 -1
  6. package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.d.ts +4 -8
  8. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js +1 -1
  9. package/ai/stigmer/agentic/agentexecution/v1/artifact_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +39 -0
  11. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +40 -1
  12. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
  13. package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +39 -1
  14. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js +1 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +802 -29
  17. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +820 -31
  18. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agentexecution/v1/filereview_pb.d.ts +796 -0
  20. package/ai/stigmer/agentic/agentexecution/v1/filereview_pb.js +77 -0
  21. package/ai/stigmer/agentic/agentexecution/v1/filereview_pb.js.map +1 -0
  22. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +92 -1
  23. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +33 -28
  24. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  25. package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +220 -8
  26. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +11 -1
  27. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
  28. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +17 -0
  29. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +1 -1
  30. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  31. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +69 -0
  32. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +7 -2
  33. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
  34. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +50 -0
  35. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +51 -1
  36. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
  37. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +50 -1
  38. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +1 -1
  39. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  40. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +141 -11
  41. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +26 -21
  42. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  43. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
- import type { ApprovalAction, MessageType, ToolCallStatus, ToolCallStreamingSource, ToolKind } from "./enum_pb.js";
2
+ import type { ApprovalAction, ApprovalPolicySource, FileChangeCaptureLevel, FileChangeType, MessageType, ToolCallStatus, ToolCallStreamingSource, ToolKind } from "./enum_pb.js";
3
3
  import type { JsonObject, Message } from "@bufbuild/protobuf";
4
4
  /**
5
5
  * Describes the file ai/stigmer/agentic/agentexecution/v1/message.proto.
@@ -268,6 +268,78 @@ export type ToolCall = Message<"ai.stigmer.agentic.agentexecution.v1.ToolCall">
268
268
  * @generated from field: ai.stigmer.agentic.agentexecution.v1.ToolCallOutputRef output_ref = 21;
269
269
  */
270
270
  outputRef?: ToolCallOutputRef;
271
+ /**
272
+ * Policy layer that decided this tool call's approval requirement, set by the
273
+ * runner's approval gate so clients can explain "why was this gated or
274
+ * auto-approved?".
275
+ *
276
+ * APPROVAL_POLICY_SOURCE_UNSPECIFIED means unevaluated — a read-only built-in,
277
+ * or an execution that predates this field (clients fall back to no provenance,
278
+ * exactly as for an unset tool_kind). See ApprovalPolicySource.
279
+ *
280
+ * Field 23: appended after file_changes (22), the prior maximum.
281
+ *
282
+ * @generated from field: ai.stigmer.agentic.agentexecution.v1.ApprovalPolicySource approval_policy_source = 23;
283
+ */
284
+ approvalPolicySource: ApprovalPolicySource;
285
+ /**
286
+ * Identifier of the policy-engine logic that produced approval_policy_source,
287
+ * bumped when the merge/classification semantics change so decisions made by
288
+ * different engine versions stay distinguishable in audits.
289
+ *
290
+ * @internal
291
+ * Mirrors the runner's POLICY_ENGINE_VERSION constant (approval-policy.ts).
292
+ *
293
+ * Field 24: appended after approval_policy_source (23), the prior maximum.
294
+ *
295
+ * @generated from field: string policy_engine_version = 24;
296
+ */
297
+ policyEngineVersion: string;
298
+ /**
299
+ * Stable digest of the authoritative edit content (the hook-captured tool
300
+ * input) for a gated file-mutating tool call, set by the runner's approval
301
+ * gate. It is the content discriminator the deny-only Cursor harness needs:
302
+ * approving one edit must not let a DIFFERENT edit to the same file ride the
303
+ * approval through, so the grant binds to (category, path, content) rather than
304
+ * (category, path) alone. A resumed re-attempt that differs from the approved
305
+ * content re-gates (the "what you approve is what gets applied" contract).
306
+ *
307
+ * Carried so it survives at resume immune to the size-limit elision that can
308
+ * drop `args`/`file_changes` for large edits — a recompute-from-args identity
309
+ * would be unrecoverable in that case. Empty for tools whose other identity is
310
+ * already content-exact (shell command, delete path), for read-only tools, and
311
+ * for executions that predate this field (the runner then degrades to the
312
+ * coarse (category, path) identity).
313
+ *
314
+ * @internal
315
+ * Runner-written and carried through update_status exactly like tool_kind /
316
+ * approval_policy_source — not owned by SubmitApproval, so no preserve logic is
317
+ * needed. See the runner's contentDigest() (shared/file-tools.ts).
318
+ *
319
+ * Field 25: appended after policy_engine_version (24), the prior maximum.
320
+ *
321
+ * @generated from field: string approval_content_digest = 25;
322
+ */
323
+ approvalContentDigest: string;
324
+ /**
325
+ * Id of the FileChangeSet this flowed file-edit contributed to
326
+ * (`{execution_id}:{turn_seq}`), stamped by the runner at the turn-boundary
327
+ * capture. PRESENTATION/AUDIT-ONLY: clients use it to badge the row with the
328
+ * set's review state and to position the set's decision surface after the
329
+ * turn's last edit row. It is NEVER a correlation or enforcement key —
330
+ * decisions reference FileChangeSet.id / CapturedFileChange.id directly, and
331
+ * reconcile identity is digest-gated (see filereview.proto's identity rule).
332
+ *
333
+ * Empty for: non-file tools, denied edits (the deny-gate reconcile path owns
334
+ * those rows), rows from executions that predate this field, and turns whose
335
+ * edits netted no captured change (no CANDIDATE_CAPTURED event was authored,
336
+ * so there is no change set to reference).
337
+ *
338
+ * Field 26: appended after approval_content_digest (25), the prior maximum.
339
+ *
340
+ * @generated from field: string file_change_set_id = 26;
341
+ */
342
+ fileChangeSetId: string;
271
343
  };
272
344
  /**
273
345
  * Describes the message ai.stigmer.agentic.agentexecution.v1.ToolCall.
@@ -294,16 +366,14 @@ export type ToolCallOutputRef = Message<"ai.stigmer.agentic.agentexecution.v1.To
294
366
  * Storage location of the full output bytes.
295
367
  * Format: "artifacts/{execution_id}/toolcalls/{tool_call_id}.{ext}"
296
368
  *
369
+ * Clients resolve the bytes/URL on demand from this stable key (via
370
+ * getArtifactContent or getArtifactDownloadUrl) — there is deliberately no
371
+ * persisted URL, since a pre-signed URL would expire while the reference does
372
+ * not.
373
+ *
297
374
  * @generated from field: string storage_key = 1;
298
375
  */
299
376
  storageKey: string;
300
- /**
301
- * URL for fetching the full output — pre-signed in the cloud, locally served
302
- * in dev. May be refreshed via the artifact download endpoint if expired.
303
- *
304
- * @generated from field: string download_url = 2;
305
- */
306
- downloadUrl: string;
307
377
  /**
308
378
  * Size in bytes of the full (original, pre-truncation) output.
309
379
  *
@@ -345,3 +415,145 @@ export type ToolCallOutputRef = Message<"ai.stigmer.agentic.agentexecution.v1.To
345
415
  * Use `create(ToolCallOutputRefSchema)` to create a new message.
346
416
  */
347
417
  export declare const ToolCallOutputRefSchema: GenMessage<ToolCallOutputRef>;
418
+ /**
419
+ * A single file mutation produced by a tool call.
420
+ *
421
+ * Large before/after bodies are offloaded to artifact storage via the existing
422
+ * ToolCallOutputRef envelope; small bodies stay inline. capture_level tells
423
+ * clients how complete the content is so they render whole-file vs hunk-only
424
+ * diffs honestly per harness.
425
+ *
426
+ * @since First-Class Diff Review (#186)
427
+ *
428
+ * @generated from message ai.stigmer.agentic.agentexecution.v1.FileChange
429
+ */
430
+ export type FileChange = Message<"ai.stigmer.agentic.agentexecution.v1.FileChange"> & {
431
+ /**
432
+ * Workspace-root-relative path for display, e.g. "src/app/main.ts".
433
+ * Falls back to absolute_path when the workspace root is unknown.
434
+ *
435
+ * @generated from field: string path = 1;
436
+ */
437
+ path: string;
438
+ /**
439
+ * Absolute on-disk path, retained for "open in editor" and diagnostics.
440
+ *
441
+ * @generated from field: string absolute_path = 2;
442
+ */
443
+ absolutePath: string;
444
+ /**
445
+ * The per-file outcome of this change.
446
+ *
447
+ * Distinct from ToolCall.tool_kind, which classifies the tool: one tool call
448
+ * may yield several FileChanges of different types (multi-file edits), and a
449
+ * FILE_WRITE tool yields CREATE for a new file or MODIFY when it overwrites
450
+ * an existing one.
451
+ *
452
+ * @generated from field: ai.stigmer.agentic.agentexecution.v1.FileChangeType change_type = 3;
453
+ */
454
+ changeType: FileChangeType;
455
+ /**
456
+ * How complete the captured content is.
457
+ *
458
+ * WHOLE_FILE: before/after carry full content. HUNK_ONLY: only unified_diff
459
+ * is available (Cursor today).
460
+ *
461
+ * @generated from field: ai.stigmer.agentic.agentexecution.v1.FileChangeCaptureLevel capture_level = 4;
462
+ */
463
+ captureLevel: FileChangeCaptureLevel;
464
+ /**
465
+ * Pre-edit content. Empty for CREATE, or when capture_level is HUNK_ONLY.
466
+ *
467
+ * @generated from field: ai.stigmer.agentic.agentexecution.v1.FileContent before = 5;
468
+ */
469
+ before?: FileContent;
470
+ /**
471
+ * Post-edit content. Empty for DELETE, or when capture_level is HUNK_ONLY.
472
+ *
473
+ * @generated from field: ai.stigmer.agentic.agentexecution.v1.FileContent after = 6;
474
+ */
475
+ after?: FileContent;
476
+ /**
477
+ * Unified hunk-level diff. The primary payload for HUNK_ONLY captures
478
+ * (Cursor's diffString); small and always safe to render even when
479
+ * before/after are absent. Derivable from before/after for WHOLE_FILE.
480
+ *
481
+ * @generated from field: string unified_diff = 7;
482
+ */
483
+ unifiedDiff: string;
484
+ /**
485
+ * Lines added by this change.
486
+ *
487
+ * @generated from field: int32 lines_added = 8;
488
+ */
489
+ linesAdded: number;
490
+ /**
491
+ * Lines removed by this change.
492
+ *
493
+ * @generated from field: int32 lines_removed = 9;
494
+ */
495
+ linesRemoved: number;
496
+ /**
497
+ * Source path for RENAME; path holds the destination. Empty otherwise.
498
+ *
499
+ * @generated from field: string rename_from = 10;
500
+ */
501
+ renameFrom: string;
502
+ };
503
+ /**
504
+ * Describes the message ai.stigmer.agentic.agentexecution.v1.FileChange.
505
+ * Use `create(FileChangeSchema)` to create a new message.
506
+ */
507
+ export declare const FileChangeSchema: GenMessage<FileChange>;
508
+ /**
509
+ * One side (before or after) of a file's content.
510
+ *
511
+ * Small bodies are carried inline; large bodies are offloaded to artifact
512
+ * storage and referenced via the existing tool-output offload envelope. Exactly
513
+ * one of inline or ref is set; when offloaded, the head preview lives in
514
+ * ref.truncated_preview and the full size in ref.size_bytes.
515
+ *
516
+ * @since First-Class Diff Review (#186)
517
+ *
518
+ * @generated from message ai.stigmer.agentic.agentexecution.v1.FileContent
519
+ */
520
+ export type FileContent = Message<"ai.stigmer.agentic.agentexecution.v1.FileContent"> & {
521
+ /**
522
+ * The body of this side — inline when small, an offload pointer when large.
523
+ *
524
+ * @generated from oneof ai.stigmer.agentic.agentexecution.v1.FileContent.body
525
+ */
526
+ body: {
527
+ /**
528
+ * Full UTF-8 content, inline. Set only when under the inline cap.
529
+ *
530
+ * @generated from field: string inline = 1;
531
+ */
532
+ value: string;
533
+ case: "inline";
534
+ } | {
535
+ /**
536
+ * Offload pointer for large content; reuses the tool-output offload
537
+ * envelope (storage_key, size_bytes, content_hash, truncated_preview).
538
+ *
539
+ * @generated from field: ai.stigmer.agentic.agentexecution.v1.ToolCallOutputRef ref = 2;
540
+ */
541
+ value: ToolCallOutputRef;
542
+ case: "ref";
543
+ } | {
544
+ case: undefined;
545
+ value?: undefined;
546
+ };
547
+ /**
548
+ * True when this side is binary; clients skip text diffing and render
549
+ * "binary file changed" instead.
550
+ *
551
+ * @generated from field: bool is_binary = 3;
552
+ */
553
+ isBinary: boolean;
554
+ };
555
+ /**
556
+ * Describes the message ai.stigmer.agentic.agentexecution.v1.FileContent.
557
+ * Use `create(FileContentSchema)` to create a new message.
558
+ */
559
+ export declare const FileContentSchema: GenMessage<FileContent>;
@@ -8,7 +8,7 @@ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
8
8
  /**
9
9
  * Describes the file ai/stigmer/agentic/agentexecution/v1/message.proto.
10
10
  */
11
- export const file_ai_stigmer_agentic_agentexecution_v1_message = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvbWVzc2FnZS5wcm90bxIkYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxIoICCgxBZ2VudE1lc3NhZ2USSQoEdHlwZRgBIAEoDjIxLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2V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ABKAkSQQoJdG9vbF9raW5kGBQgASgOMi4uYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxLlRvb2xLaW5kEksKCm91dHB1dF9yZWYYFSABKAsyNy5haS5zdGlnbWVyLmFnZW50aWMuYWdlbnRleGVjdXRpb24udjEuVG9vbENhbGxPdXRwdXRSZWYiqAEKEVRvb2xDYWxsT3V0cHV0UmVmEhMKC3N0b3JhZ2Vfa2V5GAEgASgJEhQKDGRvd25sb2FkX3VybBgCIAEoCRISCgpzaXplX2J5dGVzGAMgASgDEhQKDGNvbnRlbnRfaGFzaBgEIAEoCRIRCgltaW1lX3R5cGUYBSABKAkSEAoIaXNfaW1hZ2UYBiABKAgSGQoRdHJ1bmNhdGVkX3ByZXZpZXcYByABKAliBnByb3RvMw", [file_ai_stigmer_agentic_agentexecution_v1_enum, file_buf_validate_validate, file_google_protobuf_struct]);
11
+ export const file_ai_stigmer_agentic_agentexecution_v1_message = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnRleGVjdXRpb24vdjEvbWVzc2FnZS5wcm90bxIkYWkuc3RpZ21lci5hZ2VudGljLmFnZW50ZXhlY3V0aW9uLnYxIoICCgxBZ2VudE1lc3NhZ2USSQoEdHlwZRgBIAEoDjIxLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5NZXNzYWdlVHlwZUIIukgFggECEAESDwoHY29udGVudBgCIAEoCRIRCgl0aW1lc3RhbXAYAyABKAkSQgoKdG9vbF9jYWxscxgEIAMoCzIuLmFpLnN0aWdtZXIuYWdlbnRpYy5hZ2VudGV4ZWN1dGlvbi52MS5Ub29sQ2FsbBIpCghtZXRhZGF0YRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3QSFAoMaXNfc3RyZWFtaW5nGAYgASgIIqUHCghUb29sQ2FsbBIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEiUKBGF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YXJ5GAMgASgIQgYKBGJvZHliBnByb3RvMw", [file_ai_stigmer_agentic_agentexecution_v1_enum, file_buf_validate_validate, file_google_protobuf_struct]);
12
12
  /**
13
13
  * Describes the message ai.stigmer.agentic.agentexecution.v1.AgentMessage.
14
14
  * Use `create(AgentMessageSchema)` to create a new message.
@@ -24,4 +24,14 @@ export const ToolCallSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_
24
24
  * Use `create(ToolCallOutputRefSchema)` to create a new message.
25
25
  */
26
26
  export const ToolCallOutputRefSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_message, 2);
27
+ /**
28
+ * Describes the message ai.stigmer.agentic.agentexecution.v1.FileChange.
29
+ * Use `create(FileChangeSchema)` to create a new message.
30
+ */
31
+ export const FileChangeSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_message, 3);
32
+ /**
33
+ * Describes the message ai.stigmer.agentic.agentexecution.v1.FileContent.
34
+ * Use `create(FileContentSchema)` to create a new message.
35
+ */
36
+ export const FileContentSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_agentexecution_v1_message, 4);
27
37
  //# sourceMappingURL=message_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"message_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agentexecution/v1/message_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,8CAA8C,EAAE,MAAM,cAAc,CAAC;AAC9E,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,wqDAAwqD,EAAE,CAAC,8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CAAC,CAAC;AAiGpE;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC;AAgDpE;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
@@ -329,6 +329,23 @@ export type ToolApprovalPolicy = Message<"ai.stigmer.agentic.mcpserver.v1.ToolAp
329
329
  * @generated from field: string message = 2;
330
330
  */
331
331
  message: string;
332
+ /**
333
+ * True when the connect-time fail-closed tightener force-gated this tool
334
+ * because the server's own MCP annotation declared destructiveHint=true,
335
+ * rather than the classifier (or a human) gating it. Lets the runner attribute
336
+ * a tightened tool to its true provenance
337
+ * (ApprovalPolicySource.APPROVAL_POLICY_SOURCE_ANNOTATION_DESTRUCTIVE_TIGHTEN)
338
+ * instead of collapsing it into the classifier default. Carries no enforcement
339
+ * weight — gating is decided by presence in this list — so an absent/false
340
+ * value simply means "not attributed to the destructiveHint tightener".
341
+ *
342
+ * Set only on entries written to McpServerStatus.tool_approvals (the classifier
343
+ * layer). It is meaningless on McpServerSpec.pinned_tool_approvals (a human
344
+ * pin is, by definition, a pinned override) and left false there.
345
+ *
346
+ * @generated from field: bool from_destructive_hint = 3;
347
+ */
348
+ fromDestructiveHint: boolean;
332
349
  };
333
350
  /**
334
351
  * Describes the message ai.stigmer.agentic.mcpserver.v1.ToolApprovalPolicy.
@@ -9,7 +9,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
9
9
  /**
10
10
  * Describes the file ai/stigmer/agentic/mcpserver/v1/spec.proto.
11
11
  */
12
- export const file_ai_stigmer_agentic_mcpserver_v1_spec = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL3NwZWMucHJvdG8SH2FpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEi6QQKD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GVhZGVyc0VudHJ5ElgKDHF1ZXJ5X3BhcmFtcxgDIAMoCzJCLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuSHR0cFNlcnZlckNvbmZpZy5RdWVyeVBhcmFtc0VudHJ5EiMKD3RpbWVvdXRfc2Vjb25kcxgEIAEoBUIKukgHGgUYrAIoABouCgxIZWFkZXJzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARoyChBRdWVyeVBhcmFtc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEiQQoSVG9vbEFwcHJvdmFsUG9saWN5EhoKCXRvb2xfbmFtZRgBIAEoCUIHukgEcgIQARIPCgdtZXNzYWdlGAIgASgJIuACCg1NY3BTZXJ2ZXJBdXRoEswBCg1vYXV0aF9hcHBfcmVmGAEgASgLMjQuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlUmVmZXJlbmNlQn+6SHi6AXUKEm9hdXRoX2FwcF9yZWYua2luZBI7b2F1dGhfYXBwX3JlZiBtdXN0IHJlZmVyZW5jZSBhIHJlc291cmNlIHdpdGgga2luZD1vYXV0aF9hcHAaInRoaXMuc2x1ZyA9PSAnJyB8fCB0aGlzLmtpbmQgPT0gMjLghSwWEh8KDnRhcmdldF9lbnZfdmFyGAIgASgJQge6SARyAhABEhsKE3Rva2VuX2xpZmV0aW1lX2hpbnQYAyABKAkSEwoLc2NvcGVfaGludHMYBCADKAkSFQoNZGlzY292ZXJ5X3VybBgHIAEoCUoECAUQBkoECAYQB0oECAgQCUoECAkQCmIGcHJvdG8z", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
12
+ export const file_ai_stigmer_agentic_mcpserver_v1_spec = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL3N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haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLkh0dHBTZXJ2ZXJDb25maWcuSGVhZGVyc0VudHJ5ElgKDHF1ZXJ5X3BhcmFtcxgDIAMoCzJCLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuSHR0cFNlcnZlckNvbmZpZy5RdWVyeVBhcmFtc0VudHJ5EiMKD3RpbWVvdXRfc2Vjb25kcxgEIAEoBUIKukgHGgUYrAIoABouCgxIZWFkZXJzRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ARoyChBRdWVyeVBhcmFtc0VudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAEiYAoSVG9vbEFwcHJvdmFsUG9saWN5EhoKCXRvb2xfbmFtZRgBIAEoCUIHukgEcgIQARIPCgdtZXNzYWdlGAIgASgJEh0KFWZyb21fZGVzdHJ1Y3RpdmVfaGludBgDIAEoCCLgAgoNTWNwU2VydmVyQXV0aBLMAQoNb2F1dGhfYXBwX3JlZhgBIAEoCzI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZUJ/ukh4ugF1ChJvYXV0aF9hcHBfcmVmLmtpbmQSO29hdXRoX2FwcF9yZWYgbXVzdCByZWZlcmVuY2UgYSByZXNvdXJjZSB3aXRoIGtpbmQ9b2F1dGhfYXBwGiJ0aGlzLnNsdWcgPT0gJycgfHwgdGhpcy5raW5kID09IDIy4IUsFhIfCg50YXJnZXRfZW52X3ZhchgCIAEoCUIHukgEcgIQARIbChN0b2tlbl9saWZldGltZV9oaW50GAMgASgJEhMKC3Njb3BlX2hpbnRzGAQgAygJEhUKDWRpc2NvdmVyeV91cmwYByABKAlKBAgFEAZKBAgGEAdKBAgIEAlKBAgJEApiBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
13
13
  /**
14
14
  * Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerSpec.
15
15
  * Use `create(McpServerSpecSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,iCAAiC,CAAC;AAC9F,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,siEAAsiE,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgJztE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA+D5D;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAqE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAmD5D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAwG5D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,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orkflowExecutionStatus = Message<"ai.stigmer.agentic.workflowexecut
407
407
  * @generated from field: string workflow_version_hash = 13;
408
408
  */
409
409
  workflowVersionHash: string;
410
+ /**
411
+ * Pending file reviews from child agent executions, surfaced for
412
+ * workflow-level visibility and in-place keep/discard decisioning.
413
+ *
414
+ * @internal
415
+ * A reference-only sibling of pending_approvals (field 9): each entry names a
416
+ * child agent execution and the change_set ids it currently has
417
+ * AWAITING_REVIEW. The heavy content (diffs, blobs) is NOT copied here — it
418
+ * stays single-sourced on the child's
419
+ * AgentExecution.status.file_change_sets and is read on demand by the UI.
420
+ *
421
+ * Guarded, per-child merge protocol:
422
+ * Modified only when WorkflowExecutionUpdateStatusInput.update_pending_file_reviews
423
+ * is true, scoped by pending_update_child_agent_execution_id. The write
424
+ * replaces the entry for that one child and preserves every sibling child's
425
+ * entry, so parallel child agents never clobber each other. A scoped write with
426
+ * an empty change_set list removes that child's entry. Only call-agent-status
427
+ * manages this field.
428
+ *
429
+ * @since Workflow-Parent File Review
430
+ *
431
+ * @generated from field: repeated ai.stigmer.agentic.workflowexecution.v1.WorkflowPendingFileReview pending_file_reviews = 14;
432
+ */
433
+ pendingFileReviews: WorkflowPendingFileReview[];
410
434
  };
411
435
  /**
412
436
  * Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionStatus.
@@ -449,6 +473,51 @@ export type WorkflowPendingApproval = Message<"ai.stigmer.agentic.workflowexecut
449
473
  * Use `create(WorkflowPendingApprovalSchema)` to create a new message.
450
474
  */
451
475
  export declare const WorkflowPendingApprovalSchema: GenMessage<WorkflowPendingApproval>;
476
+ /**
477
+ * WorkflowPendingFileReview references a child agent execution's file-review
478
+ * gate for workflow-level surfacing. Reference-only — never a copy of the diff.
479
+ *
480
+ * @internal
481
+ * FileChangeSet is an agentexecution domain concept owned by the child
482
+ * AgentExecution. WorkflowPendingFileReview adds only the workflow-level
483
+ * concern: which child holds a file-review gate, and which of its change sets
484
+ * are awaiting a decision. The UI reads the child's file_change_sets to render
485
+ * the diff; WorkflowExecution.submitFileDecision forwards the verdict to the
486
+ * child. This mirrors how WorkflowPendingApproval references a child's tool
487
+ * approval without embedding the tool call.
488
+ *
489
+ * @generated from message ai.stigmer.agentic.workflowexecution.v1.WorkflowPendingFileReview
490
+ */
491
+ export type WorkflowPendingFileReview = Message<"ai.stigmer.agentic.workflowexecution.v1.WorkflowPendingFileReview"> & {
492
+ /**
493
+ * ID of the child agent execution that holds the file-review gate.
494
+ *
495
+ * @internal
496
+ * WorkflowExecution.submitFileDecision uses this to route the decision to the
497
+ * correct AgentExecution.submitFileDecision RPC.
498
+ * Format: AgentExecution.metadata.id (e.g., "aex_abc123xyz456")
499
+ *
500
+ * @generated from field: string child_agent_execution_id = 1;
501
+ */
502
+ childAgentExecutionId: string;
503
+ /**
504
+ * IDs of the child's change sets currently AWAITING_REVIEW.
505
+ *
506
+ * @internal
507
+ * Each matches a FileChangeSet.id on the child's
508
+ * AgentExecution.status.file_change_sets. Empty means the child has no
509
+ * outstanding review (used transiently to clear this child's entry under the
510
+ * per-child merge protocol).
511
+ *
512
+ * @generated from field: repeated string change_set_id = 2;
513
+ */
514
+ changeSetId: string[];
515
+ };
516
+ /**
517
+ * Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowPendingFileReview.
518
+ * Use `create(WorkflowPendingFileReviewSchema)` to create a new message.
519
+ */
520
+ export declare const WorkflowPendingFileReviewSchema: GenMessage<WorkflowPendingFileReview>;
452
521
  /**
453
522
  * WorkflowTask represents a single task within a workflow execution.
454
523
  *
@@ -12,7 +12,7 @@ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
12
12
  /**
13
13
  * Describes the file ai/stigmer/agentic/workflowexecution/v1/api.proto.
14
14
  */
15
- export const file_ai_stigmer_agentic_workflowexecution_v1_api = /*@__PURE__*/ fileDesc("CjFhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dleGVjdXRpb24vdjEvYXBpLnByb3RvEidhaS5zdGlnbWVyLmFn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ic_agentexecution_v1_approval, file_ai_stigmer_agentic_workflowexecution_v1_enum, file_ai_stigmer_agentic_workflowexecution_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_struct]);
15
+ export const file_ai_stigmer_agentic_workflowexecution_v1_api = /*@__PURE__*/ fileDesc("CjFhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3dleGVjdXRpb24vdjEvYXBpLnByb3RvEidhaS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3dleGVjdXRpb24udjEi3QIKEVdvcmtmbG93RXhlY3V0aW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEiYKBGtpbmQYAiABKAlCGLpIFXITChFXb3JrZmxvd0V4ZWN1dGlvbhJNCghtZXRhZGF0YRgDIAEoCzIzLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZU1ldGFkYXRhQga6SAPIAQESTAoEc3BlYxgEIAEoCzI+LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2V4ZWN1dGlvbi52MS5Xb3JrZmxvd0V4ZWN1dGlvblNwZWMSUAoGc3RhdHVzGAUgASgLMkAuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93ZXhlY3V0aW9uLnYxLldvcmtmbG93RXhlY3V0aW9uU3RhdHVzIqQFChdXb3JrZmxvd0V4ZWN1dGlvblN0YXR1cxI/CgVhdWRpdBhjIAEoCzIwLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUF1ZGl0ElAKBXBoYXNlGAEgASgOMjcuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93ZXhlY3V0aW9uLnYxLkV4ZWN1dGlvblBoYXNlQgi6SAWCAQIQARJECgV0YXNrcxgCIAMoCzI1LmFpLnN0aWdtZXIuYWdlbnR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ldvcmtmbG93VGFza1R5cGVCCLpIBYIBAhABEiYKBWlucHV0GAQgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBInCgZvdXRwdXQYBSABKAsyFy5nb29nbGUucHJvdG9idWYuU3RydWN0ElUKBnN0YXR1cxgGIAEoDjI7LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvd2V4ZWN1dGlvbi52MS5Xb3JrZmxvd1Rhc2tTdGF0dXNCCLpIBYIBAhABEhIKCnN0YXJ0ZWRfYXQYByABKAkSFAoMY29tcGxldGVkX2F0GAggASgJEg0KBWVycm9yGAkgASgJEikKCG1ldGFkYXRhGAogASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdBIUCgxhcnRpZmFjdF9pZHMYCyADKAkSEwoLY29zdF9taWNyb3MYDCABKAMSFAoMaW5wdXRfdG9rZW5zGA0gASgDEhUKDW91dHB1dF90b2tlbnMYDiABKANiBnByb3RvMw", [file_ai_stigmer_agentic_agentexecution_v1_approval, file_ai_stigmer_agentic_workflowexecution_v1_enum, file_ai_stigmer_agentic_workflowexecution_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate, file_google_protobuf_struct]);
16
16
  /**
17
17
  * Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowExecution.
18
18
  * Use `create(WorkflowExecutionSchema)` to create a new message.
@@ -28,9 +28,14 @@ export const WorkflowExecutionStatusSchema = /*@__PURE__*/ messageDesc(file_ai_s
28
28
  * Use `create(WorkflowPendingApprovalSchema)` to create a new message.
29
29
  */
30
30
  export const WorkflowPendingApprovalSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowexecution_v1_api, 2);
31
+ /**
32
+ * Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowPendingFileReview.
33
+ * Use `create(WorkflowPendingFileReviewSchema)` to create a new message.
34
+ */
35
+ export const WorkflowPendingFileReviewSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowexecution_v1_api, 3);
31
36
  /**
32
37
  * Describes the message ai.stigmer.agentic.workflowexecution.v1.WorkflowTask.
33
38
  * Use `create(WorkflowTaskSchema)` to create a new message.
34
39
  */
35
- export const WorkflowTaskSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowexecution_v1_api, 3);
40
+ export const WorkflowTaskSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_workflowexecution_v1_api, 4);
36
41
  //# sourceMappingURL=api_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAYpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,kDAAkD,EAAE,MAAM,wCAAwC,CAAC;AAE5G,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,iDAAiD,EAAE,MAAM,cAAc,CAAC;AAEjF,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AACxF,OAAO,EAAE,2BAA2B,EAAE,MAAM,wBAAwB,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,gDAAgD,GAAY,aAAa,CACpF,QAAQ,CAAC,8qEAA8qE,EAAE,CAAC,kDAAkD,EAAE,iDAAiD,EAAE,iDAAiD,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,EAAE,2BAA2B,CAAC,CAAC,CAAC;AAqJ1+E;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,gDAAgD,EAAE,C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AAgD,EAAE,CAAC,CAAC,CAAC;AAoSnE;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC;AAmCnE;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC;AA4CnE;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC;AAkOnE;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,gDAAgD,EAAE,CAAC,CAAC,CAAC"}
@@ -337,6 +337,56 @@ export declare const WorkflowExecutionCommandController: {
337
337
  readonly O: any;
338
338
  readonly kind: any;
339
339
  };
340
+ /**
341
+ * Submit a keep/discard decision for a child agent's file review.
342
+ *
343
+ * Forwards the decision to the child AgentExecution whose file-review gate is
344
+ * surfaced on this workflow via status.pending_file_reviews. This is the
345
+ * file-review sibling of submitApproval: submitApproval forwards a tool-call
346
+ * approval, submitFileDecision forwards a FileChangeSet keep/discard.
347
+ *
348
+ * @internal
349
+ * The decision is forwarded to the child via AgentExecution.submitFileDecision
350
+ * (a same-thread in-process invoke), so the child's completeness/digest gates
351
+ * and caller attribution (reviewer_id) apply unchanged.
352
+ *
353
+ * Preconditions:
354
+ * - status.pending_file_reviews must contain an entry whose
355
+ * child_agent_execution_id and change_set_id match the input
356
+ * - User must have can_edit permission on the workflow execution
357
+ *
358
+ * State Transitions
359
+ *
360
+ * After a successful decision:
361
+ * - Decision is forwarded to the child AgentExecution
362
+ * - Child reconciles the approved bytes / discards and resumes
363
+ * - The child's change set leaves AWAITING_REVIEW, so call-agent-status clears
364
+ * the reference from WorkflowExecution.status.pending_file_reviews
365
+ *
366
+ * Error Cases
367
+ *
368
+ * - NOT_FOUND: Workflow execution doesn't exist
369
+ * - PERMISSION_DENIED: User doesn't have can_edit permission
370
+ * - FAILED_PRECONDITION: No matching pending file review for (child, change_set)
371
+ * - INVALID_ARGUMENT: Invalid scope/action, or the child handler rejects
372
+ * (e.g. digest mismatch, incomplete diff)
373
+ * - UNAVAILABLE: Failed to forward to child agent (transient error)
374
+ *
375
+ * Alternative: Direct Agent Decision
376
+ *
377
+ * Users can also submit the decision directly via AgentExecution.submitFileDecision
378
+ * using the child_agent_execution_id. Both paths are equivalent.
379
+ *
380
+ * @since Workflow-Parent File Review
381
+ *
382
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.submitFileDecision
383
+ */
384
+ readonly submitFileDecision: {
385
+ readonly name: "submitFileDecision";
386
+ readonly I: any;
387
+ readonly O: any;
388
+ readonly kind: any;
389
+ };
340
390
  /**
341
391
  * Submit a human reviewer's decision for a workflow-level human_input task.
342
392
  *
@@ -4,7 +4,7 @@
4
4
  // @ts-nocheck
5
5
  import { WorkflowExecution } from "./api_pbjs";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
- import { CancelWorkflowExecutionInput, PauseWorkflowExecutionInput, RecoverWorkflowExecutionInput, ResumeWorkflowExecutionInput, SendSignalInput, SubmitWorkflowApprovalInput, SubmitWorkflowTaskApprovalInput, TerminateWorkflowExecutionInput, WorkflowExecutionUpdateStatusInput } from "./io_pbjs";
7
+ import { CancelWorkflowExecutionInput, PauseWorkflowExecutionInput, RecoverWorkflowExecutionInput, ResumeWorkflowExecutionInput, SendSignalInput, SubmitWorkflowApprovalInput, SubmitWorkflowFileDecisionInput, SubmitWorkflowTaskApprovalInput, TerminateWorkflowExecutionInput, WorkflowExecutionUpdateStatusInput } from "./io_pbjs";
8
8
  import { ApiResourceId } from "../../../commons/apiresource/io_pbjs";
9
9
  /**
10
10
  * WorkflowExecutionCommandController handles write operations (Create, Update, Delete) for WorkflowExecution resources.
@@ -345,6 +345,56 @@ export const WorkflowExecutionCommandController = {
345
345
  O: WorkflowExecution,
346
346
  kind: MethodKind.Unary,
347
347
  },
348
+ /**
349
+ * Submit a keep/discard decision for a child agent's file review.
350
+ *
351
+ * Forwards the decision to the child AgentExecution whose file-review gate is
352
+ * surfaced on this workflow via status.pending_file_reviews. This is the
353
+ * file-review sibling of submitApproval: submitApproval forwards a tool-call
354
+ * approval, submitFileDecision forwards a FileChangeSet keep/discard.
355
+ *
356
+ * @internal
357
+ * The decision is forwarded to the child via AgentExecution.submitFileDecision
358
+ * (a same-thread in-process invoke), so the child's completeness/digest gates
359
+ * and caller attribution (reviewer_id) apply unchanged.
360
+ *
361
+ * Preconditions:
362
+ * - status.pending_file_reviews must contain an entry whose
363
+ * child_agent_execution_id and change_set_id match the input
364
+ * - User must have can_edit permission on the workflow execution
365
+ *
366
+ * State Transitions
367
+ *
368
+ * After a successful decision:
369
+ * - Decision is forwarded to the child AgentExecution
370
+ * - Child reconciles the approved bytes / discards and resumes
371
+ * - The child's change set leaves AWAITING_REVIEW, so call-agent-status clears
372
+ * the reference from WorkflowExecution.status.pending_file_reviews
373
+ *
374
+ * Error Cases
375
+ *
376
+ * - NOT_FOUND: Workflow execution doesn't exist
377
+ * - PERMISSION_DENIED: User doesn't have can_edit permission
378
+ * - FAILED_PRECONDITION: No matching pending file review for (child, change_set)
379
+ * - INVALID_ARGUMENT: Invalid scope/action, or the child handler rejects
380
+ * (e.g. digest mismatch, incomplete diff)
381
+ * - UNAVAILABLE: Failed to forward to child agent (transient error)
382
+ *
383
+ * Alternative: Direct Agent Decision
384
+ *
385
+ * Users can also submit the decision directly via AgentExecution.submitFileDecision
386
+ * using the child_agent_execution_id. Both paths are equivalent.
387
+ *
388
+ * @since Workflow-Parent File Review
389
+ *
390
+ * @generated from rpc ai.stigmer.agentic.workflowexecution.v1.WorkflowExecutionCommandController.submitFileDecision
391
+ */
392
+ submitFileDecision: {
393
+ name: "submitFileDecision",
394
+ I: SubmitWorkflowFileDecisionInput,
395
+ O: WorkflowExecution,
396
+ kind: MethodKind.Unary,
397
+ },
348
398
  /**
349
399
  * Submit a human reviewer's decision for a workflow-level human_input task.
350
400
  *
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8IAA8I;AAC9I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,4BAA4B,EAAE,2BAA2B,EAAE,6BAA6B,EAAE,4BAA4B,EAAE,eAAe,EAAE,2BAA2B,EAAE,+BAA+B,EAAE,+BAA+B,EAAE,kCAAkC,EAAE,MAAM,WAAW,CAAC;AACvS,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AAErE;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,kCAAkC,GAAG;IAChD,QAAQ,EAAE,4EAA4E;IACtF,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAyHG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,iBAAiB;YACpB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,iBAAiB;YACpB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAwEG;QACH,SAAS,EAAE;YACT,IAAI,EAAE,WAAW;YACjB,CAAC,EAAE,+BAA+B;YAClC,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsGG;QACH,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,CAAC,EAAE,6BAA6B;YAChC,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAqFG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAwEG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,4BAA4B;YAC/B,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflowexecution/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8IAA8I;AAC9I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,4BA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