@stigmer/protos 0.0.78 → 0.0.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +7 -4
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/environment/v1/spec_pb.d.ts +47 -0
- package/ai/stigmer/agentic/environment/v1/spec_pb.js +6 -1
- package/ai/stigmer/agentic/environment/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.d.ts +21 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +21 -0
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +21 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.d.ts +77 -0
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +11 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.d.ts +37 -15
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +22 -15
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +2 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflow/v1/spec_pb.d.ts +7 -4
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/workflow/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/oauthapp/v1/spec_pb.d.ts +13 -0
- package/ai/stigmer/iam/oauthapp/v1/spec_pb.js +1 -1
- package/ai/stigmer/iam/oauthapp/v1/spec_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type {
|
|
2
|
+
import type { EnvVarDeclaration } from "../../environment/v1/spec_pb";
|
|
3
3
|
import type { ApiResourceReference } from "../../../commons/apiresource/io_pb";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -56,11 +56,14 @@ export type AgentSpec = Message<"ai.stigmer.agentic.agent.v1.AgentSpec"> & {
|
|
|
56
56
|
*/
|
|
57
57
|
subAgents: SubAgent[];
|
|
58
58
|
/**
|
|
59
|
-
* Environment
|
|
59
|
+
* Environment variable declarations for this agent.
|
|
60
|
+
* Keys are variable names; values describe their metadata and optionality.
|
|
60
61
|
*
|
|
61
|
-
* @generated from field: ai.stigmer.agentic.environment.v1.
|
|
62
|
+
* @generated from field: map<string, ai.stigmer.agentic.environment.v1.EnvVarDeclaration> env = 7;
|
|
62
63
|
*/
|
|
63
|
-
|
|
64
|
+
env: {
|
|
65
|
+
[key: string]: EnvVarDeclaration;
|
|
66
|
+
};
|
|
64
67
|
};
|
|
65
68
|
/**
|
|
66
69
|
* Describes the message ai.stigmer.agentic.agent.v1.AgentSpec.
|
|
@@ -9,7 +9,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file ai/stigmer/agentic/agent/v1/spec.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_agent_v1_spec = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_agent_v1_spec = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvYWdlbnQvdjEvc3BlYy5wcm90bxIbYWkuc3RpZ21lci5hZ2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ygLMiYuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLk1jcEFjY2VzcxKwAQoKc2tpbGxfcmVmcxgFIAMoCzI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZUJmukhfkgFcIlq6AVcKD3NraWxsX3JlZnMua2luZBIzc2tpbGxfcmVmcyBtdXN0IHJlZmVyZW5jZSByZXNvdXJjZXMgd2l0aCBraW5kPXNraWxsGg90aGlzLmtpbmQgPT0gNDPghSwrEhYKDm1vZGVsX292ZXJyaWRlGAYgASgJItUBCg5NY3BTZXJ2ZXJVc2FnZRJYCg5tY3Bfc2VydmVyX3JlZhgBIAEoCzI0LmFpLnN0aWdtZXIuY29tbW9ucy5hcGlyZXNvdXJjZS5BcGlSZXNvdXJjZVJlZmVyZW5jZUIKukgDyAEB4IUsLBIVCg1lbmFibGVkX3Rvb2xzGAIgAygJElIKF3Rvb2xfYXBwcm92YWxfb3ZlcnJpZGVzGAMgAygLMjEuYWkuc3RpZ21lci5hZ2VudGljLmFnZW50LnYxLlRvb2xBcHByb3ZhbE92ZXJyaWRlIj4KCU1jcEFjY2VzcxIaCgptY3Bfc2VydmVyGAEgASgJQga6SAPIAQESFQoNZW5hYmxlZF90b29scxgCIAMoCSJeChRUb29sQXBwcm92YWxPdmVycmlkZRIaCgl0b29sX25hbWUYASABKAlCB7pIBHICEAESGQoRcmVxdWlyZXNfYXBwcm92YWwYAiABKAgSDwoHbWVzc2FnZRgDIAEoCWIGcHJvdG8z", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message ai.stigmer.agentic.agent.v1.AgentSpec.
|
|
15
15
|
* Use `create(AgentSpecSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,iDAAiD,EAAE,MAAM,+CAA+C,CAAC;AAElH,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/agent/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,mHAAmH;AACnH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,iDAAiD,EAAE,MAAM,+CAA+C,CAAC;AAElH,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,08DAA08D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAkE7nE;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8DxD;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAyB,aAAa,CAC/D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAgDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA+BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAiDxD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -73,3 +73,50 @@ export type EnvironmentValue = Message<"ai.stigmer.agentic.environment.v1.Enviro
|
|
|
73
73
|
* Use `create(EnvironmentValueSchema)` to create a new message.
|
|
74
74
|
*/
|
|
75
75
|
export declare const EnvironmentValueSchema: GenMessage<EnvironmentValue>;
|
|
76
|
+
/**
|
|
77
|
+
* EnvVarDeclaration declares an environment variable required (or optionally
|
|
78
|
+
* accepted) by a blueprint resource (McpServer, Agent, Workflow).
|
|
79
|
+
*
|
|
80
|
+
* Unlike EnvironmentValue (which stores actual values), this message describes
|
|
81
|
+
* what a blueprint *needs* — its schema, not its data. This separation keeps
|
|
82
|
+
* the blueprint layer free of runtime values and enables the platform to
|
|
83
|
+
* validate completeness before execution.
|
|
84
|
+
*
|
|
85
|
+
* @generated from message ai.stigmer.agentic.environment.v1.EnvVarDeclaration
|
|
86
|
+
*/
|
|
87
|
+
export type EnvVarDeclaration = Message<"ai.stigmer.agentic.environment.v1.EnvVarDeclaration"> & {
|
|
88
|
+
/**
|
|
89
|
+
* Whether the resolved value should be treated as a secret.
|
|
90
|
+
*
|
|
91
|
+
* @internal
|
|
92
|
+
* When true: encrypted at rest, redacted in logs and Temporal history.
|
|
93
|
+
* When false: stored as plaintext, visible in audit logs.
|
|
94
|
+
*
|
|
95
|
+
* @generated from field: bool is_secret = 1;
|
|
96
|
+
*/
|
|
97
|
+
isSecret: boolean;
|
|
98
|
+
/**
|
|
99
|
+
* Human-readable description shown in the UI credential form.
|
|
100
|
+
* Should explain what the variable is used for and where to obtain it.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string description = 2;
|
|
103
|
+
*/
|
|
104
|
+
description: string;
|
|
105
|
+
/**
|
|
106
|
+
* Whether this variable is optional.
|
|
107
|
+
*
|
|
108
|
+
* @internal
|
|
109
|
+
* When false (default): the execution pipeline rejects a run if this
|
|
110
|
+
* variable is missing from the user's environment.
|
|
111
|
+
* When true: a missing value is acceptable (the MCP server or agent
|
|
112
|
+
* degrades gracefully without it).
|
|
113
|
+
*
|
|
114
|
+
* @generated from field: bool optional = 3;
|
|
115
|
+
*/
|
|
116
|
+
optional: boolean;
|
|
117
|
+
};
|
|
118
|
+
/**
|
|
119
|
+
* Describes the message ai.stigmer.agentic.environment.v1.EnvVarDeclaration.
|
|
120
|
+
* Use `create(EnvVarDeclarationSchema)` to create a new message.
|
|
121
|
+
*/
|
|
122
|
+
export declare const EnvVarDeclarationSchema: GenMessage<EnvVarDeclaration>;
|
|
@@ -5,7 +5,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/environment/v1/spec.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_agentic_environment_v1_spec = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_agentic_environment_v1_spec = /*@__PURE__*/ fileDesc("CixhaS9zdGlnbWVyL2FnZW50aWMvZW52aXJvbm1lbnQvdjEvc3BlYy5wcm90bxIhYWkuc3RpZ21lci5hZ2VudGljLmVudmlyb25tZW50LnYxItQBCg9FbnZpcm9ubWVudFNwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSSgoEZGF0YRgCIAMoCzI8LmFpLnN0aWdtZXIuYWdlbnRpYy5lbnZpcm9ubWVudC52MS5FbnZpcm9ubWVudFNwZWMuRGF0YUVudHJ5GmAKCURhdGFFbnRyeRILCgNrZXkYASABKAkSQgoFdmFsdWUYAiABKAsyMy5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52aXJvbm1lbnRWYWx1ZToCOAEiSQoQRW52aXJvbm1lbnRWYWx1ZRINCgV2YWx1ZRgBIAEoCRIRCglpc19zZWNyZXQYAiABKAgSEwoLZGVzY3JpcHRpb24YAyABKAkiTQoRRW52VmFyRGVjbGFyYXRpb24SEQoJaXNfc2VjcmV0GAEgASgIEhMKC2Rlc2NyaXB0aW9uGAIgASgJEhAKCG9wdGlvbmFsGAMgASgIYgZwcm90bzM");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message ai.stigmer.agentic.environment.v1.EnvironmentSpec.
|
|
11
11
|
* Use `create(EnvironmentSpecSchema)` to create a new message.
|
|
@@ -16,4 +16,9 @@ export const EnvironmentSpecSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_a
|
|
|
16
16
|
* Use `create(EnvironmentValueSchema)` to create a new message.
|
|
17
17
|
*/
|
|
18
18
|
export const EnvironmentValueSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_environment_v1_spec, 1);
|
|
19
|
+
/**
|
|
20
|
+
* Describes the message ai.stigmer.agentic.environment.v1.EnvVarDeclaration.
|
|
21
|
+
* Use `create(EnvVarDeclarationSchema)` to create a new message.
|
|
22
|
+
*/
|
|
23
|
+
export const EnvVarDeclarationSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_environment_v1_spec, 2);
|
|
19
24
|
//# sourceMappingURL=spec_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/environment/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,+HAA+H;AAC/H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,qmBAAqmB,CAAC,CAAC;AA2BlnB;;;GAGG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAgC,aAAa,CAC7E,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAuC9D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AA+C9D;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -205,5 +205,26 @@ export declare const McpServerCommandController: {
|
|
|
205
205
|
readonly O: any;
|
|
206
206
|
readonly kind: any;
|
|
207
207
|
};
|
|
208
|
+
/**
|
|
209
|
+
* Check whether the authenticated user has an active OAuth grant for
|
|
210
|
+
* an MCP server in the specified org.
|
|
211
|
+
*
|
|
212
|
+
* Returns grant metadata (connected status, token expiry, auth method)
|
|
213
|
+
* without exposing any secret token values. The frontend uses this to
|
|
214
|
+
* render the correct OAuth state in the MCP server detail page and
|
|
215
|
+
* session composer.
|
|
216
|
+
*
|
|
217
|
+
* @internal
|
|
218
|
+
* Authorization: Requires can_view permission on the mcp_server resource.
|
|
219
|
+
* The resource_id field contains the MCP server's system-generated ID.
|
|
220
|
+
*
|
|
221
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.getOAuthGrantStatus
|
|
222
|
+
*/
|
|
223
|
+
readonly getOAuthGrantStatus: {
|
|
224
|
+
readonly name: "getOAuthGrantStatus";
|
|
225
|
+
readonly I: any;
|
|
226
|
+
readonly O: any;
|
|
227
|
+
readonly kind: any;
|
|
228
|
+
};
|
|
208
229
|
};
|
|
209
230
|
};
|
|
@@ -210,6 +210,27 @@ export const McpServerCommandController = {
|
|
|
210
210
|
O: CompleteOAuthConnectOutput,
|
|
211
211
|
kind: MethodKind.Unary,
|
|
212
212
|
},
|
|
213
|
+
/**
|
|
214
|
+
* Check whether the authenticated user has an active OAuth grant for
|
|
215
|
+
* an MCP server in the specified org.
|
|
216
|
+
*
|
|
217
|
+
* Returns grant metadata (connected status, token expiry, auth method)
|
|
218
|
+
* without exposing any secret token values. The frontend uses this to
|
|
219
|
+
* render the correct OAuth state in the MCP server detail page and
|
|
220
|
+
* session composer.
|
|
221
|
+
*
|
|
222
|
+
* @internal
|
|
223
|
+
* Authorization: Requires can_view permission on the mcp_server resource.
|
|
224
|
+
* The resource_id field contains the MCP server's system-generated ID.
|
|
225
|
+
*
|
|
226
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.getOAuthGrantStatus
|
|
227
|
+
*/
|
|
228
|
+
getOAuthGrantStatus: {
|
|
229
|
+
name: "getOAuthGrantStatus",
|
|
230
|
+
I: GetOAuthGrantStatusInput,
|
|
231
|
+
O: GetOAuthGrantStatusOutput,
|
|
232
|
+
kind: MethodKind.Unary,
|
|
233
|
+
},
|
|
213
234
|
}
|
|
214
235
|
};
|
|
215
236
|
//# sourceMappingURL=command_connect.js.map
|
|
@@ -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,EA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B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;WAsBG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,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;QACD;;;;;;;;;;;;;;;;;;;;;;;;WAwBG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;WAsBG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,0BAA0B;YAC7B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;WAcG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,wBAAwB;YAC3B,CAAC,EAAE,yBAAyB;YAC5B,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 { CompleteOAuthConnectInputSchema, CompleteOAuthConnectOutputSchema, ConnectInputSchema, InitiateOAuthConnectInputSchema, InitiateOAuthConnectOutputSchema } from "./io_pb";
|
|
3
|
+
import type { CompleteOAuthConnectInputSchema, CompleteOAuthConnectOutputSchema, ConnectInputSchema, GetOAuthGrantStatusInputSchema, GetOAuthGrantStatusOutputSchema, InitiateOAuthConnectInputSchema, InitiateOAuthConnectOutputSchema } 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.
|
|
@@ -203,4 +203,24 @@ export declare const McpServerCommandController: GenService<{
|
|
|
203
203
|
input: typeof CompleteOAuthConnectInputSchema;
|
|
204
204
|
output: typeof CompleteOAuthConnectOutputSchema;
|
|
205
205
|
};
|
|
206
|
+
/**
|
|
207
|
+
* Check whether the authenticated user has an active OAuth grant for
|
|
208
|
+
* an MCP server in the specified org.
|
|
209
|
+
*
|
|
210
|
+
* Returns grant metadata (connected status, token expiry, auth method)
|
|
211
|
+
* without exposing any secret token values. The frontend uses this to
|
|
212
|
+
* render the correct OAuth state in the MCP server detail page and
|
|
213
|
+
* session composer.
|
|
214
|
+
*
|
|
215
|
+
* @internal
|
|
216
|
+
* Authorization: Requires can_view permission on the mcp_server resource.
|
|
217
|
+
* The resource_id field contains the MCP server's system-generated ID.
|
|
218
|
+
*
|
|
219
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.getOAuthGrantStatus
|
|
220
|
+
*/
|
|
221
|
+
getOAuthGrantStatus: {
|
|
222
|
+
methodKind: "unary";
|
|
223
|
+
input: typeof GetOAuthGrantStatusInputSchema;
|
|
224
|
+
output: typeof GetOAuthGrantStatusOutputSchema;
|
|
225
|
+
};
|
|
206
226
|
}>;
|
|
@@ -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/mcpserver/v1/command.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_mcpserver_v1_command = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_agentic_mcpserver_v1_command = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL2FnZW50aWMvbWNwc2V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3RhdHVzIGZvciBtY3Agc2VydmVyGgSg/yssYgZwcm90bzM", [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,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AAElE,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,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,
|
|
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,CAAC;AAErE,OAAO,EAAE,wCAAwC,EAAE,MAAM,UAAU,CAAC;AAEpE,OAAO,EAAE,uCAAuC,EAAE,MAAM,SAAS,CAAC;AAElE,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,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,6rEAA6rE,EAAE,CAAC,wCAAwC,EAAE,uCAAuC,EAAE,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAE56E;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAC,MAAM,0BAA0B,GA2MlC,aAAa,CAChB,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -104,6 +104,14 @@ export type InitiateOAuthConnectInput = Message<"ai.stigmer.agentic.mcpserver.v1
|
|
|
104
104
|
* @generated from field: string mcp_server_id = 1;
|
|
105
105
|
*/
|
|
106
106
|
mcpServerId: string;
|
|
107
|
+
/**
|
|
108
|
+
* Organization context for token storage.
|
|
109
|
+
* Tokens are stored in the caller's personal environment within this org.
|
|
110
|
+
* Must be an org the caller belongs to.
|
|
111
|
+
*
|
|
112
|
+
* @generated from field: string org = 2;
|
|
113
|
+
*/
|
|
114
|
+
org: string;
|
|
107
115
|
};
|
|
108
116
|
/**
|
|
109
117
|
* Describes the message ai.stigmer.agentic.mcpserver.v1.InitiateOAuthConnectInput.
|
|
@@ -236,3 +244,72 @@ export type CompleteOAuthConnectOutput = Message<"ai.stigmer.agentic.mcpserver.v
|
|
|
236
244
|
* Use `create(CompleteOAuthConnectOutputSchema)` to create a new message.
|
|
237
245
|
*/
|
|
238
246
|
export declare const CompleteOAuthConnectOutputSchema: GenMessage<CompleteOAuthConnectOutput>;
|
|
247
|
+
/**
|
|
248
|
+
* GetOAuthGrantStatusInput queries the OAuth grant status for a resource.
|
|
249
|
+
*
|
|
250
|
+
* @internal
|
|
251
|
+
* Returns whether the authenticated user has an active OAuth grant for the
|
|
252
|
+
* specified resource in the given org. Used by the frontend to determine
|
|
253
|
+
* whether to show "Connected" vs. "Connect with OAuth" UI states.
|
|
254
|
+
*
|
|
255
|
+
* @generated from message ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusInput
|
|
256
|
+
*/
|
|
257
|
+
export type GetOAuthGrantStatusInput = Message<"ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusInput"> & {
|
|
258
|
+
/**
|
|
259
|
+
* System-generated ID of the resource to check grant status for.
|
|
260
|
+
*
|
|
261
|
+
* @generated from field: string resource_id = 1;
|
|
262
|
+
*/
|
|
263
|
+
resourceId: string;
|
|
264
|
+
/**
|
|
265
|
+
* Organization context. Required because the same user can have
|
|
266
|
+
* separate OAuth connections for a shared resource across orgs.
|
|
267
|
+
*
|
|
268
|
+
* @generated from field: string org = 2;
|
|
269
|
+
*/
|
|
270
|
+
org: string;
|
|
271
|
+
};
|
|
272
|
+
/**
|
|
273
|
+
* Describes the message ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusInput.
|
|
274
|
+
* Use `create(GetOAuthGrantStatusInputSchema)` to create a new message.
|
|
275
|
+
*/
|
|
276
|
+
export declare const GetOAuthGrantStatusInputSchema: GenMessage<GetOAuthGrantStatusInput>;
|
|
277
|
+
/**
|
|
278
|
+
* GetOAuthGrantStatusOutput returns the current OAuth grant status.
|
|
279
|
+
*
|
|
280
|
+
* @generated from message ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusOutput
|
|
281
|
+
*/
|
|
282
|
+
export type GetOAuthGrantStatusOutput = Message<"ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusOutput"> & {
|
|
283
|
+
/**
|
|
284
|
+
* Whether the user has an active OAuth grant for this resource + org.
|
|
285
|
+
*
|
|
286
|
+
* @generated from field: bool connected = 1;
|
|
287
|
+
*/
|
|
288
|
+
connected: boolean;
|
|
289
|
+
/**
|
|
290
|
+
* When the access token expires (Unix timestamp seconds).
|
|
291
|
+
* 0 if no grant exists or the token does not expire.
|
|
292
|
+
*
|
|
293
|
+
* @generated from field: int64 access_token_expires_at = 2;
|
|
294
|
+
*/
|
|
295
|
+
accessTokenExpiresAt: bigint;
|
|
296
|
+
/**
|
|
297
|
+
* The env var name where the access token is stored.
|
|
298
|
+
* Empty if no grant exists.
|
|
299
|
+
*
|
|
300
|
+
* @generated from field: string target_env_var = 3;
|
|
301
|
+
*/
|
|
302
|
+
targetEnvVar: string;
|
|
303
|
+
/**
|
|
304
|
+
* Which auth method was used ("mcp_oauth" or "vendor_oauth").
|
|
305
|
+
* Empty if no grant exists.
|
|
306
|
+
*
|
|
307
|
+
* @generated from field: string auth_method = 4;
|
|
308
|
+
*/
|
|
309
|
+
authMethod: string;
|
|
310
|
+
};
|
|
311
|
+
/**
|
|
312
|
+
* Describes the message ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusOutput.
|
|
313
|
+
* Use `create(GetOAuthGrantStatusOutputSchema)` to create a new message.
|
|
314
|
+
*/
|
|
315
|
+
export declare const GetOAuthGrantStatusOutputSchema: GenMessage<GetOAuthGrantStatusOutput>;
|
|
@@ -7,7 +7,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file ai/stigmer/agentic/mcpserver/v1/io.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_ai_stigmer_agentic_mcpserver_v1_io = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_agentic_mcpserver_v1_io = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL2lvLnByb3RvEh9haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxIiQKC01jcFNlcnZlcklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEi7AEKDENvbm5lY3RJbnB1dBIdCg1tY3Bfc2VydmVyX2lkGAEgASgJQga6SAPIAQESUgoLcnVudGltZV9lbnYYAiADKAsyPS5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLkNvbm5lY3RJbnB1dC5SdW50aW1lRW52RW50cnkaaQoPUnVudGltZUVudkVudHJ5EgsKA2tleRgBIAEoCRJFCgV2YWx1ZRgCIAEoCzI2LmFpLnN0aWdtZXIuYWdlbnRpYy5leGVjdXRpb25jb250ZXh0LnYxLkV4ZWN1dGlvblZhbHVlOgI4ASJQChlJbml0aWF0ZU9BdXRoQ29ubmVjdElucHV0Eh0KDW1jcF9zZXJ2ZXJfaWQYASABKAlCBrpIA8gBARIUCgNvcmcYAiABKAlCB7pIBHICEAEibQoaSW5pdGlhdGVPQXV0aENvbm5lY3RPdXRwdXQSGQoRYXV0aG9yaXphdGlvbl91cmwYASABKAkSDQoFc3RhdGUYAiABKAkSDgoGc2NvcGVzGAMgAygJEhUKDXByb3ZpZGVyX25hbWUYBCABKAkidwoZQ29tcGxldGVPQXV0aENvbm5lY3RJbnB1dBIdCg1tY3Bfc2VydmVyX2lkGAEgASgJQga6SAPIAQESIwoSYXV0aG9yaXphdGlvbl9jb2RlGAIgASgJQge6SARyAhABEhYKBXN0YXRlGAMgASgJQge6SARyAhABImQKGkNvbXBsZXRlT0F1dGhDb25uZWN0T3V0cHV0EhEKCWNvbm5lY3RlZBgBIAEoCBIWCg50YXJnZXRfZW52X3ZhchgCIAEoCRIbChN0b2tlbl9saWZldGltZV9oaW50GAMgASgJIk0KGEdldE9BdXRoR3JhbnRTdGF0dXNJbnB1dBIbCgtyZXNvdXJjZV9pZBgBIAEoCUIGukgDyAEBEhQKA29yZxgCIAEoCUIHukgEcgIQASJ8ChlHZXRPQXV0aEdyYW50U3RhdHVzT3V0cHV0EhEKCWNvbm5lY3RlZBgBIAEoCBIfChdhY2Nlc3NfdG9rZW5fZXhwaXJlc19hdBgCIAEoAxIWCg50YXJnZXRfZW52X3ZhchgDIAEoCRITCgthdXRoX21ldGhvZBgEIAEoCWIGcHJvdG8z", [file_ai_stigmer_agentic_executioncontext_v1_spec, file_buf_validate_validate]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerId.
|
|
13
13
|
* Use `create(McpServerIdSchema)` to create a new message.
|
|
@@ -38,4 +38,14 @@ export const CompleteOAuthConnectInputSchema = /*@__PURE__*/ messageDesc(file_ai
|
|
|
38
38
|
* Use `create(CompleteOAuthConnectOutputSchema)` to create a new message.
|
|
39
39
|
*/
|
|
40
40
|
export const CompleteOAuthConnectOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_io, 5);
|
|
41
|
+
/**
|
|
42
|
+
* Describes the message ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusInput.
|
|
43
|
+
* Use `create(GetOAuthGrantStatusInputSchema)` to create a new message.
|
|
44
|
+
*/
|
|
45
|
+
export const GetOAuthGrantStatusInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_io, 6);
|
|
46
|
+
/**
|
|
47
|
+
* Describes the message ai.stigmer.agentic.mcpserver.v1.GetOAuthGrantStatusOutput.
|
|
48
|
+
* Use `create(GetOAuthGrantStatusOutputSchema)` to create a new message.
|
|
49
|
+
*/
|
|
50
|
+
export const GetOAuthGrantStatusOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_mcpserver_v1_io, 7);
|
|
41
51
|
//# 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,mCAAmC,CAAC;AACrG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ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AAE,CAAC,CAAC,CAAC;AAwC1D;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -5,19 +5,25 @@ import type { Message } from "@bufbuild/protobuf";
|
|
|
5
5
|
*/
|
|
6
6
|
export declare const file_ai_stigmer_agentic_mcpserver_v1_oauth: GenFile;
|
|
7
7
|
/**
|
|
8
|
-
* OAuthGrant tracks OAuth metadata for a user's
|
|
8
|
+
* OAuthGrant tracks OAuth metadata for a user's OAuth connection to an
|
|
9
|
+
* API resource.
|
|
9
10
|
*
|
|
10
11
|
* @internal
|
|
11
12
|
* Infrastructure-only. Not a public API resource — no kind, no apiVersion,
|
|
12
13
|
* no CRUD RPCs. Stored in the backend's database, keyed by the composite
|
|
13
|
-
* of (identity_account_id,
|
|
14
|
+
* of (identity_account_id, resource_id, org_id).
|
|
14
15
|
*
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
16
|
+
* The grant is resource-agnostic: currently used for MCP servers, but the
|
|
17
|
+
* data model supports any API resource kind that needs OAuth credentials
|
|
18
|
+
* (e.g., workflows in the future).
|
|
19
|
+
*
|
|
20
|
+
* Actual tokens (access + refresh) live in a managed environment
|
|
21
|
+
* (stigmer.ai/managed=true label) as encrypted secret env vars.
|
|
22
|
+
* OAuthGrant only holds non-secret metadata needed by the refresh
|
|
23
|
+
* mechanism and pre-flight expiry checks.
|
|
18
24
|
*
|
|
19
25
|
* Storage split rationale:
|
|
20
|
-
* -
|
|
26
|
+
* - Managed environment: access token (target_env_var), refresh token
|
|
21
27
|
* ({target_env_var}_REFRESH_TOKEN). These are secrets, encrypted at rest,
|
|
22
28
|
* subject to Environment access control.
|
|
23
29
|
* - OAuthGrant: expiry timestamp, client_id, token_endpoint, env var names.
|
|
@@ -34,11 +40,13 @@ export type OAuthGrant = Message<"ai.stigmer.agentic.mcpserver.v1.OAuthGrant"> &
|
|
|
34
40
|
*/
|
|
35
41
|
identityAccountId: string;
|
|
36
42
|
/**
|
|
37
|
-
*
|
|
43
|
+
* System-generated ID (metadata.id) of the API resource this grant
|
|
44
|
+
* provides OAuth tokens for. Part of the composite key:
|
|
45
|
+
* (identity_account_id, resource_id, org_id).
|
|
38
46
|
*
|
|
39
|
-
* @generated from field: string
|
|
47
|
+
* @generated from field: string resource_id = 2;
|
|
40
48
|
*/
|
|
41
|
-
|
|
49
|
+
resourceId: string;
|
|
42
50
|
/**
|
|
43
51
|
* When the current access token expires (Unix timestamp seconds).
|
|
44
52
|
* 0 means the token does not expire (e.g., long-lived tokens from
|
|
@@ -72,28 +80,42 @@ export type OAuthGrant = Message<"ai.stigmer.agentic.mcpserver.v1.OAuthGrant"> &
|
|
|
72
80
|
*/
|
|
73
81
|
tokenEndpoint: string;
|
|
74
82
|
/**
|
|
75
|
-
* Env var name where the access token is stored in the
|
|
76
|
-
* Matches McpServerAuth.target_env_var on the McpServer spec.
|
|
83
|
+
* Env var name where the access token is stored in the managed environment.
|
|
77
84
|
*
|
|
78
85
|
* @generated from field: string access_token_env_var = 7;
|
|
79
86
|
*/
|
|
80
87
|
accessTokenEnvVar: string;
|
|
81
88
|
/**
|
|
82
|
-
* Env var name where the refresh token is stored in the
|
|
89
|
+
* Env var name where the refresh token is stored in the managed environment.
|
|
83
90
|
* Convention: {target_env_var}_REFRESH_TOKEN.
|
|
84
91
|
*
|
|
85
92
|
* @generated from field: string refresh_token_env_var = 8;
|
|
86
93
|
*/
|
|
87
94
|
refreshTokenEnvVar: string;
|
|
88
95
|
/**
|
|
89
|
-
*
|
|
96
|
+
* ID of the managed Environment resource that holds the tokens.
|
|
90
97
|
* The refresh mechanism reads/writes tokens in this environment.
|
|
91
|
-
*
|
|
92
|
-
*
|
|
98
|
+
* Created during completeOAuthConnect with the stigmer.ai/managed=true label.
|
|
99
|
+
* 1:1 with this grant — revoking the grant deletes this environment.
|
|
93
100
|
*
|
|
94
101
|
* @generated from field: string environment_id = 9;
|
|
95
102
|
*/
|
|
96
103
|
environmentId: string;
|
|
104
|
+
/**
|
|
105
|
+
* Kind of the API resource identified by resource_id (e.g., "mcp_server",
|
|
106
|
+
* "workflow"). Used for query filtering and handler routing.
|
|
107
|
+
*
|
|
108
|
+
* @generated from field: string resource_kind = 10;
|
|
109
|
+
*/
|
|
110
|
+
resourceKind: string;
|
|
111
|
+
/**
|
|
112
|
+
* Organization context for this grant. Part of the composite key:
|
|
113
|
+
* (identity_account_id, resource_id, org_id). Enables the same user to
|
|
114
|
+
* maintain separate OAuth connections for a shared resource across orgs.
|
|
115
|
+
*
|
|
116
|
+
* @generated from field: string org_id = 11;
|
|
117
|
+
*/
|
|
118
|
+
orgId: string;
|
|
97
119
|
};
|
|
98
120
|
/**
|
|
99
121
|
* Describes the message ai.stigmer.agentic.mcpserver.v1.OAuthGrant.
|
|
@@ -5,7 +5,7 @@ import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/agentic/mcpserver/v1/oauth.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_agentic_mcpserver_v1_oauth = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_agentic_mcpserver_v1_oauth = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL29hdXRoLnByb3RvEh9haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxIpsCCgpPQXV0aEdyYW50EhsKE2lkZW50aXR5X2FjY291bnRfaWQYASABKAkSEwoLcmVzb3VyY2VfaWQYAiABKAkSHwoXYWNjZXNzX3Rva2VuX2V4cGlyZXNfYXQYAyABKAMSEQoJY2xpZW50X2lkGAQgASgJEhMKC2F1dGhfbWV0aG9kGAUgASgJEhYKDnRva2VuX2VuZHBvaW50GAYgASgJEhwKFGFjY2Vzc190b2tlbl9lbnZfdmFyGAcgASgJEh0KFXJlZnJlc2hfdG9rZW5fZW52X3ZhchgIIAEoCRIWCg5lbnZpcm9ubWVudF9pZBgJIAEoCRIVCg1yZXNvdXJjZV9raW5kGAogASgJEg4KBm9yZ19pZBgLIAEoCWIGcHJvdG8z");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message ai.stigmer.agentic.mcpserver.v1.OAuthGrant.
|
|
11
11
|
* Use `create(OAuthGrantSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"oauth_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/oauth_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"oauth_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/oauth_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,4HAA4H;AAC5H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGrE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,kfAAkf,CAAC,CAAC;AA8H/f;;;GAGG;AACH,MAAM,CAAC,MAAM,gBAAgB,GAA2B,aAAa,CACnE,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type {
|
|
2
|
+
import type { EnvVarDeclaration } from "../../environment/v1/spec_pb";
|
|
3
3
|
import type { ApiResourceReference } from "../../../commons/apiresource/io_pb";
|
|
4
4
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -83,11 +83,14 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
|
|
|
83
83
|
*/
|
|
84
84
|
defaultEnabledTools: string[];
|
|
85
85
|
/**
|
|
86
|
-
* Environment
|
|
86
|
+
* Environment variable declarations for this MCP server.
|
|
87
|
+
* Keys are variable names; values describe their metadata and optionality.
|
|
87
88
|
*
|
|
88
|
-
* @generated from field: ai.stigmer.agentic.environment.v1.
|
|
89
|
+
* @generated from field: map<string, ai.stigmer.agentic.environment.v1.EnvVarDeclaration> env = 8;
|
|
89
90
|
*/
|
|
90
|
-
|
|
91
|
+
env: {
|
|
92
|
+
[key: string]: EnvVarDeclaration;
|
|
93
|
+
};
|
|
91
94
|
/**
|
|
92
95
|
* Manual tool approval overrides set by the MCP server owner.
|
|
93
96
|
*
|
|
@@ -131,9 +134,10 @@ export type McpServerSpec = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerSp
|
|
|
131
134
|
* When set, the MCP server's Connect page offers an OAuth flow instead of
|
|
132
135
|
* (or in addition to) manual credential entry.
|
|
133
136
|
*
|
|
134
|
-
* The acquired access token is stored in
|
|
135
|
-
* as the env var named by
|
|
136
|
-
*
|
|
137
|
+
* The acquired access token is stored in a system-managed environment
|
|
138
|
+
* (identified by grant.environment_id) as the env var named by
|
|
139
|
+
* auth.target_env_var. That env var must also be declared in env so the
|
|
140
|
+
* execution pipeline knows about it.
|
|
137
141
|
*
|
|
138
142
|
* @generated from field: ai.stigmer.agentic.mcpserver.v1.McpServerAuth auth = 14;
|
|
139
143
|
*/
|
|
@@ -175,7 +179,7 @@ export type StdioServerConfig = Message<"ai.stigmer.agentic.mcpserver.v1.StdioSe
|
|
|
175
179
|
* (same source as HTTP header/query param placeholders). This enables MCP
|
|
176
180
|
* servers that take core configuration as positional CLI arguments (e.g.
|
|
177
181
|
* database connection URLs, directory paths) to be parameterized per-user
|
|
178
|
-
* through
|
|
182
|
+
* through env declarations.
|
|
179
183
|
*
|
|
180
184
|
* Resolution uses strict mode: missing variables produce a clear error
|
|
181
185
|
* rather than passing a literal "${VAR}" to the subprocess.
|
|
@@ -348,9 +352,11 @@ export declare const ToolApprovalPolicySchema: GenMessage<ToolApprovalPolicy>;
|
|
|
348
352
|
* The referenced OAuthApp holds the client_id, client_secret, and endpoint
|
|
349
353
|
* URLs needed for the authorization code flow.
|
|
350
354
|
*
|
|
351
|
-
* In both cases, the acquired access token is stored in
|
|
352
|
-
* environment as target_env_var. A refresh
|
|
353
|
-
* stored alongside as
|
|
355
|
+
* In both cases, the acquired access token is stored in a system-managed
|
|
356
|
+
* environment (labeled stigmer.ai/managed=true) as target_env_var. A refresh
|
|
357
|
+
* token (if issued by the vendor) is stored alongside as
|
|
358
|
+
* {target_env_var}_REFRESH_TOKEN by convention. The managed environment ID
|
|
359
|
+
* is recorded on the OAuthGrant for all subsequent reads and refreshes.
|
|
354
360
|
*
|
|
355
361
|
* Token lifecycle:
|
|
356
362
|
* - Pre-flight check before execution: if the access token is expired,
|
|
@@ -378,10 +384,11 @@ export type McpServerAuth = Message<"ai.stigmer.agentic.mcpserver.v1.McpServerAu
|
|
|
378
384
|
*/
|
|
379
385
|
oauthAppRef?: ApiResourceReference;
|
|
380
386
|
/**
|
|
381
|
-
* The env var
|
|
382
|
-
* Must correspond to an entry in
|
|
383
|
-
* resolves it. The refresh token is stored as
|
|
384
|
-
*
|
|
387
|
+
* The env var where the acquired access token is stored.
|
|
388
|
+
* Must correspond to an entry in env so the execution pipeline
|
|
389
|
+
* resolves it. The refresh token is stored as
|
|
390
|
+
* {target_env_var}_REFRESH_TOKEN
|
|
391
|
+
* by convention. Both are written to the grant's managed environment.
|
|
385
392
|
*
|
|
386
393
|
* @generated from field: string target_env_var = 2;
|
|
387
394
|
*/
|
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
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
|
+
import { file_ai_stigmer_commons_apiresource_field_options } from "../../../commons/apiresource/field_options_pb";
|
|
6
7
|
import { file_ai_stigmer_commons_apiresource_io } from "../../../commons/apiresource/io_pb";
|
|
7
8
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb";
|
|
8
9
|
/**
|
|
9
10
|
* Describes the file ai/stigmer/agentic/mcpserver/v1/spec.proto.
|
|
10
11
|
*/
|
|
11
|
-
export const file_ai_stigmer_agentic_mcpserver_v1_spec = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_mcpserver_v1_spec = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL3NwZWMucHJvdG8SH2FpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEi6QQKDU1jcFNlcnZlclNwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSEAoIaWNvbl91cmwYAiABKAkSDAoEdGFncxgDIAMoCRJDCgVzdGRpbxgEIAEoCzIyLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuU3RkaW9TZXJ2ZXJDb25maWdIABJBCgRodHRwGAUgASgLMjEuYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5IdHRwU2VydmVyQ29uZmlnSAASHQoVZGVmYXVsdF9lbmFibGVkX3Rvb2xzGAcgAygJEkQKA2VudhgIIAMoCzI3LmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuTWNwU2VydmVyU3BlYy5FbnZFbnRyeRJSChVwaW5uZWRfdG9vbF9hcHByb3ZhbHMYCyADKAsyMy5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLlRvb2xBcHByb3ZhbFBvbGljeRIWCg5yZXBvc2l0b3J5X3VybBgMIAEoCRIUCgxnaXRodWJf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2FwcF9yZWYua2luZBI7b2F1dGhfYXBwX3JlZiBtdXN0IHJlZmVyZW5jZSBhIHJlc291cmNlIHdpdGgga2luZD1vYXV0aF9hcHAaInRoaXMuc2x1ZyA9PSAnJyB8fCB0aGlzLmtpbmQgPT0gMjLghSwWEh8KDnRhcmdldF9lbnZfdmFyGAIgASgJQge6SARyAhABEhsKE3Rva2VuX2xpZmV0aW1lX2hpbnQYAyABKAkSEwoLc2NvcGVfaGludHMYBCADKAliBnByb3RvMw", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_commons_apiresource_field_options, file_ai_stigmer_commons_apiresource_io, file_buf_validate_validate]);
|
|
12
13
|
/**
|
|
13
14
|
* Describes the message ai.stigmer.agentic.mcpserver.v1.McpServerSpec.
|
|
14
15
|
* Use `create(McpServerSpecSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/mcpserver/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,2HAA2H;AAC3H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;
|
|
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,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC;AAC3F,OAAO,EAAE,iDAAiD,EAAE,MAAM,+CAA+C,CAAC;AAElH,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,w+DAAw+D,EAAE,CAAC,2CAA2C,EAAE,iDAAiD,EAAE,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAgJ3pE;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AA+D5D;;;GAGG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAkC,aAAa,CACjF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAqE5D;;;GAGG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAAiC,aAAa,CAC/E,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAmD5D;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC;AAkF5D;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type {
|
|
2
|
+
import type { EnvVarDeclaration } from "../../environment/v1/spec_pb";
|
|
3
3
|
import type { WorkflowTaskKind } from "./enum_pb";
|
|
4
4
|
import type { JsonObject, Message } from "@bufbuild/protobuf";
|
|
5
5
|
/**
|
|
@@ -39,11 +39,14 @@ export type WorkflowSpec = Message<"ai.stigmer.agentic.workflow.v1.WorkflowSpec"
|
|
|
39
39
|
*/
|
|
40
40
|
tasks: WorkflowTask[];
|
|
41
41
|
/**
|
|
42
|
-
* Environment
|
|
42
|
+
* Environment variable declarations for this workflow.
|
|
43
|
+
* Keys are variable names; values describe their metadata and optionality.
|
|
43
44
|
*
|
|
44
|
-
* @generated from field: ai.stigmer.agentic.environment.v1.
|
|
45
|
+
* @generated from field: map<string, ai.stigmer.agentic.environment.v1.EnvVarDeclaration> env = 4;
|
|
45
46
|
*/
|
|
46
|
-
|
|
47
|
+
env: {
|
|
48
|
+
[key: string]: EnvVarDeclaration;
|
|
49
|
+
};
|
|
47
50
|
};
|
|
48
51
|
/**
|
|
49
52
|
* Describes the message ai.stigmer.agentic.workflow.v1.WorkflowSpec.
|
|
@@ -10,7 +10,7 @@ import { file_google_protobuf_struct } from "@bufbuild/protobuf/wkt";
|
|
|
10
10
|
/**
|
|
11
11
|
* Describes the file ai/stigmer/agentic/workflow/v1/spec.proto.
|
|
12
12
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_workflow_v1_spec = /*@__PURE__*/ fileDesc("
|
|
13
|
+
export const file_ai_stigmer_agentic_workflow_v1_spec = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvd29ya2Zsb3cvdjEvc3BlYy5wcm90bxIeYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxItwCCgxXb3JrZmxvd1NwZWMSEwoLZGVzY3JpcHRpb24YASABKAkSSgoIZG9jdW1lbnQYAiABKAsyMC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dEb2N1bWVudEIGukgDyAEBEkUKBXRhc2tzGAMgAygLMiwuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93VGFza0IIukgFkgECCAESQgoDZW52GAQgAygLMjUuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLldvcmtmbG93U3BlYy5FbnZFbnRyeRpgCghFbnZFbnRyeRILCgNrZXkYASABKAkSQwoFdmFsdWUYAiABKAsyNC5haS5zdGlnbWVyLmFnZW50aWMuZW52aXJvbm1lbnQudjEuRW52VmFyRGVjbGFyYXRpb246AjgBIpABChBXb3JrZmxvd0RvY3VtZW50Eh0KA2RzbBgBIAEoCUIQukgNcgsyCV4xXC4wXC4wJBIZCgluYW1lc3BhY2UYAiABKAlCBrpIA8gBARIUCgRuYW1lGAMgASgJQga6SAPIAQESFwoHdmVyc2lvbhgEIAEoCUIGukgDyAEBEhMKC2Rlc2NyaXB0aW9uGAUgASgJIp0CCgxXb3JrZmxvd1Rhc2sSFAoEbmFtZRgBIAEoCUIGukgDyAEBEkYKBGtpbmQYAiABKA4yMC5haS5zdGlnbWVyLmFnZW50aWMud29ya2Zsb3cudjEuV29ya2Zsb3dUYXNrS2luZEIGukgDyAEBEjwKC3Rhc2tfY29uZmlnGAMgASgLMhcuZ29vZ2xlLnByb3RvYnVmLlN0cnVjdEIOukgDyAEB6oUsBGtpbmQSNgoGZXhwb3J0GAQgASgLMiYuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLkV4cG9ydBI5CgRmbG93GAUgASgLMisuYWkuc3RpZ21lci5hZ2VudGljLndvcmtmbG93LnYxLkZsb3dDb250cm9sIh0KBkV4cG9ydBITCgJhcxgBIAEoCUIHukgEcgIQASIbCgtGbG93Q29udHJvbBIMCgR0aGVuGAEgASgJYgZwcm90bzM", [file_ai_stigmer_agentic_environment_v1_spec, file_ai_stigmer_agentic_workflow_v1_enum, file_ai_stigmer_commons_apiresource_field_options, file_buf_validate_validate, file_google_protobuf_struct]);
|
|
14
14
|
/**
|
|
15
15
|
* Describes the message ai.stigmer.agentic.workflow.v1.WorkflowSpec.
|
|
16
16
|
* Use `create(WorkflowSpecSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/workflow/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,yHAAyH;AACzH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,2CAA2C,EAAE,MAAM,8BAA8B,CAAC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aAAa,CACvE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAwB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,YAAY,GAAuB,aAAa,CAC3D,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC;AAwB3D;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -42,6 +42,7 @@ export declare const file_ai_stigmer_iam_oauthapp_v1_spec: GenFile;
|
|
|
42
42
|
* authorization_url: "https://slack.com/oauth/v2/authorize"
|
|
43
43
|
* token_url: "https://slack.com/api/oauth.v2.access"
|
|
44
44
|
* scopes: ["channels:read", "chat:write"]
|
|
45
|
+
* scope_parameter_name: "user_scope"
|
|
45
46
|
*
|
|
46
47
|
* @generated from message ai.stigmer.iam.oauthapp.v1.OAuthAppSpec
|
|
47
48
|
*/
|
|
@@ -100,6 +101,18 @@ export type OAuthAppSpec = Message<"ai.stigmer.iam.oauthapp.v1.OAuthAppSpec"> &
|
|
|
100
101
|
* @generated from field: string userinfo_url = 7;
|
|
101
102
|
*/
|
|
102
103
|
userinfoUrl: string;
|
|
104
|
+
/**
|
|
105
|
+
* Name of the query parameter used to send scopes in the authorization URL.
|
|
106
|
+
*
|
|
107
|
+
* Most OAuth providers use the standard "scope" parameter. Some vendors
|
|
108
|
+
* use a non-standard name — for example, Slack's V2 OAuth API requires
|
|
109
|
+
* user token scopes to be sent as "user_scope" instead of "scope".
|
|
110
|
+
*
|
|
111
|
+
* When empty, defaults to "scope" (standard OAuth 2.0 behavior).
|
|
112
|
+
*
|
|
113
|
+
* @generated from field: string scope_parameter_name = 8;
|
|
114
|
+
*/
|
|
115
|
+
scopeParameterName: string;
|
|
103
116
|
};
|
|
104
117
|
/**
|
|
105
118
|
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthAppSpec.
|
|
@@ -6,7 +6,7 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file ai/stigmer/iam/oauthapp/v1/spec.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_ai_stigmer_iam_oauthapp_v1_spec = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_ai_stigmer_iam_oauthapp_v1_spec = /*@__PURE__*/ fileDesc("CiVhaS9zdGlnbWVyL2lhbS9vYXV0aGFwcC92MS9zcGVjLnByb3RvEhphaS5zdGlnbWVyLmlhbS5vYXV0aGFwcC52MSLiAQoMT0F1dGhBcHBTcGVjEhAKCHByb3ZpZGVyGAEgASgJEhoKCWNsaWVudF9pZBgCIAEoCUIHukgEcgIQARIeCg1jbGllbnRfc2VjcmV0GAMgASgJQge6SARyAhABEiMKEWF1dGhvcml6YXRpb25fdXJsGAQgASgJQgi6SAVyA4gBARIbCgl0b2tlbl91cmwYBSABKAlCCLpIBXIDiAEBEg4KBnNjb3BlcxgGIAMoCRIUCgx1c2VyaW5mb191cmwYByABKAkSHAoUc2NvcGVfcGFyYW1ldGVyX25hbWUYCCABKAliBnByb3RvMw", [file_buf_validate_validate]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message ai.stigmer.iam.oauthapp.v1.OAuthAppSpec.
|
|
12
12
|
* Use `create(OAuthAppSpecSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/oauthapp/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAY,aAAa,CACxE,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/oauthapp/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,iHAAiH;AACjH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAAY,aAAa,CACxE,QAAQ,CAAC,wZAAwZ,EAAE,CAAC,0BAA0B,CAAC,CAAC,CAAC;AAwHnc;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,oCAAoC,EAAE,CAAC,CAAC,CAAC"}
|