@companyhelm/protos 0.5.24 → 0.5.26
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.
|
@@ -166,6 +166,12 @@ export type ClientMessage = Message<"companyhelm.runner.v1.ClientMessage"> & {
|
|
|
166
166
|
*/
|
|
167
167
|
value: CodexDeviceCode;
|
|
168
168
|
case: "codexDeviceCode";
|
|
169
|
+
} | {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: companyhelm.runner.v1.ThreadTokenUsageUpdate thread_token_usage_update = 12;
|
|
172
|
+
*/
|
|
173
|
+
value: ThreadTokenUsageUpdate;
|
|
174
|
+
case: "threadTokenUsageUpdate";
|
|
169
175
|
} | {
|
|
170
176
|
case: undefined;
|
|
171
177
|
value?: undefined;
|
|
@@ -176,6 +182,66 @@ export type ClientMessage = Message<"companyhelm.runner.v1.ClientMessage"> & {
|
|
|
176
182
|
* Use `create(ClientMessageSchema)` to create a new message.
|
|
177
183
|
*/
|
|
178
184
|
export declare const ClientMessageSchema: GenMessage<ClientMessage>;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from message companyhelm.runner.v1.TokenUsageBreakdown
|
|
187
|
+
*/
|
|
188
|
+
export type TokenUsageBreakdown = Message<"companyhelm.runner.v1.TokenUsageBreakdown"> & {
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: int64 input_tokens = 1;
|
|
191
|
+
*/
|
|
192
|
+
inputTokens: bigint;
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: int64 cached_input_tokens = 2;
|
|
195
|
+
*/
|
|
196
|
+
cachedInputTokens: bigint;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: int64 output_tokens = 3;
|
|
199
|
+
*/
|
|
200
|
+
outputTokens: bigint;
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: int64 reasoning_output_tokens = 4;
|
|
203
|
+
*/
|
|
204
|
+
reasoningOutputTokens: bigint;
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: int64 total_tokens = 5;
|
|
207
|
+
*/
|
|
208
|
+
totalTokens: bigint;
|
|
209
|
+
};
|
|
210
|
+
/**
|
|
211
|
+
* Describes the message companyhelm.runner.v1.TokenUsageBreakdown.
|
|
212
|
+
* Use `create(TokenUsageBreakdownSchema)` to create a new message.
|
|
213
|
+
*/
|
|
214
|
+
export declare const TokenUsageBreakdownSchema: GenMessage<TokenUsageBreakdown>;
|
|
215
|
+
/**
|
|
216
|
+
* @generated from message companyhelm.runner.v1.ThreadTokenUsageUpdate
|
|
217
|
+
*/
|
|
218
|
+
export type ThreadTokenUsageUpdate = Message<"companyhelm.runner.v1.ThreadTokenUsageUpdate"> & {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string thread_id = 1;
|
|
221
|
+
*/
|
|
222
|
+
threadId: string;
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: string sdk_turn_id = 2;
|
|
225
|
+
*/
|
|
226
|
+
sdkTurnId: string;
|
|
227
|
+
/**
|
|
228
|
+
* @generated from field: companyhelm.runner.v1.TokenUsageBreakdown total_usage = 3;
|
|
229
|
+
*/
|
|
230
|
+
totalUsage?: TokenUsageBreakdown;
|
|
231
|
+
/**
|
|
232
|
+
* @generated from field: companyhelm.runner.v1.TokenUsageBreakdown last_usage = 4;
|
|
233
|
+
*/
|
|
234
|
+
lastUsage?: TokenUsageBreakdown;
|
|
235
|
+
/**
|
|
236
|
+
* @generated from field: optional int64 model_context_window = 5;
|
|
237
|
+
*/
|
|
238
|
+
modelContextWindow?: bigint;
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message companyhelm.runner.v1.ThreadTokenUsageUpdate.
|
|
242
|
+
* Use `create(ThreadTokenUsageUpdateSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export declare const ThreadTokenUsageUpdateSchema: GenMessage<ThreadTokenUsageUpdate>;
|
|
179
245
|
/**
|
|
180
246
|
* @generated from message companyhelm.runner.v1.CodexDeviceCode
|
|
181
247
|
*/
|
|
@@ -701,99 +767,6 @@ export type InterruptTurnRequest = Message<"companyhelm.runner.v1.InterruptTurnR
|
|
|
701
767
|
* Use `create(InterruptTurnRequestSchema)` to create a new message.
|
|
702
768
|
*/
|
|
703
769
|
export declare const InterruptTurnRequestSchema: GenMessage<InterruptTurnRequest>;
|
|
704
|
-
/**
|
|
705
|
-
* @generated from message companyhelm.runner.v1.GithubInstallation
|
|
706
|
-
*/
|
|
707
|
-
export type GithubInstallation = Message<"companyhelm.runner.v1.GithubInstallation"> & {
|
|
708
|
-
/**
|
|
709
|
-
* GitHub App installation identifier stored on backend.
|
|
710
|
-
*
|
|
711
|
-
* @generated from field: int64 installation_id = 1;
|
|
712
|
-
*/
|
|
713
|
-
installationId: bigint;
|
|
714
|
-
};
|
|
715
|
-
/**
|
|
716
|
-
* Describes the message companyhelm.runner.v1.GithubInstallation.
|
|
717
|
-
* Use `create(GithubInstallationSchema)` to create a new message.
|
|
718
|
-
*/
|
|
719
|
-
export declare const GithubInstallationSchema: GenMessage<GithubInstallation>;
|
|
720
|
-
/**
|
|
721
|
-
* Empty because runner scope is inferred from authenticated caller.
|
|
722
|
-
*
|
|
723
|
-
* @generated from message companyhelm.runner.v1.ListGithubInstallationsRequest
|
|
724
|
-
*/
|
|
725
|
-
export type ListGithubInstallationsRequest = Message<"companyhelm.runner.v1.ListGithubInstallationsRequest"> & {};
|
|
726
|
-
/**
|
|
727
|
-
* Describes the message companyhelm.runner.v1.ListGithubInstallationsRequest.
|
|
728
|
-
* Use `create(ListGithubInstallationsRequestSchema)` to create a new message.
|
|
729
|
-
*/
|
|
730
|
-
export declare const ListGithubInstallationsRequestSchema: GenMessage<ListGithubInstallationsRequest>;
|
|
731
|
-
/**
|
|
732
|
-
* @generated from message companyhelm.runner.v1.ListGithubInstallationsResponse
|
|
733
|
-
*/
|
|
734
|
-
export type ListGithubInstallationsResponse = Message<"companyhelm.runner.v1.ListGithubInstallationsResponse"> & {
|
|
735
|
-
/**
|
|
736
|
-
* Installations currently linked to this runner/account context.
|
|
737
|
-
*
|
|
738
|
-
* @generated from field: repeated companyhelm.runner.v1.GithubInstallation installations = 1;
|
|
739
|
-
*/
|
|
740
|
-
installations: GithubInstallation[];
|
|
741
|
-
};
|
|
742
|
-
/**
|
|
743
|
-
* Describes the message companyhelm.runner.v1.ListGithubInstallationsResponse.
|
|
744
|
-
* Use `create(ListGithubInstallationsResponseSchema)` to create a new message.
|
|
745
|
-
*/
|
|
746
|
-
export declare const ListGithubInstallationsResponseSchema: GenMessage<ListGithubInstallationsResponse>;
|
|
747
|
-
/**
|
|
748
|
-
* @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenRequest
|
|
749
|
-
*/
|
|
750
|
-
export type GithubInstallationAccessTokenRequest = Message<"companyhelm.runner.v1.GithubInstallationAccessTokenRequest"> & {
|
|
751
|
-
/**
|
|
752
|
-
* Installation for which the runner is requesting a fresh token.
|
|
753
|
-
*
|
|
754
|
-
* @generated from field: int64 installation_id = 1;
|
|
755
|
-
*/
|
|
756
|
-
installationId: bigint;
|
|
757
|
-
};
|
|
758
|
-
/**
|
|
759
|
-
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenRequest.
|
|
760
|
-
* Use `create(GithubInstallationAccessTokenRequestSchema)` to create a new message.
|
|
761
|
-
*/
|
|
762
|
-
export declare const GithubInstallationAccessTokenRequestSchema: GenMessage<GithubInstallationAccessTokenRequest>;
|
|
763
|
-
/**
|
|
764
|
-
* @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenResponse
|
|
765
|
-
*/
|
|
766
|
-
export type GithubInstallationAccessTokenResponse = Message<"companyhelm.runner.v1.GithubInstallationAccessTokenResponse"> & {
|
|
767
|
-
/**
|
|
768
|
-
* Echo of requested installation for client-side correlation.
|
|
769
|
-
*
|
|
770
|
-
* @generated from field: int64 installation_id = 1;
|
|
771
|
-
*/
|
|
772
|
-
installationId: bigint;
|
|
773
|
-
/**
|
|
774
|
-
* Short-lived GitHub access token; treat as secret and do not persist.
|
|
775
|
-
*
|
|
776
|
-
* @generated from field: string access_token = 2;
|
|
777
|
-
*/
|
|
778
|
-
accessToken: string;
|
|
779
|
-
/**
|
|
780
|
-
* Expiry timestamp so callers can refresh proactively before 401s.
|
|
781
|
-
*
|
|
782
|
-
* @generated from field: int64 access_token_expires_unix_time_ms = 3;
|
|
783
|
-
*/
|
|
784
|
-
accessTokenExpiresUnixTimeMs: bigint;
|
|
785
|
-
/**
|
|
786
|
-
* Repository names/paths this token is authorized to access.
|
|
787
|
-
*
|
|
788
|
-
* @generated from field: repeated string repositories = 4;
|
|
789
|
-
*/
|
|
790
|
-
repositories: string[];
|
|
791
|
-
};
|
|
792
|
-
/**
|
|
793
|
-
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenResponse.
|
|
794
|
-
* Use `create(GithubInstallationAccessTokenResponseSchema)` to create a new message.
|
|
795
|
-
*/
|
|
796
|
-
export declare const GithubInstallationAccessTokenResponseSchema: GenMessage<GithubInstallationAccessTokenResponse>;
|
|
797
770
|
/**
|
|
798
771
|
* @generated from enum companyhelm.runner.v1.AgentSdkStatus
|
|
799
772
|
*/
|
|
@@ -1020,25 +993,4 @@ export declare const AgentRunnerControlService: GenService<{
|
|
|
1020
993
|
input: typeof ClientMessageSchema;
|
|
1021
994
|
output: typeof ServerMessageSchema;
|
|
1022
995
|
};
|
|
1023
|
-
/**
|
|
1024
|
-
* list of GitHub App installations already associated with it.
|
|
1025
|
-
*
|
|
1026
|
-
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.ListGithubInstallations
|
|
1027
|
-
*/
|
|
1028
|
-
listGithubInstallations: {
|
|
1029
|
-
methodKind: "unary";
|
|
1030
|
-
input: typeof ListGithubInstallationsRequestSchema;
|
|
1031
|
-
output: typeof ListGithubInstallationsResponseSchema;
|
|
1032
|
-
};
|
|
1033
|
-
/**
|
|
1034
|
-
* Mints a short-lived token for one installation so the runner can call
|
|
1035
|
-
* GitHub APIs without storing long-lived credentials.
|
|
1036
|
-
*
|
|
1037
|
-
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.GithubInstallationAccessToken
|
|
1038
|
-
*/
|
|
1039
|
-
githubInstallationAccessToken: {
|
|
1040
|
-
methodKind: "unary";
|
|
1041
|
-
input: typeof GithubInstallationAccessTokenRequestSchema;
|
|
1042
|
-
output: typeof GithubInstallationAccessTokenResponseSchema;
|
|
1043
|
-
};
|
|
1044
996
|
}>;
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
// @generated from file companyhelm/runner/v1/runner.proto (package companyhelm.runner.v1, syntax proto3)
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.AgentRunnerControlService = exports.ThreadMcpAuthTypeSchema = exports.ThreadMcpAuthType = exports.CodexAuthTypeSchema = exports.CodexAuthType = exports.ItemTypeSchema = exports.ItemType = exports.ItemStatusSchema = exports.ItemStatus = exports.TurnStatusSchema = exports.TurnStatus = exports.ThreadStatusSchema = exports.ThreadStatus = exports.AgentSdkStatusSchema = exports.AgentSdkStatus = exports.
|
|
6
|
+
exports.AgentRunnerControlService = exports.ThreadMcpAuthTypeSchema = exports.ThreadMcpAuthType = exports.CodexAuthTypeSchema = exports.CodexAuthType = exports.ItemTypeSchema = exports.ItemType = exports.ItemStatusSchema = exports.ItemStatus = exports.TurnStatusSchema = exports.TurnStatus = exports.ThreadStatusSchema = exports.ThreadStatus = exports.AgentSdkStatusSchema = exports.AgentSdkStatus = exports.InterruptTurnRequestSchema = exports.CreateUserMessageRequestSchema = exports.DeleteThreadRequestSchema = exports.ThreadGitSkillSchema = exports.ThreadGitSkillPackageSchema = exports.ThreadMcpServerSchema = exports.ThreadMcpStreamableHttpConfigSchema = exports.ThreadMcpStdioConfigSchema = exports.ThreadMcpHeaderSchema = exports.CreateThreadRequestSchema = exports.HeartbeatRequestSchema = exports.CodexConfigurationRequestSchema = exports.ServerMessageSchema = exports.CommandExecutionItemSchema = exports.ItemUpdateSchema = exports.TurnUpdateSchema = exports.ThreadNameUpdateSchema = exports.ThreadUpdateSchema = exports.RequestErrorSchema = exports.HeartbeatResponseSchema = exports.CodexDeviceCodeSchema = exports.ThreadTokenUsageUpdateSchema = exports.TokenUsageBreakdownSchema = exports.ClientMessageSchema = exports.RegisterRunnerResponseSchema = exports.ModelReasoningSchema = exports.LLMModelSchema = exports.AgentSdkSchema = exports.RegisterRunnerRequestSchema = exports.file_companyhelm_runner_v1_runner = void 0;
|
|
7
7
|
const codegenv2_1 = require("@bufbuild/protobuf/codegenv2");
|
|
8
8
|
const validate_pb_1 = require("../../../buf/validate/validate_pb");
|
|
9
9
|
/**
|
|
10
10
|
* Describes the file companyhelm/runner/v1/runner.proto.
|
|
11
11
|
*/
|
|
12
|
-
exports.file_companyhelm_runner_v1_runner = (0, codegenv2_1.fileDesc)("
|
|
12
|
+
exports.file_companyhelm_runner_v1_runner = (0, codegenv2_1.fileDesc)("CiJjb21wYW55aGVsbS9ydW5uZXIvdjEvcnVubmVyLnByb3RvEhVjb21wYW55aGVsbS5ydW5uZXIudjEiTAoVUmVnaXN0ZXJSdW5uZXJSZXF1ZXN0EjMKCmFnZW50X3Nka3MYASADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuQWdlbnRTZGsitwEKCEFnZW50U2RrEhUKBG5hbWUYASABKAlCB7pIBHICEAESLwoGbW9kZWxzGAIgAygLMh8uY29tcGFueWhlbG0ucnVubmVyLnYxLkxMTU1vZGVsEjUKBnN0YXR1cxgDIAEoDjIlLmNvbXBhbnloZWxtLnJ1bm5lci52MS5BZ2VudFNka1N0YXR1cxIaCg1lcnJvcl9tZXNzYWdlGAQgASgJSACIAQFCEAoOX2Vycm9yX21lc3NhZ2UiNAoITExNTW9kZWwSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIRCglyZWFzb25pbmcYAiADKAkiJwoOTW9kZWxSZWFzb25pbmcSFQoEbmFtZRgBIAEoCUIHukgEcgIQASIYChZSZWdpc3Rlcl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IWChJFWElURURfUkVWSUVXX01PREUQDRIWChJDT05URVhUX0NPTVBBQ1RJT04QDipuCg1Db2RleEF1dGhUeXBlEh8KG0NPREVYX0FVVEhfVFlQRV9VTlNQRUNJRklFRBAAEh8KG0NPREVYX0FVVEhfVFlQRV9ERVZJQ0VfQ09ERRABEhsKF0NPREVYX0FVVEhfVFlQRV9BUElfS0VZEAIqfwoRVGhyZWFkTWNwQXV0aFR5cGUSJAogVEhSRUFEX01DUF9BVVRIX1RZUEVfVU5TUEVDSUZJRUQQABIdChlUSFJFQURfTUNQX0FVVEhfVFlQRV9OT05FEAESJQohVEhSRUFEX01DUF9BVVRIX1RZUEVfQkVBUkVSX1RPS0VOEAIy7AEKGUFnZW50UnVubmVyQ29udHJvbFNlcnZpY2USbQoOUmVnaXN0ZXJSdW5uZXISLC5jb21wYW55aGVsbS5ydW5uZXIudjEuUmVnaXN0ZXJSdW5uZXJSZXF1ZXN0Gi0uY29tcGFueWhlbG0ucnVubmVyLnYxLlJlZ2lzdGVyUnVubmVyUmVzcG9uc2USYAoOQ29udHJvbENoYW5uZWwSJC5jb21wYW55aGVsbS5ydW5uZXIudjEuQ2xpZW50TWVzc2FnZRokLmNvbXBhbnloZWxtLnJ1bm5lci52MS5TZXJ2ZXJNZXNzYWdlKAEwAWIGcHJvdG8z", [validate_pb_1.file_buf_validate_validate]);
|
|
13
13
|
/**
|
|
14
14
|
* Describes the message companyhelm.runner.v1.RegisterRunnerRequest.
|
|
15
15
|
* Use `create(RegisterRunnerRequestSchema)` to create a new message.
|
|
@@ -40,136 +40,121 @@ exports.RegisterRunnerResponseSchema = (0, codegenv2_1.messageDesc)(exports.file
|
|
|
40
40
|
* Use `create(ClientMessageSchema)` to create a new message.
|
|
41
41
|
*/
|
|
42
42
|
exports.ClientMessageSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 5);
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message companyhelm.runner.v1.TokenUsageBreakdown.
|
|
45
|
+
* Use `create(TokenUsageBreakdownSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
exports.TokenUsageBreakdownSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 6);
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message companyhelm.runner.v1.ThreadTokenUsageUpdate.
|
|
50
|
+
* Use `create(ThreadTokenUsageUpdateSchema)` to create a new message.
|
|
51
|
+
*/
|
|
52
|
+
exports.ThreadTokenUsageUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 7);
|
|
43
53
|
/**
|
|
44
54
|
* Describes the message companyhelm.runner.v1.CodexDeviceCode.
|
|
45
55
|
* Use `create(CodexDeviceCodeSchema)` to create a new message.
|
|
46
56
|
*/
|
|
47
|
-
exports.CodexDeviceCodeSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
57
|
+
exports.CodexDeviceCodeSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 8);
|
|
48
58
|
/**
|
|
49
59
|
* Describes the message companyhelm.runner.v1.HeartbeatResponse.
|
|
50
60
|
* Use `create(HeartbeatResponseSchema)` to create a new message.
|
|
51
61
|
*/
|
|
52
|
-
exports.HeartbeatResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
62
|
+
exports.HeartbeatResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 9);
|
|
53
63
|
/**
|
|
54
64
|
* Describes the message companyhelm.runner.v1.RequestError.
|
|
55
65
|
* Use `create(RequestErrorSchema)` to create a new message.
|
|
56
66
|
*/
|
|
57
|
-
exports.RequestErrorSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
67
|
+
exports.RequestErrorSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 10);
|
|
58
68
|
/**
|
|
59
69
|
* Describes the message companyhelm.runner.v1.ThreadUpdate.
|
|
60
70
|
* Use `create(ThreadUpdateSchema)` to create a new message.
|
|
61
71
|
*/
|
|
62
|
-
exports.ThreadUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
72
|
+
exports.ThreadUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 11);
|
|
63
73
|
/**
|
|
64
74
|
* Describes the message companyhelm.runner.v1.ThreadNameUpdate.
|
|
65
75
|
* Use `create(ThreadNameUpdateSchema)` to create a new message.
|
|
66
76
|
*/
|
|
67
|
-
exports.ThreadNameUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
77
|
+
exports.ThreadNameUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 12);
|
|
68
78
|
/**
|
|
69
79
|
* Describes the message companyhelm.runner.v1.TurnUpdate.
|
|
70
80
|
* Use `create(TurnUpdateSchema)` to create a new message.
|
|
71
81
|
*/
|
|
72
|
-
exports.TurnUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
82
|
+
exports.TurnUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 13);
|
|
73
83
|
/**
|
|
74
84
|
* Describes the message companyhelm.runner.v1.ItemUpdate.
|
|
75
85
|
* Use `create(ItemUpdateSchema)` to create a new message.
|
|
76
86
|
*/
|
|
77
|
-
exports.ItemUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
87
|
+
exports.ItemUpdateSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 14);
|
|
78
88
|
/**
|
|
79
89
|
* Describes the message companyhelm.runner.v1.CommandExecutionItem.
|
|
80
90
|
* Use `create(CommandExecutionItemSchema)` to create a new message.
|
|
81
91
|
*/
|
|
82
|
-
exports.CommandExecutionItemSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
92
|
+
exports.CommandExecutionItemSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 15);
|
|
83
93
|
/**
|
|
84
94
|
* Describes the message companyhelm.runner.v1.ServerMessage.
|
|
85
95
|
* Use `create(ServerMessageSchema)` to create a new message.
|
|
86
96
|
*/
|
|
87
|
-
exports.ServerMessageSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
97
|
+
exports.ServerMessageSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 16);
|
|
88
98
|
/**
|
|
89
99
|
* Describes the message companyhelm.runner.v1.CodexConfigurationRequest.
|
|
90
100
|
* Use `create(CodexConfigurationRequestSchema)` to create a new message.
|
|
91
101
|
*/
|
|
92
|
-
exports.CodexConfigurationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
102
|
+
exports.CodexConfigurationRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 17);
|
|
93
103
|
/**
|
|
94
104
|
* Describes the message companyhelm.runner.v1.HeartbeatRequest.
|
|
95
105
|
* Use `create(HeartbeatRequestSchema)` to create a new message.
|
|
96
106
|
*/
|
|
97
|
-
exports.HeartbeatRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
107
|
+
exports.HeartbeatRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 18);
|
|
98
108
|
/**
|
|
99
109
|
* Describes the message companyhelm.runner.v1.CreateThreadRequest.
|
|
100
110
|
* Use `create(CreateThreadRequestSchema)` to create a new message.
|
|
101
111
|
*/
|
|
102
|
-
exports.CreateThreadRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
112
|
+
exports.CreateThreadRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 19);
|
|
103
113
|
/**
|
|
104
114
|
* Describes the message companyhelm.runner.v1.ThreadMcpHeader.
|
|
105
115
|
* Use `create(ThreadMcpHeaderSchema)` to create a new message.
|
|
106
116
|
*/
|
|
107
|
-
exports.ThreadMcpHeaderSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
117
|
+
exports.ThreadMcpHeaderSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 20);
|
|
108
118
|
/**
|
|
109
119
|
* Describes the message companyhelm.runner.v1.ThreadMcpStdioConfig.
|
|
110
120
|
* Use `create(ThreadMcpStdioConfigSchema)` to create a new message.
|
|
111
121
|
*/
|
|
112
|
-
exports.ThreadMcpStdioConfigSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
122
|
+
exports.ThreadMcpStdioConfigSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 21);
|
|
113
123
|
/**
|
|
114
124
|
* Describes the message companyhelm.runner.v1.ThreadMcpStreamableHttpConfig.
|
|
115
125
|
* Use `create(ThreadMcpStreamableHttpConfigSchema)` to create a new message.
|
|
116
126
|
*/
|
|
117
|
-
exports.ThreadMcpStreamableHttpConfigSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
127
|
+
exports.ThreadMcpStreamableHttpConfigSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 22);
|
|
118
128
|
/**
|
|
119
129
|
* Describes the message companyhelm.runner.v1.ThreadMcpServer.
|
|
120
130
|
* Use `create(ThreadMcpServerSchema)` to create a new message.
|
|
121
131
|
*/
|
|
122
|
-
exports.ThreadMcpServerSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
132
|
+
exports.ThreadMcpServerSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 23);
|
|
123
133
|
/**
|
|
124
134
|
* Describes the message companyhelm.runner.v1.ThreadGitSkillPackage.
|
|
125
135
|
* Use `create(ThreadGitSkillPackageSchema)` to create a new message.
|
|
126
136
|
*/
|
|
127
|
-
exports.ThreadGitSkillPackageSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
137
|
+
exports.ThreadGitSkillPackageSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 24);
|
|
128
138
|
/**
|
|
129
139
|
* Describes the message companyhelm.runner.v1.ThreadGitSkill.
|
|
130
140
|
* Use `create(ThreadGitSkillSchema)` to create a new message.
|
|
131
141
|
*/
|
|
132
|
-
exports.ThreadGitSkillSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
142
|
+
exports.ThreadGitSkillSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 25);
|
|
133
143
|
/**
|
|
134
144
|
* Describes the message companyhelm.runner.v1.DeleteThreadRequest.
|
|
135
145
|
* Use `create(DeleteThreadRequestSchema)` to create a new message.
|
|
136
146
|
*/
|
|
137
|
-
exports.DeleteThreadRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
147
|
+
exports.DeleteThreadRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 26);
|
|
138
148
|
/**
|
|
139
149
|
* Describes the message companyhelm.runner.v1.CreateUserMessageRequest.
|
|
140
150
|
* Use `create(CreateUserMessageRequestSchema)` to create a new message.
|
|
141
151
|
*/
|
|
142
|
-
exports.CreateUserMessageRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
152
|
+
exports.CreateUserMessageRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 27);
|
|
143
153
|
/**
|
|
144
154
|
* Describes the message companyhelm.runner.v1.InterruptTurnRequest.
|
|
145
155
|
* Use `create(InterruptTurnRequestSchema)` to create a new message.
|
|
146
156
|
*/
|
|
147
|
-
exports.InterruptTurnRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner,
|
|
148
|
-
/**
|
|
149
|
-
* Describes the message companyhelm.runner.v1.GithubInstallation.
|
|
150
|
-
* Use `create(GithubInstallationSchema)` to create a new message.
|
|
151
|
-
*/
|
|
152
|
-
exports.GithubInstallationSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 27);
|
|
153
|
-
/**
|
|
154
|
-
* Describes the message companyhelm.runner.v1.ListGithubInstallationsRequest.
|
|
155
|
-
* Use `create(ListGithubInstallationsRequestSchema)` to create a new message.
|
|
156
|
-
*/
|
|
157
|
-
exports.ListGithubInstallationsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 28);
|
|
158
|
-
/**
|
|
159
|
-
* Describes the message companyhelm.runner.v1.ListGithubInstallationsResponse.
|
|
160
|
-
* Use `create(ListGithubInstallationsResponseSchema)` to create a new message.
|
|
161
|
-
*/
|
|
162
|
-
exports.ListGithubInstallationsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 29);
|
|
163
|
-
/**
|
|
164
|
-
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenRequest.
|
|
165
|
-
* Use `create(GithubInstallationAccessTokenRequestSchema)` to create a new message.
|
|
166
|
-
*/
|
|
167
|
-
exports.GithubInstallationAccessTokenRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 30);
|
|
168
|
-
/**
|
|
169
|
-
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenResponse.
|
|
170
|
-
* Use `create(GithubInstallationAccessTokenResponseSchema)` to create a new message.
|
|
171
|
-
*/
|
|
172
|
-
exports.GithubInstallationAccessTokenResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 31);
|
|
157
|
+
exports.InterruptTurnRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 28);
|
|
173
158
|
/**
|
|
174
159
|
* @generated from enum companyhelm.runner.v1.AgentSdkStatus
|
|
175
160
|
*/
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -15,3 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./gen/companyhelm/runner/v1/runner_pb"), exports);
|
|
18
|
+
__exportStar(require("./gen/companyhelm/agent/v1/actors_pb"), exports);
|
|
19
|
+
__exportStar(require("./gen/companyhelm/agent/v1/agent_pb"), exports);
|
|
20
|
+
__exportStar(require("./gen/companyhelm/agent/v1/questions_pb"), exports);
|
|
@@ -15,11 +15,6 @@ service AgentRunnerControlService {
|
|
|
15
15
|
// Server pushes work; runner pushes updates/results.
|
|
16
16
|
// Client initiated requests should have their own rpc call.
|
|
17
17
|
rpc ControlChannel(stream ClientMessage) returns (stream ServerMessage);
|
|
18
|
-
// list of GitHub App installations already associated with it.
|
|
19
|
-
rpc ListGithubInstallations(ListGithubInstallationsRequest) returns (ListGithubInstallationsResponse);
|
|
20
|
-
// Mints a short-lived token for one installation so the runner can call
|
|
21
|
-
// GitHub APIs without storing long-lived credentials.
|
|
22
|
-
rpc GithubInstallationAccessToken(GithubInstallationAccessTokenRequest) returns (GithubInstallationAccessTokenResponse);
|
|
23
18
|
}
|
|
24
19
|
|
|
25
20
|
/************************************************/
|
|
@@ -82,9 +77,26 @@ message ClientMessage {
|
|
|
82
77
|
HeartbeatResponse heartbeat_response = 9;
|
|
83
78
|
AgentSdk agent_sdk_update = 10;
|
|
84
79
|
CodexDeviceCode codex_device_code = 11;
|
|
80
|
+
ThreadTokenUsageUpdate thread_token_usage_update = 12;
|
|
85
81
|
}
|
|
86
82
|
}
|
|
87
83
|
|
|
84
|
+
message TokenUsageBreakdown {
|
|
85
|
+
int64 input_tokens = 1 [(buf.validate.field).int64.gte = 0];
|
|
86
|
+
int64 cached_input_tokens = 2 [(buf.validate.field).int64.gte = 0];
|
|
87
|
+
int64 output_tokens = 3 [(buf.validate.field).int64.gte = 0];
|
|
88
|
+
int64 reasoning_output_tokens = 4 [(buf.validate.field).int64.gte = 0];
|
|
89
|
+
int64 total_tokens = 5 [(buf.validate.field).int64.gte = 0];
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
message ThreadTokenUsageUpdate {
|
|
93
|
+
string thread_id = 1 [(buf.validate.field).string.min_len = 1];
|
|
94
|
+
string sdk_turn_id = 2 [(buf.validate.field).string.min_len = 1];
|
|
95
|
+
TokenUsageBreakdown total_usage = 3;
|
|
96
|
+
TokenUsageBreakdown last_usage = 4;
|
|
97
|
+
optional int64 model_context_window = 5 [(buf.validate.field).int64.gte = 0];
|
|
98
|
+
}
|
|
99
|
+
|
|
88
100
|
message CodexDeviceCode {
|
|
89
101
|
string device_code = 1 [(buf.validate.field).string.min_len = 1];
|
|
90
102
|
}
|
|
@@ -283,37 +295,3 @@ message InterruptTurnRequest {
|
|
|
283
295
|
// Thread identifier
|
|
284
296
|
string thread_id = 2 [(buf.validate.field).string.min_len = 1];
|
|
285
297
|
}
|
|
286
|
-
|
|
287
|
-
/************************************************/
|
|
288
|
-
/* GITHUB INSTALLATION PROTOCOL */
|
|
289
|
-
/************************************************/
|
|
290
|
-
|
|
291
|
-
message GithubInstallation {
|
|
292
|
-
// GitHub App installation identifier stored on backend.
|
|
293
|
-
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
294
|
-
}
|
|
295
|
-
|
|
296
|
-
// Empty because runner scope is inferred from authenticated caller.
|
|
297
|
-
message ListGithubInstallationsRequest {
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
message ListGithubInstallationsResponse {
|
|
301
|
-
// Installations currently linked to this runner/account context.
|
|
302
|
-
repeated GithubInstallation installations = 1;
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
message GithubInstallationAccessTokenRequest {
|
|
306
|
-
// Installation for which the runner is requesting a fresh token.
|
|
307
|
-
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
message GithubInstallationAccessTokenResponse {
|
|
311
|
-
// Echo of requested installation for client-side correlation.
|
|
312
|
-
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
313
|
-
// Short-lived GitHub access token; treat as secret and do not persist.
|
|
314
|
-
string access_token = 2 [(buf.validate.field).string.min_len = 1];
|
|
315
|
-
// Expiry timestamp so callers can refresh proactively before 401s.
|
|
316
|
-
int64 access_token_expires_unix_time_ms = 3;
|
|
317
|
-
// Repository names/paths this token is authorized to access.
|
|
318
|
-
repeated string repositories = 4 [(buf.validate.field).repeated.items.string.min_len = 1];
|
|
319
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@companyhelm/protos",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.26",
|
|
4
4
|
"description": "Buf-generated JavaScript bindings for CompanyHelm protobuf definitions.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"buf:generate": "buf generate",
|
|
29
29
|
"compile": "tsc -p tsconfig.generated.json",
|
|
30
30
|
"copy:protos": "node scripts/copy-protos.mjs",
|
|
31
|
+
"prepare": "npm run build",
|
|
31
32
|
"build": "npm run clean && npm run buf:generate && npm run compile && npm run copy:protos",
|
|
32
33
|
"verify": "npm run buf:lint && npm run build && npm pack --dry-run"
|
|
33
34
|
},
|