@stigmer/protos 1.0.3 → 2.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.
Files changed (135) hide show
  1. package/ai/stigmer/activity/v1/io_pb.d.ts +109 -0
  2. package/ai/stigmer/activity/v1/io_pb.js +25 -0
  3. package/ai/stigmer/activity/v1/io_pb.js.map +1 -0
  4. package/ai/stigmer/activity/v1/query_connect.d.ts +39 -0
  5. package/ai/stigmer/activity/v1/query_connect.js +46 -0
  6. package/ai/stigmer/activity/v1/query_connect.js.map +1 -0
  7. package/ai/stigmer/activity/v1/query_pb.d.ts +41 -0
  8. package/ai/stigmer/activity/v1/query_pb.js +28 -0
  9. package/ai/stigmer/activity/v1/query_pb.js.map +1 -0
  10. package/ai/stigmer/agentic/agent/v1/version_pb.d.ts +214 -0
  11. package/ai/stigmer/agentic/agent/v1/version_pb.js +43 -0
  12. package/ai/stigmer/agentic/agent/v1/version_pb.js.map +1 -0
  13. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +20 -15
  14. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +14 -0
  17. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
  18. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +50 -9
  20. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +2 -1
  21. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +26 -7
  23. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +4 -4
  24. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  25. package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +27 -0
  26. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +28 -0
  27. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
  28. package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +27 -0
  29. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +2 -1
  30. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
  31. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.d.ts +3 -1
  32. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js +1 -1
  33. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js.map +1 -1
  34. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +50 -0
  35. package/ai/stigmer/agentic/session/v1/enum_pb.js +53 -2
  36. package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
  37. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +37 -35
  38. package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
  39. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  40. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +44 -0
  41. package/ai/stigmer/agentic/workflow/v1/command_connect.js +46 -0
  42. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  43. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +44 -0
  44. package/ai/stigmer/agentic/workflow/v1/command_pb.js +3 -1
  45. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  46. package/ai/stigmer/agentic/workflow/v1/query_connect.d.ts +46 -2
  47. package/ai/stigmer/agentic/workflow/v1/query_connect.js +47 -2
  48. package/ai/stigmer/agentic/workflow/v1/query_connect.js.map +1 -1
  49. package/ai/stigmer/agentic/workflow/v1/query_pb.d.ts +45 -2
  50. package/ai/stigmer/agentic/workflow/v1/query_pb.js +2 -1
  51. package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
  52. package/ai/stigmer/agentic/workflow/v1/status_pb.d.ts +22 -0
  53. package/ai/stigmer/agentic/workflow/v1/status_pb.js +1 -1
  54. package/ai/stigmer/agentic/workflow/v1/status_pb.js.map +1 -1
  55. package/ai/stigmer/agentic/workflow/v1/version_pb.d.ts +281 -0
  56. package/ai/stigmer/agentic/workflow/v1/version_pb.js +42 -0
  57. package/ai/stigmer/agentic/workflow/v1/version_pb.js.map +1 -0
  58. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +32 -4
  59. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +1 -1
  60. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +44 -25
  62. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +44 -25
  63. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
  64. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +44 -25
  65. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  66. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.d.ts +2 -0
  67. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js +2 -0
  68. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js.map +1 -1
  69. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +83 -5
  70. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js +13 -8
  71. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js.map +1 -1
  72. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +234 -4
  73. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +61 -10
  74. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  75. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +21 -0
  76. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js +2 -1
  77. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
  78. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +28 -0
  79. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +29 -0
  80. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js.map +1 -1
  81. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +28 -0
  82. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -1
  83. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
  84. package/ai/stigmer/billing/v1/enum_pb.d.ts +35 -0
  85. package/ai/stigmer/billing/v1/enum_pb.js +43 -7
  86. package/ai/stigmer/billing/v1/enum_pb.js.map +1 -1
  87. package/ai/stigmer/billing/v1/io_pb.d.ts +13 -1
  88. package/ai/stigmer/billing/v1/io_pb.js +1 -1
  89. package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
  90. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +0 -6
  91. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -7
  92. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  93. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +21 -3
  94. package/ai/stigmer/commons/apiresource/enum_pb.js +21 -3
  95. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  96. package/ai/stigmer/commons/apiresource/io_pb.d.ts +17 -6
  97. package/ai/stigmer/commons/apiresource/io_pb.js +1 -1
  98. package/ai/stigmer/commons/apiresource/io_pb.js.map +1 -1
  99. package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +24 -0
  100. package/ai/stigmer/commons/apiresource/metadata_pb.js +1 -1
  101. package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
  102. package/ai/stigmer/iam/invitation/v1/query_connect.d.ts +2 -2
  103. package/ai/stigmer/iam/invitation/v1/query_connect.js +2 -2
  104. package/ai/stigmer/iam/invitation/v1/query_pb.d.ts +2 -2
  105. package/ai/stigmer/iam/invitation/v1/query_pb.js +1 -1
  106. package/ai/stigmer/tenancy/organization/v1/api_pb.js +1 -1
  107. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
  108. package/buf/validate/validate_pb.d.ts +217 -156
  109. package/buf/validate/validate_pb.js +3 -3
  110. package/buf/validate/validate_pb.js.map +1 -1
  111. package/package.json +3 -2
  112. package/ai/stigmer/agentic/runner/v1/api_pb.d.ts +0 -247
  113. package/ai/stigmer/agentic/runner/v1/api_pb.js +0 -30
  114. package/ai/stigmer/agentic/runner/v1/api_pb.js.map +0 -1
  115. package/ai/stigmer/agentic/runner/v1/command_connect.d.ts +0 -198
  116. package/ai/stigmer/agentic/runner/v1/command_connect.js +0 -206
  117. package/ai/stigmer/agentic/runner/v1/command_connect.js.map +0 -1
  118. package/ai/stigmer/agentic/runner/v1/command_pb.d.ts +0 -193
  119. package/ai/stigmer/agentic/runner/v1/command_pb.js +0 -34
  120. package/ai/stigmer/agentic/runner/v1/command_pb.js.map +0 -1
  121. package/ai/stigmer/agentic/runner/v1/enum_pb.d.ts +0 -83
  122. package/ai/stigmer/agentic/runner/v1/enum_pb.js +0 -88
  123. package/ai/stigmer/agentic/runner/v1/enum_pb.js.map +0 -1
  124. package/ai/stigmer/agentic/runner/v1/io_pb.d.ts +0 -640
  125. package/ai/stigmer/agentic/runner/v1/io_pb.js +0 -114
  126. package/ai/stigmer/agentic/runner/v1/io_pb.js.map +0 -1
  127. package/ai/stigmer/agentic/runner/v1/query_connect.d.ts +0 -64
  128. package/ai/stigmer/agentic/runner/v1/query_connect.js +0 -73
  129. package/ai/stigmer/agentic/runner/v1/query_connect.js.map +0 -1
  130. package/ai/stigmer/agentic/runner/v1/query_pb.d.ts +0 -66
  131. package/ai/stigmer/agentic/runner/v1/query_pb.js +0 -24
  132. package/ai/stigmer/agentic/runner/v1/query_pb.js.map +0 -1
  133. package/ai/stigmer/agentic/runner/v1/spec_pb.d.ts +0 -36
  134. package/ai/stigmer/agentic/runner/v1/spec_pb.js +0 -14
  135. package/ai/stigmer/agentic/runner/v1/spec_pb.js.map +0 -1
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  /**
6
6
  * Describes the file ai/stigmer/agentic/session/v1/enum.proto.
7
7
  */
8
- export const file_ai_stigmer_agentic_session_v1_enum = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9lbnVtLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSpZChBHaXRXcml0ZUJhY2tNb2RlEiMKH0dJVF9XUklURV9CQUNLX01PREVfVU5TUEVDSUZJRUQQABIgChxHSVRfV1JJVEVfQkFDS19CUkFOQ0hfQU5EX1BSEAEqSgoHSGFybmVzcxIXChNIQVJORVNTX1VOU1BFQ0lGSUVEEAASEgoOSEFSTkVTU19OQVRJVkUQARISCg5IQVJORVNTX0NVUlNPUhACKlcKCkN1cnNvck1vZGUSGwoXQ1VSU09SX01PREVfVU5TUEVDSUZJRUQQABIVChFDVVJTT1JfTU9ERV9MT0NBTBABEhUKEUNVUlNPUl9NT0RFX0NMT1VEEAJiBnByb3RvMw");
8
+ export const file_ai_stigmer_agentic_session_v1_enum = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9lbnVtLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSpZChBHaXRXcml0ZUJhY2tNb2RlEiMKH0dJVF9XUklURV9CQUNLX01PREVfVU5TUEVDSUZJRUQQABIgChxHSVRfV1JJVEVfQkFDS19CUkFOQ0hfQU5EX1BSEAEqSgoHSGFybmVzcxIXChNIQVJORVNTX1VOU1BFQ0lGSUVEEAASEgoOSEFSTkVTU19OQVRJVkUQARISCg5IQVJORVNTX0NVUlNPUhACKmsKD0V4ZWN1dGlvblRhcmdldBIgChxFWEVDVVRJT05fVEFSR0VUX1VOU1BFQ0lGSUVEEAASGgoWRVhFQ1VUSU9OX1RBUkdFVF9MT0NBTBABEhoKFkVYRUNVVElPTl9UQVJHRVRfQ0xPVUQQAipXCgpDdXJzb3JNb2RlEhsKF0NVUlNPUl9NT0RFX1VOU1BFQ0lGSUVEEAASFQoRQ1VSU09SX01PREVfTE9DQUwQARIVChFDVVJTT1JfTU9ERV9DTE9VRBACYgZwcm90bzM");
9
9
  /**
10
10
  * GitWriteBackMode controls the platform's git workflow for a git-backed workspace entry.
11
11
  *
@@ -92,6 +92,57 @@ export var Harness;
92
92
  * Describes the enum ai.stigmer.agentic.session.v1.Harness.
93
93
  */
94
94
  export const HarnessSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_session_v1_enum, 1);
95
+ /**
96
+ * ExecutionTarget specifies where session activities are executed.
97
+ *
98
+ * Determines whether the runner that processes agent activities lives on the
99
+ * client's machine (desktop app or CLI) or in a cloud-provisioned sandbox.
100
+ * Set at session creation time and immutable once an execution has run —
101
+ * workspace state may not be portable between local and cloud environments.
102
+ *
103
+ * @internal
104
+ * The control plane uses this field in dispatch to decide whether to route
105
+ * activities to a client-polled per-session queue (LOCAL) or provision a
106
+ * cloud sandbox (CLOUD). Both use task queues named "session:{session_id}".
107
+ * The difference is who provides the runner: the client (LOCAL) or the
108
+ * server (CLOUD).
109
+ *
110
+ * @generated from enum ai.stigmer.agentic.session.v1.ExecutionTarget
111
+ */
112
+ export var ExecutionTarget;
113
+ (function (ExecutionTarget) {
114
+ /**
115
+ * Platform default — server decides based on deployment context.
116
+ *
117
+ * @internal
118
+ * Resolves to LOCAL for OSS/self-hosted, CLOUD for managed cloud service.
119
+ *
120
+ * @generated from enum value: EXECUTION_TARGET_UNSPECIFIED = 0;
121
+ */
122
+ ExecutionTarget[ExecutionTarget["UNSPECIFIED"] = 0] = "UNSPECIFIED";
123
+ /**
124
+ * Client's embedded runner handles activities.
125
+ *
126
+ * Desktop app or CLI spawns a local runner process that polls the
127
+ * session's task queue. No server-side provisioning needed.
128
+ *
129
+ * @generated from enum value: EXECUTION_TARGET_LOCAL = 1;
130
+ */
131
+ ExecutionTarget[ExecutionTarget["LOCAL"] = 1] = "LOCAL";
132
+ /**
133
+ * Server provisions a cloud sandbox for execution.
134
+ *
135
+ * The control plane triggers EnsureSessionSandbox to create an isolated
136
+ * environment with a runner polling the session's task queue.
137
+ *
138
+ * @generated from enum value: EXECUTION_TARGET_CLOUD = 2;
139
+ */
140
+ ExecutionTarget[ExecutionTarget["CLOUD"] = 2] = "CLOUD";
141
+ })(ExecutionTarget || (ExecutionTarget = {}));
142
+ /**
143
+ * Describes the enum ai.stigmer.agentic.session.v1.ExecutionTarget.
144
+ */
145
+ export const ExecutionTargetSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_session_v1_enum, 2);
95
146
  /**
96
147
  * CursorMode selects the Cursor SDK agent type for sessions using
97
148
  * HARNESS_CURSOR.
@@ -150,5 +201,5 @@ export var CursorMode;
150
201
  /**
151
202
  * Describes the enum ai.stigmer.agentic.session.v1.CursorMode.
152
203
  */
153
- export const CursorModeSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_session_v1_enum, 2);
204
+ export const CursorModeSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_session_v1_enum, 3);
154
205
  //# sourceMappingURL=enum_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,ocAAoc,CAAC,CAAC;AAEjd;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,gBAyBX;AAzBD,WAAY,gBAAgB;IAC1B;;;;;;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AAV,UAAU,QAgCrB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAAwB,aAAa,CAChE,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { McpServerUsage } from "../../agent/v1/spec_pb.js";
3
- import type { CursorMode, Harness } from "./enum_pb.js";
3
+ import type { CursorMode, ExecutionTarget, Harness } from "./enum_pb.js";
4
4
  import type { WorkspaceEntry } from "./workspace_pb.js";
5
5
  import type { ApiResourceReference } from "../../../commons/apiresource/io_pb.js";
6
6
  import type { Message } from "@bufbuild/protobuf";
@@ -36,24 +36,27 @@ export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> &
36
36
  */
37
37
  subject: string;
38
38
  /**
39
- * Thread ID that carries the conversation history across executions.
39
+ * Harness-specific state identifier for conversation continuity.
40
40
  *
41
- * @internal
42
- * Generated on first execution, persists across all executions.
41
+ * Populated after the first execution completes; empty until then.
42
+ * Each harness uses this field differently:
43
43
  *
44
- * @generated from field: string thread_id = 3;
45
- */
46
- threadId: string;
47
- /**
48
- * Deprecated: sandbox lifecycle is now managed at the Runner level via
49
- * the stigmer.ai/sandbox-id metadata label on the Runner resource.
50
- * Existing sessions may still have this field populated; new sessions
51
- * should not set it.
44
+ * - NATIVE: LangGraph thread ID, derived deterministically as
45
+ * "thread-{session_id}" by the EnsureThread activity. Stored here
46
+ * so the immutability sentinel works uniformly across harnesses.
47
+ *
48
+ * - CURSOR: Cursor SDK agent ID (e.g., "agent-xxx" or "bc-xxx")
49
+ * returned by Agent.create(). Used for Agent.resume() on
50
+ * subsequent executions.
51
+ *
52
+ * @internal
53
+ * Also serves as the immutability sentinel: when non-empty, the
54
+ * session's harness and cursor_mode cannot be changed — each harness
55
+ * owns its conversation state independently.
52
56
  *
53
- * @generated from field: string sandbox_id = 4 [deprecated = true];
54
- * @deprecated
57
+ * @generated from field: string harness_state_id = 3;
55
58
  */
56
- sandboxId: string;
59
+ harnessStateId: string;
57
60
  /**
58
61
  * Custom key-value pairs for client-specific information.
59
62
  *
@@ -91,25 +94,6 @@ export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> &
91
94
  * @generated from field: repeated ai.stigmer.agentic.agent.v1.McpServerUsage mcp_server_usages = 7;
92
95
  */
93
96
  mcpServerUsages: McpServerUsage[];
94
- /**
95
- * Runner that executes work for this session.
96
- *
97
- * When set, all executions in this session route to this runner's task queue.
98
- * When empty, the platform auto-creates an ephemeral cloud runner on first
99
- * execution and sets this field.
100
- *
101
- * For persistent runners (user-created via CLI/desktop), this is set by the
102
- * session composer when the user picks their runner. For cloud executions,
103
- * this is set automatically by the system.
104
- *
105
- * @internal
106
- * The execution workflow reads this field to resolve the Temporal task queue
107
- * for scheduling activities. When empty, the workflow calls the
108
- * RunnerLauncher to spawn an ephemeral runner and populates this field.
109
- *
110
- * @generated from field: string runner_id = 9;
111
- */
112
- runnerId: string;
113
97
  /**
114
98
  * Skills to inject into this session's context.
115
99
  *
@@ -128,7 +112,7 @@ export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> &
128
112
  *
129
113
  * Determines which Temporal activity type is dispatched when an
130
114
  * AgentExecution is created in this session:
131
- * - NATIVE (default): ExecuteGraphton activity -> Stigmer native worker
115
+ * - NATIVE (default): ExecuteDeepAgent activity -> Stigmer unified runner
132
116
  * - CURSOR: ExecuteCursor activity -> TypeScript/Cursor SDK worker
133
117
  *
134
118
  * The harness affects which tools the agent has, how conversation state
@@ -163,6 +147,24 @@ export type SessionSpec = Message<"ai.stigmer.agentic.session.v1.SessionSpec"> &
163
147
  * @generated from field: ai.stigmer.agentic.session.v1.CursorMode cursor_mode = 11;
164
148
  */
165
149
  cursorMode: CursorMode;
150
+ /**
151
+ * Where session activities are executed — local client or cloud sandbox.
152
+ *
153
+ * Determines dispatch routing: LOCAL means the client's embedded runner
154
+ * (desktop app or CLI) polls the session's task queue; CLOUD means the
155
+ * server provisions a sandbox with a runner.
156
+ *
157
+ * Set by the client at session creation:
158
+ * - Desktop/CLI set LOCAL (they run an embedded runner)
159
+ * - Web console sets CLOUD (or UNSPECIFIED → server defaults to CLOUD)
160
+ * - Customer SDK sets whatever fits their architecture
161
+ *
162
+ * Immutable once an execution has run — workspace state may not be
163
+ * portable between local and cloud environments.
164
+ *
165
+ * @generated from field: ai.stigmer.agentic.session.v1.ExecutionTarget execution_target = 12;
166
+ */
167
+ executionTarget: ExecutionTarget;
166
168
  };
167
169
  /**
168
170
  * Describes the message ai.stigmer.agentic.session.v1.SessionSpec.
@@ -11,7 +11,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
11
11
  /**
12
12
  * Describes the file ai/stigmer/agentic/session/v1/spec.proto.
13
13
  */
14
- export const file_ai_stigmer_agentic_session_v1_spec = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9zcGVjLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSLOBgoLU2Vzc2lvblNwZWMSGQoRYWdlbnRfaW5zdGFuY2VfaWQYASABKAkSDwoHc3ViamVjdBgCIAEoCRIRCgl0aHJlYWRfaWQYAyABKAkSFgoKc2FuZGJveF9pZBgEIAEoCUICGAESSgoIbWV0YWRhdGEYBSADKAsyOC5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uU3BlYy5NZXRhZGF0YUVudHJ5EkgKEXdvcmtzcGFjZV9lbnRyaWVzGAYgAygLMi0uYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuV29ya3NwYWNlRW50cnkS2QEKEW1jcF9zZXJ2ZXJfdXNhZ2VzGAcgAygLMisuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLk1jcFNlcnZlclVzYWdlQpABukiMAZIBiAEihQG6AYEBCh5zZXNzaW9uX21jcF9zZXJ2ZXJfdXNhZ2VzLmtpbmQSP21jcF9zZXJ2ZXJfdXNhZ2VzIG11c3QgcmVmZXJlbmNlIHJlc291cmNlcyB3aXRoIGtpbmQ9bWNwX3NlcnZlchoedGhpcy5tY3Bfc2VydmVyX3JlZi5raW5kID09IDQ0EhEKCXJ1bm5lcl9pZBgJIAEoCRK4AQoKc2tpbGxfcmVmcxgIIAMoCzI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZUJuukhnkgFkImK6AV8KF3Nlc3Npb25fc2tpbGxfcmVmcy5raW5kEjNza2lsbF9yZWZzIG11c3QgcmVmZXJlbmNlIHJlc291cmNlcyB3aXRoIGtpbmQ9c2tpbGwaD3RoaXMua2luZCA9PSA0M+CFLCsSNwoHaGFybmVzcxgKIAEoDjImLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLkhhcm5lc3MSPgoLY3Vyc29yX21vZGUYCyABKA4yKS5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5DdXJzb3JNb2RlGi8KDU1ldGFkYXRhRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4AWIGcHJvdG8z", [file_ai_stigmer_agentic_agent_v1_spec, file_ai_stigmer_agentic_session_v1_enum, file_ai_stigmer_agentic_session_v1_workspace, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
14
+ export const file_ai_stigmer_agentic_session_v1_spec = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9zcGVjLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MSL0BgoLU2Vzc2lvblNwZWMSGQoRYWdlbnRfaW5zdGFuY2VfaWQYASABKAkSDwoHc3ViamVjdBgCIAEoCRIYChBoYXJuZXNzX3N0YXRlX2lkGAMgASgJEkoKCG1ldGF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m90bzM", [file_ai_stigmer_agentic_agent_v1_spec, file_ai_stigmer_agentic_session_v1_enum, file_ai_stigmer_agentic_session_v1_workspace, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
15
15
  /**
16
16
  * Describes the message ai.stigmer.agentic.session.v1.SessionSpec.
17
17
  * Use `create(SessionSpecSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AAElF,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,4CAA4C,EAAE,MAAM,mBAAmB,CAAC;AACjF,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,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,0tCAA0tC,EAAE,CAAC,qCAAqC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAuK99C;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,2BAA2B,CAAC;AAElF,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,4CAA4C,EAAE,MAAM,mBAAmB,CAAC;AACjF,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,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,6wCAA6wC,EAAE,CAAC,qCAAqC,EAAE,uCAAuC,EAAE,4CAA4C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwKjhD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -48,6 +48,28 @@ export declare const WorkflowCommandController: {
48
48
  readonly O: any;
49
49
  readonly kind: any;
50
50
  };
51
+ /**
52
+ * Update the visibility of an existing workflow.
53
+ *
54
+ * This is a targeted metadata update — it only modifies metadata.visibility,
55
+ * leaving spec, status, and other metadata fields untouched. Use this to
56
+ * make a workflow publicly accessible or to revoke public access without
57
+ * sending the entire workflow resource (avoiding read-modify-write races).
58
+ *
59
+ * @internal
60
+ * Authorization: Requires can_edit permission on the workflow resource.
61
+ * Visibility transitions trigger FGA tuple management in Cloud mode:
62
+ * - PRIVATE → PUBLIC: creates workflow#viewer@identity_account:* tuple
63
+ * - PUBLIC → PRIVATE: deletes the wildcard viewer tuple
64
+ *
65
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.updateVisibility
66
+ */
67
+ readonly updateVisibility: {
68
+ readonly name: "updateVisibility";
69
+ readonly I: any;
70
+ readonly O: any;
71
+ readonly kind: any;
72
+ };
51
73
  /**
52
74
  * Delete a workflow.
53
75
  *
@@ -89,5 +111,27 @@ export declare const WorkflowCommandController: {
89
111
  readonly O: any;
90
112
  readonly kind: any;
91
113
  };
114
+ /**
115
+ * Assign or move a tag to a specific workflow version.
116
+ *
117
+ * Tags are human-readable pointers to immutable versions. Calling this
118
+ * with an existing tag name moves it from the previous version to the
119
+ * specified version. Common tags: "stable", "production", "v2.0".
120
+ *
121
+ * @internal
122
+ * Authorization: Requires can_edit permission on the workflow resource.
123
+ * The handler validates that the version_hash exists in the workflow's
124
+ * audit history before assigning the tag.
125
+ *
126
+ * @since Workflow Versioning
127
+ *
128
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.tagVersion
129
+ */
130
+ readonly tagVersion: {
131
+ readonly name: "tagVersion";
132
+ readonly I: any;
133
+ readonly O: any;
134
+ readonly kind: any;
135
+ };
92
136
  };
93
137
  };
@@ -4,8 +4,10 @@
4
4
  // @ts-nocheck
5
5
  import { Workflow } from "./api_pbjs";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
+ import { UpdateVisibilityInput } from "../../../commons/apiresource/io_pbjs";
7
8
  import { WorkflowId } from "./io_pbjs";
8
9
  import { ServerlessWorkflowValidation } from "./serverless/validation_pbjs";
10
+ import { TagWorkflowVersionInput } from "./version_pbjs";
9
11
  /**
10
12
  * WorkflowCommandController handles write operations for workflows.
11
13
  *
@@ -56,6 +58,28 @@ export const WorkflowCommandController = {
56
58
  O: Workflow,
57
59
  kind: MethodKind.Unary,
58
60
  },
61
+ /**
62
+ * Update the visibility of an existing workflow.
63
+ *
64
+ * This is a targeted metadata update — it only modifies metadata.visibility,
65
+ * leaving spec, status, and other metadata fields untouched. Use this to
66
+ * make a workflow publicly accessible or to revoke public access without
67
+ * sending the entire workflow resource (avoiding read-modify-write races).
68
+ *
69
+ * @internal
70
+ * Authorization: Requires can_edit permission on the workflow resource.
71
+ * Visibility transitions trigger FGA tuple management in Cloud mode:
72
+ * - PRIVATE → PUBLIC: creates workflow#viewer@identity_account:* tuple
73
+ * - PUBLIC → PRIVATE: deletes the wildcard viewer tuple
74
+ *
75
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.updateVisibility
76
+ */
77
+ updateVisibility: {
78
+ name: "updateVisibility",
79
+ I: UpdateVisibilityInput,
80
+ O: Workflow,
81
+ kind: MethodKind.Unary,
82
+ },
59
83
  /**
60
84
  * Delete a workflow.
61
85
  *
@@ -97,6 +121,28 @@ export const WorkflowCommandController = {
97
121
  O: ServerlessWorkflowValidation,
98
122
  kind: MethodKind.Unary,
99
123
  },
124
+ /**
125
+ * Assign or move a tag to a specific workflow version.
126
+ *
127
+ * Tags are human-readable pointers to immutable versions. Calling this
128
+ * with an existing tag name moves it from the previous version to the
129
+ * specified version. Common tags: "stable", "production", "v2.0".
130
+ *
131
+ * @internal
132
+ * Authorization: Requires can_edit permission on the workflow resource.
133
+ * The handler validates that the version_hash exists in the workflow's
134
+ * audit history before assigning the tag.
135
+ *
136
+ * @since Workflow Versioning
137
+ *
138
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.tagVersion
139
+ */
140
+ tagVersion: {
141
+ name: "tagVersion",
142
+ I: TagWorkflowVersionInput,
143
+ O: Workflow,
144
+ kind: MethodKind.Unary,
145
+ },
100
146
  }
101
147
  };
102
148
  //# sourceMappingURL=command_connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAG;IACvC,QAAQ,EAAE,0DAA0D;IACpE,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;WAuBG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,4BAA4B;YAC/B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,4HAA4H;AAC5H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,qBAAqB,EAAE,MAAM,sCAAsC,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ACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -2,6 +2,8 @@ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { WorkflowSchema } from "./api_pb.js";
3
3
  import type { WorkflowIdSchema } from "./io_pb.js";
4
4
  import type { ServerlessWorkflowValidationSchema } from "./serverless/validation_pb.js";
5
+ import type { TagWorkflowVersionInputSchema } from "./version_pb.js";
6
+ import type { UpdateVisibilityInputSchema } from "../../../commons/apiresource/io_pb.js";
5
7
  /**
6
8
  * Describes the file ai/stigmer/agentic/workflow/v1/command.proto.
7
9
  */
@@ -51,6 +53,27 @@ export declare const WorkflowCommandController: GenService<{
51
53
  input: typeof WorkflowSchema;
52
54
  output: typeof WorkflowSchema;
53
55
  };
56
+ /**
57
+ * Update the visibility of an existing workflow.
58
+ *
59
+ * This is a targeted metadata update — it only modifies metadata.visibility,
60
+ * leaving spec, status, and other metadata fields untouched. Use this to
61
+ * make a workflow publicly accessible or to revoke public access without
62
+ * sending the entire workflow resource (avoiding read-modify-write races).
63
+ *
64
+ * @internal
65
+ * Authorization: Requires can_edit permission on the workflow resource.
66
+ * Visibility transitions trigger FGA tuple management in Cloud mode:
67
+ * - PRIVATE → PUBLIC: creates workflow#viewer@identity_account:* tuple
68
+ * - PUBLIC → PRIVATE: deletes the wildcard viewer tuple
69
+ *
70
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.updateVisibility
71
+ */
72
+ updateVisibility: {
73
+ methodKind: "unary";
74
+ input: typeof UpdateVisibilityInputSchema;
75
+ output: typeof WorkflowSchema;
76
+ };
54
77
  /**
55
78
  * Delete a workflow.
56
79
  *
@@ -90,4 +113,25 @@ export declare const WorkflowCommandController: GenService<{
90
113
  input: typeof WorkflowSchema;
91
114
  output: typeof ServerlessWorkflowValidationSchema;
92
115
  };
116
+ /**
117
+ * Assign or move a tag to a specific workflow version.
118
+ *
119
+ * Tags are human-readable pointers to immutable versions. Calling this
120
+ * with an existing tag name moves it from the previous version to the
121
+ * specified version. Common tags: "stable", "production", "v2.0".
122
+ *
123
+ * @internal
124
+ * Authorization: Requires can_edit permission on the workflow resource.
125
+ * The handler validates that the version_hash exists in the workflow's
126
+ * audit history before assigning the tag.
127
+ *
128
+ * @since Workflow Versioning
129
+ *
130
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowCommandController.tagVersion
131
+ */
132
+ tagVersion: {
133
+ methodKind: "unary";
134
+ input: typeof TagWorkflowVersionInputSchema;
135
+ output: typeof WorkflowSchema;
136
+ };
93
137
  }>;
@@ -5,12 +5,14 @@ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  import { file_ai_stigmer_agentic_workflow_v1_api } from "./api_pb.js";
6
6
  import { file_ai_stigmer_agentic_workflow_v1_io } from "./io_pb.js";
7
7
  import { file_ai_stigmer_agentic_workflow_v1_serverless_validation } from "./serverless/validation_pb.js";
8
+ import { file_ai_stigmer_agentic_workflow_v1_version } from "./version_pb.js";
9
+ import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb.js";
8
10
  import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
9
11
  import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
10
12
  /**
11
13
  * Describes the file ai/stigmer/agentic/workflow/v1/command.proto.
12
14
  */
13
- export const file_ai_stigmer_agentic_workflow_v1_command = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvY29tbWFuZC5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxMqkGChlXb3JrZmxvd0NvbW1hbmRDb250cm9sbGVyElsKBWFwcGx5EiguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93GiguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93EqoBCgZjcmVhdGUSKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3caKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3ciTMK4GEgIBxAeIgxtZXRhZGF0YS5vcmcqNHVuYXV0aG9yaXplZCB0byBjcmVhdGUgd29ya2Zsb3cgaW4gdGhpcyBvcmdhbml6YXRpb24SlAEKBnVwZGF0ZRIoLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdxooLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdyI2wrgYMggCEDIiC21ldGFkYXRhLmlkKh91bmF1dGhvcml6ZWQgdG8gdXBkYXRlIHdvcmtmbG93EpABCgZkZWxldGUSKi5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dJZBooLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdyIwwrgYLAgDEDIiBXZhbHVlKh91bmF1dGhvcml6ZWQgdG8gZGVsZXRlIHdvcmtmbG93EtEBCgx2YWxpZGF0ZVNwZWMSKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3caRy5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuc2VydmVybGVzcy5TZXJ2ZXJsZXNzV29ya2Zsb3dWYWxpZGF0aW9uIk7CuBhKCAcQHiIMbWV0YWRhdGEub3JnKjZ1bmF1dGhvcml6ZWQgdG8gdmFsaWRhdGUgd29ya2Zsb3cgaW4gdGhpcyBvcmdhbml6YXRpb24aBKD/KzJiBnByb3RvMw", [file_ai_stigmer_agentic_workflow_v1_api, file_ai_stigmer_agentic_workflow_v1_io, file_ai_stigmer_agentic_workflow_v1_serverless_validation, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
15
+ export const file_ai_stigmer_agentic_workflow_v1_command = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvY29tbWFuZC5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxMpEJChlXb3JrZmxvd0NvbW1hbmRDb250cm9sbGVyElsKBWFwcGx5EiguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93GiguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93EqoBCgZjcmVhdGUSKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3caKC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3ciTMK4GEgIBxAeIgxtZXRhZGF0YS5vcmcqNHVuYXV0aG9yaXplZCB0byBjcmVhdGUgd29ya2Zsb3cgaW4gdGhpcyBvcmdhbml6YXRpb24SlAEKBnVwZGF0ZRIoLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdxooLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdyI2wrgYMggCEDIiC21ldGFkYXRhLmlkKh91bmF1dGhvcml6ZWQgdG8gdXBkYXRlIHdvcmtmbG93ErYBChB1cGRhdGVWaXNpYmlsaXR5EjUuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLlVwZGF0ZVZpc2liaWxpdHlJbnB1dBooLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdyJBwrgYPQgCEDIiC3Jlc291cmNlX2lkKip1bmF1dGhvcml6ZWQgdG8gdXBkYXRlIHdvcmtmbG93IHZpc2liaWxpdHkSkAEKBmRlbGV0ZRIqLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvd0lkGiguYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93IjDCuBgsCAMQMiIFdmFsdWUqH3VuYXV0aG9yaXplZCB0byBkZWxldGUgd29ya2Zsb3cS0QEKDHZhbGlkYXRlU3BlYxIoLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdxpHLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5zZXJ2ZXJsZXNzLlNlcnZlcmxlc3NXb3JrZmxvd1ZhbGlkYXRpb24iTsK4GEoIBxAeIgxtZXRhZGF0YS5vcmcqNnVuYXV0aG9yaXplZCB0byB2YWxpZGF0ZSB3b3JrZmxvdyBpbiB0aGlzIG9yZ2FuaXphdGlvbhKsAQoKdGFnVmVyc2lvbhI3LmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5UYWdXb3JrZmxvd1ZlcnNpb25JbnB1dBooLmFpLnN0aWdtZXIuYWdlbnRpYy53b3JrZmxvdy52MS5Xb3JrZmxvdyI7wrgYNwgCEDIiC3dvcmtmbG93X2lkKiR1bmF1dGhvcml6ZWQgdG8gdGFnIHdvcmtmbG93IHZlcnNpb24aBKD/KzJiBnByb3RvMw", [file_ai_stigmer_agentic_workflow_v1_api, file_ai_stigmer_agentic_workflow_v1_io, file_ai_stigmer_agentic_workflow_v1_serverless_validation, file_ai_stigmer_agentic_workflow_v1_version, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
14
16
  /**
15
17
  * WorkflowCommandController handles write operations for workflows.
16
18
  *
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,E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A2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,gpDAAgpD,EAAE,CAAC,uCAAuC,EAAE,sCAAsC,EAAE,yDAAyD,EAAE,2CAA2C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEr+D;;;;GAIG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAyHjC,aAAa,CAChB,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
@@ -18,8 +18,12 @@ export declare const WorkflowQueryController: {
18
18
  readonly kind: any;
19
19
  };
20
20
  /**
21
- * Get a workflow by its organization-scoped reference (org/slug).
22
- * Resolves a human-readable reference like "stigmer/deploy" to the full Workflow resource.
21
+ * Get a workflow by its organization-scoped reference (org/slug) with version support.
22
+ *
23
+ * Version resolution (via ApiResourceReference.version field):
24
+ * - Empty/"latest" → Returns the current version
25
+ * - Tag name (e.g., "stable", "v1.0") → Resolves to the version with this tag
26
+ * - SHA256 hash (64 hex chars) → Returns the exact immutable version
23
27
  *
24
28
  * @internal
25
29
  * Custom authorization in handler — checks both direct resource access
@@ -33,5 +37,45 @@ export declare const WorkflowQueryController: {
33
37
  readonly O: any;
34
38
  readonly kind: any;
35
39
  };
40
+ /**
41
+ * List version history for a workflow.
42
+ *
43
+ * Returns all historical versions ordered by applied_at (newest first).
44
+ * Each entry includes the version hash, applied timestamp, actor, tag,
45
+ * git provenance, and the validated CNCF YAML for historical access.
46
+ *
47
+ * @internal
48
+ * Authorization is handled in the handler after resolving the workflow.
49
+ * (Input uses org+slug, not workflow ID, so proto-level auth cannot work)
50
+ *
51
+ * @since Workflow Versioning
52
+ *
53
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowQueryController.listVersions
54
+ */
55
+ readonly listVersions: {
56
+ readonly name: "listVersions";
57
+ readonly I: any;
58
+ readonly O: any;
59
+ readonly kind: any;
60
+ };
61
+ /**
62
+ * Get a specific historical version of a workflow by its content hash.
63
+ *
64
+ * Used by the runner (to hydrate execution from a pinned version) and
65
+ * the execution viewer (to render the graph for historical executions).
66
+ *
67
+ * @internal
68
+ * Authorization uses can_view on the workflow resource.
69
+ *
70
+ * @since Workflow Versioning
71
+ *
72
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowQueryController.getVersion
73
+ */
74
+ readonly getVersion: {
75
+ readonly name: "getVersion";
76
+ readonly I: any;
77
+ readonly O: any;
78
+ readonly kind: any;
79
+ };
36
80
  };
37
81
  };
@@ -6,6 +6,7 @@ import { WorkflowId } from "./io_pbjs";
6
6
  import { Workflow } from "./api_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
  import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
9
+ import { GetWorkflowVersionInput, ListWorkflowVersionsInput, ListWorkflowVersionsResponse, WorkflowVersionEntry } from "./version_pbjs";
9
10
  /**
10
11
  * WorkflowQueryController handles read operations for workflows.
11
12
  *
@@ -26,8 +27,12 @@ export const WorkflowQueryController = {
26
27
  kind: MethodKind.Unary,
27
28
  },
28
29
  /**
29
- * Get a workflow by its organization-scoped reference (org/slug).
30
- * Resolves a human-readable reference like "stigmer/deploy" to the full Workflow resource.
30
+ * Get a workflow by its organization-scoped reference (org/slug) with version support.
31
+ *
32
+ * Version resolution (via ApiResourceReference.version field):
33
+ * - Empty/"latest" → Returns the current version
34
+ * - Tag name (e.g., "stable", "v1.0") → Resolves to the version with this tag
35
+ * - SHA256 hash (64 hex chars) → Returns the exact immutable version
31
36
  *
32
37
  * @internal
33
38
  * Custom authorization in handler — checks both direct resource access
@@ -41,6 +46,46 @@ export const WorkflowQueryController = {
41
46
  O: Workflow,
42
47
  kind: MethodKind.Unary,
43
48
  },
49
+ /**
50
+ * List version history for a workflow.
51
+ *
52
+ * Returns all historical versions ordered by applied_at (newest first).
53
+ * Each entry includes the version hash, applied timestamp, actor, tag,
54
+ * git provenance, and the validated CNCF YAML for historical access.
55
+ *
56
+ * @internal
57
+ * Authorization is handled in the handler after resolving the workflow.
58
+ * (Input uses org+slug, not workflow ID, so proto-level auth cannot work)
59
+ *
60
+ * @since Workflow Versioning
61
+ *
62
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowQueryController.listVersions
63
+ */
64
+ listVersions: {
65
+ name: "listVersions",
66
+ I: ListWorkflowVersionsInput,
67
+ O: ListWorkflowVersionsResponse,
68
+ kind: MethodKind.Unary,
69
+ },
70
+ /**
71
+ * Get a specific historical version of a workflow by its content hash.
72
+ *
73
+ * Used by the runner (to hydrate execution from a pinned version) and
74
+ * the execution viewer (to render the graph for historical executions).
75
+ *
76
+ * @internal
77
+ * Authorization uses can_view on the workflow resource.
78
+ *
79
+ * @since Workflow Versioning
80
+ *
81
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowQueryController.getVersion
82
+ */
83
+ getVersion: {
84
+ name: "getVersion",
85
+ I: GetWorkflowVersionInput,
86
+ O: WorkflowVersionEntry,
87
+ kind: MethodKind.Unary,
88
+ },
44
89
  }
45
90
  };
46
91
  //# sourceMappingURL=query_connect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC;AACvC,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,uBAAuB,EAAE,yBAAyB,EAAE,4BAA4B,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AAExI;;;;GAIG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,UAAU;YACb,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,QAAQ;YACX,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,YAAY,EAAE;YACZ,IAAI,EAAE,cAAc;YACpB,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,4BAA4B;YAC/B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,UAAU,EAAE;YACV,IAAI,EAAE,YAAY;YAClB,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { WorkflowSchema } from "./api_pb.js";
3
3
  import type { WorkflowIdSchema } from "./io_pb.js";
4
+ import type { GetWorkflowVersionInputSchema, ListWorkflowVersionsInputSchema, ListWorkflowVersionsResponseSchema, WorkflowVersionEntrySchema } from "./version_pb.js";
4
5
  import type { ApiResourceReferenceSchema } from "../../../commons/apiresource/io_pb.js";
5
6
  /**
6
7
  * Describes the file ai/stigmer/agentic/workflow/v1/query.proto.
@@ -23,8 +24,12 @@ export declare const WorkflowQueryController: GenService<{
23
24
  output: typeof WorkflowSchema;
24
25
  };
25
26
  /**
26
- * Get a workflow by its organization-scoped reference (org/slug).
27
- * Resolves a human-readable reference like "stigmer/deploy" to the full Workflow resource.
27
+ * Get a workflow by its organization-scoped reference (org/slug) with version support.
28
+ *
29
+ * Version resolution (via ApiResourceReference.version field):
30
+ * - Empty/"latest" → Returns the current version
31
+ * - Tag name (e.g., "stable", "v1.0") → Resolves to the version with this tag
32
+ * - SHA256 hash (64 hex chars) → Returns the exact immutable version
28
33
  *
29
34
  * @internal
30
35
  * Custom authorization in handler — checks both direct resource access
@@ -37,4 +42,42 @@ export declare const WorkflowQueryController: GenService<{
37
42
  input: typeof ApiResourceReferenceSchema;
38
43
  output: typeof WorkflowSchema;
39
44
  };
45
+ /**
46
+ * List version history for a workflow.
47
+ *
48
+ * Returns all historical versions ordered by applied_at (newest first).
49
+ * Each entry includes the version hash, applied timestamp, actor, tag,
50
+ * git provenance, and the validated CNCF YAML for historical access.
51
+ *
52
+ * @internal
53
+ * Authorization is handled in the handler after resolving the workflow.
54
+ * (Input uses org+slug, not workflow ID, so proto-level auth cannot work)
55
+ *
56
+ * @since Workflow Versioning
57
+ *
58
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowQueryController.listVersions
59
+ */
60
+ listVersions: {
61
+ methodKind: "unary";
62
+ input: typeof ListWorkflowVersionsInputSchema;
63
+ output: typeof ListWorkflowVersionsResponseSchema;
64
+ };
65
+ /**
66
+ * Get a specific historical version of a workflow by its content hash.
67
+ *
68
+ * Used by the runner (to hydrate execution from a pinned version) and
69
+ * the execution viewer (to render the graph for historical executions).
70
+ *
71
+ * @internal
72
+ * Authorization uses can_view on the workflow resource.
73
+ *
74
+ * @since Workflow Versioning
75
+ *
76
+ * @generated from rpc ai.stigmer.agentic.workflow.v1.WorkflowQueryController.getVersion
77
+ */
78
+ getVersion: {
79
+ methodKind: "unary";
80
+ input: typeof GetWorkflowVersionInputSchema;
81
+ output: typeof WorkflowVersionEntrySchema;
82
+ };
40
83
  }>;