@stigmer/protos 3.11.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ai/stigmer/activity/v1/io_pb.d.ts +4 -0
- package/ai/stigmer/activity/v1/io_pb.js.map +1 -1
- package/ai/stigmer/activity/v1/query_connect.d.ts +4 -2
- package/ai/stigmer/activity/v1/query_connect.js +4 -2
- package/ai/stigmer/activity/v1/query_connect.js.map +1 -1
- package/ai/stigmer/activity/v1/query_pb.d.ts +4 -2
- package/ai/stigmer/activity/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +0 -41
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +3 -8
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.d.ts +37 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/conversation_io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.d.ts +89 -2
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js +62 -3
- package/ai/stigmer/agentic/agentchannel/v1/delivery_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_command_connect.d.ts +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_connect.js +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_command_pb.d.ts +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_pb.js +3 -4
- package/ai/stigmer/agentic/agentchannel/v1/message_command_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.d.ts +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.d.ts +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.d.ts +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js +1 -2
- package/ai/stigmer/agentic/agentchannel/v1/message_query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.d.ts +33 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js +1 -1
- package/ai/stigmer/agentic/agentchannel/v1/outbound_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +11 -3
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.d.ts +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_connect.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.d.ts +12 -4
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/query_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +0 -21
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +10 -4
- package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +17 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +0 -7
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -8
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/command_connect.d.ts +4 -0
- package/ai/stigmer/iam/platformclient/v1/command_connect.js +4 -0
- package/ai/stigmer/iam/platformclient/v1/command_connect.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/command_pb.d.ts +4 -0
- package/ai/stigmer/iam/platformclient/v1/command_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/spec_pb.d.ts +21 -8
- package/ai/stigmer/iam/platformclient/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.d.ts +7 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.js +7 -1
- package/ai/stigmer/iam/platformclient/v1/token_connect.js.map +1 -1
- package/ai/stigmer/iam/platformclient/v1/token_pb.d.ts +14 -5
- package/ai/stigmer/iam/platformclient/v1/token_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +13 -25
- package/ai/stigmer/iam/v1/enum_pb.js +13 -25
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +46 -0
- package/ai/stigmer/platform/v1/server_info_pb.js +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/ai/stigmer/search/v1/io_pb.d.ts +3 -1
- package/ai/stigmer/search/v1/io_pb.js.map +1 -1
- package/package.json +1 -1
- package/ai/stigmer/agentic/datastore/v1/api_pb.d.ts +0 -64
- package/ai/stigmer/agentic/datastore/v1/api_pb.js +0 -18
- package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +0 -111
- package/ai/stigmer/agentic/datastore/v1/command_connect.js +0 -119
- package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +0 -110
- package/ai/stigmer/agentic/datastore/v1/command_pb.js +0 -19
- package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +0 -64
- package/ai/stigmer/agentic/datastore/v1/io_pb.js +0 -22
- package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +0 -59
- package/ai/stigmer/agentic/datastore/v1/query_connect.js +0 -68
- package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +0 -61
- package/ai/stigmer/agentic/datastore/v1/query_pb.js +0 -24
- package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +0 -75
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +0 -82
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +0 -75
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +0 -32
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +0 -752
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +0 -198
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +0 -69
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +0 -76
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +0 -70
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +0 -38
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +0 -743
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js +0 -195
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +0 -1
- package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +0 -159
- package/ai/stigmer/agentic/datastore/v1/status_pb.js +0 -93
- package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +0 -1
|
@@ -32,6 +32,10 @@ export declare const PlatformClientCommandController: GenService<{
|
|
|
32
32
|
* The creator's organization owns the platform client. The creator is granted
|
|
33
33
|
* the owner role automatically.
|
|
34
34
|
*
|
|
35
|
+
* The slug `system-share-client` is platform-reserved (it identifies the org's
|
|
36
|
+
* system-managed share client) and is rejected with INVALID_ARGUMENT — including
|
|
37
|
+
* when derived from the resource name.
|
|
38
|
+
*
|
|
35
39
|
* @internal
|
|
36
40
|
* Authorization: Requires can_create_platform_client permission in the organization.
|
|
37
41
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,EAAE,wCAAwC,EAAE,MAAM,YAAY,CAAC;AAEtE;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,yqCAAyqC,EAAE,CAAC,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,EAAE,yCAAyC,EAAE,wCAAwC,CAAC,CAAC,CAAC;AAE15C;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gIAAgI;AAChI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,uCAAuC,CAAC;AAC/F,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,yCAAyC,EAAE,MAAM,aAAa,CAAC;AAExE,OAAO,EAAE,wCAAwC,EAAE,MAAM,YAAY,CAAC;AAEtE;;GAEG;AACH,MAAM,CAAC,MAAM,6CAA6C,GAAY,aAAa,CACjF,QAAQ,CAAC,yqCAAyqC,EAAE,CAAC,sCAAsC,EAAE,uDAAuD,EAAE,0CAA0C,EAAE,yCAAyC,EAAE,wCAAwC,CAAC,CAAC,CAAC;AAE15C;;;;;;;;;;;;;;GAcG;AACH,MAAM,CAAC,MAAM,+BAA+B,GA8EvC,aAAa,CAChB,WAAW,CAAC,6CAA6C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -140,14 +140,27 @@ export type PlatformClientSpec = Message<"ai.stigmer.iam.platformclient.v1.Platf
|
|
|
140
140
|
*/
|
|
141
141
|
autoGrantRole: IamRole;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
144
|
-
* this PlatformClient.
|
|
145
|
-
*
|
|
146
|
-
*
|
|
147
|
-
*
|
|
148
|
-
*
|
|
149
|
-
*
|
|
150
|
-
* or when the platform controls all access points).
|
|
143
|
+
* Web origins allowed for browser-based requests using tokens minted by
|
|
144
|
+
* this PlatformClient (Stigmer Cloud).
|
|
145
|
+
*
|
|
146
|
+
* Enforced on every API request bearing a user token minted by this
|
|
147
|
+
* client (never on mintUserToken itself — minting is server-to-server and
|
|
148
|
+
* carries no browser Origin):
|
|
149
|
+
* - Empty list: origin validation is not enforced (open mode — suitable
|
|
150
|
+
* for development or when the platform controls all access points).
|
|
151
|
+
* - Non-empty list: the request's Origin header must match an entry
|
|
152
|
+
* (case-insensitive, per RFC 6454 origin comparison). Unlisted
|
|
153
|
+
* origins — including the opaque-origin serialization "null" — are
|
|
154
|
+
* refused PERMISSION_DENIED.
|
|
155
|
+
* - Requests without an Origin header always pass: only browsers send
|
|
156
|
+
* Origin, and only browsers guarantee it is not forgeable by page
|
|
157
|
+
* script. This is a browser-context, CORS-class defense-in-depth
|
|
158
|
+
* control against a leaked token being replayed from another site's
|
|
159
|
+
* browser context; the client_secret remains the primary control,
|
|
160
|
+
* and non-browser callers are not constrained by it.
|
|
161
|
+
*
|
|
162
|
+
* Edits propagate immediately: the enforcement cache is evicted on every
|
|
163
|
+
* PlatformClient update.
|
|
151
164
|
*
|
|
152
165
|
* @generated from field: repeated string allowed_origins = 9;
|
|
153
166
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,wiBAAwiB,EAAE,CAAC,iDAAiD,EAAE,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"spec_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/spec_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,6HAA6H;AAC7H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,iDAAiD,EAAE,MAAM,kDAAkD,CAAC;AAErH,OAAO,EAAE,2BAA2B,EAAE,MAAM,qBAAqB,CAAC;AAElE,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,wiBAAwiB,EAAE,CAAC,iDAAiD,EAAE,2BAA2B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AA2KvqB;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -42,11 +42,17 @@ export declare const PlatformClientTokenController: {
|
|
|
42
42
|
* - UNAUTHENTICATED: Invalid client_id or client_secret
|
|
43
43
|
* - FAILED_PRECONDITION: user_id does not exist and auto_provision_accounts
|
|
44
44
|
* is false, or the PlatformClient secret has expired
|
|
45
|
-
* - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
|
|
46
45
|
* - INTERNAL: Account provisioning could not be completed (for example, the
|
|
47
46
|
* auto_grant_on_org role grant failed). No partial account is left behind
|
|
48
47
|
* — the account is rolled back — so the request is safe to retry.
|
|
49
48
|
*
|
|
49
|
+
* Origin enforcement (spec.allowed_origins) does NOT apply to this call:
|
|
50
|
+
* minting is server-to-server, so there is no browser Origin to check.
|
|
51
|
+
* It applies to the browser API calls that BEAR the minted token — when
|
|
52
|
+
* the PlatformClient lists allowed_origins, requests whose Origin header
|
|
53
|
+
* is not on the list are refused PERMISSION_DENIED (see the
|
|
54
|
+
* allowed_origins field docs in spec.proto for the exact semantics).
|
|
55
|
+
*
|
|
50
56
|
* @internal
|
|
51
57
|
* This RPC is public — no Bearer token is required. The caller authenticates
|
|
52
58
|
* by providing client_id + client_secret in the request body. The handler
|
|
@@ -48,11 +48,17 @@ export const PlatformClientTokenController = {
|
|
|
48
48
|
* - UNAUTHENTICATED: Invalid client_id or client_secret
|
|
49
49
|
* - FAILED_PRECONDITION: user_id does not exist and auto_provision_accounts
|
|
50
50
|
* is false, or the PlatformClient secret has expired
|
|
51
|
-
* - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
|
|
52
51
|
* - INTERNAL: Account provisioning could not be completed (for example, the
|
|
53
52
|
* auto_grant_on_org role grant failed). No partial account is left behind
|
|
54
53
|
* — the account is rolled back — so the request is safe to retry.
|
|
55
54
|
*
|
|
55
|
+
* Origin enforcement (spec.allowed_origins) does NOT apply to this call:
|
|
56
|
+
* minting is server-to-server, so there is no browser Origin to check.
|
|
57
|
+
* It applies to the browser API calls that BEAR the minted token — when
|
|
58
|
+
* the PlatformClient lists allowed_origins, requests whose Origin header
|
|
59
|
+
* is not on the list are refused PERMISSION_DENIED (see the
|
|
60
|
+
* allowed_origins field docs in spec.proto for the exact semantics).
|
|
61
|
+
*
|
|
56
62
|
* @internal
|
|
57
63
|
* This RPC is public — no Bearer token is required. The caller authenticates
|
|
58
64
|
* by providing client_id + client_secret in the request body. The handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC1H,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,gEAAgE;IAC1E,OAAO,EAAE;QACP
|
|
1
|
+
{"version":3,"file":"token_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,8HAA8H;AAC9H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAC1H,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C,QAAQ,EAAE,gEAAgE;IAC1E,OAAO,EAAE;QACP;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAsCG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,oBAAoB;YACvB,CAAC,EAAE,qBAAqB;YACxB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,cAAc,EAAE;YACd,IAAI,EAAE,gBAAgB;YACtB,CAAC,EAAE,qBAAqB;YACxB,CAAC,EAAE,sBAAsB;YACzB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -56,10 +56,13 @@ export type MintUserTokenRequest = Message<"ai.stigmer.iam.platformclient.v1.Min
|
|
|
56
56
|
*/
|
|
57
57
|
userName: string;
|
|
58
58
|
/**
|
|
59
|
-
* Optional
|
|
60
|
-
*
|
|
61
|
-
*
|
|
62
|
-
*
|
|
59
|
+
* Optional confirmation of the organization the token is scoped to.
|
|
60
|
+
* The minted token is ALWAYS scoped to the PlatformClient's owning
|
|
61
|
+
* organization (metadata.org) — identity resolution and the optional
|
|
62
|
+
* auto-grant are keyed on it, so cross-organization minting is not
|
|
63
|
+
* supported. When set, this value must equal that owning organization;
|
|
64
|
+
* any other value is rejected INVALID_ARGUMENT before the user is
|
|
65
|
+
* resolved or provisioned. When empty, the owning organization applies.
|
|
63
66
|
*
|
|
64
67
|
* @generated from field: string org_id = 6;
|
|
65
68
|
*/
|
|
@@ -258,11 +261,17 @@ export declare const PlatformClientTokenController: GenService<{
|
|
|
258
261
|
* - UNAUTHENTICATED: Invalid client_id or client_secret
|
|
259
262
|
* - FAILED_PRECONDITION: user_id does not exist and auto_provision_accounts
|
|
260
263
|
* is false, or the PlatformClient secret has expired
|
|
261
|
-
* - PERMISSION_DENIED: Origin not in allowed_origins (when configured)
|
|
262
264
|
* - INTERNAL: Account provisioning could not be completed (for example, the
|
|
263
265
|
* auto_grant_on_org role grant failed). No partial account is left behind
|
|
264
266
|
* — the account is rolled back — so the request is safe to retry.
|
|
265
267
|
*
|
|
268
|
+
* Origin enforcement (spec.allowed_origins) does NOT apply to this call:
|
|
269
|
+
* minting is server-to-server, so there is no browser Origin to check.
|
|
270
|
+
* It applies to the browser API calls that BEAR the minted token — when
|
|
271
|
+
* the PlatformClient lists allowed_origins, requests whose Origin header
|
|
272
|
+
* is not on the list are refused PERMISSION_DENIED (see the
|
|
273
|
+
* allowed_origins field docs in spec.proto for the exact semantics).
|
|
274
|
+
*
|
|
266
275
|
* @internal
|
|
267
276
|
* This RPC is public — no Bearer token is required. The caller authenticates
|
|
268
277
|
* by providing client_id + client_secret in the request body. The handler
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"token_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,omDAAomD,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"token_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/iam/platformclient/v1/token_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,8HAA8H;AAC9H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAClF,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,2CAA2C,GAAY,aAAa,CAC/E,QAAQ,CAAC,omDAAomD,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAwE3rD;;;GAGG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAqC,aAAa,CACvF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AA+B9D;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AA8E9D;;;GAGG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAsC,aAAa,CACzF,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAwC9D;;;GAGG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAuC,aAAa,CAC3F,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAkErC,aAAa,CAChB,WAAW,CAAC,2CAA2C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -195,30 +195,6 @@ export declare enum IamPermission {
|
|
|
195
195
|
* @generated from enum value: can_manage_model_pricing = 32;
|
|
196
196
|
*/
|
|
197
197
|
can_manage_model_pricing = 32,
|
|
198
|
-
/**
|
|
199
|
-
* Resource-level permission to reach a datastore's record RPCs.
|
|
200
|
-
*
|
|
201
|
-
* @internal
|
|
202
|
-
* Layer 1 of the datastore's two-layer authorization model: gates
|
|
203
|
-
* "may this principal touch this datastore's records at all" for
|
|
204
|
-
* direct platform principals (console, CLI, SDK, workflow executions).
|
|
205
|
-
* Checked in-handler via RequestAuthorizationService — the record RPCs
|
|
206
|
-
* are slug-addressed and carry is_skip_authorization, so the
|
|
207
|
-
* declarative interceptor never runs for them. Session-bound runner
|
|
208
|
-
* credentials do NOT pass through this permission — they take the
|
|
209
|
-
* usage-edge reach chain (agent's datastore_usages + org match) in
|
|
210
|
-
* domain logic. Layer 2 (role/verb/scope grants) always runs in
|
|
211
|
-
* datastore domain logic in both editions.
|
|
212
|
-
*
|
|
213
|
-
* @generated from enum value: can_use_records = 33;
|
|
214
|
-
*/
|
|
215
|
-
can_use_records = 33,
|
|
216
|
-
/**
|
|
217
|
-
* Organization-level permission to create datastores.
|
|
218
|
-
*
|
|
219
|
-
* @generated from enum value: can_create_datastore = 34;
|
|
220
|
-
*/
|
|
221
|
-
can_create_datastore = 34,
|
|
222
198
|
/**
|
|
223
199
|
* Platform-level permission to manage Cursor accounts: the managed
|
|
224
200
|
* Cursor teams (admin keys, member execution keys, org assignments)
|
|
@@ -242,7 +218,19 @@ export declare enum IamPermission {
|
|
|
242
218
|
*
|
|
243
219
|
* @generated from enum value: can_participate = 36;
|
|
244
220
|
*/
|
|
245
|
-
can_participate = 36
|
|
221
|
+
can_participate = 36,
|
|
222
|
+
/**
|
|
223
|
+
* Platform-level permission to introduce or change labels in the
|
|
224
|
+
* reserved stigmer.ai/* key namespace through client-facing write
|
|
225
|
+
* boundaries. Gated to platform operators (the seeding machine
|
|
226
|
+
* account): reserved labels carry platform semantics — most
|
|
227
|
+
* critically stigmer.ai/default-agent, which selects the platform
|
|
228
|
+
* default agent served to every organization — so ordinary requests
|
|
229
|
+
* may echo or remove them but never write them (cloud#320).
|
|
230
|
+
*
|
|
231
|
+
* @generated from enum value: can_write_reserved_labels = 37;
|
|
232
|
+
*/
|
|
233
|
+
can_write_reserved_labels = 37
|
|
246
234
|
}
|
|
247
235
|
/**
|
|
248
236
|
* Describes the enum ai.stigmer.iam.v1.IamPermission.
|
|
@@ -5,7 +5,7 @@ import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ai/stigmer/iam/v1/enum.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ai_stigmer_iam_v1_enum = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ai_stigmer_iam_v1_enum = /*@__PURE__*/ fileDesc("ChxhaS9zdGlnbWVyL2lhbS92MS9lbnVtLnByb3RvEhFhaS5zdGlnbWVyLmlhbS52MSqTBwoNSWFtUGVybWlzc2lvbhIPCgt1bnNwZWNpZmllZBAAEgwKCGNhbl92aWV3EAESDAoIY2FuX2VkaXQQAhIOCgpjYW5fZGVsZXRlEAMSFAoQY2FuX2dyYW50X2FjY2VzcxAEEhMKD2Nhbl92aWV3X2FjY2VzcxAFEhQKEGNhbl9jcmVhdGVfYWdlbnQQBhIXChNjYW5fY3JlYXRlX3dvcmtmbG93EAcSFgoSY2FuX2NyZWF0ZV9zZXNzaW9uEAgSFAoQY2FuX2NyZWF0ZV9za2lsbBAJEhYKEmNhbl9jcmVhdGVfcHJvamVjdBAKEhIKDmNhbl9jcmVhdGVfaWRwEAsSGgoWY2FuX2NyZWF0ZV9lbnZpcm9ubWVudBAMEh8KG2Nhbl9jcmVhdGVfaWRlbnRpdHlfYWNjb3VudBAVEhgKFGNhbl9jcmVhdGVfb2F1dGhfYXBwEBcSHgoaY2FuX2NyZWF0ZV9wbGF0Zm9ybV9jbGllbnQQGBIbChdjYW5fY3JlYXRlX2V4ZWN1dGlvbl9pbhANEhcKE2Nhbl9jcmVhdGVfaW5zdGFuY2UQDhIPCgtjYW5fZXhlY3V0ZRAPEhQKEGNhbl9yZWFkX3NlY3JldHMQEBIVChFjYW5fYm9vdHN0cmFwX2lhbRAREiAKHGNhbl9tYW5hZ2VfaWRlbnRpdHlfYWNjb3VudHMQEhIYChRsb2dpbl90b19iYWNrX29mZmljZRAUEg8KC2Nhbl9jb25uZWN0EBYSFQoRY2FuX2NyZWF0ZV9ydW5uZXIQGRIaChJjYW5fZGVsZXRlX3Nlc3Npb24QGhoCCAESFAoQY2FuX3ZpZXdfYmlsbGluZxAbEhYKEmNhbl9tYW5hZ2VfYmlsbGluZxAcEhsKF2Nhbl9leGVjdXRlX2JpbGxpbmdfb3BzEB0SGgoWY2FuX2NyZWF0ZV9hZ2VudF9zaGFyZRAeEhoKFmNhbl9jcmVhdGVfY2hhbm5lbF9hcHAQHxIcChhjYW5fbWFuYWdlX21vZGVsX3ByaWNpbmcQIBIeChpjYW5fbWFuYWdlX2N1cnNvcl9hY2NvdW50cxAjEhMKD2Nhbl9wYXJ0aWNpcGF0ZRAkEh0KGWNhbl93cml0ZV9yZXNlcnZlZF9sYWJlbHMQJSIECCEQISIECCIQIioPY2FuX3VzZV9yZWNvcmRzKhRjYW5fY3JlYXRlX2RhdGFzdG9yZSpiCgdJYW1Sb2xlEhgKFGlhbV9yb2xlX3Vuc3BlY2lmaWVkEAASCQoFb3duZXIQARIJCgVhZG1pbhACEgoKBm1lbWJlchADEgoKBnZpZXdlchAEEg8KC3BhcnRpY2lwYW50EAViBnByb3RvMw");
|
|
9
9
|
/**
|
|
10
10
|
* IamPermission defines the permissions checked by the authorization
|
|
11
11
|
* interceptor before an RPC handler executes.
|
|
@@ -199,30 +199,6 @@ export var IamPermission;
|
|
|
199
199
|
* @generated from enum value: can_manage_model_pricing = 32;
|
|
200
200
|
*/
|
|
201
201
|
IamPermission[IamPermission["can_manage_model_pricing"] = 32] = "can_manage_model_pricing";
|
|
202
|
-
/**
|
|
203
|
-
* Resource-level permission to reach a datastore's record RPCs.
|
|
204
|
-
*
|
|
205
|
-
* @internal
|
|
206
|
-
* Layer 1 of the datastore's two-layer authorization model: gates
|
|
207
|
-
* "may this principal touch this datastore's records at all" for
|
|
208
|
-
* direct platform principals (console, CLI, SDK, workflow executions).
|
|
209
|
-
* Checked in-handler via RequestAuthorizationService — the record RPCs
|
|
210
|
-
* are slug-addressed and carry is_skip_authorization, so the
|
|
211
|
-
* declarative interceptor never runs for them. Session-bound runner
|
|
212
|
-
* credentials do NOT pass through this permission — they take the
|
|
213
|
-
* usage-edge reach chain (agent's datastore_usages + org match) in
|
|
214
|
-
* domain logic. Layer 2 (role/verb/scope grants) always runs in
|
|
215
|
-
* datastore domain logic in both editions.
|
|
216
|
-
*
|
|
217
|
-
* @generated from enum value: can_use_records = 33;
|
|
218
|
-
*/
|
|
219
|
-
IamPermission[IamPermission["can_use_records"] = 33] = "can_use_records";
|
|
220
|
-
/**
|
|
221
|
-
* Organization-level permission to create datastores.
|
|
222
|
-
*
|
|
223
|
-
* @generated from enum value: can_create_datastore = 34;
|
|
224
|
-
*/
|
|
225
|
-
IamPermission[IamPermission["can_create_datastore"] = 34] = "can_create_datastore";
|
|
226
202
|
/**
|
|
227
203
|
* Platform-level permission to manage Cursor accounts: the managed
|
|
228
204
|
* Cursor teams (admin keys, member execution keys, org assignments)
|
|
@@ -247,6 +223,18 @@ export var IamPermission;
|
|
|
247
223
|
* @generated from enum value: can_participate = 36;
|
|
248
224
|
*/
|
|
249
225
|
IamPermission[IamPermission["can_participate"] = 36] = "can_participate";
|
|
226
|
+
/**
|
|
227
|
+
* Platform-level permission to introduce or change labels in the
|
|
228
|
+
* reserved stigmer.ai/* key namespace through client-facing write
|
|
229
|
+
* boundaries. Gated to platform operators (the seeding machine
|
|
230
|
+
* account): reserved labels carry platform semantics — most
|
|
231
|
+
* critically stigmer.ai/default-agent, which selects the platform
|
|
232
|
+
* default agent served to every organization — so ordinary requests
|
|
233
|
+
* may echo or remove them but never write them (cloud#320).
|
|
234
|
+
*
|
|
235
|
+
* @generated from enum value: can_write_reserved_labels = 37;
|
|
236
|
+
*/
|
|
237
|
+
IamPermission[IamPermission["can_write_reserved_labels"] = 37] = "can_write_reserved_labels";
|
|
250
238
|
})(IamPermission || (IamPermission = {}));
|
|
251
239
|
/**
|
|
252
240
|
* Describes the enum ai.stigmer.iam.v1.IamPermission.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/iam/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+FAA+F;AAC/F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAY,aAAa,CAC/D,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/iam/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,+FAA+F;AAC/F,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAY,aAAa,CAC/D,QAAQ,CAAC,45CAA45C,CAAC,CAAC;AAEz6C;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,aAwPX;AAxPD,WAAY,aAAa;IACvB;;OAEG;IACH,+DAAe,CAAA;IAEf;;;;OAIG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,yDAAY,CAAA;IAEZ;;OAEG;IACH,6DAAc,CAAA;IAEd;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,uEAAmB,CAAA;IAEnB;;;;OAIG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,+EAAuB,CAAA;IAEvB;;OAEG;IACH,6EAAsB,CAAA;IAEtB;;OAEG;IACH,yEAAoB,CAAA;IAEpB;;OAEG;IACH,8EAAuB,CAAA;IAEvB;;OAEG;IACH,sEAAmB,CAAA;IAEnB;;OAEG;IACH,sFAA2B,CAAA;IAE3B;;OAEG;IACH,gGAAgC,CAAA;IAEhC;;OAEG;IACH,kFAAyB,CAAA;IAEzB;;OAEG;IACH,8FAA+B,CAAA;IAE/B;;;;OAIG;IACH,wFAA4B,CAAA;IAE5B;;OAEG;IACH,gFAAwB,CAAA;IAExB;;;;OAIG;IACH,gEAAgB,CAAA;IAEhB;;;;OAIG;IACH,0EAAqB,CAAA;IAErB;;;;OAIG;IACH,4EAAsB,CAAA;IAEtB;;OAEG;IACH,kGAAiC,CAAA;IAEjC;;;;OAIG;IACH,kFAAyB,CAAA;IAEzB;;;;OAIG;IACH,gEAAgB,CAAA;IAEhB;;;;OAIG;IACH,4EAAsB,CAAA;IAEtB;;;;;;;;OAQG;IACH,8EAAuB,CAAA;IAEvB;;;;OAIG;IACH,0EAAqB,CAAA;IAErB;;OAEG;IACH,8EAAuB,CAAA;IAEvB;;;;;OAKG;IACH,wFAA4B,CAAA;IAE5B;;;;;;;;;;;OAWG;IACH,sFAA2B,CAAA;IAE3B;;;;;;OAMG;IACH,sFAA2B,CAAA;IAE3B;;;;;;;OAOG;IACH,0FAA6B,CAAA;IAE7B;;;;;;;;OAQG;IACH,8FAA+B,CAAA;IAE/B;;;;;;;;;;;;OAYG;IACH,wEAAoB,CAAA;IAEpB;;;;;;;;;;OAUG;IACH,4FAA8B,CAAA;AAChC,CAAC,EAxPW,aAAa,KAAb,aAAa,QAwPxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAE3C;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,OAiDX;AAjDD,WAAY,OAAO;IACjB;;OAEG;IACH,qEAAwB,CAAA;IAExB;;;;OAIG;IACH,uCAAS,CAAA;IAET;;;;OAIG;IACH,uCAAS,CAAA;IAET;;;;OAIG;IACH,yCAAU,CAAA;IAEV;;;;OAIG;IACH,yCAAU,CAAA;IAEV;;;;;;;;;;;;;OAaG;IACH,mDAAe,CAAA;AACjB,CAAC,EAjDW,OAAO,KAAP,OAAO,QAiDlB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -105,6 +105,52 @@ export type GetRunnerBootstrapConfigOutput = Message<"ai.stigmer.platform.v1.Get
|
|
|
105
105
|
* @generated from field: int32 runner_access_token_expires_in_seconds = 5;
|
|
106
106
|
*/
|
|
107
107
|
runnerAccessTokenExpiresInSeconds: number;
|
|
108
|
+
/**
|
|
109
|
+
* Temporal payload-encryption key for this runner: base64-encoded 32-byte
|
|
110
|
+
* AES-256 key, minted once per caller identity and persisted by the control
|
|
111
|
+
* plane, so every boot of the same identity's runners receives the SAME
|
|
112
|
+
* key. Persistence is what makes encryption safe for a restartable runner —
|
|
113
|
+
* Temporal replay must decode history payloads written before the restart.
|
|
114
|
+
*
|
|
115
|
+
* Empty when the server does not manage runner keys — OSS (a self-hosted
|
|
116
|
+
* deployment configures one shared key on server and runner via
|
|
117
|
+
* STIGMER_PAYLOAD_ENCRYPTION_KEY) or a cloud server predating key
|
|
118
|
+
* management. The runner then falls back to its env-configured key, or runs
|
|
119
|
+
* without payload encryption. An explicitly env-configured key always wins
|
|
120
|
+
* over this field.
|
|
121
|
+
*
|
|
122
|
+
* @internal
|
|
123
|
+
* Cloud-only. Per-identity rather than platform-wide because a desktop
|
|
124
|
+
* runner must never hold the platform key: compromise of one user's machine
|
|
125
|
+
* exposes only payloads encrypted under that identity's key. The control
|
|
126
|
+
* plane's decode-only codec resolves these keys by key id, so the service
|
|
127
|
+
* can read every runner's results while runners cannot read each other's.
|
|
128
|
+
*
|
|
129
|
+
* @generated from field: string payload_encryption_key = 6;
|
|
130
|
+
*/
|
|
131
|
+
payloadEncryptionKey: string;
|
|
132
|
+
/**
|
|
133
|
+
* Key id stamped on payloads encrypted under payload_encryption_key.
|
|
134
|
+
* Present exactly when the key is present.
|
|
135
|
+
*
|
|
136
|
+
* @generated from field: string payload_encryption_key_id = 7;
|
|
137
|
+
*/
|
|
138
|
+
payloadEncryptionKeyId: string;
|
|
139
|
+
/**
|
|
140
|
+
* Previous key for this identity, present during a rotation window so the
|
|
141
|
+
* runner can replay history written under it. Decrypt-only: new payloads
|
|
142
|
+
* are always written under payload_encryption_key.
|
|
143
|
+
*
|
|
144
|
+
* @generated from field: string payload_encryption_secondary_key = 8;
|
|
145
|
+
*/
|
|
146
|
+
payloadEncryptionSecondaryKey: string;
|
|
147
|
+
/**
|
|
148
|
+
* Key id of payload_encryption_secondary_key. Present exactly when the
|
|
149
|
+
* secondary key is present.
|
|
150
|
+
*
|
|
151
|
+
* @generated from field: string payload_encryption_secondary_key_id = 9;
|
|
152
|
+
*/
|
|
153
|
+
payloadEncryptionSecondaryKeyId: string;
|
|
108
154
|
};
|
|
109
155
|
/**
|
|
110
156
|
* Describes the message ai.stigmer.platform.v1.GetRunnerBootstrapConfigOutput.
|
|
@@ -7,7 +7,7 @@ import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb
|
|
|
7
7
|
/**
|
|
8
8
|
* Describes the file ai/stigmer/platform/v1/server_info.proto.
|
|
9
9
|
*/
|
|
10
|
-
export const file_ai_stigmer_platform_v1_server_info = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_platform_v1_server_info = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL3BsYXRmb3JtL3YxL3NlcnZlcl9pbmZvLnByb3RvEhZhaS5zdGlnbWVyLnBsYXRmb3JtLnYxIhQKEkdldFNlcnZlckluZm9JbnB1dCJeChNHZXRTZXJ2ZXJJbmZvT3V0cHV0EjYKB2VkaXRpb24YASABKA4yJS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLlNlcnZlckVkaXRpb24SDwoHdmVyc2lvbhgCIAEoCSIfCh1HZXRSdW5uZXJCb290c3RyYXBDb25maWdJbnB1dCLjAgoeR2V0UnVubmVyQm9vdHN0cmFwQ29uZmlnT3V0cHV0EiEKEHRlbXBvcmFsX2FkZHJlc3MYASABKAlCB7pIBHICEAESIwoSdGVtcG9yYWxfbmFtZXNwYWNlGAIgASgJQge6SARyAhABEhsKE3J1bm5lcl9hY2Nlc3NfdG9rZW4YAyABKAkSEgoKdG9rZW5fdHlwZRgEIAEoCRIuCiZydW5uZXJfYWNjZXNzX3Rva2VuX2V4cGlyZXNfaW5fc2Vjb25kcxgFIAEoBRIeChZwYXlsb2FkX2VuY3J5cHRpb25fa2V5GAYgASgJEiEKGXBheWxvYWRfZW5jcnlwdGlvbl9rZXlfaWQYByABKAkSKAogcGF5bG9hZF9lbmNyeXB0aW9uX3NlY29uZGFyeV9rZXkYCCABKAkSKwojcGF5bG9hZF9lbmNyeXB0aW9uX3NlY29uZGFyeV9rZXlfaWQYCSABKAki3AEKGUdldFJ1bm5lclNjb3BlZFRva2VuSW5wdXQSHAoSYWdlbnRfZXhlY3V0aW9uX2lkGAEgASgJSAASHwoVd29ya2Zsb3dfZXhlY3V0aW9uX2lkGAIgASgJSAASNwoKcG9vbF9jbGFpbRgDIAEoCzIhLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuUG9vbENsYWltSAASNwoHcmVuZXdhbBgEIAEoCzIkLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuVG9rZW5SZW5ld2FsSABCDgoFc2NvcGUSBbpIAggBIigKCVBvb2xDbGFpbRIbCgpzZXNzaW9uX2lkGAEgASgJQge6SARyAhABIg4KDFRva2VuUmVuZXdhbCJpChpHZXRSdW5uZXJTY29wZWRUb2tlbk91dHB1dBIbChNydW5uZXJfc2NvcGVkX3Rva2VuGAEgASgJEhIKCnRva2VuX3R5cGUYAiABKAkSGgoSZXhwaXJlc19pbl9zZWNvbmRzGAMgASgFKkMKDVNlcnZlckVkaXRpb24SHgoac2VydmVyX2VkaXRpb25fdW5zcGVjaWZpZWQQABIHCgNvc3MQARIJCgVjbG91ZBACMqEDChdQbGF0Zm9ybVF1ZXJ5Q29udHJvbGxlchJuCg1nZXRTZXJ2ZXJJbmZvEiouYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRTZXJ2ZXJJbmZvSW5wdXQaKy5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFNlcnZlckluZm9PdXRwdXQiBMi4GAESjwEKGGdldFJ1bm5lckJvb3RzdHJhcENvbmZpZxI1LmFpLnN0aWdtZXIucGxhdGZvcm0udjEuR2V0UnVubmVyQm9vdHN0cmFwQ29uZmlnSW5wdXQaNi5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lckJvb3RzdHJhcENvbmZpZ091dHB1dCIE0LgYARKDAQoUZ2V0UnVubmVyU2NvcGVkVG9rZW4SMS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lclNjb3BlZFRva2VuSW5wdXQaMi5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lclNjb3BlZFRva2VuT3V0cHV0IgTQuBgBQhFCD1NlcnZlckluZm9Qcm90b2IGcHJvdG8z", [file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
|
|
11
11
|
/**
|
|
12
12
|
* Describes the message ai.stigmer.platform.v1.GetServerInfoInput.
|
|
13
13
|
* Use `create(GetServerInfoInputSchema)` to create a new message.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server_info_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"server_info_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,gHAAgH;AAChH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC5F,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAGrF;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,s7DAAs7D,EAAE,CAAC,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAU7gE;;;GAGG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAmC,aAAa,CACnF,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAuB1D;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAW1D;;;GAGG;AACH,MAAM,CAAC,MAAM,mCAAmC,GAA8C,aAAa,CACzG,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAgH1D;;;GAGG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAA+C,aAAa,CAC3G,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAwD1D;;;GAGG;AACH,MAAM,CAAC,MAAM,+BAA+B,GAA0C,aAAa,CACjG,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AA+B1D;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAqC1D;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AA2C1D;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAE1D;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,aAqBX;AArBD,WAAY,aAAa;IACvB;;OAEG;IACH,6FAA8B,CAAA;IAE9B;;;;;OAKG;IACH,+CAAO,CAAA;IAEP;;;;;OAKG;IACH,mDAAS,CAAA;AACX,CAAC,EArBW,aAAa,KAAb,aAAa,QAqBxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GA8F/B,aAAa,CAChB,WAAW,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -36,7 +36,9 @@ export type SearchRequest = Message<"ai.stigmer.search.v1.SearchRequest"> & {
|
|
|
36
36
|
*
|
|
37
37
|
* The searchable set is edition-defined (the cloud and open-source servers
|
|
38
38
|
* each publish their own); kinds outside it are silently ignored
|
|
39
|
-
* (allows forward compatibility).
|
|
39
|
+
* (allows forward compatibility). A request naming ONLY non-searchable
|
|
40
|
+
* kinds returns an empty result — it does NOT fall back to discover mode
|
|
41
|
+
* (only an empty kinds list means discover).
|
|
40
42
|
*
|
|
41
43
|
* @generated from field: repeated ai.stigmer.commons.apiresource.apiresourcekind.ApiResourceKind kinds = 1;
|
|
42
44
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/search/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mGAAmG;AACnG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qEAAqE,EAAE,MAAM,mEAAmE,CAAC;AAE1J,OAAO,EAAE,wCAAwC,EAAE,MAAM,sCAAsC,CAAC;AAEhG,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAY,aAAa,CAChE,QAAQ,CAAC,wzCAAwzC,EAAE,CAAC,qEAAqE,EAAE,wCAAwC,EAAE,sCAAsC,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../ai/stigmer/search/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mGAAmG;AACnG,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qEAAqE,EAAE,MAAM,mEAAmE,CAAC;AAE1J,OAAO,EAAE,wCAAwC,EAAE,MAAM,sCAAsC,CAAC;AAEhG,OAAO,EAAE,sCAAsC,EAAE,MAAM,oCAAoC,CAAC;AAC5F,OAAO,EAAE,0BAA0B,EAAE,MAAM,yCAAyC,CAAC;AAErF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAY,aAAa,CAChE,QAAQ,CAAC,wzCAAwzC,EAAE,CAAC,qEAAqE,EAAE,wCAAwC,EAAE,sCAAsC,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAoH5hD;;;GAGG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA8B,aAAa,CACzE,WAAW,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;AA8D/C;;;GAGG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAA+B,aAAa,CAC3E,WAAW,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC;AA4K/C;;;GAGG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAA6B,aAAa,CACvE,WAAW,CAAC,4BAA4B,EAAE,CAAC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
-
import type { DatastoreSpec } from "./spec_pb.js";
|
|
3
|
-
import type { DatastoreStatus } from "./status_pb.js";
|
|
4
|
-
import type { ApiResourceMetadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
5
|
-
import type { Message } from "@bufbuild/protobuf";
|
|
6
|
-
/**
|
|
7
|
-
* Describes the file ai/stigmer/agentic/datastore/v1/api.proto.
|
|
8
|
-
*/
|
|
9
|
-
export declare const file_ai_stigmer_agentic_datastore_v1_api: GenFile;
|
|
10
|
-
/**
|
|
11
|
-
* Datastore declares collections of typed business records that agents
|
|
12
|
-
* read and write through built-in, permission-checked tools.
|
|
13
|
-
*
|
|
14
|
-
* @internal
|
|
15
|
-
* Org-scoped. Deleting a datastore destroys business records, so delete
|
|
16
|
-
* is guarded: non-empty datastores require the force acknowledgment,
|
|
17
|
-
* and datastores referenced by any agent's datastore_usages are
|
|
18
|
-
* blocked. Collection removal on apply/update requires the
|
|
19
|
-
* datastore.stigmer.ai/acknowledge-collection-removal annotation.
|
|
20
|
-
*
|
|
21
|
-
* @generated from message ai.stigmer.agentic.datastore.v1.Datastore
|
|
22
|
-
*/
|
|
23
|
-
export type Datastore = Message<"ai.stigmer.agentic.datastore.v1.Datastore"> & {
|
|
24
|
-
/**
|
|
25
|
-
* API version for this resource type.
|
|
26
|
-
*
|
|
27
|
-
* @generated from field: string api_version = 1;
|
|
28
|
-
*/
|
|
29
|
-
apiVersion: string;
|
|
30
|
-
/**
|
|
31
|
-
* Resource kind identifier.
|
|
32
|
-
*
|
|
33
|
-
* @generated from field: string kind = 2;
|
|
34
|
-
*/
|
|
35
|
-
kind: string;
|
|
36
|
-
/**
|
|
37
|
-
* Resource metadata including name, organization, visibility, and labels.
|
|
38
|
-
*
|
|
39
|
-
* @internal
|
|
40
|
-
* Visibility ceiling is org (kind_meta VisibilityConfig); default is
|
|
41
|
-
* private. Visibility governs human administrative reach only — no
|
|
42
|
-
* record-RPC path consults it.
|
|
43
|
-
*
|
|
44
|
-
* @generated from field: ai.stigmer.commons.apiresource.ApiResourceMetadata metadata = 3;
|
|
45
|
-
*/
|
|
46
|
-
metadata?: ApiResourceMetadata;
|
|
47
|
-
/**
|
|
48
|
-
* Declared collections, constraints, authorization, and seed data.
|
|
49
|
-
*
|
|
50
|
-
* @generated from field: ai.stigmer.agentic.datastore.v1.DatastoreSpec spec = 4;
|
|
51
|
-
*/
|
|
52
|
-
spec?: DatastoreSpec;
|
|
53
|
-
/**
|
|
54
|
-
* System-managed status: sync report and audit information.
|
|
55
|
-
*
|
|
56
|
-
* @generated from field: ai.stigmer.agentic.datastore.v1.DatastoreStatus status = 5;
|
|
57
|
-
*/
|
|
58
|
-
status?: DatastoreStatus;
|
|
59
|
-
};
|
|
60
|
-
/**
|
|
61
|
-
* Describes the message ai.stigmer.agentic.datastore.v1.Datastore.
|
|
62
|
-
* Use `create(DatastoreSchema)` to create a new message.
|
|
63
|
-
*/
|
|
64
|
-
export declare const DatastoreSchema: GenMessage<Datastore>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
-
// @generated from file ai/stigmer/agentic/datastore/v1/api.proto (package ai.stigmer.agentic.datastore.v1, syntax proto3)
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
-
import { file_ai_stigmer_agentic_datastore_v1_spec } from "./spec_pb.js";
|
|
6
|
-
import { file_ai_stigmer_agentic_datastore_v1_status } from "./status_pb.js";
|
|
7
|
-
import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
8
|
-
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
9
|
-
/**
|
|
10
|
-
* Describes the file ai/stigmer/agentic/datastore/v1/api.proto.
|
|
11
|
-
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_datastore_v1_api = /*@__PURE__*/ fileDesc("CilhaS9zdGlnbWVyL2FnZW50aWMvZGF0YXN0b3JlL3YxL2FwaS5wcm90bxIfYWkuc3RpZ21lci5hZ2VudGljLmRhdGFzdG9yZS52MSKtAgoJRGF0YXN0b3JlEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEh4KBGtpbmQYAiABKAlCELpIDXILCglEYXRhc3RvcmUSTQoIbWV0YWRhdGEYAyABKAsyMy5haS5zdGlnbWVyLmNvbW1vbnMuYXBpcmVzb3VyY2UuQXBpUmVzb3VyY2VNZXRhZGF0YUIGukgDyAEBEjwKBHNwZWMYBCABKAsyLi5haS5zdGlnbWVyLmFnZW50aWMuZGF0YXN0b3JlLnYxLkRhdGFzdG9yZVNwZWMSQAoGc3RhdHVzGAUgASgLMjAuYWkuc3RpZ21lci5hZ2VudGljLmRhdGFzdG9yZS52MS5EYXRhc3RvcmVTdGF0dXNiBnByb3RvMw", [file_ai_stigmer_agentic_datastore_v1_spec, file_ai_stigmer_agentic_datastore_v1_status, file_ai_stigmer_commons_apiresource_metadata, file_buf_validate_validate]);
|
|
13
|
-
/**
|
|
14
|
-
* Describes the message ai.stigmer.agentic.datastore.v1.Datastore.
|
|
15
|
-
* Use `create(DatastoreSchema)` to create a new message.
|
|
16
|
-
*/
|
|
17
|
-
export const DatastoreSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_datastore_v1_api, 0);
|
|
18
|
-
//# sourceMappingURL=api_pb.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/datastore/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,yCAAyC,EAAE,MAAM,cAAc,CAAC;AAEzE,OAAO,EAAE,2CAA2C,EAAE,MAAM,gBAAgB,CAAC;AAE7E,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAC3G,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,wCAAwC,GAAY,aAAa,CAC5E,QAAQ,CAAC,wgBAAwgB,EAAE,CAAC,yCAAyC,EAAE,2CAA2C,EAAE,4CAA4C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAyDzrB;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,wCAAwC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DatastoreCommandController handles write operations for datastores.
|
|
3
|
-
*
|
|
4
|
-
* @generated from service ai.stigmer.agentic.datastore.v1.DatastoreCommandController
|
|
5
|
-
*/
|
|
6
|
-
export declare const DatastoreCommandController: {
|
|
7
|
-
readonly typeName: "ai.stigmer.agentic.datastore.v1.DatastoreCommandController";
|
|
8
|
-
readonly methods: {
|
|
9
|
-
/**
|
|
10
|
-
* Create or update a datastore.
|
|
11
|
-
*
|
|
12
|
-
* @internal
|
|
13
|
-
* The authorization and state-operation are determined depending on
|
|
14
|
-
* whether the datastore is going to be created or updated, which is
|
|
15
|
-
* resolved as part of the request execution. Schema sync runs as a
|
|
16
|
-
* synchronous, gating step after persist (additive-plus change
|
|
17
|
-
* matrix); removing a non-empty collection requires the
|
|
18
|
-
* datastore.stigmer.ai/acknowledge-collection-removal annotation
|
|
19
|
-
* naming it, otherwise the request fails with FAILED_PRECONDITION.
|
|
20
|
-
*
|
|
21
|
-
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreCommandController.apply
|
|
22
|
-
*/
|
|
23
|
-
readonly apply: {
|
|
24
|
-
readonly name: "apply";
|
|
25
|
-
readonly I: any;
|
|
26
|
-
readonly O: any;
|
|
27
|
-
readonly kind: any;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Create a datastore.
|
|
31
|
-
*
|
|
32
|
-
* @internal
|
|
33
|
-
* Authorization: caller must have can_create_datastore permission in
|
|
34
|
-
* the organization. Max datastores per org is enforced as a domain
|
|
35
|
-
* validation constant in this pipeline.
|
|
36
|
-
*
|
|
37
|
-
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreCommandController.create
|
|
38
|
-
*/
|
|
39
|
-
readonly create: {
|
|
40
|
-
readonly name: "create";
|
|
41
|
-
readonly I: any;
|
|
42
|
-
readonly O: any;
|
|
43
|
-
readonly kind: any;
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Update an existing datastore.
|
|
47
|
-
*
|
|
48
|
-
* @internal
|
|
49
|
-
* Authorization: requires can_edit permission on the datastore
|
|
50
|
-
* resource. Updates are full spec replaces; the gating schema-sync
|
|
51
|
-
* step diffs against the loaded existing spec and applies the
|
|
52
|
-
* additive-plus change matrix (DD-004): no transition silently
|
|
53
|
-
* destroys or nulls record data.
|
|
54
|
-
*
|
|
55
|
-
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreCommandController.update
|
|
56
|
-
*/
|
|
57
|
-
readonly update: {
|
|
58
|
-
readonly name: "update";
|
|
59
|
-
readonly I: any;
|
|
60
|
-
readonly O: any;
|
|
61
|
-
readonly kind: any;
|
|
62
|
-
};
|
|
63
|
-
/**
|
|
64
|
-
* Update the visibility of an existing datastore.
|
|
65
|
-
*
|
|
66
|
-
* Only modifies metadata.visibility. Datastores support two levels:
|
|
67
|
-
* private (the default) and org. Setting org shares the datastore
|
|
68
|
-
* with the owning organization for human administration; it does not
|
|
69
|
-
* change record-layer access, which is governed solely by the
|
|
70
|
-
* datastore's authorization block and agent datastore_usages.
|
|
71
|
-
*
|
|
72
|
-
* @internal
|
|
73
|
-
* Authorization: requires can_edit permission on the datastore
|
|
74
|
-
* resource. public/platform levels are rejected via the kind's
|
|
75
|
-
* VisibilityConfig (supports_org only) — business records must never
|
|
76
|
-
* be resolvable across the org boundary.
|
|
77
|
-
*
|
|
78
|
-
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreCommandController.updateVisibility
|
|
79
|
-
*/
|
|
80
|
-
readonly updateVisibility: {
|
|
81
|
-
readonly name: "updateVisibility";
|
|
82
|
-
readonly I: any;
|
|
83
|
-
readonly O: any;
|
|
84
|
-
readonly kind: any;
|
|
85
|
-
};
|
|
86
|
-
/**
|
|
87
|
-
* Delete a datastore and every record it holds.
|
|
88
|
-
*
|
|
89
|
-
* Deleting a non-empty datastore requires force: without it the
|
|
90
|
-
* request fails with FAILED_PRECONDITION reporting how many records
|
|
91
|
-
* across how many collections would be destroyed. A datastore
|
|
92
|
-
* referenced by any agent's datastore_usages cannot be deleted until
|
|
93
|
-
* the references are removed.
|
|
94
|
-
*
|
|
95
|
-
* @internal
|
|
96
|
-
* Authorization: requires can_edit permission on the datastore
|
|
97
|
-
* resource. The two guards (record-count acknowledgment via force;
|
|
98
|
-
* agent-reference block, never forceable) run in the delete pipeline
|
|
99
|
-
* of both editions. Record tools never delete structures — this RPC
|
|
100
|
-
* is the only path that destroys collections.
|
|
101
|
-
*
|
|
102
|
-
* @generated from rpc ai.stigmer.agentic.datastore.v1.DatastoreCommandController.delete
|
|
103
|
-
*/
|
|
104
|
-
readonly delete: {
|
|
105
|
-
readonly name: "delete";
|
|
106
|
-
readonly I: any;
|
|
107
|
-
readonly O: any;
|
|
108
|
-
readonly kind: any;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
};
|