@companyhelm/protos 0.1.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.
@@ -0,0 +1,244 @@
1
+ "use strict";
2
+ // @generated by protoc-gen-es v2.11.0 with parameter "target=ts"
3
+ // @generated from file companyhelm/runner/v1/runner.proto (package companyhelm.runner.v1, syntax proto3)
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.AgentRunnerControlService = exports.ItemTypeSchema = exports.ItemType = exports.AgentDeletedUpdateStatusSchema = exports.AgentDeletedUpdateStatus = exports.AgentCreatedUpdateStatusSchema = exports.AgentCreatedUpdateStatus = exports.GetGithubInstallationAccessTokenForRunnerResponseSchema = exports.GetGithubInstallationAccessTokenForRunnerRequestSchema = exports.ListGithubInstallationsForRunnerResponseSchema = exports.ListGithubInstallationsForRunnerRequestSchema = exports.GithubInstallationForRunnerSchema = exports.SkillMpInstalledUpdateSchema = exports.InstallSkillsMpCommandSchema = exports.CommandExecutionItemSchema = exports.ItemCompletedUpdateSchema = exports.ItemStartedUpdateSchema = exports.TurnSteeredUpdateSchema = exports.SteerTurnCommandSchema = exports.TurnCompletedUpdateSchema = exports.TurnStartedUpdateSchema = exports.CreateTurnCommandSchema = exports.ThreadCreatedUpdateSchema = exports.CreateThreadCommandSchema = exports.AgentDeletedUpdateSchema = exports.DeleteAgentCommandSchema = exports.AgentCreatedUpdateSchema = exports.CreateAgentCommandSchema = exports.CommandErrorSchema = exports.ServerMessageSchema = exports.ClientMessageSchema = exports.RegisterRunnerResponseSchema = exports.ModelReasoningSchema = exports.LLMModelSchema = exports.AgentSdkSchema = exports.RegisterRunnerRequestSchema = exports.AgentSchema = exports.file_companyhelm_runner_v1_runner = void 0;
7
+ const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
8
+ const validate_pb_1 = require("../../../agent_runner/proto/validate_pb");
9
+ /**
10
+ * Describes the file companyhelm/runner/v1/runner.proto.
11
+ */
12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iJBR0VOVF9ERUxFVEVEX1VQREFURV9TVEFUVVNfRkFJTEVEEAIqbAoISXRlbVR5cGUSFQoRSVRFTV9UWVBFX1VOS05PV04QABIQCgxVU0VSX01FU1NBR0UQARIRCg1BR0VOVF9NRVNTQUdFEAISDQoJUkVBU09OSU5HEAQSFQoRQ09NTUFORF9FWEVDVVRJT04QBTLTBAoZQWdlbnRSdW5uZXJDb250cm9sU2VydmljZRJtCg5SZWdpc3RlclJ1bm5lchIsLmNvbXBhbnloZWxtLnJ1bm5lci52MS5SZWdpc3RlclJ1bm5lclJlcXVlc3QaLS5jb21wYW55aGVsbS5ydW5uZXIudjEuUmVnaXN0ZXJSdW5uZXJSZXNwb25zZRJgCg5Db21tYW5kQ2hhbm5lbBIkLmNvbXBhbnloZWxtLnJ1bm5lci52MS5DbGllbnRNZXNzYWdlGiQuY29tcGFueWhlbG0ucnVubmVyLnYxLlNlcnZlck1lc3NhZ2UoATABEqMBCiBMaXN0R2l0aHViSW5zdGFsbGF0aW9uc0ZvclJ1bm5lchI+LmNvbXBhbnloZWxtLnJ1bm5lci52MS5MaXN0R2l0aHViSW5zdGFsbGF0aW9uc0ZvclJ1bm5lclJlcXVlc3QaPy5jb21wYW55aGVsbS5ydW5uZXIudjEuTGlzdEdpdGh1Ykluc3RhbGxhdGlvbnNGb3JSdW5uZXJSZXNwb25zZRK+AQopR2V0R2l0aHViSW5zdGFsbGF0aW9uQWNjZXNzVG9rZW5Gb3JSdW5uZXISRy5jb21wYW55aGVsbS5ydW5uZXIudjEuR2V0R2l0aHViSW5zdGFsbGF0aW9uQWNjZXNzVG9rZW5Gb3JSdW5uZXJSZXF1ZXN0GkguY29tcGFueWhlbG0ucnVubmVyLnYxLkdldEdpdGh1Ykluc3RhbGxhdGlvbkFjY2Vzc1Rva2VuRm9yUnVubmVyUmVzcG9uc2ViBnByb3RvMw", [validate_pb_1.file_agent_runner_proto_validate]);
13
+ /**
14
+ * Describes the message companyhelm.runner.v1.Agent.
15
+ * Use `create(AgentSchema)` to create a new message.
16
+ */
17
+ exports.AgentSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 0);
18
+ /**
19
+ * Describes the message companyhelm.runner.v1.RegisterRunnerRequest.
20
+ * Use `create(RegisterRunnerRequestSchema)` to create a new message.
21
+ */
22
+ exports.RegisterRunnerRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 1);
23
+ /**
24
+ * Describes the message companyhelm.runner.v1.AgentSdk.
25
+ * Use `create(AgentSdkSchema)` to create a new message.
26
+ */
27
+ exports.AgentSdkSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 2);
28
+ /**
29
+ * Describes the message companyhelm.runner.v1.LLMModel.
30
+ * Use `create(LLMModelSchema)` to create a new message.
31
+ */
32
+ exports.LLMModelSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 3);
33
+ /**
34
+ * Describes the message companyhelm.runner.v1.ModelReasoning.
35
+ * Use `create(ModelReasoningSchema)` to create a new message.
36
+ */
37
+ exports.ModelReasoningSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 4);
38
+ /**
39
+ * Describes the message companyhelm.runner.v1.RegisterRunnerResponse.
40
+ * Use `create(RegisterRunnerResponseSchema)` to create a new message.
41
+ */
42
+ exports.RegisterRunnerResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 5);
43
+ /**
44
+ * Describes the message companyhelm.runner.v1.ClientMessage.
45
+ * Use `create(ClientMessageSchema)` to create a new message.
46
+ */
47
+ exports.ClientMessageSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 6);
48
+ /**
49
+ * Describes the message companyhelm.runner.v1.ServerMessage.
50
+ * Use `create(ServerMessageSchema)` to create a new message.
51
+ */
52
+ exports.ServerMessageSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 7);
53
+ /**
54
+ * Describes the message companyhelm.runner.v1.CommandError.
55
+ * Use `create(CommandErrorSchema)` to create a new message.
56
+ */
57
+ exports.CommandErrorSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 8);
58
+ /**
59
+ * Describes the message companyhelm.runner.v1.CreateAgentCommand.
60
+ * Use `create(CreateAgentCommandSchema)` to create a new message.
61
+ */
62
+ exports.CreateAgentCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 9);
63
+ /**
64
+ * Describes the message companyhelm.runner.v1.AgentCreatedUpdate.
65
+ * Use `create(AgentCreatedUpdateSchema)` to create a new message.
66
+ */
67
+ exports.AgentCreatedUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 10);
68
+ /**
69
+ * Describes the message companyhelm.runner.v1.DeleteAgentCommand.
70
+ * Use `create(DeleteAgentCommandSchema)` to create a new message.
71
+ */
72
+ exports.DeleteAgentCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 11);
73
+ /**
74
+ * Describes the message companyhelm.runner.v1.AgentDeletedUpdate.
75
+ * Use `create(AgentDeletedUpdateSchema)` to create a new message.
76
+ */
77
+ exports.AgentDeletedUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 12);
78
+ /**
79
+ * Describes the message companyhelm.runner.v1.CreateThreadCommand.
80
+ * Use `create(CreateThreadCommandSchema)` to create a new message.
81
+ */
82
+ exports.CreateThreadCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 13);
83
+ /**
84
+ * Describes the message companyhelm.runner.v1.ThreadCreatedUpdate.
85
+ * Use `create(ThreadCreatedUpdateSchema)` to create a new message.
86
+ */
87
+ exports.ThreadCreatedUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 14);
88
+ /**
89
+ * Describes the message companyhelm.runner.v1.CreateTurnCommand.
90
+ * Use `create(CreateTurnCommandSchema)` to create a new message.
91
+ */
92
+ exports.CreateTurnCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 15);
93
+ /**
94
+ * Describes the message companyhelm.runner.v1.TurnStartedUpdate.
95
+ * Use `create(TurnStartedUpdateSchema)` to create a new message.
96
+ */
97
+ exports.TurnStartedUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 16);
98
+ /**
99
+ * Describes the message companyhelm.runner.v1.TurnCompletedUpdate.
100
+ * Use `create(TurnCompletedUpdateSchema)` to create a new message.
101
+ */
102
+ exports.TurnCompletedUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 17);
103
+ /**
104
+ * Describes the message companyhelm.runner.v1.SteerTurnCommand.
105
+ * Use `create(SteerTurnCommandSchema)` to create a new message.
106
+ */
107
+ exports.SteerTurnCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 18);
108
+ /**
109
+ * Describes the message companyhelm.runner.v1.TurnSteeredUpdate.
110
+ * Use `create(TurnSteeredUpdateSchema)` to create a new message.
111
+ */
112
+ exports.TurnSteeredUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 19);
113
+ /**
114
+ * Describes the message companyhelm.runner.v1.ItemStartedUpdate.
115
+ * Use `create(ItemStartedUpdateSchema)` to create a new message.
116
+ */
117
+ exports.ItemStartedUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 20);
118
+ /**
119
+ * Describes the message companyhelm.runner.v1.ItemCompletedUpdate.
120
+ * Use `create(ItemCompletedUpdateSchema)` to create a new message.
121
+ */
122
+ exports.ItemCompletedUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 21);
123
+ /**
124
+ * Describes the message companyhelm.runner.v1.CommandExecutionItem.
125
+ * Use `create(CommandExecutionItemSchema)` to create a new message.
126
+ */
127
+ exports.CommandExecutionItemSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 22);
128
+ /**
129
+ * Describes the message companyhelm.runner.v1.InstallSkillsMpCommand.
130
+ * Use `create(InstallSkillsMpCommandSchema)` to create a new message.
131
+ */
132
+ exports.InstallSkillsMpCommandSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 23);
133
+ /**
134
+ * Describes the message companyhelm.runner.v1.SkillMpInstalledUpdate.
135
+ * Use `create(SkillMpInstalledUpdateSchema)` to create a new message.
136
+ */
137
+ exports.SkillMpInstalledUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 24);
138
+ /**
139
+ * Describes the message companyhelm.runner.v1.GithubInstallationForRunner.
140
+ * Use `create(GithubInstallationForRunnerSchema)` to create a new message.
141
+ */
142
+ exports.GithubInstallationForRunnerSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 25);
143
+ /**
144
+ * Describes the message companyhelm.runner.v1.ListGithubInstallationsForRunnerRequest.
145
+ * Use `create(ListGithubInstallationsForRunnerRequestSchema)` to create a new message.
146
+ */
147
+ exports.ListGithubInstallationsForRunnerRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 26);
148
+ /**
149
+ * Describes the message companyhelm.runner.v1.ListGithubInstallationsForRunnerResponse.
150
+ * Use `create(ListGithubInstallationsForRunnerResponseSchema)` to create a new message.
151
+ */
152
+ exports.ListGithubInstallationsForRunnerResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 27);
153
+ /**
154
+ * Describes the message companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerRequest.
155
+ * Use `create(GetGithubInstallationAccessTokenForRunnerRequestSchema)` to create a new message.
156
+ */
157
+ exports.GetGithubInstallationAccessTokenForRunnerRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 28);
158
+ /**
159
+ * Describes the message companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerResponse.
160
+ * Use `create(GetGithubInstallationAccessTokenForRunnerResponseSchema)` to create a new message.
161
+ */
162
+ exports.GetGithubInstallationAccessTokenForRunnerResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 29);
163
+ /**
164
+ * @generated from enum companyhelm.runner.v1.AgentCreatedUpdateStatus
165
+ */
166
+ var AgentCreatedUpdateStatus;
167
+ (function (AgentCreatedUpdateStatus) {
168
+ /**
169
+ * @generated from enum value: AGENT_CREATED_UPDATE_STATUS_UNKNOWN = 0;
170
+ */
171
+ AgentCreatedUpdateStatus[AgentCreatedUpdateStatus["UNKNOWN"] = 0] = "UNKNOWN";
172
+ /**
173
+ * @generated from enum value: AGENT_CREATED_UPDATE_STATUS_SUCCESS = 1;
174
+ */
175
+ AgentCreatedUpdateStatus[AgentCreatedUpdateStatus["SUCCESS"] = 1] = "SUCCESS";
176
+ /**
177
+ * @generated from enum value: AGENT_CREATED_UPDATE_STATUS_FAILED = 2;
178
+ */
179
+ AgentCreatedUpdateStatus[AgentCreatedUpdateStatus["FAILED"] = 2] = "FAILED";
180
+ })(AgentCreatedUpdateStatus || (exports.AgentCreatedUpdateStatus = AgentCreatedUpdateStatus = {}));
181
+ /**
182
+ * Describes the enum companyhelm.runner.v1.AgentCreatedUpdateStatus.
183
+ */
184
+ exports.AgentCreatedUpdateStatusSchema = (0, codegenv2_1.enumDesc)(exports.file_companyhelm_runner_v1_runner, 0);
185
+ /**
186
+ * @generated from enum companyhelm.runner.v1.AgentDeletedUpdateStatus
187
+ */
188
+ var AgentDeletedUpdateStatus;
189
+ (function (AgentDeletedUpdateStatus) {
190
+ /**
191
+ * @generated from enum value: AGENT_DELETED_UPDATE_STATUS_UNKNOWN = 0;
192
+ */
193
+ AgentDeletedUpdateStatus[AgentDeletedUpdateStatus["UNKNOWN"] = 0] = "UNKNOWN";
194
+ /**
195
+ * @generated from enum value: AGENT_DELETED_UPDATE_STATUS_SUCCESS = 1;
196
+ */
197
+ AgentDeletedUpdateStatus[AgentDeletedUpdateStatus["SUCCESS"] = 1] = "SUCCESS";
198
+ /**
199
+ * @generated from enum value: AGENT_DELETED_UPDATE_STATUS_FAILED = 2;
200
+ */
201
+ AgentDeletedUpdateStatus[AgentDeletedUpdateStatus["FAILED"] = 2] = "FAILED";
202
+ })(AgentDeletedUpdateStatus || (exports.AgentDeletedUpdateStatus = AgentDeletedUpdateStatus = {}));
203
+ /**
204
+ * Describes the enum companyhelm.runner.v1.AgentDeletedUpdateStatus.
205
+ */
206
+ exports.AgentDeletedUpdateStatusSchema = (0, codegenv2_1.enumDesc)(exports.file_companyhelm_runner_v1_runner, 1);
207
+ /**
208
+ * @generated from enum companyhelm.runner.v1.ItemType
209
+ */
210
+ var ItemType;
211
+ (function (ItemType) {
212
+ /**
213
+ * @generated from enum value: ITEM_TYPE_UNKNOWN = 0;
214
+ */
215
+ ItemType[ItemType["ITEM_TYPE_UNKNOWN"] = 0] = "ITEM_TYPE_UNKNOWN";
216
+ /**
217
+ * @generated from enum value: USER_MESSAGE = 1;
218
+ */
219
+ ItemType[ItemType["USER_MESSAGE"] = 1] = "USER_MESSAGE";
220
+ /**
221
+ * @generated from enum value: AGENT_MESSAGE = 2;
222
+ */
223
+ ItemType[ItemType["AGENT_MESSAGE"] = 2] = "AGENT_MESSAGE";
224
+ /**
225
+ * @generated from enum value: REASONING = 4;
226
+ */
227
+ ItemType[ItemType["REASONING"] = 4] = "REASONING";
228
+ /**
229
+ * @generated from enum value: COMMAND_EXECUTION = 5;
230
+ */
231
+ ItemType[ItemType["COMMAND_EXECUTION"] = 5] = "COMMAND_EXECUTION";
232
+ })(ItemType || (exports.ItemType = ItemType = {}));
233
+ /**
234
+ * Describes the enum companyhelm.runner.v1.ItemType.
235
+ */
236
+ exports.ItemTypeSchema = (0, codegenv2_1.enumDesc)(exports.file_companyhelm_runner_v1_runner, 2);
237
+ /**
238
+ * Transport contract between backend control plane and runner clients.
239
+ * RegisterRunner performs a capability handshake; CommandChannel carries
240
+ * asynchronous commands and updates correlated by command_id.
241
+ *
242
+ * @generated from service companyhelm.runner.v1.AgentRunnerControlService
243
+ */
244
+ exports.AgentRunnerControlService = (0, codegenv2_1.serviceDesc)(exports.file_companyhelm_runner_v1_runner, 0);
@@ -0,0 +1 @@
1
+ export * from "./gen/companyhelm/runner/v1/runner_pb";
package/dist/index.js ADDED
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./gen/companyhelm/runner/v1/runner_pb"), exports);
@@ -0,0 +1,21 @@
1
+ syntax = "proto3";
2
+ package buf.validate;
3
+
4
+ import "google/protobuf/descriptor.proto";
5
+
6
+ message StringRules {
7
+ uint64 min_len = 1;
8
+ }
9
+
10
+ message Int64Rules {
11
+ int64 gte = 1;
12
+ }
13
+
14
+ message FieldConstraints {
15
+ StringRules string = 1;
16
+ Int64Rules int64 = 2;
17
+ }
18
+
19
+ extend google.protobuf.FieldOptions {
20
+ FieldConstraints field = 65000;
21
+ }
@@ -0,0 +1,313 @@
1
+ syntax = "proto3";
2
+ package companyhelm.runner.v1;
3
+
4
+ import "agent_runner/proto/validate.proto";
5
+
6
+
7
+ // Transport contract between backend control plane and runner clients.
8
+ // RegisterRunner performs a capability handshake; CommandChannel carries
9
+ // asynchronous commands and updates correlated by command_id.
10
+ service AgentRunnerControlService {
11
+ // Called once when a runner connects so the server can decide whether this
12
+ // runner instance is allowed to participate in command processing.
13
+ rpc RegisterRunner(RegisterRunnerRequest) returns (RegisterRunnerResponse);
14
+ // Bidirectional stream used for the lifecycle of a connected runner.
15
+ // Server pushes work; runner pushes updates/results.
16
+ // Client initiated requests should have their own rpc call.
17
+ rpc CommandChannel(stream ClientMessage) returns (stream ServerMessage);
18
+ // Runner-scoped list of GitHub App installations already associated with it.
19
+ rpc ListGithubInstallationsForRunner(ListGithubInstallationsForRunnerRequest) returns (ListGithubInstallationsForRunnerResponse);
20
+ // Mints a short-lived token for one installation so the runner can call
21
+ // GitHub APIs without storing long-lived credentials.
22
+ rpc GetGithubInstallationAccessTokenForRunner(GetGithubInstallationAccessTokenForRunnerRequest) returns (GetGithubInstallationAccessTokenForRunnerResponse);
23
+ }
24
+
25
+ /************************************************/
26
+ /* COMMON MESSAGES */
27
+ /************************************************/
28
+
29
+ // an instation of an agent
30
+ message Agent {
31
+ // runner specific identifier of the agent
32
+ string id = 1 [(buf.validate.field).string.min_len = 1];
33
+ // name of the agent
34
+ string name = 2 [(buf.validate.field).string.min_len = 1];
35
+ // sdk used by the agent
36
+ string sdk = 3 [(buf.validate.field).string.min_len = 1];
37
+ // models supported by the agent
38
+ string model = 4 [(buf.validate.field).string.min_len = 1];
39
+ // reasoning level supported by the agent
40
+ string reasoning_level = 5 [(buf.validate.field).string.min_len = 1];
41
+ }
42
+
43
+ /************************************************/
44
+ /* REGISTRATION PROTOCOL */
45
+ /************************************************/
46
+
47
+ // runner identity is currently inferred from transport-level
48
+ message RegisterRunnerRequest {
49
+ // agent sdks supported by the runner
50
+ repeated AgentSdk agent_sdks = 1;
51
+ // agents curently installed on the runner
52
+ repeated Agent agents = 2;
53
+ }
54
+
55
+ message AgentSdk {
56
+ // name of the sdk, e.g. Codex, Claude Code, etc
57
+ string name = 1 [(buf.validate.field).string.min_len = 1];
58
+ // models supported by the sdk
59
+ repeated LLMModel models = 2;
60
+ }
61
+
62
+ message LLMModel {
63
+ // name of the model, e.g. gpt-5.3-codex,
64
+ string name = 1 [(buf.validate.field).string.min_len = 1];
65
+ // reasoning levels this model supports (empty means default only).
66
+ repeated string reasoning = 2;
67
+ }
68
+
69
+ message ModelReasoning {
70
+ // name of the reasoning level, e.g. xhign, high, medium, low
71
+ string name = 1 [(buf.validate.field).string.min_len = 1];
72
+ }
73
+
74
+ message RegisterRunnerResponse {
75
+ }
76
+
77
+ /************************************************/
78
+ /* COMMAND PROTOCOL */
79
+ /************************************************/
80
+
81
+ // Messages sent from runner to server over CommandChannel.
82
+ message ClientMessage {
83
+ // Correlates this update/result with the originating ServerMessage command.
84
+ string command_id = 1 [(buf.validate.field).string.min_len = 1];
85
+ oneof payload {
86
+ AgentCreatedUpdate agent_created_update = 2;
87
+ AgentDeletedUpdate agent_deleted_update = 3;
88
+ ThreadCreatedUpdate thread_created_update = 4;
89
+ TurnStartedUpdate turn_started_update = 5;
90
+ TurnCompletedUpdate turn_completed_update = 6;
91
+ TurnSteeredUpdate turn_steered_update = 7;
92
+ SkillMpInstalledUpdate skill_mp_installed_update = 8;
93
+ CommandError command_error = 9;
94
+ }
95
+ }
96
+
97
+ // Messages sent from server to runner over CommandChannel.
98
+ message ServerMessage {
99
+ // Correlation key echoed by ClientMessage.command_id in runner responses.
100
+ string command_id = 1 [(buf.validate.field).string.min_len = 1];
101
+ oneof command {
102
+ CreateAgentCommand create_agent_command = 2;
103
+ DeleteAgentCommand delete_agent_command = 3;
104
+ CreateThreadCommand create_thread_command = 4;
105
+ CreateTurnCommand create_turn_command = 5;
106
+ SteerTurnCommand steer_turn_command = 6;
107
+ InstallSkillsMpCommand install_skillsmp_command = 7;
108
+ }
109
+ }
110
+
111
+ message CommandError {
112
+ // Error message
113
+ string message = 1 [(buf.validate.field).string.min_len = 1];
114
+ }
115
+
116
+ message CreateAgentCommand {
117
+ // Agent identifier to create
118
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
119
+ // SDK executor to use (for example codex/openai), chosen by control plane.
120
+ string agent_sdk = 2 [(buf.validate.field).string.min_len = 1];
121
+ }
122
+
123
+ message AgentCreatedUpdate {
124
+ AgentCreatedUpdateStatus status = 1;
125
+ // Error message if the agent initialization failed
126
+ optional string failure_message = 2;
127
+ }
128
+
129
+ enum AgentCreatedUpdateStatus {
130
+ AGENT_CREATED_UPDATE_STATUS_UNKNOWN = 0;
131
+ AGENT_CREATED_UPDATE_STATUS_SUCCESS = 1;
132
+ AGENT_CREATED_UPDATE_STATUS_FAILED = 2;
133
+ }
134
+
135
+ message DeleteAgentCommand {
136
+ // Agent identifier to delete
137
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
138
+ }
139
+
140
+ message AgentDeletedUpdate {
141
+ // Agent identifier that was deleted
142
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
143
+ // Status of the agent deletion
144
+ AgentDeletedUpdateStatus status = 2;
145
+ // Error message if the agent deletion failed
146
+ optional string failure_message = 3;
147
+ }
148
+
149
+ enum AgentDeletedUpdateStatus {
150
+ AGENT_DELETED_UPDATE_STATUS_UNKNOWN = 0;
151
+ AGENT_DELETED_UPDATE_STATUS_SUCCESS = 1;
152
+ AGENT_DELETED_UPDATE_STATUS_FAILED = 2;
153
+ }
154
+
155
+ message CreateThreadCommand {
156
+ // Agent identifier to create the thread for
157
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
158
+ }
159
+
160
+ message ThreadCreatedUpdate {
161
+ // Agent identifier that the thread was created for
162
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
163
+ // Thread identifier that was created provider specific
164
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
165
+ }
166
+
167
+ message CreateTurnCommand {
168
+ // Agent identifier that the turn was created for
169
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
170
+ // Thread identifier that the turn was created for provider specific
171
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
172
+ // Text to send to the turn
173
+ string text = 3 [(buf.validate.field).string.min_len = 1];
174
+ // Model identifier passed to the selected SDK for message execution.
175
+ string model = 4 [(buf.validate.field).string.min_len = 1];
176
+ // Reasoning profile consumed by SDK-specific adapters when supported.
177
+ optional string model_reasoning_level = 5;
178
+ }
179
+
180
+ message TurnStartedUpdate {
181
+ // Agent identifier that the turn was created for
182
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
183
+ // Thread identifier that the turn was created for
184
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
185
+ // Turn identifier that was created
186
+ string provider_turn_id = 3 [(buf.validate.field).string.min_len = 1];
187
+ }
188
+
189
+ message TurnCompletedUpdate {
190
+ // Agent identifier that the turn was completed for
191
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
192
+ // Thread identifier that the turn was completed for
193
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
194
+ // Turn identifier that was completed
195
+ string provider_turn_id = 3 [(buf.validate.field).string.min_len = 1];
196
+ }
197
+
198
+ message SteerTurnCommand {
199
+ // Agent identifier that the turn was created for
200
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
201
+ // Thread identifier that the turn was created for
202
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
203
+ // Turn identifier that was created
204
+ string provider_turn_id = 3 [(buf.validate.field).string.min_len = 1];
205
+ // Message to send to the turn
206
+ string message = 4 [(buf.validate.field).string.min_len = 1];
207
+ }
208
+
209
+ message TurnSteeredUpdate {
210
+ // Agent identifier that the turn was created for
211
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
212
+ // Thread identifier that the turn was created for
213
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
214
+ // Turn identifier that was created
215
+ string provider_turn_id = 3 [(buf.validate.field).string.min_len = 1];
216
+ }
217
+
218
+ message ItemStartedUpdate {
219
+ // Agent identifier that the item was started for
220
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
221
+ // Thread identifier that the item was started for
222
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
223
+ // Turn identifier that the item was started for
224
+ string provider_turn_id = 3 [(buf.validate.field).string.min_len = 1];
225
+ // Item identifier that was started
226
+ string provider_item_id = 4 [(buf.validate.field).string.min_len = 1];
227
+ // Item type that was started
228
+ ItemType item_type = 5;
229
+ // message that was started
230
+ optional string text = 6;
231
+ // Command execution item that was started, if type is COMMAND_EXECUTION
232
+ optional CommandExecutionItem command_execution_item = 7;
233
+ }
234
+
235
+ message ItemCompletedUpdate {
236
+ // Agent identifier that the item was completed for
237
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
238
+ // Thread identifier that the item was completed for
239
+ string provider_thread_id = 2 [(buf.validate.field).string.min_len = 1];
240
+ // Turn identifier that the item was completed for
241
+ string provider_turn_id = 3 [(buf.validate.field).string.min_len = 1];
242
+ // Item identifier that was completed
243
+ string provider_item_id = 4 [(buf.validate.field).string.min_len = 1];
244
+ // Item type that was completed
245
+ ItemType item_type = 5;
246
+ // message that was completed
247
+ optional string text = 6;
248
+ // Command execution item that was completed, if type is COMMAND_EXECUTION
249
+ optional CommandExecutionItem command_execution_item = 7;
250
+ }
251
+
252
+ message CommandExecutionItem {
253
+ string command = 1 [(buf.validate.field).string.min_len = 1];
254
+ string cwd = 2 [(buf.validate.field).string.min_len = 1];
255
+ string process_id = 3 [(buf.validate.field).string.min_len = 1];
256
+ optional string output = 4;
257
+ }
258
+
259
+ enum ItemType {
260
+ ITEM_TYPE_UNKNOWN = 0;
261
+ USER_MESSAGE = 1;
262
+ AGENT_MESSAGE = 2;
263
+ REASONING = 4;
264
+ COMMAND_EXECUTION = 5;
265
+ }
266
+
267
+ message InstallSkillsMpCommand {
268
+ // Agent receiving the new skill package.
269
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
270
+ // Package coordinate the runner installer resolves/downloads.
271
+ string package_name = 2 [(buf.validate.field).string.min_len = 1];
272
+ }
273
+
274
+ message SkillMpInstalledUpdate {
275
+ // Agent receiving the installation result.
276
+ string agent_id = 1 [(buf.validate.field).string.min_len = 1];
277
+ // Skill identifier this update belongs to.
278
+ string package_name = 2 [(buf.validate.field).string.min_len = 1];
279
+ }
280
+
281
+ /************************************************/
282
+ /* GITHUB INSTALLATION PROTOCOL */
283
+ /************************************************/
284
+
285
+ message GithubInstallationForRunner {
286
+ // GitHub App installation identifier stored on backend.
287
+ int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
288
+ }
289
+
290
+ // Empty because runner scope is inferred from authenticated caller.
291
+ message ListGithubInstallationsForRunnerRequest {
292
+ }
293
+
294
+ message ListGithubInstallationsForRunnerResponse {
295
+ // Installations currently linked to this runner/account context.
296
+ repeated GithubInstallationForRunner installations = 1;
297
+ }
298
+
299
+ message GetGithubInstallationAccessTokenForRunnerRequest {
300
+ // Installation for which the runner is requesting a fresh token.
301
+ int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
302
+ }
303
+
304
+ message GetGithubInstallationAccessTokenForRunnerResponse {
305
+ // Echo of requested installation for client-side correlation.
306
+ int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
307
+ // Short-lived GitHub access token; treat as secret and do not persist.
308
+ string access_token = 2 [(buf.validate.field).string.min_len = 1];
309
+ // Expiry timestamp so callers can refresh proactively before 401s.
310
+ int64 access_token_expires_unix_time_ms = 3;
311
+ // Repository names/paths this token is authorized to access.
312
+ repeated string repositories = 4 [(buf.validate.field).string.min_len = 1];
313
+ }
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@companyhelm/protos",
3
+ "version": "0.1.0",
4
+ "description": "Buf-generated JavaScript bindings for CompanyHelm protobuf definitions.",
5
+ "license": "UNLICENSED",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "require": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "README.md"
17
+ ],
18
+ "scripts": {
19
+ "clean": "rm -rf dist",
20
+ "buf:lint": "buf lint",
21
+ "buf:generate": "buf generate",
22
+ "compile": "tsc -p tsconfig.generated.json",
23
+ "copy:protos": "node scripts/copy-protos.mjs",
24
+ "build": "npm run clean && npm run buf:generate && npm run compile && npm run copy:protos",
25
+ "verify": "npm run buf:lint && npm run build && npm pack --dry-run"
26
+ },
27
+ "dependencies": {
28
+ "@bufbuild/protobuf": "^2.10.1"
29
+ },
30
+ "devDependencies": {
31
+ "@bufbuild/buf": "^1.59.0",
32
+ "@bufbuild/protoc-gen-es": "^2.10.1",
33
+ "typescript": "^5.9.2"
34
+ }
35
+ }