@stigmer/protos 0.0.72 → 0.0.74

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 (178) hide show
  1. package/ai/stigmer/agentic/agent/v1/command_pb.js +2 -2
  2. package/ai/stigmer/agentic/agent/v1/command_pb.js.map +1 -1
  3. package/ai/stigmer/agentic/agent/v1/query_pb.js +2 -2
  4. package/ai/stigmer/agentic/agent/v1/query_pb.js.map +1 -1
  5. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +8 -6
  6. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js +2 -2
  8. package/ai/stigmer/agentic/agentexecution/v1/command_pb.js.map +1 -1
  9. package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +4 -3
  10. package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
  11. package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +2 -8
  12. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +2 -8
  13. package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
  14. package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +2 -8
  15. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +2 -2
  16. package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
  17. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +1 -1
  18. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +2 -2
  19. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
  20. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js +2 -2
  21. package/ai/stigmer/agentic/agentinstance/v1/query_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/environment/v1/command_pb.js +2 -2
  23. package/ai/stigmer/agentic/environment/v1/command_pb.js.map +1 -1
  24. package/ai/stigmer/agentic/environment/v1/query_pb.js +2 -2
  25. package/ai/stigmer/agentic/environment/v1/query_pb.js.map +1 -1
  26. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js +2 -2
  27. package/ai/stigmer/agentic/executioncontext/v1/command_pb.js.map +1 -1
  28. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js +2 -2
  29. package/ai/stigmer/agentic/executioncontext/v1/query_pb.js.map +1 -1
  30. package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +16 -36
  31. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +17 -37
  32. package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
  33. package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +17 -36
  34. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +2 -2
  35. package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
  36. package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +20 -48
  37. package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +4 -10
  38. package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
  39. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +2 -2
  40. package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
  41. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +100 -15
  42. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +7 -1
  43. package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
  44. package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +26 -60
  45. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +2 -45
  46. package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
  47. package/ai/stigmer/agentic/session/v1/command_pb.js +2 -2
  48. package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
  49. package/ai/stigmer/agentic/session/v1/query_pb.js +2 -2
  50. package/ai/stigmer/agentic/session/v1/query_pb.js.map +1 -1
  51. package/ai/stigmer/agentic/skill/v1/command_pb.js +2 -2
  52. package/ai/stigmer/agentic/skill/v1/command_pb.js.map +1 -1
  53. package/ai/stigmer/agentic/skill/v1/query_pb.js +2 -2
  54. package/ai/stigmer/agentic/skill/v1/query_pb.js.map +1 -1
  55. package/ai/stigmer/agentic/workflow/v1/command_pb.js +2 -2
  56. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  57. package/ai/stigmer/agentic/workflow/v1/query_pb.js +2 -2
  58. package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
  59. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js +2 -2
  60. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js +2 -2
  62. package/ai/stigmer/agentic/workflowexecution/v1/query_pb.js.map +1 -1
  63. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -2
  64. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
  65. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js +2 -2
  66. package/ai/stigmer/agentic/workflowinstance/v1/query_pb.js.map +1 -1
  67. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +6 -0
  68. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +7 -1
  69. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  70. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.d.ts +28 -0
  71. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js +2 -1
  72. package/ai/stigmer/commons/apiresource/apiresourcekind/authorization_config_pb.js.map +1 -1
  73. package/ai/stigmer/{iam/iampolicy/v1/rpcauthorization/io_pb.d.ts → commons/rpc/authorization_config_pb.d.ts} +9 -9
  74. package/ai/stigmer/commons/rpc/authorization_config_pb.js +16 -0
  75. package/ai/stigmer/commons/rpc/authorization_config_pb.js.map +1 -0
  76. package/ai/stigmer/{iam/iampolicy/v1/rpcauthorization → commons/rpc}/method_options_pb.d.ts +4 -4
  77. package/ai/stigmer/commons/rpc/method_options_pb.js +29 -0
  78. package/ai/stigmer/commons/rpc/method_options_pb.js.map +1 -0
  79. package/ai/stigmer/iam/apikey/v1/command_pb.js +2 -2
  80. package/ai/stigmer/iam/apikey/v1/command_pb.js.map +1 -1
  81. package/ai/stigmer/iam/apikey/v1/query_pb.js +2 -2
  82. package/ai/stigmer/iam/apikey/v1/query_pb.js.map +1 -1
  83. package/ai/stigmer/iam/iampolicy/v1/command_connect.d.ts +33 -0
  84. package/ai/stigmer/iam/iampolicy/v1/command_connect.js +33 -0
  85. package/ai/stigmer/iam/iampolicy/v1/command_connect.js.map +1 -1
  86. package/ai/stigmer/iam/iampolicy/v1/command_pb.d.ts +33 -0
  87. package/ai/stigmer/iam/iampolicy/v1/command_pb.js +3 -2
  88. package/ai/stigmer/iam/iampolicy/v1/command_pb.js.map +1 -1
  89. package/ai/stigmer/iam/iampolicy/v1/query_connect.d.ts +66 -0
  90. package/ai/stigmer/iam/iampolicy/v1/query_connect.js +66 -0
  91. package/ai/stigmer/iam/iampolicy/v1/query_connect.js.map +1 -1
  92. package/ai/stigmer/iam/iampolicy/v1/query_pb.d.ts +64 -1
  93. package/ai/stigmer/iam/iampolicy/v1/query_pb.js +2 -2
  94. package/ai/stigmer/iam/iampolicy/v1/query_pb.js.map +1 -1
  95. package/ai/stigmer/iam/iampolicy/v1/spec_pb.d.ts +1 -1
  96. package/ai/stigmer/iam/identityaccount/v1/command_connect.d.ts +61 -1
  97. package/ai/stigmer/iam/identityaccount/v1/command_connect.js +61 -1
  98. package/ai/stigmer/iam/identityaccount/v1/command_connect.js.map +1 -1
  99. package/ai/stigmer/iam/identityaccount/v1/command_pb.d.ts +59 -2
  100. package/ai/stigmer/iam/identityaccount/v1/command_pb.js +2 -2
  101. package/ai/stigmer/iam/identityaccount/v1/command_pb.js.map +1 -1
  102. package/ai/stigmer/iam/identityaccount/v1/enum_pb.d.ts +1 -1
  103. package/ai/stigmer/iam/identityaccount/v1/enum_pb.js +1 -1
  104. package/ai/stigmer/iam/identityaccount/v1/io_pb.d.ts +219 -0
  105. package/ai/stigmer/iam/identityaccount/v1/io_pb.js +22 -1
  106. package/ai/stigmer/iam/identityaccount/v1/io_pb.js.map +1 -1
  107. package/ai/stigmer/iam/identityaccount/v1/query_connect.d.ts +26 -2
  108. package/ai/stigmer/iam/identityaccount/v1/query_connect.js +26 -2
  109. package/ai/stigmer/iam/identityaccount/v1/query_connect.js.map +1 -1
  110. package/ai/stigmer/iam/identityaccount/v1/query_pb.d.ts +26 -3
  111. package/ai/stigmer/iam/identityaccount/v1/query_pb.js +2 -2
  112. package/ai/stigmer/iam/identityaccount/v1/query_pb.js.map +1 -1
  113. package/ai/stigmer/iam/identityaccount/v1/spec_pb.d.ts +9 -7
  114. package/ai/stigmer/iam/identityaccount/v1/spec_pb.js.map +1 -1
  115. package/ai/stigmer/iam/identityprovider/v1/command_pb.js +2 -2
  116. package/ai/stigmer/iam/identityprovider/v1/command_pb.js.map +1 -1
  117. package/ai/stigmer/iam/identityprovider/v1/io_pb.d.ts +88 -0
  118. package/ai/stigmer/iam/identityprovider/v1/io_pb.js +16 -1
  119. package/ai/stigmer/iam/identityprovider/v1/io_pb.js.map +1 -1
  120. package/ai/stigmer/iam/identityprovider/v1/query_connect.d.ts +39 -0
  121. package/ai/stigmer/iam/identityprovider/v1/query_connect.js +39 -0
  122. package/ai/stigmer/iam/identityprovider/v1/query_connect.js.map +1 -1
  123. package/ai/stigmer/iam/identityprovider/v1/query_pb.d.ts +38 -0
  124. package/ai/stigmer/iam/identityprovider/v1/query_pb.js +3 -2
  125. package/ai/stigmer/iam/identityprovider/v1/query_pb.js.map +1 -1
  126. package/ai/stigmer/iam/identityprovider/v1/spec_pb.d.ts +60 -7
  127. package/ai/stigmer/iam/identityprovider/v1/spec_pb.js +1 -1
  128. package/ai/stigmer/iam/identityprovider/v1/spec_pb.js.map +1 -1
  129. package/ai/stigmer/iam/invitation/v1/api_pb.d.ts +132 -0
  130. package/ai/stigmer/iam/invitation/v1/api_pb.js +30 -0
  131. package/ai/stigmer/iam/invitation/v1/api_pb.js.map +1 -0
  132. package/ai/stigmer/iam/invitation/v1/command_connect.d.ts +79 -0
  133. package/ai/stigmer/iam/invitation/v1/command_connect.js +85 -0
  134. package/ai/stigmer/iam/invitation/v1/command_connect.js.map +1 -0
  135. package/ai/stigmer/iam/invitation/v1/command_pb.d.ts +80 -0
  136. package/ai/stigmer/iam/invitation/v1/command_pb.js +19 -0
  137. package/ai/stigmer/iam/invitation/v1/command_pb.js.map +1 -0
  138. package/ai/stigmer/iam/invitation/v1/enum_pb.d.ts +49 -0
  139. package/ai/stigmer/iam/invitation/v1/enum_pb.js +54 -0
  140. package/ai/stigmer/iam/invitation/v1/enum_pb.js.map +1 -0
  141. package/ai/stigmer/iam/invitation/v1/io_pb.d.ts +173 -0
  142. package/ai/stigmer/iam/invitation/v1/io_pb.js +43 -0
  143. package/ai/stigmer/iam/invitation/v1/io_pb.js.map +1 -0
  144. package/ai/stigmer/iam/invitation/v1/query_connect.d.ts +68 -0
  145. package/ai/stigmer/iam/invitation/v1/query_connect.js +74 -0
  146. package/ai/stigmer/iam/invitation/v1/query_connect.js.map +1 -0
  147. package/ai/stigmer/iam/invitation/v1/query_pb.d.ts +69 -0
  148. package/ai/stigmer/iam/invitation/v1/query_pb.js +19 -0
  149. package/ai/stigmer/iam/invitation/v1/query_pb.js.map +1 -0
  150. package/ai/stigmer/iam/invitation/v1/spec_pb.d.ts +77 -0
  151. package/ai/stigmer/iam/invitation/v1/spec_pb.js +17 -0
  152. package/ai/stigmer/iam/invitation/v1/spec_pb.js.map +1 -0
  153. package/ai/stigmer/iam/v1/enum_pb.d.ts +183 -0
  154. package/ai/stigmer/iam/v1/enum_pb.js +189 -0
  155. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -0
  156. package/ai/stigmer/platform/github/v1/service_pb.js +2 -2
  157. package/ai/stigmer/platform/github/v1/service_pb.js.map +1 -1
  158. package/ai/stigmer/search/v1/io_pb.d.ts +15 -0
  159. package/ai/stigmer/search/v1/io_pb.js +1 -1
  160. package/ai/stigmer/search/v1/io_pb.js.map +1 -1
  161. package/ai/stigmer/search/v1/query_pb.js +2 -2
  162. package/ai/stigmer/search/v1/query_pb.js.map +1 -1
  163. package/ai/stigmer/tenancy/organization/v1/command_pb.js +2 -2
  164. package/ai/stigmer/tenancy/organization/v1/command_pb.js.map +1 -1
  165. package/ai/stigmer/tenancy/organization/v1/query_pb.js +2 -2
  166. package/ai/stigmer/tenancy/organization/v1/query_pb.js.map +1 -1
  167. package/ai/stigmer/tenancy/project/v1/command_pb.js +2 -2
  168. package/ai/stigmer/tenancy/project/v1/command_pb.js.map +1 -1
  169. package/ai/stigmer/tenancy/project/v1/query_pb.js +2 -2
  170. package/ai/stigmer/tenancy/project/v1/query_pb.js.map +1 -1
  171. package/package.json +1 -1
  172. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.d.ts +0 -198
  173. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js +0 -203
  174. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/iam_permission_pb.js.map +0 -1
  175. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js +0 -16
  176. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/io_pb.js.map +0 -1
  177. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js +0 -29
  178. package/ai/stigmer/iam/iampolicy/v1/rpcauthorization/method_options_pb.js.map +0 -1
@@ -118,55 +118,35 @@ export const McpServerCommandController = {
118
118
  kind: MethodKind.Unary,
119
119
  },
120
120
  /**
121
- * Update the discovered capabilities (tools and resource templates) for an MCP server.
122
- *
123
- * Only modifies status.discovered_capabilities, leaving spec, validation
124
- * state, and other status fields untouched.
125
- *
126
- * @internal
127
- * Typical flow:
128
- * 1. CLI calls getByReference(org/slug) to fetch the McpServer and its ID
129
- * 2. CLI connects to the MCP server locally and queries tools/resources
130
- * 3. CLI calls this RPC with the ID and discovered capabilities
131
- *
132
- * Authorization: Requires can_edit permission on the mcp_server resource.
133
- *
134
- * @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.updateDiscoveredCapabilities
135
- */
136
- updateDiscoveredCapabilities: {
137
- name: "updateDiscoveredCapabilities",
138
- I: UpdateDiscoveredCapabilitiesInput,
139
- O: McpServer,
140
- kind: MethodKind.Unary,
141
- },
142
- /**
143
- * Discover the capabilities of an MCP server by connecting to it.
121
+ * Connect to an MCP server: discover its tools and classify approval policies.
144
122
  *
145
123
  * Connects to the MCP server, enumerates tools and resource templates,
146
- * and stores the result. Blocks until discovery completes (up to ~30 seconds)
147
- * and returns the updated McpServer with populated
148
- * status.discovered_capabilities.
124
+ * classifies tool approval policies via a lightweight LLM, and stores the
125
+ * results in status.discovered_capabilities and status.tool_approvals.
126
+ * Blocks until completion (up to ~30 seconds) and returns the updated McpServer.
149
127
  *
150
128
  * @internal
151
- * Typical flow:
152
- * 1. Web console ensures required credentials are saved in the user's personal environment
153
- * 2. Web console calls discoverCapabilities with the MCP server ID
154
- * 3. Backend resolves env vars from the user's personal environment
155
- * 4. Backend starts a Temporal workflow; agent-runner connects to the MCP server
156
- * 5. Discovered tools and resource templates are stored and returned
129
+ * Typical flows:
130
+ * - Web console: user clicks Connect, backend resolves env vars from the
131
+ * user's personal environment, starts a Temporal workflow on the agent-runner.
132
+ * - CLI: `stigmer discover mcp-server <name>` calls connect with runtime_env
133
+ * populated from local env vars, delegating discovery to the backend.
134
+ * - Graphton backfill: agent-runner calls connect on first execution when
135
+ * status.discovered_capabilities is empty, passing runtime_env from the
136
+ * execution context.
157
137
  *
158
138
  * Errors:
159
139
  * - FAILED_PRECONDITION: Required credentials missing from personal environment
160
140
  * - DEADLINE_EXCEEDED: Discovery did not complete within the timeout
161
141
  * - NOT_FOUND: MCP server does not exist
162
142
  *
163
- * Authorization: Requires can_edit permission on the mcp_server resource.
143
+ * Authorization: Requires can_connect permission on the mcp_server resource.
164
144
  *
165
- * @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.discoverCapabilities
145
+ * @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.connect
166
146
  */
167
- discoverCapabilities: {
168
- name: "discoverCapabilities",
169
- I: DiscoverCapabilitiesInput,
147
+ connect: {
148
+ name: "connect",
149
+ I: ConnectInput,
170
150
  O: McpServer,
171
151
  kind: MethodKind.Unary,
172
152
  },
@@ -1 +1 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,4DAA4D;IACtE,OAAO,EAAE;QACP;;;;;;;;;;;;;WAaG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,4BAA4B,EAAE;YAC5B,IAAI,EAAE,8BAA8B;YACpC,CAAC,EAAE,iCAAiC;YACpC,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
1
+ {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_connect.ts"],"names":[],"mappings":"AAAA,wEAAwE;AACxE,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAGd,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIhD;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,QAAQ,EAAE,4DAA4D;IACtE,OAAO,EAAE;QACP;;;;;;;;;;;;;WAaG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;WAWG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;WAUG;QACH,gBAAgB,EAAE;YAChB,IAAI,EAAE,kBAAkB;YACxB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,SAAS;YACZ,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;WA0BG;QACH,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,CAAC,EAAE,YAAY;YACf,CAAC,EAAE,SAAS;YACZ,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 { McpServerSchema } from "./api_pb";
3
- import type { DiscoverCapabilitiesInputSchema, UpdateDiscoveredCapabilitiesInputSchema } from "./io_pb";
3
+ import type { ConnectInputSchema } from "./io_pb";
4
4
  import type { ApiResourceDeleteInputSchema, UpdateVisibilityInputSchema } from "../../../commons/apiresource/io_pb";
5
5
  /**
6
6
  * Describes the file ai/stigmer/agentic/mcpserver/v1/command.proto.
@@ -114,54 +114,35 @@ export declare const McpServerCommandController: GenService<{
114
114
  output: typeof McpServerSchema;
115
115
  };
116
116
  /**
117
- * Update the discovered capabilities (tools and resource templates) for an MCP server.
118
- *
119
- * Only modifies status.discovered_capabilities, leaving spec, validation
120
- * state, and other status fields untouched.
121
- *
122
- * @internal
123
- * Typical flow:
124
- * 1. CLI calls getByReference(org/slug) to fetch the McpServer and its ID
125
- * 2. CLI connects to the MCP server locally and queries tools/resources
126
- * 3. CLI calls this RPC with the ID and discovered capabilities
127
- *
128
- * Authorization: Requires can_edit permission on the mcp_server resource.
129
- *
130
- * @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.updateDiscoveredCapabilities
131
- */
132
- updateDiscoveredCapabilities: {
133
- methodKind: "unary";
134
- input: typeof UpdateDiscoveredCapabilitiesInputSchema;
135
- output: typeof McpServerSchema;
136
- };
137
- /**
138
- * Discover the capabilities of an MCP server by connecting to it.
117
+ * Connect to an MCP server: discover its tools and classify approval policies.
139
118
  *
140
119
  * Connects to the MCP server, enumerates tools and resource templates,
141
- * and stores the result. Blocks until discovery completes (up to ~30 seconds)
142
- * and returns the updated McpServer with populated
143
- * status.discovered_capabilities.
120
+ * classifies tool approval policies via a lightweight LLM, and stores the
121
+ * results in status.discovered_capabilities and status.tool_approvals.
122
+ * Blocks until completion (up to ~30 seconds) and returns the updated McpServer.
144
123
  *
145
124
  * @internal
146
- * Typical flow:
147
- * 1. Web console ensures required credentials are saved in the user's personal environment
148
- * 2. Web console calls discoverCapabilities with the MCP server ID
149
- * 3. Backend resolves env vars from the user's personal environment
150
- * 4. Backend starts a Temporal workflow; agent-runner connects to the MCP server
151
- * 5. Discovered tools and resource templates are stored and returned
125
+ * Typical flows:
126
+ * - Web console: user clicks Connect, backend resolves env vars from the
127
+ * user's personal environment, starts a Temporal workflow on the agent-runner.
128
+ * - CLI: `stigmer discover mcp-server <name>` calls connect with runtime_env
129
+ * populated from local env vars, delegating discovery to the backend.
130
+ * - Graphton backfill: agent-runner calls connect on first execution when
131
+ * status.discovered_capabilities is empty, passing runtime_env from the
132
+ * execution context.
152
133
  *
153
134
  * Errors:
154
135
  * - FAILED_PRECONDITION: Required credentials missing from personal environment
155
136
  * - DEADLINE_EXCEEDED: Discovery did not complete within the timeout
156
137
  * - NOT_FOUND: MCP server does not exist
157
138
  *
158
- * Authorization: Requires can_edit permission on the mcp_server resource.
139
+ * Authorization: Requires can_connect permission on the mcp_server resource.
159
140
  *
160
- * @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.discoverCapabilities
141
+ * @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.connect
161
142
  */
162
- discoverCapabilities: {
143
+ connect: {
163
144
  methodKind: "unary";
164
- input: typeof DiscoverCapabilitiesInputSchema;
145
+ input: typeof ConnectInputSchema;
165
146
  output: typeof McpServerSchema;
166
147
  };
167
148
  }>;
@@ -6,11 +6,11 @@ import { file_ai_stigmer_agentic_mcpserver_v1_api } from "./api_pb";
6
6
  import { file_ai_stigmer_agentic_mcpserver_v1_io } from "./io_pb";
7
7
  import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb";
8
8
  import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
9
- import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from "../../../iam/iampolicy/v1/rpcauthorization/method_options_pb";
9
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
10
10
  /**
11
11
  * Describes the file ai/stigmer/agentic/mcpserver/v1/command.proto.
12
12
  */
13
- export const file_ai_stigmer_agentic_mcpserver_v1_command = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL2NvbW1hbmQucHJvdG8SH2FpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEylAkKGk1jcFNlcnZlckNvbW1hbmRDb250cm9sbGVyEl8KBWFwcGx5EiouYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5NY3BTZXJ2ZXIaKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchJmCgZjcmVhdGUSKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchoqLmFpLnN0aWdtZXIuYWd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dGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLkRpc2NvdmVyQ2FwYWJpbGl0aWVzSW5wdXQaKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlciJJwrgYRQgEECwiDW1jcF9zZXJ2ZXJfaWQqMHVuYXV0aG9yaXplZCB0byBkaXNjb3ZlciBtY3Agc2VydmVyIGNhcGFiaWxpdGllcxoEoP8rLGIGcHJvdG8z", [file_ai_stigmer_agentic_mcpserver_v1_api, file_ai_stigmer_agentic_mcpserver_v1_io, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options]);
13
+ export const file_ai_stigmer_agentic_mcpserver_v1_command = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL2NvbW1hbmQucHJvdG8SH2FpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEylQcKGk1jcFNlcnZlckNvbW1hbmRDb250cm9sbGVyEl8KBWFwcGx5EiouYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5NY3BTZXJ2ZXIaKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchJmCgZjcmVhdGUSKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchoqLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuTWNwU2VydmVyIgTQuBgBEpoBCgZ1cGRhdGUSKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchoqLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuTWNwU2VydmVyIjjCuBg0CAIQLCILbWV0YWRhdGEuaWQqIXVuYXV0aG9yaXplZCB0byB1cGRhdGUgbWNwIHNlcnZlchKmAQoGZGVsZXRlEjYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlRGVsZXRlSW5wdXQaKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlciI4wrgYNAgDECwiC3Jlc291cmNlX2lkKiF1bmF1dGhvcml6ZWQgdG8gZGVsZXRlIG1jcCBzZXJ2ZXISugEKEHVwZGF0ZVZpc2liaWxpdHkSNS5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuVXBkYXRlVmlzaWJpbGl0eUlucHV0GiouYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5NY3BTZXJ2ZXIiQ8K4GD8IAhAsIgtyZXNvdXJjZV9pZCosdW5hdXRob3JpemVkIHRvIHVwZGF0ZSBtY3Agc2VydmVyIHZpc2liaWxpdHkSpAEKB2Nvbm5lY3QSLS5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLkNvbm5lY3RJbnB1dBoqLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuTWNwU2VydmVyIj7CuBg6CBYQLCINbWNwX3NlcnZlcl9pZColdW5hdXRob3JpemVkIHRvIGNvbm5lY3QgdG8gbWNwIHNlcnZlchoEoP8rLGIGcHJvdG8z", [file_ai_stigmer_agentic_mcpserver_v1_api, file_ai_stigmer_agentic_mcpserver_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
  * McpServerCommandController provides write operations for MCP server resources.
16
16
  *
@@ -1 +1 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/command_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,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;AAEjjD;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GA6HlC,aAAa,CAChB,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { ExecutionValue } from "../../executioncontext/v1/spec_pb";
3
- import type { DiscoveredCapabilities } from "./status_pb";
4
3
  import type { Message } from "@bufbuild/protobuf";
5
4
  /**
6
5
  * Describes the file ai/stigmer/agentic/mcpserver/v1/io.proto.
@@ -29,48 +28,15 @@ export type McpServerId = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerId">
29
28
  */
30
29
  export declare const McpServerIdSchema: GenMessage<McpServerId>;
31
30
  /**
32
- * UpdateDiscoveredCapabilitiesInput is the request for the updateDiscoveredCapabilities RPC.
31
+ * ConnectInput is the request for the connect RPC.
33
32
  *
34
33
  * @internal
35
- * Used by:
36
- * - CLI: after `stigmer discover mcp-server <name>` connects locally, queries tools/resources,
37
- * and pushes the results to stigmer-server.
38
- * - Agent-runner: future runtime cache refresh.
39
- *
40
- * The caller must first resolve the MCP server's system ID (e.g., via getByReference)
41
- * before calling this RPC.
42
- *
43
- * @generated from message ai.stigmer.agentic.mcpserver.v1.UpdateDiscoveredCapabilitiesInput
44
- */
45
- export type UpdateDiscoveredCapabilitiesInput = Message<"ai.stigmer.agentic.mcpserver.v1.UpdateDiscoveredCapabilitiesInput"> & {
46
- /**
47
- * System-generated ID of the MCP server to update.
48
- * Obtained from McpServer.metadata.id (e.g., via getByReference).
49
- *
50
- * @generated from field: string mcp_server_id = 1;
51
- */
52
- mcpServerId: string;
53
- /**
54
- * Discovered tools and resource templates to store.
55
- *
56
- * @generated from field: ai.stigmer.agentic.mcpserver.v1.DiscoveredCapabilities discovered_capabilities = 2;
57
- */
58
- discoveredCapabilities?: DiscoveredCapabilities;
59
- };
60
- /**
61
- * Describes the message ai.stigmer.agentic.mcpserver.v1.UpdateDiscoveredCapabilitiesInput.
62
- * Use `create(UpdateDiscoveredCapabilitiesInputSchema)` to create a new message.
63
- */
64
- export declare const UpdateDiscoveredCapabilitiesInputSchema: GenMessage<UpdateDiscoveredCapabilitiesInput>;
65
- /**
66
- * DiscoverCapabilitiesInput is the request for the discoverCapabilities RPC.
67
- *
68
- * @internal
69
- * Triggers server-side MCP discovery: the backend creates an ephemeral
70
- * ExecutionContext with the resolved environment variables, starts a Temporal
71
- * workflow that connects to the MCP server (via the agent-runner), enumerates
72
- * tools and resource templates, and stores the result in
73
- * status.discovered_capabilities.
34
+ * Triggers server-side MCP discovery and tool approval classification:
35
+ * the backend creates an ephemeral ExecutionContext with the resolved
36
+ * environment variables, starts a Temporal workflow that connects to the
37
+ * MCP server (via the agent-runner), enumerates tools and resource
38
+ * templates, classifies tool approval policies, and stores the results
39
+ * in status.discovered_capabilities and status.tool_approvals.
74
40
  *
75
41
  * Environment variable resolution:
76
42
  * - When runtime_env is provided, the backend creates an ExecutionContext directly
@@ -78,23 +44,29 @@ export declare const UpdateDiscoveredCapabilitiesInputSchema: GenMessage<UpdateD
78
44
  * - When runtime_env is empty, the backend resolves values from the authenticated
79
45
  * user's personal environment.
80
46
  *
47
+ * Callers:
48
+ * - Web console: calls connect after saving credentials to personal environment.
49
+ * - CLI: calls connect with runtime_env populated from local env vars.
50
+ * - Graphton backfill: calls connect with runtime_env from execution context
51
+ * when status.discovered_capabilities is empty on first agent execution.
52
+ *
81
53
  * Prerequisites:
82
54
  * - The MCP server must exist and have a valid server_type (stdio or http)
83
55
  * - Either runtime_env must contain all required keys, or the keys must be
84
56
  * present in the user's personal environment
85
57
  *
86
- * @generated from message ai.stigmer.agentic.mcpserver.v1.DiscoverCapabilitiesInput
58
+ * @generated from message ai.stigmer.agentic.mcpserver.v1.ConnectInput
87
59
  */
88
- export type DiscoverCapabilitiesInput = Message<"ai.stigmer.agentic.mcpserver.v1.DiscoverCapabilitiesInput"> & {
60
+ export type ConnectInput = Message<"ai.stigmer.agentic.mcpserver.v1.ConnectInput"> & {
89
61
  /**
90
- * System-generated ID of the MCP server to discover.
62
+ * System-generated ID of the MCP server to connect to.
91
63
  * Obtained from McpServer.metadata.id (e.g., via getByReference).
92
64
  *
93
65
  * @generated from field: string mcp_server_id = 1;
94
66
  */
95
67
  mcpServerId: string;
96
68
  /**
97
- * Optional environment variable values for one-time discovery.
69
+ * Optional environment variable values for one-time use.
98
70
  * When empty, values are resolved from the user's personal environment.
99
71
  *
100
72
  * @generated from field: map<string, ai.stigmer.agentic.executioncontext.v1.ExecutionValue> runtime_env = 2;
@@ -104,7 +76,7 @@ export type DiscoverCapabilitiesInput = Message<"ai.stigmer.agentic.mcpserver.v1
104
76
  };
105
77
  };
106
78
  /**
107
- * Describes the message ai.stigmer.agentic.mcpserver.v1.DiscoverCapabilitiesInput.
108
- * Use `create(DiscoverCapabilitiesInputSchema)` to create a new message.
79
+ * Describes the message ai.stigmer.agentic.mcpserver.v1.ConnectInput.
80
+ * Use `create(ConnectInputSchema)` to create a new message.
109
81
  */
110
- export declare const DiscoverCapabilitiesInputSchema: GenMessage<DiscoverCapabilitiesInput>;
82
+ export declare const ConnectInputSchema: GenMessage<ConnectInput>;
@@ -3,25 +3,19 @@
3
3
  /* eslint-disable */
4
4
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  import { file_ai_stigmer_agentic_executioncontext_v1_spec } from "../../executioncontext/v1/spec_pb";
6
- import { file_ai_stigmer_agentic_mcpserver_v1_status } from "./status_pb";
7
6
  import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
8
7
  /**
9
8
  * Describes the file ai/stigmer/agentic/mcpserver/v1/io.proto.
10
9
  */
11
- export const file_ai_stigmer_agentic_mcpserver_v1_io = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL2lvLnByb3RvEh9haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxIiQKC01jcFNlcnZlcklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEipAEKIVVwZGF0ZURpc2NvdmVyZWRDYXBhYmlsaXRpZXNJbnB1dBIdCg1tY3Bfc2VydmVyX2lkGAEgASgJQga6SAPIAQESYAoXZGlzY292ZXJlZF9jYXBhYmlsaXRpZXMYAiABKAsyNy5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLkRpc2NvdmVyZWRDYXBhYmlsaXRpZXNCBrpIA8gBASKGAgoZRGlzY292ZXJDYXBhYmlsaXRpZXNJbnB1dBIdCg1tY3Bfc2VydmVyX2lkGAEgASgJQga6SAPIAQESXwoLcnVudGltZV9lbnYYAiADKAsySi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLkRpc2NvdmVyQ2FwYWJpbGl0aWVzSW5wdXQuUnVudGltZUVudkVudHJ5GmkKD1J1bnRpbWVFbnZFbnRyeRILCgNrZXkYASABKAkSRQoFdmFsdWUYAiABKAsyNi5haS5zdGlnbWVyLmFnZW50aWMuZXhlY3V0aW9uY29udGV4dC52MS5FeGVjdXRpb25WYWx1ZToCOAFiBnByb3RvMw", [file_ai_stigmer_agentic_executioncontext_v1_spec, file_ai_stigmer_agentic_mcpserver_v1_status, file_buf_validate_validate]);
10
+ export const file_ai_stigmer_agentic_mcpserver_v1_io = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL2lvLnByb3RvEh9haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxIiQKC01jcFNlcnZlcklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEi7AEKDENvbm5lY3RJbnB1dBIdCg1tY3Bfc2VydmVyX2lkGAEgASgJQga6SAPIAQESUgoLcnVudGltZV9lbnYYAiADKAsyPS5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLkNvbm5lY3RJbnB1dC5SdW50aW1lRW52RW50cnkaaQoPUnVudGltZUVudkVudHJ5EgsKA2tleRgBIAEoCRJFCgV2YWx1ZRgCIAEoCzI2LmFpLnN0aWdtZXIuYWdlbnRpYy5leGVjdXRpb25jb250ZXh0LnYxLkV4ZWN1dGlvblZhbHVlOgI4AWIGcHJvdG8z", [file_ai_stigmer_agentic_executioncontext_v1_spec, file_buf_validate_validate]);
12
11
  /**
13
12
  * Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerId.
14
13
  * Use `create(McpServerIdSchema)` to create a new message.
15
14
  */
16
15
  export const McpServerIdSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_io, 0);
17
16
  /**
18
- * Describes the message ai.stigmer.agentic.mcpserver.v1.UpdateDiscoveredCapabilitiesInput.
19
- * Use `create(UpdateDiscoveredCapabilitiesInputSchema)` to create a new message.
17
+ * Describes the message ai.stigmer.agentic.mcpserver.v1.ConnectInput.
18
+ * Use `create(ConnectInputSchema)` to create a new message.
20
19
  */
21
- export const UpdateDiscoveredCapabilitiesInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_io, 1);
22
- /**
23
- * Describes the message ai.stigmer.agentic.mcpserver.v1.DiscoverCapabilitiesInput.
24
- * Use `create(DiscoverCapabilitiesInputSchema)` to create a new message.
25
- */
26
- export const DiscoverCapabilitiesInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_io, 2);
20
+ export const ConnectInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_io, 1);
27
21
  //# sourceMappingURL=io_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/io_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,gDAAgD,EAAE,MAAM,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Aa,CACvE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
@@ -5,11 +5,11 @@ import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  import { file_ai_stigmer_agentic_mcpserver_v1_api } from "./api_pb";
6
6
  import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb";
7
7
  import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb";
8
- import { file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options } from "../../../iam/iampolicy/v1/rpcauthorization/method_options_pb";
8
+ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb";
9
9
  /**
10
10
  * Describes the file ai/stigmer/agentic/mcpserver/v1/query.proto.
11
11
  */
12
- export const file_ai_stigmer_agentic_mcpserver_v1_query = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL3F1ZXJ5LnByb3RvEh9haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxMq8CChhNY3BTZXJ2ZXJRdWVyeUNvbnRyb2xsZXISkgEKA2dldBItLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUlkGiouYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5NY3BTZXJ2ZXIiMMK4GCwIAxAsIgV2YWx1ZSofdW5hdXRob3JpemVkIHRvIHZpZXcgbWNwIHNlcnZlchJ4Cg5nZXRCeVJlZmVyZW5jZRI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZRoqLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuTWNwU2VydmVyIgTQuBgBGgSg/yssYgZwcm90bzM", [file_ai_stigmer_agentic_mcpserver_v1_api, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_iam_iampolicy_v1_rpcauthorization_method_options]);
12
+ export const file_ai_stigmer_agentic_mcpserver_v1_query = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL3F1ZXJ5LnByb3RvEh9haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxMq8CChhNY3BTZXJ2ZXJRdWVyeUNvbnRyb2xsZXISkgEKA2dldBItLmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZUlkGiouYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5NY3BTZXJ2ZXIiMMK4GCwIARAsIgV2YWx1ZSofdW5hdXRob3JpemVkIHRvIHZpZXcgbWNwIHNlcnZlchJ4Cg5nZXRCeVJlZmVyZW5jZRI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZRoqLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuTWNwU2VydmVyIgTQuBgBGgSg/yssYgZwcm90bzM", [file_ai_stigmer_agentic_mcpserver_v1_api, file_ai_stigmer_commons_apiresource_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
13
  /**
14
14
  * McpServerQueryController provides read operations for MCP server resources.
15
15
  *
@@ -1 +1 @@
1
- {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,gEAAgE,EAAE,MAAM,8DAA8D,CAAC;AAEhJ;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,6gBAA6gB,EAAE,CAAC,wCAAwC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,gEAAgE,CAAC,CAAC,CAAC;AAEzuB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAmChC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"query_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/query_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,uDAAuD,EAAE,MAAM,qDAAqD,CAAC;AAC9H,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AAEpG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,6gBAA6gB,EAAE,CAAC,wCAAwC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEntB;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAmChC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
2
  import type { EnvironmentSpec } from "../../environment/v1/spec_pb";
3
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
3
4
  import type { Message } from "@bufbuild/protobuf";
4
5
  /**
5
6
  * Describes the file ai/stigmer/agentic/mcpserver/v1/spec.proto.
@@ -88,24 +89,34 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
88
89
  */
89
90
  envSpec?: EnvironmentSpec;
90
91
  /**
91
- * Default tool approval policies for this MCP server.
92
+ * Source/provenance of this MCP server definition.
93
+ * Populated by automated sync workflows (e.g. MCP Registry sync).
94
+ * Empty for hand-authored definitions like the system mcp-server-stigmer.
95
+ *
96
+ * @generated from field: ai.stigmer.agentic.mcpserver.v1.McpServerSource source = 10;
97
+ */
98
+ source?: McpServerSource;
99
+ /**
100
+ * Manual tool approval overrides set by the MCP server owner.
92
101
  *
93
102
  * @internal
94
- * Tools listed here require user approval before execution by default.
95
- * This is the first layer in the approval policy chain:
96
- * McpServer.default_tool_approvals → Agent.tool_approval_overrides → auto_approve_all
103
+ * These take precedence over system-generated `McpServerStatus.tool_approvals`.
104
+ * Never auto-modified only changed by explicit user action (apply/update).
97
105
  *
98
106
  * Use cases:
99
- * - Mark destructive operations as requiring approval by default
100
- * - Protect sensitive data access across all agents using this server
107
+ * - Force approval for a tool the classifier marked as auto-approve
108
+ * - Exempt a safe tool the classifier flagged as needing approval
101
109
  * - Establish organization-wide safety policies for dangerous tools
102
110
  *
103
- * Tools not listed here do not require approval by default.
104
- * Agents can still add approval requirements via tool_approval_overrides.
111
+ * Policy chain (lowest to highest priority):
112
+ * 1. McpServerStatus.tool_approvals - System-generated defaults
113
+ * 2. McpServerSpec.pinned_tool_approvals - Manual overrides (this field)
114
+ * 3. Agent.McpServerUsage.tool_approval_overrides - Per-agent customization
115
+ * 4. AgentExecution.auto_approve_all - Runtime bypass
105
116
  *
106
- * @generated from field: repeated ai.stigmer.agentic.mcpserver.v1.ToolApprovalPolicy default_tool_approvals = 9;
117
+ * @generated from field: repeated ai.stigmer.agentic.mcpserver.v1.ToolApprovalPolicy pinned_tool_approvals = 11;
107
118
  */
108
- defaultToolApprovals: ToolApprovalPolicy[];
119
+ pinnedToolApprovals: ToolApprovalPolicy[];
109
120
  };
110
121
  /**
111
122
  * Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerSpec.
@@ -137,9 +148,26 @@ export type StdioServerConfig = Message<"ai.stigmer.agentic.mcpserver.v1.StdioSe
137
148
  command: string;
138
149
  /**
139
150
  * Arguments to pass to the command.
151
+ *
152
+ * Argument values can reference environment variables using ${VAR_NAME} syntax.
153
+ * These placeholders are resolved at runtime from the execution environment
154
+ * (same source as HTTP header/query param placeholders). This enables MCP
155
+ * servers that take core configuration as positional CLI arguments (e.g.
156
+ * database connection URLs, directory paths) to be parameterized per-user
157
+ * through env_spec.
158
+ *
159
+ * Resolution uses strict mode: missing variables produce a clear error
160
+ * rather than passing a literal "${VAR}" to the subprocess.
161
+ *
162
+ * Note: resolved values appear in the subprocess argv, which is visible
163
+ * via /proc/<pid>/cmdline within the container. In the containerized
164
+ * agent-runner environment this is not a practical concern, but callers
165
+ * should be aware when debugging.
166
+ *
140
167
  * Examples:
141
- * - For npx: ["-y", "@modelcontextprotocol/server-github"]
142
- * - For python: ["-m", "mcp_server_sqlite", "--db-path", "/data/db.sqlite"]
168
+ * ["-y", "@modelcontextprotocol/server-github"]
169
+ * ["-y", "@modelcontextprotocol/server-postgres", "${POSTGRES_CONNECTION_URL}"]
170
+ * ["-m", "mcp_server_sqlite", "--db-path", "${DB_PATH}/data.sqlite"]
143
171
  *
144
172
  * @generated from field: repeated string args = 2;
145
173
  */
@@ -245,9 +273,10 @@ export declare const HttpServerConfigSchema: GenMessage<HttpServerConfig>;
245
273
  * If a placeholder references a missing argument, it's replaced with "<unknown>".
246
274
  *
247
275
  * Policy chain (lowest to highest priority):
248
- * 1. McpServer.default_tool_approvals (this message) - Platform/org defaults
249
- * 2. Agent.McpServerUsage.tool_approval_overrides - Per-agent customization
250
- * 3. AgentExecution.auto_approve_all - Runtime bypass
276
+ * 1. McpServerStatus.tool_approvals - System-generated defaults
277
+ * 2. McpServerSpec.pinned_tool_approvals - Manual overrides
278
+ * 3. Agent.McpServerUsage.tool_approval_overrides - Per-agent customization
279
+ * 4. AgentExecution.auto_approve_all - Runtime bypass
251
280
  *
252
281
  * @generated from message ai.stigmer.agentic.mcpserver.v1.ToolApprovalPolicy
253
282
  */
@@ -281,3 +310,59 @@ export type ToolApprovalPolicy = Message<"ai.stigmer.agentic.mcpserver.v1.ToolAp
281
310
  * Use `create(ToolApprovalPolicySchema)` to create a new message.
282
311
  */
283
312
  export declare const ToolApprovalPolicySchema: GenMessage<ToolApprovalPolicy>;
313
+ /**
314
+ * McpServerSource tracks provenance for MCP server definitions that were
315
+ * imported from an external registry or catalog via automated sync.
316
+ *
317
+ * This enables:
318
+ * - Traceability: users can inspect the upstream source of any marketplace entry.
319
+ * - Freshness tracking: the platform knows when a definition was last synced.
320
+ * - Deprecation detection: if a server disappears from the source registry,
321
+ * the sync workflow can flag it as deprecated.
322
+ * - Deduplication: source.registry_name is the natural key for upsert logic.
323
+ *
324
+ * @generated from message ai.stigmer.agentic.mcpserver.v1.McpServerSource
325
+ */
326
+ export type McpServerSource = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSource"> & {
327
+ /**
328
+ * Registry or catalog this definition was sourced from.
329
+ * Example: "registry.modelcontextprotocol.io"
330
+ *
331
+ * @generated from field: string registry = 1;
332
+ */
333
+ registry: string;
334
+ /**
335
+ * Name/identifier in the source registry (exact, unmodified).
336
+ * This is the canonical key used for dedup and update matching.
337
+ * Example: "ai.exa/exa"
338
+ *
339
+ * @generated from field: string registry_name = 2;
340
+ */
341
+ registryName: string;
342
+ /**
343
+ * Version from the source registry at the time of last sync.
344
+ * Example: "3.1.3"
345
+ *
346
+ * @generated from field: string version = 3;
347
+ */
348
+ version: string;
349
+ /**
350
+ * Repository URL for the MCP server source code.
351
+ * Lets users inspect the upstream implementation for trust and transparency.
352
+ * Example: "https://github.com/exa-labs/exa-mcp-server"
353
+ *
354
+ * @generated from field: string repository_url = 4;
355
+ */
356
+ repositoryUrl: string;
357
+ /**
358
+ * Timestamp of last successful sync from the source.
359
+ *
360
+ * @generated from field: google.protobuf.Timestamp last_synced_at = 5;
361
+ */
362
+ lastSyncedAt?: Timestamp;
363
+ };
364
+ /**
365
+ * Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerSource.
366
+ * Use `create(McpServerSourceSchema)` to create a new message.
367
+ */
368
+ export declare const McpServerSourceSchema: GenMessage<McpServerSource>;
@@ -4,10 +4,11 @@
4
4
  import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
5
  import { file_ai_stigmer_agentic_environment_v1_spec } from "../../environment/v1/spec_pb";
6
6
  import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
7
8
  /**
8
9
  * Describes the file ai/stigmer/agentic/mcpserver/v1/spec.proto.
9
10
  */
10
- export const file_ai_stigmer_agentic_mcpserver_v1_spec = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL3NwZWMucHJvdG8SH2FpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEinAMKDU1jcFNlcnZlclNwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSEAoIaWNvbl91cmwYAiABKAkSDAoEdGFncxgDIAMoCRJDCgVzdGRpbxgEIAEoCzIyLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuU3RkaW9TZXJ2ZXJDb25maWdIABJBCgRodHRwGAUgASgLMjEuYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5IdHRwU2VydmVyQ29uZmlnSAASHQoVZGVmYXVsdF9lbmFibGVkX3Rvb2xzGAcgAygJEkQKCGVudl9zcGVjGAggASgLMjIuYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxLkVudmlyb25tZW50U3BlYxJTChZkZWZhdWx0X3Rvb2xfYXBwcm92YWxzGAkgAygLMjMuYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5Ub29sQXBwcm92YWxQb2xpY3lCFAoLc2VydmVyX3R5cGUSBbpIAggBIk8KEVN0ZGlvU2VydmVyQ29uZmlnEhcKB2NvbW1hbmQYASABKAlCBrpIA8gBARIMCgRhcmdzGAIgAygJEhMKC3dvcmtpbmdfZGlyGAMgASgJIuACChBIdHRwU2VydmVyQ29uZmlnEhgKA3VybBgBIAEoCUILukgIyAEBcgOIAQESTwoHaGVhZGVycxgCIAMoCzI+LmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuSHR0cFNlcnZlckNvbmZpZy5IZWFkZXJzRW50cnkSWAoMcXVlcnlfcGFyYW1zGAMgAygLMkIuYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5IdHRwU2VydmVyQ29uZmlnLlF1ZXJ5UGFyYW1zRW50cnkSIwoPdGltZW91dF9zZWNvbmRzGAQgASgFQgq6SAcaBRisAigAGi4KDEhlYWRlcnNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBGjIKEFF1ZXJ5UGFyYW1zRW50cnkSCwoDa2V5GAEgASgJEg0KBXZhbHVlGAIgASgJOgI4ASJBChJUb29sQXBwcm92YWxQb2xpY3kSGgoJdG9vbF9uYW1lGAEgASgJQge6SARyAhABEg8KB21lc3NhZ2UYAiABKAliBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_spec, file_buf_validate_validate]);
11
+ export const file_ai_stigmer_agentic_mcpserver_v1_spec = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL3NwZWMucHJvdG8SH2FpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEi3QMKDU1jcFNlcnZlclNwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSEAoIaWNv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oCToCOAEaMgoQUXVlcnlQYXJhbXNFbnRyeRILCgNrZXkYASABKAkSDQoFdmFsdWUYAiABKAk6AjgBIkEKElRvb2xBcHByb3ZhbFBvbGljeRIaCgl0b29sX25hbWUYASABKAlCB7pIBHICEAESDwoHbWVzc2FnZRgCIAEoCSKXAQoPTWNwU2VydmVyU291cmNlEhAKCHJlZ2lzdHJ5GAEgASgJEhUKDXJlZ2lzdHJ5X25hbWUYAiABKAkSDwoHdmVyc2lvbhgDIAEoCRIWCg5yZXBvc2l0b3J5X3VybBgEIAEoCRIyCg5sYXN0X3N5bmNlZF9hdBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXBiBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_spec, file_buf_validate_validate, file_google_protobuf_timestamp]);
11
12
  /**
12
13
  * Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerSpec.
13
14
  * Use `create(McpServerSpecSchema)` to create a new message.
@@ -28,4 +29,9 @@ export const HttpServerConfigSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_
28
29
  * Use `create(ToolApprovalPolicySchema)` to create a new message.
29
30
  */
30
31
  export const ToolApprovalPolicySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_spec, 3);
32
+ /**
33
+ * Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerSource.
34
+ * Use `create(McpServerSourceSchema)` to create a new message.
35
+ */
36
+ export const McpServerSourceSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_spec, 4);
31
37
  //# sourceMappingURL=spec_pb.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,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