@stigmer/protos 3.2.3 → 3.3.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/agentic/agent/v1/spec_pb.d.ts +41 -0
- package/ai/stigmer/agentic/agent/v1/spec_pb.js +8 -3
- package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +17 -0
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +21 -0
- 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/datastore/v1/api_pb.d.ts +64 -0
- package/ai/stigmer/agentic/datastore/v1/api_pb.js +18 -0
- package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +111 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.js +119 -0
- package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +110 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.js +19 -0
- package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +64 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.js +22 -0
- package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +59 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.js +68 -0
- package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +61 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.js +24 -0
- package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +75 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +82 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +75 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +32 -0
- package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +729 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +198 -0
- package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +69 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +76 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +70 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +38 -0
- package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +680 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js +195 -0
- package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +1 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +159 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.js +93 -0
- package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +1 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +18 -0
- package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/command_connect.d.ts +43 -0
- package/ai/stigmer/billing/v1/command_connect.js +46 -1
- package/ai/stigmer/billing/v1/command_connect.js.map +1 -1
- package/ai/stigmer/billing/v1/command_pb.d.ts +43 -1
- package/ai/stigmer/billing/v1/command_pb.js +3 -1
- package/ai/stigmer/billing/v1/command_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/io_pb.d.ts +274 -0
- package/ai/stigmer/billing/v1/io_pb.js +44 -2
- package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +369 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +79 -0
- package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.d.ts +272 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.js +116 -0
- package/ai/stigmer/billing/v1/pricing_override_pb.js.map +1 -0
- package/ai/stigmer/billing/v1/query_connect.d.ts +31 -0
- package/ai/stigmer/billing/v1/query_connect.js +32 -1
- package/ai/stigmer/billing/v1/query_connect.js.map +1 -1
- package/ai/stigmer/billing/v1/query_pb.d.ts +30 -1
- package/ai/stigmer/billing/v1/query_pb.js +1 -1
- package/ai/stigmer/billing/v1/query_pb.js.map +1 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
- package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
- package/ai/stigmer/iam/v1/enum_pb.d.ts +44 -1
- package/ai/stigmer/iam/v1/enum_pb.js +44 -1
- package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.d.ts +102 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.js +110 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_connect.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.d.ts +100 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.js +32 -0
- package/ai/stigmer/platform/cursoraccount/v1/command_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.d.ts +331 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js +36 -0
- package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +332 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +110 -0
- package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.d.ts +44 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.js +51 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_connect.js.map +1 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.d.ts +45 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.js +25 -0
- package/ai/stigmer/platform/cursoraccount/v1/query_pb.js.map +1 -0
- package/package.json +1 -1
|
@@ -185,7 +185,50 @@ export declare enum IamPermission {
|
|
|
185
185
|
*
|
|
186
186
|
* @generated from enum value: can_create_channel_app = 31;
|
|
187
187
|
*/
|
|
188
|
-
can_create_channel_app = 31
|
|
188
|
+
can_create_channel_app = 31,
|
|
189
|
+
/**
|
|
190
|
+
* Platform-level permission to view pricing governance and decide
|
|
191
|
+
* pricing-override sign-offs from the pricing feedback loop. A human
|
|
192
|
+
* operator action, kept distinct from can_execute_billing_ops (the
|
|
193
|
+
* machine account's internal billing pipeline).
|
|
194
|
+
*
|
|
195
|
+
* @generated from enum value: can_manage_model_pricing = 32;
|
|
196
|
+
*/
|
|
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
|
+
/**
|
|
223
|
+
* Platform-level permission to manage Cursor accounts: the managed
|
|
224
|
+
* Cursor teams (admin keys, member execution keys, org assignments)
|
|
225
|
+
* that back the cursor harness. A human operator action, gated to
|
|
226
|
+
* platform operators like can_manage_model_pricing — key material and
|
|
227
|
+
* per-member spend are platform-internal, never org-visible.
|
|
228
|
+
*
|
|
229
|
+
* @generated from enum value: can_manage_cursor_accounts = 35;
|
|
230
|
+
*/
|
|
231
|
+
can_manage_cursor_accounts = 35
|
|
189
232
|
}
|
|
190
233
|
/**
|
|
191
234
|
* 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("ChxhaS9zdGlnbWVyL2lhbS92MS9lbnVtLnByb3RvEhFhaS5zdGlnbWVyLmlhbS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NpbmcQIBITCg9jYW5fdXNlX3JlY29yZHMQIRIYChRjYW5fY3JlYXRlX2RhdGFzdG9yZRAiEh4KGmNhbl9tYW5hZ2VfY3Vyc29yX2FjY291bnRzECMqUQoHSWFtUm9sZRIYChRpYW1fcm9sZV91bnNwZWNpZmllZBAAEgkKBW93bmVyEAESCQoFYWRtaW4QAhIKCgZtZW1iZXIQAxIKCgZ2aWV3ZXIQBGIGcHJvdG8z");
|
|
9
9
|
/**
|
|
10
10
|
* IamPermission defines the permissions checked by the authorization
|
|
11
11
|
* interceptor before an RPC handler executes.
|
|
@@ -190,6 +190,49 @@ export var IamPermission;
|
|
|
190
190
|
* @generated from enum value: can_create_channel_app = 31;
|
|
191
191
|
*/
|
|
192
192
|
IamPermission[IamPermission["can_create_channel_app"] = 31] = "can_create_channel_app";
|
|
193
|
+
/**
|
|
194
|
+
* Platform-level permission to view pricing governance and decide
|
|
195
|
+
* pricing-override sign-offs from the pricing feedback loop. A human
|
|
196
|
+
* operator action, kept distinct from can_execute_billing_ops (the
|
|
197
|
+
* machine account's internal billing pipeline).
|
|
198
|
+
*
|
|
199
|
+
* @generated from enum value: can_manage_model_pricing = 32;
|
|
200
|
+
*/
|
|
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
|
+
/**
|
|
227
|
+
* Platform-level permission to manage Cursor accounts: the managed
|
|
228
|
+
* Cursor teams (admin keys, member execution keys, org assignments)
|
|
229
|
+
* that back the cursor harness. A human operator action, gated to
|
|
230
|
+
* platform operators like can_manage_model_pricing — key material and
|
|
231
|
+
* per-member spend are platform-internal, never org-visible.
|
|
232
|
+
*
|
|
233
|
+
* @generated from enum value: can_manage_cursor_accounts = 35;
|
|
234
|
+
*/
|
|
235
|
+
IamPermission[IamPermission["can_manage_cursor_accounts"] = 35] = "can_manage_cursor_accounts";
|
|
193
236
|
})(IamPermission || (IamPermission = {}));
|
|
194
237
|
/**
|
|
195
238
|
* 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;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wFAA4B,CAAA;IAE5B;;;;;;;;;;;OAWG;IACH,sFAA2B,CAAA;IAE3B;;;;;;OAMG;IACH,sFAA2B,CAAA;IAE3B;;;;;;;OAOG;IACH,0FAA6B,CAAA;IAE7B;;;;;;;;;;;;;;;;OAgBG;IACH,wEAAoB,CAAA;IAEpB;;;;OAIG;IACH,kFAAyB,CAAA;IAEzB;;;;;;;;OAQG;IACH,8FAA+B,CAAA;AACjC,CAAC,EAtPW,aAAa,KAAb,aAAa,QAsPxB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAA2B,aAAa,CACtE,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC;AAE3C;;;;;;;;;;;;;GAaG;AACH,MAAM,CAAN,IAAY,OAiCX;AAjCD,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;AACZ,CAAC,EAjCW,OAAO,KAAP,OAAO,QAiClB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAqB,aAAa,CAC1D,QAAQ,CAAC,2BAA2B,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CursorAccountCommandController handles write operations for managed
|
|
3
|
+
* Cursor accounts.
|
|
4
|
+
*
|
|
5
|
+
* Cursor accounts are not a standard API Resource — like billing, there
|
|
6
|
+
* is no api_resource_kind annotation. Every RPC is platform-gated to
|
|
7
|
+
* can_manage_cursor_accounts on platform:stigmer (human operators only):
|
|
8
|
+
* the resource holds provider key material and per-member spend, which
|
|
9
|
+
* are platform-internal and never org-visible.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
* Cloud-only. The OSS Go server does not implement this service — in the
|
|
13
|
+
* OSS edition Cursor credentials are the user's own (BYOK env var), so
|
|
14
|
+
* there is nothing to manage. Handlers refuse writes when secret
|
|
15
|
+
* encryption is not enabled on the deployment (FAILED_PRECONDITION):
|
|
16
|
+
* silently persisting plaintext keys is never acceptable for this store.
|
|
17
|
+
*
|
|
18
|
+
* @generated from service ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController
|
|
19
|
+
*/
|
|
20
|
+
export declare const CursorAccountCommandController: {
|
|
21
|
+
readonly typeName: "ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController";
|
|
22
|
+
readonly methods: {
|
|
23
|
+
/**
|
|
24
|
+
* Create or update a Cursor account (identity, admin key, org
|
|
25
|
+
* assignments, enablement, platform-default flag).
|
|
26
|
+
*
|
|
27
|
+
* The admin key is validated live against GET /teams/members before
|
|
28
|
+
* persistence; org assignments are unique across accounts and at most
|
|
29
|
+
* one account may be the platform default. Member keys are NOT written
|
|
30
|
+
* through this RPC — see addCursorMemberKey / removeCursorMemberKey.
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.upsertCursorAccount
|
|
33
|
+
*/
|
|
34
|
+
readonly upsertCursorAccount: {
|
|
35
|
+
readonly name: "upsertCursorAccount";
|
|
36
|
+
readonly I: any;
|
|
37
|
+
readonly O: any;
|
|
38
|
+
readonly kind: any;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Delete a Cursor account. Refused while live sessions are pinned to
|
|
42
|
+
* its keys unless force is set (see DeleteCursorAccountInput).
|
|
43
|
+
*
|
|
44
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.deleteCursorAccount
|
|
45
|
+
*/
|
|
46
|
+
readonly deleteCursorAccount: {
|
|
47
|
+
readonly name: "deleteCursorAccount";
|
|
48
|
+
readonly I: any;
|
|
49
|
+
readonly O: any;
|
|
50
|
+
readonly kind: any;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Add one execution-capable member key. The key is identified via
|
|
54
|
+
* Cursor's GET /v1/me and bound to its owning team member server-side;
|
|
55
|
+
* non-user-scoped keys are rejected with Cursor's own explanation.
|
|
56
|
+
*
|
|
57
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.addCursorMemberKey
|
|
58
|
+
*/
|
|
59
|
+
readonly addCursorMemberKey: {
|
|
60
|
+
readonly name: "addCursorMemberKey";
|
|
61
|
+
readonly I: any;
|
|
62
|
+
readonly O: any;
|
|
63
|
+
readonly kind: any;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* Remove one member key. Refused while live sessions are pinned to it
|
|
67
|
+
* unless force is set (see RemoveCursorMemberKeyInput).
|
|
68
|
+
*
|
|
69
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.removeCursorMemberKey
|
|
70
|
+
*/
|
|
71
|
+
readonly removeCursorMemberKey: {
|
|
72
|
+
readonly name: "removeCursorMemberKey";
|
|
73
|
+
readonly I: any;
|
|
74
|
+
readonly O: any;
|
|
75
|
+
readonly kind: any;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* Enable or disable one member key for new-session selection.
|
|
79
|
+
*
|
|
80
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.setCursorMemberKeyEnabled
|
|
81
|
+
*/
|
|
82
|
+
readonly setCursorMemberKeyEnabled: {
|
|
83
|
+
readonly name: "setCursorMemberKeyEnabled";
|
|
84
|
+
readonly I: any;
|
|
85
|
+
readonly O: any;
|
|
86
|
+
readonly kind: any;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Run an on-demand roster + spend sync (the console "Sync now") and
|
|
90
|
+
* return the refreshed detail view. Same activity the hourly schedule
|
|
91
|
+
* runs; Admin API rate limits apply, so the console debounces.
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.syncCursorAccount
|
|
94
|
+
*/
|
|
95
|
+
readonly syncCursorAccount: {
|
|
96
|
+
readonly name: "syncCursorAccount";
|
|
97
|
+
readonly I: any;
|
|
98
|
+
readonly O: any;
|
|
99
|
+
readonly kind: any;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
};
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/platform/cursoraccount/v1/command.proto (package ai.stigmer.platform.cursoraccount.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
import { AddCursorMemberKeyInput, CursorAccountView, DeleteCursorAccountInput, RemoveCursorMemberKeyInput, SetCursorMemberKeyEnabledInput, SyncCursorAccountInput, UpsertCursorAccountInput } from "./io_pbjs";
|
|
6
|
+
import { CursorAccount } from "./cursor_account_pbjs";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
/**
|
|
9
|
+
* CursorAccountCommandController handles write operations for managed
|
|
10
|
+
* Cursor accounts.
|
|
11
|
+
*
|
|
12
|
+
* Cursor accounts are not a standard API Resource — like billing, there
|
|
13
|
+
* is no api_resource_kind annotation. Every RPC is platform-gated to
|
|
14
|
+
* can_manage_cursor_accounts on platform:stigmer (human operators only):
|
|
15
|
+
* the resource holds provider key material and per-member spend, which
|
|
16
|
+
* are platform-internal and never org-visible.
|
|
17
|
+
*
|
|
18
|
+
* @internal
|
|
19
|
+
* Cloud-only. The OSS Go server does not implement this service — in the
|
|
20
|
+
* OSS edition Cursor credentials are the user's own (BYOK env var), so
|
|
21
|
+
* there is nothing to manage. Handlers refuse writes when secret
|
|
22
|
+
* encryption is not enabled on the deployment (FAILED_PRECONDITION):
|
|
23
|
+
* silently persisting plaintext keys is never acceptable for this store.
|
|
24
|
+
*
|
|
25
|
+
* @generated from service ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController
|
|
26
|
+
*/
|
|
27
|
+
export const CursorAccountCommandController = {
|
|
28
|
+
typeName: "ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController",
|
|
29
|
+
methods: {
|
|
30
|
+
/**
|
|
31
|
+
* Create or update a Cursor account (identity, admin key, org
|
|
32
|
+
* assignments, enablement, platform-default flag).
|
|
33
|
+
*
|
|
34
|
+
* The admin key is validated live against GET /teams/members before
|
|
35
|
+
* persistence; org assignments are unique across accounts and at most
|
|
36
|
+
* one account may be the platform default. Member keys are NOT written
|
|
37
|
+
* through this RPC — see addCursorMemberKey / removeCursorMemberKey.
|
|
38
|
+
*
|
|
39
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.upsertCursorAccount
|
|
40
|
+
*/
|
|
41
|
+
upsertCursorAccount: {
|
|
42
|
+
name: "upsertCursorAccount",
|
|
43
|
+
I: UpsertCursorAccountInput,
|
|
44
|
+
O: CursorAccount,
|
|
45
|
+
kind: MethodKind.Unary,
|
|
46
|
+
},
|
|
47
|
+
/**
|
|
48
|
+
* Delete a Cursor account. Refused while live sessions are pinned to
|
|
49
|
+
* its keys unless force is set (see DeleteCursorAccountInput).
|
|
50
|
+
*
|
|
51
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.deleteCursorAccount
|
|
52
|
+
*/
|
|
53
|
+
deleteCursorAccount: {
|
|
54
|
+
name: "deleteCursorAccount",
|
|
55
|
+
I: DeleteCursorAccountInput,
|
|
56
|
+
O: CursorAccount,
|
|
57
|
+
kind: MethodKind.Unary,
|
|
58
|
+
},
|
|
59
|
+
/**
|
|
60
|
+
* Add one execution-capable member key. The key is identified via
|
|
61
|
+
* Cursor's GET /v1/me and bound to its owning team member server-side;
|
|
62
|
+
* non-user-scoped keys are rejected with Cursor's own explanation.
|
|
63
|
+
*
|
|
64
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.addCursorMemberKey
|
|
65
|
+
*/
|
|
66
|
+
addCursorMemberKey: {
|
|
67
|
+
name: "addCursorMemberKey",
|
|
68
|
+
I: AddCursorMemberKeyInput,
|
|
69
|
+
O: CursorAccount,
|
|
70
|
+
kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
72
|
+
/**
|
|
73
|
+
* Remove one member key. Refused while live sessions are pinned to it
|
|
74
|
+
* unless force is set (see RemoveCursorMemberKeyInput).
|
|
75
|
+
*
|
|
76
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.removeCursorMemberKey
|
|
77
|
+
*/
|
|
78
|
+
removeCursorMemberKey: {
|
|
79
|
+
name: "removeCursorMemberKey",
|
|
80
|
+
I: RemoveCursorMemberKeyInput,
|
|
81
|
+
O: CursorAccount,
|
|
82
|
+
kind: MethodKind.Unary,
|
|
83
|
+
},
|
|
84
|
+
/**
|
|
85
|
+
* Enable or disable one member key for new-session selection.
|
|
86
|
+
*
|
|
87
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.setCursorMemberKeyEnabled
|
|
88
|
+
*/
|
|
89
|
+
setCursorMemberKeyEnabled: {
|
|
90
|
+
name: "setCursorMemberKeyEnabled",
|
|
91
|
+
I: SetCursorMemberKeyEnabledInput,
|
|
92
|
+
O: CursorAccount,
|
|
93
|
+
kind: MethodKind.Unary,
|
|
94
|
+
},
|
|
95
|
+
/**
|
|
96
|
+
* Run an on-demand roster + spend sync (the console "Sync now") and
|
|
97
|
+
* return the refreshed detail view. Same activity the hourly schedule
|
|
98
|
+
* runs; Admin API rate limits apply, so the console debounces.
|
|
99
|
+
*
|
|
100
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.syncCursorAccount
|
|
101
|
+
*/
|
|
102
|
+
syncCursorAccount: {
|
|
103
|
+
name: "syncCursorAccount",
|
|
104
|
+
I: SyncCursorAccountInput,
|
|
105
|
+
O: CursorAccountView,
|
|
106
|
+
kind: MethodKind.Unary,
|
|
107
|
+
},
|
|
108
|
+
}
|
|
109
|
+
};
|
|
110
|
+
//# sourceMappingURL=command_connect.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/cursoraccount/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,wIAAwI;AACxI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,uBAAuB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,sBAAsB,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAC;AAC/M,OAAO,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,QAAQ,EAAE,qEAAqE;IAC/E,OAAO,EAAE;QACP;;;;;;;;;;WAUG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,wBAAwB;YAC3B,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;WAKG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,wBAAwB;YAC3B,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;WAMG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;WAKG;QACH,qBAAqB,EAAE;YACrB,IAAI,EAAE,uBAAuB;YAC7B,CAAC,EAAE,0BAA0B;YAC7B,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,yBAAyB,EAAE;YACzB,IAAI,EAAE,2BAA2B;YACjC,CAAC,EAAE,8BAA8B;YACjC,CAAC,EAAE,aAAa;YAChB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;WAMG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
|
+
import type { CursorAccountSchema } from "./cursor_account_pb.js";
|
|
3
|
+
import type { AddCursorMemberKeyInputSchema, CursorAccountViewSchema, DeleteCursorAccountInputSchema, RemoveCursorMemberKeyInputSchema, SetCursorMemberKeyEnabledInputSchema, SyncCursorAccountInputSchema, UpsertCursorAccountInputSchema } from "./io_pb.js";
|
|
4
|
+
/**
|
|
5
|
+
* Describes the file ai/stigmer/platform/cursoraccount/v1/command.proto.
|
|
6
|
+
*/
|
|
7
|
+
export declare const file_ai_stigmer_platform_cursoraccount_v1_command: GenFile;
|
|
8
|
+
/**
|
|
9
|
+
* CursorAccountCommandController handles write operations for managed
|
|
10
|
+
* Cursor accounts.
|
|
11
|
+
*
|
|
12
|
+
* Cursor accounts are not a standard API Resource — like billing, there
|
|
13
|
+
* is no api_resource_kind annotation. Every RPC is platform-gated to
|
|
14
|
+
* can_manage_cursor_accounts on platform:stigmer (human operators only):
|
|
15
|
+
* the resource holds provider key material and per-member spend, which
|
|
16
|
+
* are platform-internal and never org-visible.
|
|
17
|
+
*
|
|
18
|
+
* @internal
|
|
19
|
+
* Cloud-only. The OSS Go server does not implement this service — in the
|
|
20
|
+
* OSS edition Cursor credentials are the user's own (BYOK env var), so
|
|
21
|
+
* there is nothing to manage. Handlers refuse writes when secret
|
|
22
|
+
* encryption is not enabled on the deployment (FAILED_PRECONDITION):
|
|
23
|
+
* silently persisting plaintext keys is never acceptable for this store.
|
|
24
|
+
*
|
|
25
|
+
* @generated from service ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController
|
|
26
|
+
*/
|
|
27
|
+
export declare const CursorAccountCommandController: GenService<{
|
|
28
|
+
/**
|
|
29
|
+
* Create or update a Cursor account (identity, admin key, org
|
|
30
|
+
* assignments, enablement, platform-default flag).
|
|
31
|
+
*
|
|
32
|
+
* The admin key is validated live against GET /teams/members before
|
|
33
|
+
* persistence; org assignments are unique across accounts and at most
|
|
34
|
+
* one account may be the platform default. Member keys are NOT written
|
|
35
|
+
* through this RPC — see addCursorMemberKey / removeCursorMemberKey.
|
|
36
|
+
*
|
|
37
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.upsertCursorAccount
|
|
38
|
+
*/
|
|
39
|
+
upsertCursorAccount: {
|
|
40
|
+
methodKind: "unary";
|
|
41
|
+
input: typeof UpsertCursorAccountInputSchema;
|
|
42
|
+
output: typeof CursorAccountSchema;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* Delete a Cursor account. Refused while live sessions are pinned to
|
|
46
|
+
* its keys unless force is set (see DeleteCursorAccountInput).
|
|
47
|
+
*
|
|
48
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.deleteCursorAccount
|
|
49
|
+
*/
|
|
50
|
+
deleteCursorAccount: {
|
|
51
|
+
methodKind: "unary";
|
|
52
|
+
input: typeof DeleteCursorAccountInputSchema;
|
|
53
|
+
output: typeof CursorAccountSchema;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* Add one execution-capable member key. The key is identified via
|
|
57
|
+
* Cursor's GET /v1/me and bound to its owning team member server-side;
|
|
58
|
+
* non-user-scoped keys are rejected with Cursor's own explanation.
|
|
59
|
+
*
|
|
60
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.addCursorMemberKey
|
|
61
|
+
*/
|
|
62
|
+
addCursorMemberKey: {
|
|
63
|
+
methodKind: "unary";
|
|
64
|
+
input: typeof AddCursorMemberKeyInputSchema;
|
|
65
|
+
output: typeof CursorAccountSchema;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Remove one member key. Refused while live sessions are pinned to it
|
|
69
|
+
* unless force is set (see RemoveCursorMemberKeyInput).
|
|
70
|
+
*
|
|
71
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.removeCursorMemberKey
|
|
72
|
+
*/
|
|
73
|
+
removeCursorMemberKey: {
|
|
74
|
+
methodKind: "unary";
|
|
75
|
+
input: typeof RemoveCursorMemberKeyInputSchema;
|
|
76
|
+
output: typeof CursorAccountSchema;
|
|
77
|
+
};
|
|
78
|
+
/**
|
|
79
|
+
* Enable or disable one member key for new-session selection.
|
|
80
|
+
*
|
|
81
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.setCursorMemberKeyEnabled
|
|
82
|
+
*/
|
|
83
|
+
setCursorMemberKeyEnabled: {
|
|
84
|
+
methodKind: "unary";
|
|
85
|
+
input: typeof SetCursorMemberKeyEnabledInputSchema;
|
|
86
|
+
output: typeof CursorAccountSchema;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* Run an on-demand roster + spend sync (the console "Sync now") and
|
|
90
|
+
* return the refreshed detail view. Same activity the hourly schedule
|
|
91
|
+
* runs; Admin API rate limits apply, so the console debounces.
|
|
92
|
+
*
|
|
93
|
+
* @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController.syncCursorAccount
|
|
94
|
+
*/
|
|
95
|
+
syncCursorAccount: {
|
|
96
|
+
methodKind: "unary";
|
|
97
|
+
input: typeof SyncCursorAccountInputSchema;
|
|
98
|
+
output: typeof CursorAccountViewSchema;
|
|
99
|
+
};
|
|
100
|
+
}>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
|
|
2
|
+
// @generated from file ai/stigmer/platform/cursoraccount/v1/command.proto (package ai.stigmer.platform.cursoraccount.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
+
import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
|
|
6
|
+
import { file_ai_stigmer_platform_cursoraccount_v1_cursor_account } from "./cursor_account_pb.js";
|
|
7
|
+
import { file_ai_stigmer_platform_cursoraccount_v1_io } from "./io_pb.js";
|
|
8
|
+
/**
|
|
9
|
+
* Describes the file ai/stigmer/platform/cursoraccount/v1/command.proto.
|
|
10
|
+
*/
|
|
11
|
+
export const file_ai_stigmer_platform_cursoraccount_v1_command = /*@__PURE__*/ fileDesc("CjJhaS9zdGlnbWVyL3BsYXRmb3JtL2N1cnNvcmFjY291bnQvdjEvY29tbWFuZC5wcm90bxIkYWkuc3RpZ21lci5wbGF0Zm9ybS5jdXJzb3JhY2NvdW50LnYxMqYKCh5DdXJzb3JBY2NvdW50Q29tbWFuZENvbnRyb2xsZXIS0QEKE3Vwc2VydEN1cnNvckFjY291bnQSPi5haS5zdGlnbWVyLnBsYXRmb3JtLmN1cnNvcmFjY291bnQudjEuVXBzZXJ0Q3Vyc29yQWNjb3VudElucHV0GjMuYWkuc3RpZ21lci5wbGF0Zm9ybS5jdXJzb3JhY2NvdW50LnYxLkN1cnNvckFjY291bnQiRcK4GEEIIxAfKjJvbmx5IHBsYXRmb3JtIG9wZXJhdG9ycyBjYW4gbWFuYWdlIGN1cnNvciBhY2NvdW50czIHc3RpZ21lchLRAQoTZGVsZXRlQ3Vyc29yQWNjb3VudBI+LmFpLnN0aWdtZXIucGxhdGZvcm0uY3Vyc29yYWNjb3VudC52MS5EZWxldGVDdXJzb3JBY2NvdW50SW5wdXQaMy5haS5zdGlnbWVyLn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wbGF0Zm9ybS5jdXJzb3JhY2NvdW50LnYxLlN5bmNDdXJzb3JBY2NvdW50SW5wdXQaNy5haS5zdGlnbWVyLnBsYXRmb3JtLmN1cnNvcmFjY291bnQudjEuQ3Vyc29yQWNjb3VudFZpZXciRcK4GEEIIxAfKjJvbmx5IHBsYXRmb3JtIG9wZXJhdG9ycyBjYW4gbWFuYWdlIGN1cnNvciBhY2NvdW50czIHc3RpZ21lcmIGcHJvdG8z", [file_ai_stigmer_commons_rpc_method_options, file_ai_stigmer_platform_cursoraccount_v1_cursor_account, file_ai_stigmer_platform_cursoraccount_v1_io]);
|
|
12
|
+
/**
|
|
13
|
+
* CursorAccountCommandController handles write operations for managed
|
|
14
|
+
* Cursor accounts.
|
|
15
|
+
*
|
|
16
|
+
* Cursor accounts are not a standard API Resource — like billing, there
|
|
17
|
+
* is no api_resource_kind annotation. Every RPC is platform-gated to
|
|
18
|
+
* can_manage_cursor_accounts on platform:stigmer (human operators only):
|
|
19
|
+
* the resource holds provider key material and per-member spend, which
|
|
20
|
+
* are platform-internal and never org-visible.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
* Cloud-only. The OSS Go server does not implement this service — in the
|
|
24
|
+
* OSS edition Cursor credentials are the user's own (BYOK env var), so
|
|
25
|
+
* there is nothing to manage. Handlers refuse writes when secret
|
|
26
|
+
* encryption is not enabled on the deployment (FAILED_PRECONDITION):
|
|
27
|
+
* silently persisting plaintext keys is never acceptable for this store.
|
|
28
|
+
*
|
|
29
|
+
* @generated from service ai.stigmer.platform.cursoraccount.v1.CursorAccountCommandController
|
|
30
|
+
*/
|
|
31
|
+
export const CursorAccountCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_platform_cursoraccount_v1_command, 0);
|
|
32
|
+
//# sourceMappingURL=command_pb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/cursoraccount/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wIAAwI;AACxI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AACrE,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG,OAAO,EAAE,wDAAwD,EAAE,MAAM,wBAAwB,CAAC;AAElG,OAAO,EAAE,4CAA4C,EAAE,MAAM,YAAY,CAAC;AAE1E;;GAEG;AACH,MAAM,CAAC,MAAM,iDAAiD,GAAY,aAAa,CACrF,QAAQ,CAAC,s2DAAs2D,EAAE,CAAC,0CAA0C,EAAE,wDAAwD,EAAE,4CAA4C,CAAC,CAAC,CAAC;AAEzgE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAyEtC,aAAa,CAChB,WAAW,CAAC,iDAAiD,EAAE,CAAC,CAAC,CAAC"}
|