@stigmer/protos 2.0.0 → 3.0.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/agentexecution/v1/approval_pb.d.ts +11 -0
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js +2 -1
- package/ai/stigmer/agentic/agentexecution/v1/approval_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.d.ts +163 -1
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js +172 -9
- package/ai/stigmer/agentic/agentexecution/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.d.ts +17 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js +1 -1
- package/ai/stigmer/agentic/agentexecution/v1/message_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/api_pb.d.ts +4 -46
- package/ai/stigmer/agentic/session/v1/api_pb.js +1 -7
- package/ai/stigmer/agentic/session/v1/api_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_connect.d.ts +0 -18
- package/ai/stigmer/agentic/session/v1/command_connect.js +1 -19
- package/ai/stigmer/agentic/session/v1/command_connect.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.d.ts +1 -18
- package/ai/stigmer/agentic/session/v1/command_pb.js +1 -1
- package/ai/stigmer/agentic/session/v1/command_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +6 -7
- package/ai/stigmer/agentic/session/v1/enum_pb.js +6 -7
- package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
- package/ai/stigmer/agentic/session/v1/io_pb.d.ts +0 -33
- package/ai/stigmer/agentic/session/v1/io_pb.js +1 -7
- package/ai/stigmer/agentic/session/v1/io_pb.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_connect.d.ts +39 -1
- package/ai/stigmer/platform/v1/server_info_connect.js +40 -2
- package/ai/stigmer/platform/v1/server_info_connect.js.map +1 -1
- package/ai/stigmer/platform/v1/server_info_pb.d.ts +110 -1
- package/ai/stigmer/platform/v1/server_info_pb.js +17 -2
- package/ai/stigmer/platform/v1/server_info_pb.js.map +1 -1
- package/package.json +1 -1
- package/ai/stigmer/agentic/session/v1/memory_pb.d.ts +0 -216
- package/ai/stigmer/agentic/session/v1/memory_pb.js +0 -24
- package/ai/stigmer/agentic/session/v1/memory_pb.js.map +0 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/agentic/session/v1/api.proto (package ai.stigmer.agentic.session.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
|
-
import { file_ai_stigmer_agentic_session_v1_memory } from "./memory_pb.js";
|
|
6
5
|
import { file_ai_stigmer_agentic_session_v1_spec } from "./spec_pb.js";
|
|
7
6
|
import { file_ai_stigmer_commons_apiresource_metadata } from "../../../commons/apiresource/metadata_pb.js";
|
|
8
7
|
import { file_ai_stigmer_commons_apiresource_status } from "../../../commons/apiresource/status_pb.js";
|
|
@@ -10,15 +9,10 @@ import { file_buf_validate_validate } from "../../../../../buf/validate/validate
|
|
|
10
9
|
/**
|
|
11
10
|
* Describes the file ai/stigmer/agentic/session/v1/api.proto.
|
|
12
11
|
*/
|
|
13
|
-
export const file_ai_stigmer_agentic_session_v1_api = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_session_v1_api = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9hcGkucHJvdG8SHWFpLnN0aWdtZXIuYWdlbnRpYy5zZXNzaW9uLnYxIqsCCgdTZXNzaW9uEjEKC2FwaV92ZXJzaW9uGAEgASgJQhy6SBlyFwoVYWdlbnRpYy5zdGlnbWVyLmFpL3YxEhwKBGtpbmQYAiABKAlCDrpIC3IJCgdTZXNzaW9uEk0KCG1ldGFkYXRhGAMgASgLMjMuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlTWV0YWRhdGFCBrpIA8gBARI4CgRzcGVjGAQgASgLMiouYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEuU2Vzc2lvblNwZWMSRgoGc3RhdHVzGAUgASgLMjYuYWkuc3RpZ21lci5jb21tb25zLmFwaXJlc291cmNlLkFwaVJlc291cmNlQXVkaXRTdGF0dXNiBnByb3RvMw", [file_ai_stigmer_agentic_session_v1_spec, file_ai_stigmer_commons_apiresource_metadata, file_ai_stigmer_commons_apiresource_status, file_buf_validate_validate]);
|
|
14
13
|
/**
|
|
15
14
|
* Describes the message ai.stigmer.agentic.session.v1.Session.
|
|
16
15
|
* Use `create(SessionSchema)` to create a new message.
|
|
17
16
|
*/
|
|
18
17
|
export const SessionSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_api, 0);
|
|
19
|
-
/**
|
|
20
|
-
* Describes the message ai.stigmer.agentic.session.v1.SessionStatus.
|
|
21
|
-
* Use `create(SessionStatusSchema)` to create a new message.
|
|
22
|
-
*/
|
|
23
|
-
export const SessionStatusSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_api, 1);
|
|
24
18
|
//# sourceMappingURL=api_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"api_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/api_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,sHAAsH;AACtH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,uCAAuC,EAAE,MAAM,cAAc,CAAC;AAEvE,OAAO,EAAE,4CAA4C,EAAE,MAAM,6CAA6C,CAAC;AAE3G,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AACvG,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,ggBAAggB,EAAE,CAAC,uCAAuC,EAAE,4CAA4C,EAAE,0CAA0C,EAAE,0BAA0B,CAAC,CAAC,CAAC;AA6C9qB;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -65,24 +65,6 @@ export declare const SessionCommandController: {
|
|
|
65
65
|
readonly O: any;
|
|
66
66
|
readonly kind: any;
|
|
67
67
|
};
|
|
68
|
-
/**
|
|
69
|
-
* Persist session memory after execution.
|
|
70
|
-
*
|
|
71
|
-
* Atomically updates only status.session_memory, leaving all other
|
|
72
|
-
* session fields untouched. Called by the cursor-runner after each
|
|
73
|
-
* completed execution turn.
|
|
74
|
-
*
|
|
75
|
-
* @internal
|
|
76
|
-
* Server-side field-level update, race-safe. No full-document replace.
|
|
77
|
-
*
|
|
78
|
-
* @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.updateSessionMemory
|
|
79
|
-
*/
|
|
80
|
-
readonly updateSessionMemory: {
|
|
81
|
-
readonly name: "updateSessionMemory";
|
|
82
|
-
readonly I: any;
|
|
83
|
-
readonly O: any;
|
|
84
|
-
readonly kind: any;
|
|
85
|
-
};
|
|
86
68
|
/**
|
|
87
69
|
* Delete a session.
|
|
88
70
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { Session } from "./api_pbjs";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
|
-
import { SessionId,
|
|
7
|
+
import { SessionId, UpdateSessionSubjectRequest } from "./io_pbjs";
|
|
8
8
|
/**
|
|
9
9
|
* SessionCommandController handles write operations for agent sessions.
|
|
10
10
|
*
|
|
@@ -72,24 +72,6 @@ export const SessionCommandController = {
|
|
|
72
72
|
O: Session,
|
|
73
73
|
kind: MethodKind.Unary,
|
|
74
74
|
},
|
|
75
|
-
/**
|
|
76
|
-
* Persist session memory after execution.
|
|
77
|
-
*
|
|
78
|
-
* Atomically updates only status.session_memory, leaving all other
|
|
79
|
-
* session fields untouched. Called by the cursor-runner after each
|
|
80
|
-
* completed execution turn.
|
|
81
|
-
*
|
|
82
|
-
* @internal
|
|
83
|
-
* Server-side field-level update, race-safe. No full-document replace.
|
|
84
|
-
*
|
|
85
|
-
* @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.updateSessionMemory
|
|
86
|
-
*/
|
|
87
|
-
updateSessionMemory: {
|
|
88
|
-
name: "updateSessionMemory",
|
|
89
|
-
I: UpdateSessionMemoryRequest,
|
|
90
|
-
O: Session,
|
|
91
|
-
kind: MethodKind.Unary,
|
|
92
|
-
},
|
|
93
75
|
/**
|
|
94
76
|
* Delete a session.
|
|
95
77
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,0HAA0H;AAC1H,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAEnE;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,QAAQ,EAAE,wDAAwD;IAClE,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;WAOG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;WAIG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,OAAO;YACV,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,2BAA2B;YAC9B,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,SAAS;YACZ,CAAC,EAAE,OAAO;YACV,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
|
|
2
2
|
import type { SessionSchema } from "./api_pb.js";
|
|
3
|
-
import type { SessionIdSchema,
|
|
3
|
+
import type { SessionIdSchema, UpdateSessionSubjectRequestSchema } from "./io_pb.js";
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file ai/stigmer/agentic/session/v1/command.proto.
|
|
6
6
|
*/
|
|
@@ -66,23 +66,6 @@ export declare const SessionCommandController: GenService<{
|
|
|
66
66
|
input: typeof UpdateSessionSubjectRequestSchema;
|
|
67
67
|
output: typeof SessionSchema;
|
|
68
68
|
};
|
|
69
|
-
/**
|
|
70
|
-
* Persist session memory after execution.
|
|
71
|
-
*
|
|
72
|
-
* Atomically updates only status.session_memory, leaving all other
|
|
73
|
-
* session fields untouched. Called by the cursor-runner after each
|
|
74
|
-
* completed execution turn.
|
|
75
|
-
*
|
|
76
|
-
* @internal
|
|
77
|
-
* Server-side field-level update, race-safe. No full-document replace.
|
|
78
|
-
*
|
|
79
|
-
* @generated from rpc ai.stigmer.agentic.session.v1.SessionCommandController.updateSessionMemory
|
|
80
|
-
*/
|
|
81
|
-
updateSessionMemory: {
|
|
82
|
-
methodKind: "unary";
|
|
83
|
-
input: typeof UpdateSessionMemoryRequestSchema;
|
|
84
|
-
output: typeof SessionSchema;
|
|
85
|
-
};
|
|
86
69
|
/**
|
|
87
70
|
* Delete a session.
|
|
88
71
|
*
|
|
@@ -9,7 +9,7 @@ import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc
|
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file ai/stigmer/agentic/session/v1/command.proto.
|
|
11
11
|
*/
|
|
12
|
-
export const file_ai_stigmer_agentic_session_v1_command = /*@__PURE__*/ fileDesc("
|
|
12
|
+
export const file_ai_stigmer_agentic_session_v1_command = /*@__PURE__*/ fileDesc("CithaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9jb21tYW5kLnByb3RvEh1haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MTKMBgoYU2Vzc2lvbkNvbW1hbmRDb250cm9sbGVyElcKBWF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file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
|
|
13
13
|
/**
|
|
14
14
|
* SessionCommandController handles write operations for agent sessions.
|
|
15
15
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,
|
|
1
|
+
{"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,0HAA0H;AAC1H,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,YAAY,CAAC;AACnE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,0CAA0C,GAAY,aAAa,CAC9E,QAAQ,CAAC,soCAAsoC,EAAE,CAAC,sCAAsC,EAAE,qCAAqC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEz0C;;;;GAIG;AACH,MAAM,CAAC,MAAM,wBAAwB,GAsEhC,aAAa,CAChB,WAAW,CAAC,0CAA0C,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -171,10 +171,10 @@ export declare enum CursorMode {
|
|
|
171
171
|
/**
|
|
172
172
|
* Local Cursor agent created with a local cwd configuration.
|
|
173
173
|
*
|
|
174
|
-
* Works with any workspace source (git or local path).
|
|
175
|
-
* the
|
|
176
|
-
*
|
|
177
|
-
*
|
|
174
|
+
* Works with any workspace source (git or local path). Conversation
|
|
175
|
+
* state is carried by the Cursor SDK's native local store, which the
|
|
176
|
+
* runner persists on the durable workspace volume so Agent.resume()
|
|
177
|
+
* survives pod restart and snapshot restore.
|
|
178
178
|
*
|
|
179
179
|
* @generated from enum value: CURSOR_MODE_LOCAL = 1;
|
|
180
180
|
*/
|
|
@@ -183,9 +183,8 @@ export declare enum CursorMode {
|
|
|
183
183
|
* Cloud Cursor agent created with a cloud repos configuration.
|
|
184
184
|
*
|
|
185
185
|
* Requires all workspace entries to be GitRepoSource (HTTPS URLs).
|
|
186
|
-
* Cursor natively manages conversation state for cloud agents
|
|
187
|
-
*
|
|
188
|
-
* expire. Feature-flagged — requires STIGMER_CURSOR_CLOUD_MODE_ENABLED.
|
|
186
|
+
* Cursor natively manages conversation state for cloud agents.
|
|
187
|
+
* Feature-flagged — requires STIGMER_CURSOR_CLOUD_MODE_ENABLED.
|
|
189
188
|
*
|
|
190
189
|
* @generated from enum value: CURSOR_MODE_CLOUD = 2;
|
|
191
190
|
*/
|
|
@@ -178,10 +178,10 @@ export var CursorMode;
|
|
|
178
178
|
/**
|
|
179
179
|
* Local Cursor agent created with a local cwd configuration.
|
|
180
180
|
*
|
|
181
|
-
* Works with any workspace source (git or local path).
|
|
182
|
-
* the
|
|
183
|
-
*
|
|
184
|
-
*
|
|
181
|
+
* Works with any workspace source (git or local path). Conversation
|
|
182
|
+
* state is carried by the Cursor SDK's native local store, which the
|
|
183
|
+
* runner persists on the durable workspace volume so Agent.resume()
|
|
184
|
+
* survives pod restart and snapshot restore.
|
|
185
185
|
*
|
|
186
186
|
* @generated from enum value: CURSOR_MODE_LOCAL = 1;
|
|
187
187
|
*/
|
|
@@ -190,9 +190,8 @@ export var CursorMode;
|
|
|
190
190
|
* Cloud Cursor agent created with a cloud repos configuration.
|
|
191
191
|
*
|
|
192
192
|
* Requires all workspace entries to be GitRepoSource (HTTPS URLs).
|
|
193
|
-
* Cursor natively manages conversation state for cloud agents
|
|
194
|
-
*
|
|
195
|
-
* expire. Feature-flagged — requires STIGMER_CURSOR_CLOUD_MODE_ENABLED.
|
|
193
|
+
* Cursor natively manages conversation state for cloud agents.
|
|
194
|
+
* Feature-flagged — requires STIGMER_CURSOR_CLOUD_MODE_ENABLED.
|
|
196
195
|
*
|
|
197
196
|
* @generated from enum value: CURSOR_MODE_CLOUD = 2;
|
|
198
197
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,uHAAuH;AACvH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,uCAAuC,GAAY,aAAa,CAC3E,QAAQ,CAAC,qlBAAqlB,CAAC,CAAC;AAElmB;;;;;;;;;GASG;AACH,MAAM,CAAN,IAAY,gBAyBX;AAzBD,WAAY,gBAAgB;IAC1B;;;;;;;;OAQG;IACH,6GAAmC,CAAA;IAEnC;;;;;;;;;;;OAWG;IACH,uGAAgC,CAAA;AAClC,CAAC,EAzBW,gBAAgB,KAAhB,gBAAgB,QAyB3B;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,sBAAsB,GAA8B,aAAa,CAC5E,QAAQ,CAAC,uCAAuC,EAAE,CAAC,CAAC,CAAC;AAEvD;;;;;;;;;;;;;;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ild/protobuf/codegenv1";
|
|
2
2
|
import type { Session } from "./api_pb.js";
|
|
3
|
-
import type { SessionMemory } from "./memory_pb.js";
|
|
4
3
|
import type { Message } from "@bufbuild/protobuf";
|
|
5
4
|
/**
|
|
6
5
|
* Describes the file ai/stigmer/agentic/session/v1/io.proto.
|
|
@@ -151,35 +150,3 @@ export type UpdateSessionSubjectRequest = Message<"ai.stigmer.agentic.session.v1
|
|
|
151
150
|
* Use `create(UpdateSessionSubjectRequestSchema)` to create a new message.
|
|
152
151
|
*/
|
|
153
152
|
export declare const UpdateSessionSubjectRequestSchema: GenMessage<UpdateSessionSubjectRequest>;
|
|
154
|
-
/**
|
|
155
|
-
* UpdateSessionMemoryRequest persists durable session memory after each
|
|
156
|
-
* completed execution turn.
|
|
157
|
-
*
|
|
158
|
-
* @internal
|
|
159
|
-
* Field-level update that atomically modifies only the status.session_memory
|
|
160
|
-
* field, avoiding the lost-update race condition that occurs when the
|
|
161
|
-
* cursor-runner performs full-session updates concurrently with subject
|
|
162
|
-
* generation and other parallel activities.
|
|
163
|
-
*
|
|
164
|
-
* @generated from message ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest
|
|
165
|
-
*/
|
|
166
|
-
export type UpdateSessionMemoryRequest = Message<"ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest"> & {
|
|
167
|
-
/**
|
|
168
|
-
* Session ID to update.
|
|
169
|
-
*
|
|
170
|
-
* @generated from field: string id = 1;
|
|
171
|
-
*/
|
|
172
|
-
id: string;
|
|
173
|
-
/**
|
|
174
|
-
* The session memory to persist. Replaces the entire existing memory
|
|
175
|
-
* (not a merge — the runner builds the complete memory each time).
|
|
176
|
-
*
|
|
177
|
-
* @generated from field: ai.stigmer.agentic.session.v1.SessionMemory session_memory = 2;
|
|
178
|
-
*/
|
|
179
|
-
sessionMemory?: SessionMemory;
|
|
180
|
-
};
|
|
181
|
-
/**
|
|
182
|
-
* Describes the message ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest.
|
|
183
|
-
* Use `create(UpdateSessionMemoryRequestSchema)` to create a new message.
|
|
184
|
-
*/
|
|
185
|
-
export declare const UpdateSessionMemoryRequestSchema: GenMessage<UpdateSessionMemoryRequest>;
|
|
@@ -3,12 +3,11 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_agentic_session_v1_api } from "./api_pb.js";
|
|
6
|
-
import { file_ai_stigmer_agentic_session_v1_memory } from "./memory_pb.js";
|
|
7
6
|
import { file_buf_validate_validate } from "../../../../../buf/validate/validate_pb.js";
|
|
8
7
|
/**
|
|
9
8
|
* Describes the file ai/stigmer/agentic/session/v1/io.proto.
|
|
10
9
|
*/
|
|
11
|
-
export const file_ai_stigmer_agentic_session_v1_io = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_agentic_session_v1_io = /*@__PURE__*/ fileDesc("CiZhaS9zdGlnbWVyL2FnZW50aWMvc2Vzc2lvbi92MS9pby5wcm90bxIdYWkuc3RpZ21lci5hZ2VudGljLnNlc3Npb24udjEiIgoJU2Vzc2lvbklkEhUKBXZhbHVlGAEgASgJQga6SAPIAQEiIAoHQWdlbnRJZBIVCgV2YWx1ZRgBIAEoCUIGukgDyAEBIlsKC1Nlc3Npb25MaXN0EhMKC3RvdGFsX3BhZ2VzGAEgASgFEjcKB2VudHJpZXMYAiADKAsyJi5haS5zdGlnbWVyLmFnZW50aWMuc2Vzc2lvbi52MS5TZXNzaW9uIkoKE0xpc3RTZXNzaW9uc1JlcXVlc3QSEQoJcGFnZV9zaXplGAEgASgFEhIKCnBhZ2VfdG9rZW4YAiABKAkSDAoEdGFncxgDIAMoCSJdChpMaXN0U2Vzc2lvbnNCeUFnZW50UmVxdWVzdBIYCghhZ2VudF9pZBgBIAEoCUIGukgDyAEBEhEKCXBhZ2Vfc2l6ZRgCIAEoBRISCgpwYWdlX3Rva2VuGAMgASgJIkIKG1VwZGF0ZVNlc3Npb25TdWJqZWN0UmVxdWVzdBISCgJpZBgBIAEoCUIGukgDyAEBEg8KB3N1YmplY3QYAiABKAliBnByb3RvMw", [file_ai_stigmer_agentic_session_v1_api, file_buf_validate_validate]);
|
|
12
11
|
/**
|
|
13
12
|
* Describes the message ai.stigmer.agentic.session.v1.SessionId.
|
|
14
13
|
* Use `create(SessionIdSchema)` to create a new message.
|
|
@@ -39,9 +38,4 @@ export const ListSessionsByAgentRequestSchema = /*@__PURE__*/ messageDesc(file_a
|
|
|
39
38
|
* Use `create(UpdateSessionSubjectRequestSchema)` to create a new message.
|
|
40
39
|
*/
|
|
41
40
|
export const UpdateSessionSubjectRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_io, 5);
|
|
42
|
-
/**
|
|
43
|
-
* Describes the message ai.stigmer.agentic.session.v1.UpdateSessionMemoryRequest.
|
|
44
|
-
* Use `create(UpdateSessionMemoryRequestSchema)` to create a new message.
|
|
45
|
-
*/
|
|
46
|
-
export const UpdateSessionMemoryRequestSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_agentic_session_v1_io, 6);
|
|
47
41
|
//# sourceMappingURL=io_pb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;
|
|
1
|
+
{"version":3,"file":"io_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/session/v1/io_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AACrE,OAAO,EAAE,0BAA0B,EAAE,MAAM,4CAA4C,CAAC;AAGxF;;GAEG;AACH,MAAM,CAAC,MAAM,qCAAqC,GAAY,aAAa,CACzE,QAAQ,CAAC,ooBAAooB,EAAE,CAAC,sCAAsC,EAAE,0BAA0B,CAAC,CAAC,CAAC;AAcvtB;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAA0B,aAAa,CACjE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAcxD;;;GAGG;AACH,MAAM,CAAC,MAAM,aAAa,GAAwB,aAAa,CAC7D,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AAuBxD;;;GAGG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAA4B,aAAa,CACrE,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,yBAAyB,GAAoC,aAAa,CACrF,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA8BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,gCAAgC,GAA2C,aAAa,CACnG,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC;AA4BxD;;;GAGG;AACH,MAAM,CAAC,MAAM,iCAAiC,GAA4C,aAAa,CACrG,WAAW,CAAC,qCAAqC,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Query service for server identity, capabilities, and runner bootstrap.
|
|
3
3
|
*
|
|
4
4
|
* Clients call getServerInfo on startup to learn the server edition
|
|
5
5
|
* and version, replacing URL-based guessing. The RPC is public
|
|
6
6
|
* (no authentication required) so it can be called before login.
|
|
7
7
|
*
|
|
8
|
+
* Embedded runners call getRunnerBootstrapConfig during boot to discover
|
|
9
|
+
* the Temporal coordinates they need to join the execution backbone, so
|
|
10
|
+
* integrators never hardcode infrastructure addresses.
|
|
11
|
+
*
|
|
8
12
|
* @generated from service ai.stigmer.platform.v1.PlatformQueryController
|
|
9
13
|
*/
|
|
10
14
|
export declare const PlatformQueryController: {
|
|
@@ -25,5 +29,39 @@ export declare const PlatformQueryController: {
|
|
|
25
29
|
readonly O: any;
|
|
26
30
|
readonly kind: any;
|
|
27
31
|
};
|
|
32
|
+
/**
|
|
33
|
+
* Returns everything an embedded runner needs to bootstrap itself.
|
|
34
|
+
*
|
|
35
|
+
* An embedded runner (a desktop or web app hosting the runner for local
|
|
36
|
+
* execution) needs two things at boot, both of which are details it should
|
|
37
|
+
* not have to know or hold ahead of time: the Temporal frontend coordinates
|
|
38
|
+
* to poll for work, and a Stigmer-signed identity to authenticate its
|
|
39
|
+
* Cursor-proxy traffic. This RPC lets the runner self-bootstrap through the
|
|
40
|
+
* one authenticated door it already opens at startup: it presents the token
|
|
41
|
+
* it already holds and the control plane returns the environment's Temporal
|
|
42
|
+
* coordinates plus a freshly minted runner access token. The contract for a
|
|
43
|
+
* cloud embedder collapses to a single endpoint plus a token.
|
|
44
|
+
*
|
|
45
|
+
* Authenticated (not public): the response reveals an infrastructure
|
|
46
|
+
* coordinate and mints a token bound to the caller, so any valid token is
|
|
47
|
+
* required, but no specific FGA permission is — every authenticated caller in
|
|
48
|
+
* an environment shares one Temporal cluster, and task queues are
|
|
49
|
+
* per-session/execution and gated separately by control-plane session access.
|
|
50
|
+
*
|
|
51
|
+
* @internal
|
|
52
|
+
* The minted runner access token (iss=stigmer, sub=caller identity account)
|
|
53
|
+
* is a cloud-only capability — OSS has no Cursor proxy and leaves the token
|
|
54
|
+
* fields empty. The handler degrades gracefully: if minting is unavailable
|
|
55
|
+
* (signing key unconfigured, or no caller identity), it returns the Temporal
|
|
56
|
+
* coordinates with an empty token rather than failing the runner's boot.
|
|
57
|
+
*
|
|
58
|
+
* @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getRunnerBootstrapConfig
|
|
59
|
+
*/
|
|
60
|
+
readonly getRunnerBootstrapConfig: {
|
|
61
|
+
readonly name: "getRunnerBootstrapConfig";
|
|
62
|
+
readonly I: any;
|
|
63
|
+
readonly O: any;
|
|
64
|
+
readonly kind: any;
|
|
65
|
+
};
|
|
28
66
|
};
|
|
29
67
|
};
|
|
@@ -2,15 +2,19 @@
|
|
|
2
2
|
// @generated from file ai/stigmer/platform/v1/server_info.proto (package ai.stigmer.platform.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetServerInfoInput, GetServerInfoOutput } from "./server_info_pbjs";
|
|
5
|
+
import { GetRunnerBootstrapConfigInput, GetRunnerBootstrapConfigOutput, GetServerInfoInput, GetServerInfoOutput } from "./server_info_pbjs";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
|
-
*
|
|
8
|
+
* Query service for server identity, capabilities, and runner bootstrap.
|
|
9
9
|
*
|
|
10
10
|
* Clients call getServerInfo on startup to learn the server edition
|
|
11
11
|
* and version, replacing URL-based guessing. The RPC is public
|
|
12
12
|
* (no authentication required) so it can be called before login.
|
|
13
13
|
*
|
|
14
|
+
* Embedded runners call getRunnerBootstrapConfig during boot to discover
|
|
15
|
+
* the Temporal coordinates they need to join the execution backbone, so
|
|
16
|
+
* integrators never hardcode infrastructure addresses.
|
|
17
|
+
*
|
|
14
18
|
* @generated from service ai.stigmer.platform.v1.PlatformQueryController
|
|
15
19
|
*/
|
|
16
20
|
export const PlatformQueryController = {
|
|
@@ -31,6 +35,40 @@ export const PlatformQueryController = {
|
|
|
31
35
|
O: GetServerInfoOutput,
|
|
32
36
|
kind: MethodKind.Unary,
|
|
33
37
|
},
|
|
38
|
+
/**
|
|
39
|
+
* Returns everything an embedded runner needs to bootstrap itself.
|
|
40
|
+
*
|
|
41
|
+
* An embedded runner (a desktop or web app hosting the runner for local
|
|
42
|
+
* execution) needs two things at boot, both of which are details it should
|
|
43
|
+
* not have to know or hold ahead of time: the Temporal frontend coordinates
|
|
44
|
+
* to poll for work, and a Stigmer-signed identity to authenticate its
|
|
45
|
+
* Cursor-proxy traffic. This RPC lets the runner self-bootstrap through the
|
|
46
|
+
* one authenticated door it already opens at startup: it presents the token
|
|
47
|
+
* it already holds and the control plane returns the environment's Temporal
|
|
48
|
+
* coordinates plus a freshly minted runner access token. The contract for a
|
|
49
|
+
* cloud embedder collapses to a single endpoint plus a token.
|
|
50
|
+
*
|
|
51
|
+
* Authenticated (not public): the response reveals an infrastructure
|
|
52
|
+
* coordinate and mints a token bound to the caller, so any valid token is
|
|
53
|
+
* required, but no specific FGA permission is — every authenticated caller in
|
|
54
|
+
* an environment shares one Temporal cluster, and task queues are
|
|
55
|
+
* per-session/execution and gated separately by control-plane session access.
|
|
56
|
+
*
|
|
57
|
+
* @internal
|
|
58
|
+
* The minted runner access token (iss=stigmer, sub=caller identity account)
|
|
59
|
+
* is a cloud-only capability — OSS has no Cursor proxy and leaves the token
|
|
60
|
+
* fields empty. The handler degrades gracefully: if minting is unavailable
|
|
61
|
+
* (signing key unconfigured, or no caller identity), it returns the Temporal
|
|
62
|
+
* coordinates with an empty token rather than failing the runner's boot.
|
|
63
|
+
*
|
|
64
|
+
* @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getRunnerBootstrapConfig
|
|
65
|
+
*/
|
|
66
|
+
getRunnerBootstrapConfig: {
|
|
67
|
+
name: "getRunnerBootstrapConfig",
|
|
68
|
+
I: GetRunnerBootstrapConfigInput,
|
|
69
|
+
O: GetRunnerBootstrapConfigOutput,
|
|
70
|
+
kind: MethodKind.Unary,
|
|
71
|
+
},
|
|
34
72
|
}
|
|
35
73
|
};
|
|
36
74
|
//# sourceMappingURL=server_info_connect.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server_info_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gHAAgH;AAChH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"server_info_connect.js","sourceRoot":"","sources":["../../../../../ai/stigmer/platform/v1/server_info_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,gHAAgH;AAChH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,6BAA6B,EAAE,8BAA8B,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC5I,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAEhD;;;;;;;;;;;;GAYG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,gDAAgD;IAC1D,OAAO,EAAE;QACP;;;;;;;;WAQG;QACH,aAAa,EAAE;YACb,IAAI,EAAE,eAAe;YACrB,CAAC,EAAE,kBAAkB;YACrB,CAAC,EAAE,mBAAmB;YACtB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;;;;;WA2BG;QACH,wBAAwB,EAAE;YACxB,IAAI,EAAE,0BAA0B;YAChC,CAAC,EAAE,6BAA6B;YAChC,CAAC,EAAE,8BAA8B;YACjC,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
|
|
@@ -39,6 +39,78 @@ export type GetServerInfoOutput = Message<"ai.stigmer.platform.v1.GetServerInfoO
|
|
|
39
39
|
* Use `create(GetServerInfoOutputSchema)` to create a new message.
|
|
40
40
|
*/
|
|
41
41
|
export declare const GetServerInfoOutputSchema: GenMessage<GetServerInfoOutput>;
|
|
42
|
+
/**
|
|
43
|
+
* Empty request — the caller is identified by its bearer token, and the
|
|
44
|
+
* coordinates are the same for every runner in the environment.
|
|
45
|
+
*
|
|
46
|
+
* @generated from message ai.stigmer.platform.v1.GetRunnerBootstrapConfigInput
|
|
47
|
+
*/
|
|
48
|
+
export type GetRunnerBootstrapConfigInput = Message<"ai.stigmer.platform.v1.GetRunnerBootstrapConfigInput"> & {};
|
|
49
|
+
/**
|
|
50
|
+
* Describes the message ai.stigmer.platform.v1.GetRunnerBootstrapConfigInput.
|
|
51
|
+
* Use `create(GetRunnerBootstrapConfigInputSchema)` to create a new message.
|
|
52
|
+
*/
|
|
53
|
+
export declare const GetRunnerBootstrapConfigInputSchema: GenMessage<GetRunnerBootstrapConfigInput>;
|
|
54
|
+
/**
|
|
55
|
+
* Everything an embedded runner needs to bootstrap: Temporal coordinates plus
|
|
56
|
+
* its own minted access token.
|
|
57
|
+
*
|
|
58
|
+
* The address is the one reachable by the caller: in OSS it is the server's
|
|
59
|
+
* own co-located Temporal (single host); in Cloud it is the external Temporal
|
|
60
|
+
* ingress, which differs from the internal address the control plane itself
|
|
61
|
+
* dials. The namespace is shared across both.
|
|
62
|
+
*
|
|
63
|
+
* @generated from message ai.stigmer.platform.v1.GetRunnerBootstrapConfigOutput
|
|
64
|
+
*/
|
|
65
|
+
export type GetRunnerBootstrapConfigOutput = Message<"ai.stigmer.platform.v1.GetRunnerBootstrapConfigOutput"> & {
|
|
66
|
+
/**
|
|
67
|
+
* Temporal frontend address (host:port) the runner should dial.
|
|
68
|
+
*
|
|
69
|
+
* @generated from field: string temporal_address = 1;
|
|
70
|
+
*/
|
|
71
|
+
temporalAddress: string;
|
|
72
|
+
/**
|
|
73
|
+
* Temporal namespace the runner should use.
|
|
74
|
+
*
|
|
75
|
+
* @generated from field: string temporal_namespace = 2;
|
|
76
|
+
*/
|
|
77
|
+
temporalNamespace: string;
|
|
78
|
+
/**
|
|
79
|
+
* Stigmer-signed access token the runner uses to authenticate its
|
|
80
|
+
* Cursor-proxy traffic (the x-stigmer-auth header).
|
|
81
|
+
*
|
|
82
|
+
* Empty when the server cannot mint one — OSS (no Cursor proxy) or a cloud
|
|
83
|
+
* server with no signing key configured. The runner keeps using its existing
|
|
84
|
+
* token in that case.
|
|
85
|
+
*
|
|
86
|
+
* @internal
|
|
87
|
+
* iss=stigmer, sub=caller identity account, token_type=embedded_runner. The
|
|
88
|
+
* runner treats this as its proxy credential, distinct from the control-plane
|
|
89
|
+
* token it authenticated this call with, and refreshes it before expiry.
|
|
90
|
+
*
|
|
91
|
+
* @generated from field: string runner_access_token = 3;
|
|
92
|
+
*/
|
|
93
|
+
runnerAccessToken: string;
|
|
94
|
+
/**
|
|
95
|
+
* Token type for runner_access_token. "Bearer" when a token is present,
|
|
96
|
+
* empty otherwise.
|
|
97
|
+
*
|
|
98
|
+
* @generated from field: string token_type = 4;
|
|
99
|
+
*/
|
|
100
|
+
tokenType: string;
|
|
101
|
+
/**
|
|
102
|
+
* Lifetime of runner_access_token in seconds from issuance. 0 when no token
|
|
103
|
+
* is present. The runner uses this to schedule a refresh before expiry.
|
|
104
|
+
*
|
|
105
|
+
* @generated from field: int32 runner_access_token_expires_in_seconds = 5;
|
|
106
|
+
*/
|
|
107
|
+
runnerAccessTokenExpiresInSeconds: number;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Describes the message ai.stigmer.platform.v1.GetRunnerBootstrapConfigOutput.
|
|
111
|
+
* Use `create(GetRunnerBootstrapConfigOutputSchema)` to create a new message.
|
|
112
|
+
*/
|
|
113
|
+
export declare const GetRunnerBootstrapConfigOutputSchema: GenMessage<GetRunnerBootstrapConfigOutput>;
|
|
42
114
|
/**
|
|
43
115
|
* Edition of the Stigmer server binary.
|
|
44
116
|
*
|
|
@@ -74,12 +146,16 @@ export declare enum ServerEdition {
|
|
|
74
146
|
*/
|
|
75
147
|
export declare const ServerEditionSchema: GenEnum<ServerEdition>;
|
|
76
148
|
/**
|
|
77
|
-
*
|
|
149
|
+
* Query service for server identity, capabilities, and runner bootstrap.
|
|
78
150
|
*
|
|
79
151
|
* Clients call getServerInfo on startup to learn the server edition
|
|
80
152
|
* and version, replacing URL-based guessing. The RPC is public
|
|
81
153
|
* (no authentication required) so it can be called before login.
|
|
82
154
|
*
|
|
155
|
+
* Embedded runners call getRunnerBootstrapConfig during boot to discover
|
|
156
|
+
* the Temporal coordinates they need to join the execution backbone, so
|
|
157
|
+
* integrators never hardcode infrastructure addresses.
|
|
158
|
+
*
|
|
83
159
|
* @generated from service ai.stigmer.platform.v1.PlatformQueryController
|
|
84
160
|
*/
|
|
85
161
|
export declare const PlatformQueryController: GenService<{
|
|
@@ -97,4 +173,37 @@ export declare const PlatformQueryController: GenService<{
|
|
|
97
173
|
input: typeof GetServerInfoInputSchema;
|
|
98
174
|
output: typeof GetServerInfoOutputSchema;
|
|
99
175
|
};
|
|
176
|
+
/**
|
|
177
|
+
* Returns everything an embedded runner needs to bootstrap itself.
|
|
178
|
+
*
|
|
179
|
+
* An embedded runner (a desktop or web app hosting the runner for local
|
|
180
|
+
* execution) needs two things at boot, both of which are details it should
|
|
181
|
+
* not have to know or hold ahead of time: the Temporal frontend coordinates
|
|
182
|
+
* to poll for work, and a Stigmer-signed identity to authenticate its
|
|
183
|
+
* Cursor-proxy traffic. This RPC lets the runner self-bootstrap through the
|
|
184
|
+
* one authenticated door it already opens at startup: it presents the token
|
|
185
|
+
* it already holds and the control plane returns the environment's Temporal
|
|
186
|
+
* coordinates plus a freshly minted runner access token. The contract for a
|
|
187
|
+
* cloud embedder collapses to a single endpoint plus a token.
|
|
188
|
+
*
|
|
189
|
+
* Authenticated (not public): the response reveals an infrastructure
|
|
190
|
+
* coordinate and mints a token bound to the caller, so any valid token is
|
|
191
|
+
* required, but no specific FGA permission is — every authenticated caller in
|
|
192
|
+
* an environment shares one Temporal cluster, and task queues are
|
|
193
|
+
* per-session/execution and gated separately by control-plane session access.
|
|
194
|
+
*
|
|
195
|
+
* @internal
|
|
196
|
+
* The minted runner access token (iss=stigmer, sub=caller identity account)
|
|
197
|
+
* is a cloud-only capability — OSS has no Cursor proxy and leaves the token
|
|
198
|
+
* fields empty. The handler degrades gracefully: if minting is unavailable
|
|
199
|
+
* (signing key unconfigured, or no caller identity), it returns the Temporal
|
|
200
|
+
* coordinates with an empty token rather than failing the runner's boot.
|
|
201
|
+
*
|
|
202
|
+
* @generated from rpc ai.stigmer.platform.v1.PlatformQueryController.getRunnerBootstrapConfig
|
|
203
|
+
*/
|
|
204
|
+
getRunnerBootstrapConfig: {
|
|
205
|
+
methodKind: "unary";
|
|
206
|
+
input: typeof GetRunnerBootstrapConfigInputSchema;
|
|
207
|
+
output: typeof GetRunnerBootstrapConfigOutputSchema;
|
|
208
|
+
};
|
|
100
209
|
}>;
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
import { enumDesc, fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
|
|
5
5
|
import { file_ai_stigmer_commons_rpc_method_options } from "../../commons/rpc/method_options_pb.js";
|
|
6
|
+
import { file_buf_validate_validate } from "../../../../buf/validate/validate_pb.js";
|
|
6
7
|
/**
|
|
7
8
|
* Describes the file ai/stigmer/platform/v1/server_info.proto.
|
|
8
9
|
*/
|
|
9
|
-
export const file_ai_stigmer_platform_v1_server_info = /*@__PURE__*/ fileDesc("
|
|
10
|
+
export const file_ai_stigmer_platform_v1_server_info = /*@__PURE__*/ fileDesc("CihhaS9zdGlnbWVyL3BsYXRmb3JtL3YxL3NlcnZlcl9pbmZvLnByb3RvEhZhaS5zdGlnbWVyLnBsYXRmb3JtLnYxIhQKEkdldFNlcnZlckluZm9JbnB1dCJeChNHZXRTZXJ2ZXJJbmZvT3V0cHV0EjYKB2VkaXRpb24YASABKA4yJS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLlNlcnZlckVkaXRpb24SDwoHdmVyc2lvbhgCIAEoCSIfCh1HZXRSdW5uZXJCb290c3RyYXBDb25maWdJbnB1dCLJAQoeR2V0UnVubmVyQm9vdHN0cmFwQ29uZmlnT3V0cHV0EiEKEHRlbXBvcmFsX2FkZHJlc3MYASABKAlCB7pIBHICEAESIwoSdGVtcG9yYWxfbmFtZXNwYWNlGAIgASgJQge6SARyAhABEhsKE3J1bm5lcl9hY2Nlc3NfdG9rZW4YAyABKAkSEgoKdG9rZW5fdHlwZRgEIAEoCRIuCiZydW5uZXJfYWNjZXNzX3Rva2VuX2V4cGlyZXNfaW5fc2Vjb25kcxgFIAEoBSpDCg1TZXJ2ZXJFZGl0aW9uEh4KGnNlcnZlcl9lZGl0aW9uX3Vuc3BlY2lmaWVkEAASBwoDb3NzEAESCQoFY2xvdWQQAjKbAgoXUGxhdGZvcm1RdWVyeUNvbnRyb2xsZXISbgoNZ2V0U2VydmVySW5mbxIqLmFpLnN0aWdtZXIucGxhdGZvcm0udjEuR2V0U2VydmVySW5mb0lucHV0GisuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRTZXJ2ZXJJbmZvT3V0cHV0IgTIuBgBEo8BChhnZXRSdW5uZXJCb290c3RyYXBDb25maWcSNS5haS5zdGlnbWVyLnBsYXRmb3JtLnYxLkdldFJ1bm5lckJvb3RzdHJhcENvbmZpZ0lucHV0GjYuYWkuc3RpZ21lci5wbGF0Zm9ybS52MS5HZXRSdW5uZXJCb290c3RyYXBDb25maWdPdXRwdXQiBNC4GAFCEUIPU2VydmVySW5mb1Byb3RvYgZwcm90bzM", [file_ai_stigmer_commons_rpc_method_options, file_buf_validate_validate]);
|
|
10
11
|
/**
|
|
11
12
|
* Describes the message ai.stigmer.platform.v1.GetServerInfoInput.
|
|
12
13
|
* Use `create(GetServerInfoInputSchema)` to create a new message.
|
|
@@ -17,6 +18,16 @@ export const GetServerInfoInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigme
|
|
|
17
18
|
* Use `create(GetServerInfoOutputSchema)` to create a new message.
|
|
18
19
|
*/
|
|
19
20
|
export const GetServerInfoOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 1);
|
|
21
|
+
/**
|
|
22
|
+
* Describes the message ai.stigmer.platform.v1.GetRunnerBootstrapConfigInput.
|
|
23
|
+
* Use `create(GetRunnerBootstrapConfigInputSchema)` to create a new message.
|
|
24
|
+
*/
|
|
25
|
+
export const GetRunnerBootstrapConfigInputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 2);
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message ai.stigmer.platform.v1.GetRunnerBootstrapConfigOutput.
|
|
28
|
+
* Use `create(GetRunnerBootstrapConfigOutputSchema)` to create a new message.
|
|
29
|
+
*/
|
|
30
|
+
export const GetRunnerBootstrapConfigOutputSchema = /*@__PURE__*/ messageDesc(file_ai_stigmer_platform_v1_server_info, 3);
|
|
20
31
|
/**
|
|
21
32
|
* Edition of the Stigmer server binary.
|
|
22
33
|
*
|
|
@@ -53,12 +64,16 @@ export var ServerEdition;
|
|
|
53
64
|
*/
|
|
54
65
|
export const ServerEditionSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_platform_v1_server_info, 0);
|
|
55
66
|
/**
|
|
56
|
-
*
|
|
67
|
+
* Query service for server identity, capabilities, and runner bootstrap.
|
|
57
68
|
*
|
|
58
69
|
* Clients call getServerInfo on startup to learn the server edition
|
|
59
70
|
* and version, replacing URL-based guessing. The RPC is public
|
|
60
71
|
* (no authentication required) so it can be called before login.
|
|
61
72
|
*
|
|
73
|
+
* Embedded runners call getRunnerBootstrapConfig during boot to discover
|
|
74
|
+
* the Temporal coordinates they need to join the execution backbone, so
|
|
75
|
+
* integrators never hardcode infrastructure addresses.
|
|
76
|
+
*
|
|
62
77
|
* @generated from service ai.stigmer.platform.v1.PlatformQueryController
|
|
63
78
|
*/
|
|
64
79
|
export const PlatformQueryController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_platform_v1_server_info, 0);
|
|
@@ -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,QA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