@stigmer/protos 0.0.83 → 0.0.85
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/mcpserver/v1/command_connect.d.ts +71 -11
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js +73 -13
- package/ai/stigmer/agentic/mcpserver/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/command_pb.d.ts +71 -13
- 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 +328 -1
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js +97 -2
- package/ai/stigmer/agentic/mcpserver/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.d.ts +68 -0
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js +6 -1
- package/ai/stigmer/agentic/mcpserver/v1/oauth_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.d.ts +41 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js +41 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.d.ts +40 -0
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js +2 -1
- package/ai/stigmer/agentic/mcpserver/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.d.ts +0 -19
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js +1 -2
- package/ai/stigmer/agentic/mcpserver/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.d.ts +113 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js +48 -1
- package/ai/stigmer/agentic/mcpserver/v1/status_pb.js.map +1 -1
- package/ai/stigmer/search/v1/io_pb.d.ts +12 -1
- package/ai/stigmer/search/v1/io_pb.js +1 -1
- package/ai/stigmer/search/v1/io_pb.js.map +1 -1
- package/package.json +1 -1
|
@@ -206,22 +206,82 @@ export declare const McpServerCommandController: {
|
|
|
206
206
|
readonly kind: any;
|
|
207
207
|
};
|
|
208
208
|
/**
|
|
209
|
-
*
|
|
210
|
-
* an MCP server in the specified org.
|
|
209
|
+
* Disconnect the authenticated user's OAuth connection for a resource.
|
|
211
210
|
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
214
|
-
*
|
|
215
|
-
*
|
|
211
|
+
* Tears down the user's personal OAuth connection by deleting the
|
|
212
|
+
* OAuthGrant and its associated managed environment (which holds the
|
|
213
|
+
* access and refresh tokens). The MCP server definition is unchanged —
|
|
214
|
+
* only the caller's credentials are removed.
|
|
215
|
+
*
|
|
216
|
+
* Other users' connections to the same resource are unaffected.
|
|
217
|
+
*
|
|
218
|
+
* Idempotent: returns disconnected=true when a grant was deleted,
|
|
219
|
+
* disconnected=false when no grant existed. Never returns an error
|
|
220
|
+
* for a missing grant.
|
|
216
221
|
*
|
|
217
222
|
* @internal
|
|
218
|
-
* Authorization: Requires
|
|
219
|
-
*
|
|
223
|
+
* Authorization: Requires can_connect permission on the mcp_server resource.
|
|
224
|
+
* Uses the same permission as connect/initiateOAuthConnect — if you can
|
|
225
|
+
* establish a connection, you can tear it down.
|
|
226
|
+
*
|
|
227
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.disconnectOAuth
|
|
228
|
+
*/
|
|
229
|
+
readonly disconnectOAuth: {
|
|
230
|
+
readonly name: "disconnectOAuth";
|
|
231
|
+
readonly I: any;
|
|
232
|
+
readonly O: any;
|
|
233
|
+
readonly kind: any;
|
|
234
|
+
};
|
|
235
|
+
/**
|
|
236
|
+
* Create or update an org-level BYOA OAuth app override for a resource.
|
|
237
|
+
*
|
|
238
|
+
* Allows an organization to use its own OAuth app credentials instead of
|
|
239
|
+
* the platform default. The handler clones the platform OAuthApp template
|
|
240
|
+
* (endpoint URLs, scopes) and applies the org-provided client credentials.
|
|
241
|
+
*
|
|
242
|
+
* Idempotent: if an override already exists for this resource + org, the
|
|
243
|
+
* existing OAuthApp is updated with the new credentials.
|
|
244
|
+
*
|
|
245
|
+
* @internal
|
|
246
|
+
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
247
|
+
* This is an org-admin operation — setting credentials that affect all users
|
|
248
|
+
* in the org who connect to this resource.
|
|
249
|
+
*
|
|
250
|
+
* Errors:
|
|
251
|
+
* - FAILED_PRECONDITION: Resource has no auth block or no oauth_app_ref
|
|
252
|
+
* (BYOA requires a platform template to clone from)
|
|
253
|
+
* - NOT_FOUND: Resource does not exist
|
|
254
|
+
*
|
|
255
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.setOrgOAuthApp
|
|
256
|
+
*/
|
|
257
|
+
readonly setOrgOAuthApp: {
|
|
258
|
+
readonly name: "setOrgOAuthApp";
|
|
259
|
+
readonly I: any;
|
|
260
|
+
readonly O: any;
|
|
261
|
+
readonly kind: any;
|
|
262
|
+
};
|
|
263
|
+
/**
|
|
264
|
+
* Remove an org-level BYOA override for a resource.
|
|
265
|
+
*
|
|
266
|
+
* Deletes the OAuthAppOverride binding and the OAuthApp resource that
|
|
267
|
+
* was created for it. After this, the resolution chain falls back to
|
|
268
|
+
* the platform default.
|
|
269
|
+
*
|
|
270
|
+
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
271
|
+
* will fail on next token refresh — those users will need to
|
|
272
|
+
* re-authenticate using the platform default or a new org override.
|
|
273
|
+
*
|
|
274
|
+
* @internal
|
|
275
|
+
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
276
|
+
* Same gate as setOrgOAuthApp — org-admin authority for credential management.
|
|
277
|
+
*
|
|
278
|
+
* Errors:
|
|
279
|
+
* - NOT_FOUND: No override exists for this resource + org
|
|
220
280
|
*
|
|
221
|
-
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.
|
|
281
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.deleteOrgOAuthApp
|
|
222
282
|
*/
|
|
223
|
-
readonly
|
|
224
|
-
readonly name: "
|
|
283
|
+
readonly deleteOrgOAuthApp: {
|
|
284
|
+
readonly name: "deleteOrgOAuthApp";
|
|
225
285
|
readonly I: any;
|
|
226
286
|
readonly O: any;
|
|
227
287
|
readonly kind: any;
|
|
@@ -211,24 +211,84 @@ export const McpServerCommandController = {
|
|
|
211
211
|
kind: MethodKind.Unary,
|
|
212
212
|
},
|
|
213
213
|
/**
|
|
214
|
-
*
|
|
215
|
-
* an MCP server in the specified org.
|
|
214
|
+
* Disconnect the authenticated user's OAuth connection for a resource.
|
|
216
215
|
*
|
|
217
|
-
*
|
|
218
|
-
*
|
|
219
|
-
*
|
|
220
|
-
*
|
|
216
|
+
* Tears down the user's personal OAuth connection by deleting the
|
|
217
|
+
* OAuthGrant and its associated managed environment (which holds the
|
|
218
|
+
* access and refresh tokens). The MCP server definition is unchanged —
|
|
219
|
+
* only the caller's credentials are removed.
|
|
220
|
+
*
|
|
221
|
+
* Other users' connections to the same resource are unaffected.
|
|
222
|
+
*
|
|
223
|
+
* Idempotent: returns disconnected=true when a grant was deleted,
|
|
224
|
+
* disconnected=false when no grant existed. Never returns an error
|
|
225
|
+
* for a missing grant.
|
|
221
226
|
*
|
|
222
227
|
* @internal
|
|
223
|
-
* Authorization: Requires
|
|
224
|
-
*
|
|
228
|
+
* Authorization: Requires can_connect permission on the mcp_server resource.
|
|
229
|
+
* Uses the same permission as connect/initiateOAuthConnect — if you can
|
|
230
|
+
* establish a connection, you can tear it down.
|
|
231
|
+
*
|
|
232
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.disconnectOAuth
|
|
233
|
+
*/
|
|
234
|
+
disconnectOAuth: {
|
|
235
|
+
name: "disconnectOAuth",
|
|
236
|
+
I: DisconnectOAuthInput,
|
|
237
|
+
O: DisconnectOAuthOutput,
|
|
238
|
+
kind: MethodKind.Unary,
|
|
239
|
+
},
|
|
240
|
+
/**
|
|
241
|
+
* Create or update an org-level BYOA OAuth app override for a resource.
|
|
242
|
+
*
|
|
243
|
+
* Allows an organization to use its own OAuth app credentials instead of
|
|
244
|
+
* the platform default. The handler clones the platform OAuthApp template
|
|
245
|
+
* (endpoint URLs, scopes) and applies the org-provided client credentials.
|
|
246
|
+
*
|
|
247
|
+
* Idempotent: if an override already exists for this resource + org, the
|
|
248
|
+
* existing OAuthApp is updated with the new credentials.
|
|
249
|
+
*
|
|
250
|
+
* @internal
|
|
251
|
+
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
252
|
+
* This is an org-admin operation — setting credentials that affect all users
|
|
253
|
+
* in the org who connect to this resource.
|
|
254
|
+
*
|
|
255
|
+
* Errors:
|
|
256
|
+
* - FAILED_PRECONDITION: Resource has no auth block or no oauth_app_ref
|
|
257
|
+
* (BYOA requires a platform template to clone from)
|
|
258
|
+
* - NOT_FOUND: Resource does not exist
|
|
259
|
+
*
|
|
260
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.setOrgOAuthApp
|
|
261
|
+
*/
|
|
262
|
+
setOrgOAuthApp: {
|
|
263
|
+
name: "setOrgOAuthApp",
|
|
264
|
+
I: SetOrgOAuthAppInput,
|
|
265
|
+
O: SetOrgOAuthAppOutput,
|
|
266
|
+
kind: MethodKind.Unary,
|
|
267
|
+
},
|
|
268
|
+
/**
|
|
269
|
+
* Remove an org-level BYOA override for a resource.
|
|
270
|
+
*
|
|
271
|
+
* Deletes the OAuthAppOverride binding and the OAuthApp resource that
|
|
272
|
+
* was created for it. After this, the resolution chain falls back to
|
|
273
|
+
* the platform default.
|
|
274
|
+
*
|
|
275
|
+
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
276
|
+
* will fail on next token refresh — those users will need to
|
|
277
|
+
* re-authenticate using the platform default or a new org override.
|
|
278
|
+
*
|
|
279
|
+
* @internal
|
|
280
|
+
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
281
|
+
* Same gate as setOrgOAuthApp — org-admin authority for credential management.
|
|
282
|
+
*
|
|
283
|
+
* Errors:
|
|
284
|
+
* - NOT_FOUND: No override exists for this resource + org
|
|
225
285
|
*
|
|
226
|
-
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.
|
|
286
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.deleteOrgOAuthApp
|
|
227
287
|
*/
|
|
228
|
-
|
|
229
|
-
name: "
|
|
230
|
-
I:
|
|
231
|
-
O:
|
|
288
|
+
deleteOrgOAuthApp: {
|
|
289
|
+
name: "deleteOrgOAuthApp",
|
|
290
|
+
I: DeleteOrgOAuthAppInput,
|
|
291
|
+
O: DeleteOrgOAuthAppOutput,
|
|
232
292
|
kind: MethodKind.Unary,
|
|
233
293
|
},
|
|
234
294
|
}
|
|
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;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
|
|
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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AC,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;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,eAAe,EAAE;YACf,IAAI,EAAE,iBAAiB;YACvB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,qBAAqB;YACxB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,mBAAmB;YACtB,CAAC,EAAE,oBAAoB;YACvB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;WAmBG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,uBAAuB;YAC1B,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,
|
|
3
|
+
import type { CompleteOAuthConnectInputSchema, CompleteOAuthConnectOutputSchema, ConnectInputSchema, DeleteOrgOAuthAppInputSchema, DeleteOrgOAuthAppOutputSchema, DisconnectOAuthInputSchema, DisconnectOAuthOutputSchema, InitiateOAuthConnectInputSchema, InitiateOAuthConnectOutputSchema, SetOrgOAuthAppInputSchema, SetOrgOAuthAppOutputSchema } 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.
|
|
@@ -204,23 +204,81 @@ export declare const McpServerCommandController: GenService<{
|
|
|
204
204
|
output: typeof CompleteOAuthConnectOutputSchema;
|
|
205
205
|
};
|
|
206
206
|
/**
|
|
207
|
-
*
|
|
208
|
-
* an MCP server in the specified org.
|
|
207
|
+
* Disconnect the authenticated user's OAuth connection for a resource.
|
|
209
208
|
*
|
|
210
|
-
*
|
|
211
|
-
*
|
|
212
|
-
*
|
|
213
|
-
*
|
|
209
|
+
* Tears down the user's personal OAuth connection by deleting the
|
|
210
|
+
* OAuthGrant and its associated managed environment (which holds the
|
|
211
|
+
* access and refresh tokens). The MCP server definition is unchanged —
|
|
212
|
+
* only the caller's credentials are removed.
|
|
213
|
+
*
|
|
214
|
+
* Other users' connections to the same resource are unaffected.
|
|
215
|
+
*
|
|
216
|
+
* Idempotent: returns disconnected=true when a grant was deleted,
|
|
217
|
+
* disconnected=false when no grant existed. Never returns an error
|
|
218
|
+
* for a missing grant.
|
|
214
219
|
*
|
|
215
220
|
* @internal
|
|
216
|
-
* Authorization: Requires
|
|
217
|
-
*
|
|
221
|
+
* Authorization: Requires can_connect permission on the mcp_server resource.
|
|
222
|
+
* Uses the same permission as connect/initiateOAuthConnect — if you can
|
|
223
|
+
* establish a connection, you can tear it down.
|
|
224
|
+
*
|
|
225
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.disconnectOAuth
|
|
226
|
+
*/
|
|
227
|
+
disconnectOAuth: {
|
|
228
|
+
methodKind: "unary";
|
|
229
|
+
input: typeof DisconnectOAuthInputSchema;
|
|
230
|
+
output: typeof DisconnectOAuthOutputSchema;
|
|
231
|
+
};
|
|
232
|
+
/**
|
|
233
|
+
* Create or update an org-level BYOA OAuth app override for a resource.
|
|
234
|
+
*
|
|
235
|
+
* Allows an organization to use its own OAuth app credentials instead of
|
|
236
|
+
* the platform default. The handler clones the platform OAuthApp template
|
|
237
|
+
* (endpoint URLs, scopes) and applies the org-provided client credentials.
|
|
238
|
+
*
|
|
239
|
+
* Idempotent: if an override already exists for this resource + org, the
|
|
240
|
+
* existing OAuthApp is updated with the new credentials.
|
|
241
|
+
*
|
|
242
|
+
* @internal
|
|
243
|
+
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
244
|
+
* This is an org-admin operation — setting credentials that affect all users
|
|
245
|
+
* in the org who connect to this resource.
|
|
246
|
+
*
|
|
247
|
+
* Errors:
|
|
248
|
+
* - FAILED_PRECONDITION: Resource has no auth block or no oauth_app_ref
|
|
249
|
+
* (BYOA requires a platform template to clone from)
|
|
250
|
+
* - NOT_FOUND: Resource does not exist
|
|
251
|
+
*
|
|
252
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.setOrgOAuthApp
|
|
253
|
+
*/
|
|
254
|
+
setOrgOAuthApp: {
|
|
255
|
+
methodKind: "unary";
|
|
256
|
+
input: typeof SetOrgOAuthAppInputSchema;
|
|
257
|
+
output: typeof SetOrgOAuthAppOutputSchema;
|
|
258
|
+
};
|
|
259
|
+
/**
|
|
260
|
+
* Remove an org-level BYOA override for a resource.
|
|
261
|
+
*
|
|
262
|
+
* Deletes the OAuthAppOverride binding and the OAuthApp resource that
|
|
263
|
+
* was created for it. After this, the resolution chain falls back to
|
|
264
|
+
* the platform default.
|
|
265
|
+
*
|
|
266
|
+
* Existing user OAuthGrants that were issued using the org's OAuthApp
|
|
267
|
+
* will fail on next token refresh — those users will need to
|
|
268
|
+
* re-authenticate using the platform default or a new org override.
|
|
269
|
+
*
|
|
270
|
+
* @internal
|
|
271
|
+
* Authorization: Requires can_create_oauth_app permission on the organization.
|
|
272
|
+
* Same gate as setOrgOAuthApp — org-admin authority for credential management.
|
|
273
|
+
*
|
|
274
|
+
* Errors:
|
|
275
|
+
* - NOT_FOUND: No override exists for this resource + org
|
|
218
276
|
*
|
|
219
|
-
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.
|
|
277
|
+
* @generated from rpc ai.stigmer.agentic.mcpserver.v1.McpServerCommandController.deleteOrgOAuthApp
|
|
220
278
|
*/
|
|
221
|
-
|
|
279
|
+
deleteOrgOAuthApp: {
|
|
222
280
|
methodKind: "unary";
|
|
223
|
-
input: typeof
|
|
224
|
-
output: typeof
|
|
281
|
+
input: typeof DeleteOrgOAuthAppInputSchema;
|
|
282
|
+
output: typeof DeleteOrgOAuthAppOutputSchema;
|
|
225
283
|
};
|
|
226
284
|
}>;
|
|
@@ -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("Ci1haS9zdGlnbWVyL2FnZW50aWMvbWNwc2VydmVyL3YxL2NvbW1hbmQucHJvdG8SH2FpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEypg8KGk1jcFNlcnZlckNvbW1hbmRDb250cm9sbGVyEl8KBWFwcGx5EiouYWkuc3RpZ21lci5hZ2VudGljLm1jcHNlcnZlci52MS5NY3BTZXJ2ZXIaKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchJmCgZjcmVhdGUSKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchoqLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2ZXIudjEuTWNwU2VydmVyIgTQuBgBEpoBCgZ1cGRhdGUSKi5haS5zdGlnbWVyLmFnZW50aWMubWNwc2VydmVyLnYxLk1jcFNlcnZlchoqLmFpLnN0aWdtZXIuYWdlbnRpYy5tY3BzZXJ2Z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WxldGUgb3JnIG9hdXRoIGFwcCBvdmVycmlkZRoEoP8rLGIGcHJvdG8z", [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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