@stigmer/protos 3.2.3 → 3.4.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.
Files changed (97) hide show
  1. package/ai/stigmer/agentic/agent/v1/spec_pb.d.ts +41 -0
  2. package/ai/stigmer/agentic/agent/v1/spec_pb.js +8 -3
  3. package/ai/stigmer/agentic/agent/v1/spec_pb.js.map +1 -1
  4. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +62 -0
  5. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +37 -1
  6. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  7. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.d.ts +21 -0
  8. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js +1 -1
  9. package/ai/stigmer/agentic/agentinstance/v1/spec_pb.js.map +1 -1
  10. package/ai/stigmer/agentic/datastore/v1/api_pb.d.ts +64 -0
  11. package/ai/stigmer/agentic/datastore/v1/api_pb.js +18 -0
  12. package/ai/stigmer/agentic/datastore/v1/api_pb.js.map +1 -0
  13. package/ai/stigmer/agentic/datastore/v1/command_connect.d.ts +111 -0
  14. package/ai/stigmer/agentic/datastore/v1/command_connect.js +119 -0
  15. package/ai/stigmer/agentic/datastore/v1/command_connect.js.map +1 -0
  16. package/ai/stigmer/agentic/datastore/v1/command_pb.d.ts +110 -0
  17. package/ai/stigmer/agentic/datastore/v1/command_pb.js +19 -0
  18. package/ai/stigmer/agentic/datastore/v1/command_pb.js.map +1 -0
  19. package/ai/stigmer/agentic/datastore/v1/io_pb.d.ts +64 -0
  20. package/ai/stigmer/agentic/datastore/v1/io_pb.js +22 -0
  21. package/ai/stigmer/agentic/datastore/v1/io_pb.js.map +1 -0
  22. package/ai/stigmer/agentic/datastore/v1/query_connect.d.ts +59 -0
  23. package/ai/stigmer/agentic/datastore/v1/query_connect.js +68 -0
  24. package/ai/stigmer/agentic/datastore/v1/query_connect.js.map +1 -0
  25. package/ai/stigmer/agentic/datastore/v1/query_pb.d.ts +61 -0
  26. package/ai/stigmer/agentic/datastore/v1/query_pb.js +24 -0
  27. package/ai/stigmer/agentic/datastore/v1/query_pb.js.map +1 -0
  28. package/ai/stigmer/agentic/datastore/v1/record_command_connect.d.ts +75 -0
  29. package/ai/stigmer/agentic/datastore/v1/record_command_connect.js +82 -0
  30. package/ai/stigmer/agentic/datastore/v1/record_command_connect.js.map +1 -0
  31. package/ai/stigmer/agentic/datastore/v1/record_command_pb.d.ts +75 -0
  32. package/ai/stigmer/agentic/datastore/v1/record_command_pb.js +32 -0
  33. package/ai/stigmer/agentic/datastore/v1/record_command_pb.js.map +1 -0
  34. package/ai/stigmer/agentic/datastore/v1/record_io_pb.d.ts +752 -0
  35. package/ai/stigmer/agentic/datastore/v1/record_io_pb.js +198 -0
  36. package/ai/stigmer/agentic/datastore/v1/record_io_pb.js.map +1 -0
  37. package/ai/stigmer/agentic/datastore/v1/record_query_connect.d.ts +69 -0
  38. package/ai/stigmer/agentic/datastore/v1/record_query_connect.js +76 -0
  39. package/ai/stigmer/agentic/datastore/v1/record_query_connect.js.map +1 -0
  40. package/ai/stigmer/agentic/datastore/v1/record_query_pb.d.ts +70 -0
  41. package/ai/stigmer/agentic/datastore/v1/record_query_pb.js +38 -0
  42. package/ai/stigmer/agentic/datastore/v1/record_query_pb.js.map +1 -0
  43. package/ai/stigmer/agentic/datastore/v1/spec_pb.d.ts +735 -0
  44. package/ai/stigmer/agentic/datastore/v1/spec_pb.js +195 -0
  45. package/ai/stigmer/agentic/datastore/v1/spec_pb.js.map +1 -0
  46. package/ai/stigmer/agentic/datastore/v1/status_pb.d.ts +159 -0
  47. package/ai/stigmer/agentic/datastore/v1/status_pb.js +93 -0
  48. package/ai/stigmer/agentic/datastore/v1/status_pb.js.map +1 -0
  49. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +18 -0
  50. package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
  51. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  52. package/ai/stigmer/billing/v1/command_connect.d.ts +43 -0
  53. package/ai/stigmer/billing/v1/command_connect.js +46 -1
  54. package/ai/stigmer/billing/v1/command_connect.js.map +1 -1
  55. package/ai/stigmer/billing/v1/command_pb.d.ts +43 -1
  56. package/ai/stigmer/billing/v1/command_pb.js +3 -1
  57. package/ai/stigmer/billing/v1/command_pb.js.map +1 -1
  58. package/ai/stigmer/billing/v1/io_pb.d.ts +299 -1
  59. package/ai/stigmer/billing/v1/io_pb.js +44 -2
  60. package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
  61. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.d.ts +369 -0
  62. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js +79 -0
  63. package/ai/stigmer/billing/v1/model_pricing_baseline_pb.js.map +1 -0
  64. package/ai/stigmer/billing/v1/pricing_override_pb.d.ts +272 -0
  65. package/ai/stigmer/billing/v1/pricing_override_pb.js +116 -0
  66. package/ai/stigmer/billing/v1/pricing_override_pb.js.map +1 -0
  67. package/ai/stigmer/billing/v1/query_connect.d.ts +31 -0
  68. package/ai/stigmer/billing/v1/query_connect.js +32 -1
  69. package/ai/stigmer/billing/v1/query_connect.js.map +1 -1
  70. package/ai/stigmer/billing/v1/query_pb.d.ts +30 -1
  71. package/ai/stigmer/billing/v1/query_pb.js +1 -1
  72. package/ai/stigmer/billing/v1/query_pb.js.map +1 -1
  73. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +7 -0
  74. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +8 -1
  75. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  76. package/ai/stigmer/iam/v1/enum_pb.d.ts +44 -1
  77. package/ai/stigmer/iam/v1/enum_pb.js +44 -1
  78. package/ai/stigmer/iam/v1/enum_pb.js.map +1 -1
  79. package/ai/stigmer/platform/cursoraccount/v1/command_connect.d.ts +102 -0
  80. package/ai/stigmer/platform/cursoraccount/v1/command_connect.js +110 -0
  81. package/ai/stigmer/platform/cursoraccount/v1/command_connect.js.map +1 -0
  82. package/ai/stigmer/platform/cursoraccount/v1/command_pb.d.ts +100 -0
  83. package/ai/stigmer/platform/cursoraccount/v1/command_pb.js +32 -0
  84. package/ai/stigmer/platform/cursoraccount/v1/command_pb.js.map +1 -0
  85. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.d.ts +409 -0
  86. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js +36 -0
  87. package/ai/stigmer/platform/cursoraccount/v1/cursor_account_pb.js.map +1 -0
  88. package/ai/stigmer/platform/cursoraccount/v1/io_pb.d.ts +383 -0
  89. package/ai/stigmer/platform/cursoraccount/v1/io_pb.js +115 -0
  90. package/ai/stigmer/platform/cursoraccount/v1/io_pb.js.map +1 -0
  91. package/ai/stigmer/platform/cursoraccount/v1/query_connect.d.ts +44 -0
  92. package/ai/stigmer/platform/cursoraccount/v1/query_connect.js +51 -0
  93. package/ai/stigmer/platform/cursoraccount/v1/query_connect.js.map +1 -0
  94. package/ai/stigmer/platform/cursoraccount/v1/query_pb.d.ts +45 -0
  95. package/ai/stigmer/platform/cursoraccount/v1/query_pb.js +25 -0
  96. package/ai/stigmer/platform/cursoraccount/v1/query_pb.js.map +1 -0
  97. package/package.json +1 -1
@@ -0,0 +1,383 @@
1
+ import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv1";
2
+ import type { CursorAccount, CursorAccountSyncSnapshot, CursorMemberKey, CursorMemberSpend, CursorTeamMember } from "./cursor_account_pb.js";
3
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
4
+ import type { Message } from "@bufbuild/protobuf";
5
+ /**
6
+ * Describes the file ai/stigmer/platform/cursoraccount/v1/io.proto.
7
+ */
8
+ export declare const file_ai_stigmer_platform_cursoraccount_v1_io: GenFile;
9
+ /**
10
+ * Input for creating or updating a CursorAccount.
11
+ *
12
+ * Create: account_id empty; admin_api_key plaintext (validated live
13
+ * against GET /teams/members before persistence).
14
+ * Update: account_id set; admin_api_key plaintext to rotate or
15
+ * "***REDACTED***" to keep the stored value. member_keys on the embedded
16
+ * account are IGNORED here — keys have their own add/remove/enable RPCs
17
+ * so key mutations are individually validated and audited.
18
+ *
19
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.UpsertCursorAccountInput
20
+ */
21
+ export type UpsertCursorAccountInput = Message<"ai.stigmer.platform.cursoraccount.v1.UpsertCursorAccountInput"> & {
22
+ /**
23
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorAccount account = 1;
24
+ */
25
+ account?: CursorAccount;
26
+ };
27
+ /**
28
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.UpsertCursorAccountInput.
29
+ * Use `create(UpsertCursorAccountInputSchema)` to create a new message.
30
+ */
31
+ export declare const UpsertCursorAccountInputSchema: GenMessage<UpsertCursorAccountInput>;
32
+ /**
33
+ * Input for deleting a CursorAccount.
34
+ *
35
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.DeleteCursorAccountInput
36
+ */
37
+ export type DeleteCursorAccountInput = Message<"ai.stigmer.platform.cursoraccount.v1.DeleteCursorAccountInput"> & {
38
+ /**
39
+ * @generated from field: string account_id = 1;
40
+ */
41
+ accountId: string;
42
+ /**
43
+ * Deletion is refused while live sessions are pinned to this account's
44
+ * keys (their end-of-session agent disposal still needs the keys).
45
+ * Setting force overrides the guard; the orphaned pin count is logged.
46
+ *
47
+ * @generated from field: bool force = 2;
48
+ */
49
+ force: boolean;
50
+ };
51
+ /**
52
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.DeleteCursorAccountInput.
53
+ * Use `create(DeleteCursorAccountInputSchema)` to create a new message.
54
+ */
55
+ export declare const DeleteCursorAccountInputSchema: GenMessage<DeleteCursorAccountInput>;
56
+ /**
57
+ * Input for adding one member key to an account. The key is presented to
58
+ * Cursor's GET /v1/me before persistence; the returned identity is bound
59
+ * server-side. A non-user-scoped key (e.g. a team admin key) fails with
60
+ * Cursor's own explanatory error.
61
+ *
62
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.AddCursorMemberKeyInput
63
+ */
64
+ export type AddCursorMemberKeyInput = Message<"ai.stigmer.platform.cursoraccount.v1.AddCursorMemberKeyInput"> & {
65
+ /**
66
+ * @generated from field: string account_id = 1;
67
+ */
68
+ accountId: string;
69
+ /**
70
+ * Plaintext user-scoped API key. The redaction marker is not accepted:
71
+ * rotation is remove + add, so the identity binding can never go stale.
72
+ *
73
+ * @generated from field: string api_key = 2;
74
+ */
75
+ apiKey: string;
76
+ /**
77
+ * Optional operator label.
78
+ *
79
+ * @generated from field: string label = 3;
80
+ */
81
+ label: string;
82
+ };
83
+ /**
84
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.AddCursorMemberKeyInput.
85
+ * Use `create(AddCursorMemberKeyInputSchema)` to create a new message.
86
+ */
87
+ export declare const AddCursorMemberKeyInputSchema: GenMessage<AddCursorMemberKeyInput>;
88
+ /**
89
+ * Input for removing one member key.
90
+ *
91
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.RemoveCursorMemberKeyInput
92
+ */
93
+ export type RemoveCursorMemberKeyInput = Message<"ai.stigmer.platform.cursoraccount.v1.RemoveCursorMemberKeyInput"> & {
94
+ /**
95
+ * @generated from field: string account_id = 1;
96
+ */
97
+ accountId: string;
98
+ /**
99
+ * @generated from field: string key_id = 2;
100
+ */
101
+ keyId: string;
102
+ /**
103
+ * Removal is refused while live sessions are pinned to this key (the
104
+ * runner archives the Cursor agent with the session's key at disposal;
105
+ * removing it would orphan those agent handles). Setting force
106
+ * overrides the guard; the orphaned pin count is logged.
107
+ *
108
+ * @generated from field: bool force = 3;
109
+ */
110
+ force: boolean;
111
+ };
112
+ /**
113
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.RemoveCursorMemberKeyInput.
114
+ * Use `create(RemoveCursorMemberKeyInputSchema)` to create a new message.
115
+ */
116
+ export declare const RemoveCursorMemberKeyInputSchema: GenMessage<RemoveCursorMemberKeyInput>;
117
+ /**
118
+ * Input for enabling or disabling one member key. Disabling blocks NEW
119
+ * sessions immediately; pinned sessions keep working.
120
+ *
121
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.SetCursorMemberKeyEnabledInput
122
+ */
123
+ export type SetCursorMemberKeyEnabledInput = Message<"ai.stigmer.platform.cursoraccount.v1.SetCursorMemberKeyEnabledInput"> & {
124
+ /**
125
+ * @generated from field: string account_id = 1;
126
+ */
127
+ accountId: string;
128
+ /**
129
+ * @generated from field: string key_id = 2;
130
+ */
131
+ keyId: string;
132
+ /**
133
+ * @generated from field: bool enabled = 3;
134
+ */
135
+ enabled: boolean;
136
+ };
137
+ /**
138
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.SetCursorMemberKeyEnabledInput.
139
+ * Use `create(SetCursorMemberKeyEnabledInputSchema)` to create a new message.
140
+ */
141
+ export declare const SetCursorMemberKeyEnabledInputSchema: GenMessage<SetCursorMemberKeyEnabledInput>;
142
+ /**
143
+ * Input for an on-demand roster + spend sync of one account.
144
+ *
145
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.SyncCursorAccountInput
146
+ */
147
+ export type SyncCursorAccountInput = Message<"ai.stigmer.platform.cursoraccount.v1.SyncCursorAccountInput"> & {
148
+ /**
149
+ * @generated from field: string account_id = 1;
150
+ */
151
+ accountId: string;
152
+ };
153
+ /**
154
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.SyncCursorAccountInput.
155
+ * Use `create(SyncCursorAccountInputSchema)` to create a new message.
156
+ */
157
+ export declare const SyncCursorAccountInputSchema: GenMessage<SyncCursorAccountInput>;
158
+ /**
159
+ * Input for listing all accounts. Empty by design: this is a
160
+ * platform-operator surface over a small collection.
161
+ *
162
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.ListCursorAccountsInput
163
+ */
164
+ export type ListCursorAccountsInput = Message<"ai.stigmer.platform.cursoraccount.v1.ListCursorAccountsInput"> & {};
165
+ /**
166
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.ListCursorAccountsInput.
167
+ * Use `create(ListCursorAccountsInputSchema)` to create a new message.
168
+ */
169
+ export declare const ListCursorAccountsInputSchema: GenMessage<ListCursorAccountsInput>;
170
+ /**
171
+ * One account plus derived routing/sync facts for the console list.
172
+ *
173
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.CursorAccountSummary
174
+ */
175
+ export type CursorAccountSummary = Message<"ai.stigmer.platform.cursoraccount.v1.CursorAccountSummary"> & {
176
+ /**
177
+ * The account with all key material redacted.
178
+ *
179
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorAccount account = 1;
180
+ */
181
+ account?: CursorAccount;
182
+ /**
183
+ * Count of enabled member keys — 0 means "not routable", surfaced
184
+ * prominently in the console.
185
+ *
186
+ * @generated from field: int32 enabled_key_count = 2;
187
+ */
188
+ enabledKeyCount: number;
189
+ /**
190
+ * When the latest sync snapshot was taken; unset when never synced.
191
+ *
192
+ * @generated from field: google.protobuf.Timestamp last_synced_at = 3;
193
+ */
194
+ lastSyncedAt?: Timestamp;
195
+ };
196
+ /**
197
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountSummary.
198
+ * Use `create(CursorAccountSummarySchema)` to create a new message.
199
+ */
200
+ export declare const CursorAccountSummarySchema: GenMessage<CursorAccountSummary>;
201
+ /**
202
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.CursorAccountsResponse
203
+ */
204
+ export type CursorAccountsResponse = Message<"ai.stigmer.platform.cursoraccount.v1.CursorAccountsResponse"> & {
205
+ /**
206
+ * @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorAccountSummary accounts = 1;
207
+ */
208
+ accounts: CursorAccountSummary[];
209
+ };
210
+ /**
211
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountsResponse.
212
+ * Use `create(CursorAccountsResponseSchema)` to create a new message.
213
+ */
214
+ export declare const CursorAccountsResponseSchema: GenMessage<CursorAccountsResponse>;
215
+ /**
216
+ * Input for the single-account detail view.
217
+ *
218
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.GetCursorAccountViewInput
219
+ */
220
+ export type GetCursorAccountViewInput = Message<"ai.stigmer.platform.cursoraccount.v1.GetCursorAccountViewInput"> & {
221
+ /**
222
+ * @generated from field: string account_id = 1;
223
+ */
224
+ accountId: string;
225
+ };
226
+ /**
227
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.GetCursorAccountViewInput.
228
+ * Use `create(GetCursorAccountViewInputSchema)` to create a new message.
229
+ */
230
+ export declare const GetCursorAccountViewInputSchema: GenMessage<GetCursorAccountViewInput>;
231
+ /**
232
+ * One active roster member Stigmer holds no key for, joined with their
233
+ * cycle spend — the operator's coverage-gap row. The spend join happens
234
+ * server-side by the same case-insensitive email rule as key views
235
+ * (computed on read, never stored) so clients never re-derive it.
236
+ *
237
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.CursorTeamMemberView
238
+ */
239
+ export type CursorTeamMemberView = Message<"ai.stigmer.platform.cursoraccount.v1.CursorTeamMemberView"> & {
240
+ /**
241
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorTeamMember member = 1;
242
+ */
243
+ member?: CursorTeamMember;
244
+ /**
245
+ * Spend of this member this cycle; unset when the member has no
246
+ * spend row.
247
+ *
248
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorMemberSpend spend = 2;
249
+ */
250
+ spend?: CursorMemberSpend;
251
+ };
252
+ /**
253
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorTeamMemberView.
254
+ * Use `create(CursorTeamMemberViewSchema)` to create a new message.
255
+ */
256
+ export declare const CursorTeamMemberViewSchema: GenMessage<CursorTeamMemberView>;
257
+ /**
258
+ * One member key joined with roster + spend facts for the detail view.
259
+ *
260
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyView
261
+ */
262
+ export type CursorMemberKeyView = Message<"ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyView"> & {
263
+ /**
264
+ * The key entry with material redacted.
265
+ *
266
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorMemberKey key = 1;
267
+ */
268
+ key?: CursorMemberKey;
269
+ /**
270
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyState state = 2;
271
+ */
272
+ state: CursorMemberKeyState;
273
+ /**
274
+ * Spend of the owning member this cycle; unset when the member has no
275
+ * spend row. (Cursor's spend endpoint drifted 2026-07-23: it now also
276
+ * returns removed members, with a flat totalPercentUsed=100 — the
277
+ * roster state above, never spend, decides "removed".)
278
+ *
279
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorMemberSpend spend = 3;
280
+ */
281
+ spend?: CursorMemberSpend;
282
+ /**
283
+ * True when the usage guard excludes this key from NEW-session
284
+ * selection: the account declares on-demand usage disabled AND the
285
+ * owning member's api_percent_used has crossed the platform soft
286
+ * limit. Server-computed on read by the same routability predicate
287
+ * key selection uses (the threshold is server config — clients must
288
+ * render this flag, never re-derive it). Pinned sessions are not
289
+ * affected by the guard.
290
+ *
291
+ * @generated from field: bool usage_guard_tripped = 4;
292
+ */
293
+ usageGuardTripped: boolean;
294
+ };
295
+ /**
296
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyView.
297
+ * Use `create(CursorMemberKeyViewSchema)` to create a new message.
298
+ */
299
+ export declare const CursorMemberKeyViewSchema: GenMessage<CursorMemberKeyView>;
300
+ /**
301
+ * Full detail view of one account: the redacted account, the latest
302
+ * roster/spend snapshot, and the computed key-coverage join.
303
+ *
304
+ * @generated from message ai.stigmer.platform.cursoraccount.v1.CursorAccountView
305
+ */
306
+ export type CursorAccountView = Message<"ai.stigmer.platform.cursoraccount.v1.CursorAccountView"> & {
307
+ /**
308
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorAccount account = 1;
309
+ */
310
+ account?: CursorAccount;
311
+ /**
312
+ * Latest sync snapshot; unset when never synced.
313
+ *
314
+ * @generated from field: ai.stigmer.platform.cursoraccount.v1.CursorAccountSyncSnapshot snapshot = 2;
315
+ */
316
+ snapshot?: CursorAccountSyncSnapshot;
317
+ /**
318
+ * Every stored member key joined with roster and spend facts.
319
+ *
320
+ * @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyView key_views = 3;
321
+ */
322
+ keyViews: CursorMemberKeyView[];
323
+ /**
324
+ * Deprecated: superseded by members_without_keys_views, which carries
325
+ * the same roster entries with their spend joined server-side. Still
326
+ * populated (protos are published; older clients may read it); current
327
+ * clients must read the views field.
328
+ *
329
+ * @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorTeamMember members_without_keys = 4 [deprecated = true];
330
+ * @deprecated
331
+ */
332
+ membersWithoutKeys: CursorTeamMember[];
333
+ /**
334
+ * Active roster members (role != "removed") for whom no member key is
335
+ * stored — the operator's "coverage gap" list, each joined with the
336
+ * member's cycle spend by the same email rule as key_views.
337
+ *
338
+ * @generated from field: repeated ai.stigmer.platform.cursoraccount.v1.CursorTeamMemberView members_without_keys_views = 5;
339
+ */
340
+ membersWithoutKeysViews: CursorTeamMemberView[];
341
+ };
342
+ /**
343
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountView.
344
+ * Use `create(CursorAccountViewSchema)` to create a new message.
345
+ */
346
+ export declare const CursorAccountViewSchema: GenMessage<CursorAccountView>;
347
+ /**
348
+ * CursorMemberKeyState classifies one stored member key against the
349
+ * latest roster snapshot. Computed on read (never stored) so it can
350
+ * not drift from its inputs.
351
+ *
352
+ * @generated from enum ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyState
353
+ */
354
+ export declare enum CursorMemberKeyState {
355
+ /**
356
+ * @generated from enum value: cursor_member_key_state_unspecified = 0;
357
+ */
358
+ cursor_member_key_state_unspecified = 0,
359
+ /**
360
+ * Key owner is an active roster member.
361
+ *
362
+ * @generated from enum value: member_key_active = 1;
363
+ */
364
+ member_key_active = 1,
365
+ /**
366
+ * Key owner shows as "removed" in the roster — the key is excluded
367
+ * from selection and flagged for the operator.
368
+ *
369
+ * @generated from enum value: member_key_owner_removed = 2;
370
+ */
371
+ member_key_owner_removed = 2,
372
+ /**
373
+ * Key owner does not appear in the roster at all (or no sync has run
374
+ * yet, in which case every key reports this until the first sync).
375
+ *
376
+ * @generated from enum value: member_key_owner_unknown = 3;
377
+ */
378
+ member_key_owner_unknown = 3
379
+ }
380
+ /**
381
+ * Describes the enum ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyState.
382
+ */
383
+ export declare const CursorMemberKeyStateSchema: GenEnum<CursorMemberKeyState>;
@@ -0,0 +1,115 @@
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/io.proto (package ai.stigmer.platform.cursoraccount.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
5
+ import { file_ai_stigmer_platform_cursoraccount_v1_cursor_account } from "./cursor_account_pb.js";
6
+ import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
7
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
8
+ /**
9
+ * Describes the file ai/stigmer/platform/cursoraccount/v1/io.proto.
10
+ */
11
+ export const file_ai_stigmer_platform_cursoraccount_v1_io = /*@__PURE__*/ fileDesc("Ci1haS9zdGlnbWVyL3BsYXRmb3JtL2N1cnNvcmFjY291bnQvdjEvaW8ucHJvdG8SJGFpLnN0aWdtZXIucGxhdGZvcm0uY3Vyc29yYWNjb3VudC52MSJoChhVcHNlcnRDdXJzb3JBY2NvdW50SW5wdXQSTAoHYWNjb3VudBgBIAEoCzIzLmFpLnN0aWdtZXIucGxhdGZvcm0uY3Vyc29yYWNjb3VudC52MS5DdXJzb3JBY2NvdW50Qga6SAPIAQEiRgoYRGVsZXRlQ3Vyc29yQWNjb3VudElucHV0EhsKCmFjY291bnRfaWQYASABKAlCB7pI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XJzb3JNZW1iZXJLZXlTdGF0ZRInCiNjdXJzb3JfbWVtYmVyX2tleV9zdGF0ZV91bnNwZWNpZmllZBAAEhUKEW1lbWJlcl9rZXlfYWN0aXZlEAESHAoYbWVtYmVyX2tleV9vd25lcl9yZW1vdmVkEAISHAoYbWVtYmVyX2tleV9vd25lcl91bmtub3duEANiBnByb3RvMw", [file_ai_stigmer_platform_cursoraccount_v1_cursor_account, file_buf_validate_validate, file_google_protobuf_timestamp]);
12
+ /**
13
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.UpsertCursorAccountInput.
14
+ * Use `create(UpsertCursorAccountInputSchema)` to create a new message.
15
+ */
16
+ export const UpsertCursorAccountInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 0);
17
+ /**
18
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.DeleteCursorAccountInput.
19
+ * Use `create(DeleteCursorAccountInputSchema)` to create a new message.
20
+ */
21
+ export const DeleteCursorAccountInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 1);
22
+ /**
23
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.AddCursorMemberKeyInput.
24
+ * Use `create(AddCursorMemberKeyInputSchema)` to create a new message.
25
+ */
26
+ export const AddCursorMemberKeyInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 2);
27
+ /**
28
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.RemoveCursorMemberKeyInput.
29
+ * Use `create(RemoveCursorMemberKeyInputSchema)` to create a new message.
30
+ */
31
+ export const RemoveCursorMemberKeyInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 3);
32
+ /**
33
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.SetCursorMemberKeyEnabledInput.
34
+ * Use `create(SetCursorMemberKeyEnabledInputSchema)` to create a new message.
35
+ */
36
+ export const SetCursorMemberKeyEnabledInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 4);
37
+ /**
38
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.SyncCursorAccountInput.
39
+ * Use `create(SyncCursorAccountInputSchema)` to create a new message.
40
+ */
41
+ export const SyncCursorAccountInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 5);
42
+ /**
43
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.ListCursorAccountsInput.
44
+ * Use `create(ListCursorAccountsInputSchema)` to create a new message.
45
+ */
46
+ export const ListCursorAccountsInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 6);
47
+ /**
48
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountSummary.
49
+ * Use `create(CursorAccountSummarySchema)` to create a new message.
50
+ */
51
+ export const CursorAccountSummarySchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 7);
52
+ /**
53
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountsResponse.
54
+ * Use `create(CursorAccountsResponseSchema)` to create a new message.
55
+ */
56
+ export const CursorAccountsResponseSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 8);
57
+ /**
58
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.GetCursorAccountViewInput.
59
+ * Use `create(GetCursorAccountViewInputSchema)` to create a new message.
60
+ */
61
+ export const GetCursorAccountViewInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 9);
62
+ /**
63
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorTeamMemberView.
64
+ * Use `create(CursorTeamMemberViewSchema)` to create a new message.
65
+ */
66
+ export const CursorTeamMemberViewSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 10);
67
+ /**
68
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyView.
69
+ * Use `create(CursorMemberKeyViewSchema)` to create a new message.
70
+ */
71
+ export const CursorMemberKeyViewSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 11);
72
+ /**
73
+ * Describes the message ai.stigmer.platform.cursoraccount.v1.CursorAccountView.
74
+ * Use `create(CursorAccountViewSchema)` to create a new message.
75
+ */
76
+ export const CursorAccountViewSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 12);
77
+ /**
78
+ * CursorMemberKeyState classifies one stored member key against the
79
+ * latest roster snapshot. Computed on read (never stored) so it can
80
+ * not drift from its inputs.
81
+ *
82
+ * @generated from enum ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyState
83
+ */
84
+ export var CursorMemberKeyState;
85
+ (function (CursorMemberKeyState) {
86
+ /**
87
+ * @generated from enum value: cursor_member_key_state_unspecified = 0;
88
+ */
89
+ CursorMemberKeyState[CursorMemberKeyState["cursor_member_key_state_unspecified"] = 0] = "cursor_member_key_state_unspecified";
90
+ /**
91
+ * Key owner is an active roster member.
92
+ *
93
+ * @generated from enum value: member_key_active = 1;
94
+ */
95
+ CursorMemberKeyState[CursorMemberKeyState["member_key_active"] = 1] = "member_key_active";
96
+ /**
97
+ * Key owner shows as "removed" in the roster — the key is excluded
98
+ * from selection and flagged for the operator.
99
+ *
100
+ * @generated from enum value: member_key_owner_removed = 2;
101
+ */
102
+ CursorMemberKeyState[CursorMemberKeyState["member_key_owner_removed"] = 2] = "member_key_owner_removed";
103
+ /**
104
+ * Key owner does not appear in the roster at all (or no sync has run
105
+ * yet, in which case every key reports this until the first sync).
106
+ *
107
+ * @generated from enum value: member_key_owner_unknown = 3;
108
+ */
109
+ CursorMemberKeyState[CursorMemberKeyState["member_key_owner_unknown"] = 3] = "member_key_owner_unknown";
110
+ })(CursorMemberKeyState || (CursorMemberKeyState = {}));
111
+ /**
112
+ * Describes the enum ai.stigmer.platform.cursoraccount.v1.CursorMemberKeyState.
113
+ */
114
+ export const CursorMemberKeyStateSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_platform_cursoraccount_v1_io, 0);
115
+ //# sourceMappingURL=io_pb.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/cursoraccount/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,mIAAmI;AACnI,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAE/E,OAAO,EAAE,wDAAwD,EAAE,MAAM,wBAAwB,CAAC;AAClG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAExF,OAAO,EAAE,8BAA8B,EAAE,MAAM,wBAAwB,CAAC;AAGxE;;GAEG;AACH,MAAM,CAAC,MAAM,4CAA4C,GAAY,aAAa,CAChF,QAAQ,CAAC,opFAAopF,EAAE,CAAC,wDAAwD,EAAE,0BAA0B,EAAE,8BAA8B,CAAC,CAAC,CAAC;AAqBzxF;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAuB/D;;;GAGG;AACH,MAAM,CAAC,MAAM,8BAA8B,GAAyC,aAAa,CAC/F,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAgC/D;;;GAGG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAwC,aAAa,CAC7F,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AA6B/D;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC;AAyB/D;;;GAGG;AACH,MAAM,CAAC,MAAM,oCAAoC,GAA+C,aAAa,CAC3G,WAAW,CAAC,4CAA4C,EAAE,CAAC,CAAC,C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Q,CAAC,4CAA4C,EAAE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,44 @@
1
+ /**
2
+ * CursorAccountQueryController handles read operations for managed
3
+ * Cursor accounts.
4
+ *
5
+ * Platform-gated like the command controller: even redacted, the resource
6
+ * reveals team structure and per-member spend, which are
7
+ * platform-internal.
8
+ *
9
+ * @internal
10
+ * Cloud-only; not implemented by the OSS Go server.
11
+ *
12
+ * @generated from service ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController
13
+ */
14
+ export declare const CursorAccountQueryController: {
15
+ readonly typeName: "ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController";
16
+ readonly methods: {
17
+ /**
18
+ * List all Cursor accounts with routing/sync summaries. Key material
19
+ * is always redacted.
20
+ *
21
+ * @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController.listCursorAccounts
22
+ */
23
+ readonly listCursorAccounts: {
24
+ readonly name: "listCursorAccounts";
25
+ readonly I: any;
26
+ readonly O: any;
27
+ readonly kind: any;
28
+ };
29
+ /**
30
+ * Retrieve one account's detail view: the redacted account, the latest
31
+ * roster/spend snapshot, and the computed key-coverage join (which
32
+ * members hold stored keys, which keys lost their owner, who has no
33
+ * key).
34
+ *
35
+ * @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController.getCursorAccountView
36
+ */
37
+ readonly getCursorAccountView: {
38
+ readonly name: "getCursorAccountView";
39
+ readonly I: any;
40
+ readonly O: any;
41
+ readonly kind: any;
42
+ };
43
+ };
44
+ };
@@ -0,0 +1,51 @@
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/query.proto (package ai.stigmer.platform.cursoraccount.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { CursorAccountsResponse, CursorAccountView, GetCursorAccountViewInput, ListCursorAccountsInput } from "./io_pbjs";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ /**
8
+ * CursorAccountQueryController handles read operations for managed
9
+ * Cursor accounts.
10
+ *
11
+ * Platform-gated like the command controller: even redacted, the resource
12
+ * reveals team structure and per-member spend, which are
13
+ * platform-internal.
14
+ *
15
+ * @internal
16
+ * Cloud-only; not implemented by the OSS Go server.
17
+ *
18
+ * @generated from service ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController
19
+ */
20
+ export const CursorAccountQueryController = {
21
+ typeName: "ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController",
22
+ methods: {
23
+ /**
24
+ * List all Cursor accounts with routing/sync summaries. Key material
25
+ * is always redacted.
26
+ *
27
+ * @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController.listCursorAccounts
28
+ */
29
+ listCursorAccounts: {
30
+ name: "listCursorAccounts",
31
+ I: ListCursorAccountsInput,
32
+ O: CursorAccountsResponse,
33
+ kind: MethodKind.Unary,
34
+ },
35
+ /**
36
+ * Retrieve one account's detail view: the redacted account, the latest
37
+ * roster/spend snapshot, and the computed key-coverage join (which
38
+ * members hold stored keys, which keys lost their owner, who has no
39
+ * key).
40
+ *
41
+ * @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController.getCursorAccountView
42
+ */
43
+ getCursorAccountView: {
44
+ name: "getCursorAccountView",
45
+ I: GetCursorAccountViewInput,
46
+ O: CursorAccountView,
47
+ kind: MethodKind.Unary,
48
+ },
49
+ }
50
+ };
51
+ //# sourceMappingURL=query_connect.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"query_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/platform/cursoraccount/v1/query_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,sIAAsI;AACtI,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,WAAW,CAAC;AAC1H,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,QAAQ,EAAE,mEAAmE;IAC7E,OAAO,EAAE;QACP;;;;;WAKG;QACH,kBAAkB,EAAE;YAClB,IAAI,EAAE,oBAAoB;YAC1B,CAAC,EAAE,uBAAuB;YAC1B,CAAC,EAAE,sBAAsB;YACzB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,oBAAoB,EAAE;YACpB,IAAI,EAAE,sBAAsB;YAC5B,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,iBAAiB;YACpB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -0,0 +1,45 @@
1
+ import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
+ import type { CursorAccountsResponseSchema, CursorAccountViewSchema, GetCursorAccountViewInputSchema, ListCursorAccountsInputSchema } from "./io_pb.js";
3
+ /**
4
+ * Describes the file ai/stigmer/platform/cursoraccount/v1/query.proto.
5
+ */
6
+ export declare const file_ai_stigmer_platform_cursoraccount_v1_query: GenFile;
7
+ /**
8
+ * CursorAccountQueryController handles read operations for managed
9
+ * Cursor accounts.
10
+ *
11
+ * Platform-gated like the command controller: even redacted, the resource
12
+ * reveals team structure and per-member spend, which are
13
+ * platform-internal.
14
+ *
15
+ * @internal
16
+ * Cloud-only; not implemented by the OSS Go server.
17
+ *
18
+ * @generated from service ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController
19
+ */
20
+ export declare const CursorAccountQueryController: GenService<{
21
+ /**
22
+ * List all Cursor accounts with routing/sync summaries. Key material
23
+ * is always redacted.
24
+ *
25
+ * @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController.listCursorAccounts
26
+ */
27
+ listCursorAccounts: {
28
+ methodKind: "unary";
29
+ input: typeof ListCursorAccountsInputSchema;
30
+ output: typeof CursorAccountsResponseSchema;
31
+ };
32
+ /**
33
+ * Retrieve one account's detail view: the redacted account, the latest
34
+ * roster/spend snapshot, and the computed key-coverage join (which
35
+ * members hold stored keys, which keys lost their owner, who has no
36
+ * key).
37
+ *
38
+ * @generated from rpc ai.stigmer.platform.cursoraccount.v1.CursorAccountQueryController.getCursorAccountView
39
+ */
40
+ getCursorAccountView: {
41
+ methodKind: "unary";
42
+ input: typeof GetCursorAccountViewInputSchema;
43
+ output: typeof CursorAccountViewSchema;
44
+ };
45
+ }>;