@stigmer/protos 1.0.4 → 2.0.1

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 (135) hide show
  1. package/ai/stigmer/activity/v1/io_pb.d.ts +109 -0
  2. package/ai/stigmer/activity/v1/io_pb.js +25 -0
  3. package/ai/stigmer/activity/v1/io_pb.js.map +1 -0
  4. package/ai/stigmer/activity/v1/query_connect.d.ts +39 -0
  5. package/ai/stigmer/activity/v1/query_connect.js +46 -0
  6. package/ai/stigmer/activity/v1/query_connect.js.map +1 -0
  7. package/ai/stigmer/activity/v1/query_pb.d.ts +41 -0
  8. package/ai/stigmer/activity/v1/query_pb.js +28 -0
  9. package/ai/stigmer/activity/v1/query_pb.js.map +1 -0
  10. package/ai/stigmer/agentic/agent/v1/version_pb.d.ts +214 -0
  11. package/ai/stigmer/agentic/agent/v1/version_pb.js +43 -0
  12. package/ai/stigmer/agentic/agent/v1/version_pb.js.map +1 -0
  13. package/ai/stigmer/agentic/agentexecution/v1/api_pb.d.ts +20 -15
  14. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js +2 -1
  15. package/ai/stigmer/agentic/agentexecution/v1/api_pb.js.map +1 -1
  16. package/ai/stigmer/agentic/agentexecution/v1/io_pb.d.ts +14 -0
  17. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js +1 -1
  18. package/ai/stigmer/agentic/agentexecution/v1/io_pb.js.map +1 -1
  19. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.d.ts +50 -9
  20. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js +2 -1
  21. package/ai/stigmer/agentic/agentexecution/v1/spec_pb.js.map +1 -1
  22. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.d.ts +26 -7
  23. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js +4 -4
  24. package/ai/stigmer/agentic/agentexecution/v1/usage_pb.js.map +1 -1
  25. package/ai/stigmer/agentic/agentinstance/v1/command_connect.d.ts +27 -0
  26. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js +28 -0
  27. package/ai/stigmer/agentic/agentinstance/v1/command_connect.js.map +1 -1
  28. package/ai/stigmer/agentic/agentinstance/v1/command_pb.d.ts +27 -0
  29. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js +2 -1
  30. package/ai/stigmer/agentic/agentinstance/v1/command_pb.js.map +1 -1
  31. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.d.ts +3 -1
  32. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js +1 -1
  33. package/ai/stigmer/agentic/executioncontext/v1/spec_pb.js.map +1 -1
  34. package/ai/stigmer/agentic/session/v1/enum_pb.d.ts +50 -0
  35. package/ai/stigmer/agentic/session/v1/enum_pb.js +53 -2
  36. package/ai/stigmer/agentic/session/v1/enum_pb.js.map +1 -1
  37. package/ai/stigmer/agentic/session/v1/spec_pb.d.ts +37 -35
  38. package/ai/stigmer/agentic/session/v1/spec_pb.js +1 -1
  39. package/ai/stigmer/agentic/session/v1/spec_pb.js.map +1 -1
  40. package/ai/stigmer/agentic/workflow/v1/command_connect.d.ts +44 -0
  41. package/ai/stigmer/agentic/workflow/v1/command_connect.js +46 -0
  42. package/ai/stigmer/agentic/workflow/v1/command_connect.js.map +1 -1
  43. package/ai/stigmer/agentic/workflow/v1/command_pb.d.ts +44 -0
  44. package/ai/stigmer/agentic/workflow/v1/command_pb.js +3 -1
  45. package/ai/stigmer/agentic/workflow/v1/command_pb.js.map +1 -1
  46. package/ai/stigmer/agentic/workflow/v1/query_connect.d.ts +46 -2
  47. package/ai/stigmer/agentic/workflow/v1/query_connect.js +47 -2
  48. package/ai/stigmer/agentic/workflow/v1/query_connect.js.map +1 -1
  49. package/ai/stigmer/agentic/workflow/v1/query_pb.d.ts +45 -2
  50. package/ai/stigmer/agentic/workflow/v1/query_pb.js +2 -1
  51. package/ai/stigmer/agentic/workflow/v1/query_pb.js.map +1 -1
  52. package/ai/stigmer/agentic/workflow/v1/status_pb.d.ts +22 -0
  53. package/ai/stigmer/agentic/workflow/v1/status_pb.js +1 -1
  54. package/ai/stigmer/agentic/workflow/v1/status_pb.js.map +1 -1
  55. package/ai/stigmer/agentic/workflow/v1/version_pb.d.ts +281 -0
  56. package/ai/stigmer/agentic/workflow/v1/version_pb.js +42 -0
  57. package/ai/stigmer/agentic/workflow/v1/version_pb.js.map +1 -0
  58. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.d.ts +32 -4
  59. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js +1 -1
  60. package/ai/stigmer/agentic/workflowexecution/v1/api_pb.js.map +1 -1
  61. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.d.ts +44 -25
  62. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js +44 -25
  63. package/ai/stigmer/agentic/workflowexecution/v1/command_connect.js.map +1 -1
  64. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.d.ts +44 -25
  65. package/ai/stigmer/agentic/workflowexecution/v1/command_pb.js.map +1 -1
  66. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.d.ts +2 -0
  67. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js +2 -0
  68. package/ai/stigmer/agentic/workflowexecution/v1/enum_pb.js.map +1 -1
  69. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.d.ts +83 -5
  70. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js +13 -8
  71. package/ai/stigmer/agentic/workflowexecution/v1/event_pb.js.map +1 -1
  72. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.d.ts +234 -4
  73. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js +61 -10
  74. package/ai/stigmer/agentic/workflowexecution/v1/io_pb.js.map +1 -1
  75. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.d.ts +21 -0
  76. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js +2 -1
  77. package/ai/stigmer/agentic/workflowexecution/v1/spec_pb.js.map +1 -1
  78. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.d.ts +28 -0
  79. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js +29 -0
  80. package/ai/stigmer/agentic/workflowinstance/v1/command_connect.js.map +1 -1
  81. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.d.ts +28 -0
  82. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js +2 -1
  83. package/ai/stigmer/agentic/workflowinstance/v1/command_pb.js.map +1 -1
  84. package/ai/stigmer/billing/v1/enum_pb.d.ts +35 -0
  85. package/ai/stigmer/billing/v1/enum_pb.js +43 -7
  86. package/ai/stigmer/billing/v1/enum_pb.js.map +1 -1
  87. package/ai/stigmer/billing/v1/io_pb.d.ts +13 -1
  88. package/ai/stigmer/billing/v1/io_pb.js +1 -1
  89. package/ai/stigmer/billing/v1/io_pb.js.map +1 -1
  90. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.d.ts +0 -6
  91. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js +1 -7
  92. package/ai/stigmer/commons/apiresource/apiresourcekind/api_resource_kind_pb.js.map +1 -1
  93. package/ai/stigmer/commons/apiresource/enum_pb.d.ts +21 -3
  94. package/ai/stigmer/commons/apiresource/enum_pb.js +21 -3
  95. package/ai/stigmer/commons/apiresource/enum_pb.js.map +1 -1
  96. package/ai/stigmer/commons/apiresource/io_pb.d.ts +17 -6
  97. package/ai/stigmer/commons/apiresource/io_pb.js +1 -1
  98. package/ai/stigmer/commons/apiresource/io_pb.js.map +1 -1
  99. package/ai/stigmer/commons/apiresource/metadata_pb.d.ts +24 -0
  100. package/ai/stigmer/commons/apiresource/metadata_pb.js +1 -1
  101. package/ai/stigmer/commons/apiresource/metadata_pb.js.map +1 -1
  102. package/ai/stigmer/iam/invitation/v1/query_connect.d.ts +2 -2
  103. package/ai/stigmer/iam/invitation/v1/query_connect.js +2 -2
  104. package/ai/stigmer/iam/invitation/v1/query_pb.d.ts +2 -2
  105. package/ai/stigmer/iam/invitation/v1/query_pb.js +1 -1
  106. package/ai/stigmer/tenancy/organization/v1/api_pb.js +1 -1
  107. package/ai/stigmer/tenancy/organization/v1/api_pb.js.map +1 -1
  108. package/buf/validate/validate_pb.d.ts +217 -156
  109. package/buf/validate/validate_pb.js +3 -3
  110. package/buf/validate/validate_pb.js.map +1 -1
  111. package/package.json +3 -2
  112. package/ai/stigmer/agentic/runner/v1/api_pb.d.ts +0 -247
  113. package/ai/stigmer/agentic/runner/v1/api_pb.js +0 -30
  114. package/ai/stigmer/agentic/runner/v1/api_pb.js.map +0 -1
  115. package/ai/stigmer/agentic/runner/v1/command_connect.d.ts +0 -198
  116. package/ai/stigmer/agentic/runner/v1/command_connect.js +0 -206
  117. package/ai/stigmer/agentic/runner/v1/command_connect.js.map +0 -1
  118. package/ai/stigmer/agentic/runner/v1/command_pb.d.ts +0 -193
  119. package/ai/stigmer/agentic/runner/v1/command_pb.js +0 -34
  120. package/ai/stigmer/agentic/runner/v1/command_pb.js.map +0 -1
  121. package/ai/stigmer/agentic/runner/v1/enum_pb.d.ts +0 -83
  122. package/ai/stigmer/agentic/runner/v1/enum_pb.js +0 -88
  123. package/ai/stigmer/agentic/runner/v1/enum_pb.js.map +0 -1
  124. package/ai/stigmer/agentic/runner/v1/io_pb.d.ts +0 -640
  125. package/ai/stigmer/agentic/runner/v1/io_pb.js +0 -114
  126. package/ai/stigmer/agentic/runner/v1/io_pb.js.map +0 -1
  127. package/ai/stigmer/agentic/runner/v1/query_connect.d.ts +0 -64
  128. package/ai/stigmer/agentic/runner/v1/query_connect.js +0 -73
  129. package/ai/stigmer/agentic/runner/v1/query_connect.js.map +0 -1
  130. package/ai/stigmer/agentic/runner/v1/query_pb.d.ts +0 -66
  131. package/ai/stigmer/agentic/runner/v1/query_pb.js +0 -24
  132. package/ai/stigmer/agentic/runner/v1/query_pb.js.map +0 -1
  133. package/ai/stigmer/agentic/runner/v1/spec_pb.d.ts +0 -36
  134. package/ai/stigmer/agentic/runner/v1/spec_pb.js +0 -14
  135. package/ai/stigmer/agentic/runner/v1/spec_pb.js.map +0 -1
@@ -1 +0,0 @@
1
- {"version":3,"file":"command_connect.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/runner/v1/command_connect.ts"],"names":[],"mappings":"AAAA,4FAA4F;AAC5F,wHAAwH;AACxH,oBAAoB;AACpB,cAAc;AAEd,OAAO,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACpC,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,2BAA2B,EAAE,qBAAqB,EAAE,QAAQ,EAAE,sBAAsB,EAAE,eAAe,EAAE,yBAAyB,EAAE,yBAAyB,EAAE,MAAM,WAAW,CAAC;AAEzQ;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAAG;IACrC,QAAQ,EAAE,sDAAsD;IAChE,OAAO,EAAE;QACP;;;;;;;;;WASG;QACH,KAAK,EAAE;YACL,IAAI,EAAE,OAAO;YACb,CAAC,EAAE,MAAM;YACT,CAAC,EAAE,MAAM;YACT,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,MAAM;YACT,CAAC,EAAE,MAAM;YACT,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;WAQG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,MAAM;YACT,CAAC,EAAE,MAAM;YACT,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;WASG;QACH,MAAM,EAAE;YACN,IAAI,EAAE,QAAQ;YACd,CAAC,EAAE,QAAQ;YACX,CAAC,EAAE,MAAM;YACT,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;WAYG;QACH,WAAW,EAAE;YACX,IAAI,EAAE,aAAa;YACnB,CAAC,EAAE,sBAAsB;YACzB,CAAC,EAAE,qBAAqB;YACxB,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;WAeG;QACH,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,CAAC,EAAE,eAAe;YAClB,CAAC,EAAE,MAAM;YACT,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;;;;;;;;;;;WAuBG;QACH,OAAO,EAAE;YACP,IAAI,EAAE,SAAS;YACf,CAAC,EAAE,yBAAyB;YAC5B,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,aAAa;SAC/B;QACD;;;;;;;;;;;;WAYG;QACH,iBAAiB,EAAE;YACjB,IAAI,EAAE,mBAAmB;YACzB,CAAC,EAAE,wBAAwB;YAC3B,CAAC,EAAE,yBAAyB;YAC5B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;QACD;;;;;;;;;;;;;WAaG;QACH,mBAAmB,EAAE;YACnB,IAAI,EAAE,qBAAqB;YAC3B,CAAC,EAAE,0BAA0B;YAC7B,CAAC,EAAE,2BAA2B;YAC9B,IAAI,EAAE,UAAU,CAAC,KAAK;SACvB;KACF;CACO,CAAC"}
@@ -1,193 +0,0 @@
1
- import type { GenFile, GenService } from "@bufbuild/protobuf/codegenv1";
2
- import type { RunnerSchema } from "./api_pb.js";
3
- import type { CreateLaunchTokenRequestSchema, CreateLaunchTokenResponseSchema, ExchangeLaunchTokenRequestSchema, ExchangeLaunchTokenResponseSchema, RunnerCommandResponseSchema, RunnerIdSchema, RunnerSendCommandInputSchema, RunnerStopInputSchema, RunnerStreamClientMessageSchema, RunnerStreamServerMessageSchema } from "./io_pb.js";
4
- /**
5
- * Describes the file ai/stigmer/agentic/runner/v1/command.proto.
6
- */
7
- export declare const file_ai_stigmer_agentic_runner_v1_command: GenFile;
8
- /**
9
- * RunnerCommandController handles write operations and the bidirectional
10
- * command stream for runners.
11
- *
12
- * Two creation patterns are supported:
13
- *
14
- * 1. **CLI/Desktop (persistent runners)**: The client calls apply with a slug
15
- * stored in ~/.stigmer/runner.json. If the runner exists, it reactivates.
16
- * If not, it creates. This is the primary registration path.
17
- *
18
- * 2. **Platform (ephemeral runners)**: The execution workflow calls create
19
- * with metadata label stigmer.ai/system-managed: "true". The runner is
20
- * torn down via delete when the execution completes.
21
- *
22
- * After registration, the runner opens the connect bidi stream — its only
23
- * ongoing communication channel with the server. Heartbeats flow runner to
24
- * server; commands (e.g., ListDirectory) flow server to runner.
25
- *
26
- * @generated from service ai.stigmer.agentic.runner.v1.RunnerCommandController
27
- */
28
- export declare const RunnerCommandController: GenService<{
29
- /**
30
- * Create or update a runner.
31
- *
32
- * @internal
33
- * Primary registration path for CLI/Desktop runners. The handler determines
34
- * whether to create or update based on whether the resource already exists
35
- * (resolved by org + slug). Authorization is handled in the handler.
36
- *
37
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.apply
38
- */
39
- apply: {
40
- methodKind: "unary";
41
- input: typeof RunnerSchema;
42
- output: typeof RunnerSchema;
43
- };
44
- /**
45
- * Create a new runner.
46
- *
47
- * @internal
48
- * Authorization: Caller must have can_create_runner permission in the
49
- * organization. The server generates the task queue name (runner:{id})
50
- * and sets the initial phase to PENDING.
51
- *
52
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.create
53
- */
54
- create: {
55
- methodKind: "unary";
56
- input: typeof RunnerSchema;
57
- output: typeof RunnerSchema;
58
- };
59
- /**
60
- * Update an existing runner.
61
- *
62
- * @internal
63
- * Used for updating spec fields (e.g., description). Status fields are
64
- * updated via the connect stream heartbeat, not via this RPC.
65
- *
66
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.update
67
- */
68
- update: {
69
- methodKind: "unary";
70
- input: typeof RunnerSchema;
71
- output: typeof RunnerSchema;
72
- };
73
- /**
74
- * Delete a runner.
75
- *
76
- * @internal
77
- * For persistent runners: removes the resource and its task queue.
78
- * For system-managed runners: called by the execution workflow during
79
- * cleanup after the execution completes.
80
- *
81
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.delete
82
- */
83
- delete: {
84
- methodKind: "unary";
85
- input: typeof RunnerIdSchema;
86
- output: typeof RunnerSchema;
87
- };
88
- /**
89
- * Send a command to a connected runner and return the response synchronously.
90
- *
91
- * This is the API entry point for UI-triggered runner commands. The server
92
- * looks up the runner's active bidi stream, pushes the command, and blocks
93
- * until the runner responds or the timeout (10s) expires.
94
- *
95
- * Requires an active connect stream — returns UNAVAILABLE if the runner
96
- * is not connected. Returns FAILED_PRECONDITION if the runner's phase
97
- * prevents command delivery (STOPPED, PENDING, FAILED).
98
- *
99
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.sendCommand
100
- */
101
- sendCommand: {
102
- methodKind: "unary";
103
- input: typeof RunnerSendCommandInputSchema;
104
- output: typeof RunnerCommandResponseSchema;
105
- };
106
- /**
107
- * Stop a running runner gracefully.
108
- *
109
- * If the runner is connected: sends a StopRunnerRequest via the bidi
110
- * stream, waits for acknowledgment, then returns the updated Runner.
111
- * The runner will send a STOPPED heartbeat and close its stream after
112
- * acknowledging — the phase transition completes asynchronously.
113
- *
114
- * If the runner is not connected (offline, already stopped): directly
115
- * transitions the runner to STOPPED and returns the updated resource.
116
- *
117
- * Idempotent: stopping an already-STOPPED or FAILED runner returns the
118
- * resource as-is without error.
119
- *
120
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.stop
121
- */
122
- stop: {
123
- methodKind: "unary";
124
- input: typeof RunnerStopInputSchema;
125
- output: typeof RunnerSchema;
126
- };
127
- /**
128
- * Establish a bidirectional command stream between the runner and the server.
129
- *
130
- * This is the runner's primary ongoing communication channel. The runner
131
- * pushes heartbeats (liveness + state); the server pushes commands
132
- * (e.g., ListDirectory for workspace browsing). Both directions use the
133
- * same open connection.
134
- *
135
- * Stream lifecycle:
136
- * 1. Runner calls apply to register/reactivate, then opens this stream.
137
- * 2. First message MUST be a RunnerHeartbeat (authenticates via runner_id).
138
- * 3. Runner sends heartbeats every 30s.
139
- * 4. Server pushes RunnerCommandRequest when the UI triggers an operation.
140
- * 5. Runner handles commands locally and sends RunnerCommandResponse.
141
- * 6. On graceful shutdown: runner sends phase=STOPPED heartbeat, closes stream.
142
- * 7. On disconnect: server starts heartbeat timeout (90s) -> STOPPED.
143
- *
144
- * @internal
145
- * Authorization is handled via the first heartbeat message: the server
146
- * looks up the runner_id and verifies ownership. Skipped at the interceptor
147
- * level because the stream input is not a resource type.
148
- *
149
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.connect
150
- */
151
- connect: {
152
- methodKind: "bidi_streaming";
153
- input: typeof RunnerStreamClientMessageSchema;
154
- output: typeof RunnerStreamServerMessageSchema;
155
- };
156
- /**
157
- * Create a one-time launch token for the browser-to-CLI runner handshake.
158
- *
159
- * Called by the web console when the user clicks "Launch Local Runner."
160
- * The server mints a Stigmer JWT for the caller, wraps it in an opaque
161
- * token stored in Redis (60s TTL, single-use), and returns the token for
162
- * the browser to embed in a stigmer:// URL.
163
- *
164
- * The caller must have can_create_runner permission in the organization —
165
- * if you can create a runner, you can create a launch token.
166
- *
167
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.createLaunchToken
168
- */
169
- createLaunchToken: {
170
- methodKind: "unary";
171
- input: typeof CreateLaunchTokenRequestSchema;
172
- output: typeof CreateLaunchTokenResponseSchema;
173
- };
174
- /**
175
- * Exchange a one-time launch token for long-lived runner credentials.
176
- *
177
- * Called by the CLI (or Desktop app) after receiving a stigmer:// URL from
178
- * the OS. The token is consumed atomically — a second exchange attempt
179
- * returns NOT_FOUND.
180
- *
181
- * @internal
182
- * This RPC is public — no Bearer token is required. The one-time launch
183
- * token IS the proof of authorization: it was created by an authenticated
184
- * user with can_create_runner permission, and can only be used once.
185
- *
186
- * @generated from rpc ai.stigmer.agentic.runner.v1.RunnerCommandController.exchangeLaunchToken
187
- */
188
- exchangeLaunchToken: {
189
- methodKind: "unary";
190
- input: typeof ExchangeLaunchTokenRequestSchema;
191
- output: typeof ExchangeLaunchTokenResponseSchema;
192
- };
193
- }>;
@@ -1,34 +0,0 @@
1
- // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
- // @generated from file ai/stigmer/agentic/runner/v1/command.proto (package ai.stigmer.agentic.runner.v1, syntax proto3)
3
- /* eslint-disable */
4
- import { fileDesc, serviceDesc } from "@bufbuild/protobuf/codegenv1";
5
- import { file_ai_stigmer_agentic_runner_v1_api } from "./api_pb.js";
6
- import { file_ai_stigmer_agentic_runner_v1_io } from "./io_pb.js";
7
- import { file_ai_stigmer_commons_apiresource_rpc_service_options } from "../../../commons/apiresource/rpc_service_options_pb.js";
8
- import { file_ai_stigmer_commons_rpc_method_options } from "../../../commons/rpc/method_options_pb.js";
9
- /**
10
- * Describes the file ai/stigmer/agentic/runner/v1/command.proto.
11
- */
12
- export const file_ai_stigmer_agentic_runner_v1_command = /*@__PURE__*/ fileDesc("CiphaS9zdGlnbWVyL2FnZW50aWMvcnVubmVyL3YxL2NvbW1hbmQucHJvdG8SHGFpLnN0aWdtZXIuYWdlbnRpYy5ydW5uZXIudjEy8woKF1J1bm5lckNvbW1hbmRDb250cm9sbGVyElMKBWFwcGx5EiQuYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5SdW5uZXIaJC5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lchKgAQoGY3JlYXRlEiQuYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5SdW5uZXIaJC5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lciJKwrgYRggZEB4iDG1ldGFkYXRhLm9yZyoydW5hdXRob3JpemVkIHRvIGNyZWF0ZSBydW5uZXIgaW4gdGhpcyBvcmdhbml6YXRpb24SigEKBnVwZGF0ZRIkLmFpLnN0aWdtZXIuYWdlbnRpYy5ydW5uZXIudjEuUnVubmVyGiQuYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5SdW5uZXIiNMK4GDAIAhAuIgttZXRhZGF0YS5pZCoddW5hdXRob3JpemVkIHRvIHVwZGF0ZSBydW5uZXIShgEKBmRlbGV0ZRImLmFpLnN0aWdtZXIuYWdlbnRpYy5ydW5uZXIudjEuUnVubmVySWQaJC5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lciIuwrgYKggDEC4iBXZhbHVlKh11bmF1dGhvcml6ZWQgdG8gZGVsZXRlIHJ1bm5lchK7AQoLc2VuZENvbW1hbmQSNC5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lclNlbmRDb21tYW5kSW5wdXQaMy5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lckNvbW1hbmRSZXNwb25zZSJBwrgYPQgBEC4iCXJ1bm5lcl9pZCosdW5hdXRob3JpemVkIHRvIHNlbmQgY29tbWFuZHMgdG8gdGhpcyBydW5uZXISkgEKBHN0b3ASLS5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLlJ1bm5lclN0b3BJbnB1dBokLmFpLnN0aWdtZXIuYWdlbnRpYy5ydW5uZXIudjEuUnVubmVyIjXCuBgxCAIQLiIJcnVubmVyX2lkKiB1bmF1dGhvcml6ZWQgdG8gc3RvcCB0aGlzIHJ1bm5lchKFAQoHY29ubmVjdBI3LmFpLnN0aWdtZXIuYWdlbnRpYy5ydW5uZXIudjEuUnVubmVyU3RyZWFtQ2xpZW50TWVzc2FnZRo3LmFpLnN0aWdtZXIuYWdlbnRpYy5ydW5uZXIudjEuUnVubmVyU3RyZWFtU2VydmVyTWVzc2FnZSIE0LgYASgBMAES1QEKEWNyZWF0ZUxhdW5jaFRva2VuEjYuYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5DcmVhdGVMYXVuY2hUb2tlblJlcXVlc3QaNy5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLkNyZWF0ZUxhdW5jaFRva2VuUmVzcG9uc2UiT8K4GEsIGRAeIgNvcmcqQHVuYXV0aG9yaXplZCB0byBjcmVhdGUgcnVubmVyIGxhdW5jaCB0b2tlbnMgaW4gdGhpcyBvcmdhbml6YXRpb24SkAEKE2V4Y2hhbmdlTGF1bmNoVG9rZW4SOC5haS5zdGlnbWVyLmFnZW50aWMucnVubmVyLnYxLkV4Y2hhbmdlTGF1bmNoVG9rZW5SZXF1ZXN0GjkuYWkuc3RpZ21lci5hZ2VudGljLnJ1bm5lci52MS5FeGNoYW5nZUxhdW5jaFRva2VuUmVzcG9uc2UiBMi4GAEaBKD/Ky5iBnByb3RvMw", [file_ai_stigmer_agentic_runner_v1_api, file_ai_stigmer_agentic_runner_v1_io, file_ai_stigmer_commons_apiresource_rpc_service_options, file_ai_stigmer_commons_rpc_method_options]);
13
- /**
14
- * RunnerCommandController handles write operations and the bidirectional
15
- * command stream for runners.
16
- *
17
- * Two creation patterns are supported:
18
- *
19
- * 1. **CLI/Desktop (persistent runners)**: The client calls apply with a slug
20
- * stored in ~/.stigmer/runner.json. If the runner exists, it reactivates.
21
- * If not, it creates. This is the primary registration path.
22
- *
23
- * 2. **Platform (ephemeral runners)**: The execution workflow calls create
24
- * with metadata label stigmer.ai/system-managed: "true". The runner is
25
- * torn down via delete when the execution completes.
26
- *
27
- * After registration, the runner opens the connect bidi stream — its only
28
- * ongoing communication channel with the server. Heartbeats flow runner to
29
- * server; commands (e.g., ListDirectory) flow server to runner.
30
- *
31
- * @generated from service ai.stigmer.agentic.runner.v1.RunnerCommandController
32
- */
33
- export const RunnerCommandController = /*@__PURE__*/ serviceDesc(file_ai_stigmer_agentic_runner_v1_command, 0);
34
- //# sourceMappingURL=command_pb.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"command_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/runner/v1/command_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,wHAAwH;AACxH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAErE,OAAO,EAAE,qCAAqC,EAAE,MAAM,aAAa,CAAC;AAEpE,OAAO,EAAE,oCAAoC,EAAE,MAAM,YAAY,CAAC;AAClE,OAAO,EAAE,uDAAuD,EAAE,MAAM,wDAAwD,CAAC;AACjI,OAAO,EAAE,0CAA0C,EAAE,MAAM,2CAA2C,CAAC;AAEvG;;GAEG;AACH,MAAM,CAAC,MAAM,yCAAyC,GAAY,aAAa,CAC7E,QAAQ,CAAC,w7DAAw7D,EAAE,CAAC,qCAAqC,EAAE,oCAAoC,EAAE,uDAAuD,EAAE,0CAA0C,CAAC,CAAC,CAAC;AAEznE;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAM,CAAC,MAAM,uBAAuB,GAqK/B,aAAa,CAChB,WAAW,CAAC,yCAAyC,EAAE,CAAC,CAAC,CAAC"}
@@ -1,83 +0,0 @@
1
- import type { GenEnum, GenFile } from "@bufbuild/protobuf/codegenv1";
2
- /**
3
- * Describes the file ai/stigmer/agentic/runner/v1/enum.proto.
4
- */
5
- export declare const file_ai_stigmer_agentic_runner_v1_enum: GenFile;
6
- /**
7
- * RunnerPhase tracks the operational state of a runner process.
8
- *
9
- * Phase transitions are driven by two sources:
10
- * - The runner process itself (via connect stream heartbeat): PENDING -> STARTING -> READY, READY <-> BUSY
11
- * - The server (via heartbeat timeout or explicit stop): any -> STOPPED, any -> FAILED
12
- *
13
- * Transition diagram:
14
- * PENDING -> STARTING (runner process launched, bootstrapping runtime)
15
- * STARTING -> READY (bootstrap complete, agent process started)
16
- * PENDING -> READY (legacy: first heartbeat without STARTING phase)
17
- * READY -> BUSY (runner reports max capacity reached)
18
- * BUSY -> READY (runner reports capacity freed)
19
- * READY -> STOPPED (heartbeat timeout or explicit stop)
20
- * BUSY -> STOPPED (heartbeat timeout or explicit stop)
21
- * STARTING -> STOPPED (bootstrap failed or process killed)
22
- * STOPPED -> STARTING (runner restarts and begins bootstrapping)
23
- * STOPPED -> READY (legacy: runner restarts without STARTING phase)
24
- * any -> FAILED (unrecoverable error reported by runner or server)
25
- *
26
- * @generated from enum ai.stigmer.agentic.runner.v1.RunnerPhase
27
- */
28
- export declare enum RunnerPhase {
29
- /**
30
- * @generated from enum value: RUNNER_PHASE_UNSPECIFIED = 0;
31
- */
32
- UNSPECIFIED = 0,
33
- /**
34
- * Resource created but no heartbeat received yet.
35
- * This is the initial phase after create/apply, before the runner
36
- * process has started polling its task queue and heartbeating.
37
- *
38
- * @generated from enum value: RUNNER_PHASE_PENDING = 1;
39
- */
40
- PENDING = 1,
41
- /**
42
- * Runner is heartbeating and accepting new executions.
43
- *
44
- * @generated from enum value: RUNNER_PHASE_READY = 2;
45
- */
46
- READY = 2,
47
- /**
48
- * Runner is heartbeating but at maximum concurrent execution capacity.
49
- * New executions should not be dispatched to this runner.
50
- *
51
- * @generated from enum value: RUNNER_PHASE_BUSY = 3;
52
- */
53
- BUSY = 3,
54
- /**
55
- * Runner has stopped heartbeating (timeout) or was explicitly stopped.
56
- * The resource is retained for identity persistence — a runner that
57
- * restarts and resumes heartbeating transitions back to READY.
58
- *
59
- * @generated from enum value: RUNNER_PHASE_STOPPED = 4;
60
- */
61
- STOPPED = 4,
62
- /**
63
- * Unrecoverable error. Runner or server reported a fatal condition.
64
- * Requires investigation; does not auto-recover on heartbeat.
65
- *
66
- * @generated from enum value: RUNNER_PHASE_FAILED = 5;
67
- */
68
- FAILED = 5,
69
- /**
70
- * Runner process has been launched and is bootstrapping its runtime
71
- * (downloading dependencies, extracting source, creating venv).
72
- * The runner is heartbeating but not yet ready to accept executions.
73
- * Transitions to READY once bootstrap completes and the agent process
74
- * starts polling its task queue.
75
- *
76
- * @generated from enum value: RUNNER_PHASE_STARTING = 6;
77
- */
78
- STARTING = 6
79
- }
80
- /**
81
- * Describes the enum ai.stigmer.agentic.runner.v1.RunnerPhase.
82
- */
83
- export declare const RunnerPhaseSchema: GenEnum<RunnerPhase>;
@@ -1,88 +0,0 @@
1
- // @generated by protoc-gen-es v2.2.2 with parameter "target=ts,import_extension=js"
2
- // @generated from file ai/stigmer/agentic/runner/v1/enum.proto (package ai.stigmer.agentic.runner.v1, syntax proto3)
3
- /* eslint-disable */
4
- import { enumDesc, fileDesc } from "@bufbuild/protobuf/codegenv1";
5
- /**
6
- * Describes the file ai/stigmer/agentic/runner/v1/enum.proto.
7
- */
8
- export const file_ai_stigmer_agentic_runner_v1_enum = /*@__PURE__*/ fileDesc("CidhaS9zdGlnbWVyL2FnZW50aWMvcnVubmVyL3YxL2VudW0ucHJvdG8SHGFpLnN0aWdtZXIuYWdlbnRpYy5ydW5uZXIudjEqwgEKC1J1bm5lclBoYXNlEhwKGFJVTk5FUl9QSEFTRV9VTlNQRUNJRklFRBAAEhgKFFJVTk5FUl9QSEFTRV9QRU5ESU5HEAESFgoSUlVOTkVSX1BIQVNFX1JFQURZEAISFQoRUlVOTkVSX1BIQVNFX0JVU1kQAxIYChRSVU5ORVJfUEhBU0VfU1RPUFBFRBAEEhcKE1JVTk5FUl9QSEFTRV9GQUlMRUQQBRIZChVSVU5ORVJfUEhBU0VfU1RBUlRJTkcQBmIGcHJvdG8z");
9
- /**
10
- * RunnerPhase tracks the operational state of a runner process.
11
- *
12
- * Phase transitions are driven by two sources:
13
- * - The runner process itself (via connect stream heartbeat): PENDING -> STARTING -> READY, READY <-> BUSY
14
- * - The server (via heartbeat timeout or explicit stop): any -> STOPPED, any -> FAILED
15
- *
16
- * Transition diagram:
17
- * PENDING -> STARTING (runner process launched, bootstrapping runtime)
18
- * STARTING -> READY (bootstrap complete, agent process started)
19
- * PENDING -> READY (legacy: first heartbeat without STARTING phase)
20
- * READY -> BUSY (runner reports max capacity reached)
21
- * BUSY -> READY (runner reports capacity freed)
22
- * READY -> STOPPED (heartbeat timeout or explicit stop)
23
- * BUSY -> STOPPED (heartbeat timeout or explicit stop)
24
- * STARTING -> STOPPED (bootstrap failed or process killed)
25
- * STOPPED -> STARTING (runner restarts and begins bootstrapping)
26
- * STOPPED -> READY (legacy: runner restarts without STARTING phase)
27
- * any -> FAILED (unrecoverable error reported by runner or server)
28
- *
29
- * @generated from enum ai.stigmer.agentic.runner.v1.RunnerPhase
30
- */
31
- export var RunnerPhase;
32
- (function (RunnerPhase) {
33
- /**
34
- * @generated from enum value: RUNNER_PHASE_UNSPECIFIED = 0;
35
- */
36
- RunnerPhase[RunnerPhase["UNSPECIFIED"] = 0] = "UNSPECIFIED";
37
- /**
38
- * Resource created but no heartbeat received yet.
39
- * This is the initial phase after create/apply, before the runner
40
- * process has started polling its task queue and heartbeating.
41
- *
42
- * @generated from enum value: RUNNER_PHASE_PENDING = 1;
43
- */
44
- RunnerPhase[RunnerPhase["PENDING"] = 1] = "PENDING";
45
- /**
46
- * Runner is heartbeating and accepting new executions.
47
- *
48
- * @generated from enum value: RUNNER_PHASE_READY = 2;
49
- */
50
- RunnerPhase[RunnerPhase["READY"] = 2] = "READY";
51
- /**
52
- * Runner is heartbeating but at maximum concurrent execution capacity.
53
- * New executions should not be dispatched to this runner.
54
- *
55
- * @generated from enum value: RUNNER_PHASE_BUSY = 3;
56
- */
57
- RunnerPhase[RunnerPhase["BUSY"] = 3] = "BUSY";
58
- /**
59
- * Runner has stopped heartbeating (timeout) or was explicitly stopped.
60
- * The resource is retained for identity persistence — a runner that
61
- * restarts and resumes heartbeating transitions back to READY.
62
- *
63
- * @generated from enum value: RUNNER_PHASE_STOPPED = 4;
64
- */
65
- RunnerPhase[RunnerPhase["STOPPED"] = 4] = "STOPPED";
66
- /**
67
- * Unrecoverable error. Runner or server reported a fatal condition.
68
- * Requires investigation; does not auto-recover on heartbeat.
69
- *
70
- * @generated from enum value: RUNNER_PHASE_FAILED = 5;
71
- */
72
- RunnerPhase[RunnerPhase["FAILED"] = 5] = "FAILED";
73
- /**
74
- * Runner process has been launched and is bootstrapping its runtime
75
- * (downloading dependencies, extracting source, creating venv).
76
- * The runner is heartbeating but not yet ready to accept executions.
77
- * Transitions to READY once bootstrap completes and the agent process
78
- * starts polling its task queue.
79
- *
80
- * @generated from enum value: RUNNER_PHASE_STARTING = 6;
81
- */
82
- RunnerPhase[RunnerPhase["STARTING"] = 6] = "STARTING";
83
- })(RunnerPhase || (RunnerPhase = {}));
84
- /**
85
- * Describes the enum ai.stigmer.agentic.runner.v1.RunnerPhase.
86
- */
87
- export const RunnerPhaseSchema = /*@__PURE__*/ enumDesc(file_ai_stigmer_agentic_runner_v1_enum, 0);
88
- //# sourceMappingURL=enum_pb.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"enum_pb.js","sourceRoot":"","sources":["../../../../../../ai/stigmer/agentic/runner/v1/enum_pb.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,qHAAqH;AACrH,oBAAoB;AAGpB,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,8BAA8B,CAAC;AAElE;;GAEG;AACH,MAAM,CAAC,MAAM,sCAAsC,GAAY,aAAa,CAC1E,QAAQ,CAAC,kXAAkX,CAAC,CAAC;AAE/X;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,CAAN,IAAY,WAyDX;AAzDD,WAAY,WAAW;IACrB;;OAEG;IACH,2DAAe,CAAA;IAEf;;;;;;OAMG;IACH,mDAAW,CAAA;IAEX;;;;OAIG;IACH,+CAAS,CAAA;IAET;;;;;OAKG;IACH,6CAAQ,CAAA;IAER;;;;;;OAMG;IACH,mDAAW,CAAA;IAEX;;;;;OAKG;IACH,iDAAU,CAAA;IAEV;;;;;;;;OAQG;IACH,qDAAY,CAAA;AACd,CAAC,EAzDW,WAAW,KAAX,WAAW,QAyDtB;AAED;;GAEG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAyB,aAAa,CAClE,QAAQ,CAAC,sCAAsC,EAAE,CAAC,CAAC,CAAC"}