@stigmer/protos 3.1.7 → 3.1.9

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 (98) hide show
  1. package/ai/stigmer/agentic/agent/v1/spec_pb.js +1 -1
  2. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  3. package/ai/stigmer/agentic/agent/v1/status_pb.js +1 -1
  4. package/ai/stigmer/agentic/agent/v1/status_pb.js.map +1 -1
  5. package/ai/stigmer/agentic/agentexecution/v1/command_connect.d.ts +11 -8
  6. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js +11 -8
  7. package/ai/stigmer/agentic/agentexecution/v1/command_connect.js.map +1 -1
  8. package/ai/stigmer/agentic/agentexecution/v1/command_pb.d.ts +11 -8
  9. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +82 -11
  11. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +82 -11
  12. package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
  13. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +6 -6
  14. package/ai/stigmer/agentic/agentshare/v1/api_pb.d.ts +70 -0
  15. package/ai/stigmer/agentic/agentshare/v1/api_pb.js +18 -0
  16. package/ai/stigmer/agentic/agentshare/v1/api_pb.js.map +1 -0
  17. package/ai/stigmer/agentic/agentshare/v1/command_connect.d.ts +119 -0
  18. package/ai/stigmer/agentic/agentshare/v1/command_connect.js +127 -0
  19. package/ai/stigmer/agentic/agentshare/v1/command_connect.js.map +1 -0
  20. package/ai/stigmer/agentic/agentshare/v1/command_pb.d.ts +118 -0
  21. package/ai/stigmer/agentic/agentshare/v1/command_pb.js +19 -0
  22. package/ai/stigmer/agentic/agentshare/v1/command_pb.js.map +1 -0
  23. package/ai/stigmer/agentic/agentshare/v1/io_pb.d.ts +228 -0
  24. package/ai/stigmer/agentic/agentshare/v1/io_pb.js +47 -0
  25. package/ai/stigmer/agentic/agentshare/v1/io_pb.js.map +1 -0
  26. package/ai/stigmer/agentic/agentshare/v1/query_connect.d.ts +133 -0
  27. package/ai/stigmer/agentic/agentshare/v1/query_connect.js +142 -0
  28. package/ai/stigmer/agentic/agentshare/v1/query_connect.js.map +1 -0
  29. package/ai/stigmer/agentic/agentshare/v1/query_pb.d.ts +132 -0
  30. package/ai/stigmer/agentic/agentshare/v1/query_pb.js +20 -0
  31. package/ai/stigmer/agentic/agentshare/v1/query_pb.js.map +1 -0
  32. package/ai/stigmer/agentic/agentshare/v1/spec_pb.d.ts +208 -0
  33. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js +60 -0
  34. package/ai/stigmer/agentic/agentshare/v1/spec_pb.js.map +1 -0
  35. package/ai/stigmer/agentic/agentshare/v1/status_pb.d.ts +50 -0
  36. package/ai/stigmer/agentic/agentshare/v1/status_pb.js +15 -0
  37. package/ai/stigmer/agentic/agentshare/v1/status_pb.js.map +1 -0
  38. package/ai/stigmer/agentic/environment/v1/command_connect.d.ts +28 -0
  39. package/ai/stigmer/agentic/environment/v1/command_connect.js +29 -1
  40. package/ai/stigmer/agentic/environment/v1/command_connect.js.map +1 -1
  41. package/ai/stigmer/agentic/environment/v1/command_pb.d.ts +28 -1
  42. package/ai/stigmer/agentic/environment/v1/command_pb.js +1 -1
  43. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
  44. package/ai/stigmer/agentic/executioncontext/v1/query_connect.d.ts +22 -12
  45. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js +22 -12
  46. package/ai/stigmer/agentic/executioncontext/v1/query_connect.js.map +1 -1
  47. package/ai/stigmer/agentic/executioncontext/v1/query_pb.d.ts +22 -12
  48. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +8 -7
  49. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  50. package/ai/stigmer/agentic/session/v1/command_connect.d.ts +10 -2
  51. package/ai/stigmer/agentic/session/v1/command_connect.js +10 -2
  52. package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
  53. package/ai/stigmer/agentic/session/v1/command_pb.d.ts +10 -2
  54. package/ai/stigmer/agentic/session/v1/command_pb.js +1 -1
  55. package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
  56. package/ai/stigmer/agentic/session/v1/io_pb.d.ts +9 -9
  57. package/ai/stigmer/agentic/session/v1/io_pb.js +4 -4
  58. package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
  59. package/ai/stigmer/agentic/session/v1/query_connect.d.ts +6 -5
  60. package/ai/stigmer/agentic/session/v1/query_connect.js +8 -7
  61. package/ai/stigmer/agentic/session/v1/query_connect.js.map +1 -1
  62. package/ai/stigmer/agentic/session/v1/query_pb.d.ts +7 -6
  63. package/ai/stigmer/agentic/session/v1/query_pb.js +1 -1
  64. package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
  65. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +16 -12
  66. package/ai/stigmer/agentic/workflow/v1/command_connect.js +16 -12
  67. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  68. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +16 -12
  69. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  70. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.d.ts +10 -5
  71. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js +3 -1
  72. package/ai/stigmer/agentic/workflow/v1/serverless/validation_pb.js.map +1 -1
  73. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +13 -0
  74. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +14 -1
  75. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  76. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +3 -1
  77. package/ai/stigmer/commons/apiresource/enum_pb.js +3 -1
  78. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  79. package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +6 -1
  80. package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
  81. package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +27 -0
  82. package/ai/stigmer/iam/platformclient/v1/token_connect.js +28 -1
  83. package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
  84. package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +141 -0
  85. package/ai/stigmer/iam/platformclient/v1/token_pb.js +16 -1
  86. package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
  87. package/ai/stigmer/iam/v1/enum_pb.d.ts +6 -3
  88. package/ai/stigmer/iam/v1/enum_pb.js +7 -4
  89. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  90. package/ai/stigmer/platform/v1/server_info_connect.d.ts +40 -0
  91. package/ai/stigmer/platform/v1/server_info_connect.js +41 -1
  92. package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
  93. package/ai/stigmer/platform/v1/server_info_pb.d.ts +123 -0
  94. package/ai/stigmer/platform/v1/server_info_pb.js +11 -1
  95. package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
  96. package/ai/stigmer/tenancy/organization/v1/api_pb.d.ts +7 -1
  97. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
  98. package/package.json +1 -1
@@ -10,7 +10,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
10
10
  /**
11
11
  * Describes the file ai/stigmer/agentic/environment/v1/command.proto.
12
12
  */
13
- export const file_ai_stigmer_agentic_environment_v1_command = /*@__PURE__*/ fileDesc("Ci9haS9zdGlnbWVyL2FnZW50aWMvZW52aXJvbm1lbnQvdjEvY29tbWFuZC5wcm90bxIhYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxMsEIChxFbnZpcm9ubWVudENvbW1hbmRDb250cm9sbGVyE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GRhdGUgZW52aXJvbm1lbnQgdmFyaWFibGVzEs8BCg9yZW1vdmVWYXJpYWJsZXMSRC5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuUmVtb3ZlRW52aXJvbm1lbnRWYXJpYWJsZXNSZXF1ZXN0Gi4uYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudmlyb25tZW50IkbCuBhCCAIQNSIOZW52aXJvbm1lbnRfaWQqLHVuYXV0aG9yaXplZCB0byByZW1vdmUgZW52aXJvbm1lbnQgdmFyaWFibGVzGgSg/ys1YgZwcm90bzM", [file_ai_stigmer_agentic_environment_v1_api, file_ai_stigmer_agentic_environment_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
+ export const file_ai_stigmer_agentic_environment_v1_command = /*@__PURE__*/ fileDesc("Ci9haS9zdGlnbWVyL2FnZW50aWMvZW52aXJvbm1lbnQvdjEvY29tbWFuZC5wcm90bxIhYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxMoMKChxFbnZpcm9ubWVudENvbW1hbmRDb250cm9sbGVyEmcKBWFwcGx5Ei4uYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudmlyb25tZW50Gi4uYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudmlyb25tZW50ErkBCgZjcmVhdGUSLi5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52aXJvbm1lbnQaLi5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52aXJvbm1lbnQiT8K4GEsIDBAeIgxtZXRhZGF0YS5vcmcqN3VuYXV0aG9yaXplZCB0byBjcmVhdGUgZW52aXJvbm1lbnQgaW4gdGhpcyBvcmdhbml6YXRpb24SowEKBnVwZGF0ZRIuLmFpLnN0aWdtZXIuYWdlbnRpYy5l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bWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52aXJvbm1lbnQiRsK4GEIIAhA1Ig5lbnZpcm9ubWVudF9pZCosdW5hdXRob3JpemVkIHRvIHJlbW92ZSBlbnZpcm9ubWVudCB2YXJpYWJsZXMaBKD/KzViBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_api, file_ai_stigmer_agentic_environment_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
14
14
  /**
15
15
  * EnvironmentCommandController handles write operations for environments.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,kIAAkI;AAClI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,aAAa,CAAC;AAEzE,OAAO,EAAE,yCAAyC,EAAE,MAAM,YAAY,CAAC;AAEvE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,6iDAA6iD,EAAE,CAAC,0CAA0C,EAAE,yCAAyC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEhyD;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAwFpC,aAAa,CAChB,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,kIAAkI;AAClI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,0CAA0C,EAAE,MAAM,aAAa,CAAC;AAEzE,OAAO,EAAE,yCAAyC,EAAE,MAAM,YAAY,CAAC;AAEvE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,8CAA8C,GAAY,aAAa,CAClF,QAAQ,CAAC,gzDAAgzD,EAAE,CAAC,0CAA0C,EAAE,yCAAyC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEniE;;;;GAIG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAmHpC,aAAa,CAChB,WAAW,CAAC,8CAA8C,EAAE,CAAC,CAAC,CAAC"}
@@ -2,14 +2,15 @@
2
2
  * ExecutionContextQueryController handles read operations for ExecutionContext resources.
3
3
  *
4
4
  * @internal
5
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
6
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
7
- * FGA model. Authorization is derived from the parent execution:
8
- * - All read operations check can_view on parent agent_execution or workflow_execution
5
+ * Authorization: All RPCs use is_skip_authorization with handler-level auth.
6
+ * In cloud, the handler performs a direct FGA check: can_view on
7
+ * execution_context:<metadata.id>, against the owner tuple written at creation
8
+ * time by the create pipeline. OSS enforces no authorization.
9
9
  *
10
- * The handler loads the ExecutionContext, extracts the execution_id from spec,
11
- * and verifies the caller has permission on whichever parent type matches.
12
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
10
+ * Secret handling: values with is_secret=true are returned in plaintext on OSS
11
+ * (single-user local, no encryption). On cloud they are redacted for user-class
12
+ * callers on every read RPC; only getByExecutionId can return decrypted values,
13
+ * and only to runner-class credentials (see that RPC's comment).
13
14
  *
14
15
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController
15
16
  */
@@ -20,7 +21,8 @@ export declare const ExecutionContextQueryController: {
20
21
  * Get an ExecutionContext by ID.
21
22
  *
22
23
  * @internal
23
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
24
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
25
+ * Secret values are redacted on cloud.
24
26
  *
25
27
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.get
26
28
  */
@@ -34,7 +36,8 @@ export declare const ExecutionContextQueryController: {
34
36
  * Get an ExecutionContext by reference (slug-based lookup).
35
37
  *
36
38
  * @internal
37
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
39
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
40
+ * Secret values are redacted on cloud.
38
41
  *
39
42
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByReference
40
43
  */
@@ -49,9 +52,16 @@ export declare const ExecutionContextQueryController: {
49
52
  *
50
53
  * @internal
51
54
  * Primary lookup method used by runners to retrieve the merged environment
52
- * variables during workflow/agent execution. The returned context contains
53
- * decrypted secrets for runner consumption.
54
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
55
+ * variables during workflow/agent execution and MCP discovery.
56
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
57
+ *
58
+ * Secret handling (cloud): the decrypt path is gated by caller credential
59
+ * class, not by FGA — runners authenticate as the user who owns the
60
+ * execution, so permissions cannot tell them apart. Callers presenting a
61
+ * platform-minted runner token (token_type of sandbox, workflow_sandbox,
62
+ * connect_sandbox, or embedded_runner) receive decrypted secret values;
63
+ * every other caller (user JWT, SDK, console) receives the same redaction
64
+ * as get/getByReference.
55
65
  *
56
66
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
57
67
  */
@@ -10,14 +10,15 @@ import { ApiResourceReference } from "../../../commons/apiresource/io_pbjs";
10
10
  * ExecutionContextQueryController handles read operations for ExecutionContext resources.
11
11
  *
12
12
  * @internal
13
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
14
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
15
- * FGA model. Authorization is derived from the parent execution:
16
- * - All read operations check can_view on parent agent_execution or workflow_execution
13
+ * Authorization: All RPCs use is_skip_authorization with handler-level auth.
14
+ * In cloud, the handler performs a direct FGA check: can_view on
15
+ * execution_context:<metadata.id>, against the owner tuple written at creation
16
+ * time by the create pipeline. OSS enforces no authorization.
17
17
  *
18
- * The handler loads the ExecutionContext, extracts the execution_id from spec,
19
- * and verifies the caller has permission on whichever parent type matches.
20
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
18
+ * Secret handling: values with is_secret=true are returned in plaintext on OSS
19
+ * (single-user local, no encryption). On cloud they are redacted for user-class
20
+ * callers on every read RPC; only getByExecutionId can return decrypted values,
21
+ * and only to runner-class credentials (see that RPC's comment).
21
22
  *
22
23
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController
23
24
  */
@@ -28,7 +29,8 @@ export const ExecutionContextQueryController = {
28
29
  * Get an ExecutionContext by ID.
29
30
  *
30
31
  * @internal
31
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
32
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
33
+ * Secret values are redacted on cloud.
32
34
  *
33
35
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.get
34
36
  */
@@ -42,7 +44,8 @@ export const ExecutionContextQueryController = {
42
44
  * Get an ExecutionContext by reference (slug-based lookup).
43
45
  *
44
46
  * @internal
45
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
47
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
48
+ * Secret values are redacted on cloud.
46
49
  *
47
50
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByReference
48
51
  */
@@ -57,9 +60,16 @@ export const ExecutionContextQueryController = {
57
60
  *
58
61
  * @internal
59
62
  * Primary lookup method used by runners to retrieve the merged environment
60
- * variables during workflow/agent execution. The returned context contains
61
- * decrypted secrets for runner consumption.
62
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
63
+ * variables during workflow/agent execution and MCP discovery.
64
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
65
+ *
66
+ * Secret handling (cloud): the decrypt path is gated by caller credential
67
+ * class, not by FGA — runners authenticate as the user who owns the
68
+ * execution, so permissions cannot tell them apart. Callers presenting a
69
+ * platform-minted runner token (token_type of sandbox, workflow_sandbox,
70
+ * connect_sandbox, or embedded_runner) receive decrypted secret values;
71
+ * every other caller (user JWT, SDK, console) receives the same redaction
72
+ * as get/getByReference.
63
73
  *
64
74
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
65
75
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,wEAAwE;IAClF,OAAO,EAAE;QACP;;;;;;;WAOG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,gCAAgC;YACnC,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0IAA0I;AAC1I,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,gCAAgC,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAE5E;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,QAAQ,EAAE,wEAAwE;IAClF,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;WAiBG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,gCAAgC;YACnC,CAAC,EAAE,gBAAgB;YACnB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -10,14 +10,15 @@ export declare const file_ai_stigmer_agentic_executioncontext_v1_query: GenFile;
10
10
  * ExecutionContextQueryController handles read operations for ExecutionContext resources.
11
11
  *
12
12
  * @internal
13
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
14
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
15
- * FGA model. Authorization is derived from the parent execution:
16
- * - All read operations check can_view on parent agent_execution or workflow_execution
13
+ * Authorization: All RPCs use is_skip_authorization with handler-level auth.
14
+ * In cloud, the handler performs a direct FGA check: can_view on
15
+ * execution_context:<metadata.id>, against the owner tuple written at creation
16
+ * time by the create pipeline. OSS enforces no authorization.
17
17
  *
18
- * The handler loads the ExecutionContext, extracts the execution_id from spec,
19
- * and verifies the caller has permission on whichever parent type matches.
20
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
18
+ * Secret handling: values with is_secret=true are returned in plaintext on OSS
19
+ * (single-user local, no encryption). On cloud they are redacted for user-class
20
+ * callers on every read RPC; only getByExecutionId can return decrypted values,
21
+ * and only to runner-class credentials (see that RPC's comment).
21
22
  *
22
23
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController
23
24
  */
@@ -26,7 +27,8 @@ export declare const ExecutionContextQueryController: GenService<{
26
27
  * Get an ExecutionContext by ID.
27
28
  *
28
29
  * @internal
29
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
30
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
31
+ * Secret values are redacted on cloud.
30
32
  *
31
33
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.get
32
34
  */
@@ -39,7 +41,8 @@ export declare const ExecutionContextQueryController: GenService<{
39
41
  * Get an ExecutionContext by reference (slug-based lookup).
40
42
  *
41
43
  * @internal
42
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
44
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
45
+ * Secret values are redacted on cloud.
43
46
  *
44
47
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByReference
45
48
  */
@@ -53,9 +56,16 @@ export declare const ExecutionContextQueryController: GenService<{
53
56
  *
54
57
  * @internal
55
58
  * Primary lookup method used by runners to retrieve the merged environment
56
- * variables during workflow/agent execution. The returned context contains
57
- * decrypted secrets for runner consumption.
58
- * Handler-level derived auth: checks can_view on parent agent_execution or workflow_execution.
59
+ * variables during workflow/agent execution and MCP discovery.
60
+ * Handler-level auth (cloud): direct FGA can_view on the execution_context resource.
61
+ *
62
+ * Secret handling (cloud): the decrypt path is gated by caller credential
63
+ * class, not by FGA — runners authenticate as the user who owns the
64
+ * execution, so permissions cannot tell them apart. Callers presenting a
65
+ * platform-minted runner token (token_type of sandbox, workflow_sandbox,
66
+ * connect_sandbox, or embedded_runner) receive decrypted secret values;
67
+ * every other caller (user JWT, SDK, console) receives the same redaction
68
+ * as get/getByReference.
59
69
  *
60
70
  * @generated from rpc ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController.getByExecutionId
61
71
  */
@@ -15,14 +15,15 @@ export const file_ai_stigmer_agentic_executioncontext_v1_query = /*@__PURE__*/ f
15
15
  * ExecutionContextQueryController handles read operations for ExecutionContext resources.
16
16
  *
17
17
  * @internal
18
- * Authorization: All RPCs use is_skip_authorization with custom handler-level derived auth.
19
- * ExecutionContext is ephemeral (1:1 with its parent execution) and has no dedicated
20
- * FGA model. Authorization is derived from the parent execution:
21
- * - All read operations check can_view on parent agent_execution or workflow_execution
18
+ * Authorization: All RPCs use is_skip_authorization with handler-level auth.
19
+ * In cloud, the handler performs a direct FGA check: can_view on
20
+ * execution_context:<metadata.id>, against the owner tuple written at creation
21
+ * time by the create pipeline. OSS enforces no authorization.
22
22
  *
23
- * The handler loads the ExecutionContext, extracts the execution_id from spec,
24
- * and verifies the caller has permission on whichever parent type matches.
25
- * This avoids FGA tuple churn for short-lived resources while maintaining proper access control.
23
+ * Secret handling: values with is_secret=true are returned in plaintext on OSS
24
+ * (single-user local, no encryption). On cloud they are redacted for user-class
25
+ * callers on every read RPC; only getByExecutionId can return decrypted values,
26
+ * and only to runner-class credentials (see that RPC's comment).
26
27
  *
27
28
  * @generated from service ai.stigmer.agentic.executioncontext.v1.ExecutionContextQueryController
28
29
  */
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAC;AAE5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,0vBAA0vB,EAAE,CAAC,+CAA+C,EAAE,8CAA8C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEv/B;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,GA2CvC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/executioncontext/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0IAA0I;AAC1I,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,+CAA+C,EAAE,MAAM,aAAa,CAAC;AAE9E,OAAO,EAAE,8CAA8C,EAAE,MAAM,YAAY,CAAC;AAE5E,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,0vBAA0vB,EAAE,CAAC,+CAA+C,EAAE,8CAA8C,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEv/B;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAoDvC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
@@ -68,9 +68,17 @@ export declare const SessionCommandController: {
68
68
  /**
69
69
  * Delete a session.
70
70
  *
71
+ * Deletion cascades to the session's agent executions. Billing usage
72
+ * records are immutable and unaffected — they carry their own copies of
73
+ * the session and execution identifiers.
74
+ *
75
+ * Fails with FAILED_PRECONDITION while any agent execution in the
76
+ * session is still active (pending, in progress, waiting for approval,
77
+ * or paused); cancel it or wait for it to finish first.
78
+ *
71
79
  * @internal
72
- * Restricted to platform operators to preserve the billing and audit trail.
73
- * Regular users (including session owners) cannot delete sessions.
80
+ * Requires can_delete on the session (owner-only sessions are personal
81
+ * resources, so org admins have no implicit delete access).
74
82
  *
75
83
  * @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.delete
76
84
  */
@@ -75,9 +75,17 @@ export const SessionCommandController = {
75
75
  /**
76
76
  * Delete a session.
77
77
  *
78
+ * Deletion cascades to the session's agent executions. Billing usage
79
+ * records are immutable and unaffected — they carry their own copies of
80
+ * the session and execution identifiers.
81
+ *
82
+ * Fails with FAILED_PRECONDITION while any agent execution in the
83
+ * session is still active (pending, in progress, waiting for approval,
84
+ * or paused); cancel it or wait for it to finish first.
85
+ *
78
86
  * @internal
79
- * Restricted to platform operators to preserve the billing and audit trail.
80
- * Regular users (including session owners) cannot delete sessions.
87
+ * Requires can_delete on the session (owner-only sessions are personal
88
+ * resources, so org admins have no implicit delete access).
81
89
  *
82
90
  * @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.delete
83
91
  */
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAEnE;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAEnE;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;WAgBG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -69,9 +69,17 @@ export declare const SessionCommandController: GenService<{
69
69
  /**
70
70
  * Delete a session.
71
71
  *
72
+ * Deletion cascades to the session's agent executions. Billing usage
73
+ * records are immutable and unaffected — they carry their own copies of
74
+ * the session and execution identifiers.
75
+ *
76
+ * Fails with FAILED_PRECONDITION while any agent execution in the
77
+ * session is still active (pending, in progress, waiting for approval,
78
+ * or paused); cancel it or wait for it to finish first.
79
+ *
72
80
  * @internal
73
- * Restricted to platform operators to preserve the billing and audit trail.
74
- * Regular users (including session owners) cannot delete sessions.
81
+ * Requires can_delete on the session (owner-only sessions are personal
82
+ * resources, so org admins have no implicit delete access).
75
83
  *
76
84
  * @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.delete
77
85
  */
@@ -9,7 +9,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
9
9
  /**
10
10
  * Describes the file ai/stigmer/agentic/session/v1/command.proto.
11
11
  */
12
- export const file_ai_stigmer_agentic_session_v1_command = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9jb21tYW5kLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MTKMBgoYU2Vzc2lvbkNvbW1hbmRDb250cm9sbGVyElcKBWFwcGx5EiYuYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvbhomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24SpQEKBmNyZWF0ZRImLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24aJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkvCuBhHCAgQHiIMbWV0YWRhdGEub3JnKjN1bmF1dGhvcml6ZWQgdG8gY3JlYXRlIHNlc3Npb24gaW4gdGhpcyBvcmdhbml6YXRpb24SjwEKBnVwZGF0ZRImLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24aJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIjXCuBgxCAIQKiILbWV0YWRhdGEuaWQqHnVuYXV0aG9yaXplZCB0byB1cGRhdGUgc2Vzc2lvbhKpAQoNdXBkYXRlU3ViamVjdBI6LmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlVwZGF0ZVNlc3Npb25TdWJqZWN0UmVxdWVzdBomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24iNMK4GDAIAhAqIgJpZComdW5hdXRob3JpemVkIHRvIHVwZGF0ZSBzZXNzaW9uIHN1YmplY3QSqgEKBmRlbGV0ZRIoLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb25JZBomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24iTsK4GEoIGhAfKjt1bmF1dGhvcml6ZWQgdG8gZGVsZXRlIHNlc3Npb24g4oCUIG9wZXJhdG9yIGFjY2VzcyByZXF1aXJlZDIHc3RpZ21lchoEoP8rKmIGcHJvdG8z", [file_ai_stigmer_agentic_session_v1_api, file_ai_stigmer_agentic_session_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
12
+ export const file_ai_stigmer_agentic_session_v1_command = /*@__PURE__*/ f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SoedW5hdXRob3JpemVkIHRvIGRlbGV0ZSBzZXNzaW9uGgSg/ysqYgZwcm90bzM", [file_ai_stigmer_agentic_session_v1_api, file_ai_stigmer_agentic_session_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
13
  /**
14
14
  * SessionCommandController handles write operations for agent sessions.
15
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,soCAAsoC,EAAE,CAAC,sCAAsC,EAAE,qCAAqC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEz0C;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAsEhC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,6lCAA6lC,EAAE,CAAC,sCAAsC,EAAE,qCAAqC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEhyC;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GA8EhC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
@@ -92,17 +92,17 @@ export type ListSessionsRequest = Message<"ai.stigmer.agentic.session.v1.ListSes
92
92
  */
93
93
  export declare const ListSessionsRequestSchema: GenMessage<ListSessionsRequest>;
94
94
  /**
95
- * ListSessionsByAgentRequest lists all sessions for a specific agent.
95
+ * ListSessionsByAgentInstanceRequest lists all sessions for a specific agent instance.
96
96
  *
97
- * @generated from message ai.stigmer.agentic.session.v1.ListSessionsByAgentRequest
97
+ * @generated from message ai.stigmer.agentic.session.v1.ListSessionsByAgentInstanceRequest
98
98
  */
99
- export type ListSessionsByAgentRequest = Message<"ai.stigmer.agentic.session.v1.ListSessionsByAgentRequest"> & {
99
+ export type ListSessionsByAgentInstanceRequest = Message<"ai.stigmer.agentic.session.v1.ListSessionsByAgentInstanceRequest"> & {
100
100
  /**
101
- * Agent ID to filter by.
101
+ * Agent instance ID to filter by.
102
102
  *
103
- * @generated from field: string agent_id = 1;
103
+ * @generated from field: string agent_instance_id = 1;
104
104
  */
105
- agentId: string;
105
+ agentInstanceId: string;
106
106
  /**
107
107
  * Maximum number of sessions to return per page.
108
108
  *
@@ -117,10 +117,10 @@ export type ListSessionsByAgentRequest = Message<"ai.stigmer.agentic.session.v1.
117
117
  pageToken: string;
118
118
  };
119
119
  /**
120
- * Describes the message ai.stigmer.agentic.session.v1.ListSessionsByAgentRequest.
121
- * Use `create(ListSessionsByAgentRequestSchema)` to create a new message.
120
+ * Describes the message ai.stigmer.agentic.session.v1.ListSessionsByAgentInstanceRequest.
121
+ * Use `create(ListSessionsByAgentInstanceRequestSchema)` to create a new message.
122
122
  */
123
- export declare const ListSessionsByAgentRequestSchema: GenMessage<ListSessionsByAgentRequest>;
123
+ export declare const ListSessionsByAgentInstanceRequestSchema: GenMessage<ListSessionsByAgentInstanceRequest>;
124
124
  /**
125
125
  * UpdateSessionSubjectRequest sets the conversation title for a session.
126
126
  *
@@ -7,7 +7,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
7
7
  /**
8
8
  * Describes the file ai/stigmer/agentic/session/v1/io.proto.
9
9
  */
10
- export const file_ai_stigmer_agentic_session_v1_io = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9pby5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEiIgoJU2Vzc2lvbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEiIAoHQWdlbnRJZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIlsKC1Nlc3Npb25MaXN0EhMKC3RvdGFsX3BhZ2VzGAEgASgFEjcKB2VudHJpZXMYAiADKAsyJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkoKE0xpc3RTZXNzaW9uc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkSDAoEdGFncxgDIAMoCSJdChpMaXN0U2Vzc2lvbnNCeUFnZW50UmVxdWVzdBIYCghhZ2VudF9pZBgBIAEoCUIGukgDyAEBEhEKCXBhZ2Vfc2l6ZRgCIAEoBRISCgpwYWdlX3Rva2VuGAMgASgJIkIKG1VwZGF0ZVNlc3Npb25TdWJqZWN0UmVxdWVzdBISCgJpZBgBIAEoCUIGukgDyAEBEg8KB3N1YmplY3QYAiABKAliBnByb3RvMw", [file_ai_stigmer_agentic_session_v1_api, file_buf_validate_validate]);
10
+ export const file_ai_stigmer_agentic_session_v1_io = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9pby5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEiIgoJU2Vzc2lvbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEiIAoHQWdlbnRJZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIlsKC1Nlc3Npb25MaXN0EhMKC3RvdGFsX3BhZ2VzGAEgASgFEjcKB2VudHJpZXMYAiADKAsyJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkoKE0xpc3RTZXNzaW9uc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkSDAoEdGFncxgDIAMoCSJuCiJMaXN0U2Vzc2lvbnNCeUFnZW50SW5zdGFuY2VSZXF1ZXN0EiEKEWFnZW50X2luc3RhbmNlX2lkGAEgASgJQga6SAPIAQESEQoJcGFnZV9zaXplGAIgASgFEhIKCnBhZ2VfdG9rZW4YAyABKAkiQgobVXBkYXRlU2Vzc2lvblN1YmplY3RSZXF1ZXN0EhIKAmlkGAEgASgJQga6SAPIAQESDwoHc3ViamVjdBgCIAEoCWIGcHJvdG8z", [file_ai_stigmer_agentic_session_v1_api, file_buf_validate_validate]);
11
11
  /**
12
12
  * Describes the message ai.stigmer.agentic.session.v1.SessionId.
13
13
  * Use `create(SessionIdSchema)` to create a new message.
@@ -29,10 +29,10 @@ export const SessionListSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agent
29
29
  */
30
30
  export const ListSessionsRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_io, 3);
31
31
  /**
32
- * Describes the message ai.stigmer.agentic.session.v1.ListSessionsByAgentRequest.
33
- * Use `create(ListSessionsByAgentRequestSchema)` to create a new message.
32
+ * Describes the message ai.stigmer.agentic.session.v1.ListSessionsByAgentInstanceRequest.
33
+ * Use `create(ListSessionsByAgentInstanceRequestSchema)` to create a new message.
34
34
  */
35
- export const ListSessionsByAgentRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_io, 4);
35
+ export const ListSessionsByAgentInstanceRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_io, 4);
36
36
  /**
37
37
  * Describes the message ai.stigmer.agentic.session.v1.UpdateSessionSubjectRequest.
38
38
  * Use `create(UpdateSessionSubjectRequestSchema)` to create a new message.
@@ -1 +1 @@
1
- {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,ooBAAooB,EAAE,CAAC,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAcvtB;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAcxD;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAuBxD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC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,CACnH,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA4BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
@@ -32,15 +32,16 @@ export declare const SessionQueryController: {
32
32
  readonly kind: any;
33
33
  };
34
34
  /**
35
- * List all sessions for a specific agent.
35
+ * List all sessions for a specific agent instance.
36
36
  *
37
37
  * @internal
38
- * Authorization is handled in-handler via FGA-filtered queries.
38
+ * Authorization is handled in handler via FGA query for authorized
39
+ * session_ids, then filtered by agent_instance_id.
39
40
  *
40
- * @generated from rpc ai.stigmer.agentic.session.v1.SessionQueryController.listByAgent
41
+ * @generated from rpc ai.stigmer.agentic.session.v1.SessionQueryController.listByAgentInstance
41
42
  */
42
- readonly listByAgent: {
43
- readonly name: "listByAgent";
43
+ readonly listByAgentInstance: {
44
+ readonly name: "listByAgentInstance";
44
45
  readonly I: any;
45
46
  readonly O: any;
46
47
  readonly kind: any;
@@ -2,7 +2,7 @@
2
2
  // @generated from file ai/stigmer/agentic/session/v1/query.proto (package ai.stigmer.agentic.session.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { ListSessionsByAgentRequest, ListSessionsRequest, SessionId, SessionList } from "./io_pbjs";
5
+ import { ListSessionsByAgentInstanceRequest, ListSessionsRequest, SessionId, SessionList } from "./io_pbjs";
6
6
  import { Session } from "./api_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
  /**
@@ -39,16 +39,17 @@ export const SessionQueryController = {
39
39
  kind: MethodKind.Unary,
40
40
  },
41
41
  /**
42
- * List all sessions for a specific agent.
42
+ * List all sessions for a specific agent instance.
43
43
  *
44
44
  * @internal
45
- * Authorization is handled in-handler via FGA-filtered queries.
45
+ * Authorization is handled in handler via FGA query for authorized
46
+ * session_ids, then filtered by agent_instance_id.
46
47
  *
47
- * @generated from rpc ai.stigmer.agentic.session.v1.SessionQueryController.listByAgent
48
+ * @generated from rpc ai.stigmer.agentic.session.v1.SessionQueryController.listByAgentInstance
48
49
  */
49
- listByAgent: {
50
- name: "listByAgent",
51
- I: ListSessionsByAgentRequest,
50
+ listByAgentInstance: {
51
+ name: "listByAgentInstance",
52
+ I: ListSessionsByAgentInstanceRequest,
52
53
  O: SessionList,
53
54
  kind: MethodKind.Unary,
54
55
  },
@@ -1 +1 @@
1
- {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,wHAAwH;AACxH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,0BAA0B,EAAE,mBAAmB,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACpG,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,sDAAsD;IAChE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,mBAAmB;YACtB,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,0BAA0B;YAC7B,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,wHAAwH;AACxH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kCAAkC,EAAE,mBAAmB,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAC5G,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,QAAQ,EAAE,sDAAsD;IAChE,OAAO,EAAE;QACP;;;;WAIG;QACH,GAAG,EAAE;YACH,IAAI,EAAE,KAAK;YACX,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,mBAAmB;YACtB,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,kCAAkC;YACrC,CAAC,EAAE,WAAW;YACd,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { SessionSchema } from "./api_pb.js";
3
- import type { ListSessionsByAgentRequestSchema, ListSessionsRequestSchema, SessionIdSchema, SessionListSchema } from "./io_pb.js";
3
+ import type { ListSessionsByAgentInstanceRequestSchema, ListSessionsRequestSchema, SessionIdSchema, SessionListSchema } from "./io_pb.js";
4
4
  /**
5
5
  * Describes the file ai/stigmer/agentic/session/v1/query.proto.
6
6
  */
@@ -35,16 +35,17 @@ export declare const SessionQueryController: GenService<{
35
35
  output: typeof SessionListSchema;
36
36
  };
37
37
  /**
38
- * List all sessions for a specific agent.
38
+ * List all sessions for a specific agent instance.
39
39
  *
40
40
  * @internal
41
- * Authorization is handled in-handler via FGA-filtered queries.
41
+ * Authorization is handled in handler via FGA query for authorized
42
+ * session_ids, then filtered by agent_instance_id.
42
43
  *
43
- * @generated from rpc ai.stigmer.agentic.session.v1.SessionQueryController.listByAgent
44
+ * @generated from rpc ai.stigmer.agentic.session.v1.SessionQueryController.listByAgentInstance
44
45
  */
45
- listByAgent: {
46
+ listByAgentInstance: {
46
47
  methodKind: "unary";
47
- input: typeof ListSessionsByAgentRequestSchema;
48
+ input: typeof ListSessionsByAgentInstanceRequestSchema;
48
49
  output: typeof SessionListSchema;
49
50
  };
50
51
  }>;
@@ -9,7 +9,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
9
9
  /**
10
10
  * Describes the file ai/stigmer/agentic/session/v1/query.proto.
11
11
  */
12
- export const file_ai_stigmer_agentic_session_v1_query = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9xdWVyeS5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEykAMKFlNlc3Npb25RdWVyeUNvbnRyb2xsZXIShQEKA2dldBIoLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb25JZBomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24iLMK4GCgIARAqIgV2YWx1ZSobdW5hdXRob3JpemVkIHRvIGdldCBzZXNzaW9uEmwKBGxpc3QSMi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5MaXN0U2Vzc2lvbnNSZXF1ZXN0GiouYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvbkxpc3QiBNC4GAESegoLbGlzdEJ5QWdlbnQSOS5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5MaXN0U2Vzc2lvbnNCeUFnZW50UmVxdWVzdBoqLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb25MaXN0IgTQuBgBGgSg/ysqYgZwcm90bzM", [file_ai_stigmer_agentic_session_v1_api, file_ai_stigmer_agentic_session_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
12
+ export const file_ai_stigmer_agentic_session_v1_query = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9xdWVyeS5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEyoQMKFlNlc3Npb25RdWVyeUNvbnRyb2xsZXIShQEKA2dldBIoLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb25JZBomLmFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxLlNlc3Npb24iLMK4GCgIARAqIgV2YWx1ZSobdW5hdXRob3JpemVkIHRvIGdldCBzZXNzaW9uEmwKBGxpc3QSMi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5MaXN0U2Vzc2lvbnNSZXF1ZXN0GiouYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvbkxpc3QiBNC4GAESigEKE2xpc3RCeUFnZW50SW5zdGFuY2USQS5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5MaXN0U2Vzc2lvbnNCeUFnZW50SW5zdGFuY2VSZXF1ZXN0GiouYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvbkxpc3QiBNC4GAEaBKD/KypiBnByb3RvMw", [file_ai_stigmer_agentic_session_v1_api, file_ai_stigmer_agentic_session_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
13
  /**
14
14
  * SessionQueryController handles read operations for agent sessions.
15
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wHAAwH;AACxH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,yoBAAyoB,EAAE,CAAC,sCAAsC,EAAE,qCAAqC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE50B;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAqC9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/query_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wHAAwH;AACxH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,gqBAAgqB,EAAE,CAAC,sCAAsC,EAAE,qCAAqC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEn2B;;;;GAIG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAsC9B,aAAa,CAChB,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
@@ -84,18 +84,22 @@ export declare const WorkflowCommandController: {
84
84
  /**
85
85
  * Validate a workflow spec without persisting it.
86
86
  *
87
- * Runs the same two-layer validation pipeline used by create/update:
88
- * Layer 1: Proto field constraints (buf validate / protovalidate)
89
- * Layer 2: Temporal-based structural validation (Go activity: proto → YAML → Zigflow)
90
- *
91
- * Returns ServerlessWorkflowValidation with:
92
- * - VALID: Workflow structure passed all checks
93
- * - INVALID: User error (bad structure, missing fields, unknown task kinds)
94
- * - FAILED: System error (Temporal unavailable, converter crash)
95
- *
96
- * This RPC does NOT persist, authorize, or create instances. It is a
97
- * pure validation endpoint suitable for iterative authoring workflows
98
- * where the caller needs fast feedback before committing.
87
+ * Runs the same two validation layers as create/update, but never throws for a
88
+ * user-fixable spec problem: it always returns a structured
89
+ * ServerlessWorkflowValidation the caller can render field-by-field.
90
+ * Layer 1: proto field constraints (buf validate / protovalidate)
91
+ * Layer 2: in-process structural validation (proto → CNCF YAML plus
92
+ * structural, cross-reference, model, and budget checks)
93
+ *
94
+ * Result states:
95
+ * - VALID: workflow structure passed all checks
96
+ * - INVALID: user error (bad structure, missing fields, unknown task kinds)
97
+ * - FAILED: internal validation fault (reserved; not a user error)
98
+ *
99
+ * gRPC errors are limited to input that cannot be validated at all (a missing
100
+ * workflow or spec) and to genuine internal faults. This RPC does NOT persist,
101
+ * authorize, or create instances. It is a pure validation endpoint suitable for
102
+ * iterative authoring where the caller needs fast feedback before committing.
99
103
  *
100
104
  * @internal
101
105
  * Authorization: Uses the same permission as create — caller must have