@companyhelm/protos 0.2.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -214,6 +214,10 @@ export type TurnUpdate = Message<"companyhelm.runner.v1.TurnUpdate"> & {
|
|
|
214
214
|
* @generated from field: companyhelm.runner.v1.TurnStatus status = 2;
|
|
215
215
|
*/
|
|
216
216
|
status: TurnStatus;
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: string thread_id = 3;
|
|
219
|
+
*/
|
|
220
|
+
threadId: string;
|
|
217
221
|
};
|
|
218
222
|
/**
|
|
219
223
|
* Describes the message companyhelm.runner.v1.TurnUpdate.
|
|
@@ -250,6 +254,14 @@ export type ItemUpdate = Message<"companyhelm.runner.v1.ItemUpdate"> & {
|
|
|
250
254
|
* @generated from field: optional companyhelm.runner.v1.CommandExecutionItem command_execution_item = 7;
|
|
251
255
|
*/
|
|
252
256
|
commandExecutionItem?: CommandExecutionItem;
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: string thread_id = 8;
|
|
259
|
+
*/
|
|
260
|
+
threadId: string;
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: string sdk_turn_id = 9;
|
|
263
|
+
*/
|
|
264
|
+
sdkTurnId: string;
|
|
253
265
|
};
|
|
254
266
|
/**
|
|
255
267
|
* Describes the message companyhelm.runner.v1.ItemUpdate.
|
|
@@ -547,9 +559,9 @@ export type InterruptTurnRequest = Message<"companyhelm.runner.v1.InterruptTurnR
|
|
|
547
559
|
*/
|
|
548
560
|
export declare const InterruptTurnRequestSchema: GenMessage<InterruptTurnRequest>;
|
|
549
561
|
/**
|
|
550
|
-
* @generated from message companyhelm.runner.v1.
|
|
562
|
+
* @generated from message companyhelm.runner.v1.GithubInstallation
|
|
551
563
|
*/
|
|
552
|
-
export type
|
|
564
|
+
export type GithubInstallation = Message<"companyhelm.runner.v1.GithubInstallation"> & {
|
|
553
565
|
/**
|
|
554
566
|
* GitHub App installation identifier stored on backend.
|
|
555
567
|
*
|
|
@@ -558,41 +570,41 @@ export type GithubInstallationForRunner = Message<"companyhelm.runner.v1.GithubI
|
|
|
558
570
|
installationId: bigint;
|
|
559
571
|
};
|
|
560
572
|
/**
|
|
561
|
-
* Describes the message companyhelm.runner.v1.
|
|
562
|
-
* Use `create(
|
|
573
|
+
* Describes the message companyhelm.runner.v1.GithubInstallation.
|
|
574
|
+
* Use `create(GithubInstallationSchema)` to create a new message.
|
|
563
575
|
*/
|
|
564
|
-
export declare const
|
|
576
|
+
export declare const GithubInstallationSchema: GenMessage<GithubInstallation>;
|
|
565
577
|
/**
|
|
566
578
|
* Empty because runner scope is inferred from authenticated caller.
|
|
567
579
|
*
|
|
568
|
-
* @generated from message companyhelm.runner.v1.
|
|
580
|
+
* @generated from message companyhelm.runner.v1.ListGithubInstallationsRequest
|
|
569
581
|
*/
|
|
570
|
-
export type
|
|
582
|
+
export type ListGithubInstallationsRequest = Message<"companyhelm.runner.v1.ListGithubInstallationsRequest"> & {};
|
|
571
583
|
/**
|
|
572
|
-
* Describes the message companyhelm.runner.v1.
|
|
573
|
-
* Use `create(
|
|
584
|
+
* Describes the message companyhelm.runner.v1.ListGithubInstallationsRequest.
|
|
585
|
+
* Use `create(ListGithubInstallationsRequestSchema)` to create a new message.
|
|
574
586
|
*/
|
|
575
|
-
export declare const
|
|
587
|
+
export declare const ListGithubInstallationsRequestSchema: GenMessage<ListGithubInstallationsRequest>;
|
|
576
588
|
/**
|
|
577
|
-
* @generated from message companyhelm.runner.v1.
|
|
589
|
+
* @generated from message companyhelm.runner.v1.ListGithubInstallationsResponse
|
|
578
590
|
*/
|
|
579
|
-
export type
|
|
591
|
+
export type ListGithubInstallationsResponse = Message<"companyhelm.runner.v1.ListGithubInstallationsResponse"> & {
|
|
580
592
|
/**
|
|
581
593
|
* Installations currently linked to this runner/account context.
|
|
582
594
|
*
|
|
583
|
-
* @generated from field: repeated companyhelm.runner.v1.
|
|
595
|
+
* @generated from field: repeated companyhelm.runner.v1.GithubInstallation installations = 1;
|
|
584
596
|
*/
|
|
585
|
-
installations:
|
|
597
|
+
installations: GithubInstallation[];
|
|
586
598
|
};
|
|
587
599
|
/**
|
|
588
|
-
* Describes the message companyhelm.runner.v1.
|
|
589
|
-
* Use `create(
|
|
600
|
+
* Describes the message companyhelm.runner.v1.ListGithubInstallationsResponse.
|
|
601
|
+
* Use `create(ListGithubInstallationsResponseSchema)` to create a new message.
|
|
590
602
|
*/
|
|
591
|
-
export declare const
|
|
603
|
+
export declare const ListGithubInstallationsResponseSchema: GenMessage<ListGithubInstallationsResponse>;
|
|
592
604
|
/**
|
|
593
|
-
* @generated from message companyhelm.runner.v1.
|
|
605
|
+
* @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenRequest
|
|
594
606
|
*/
|
|
595
|
-
export type
|
|
607
|
+
export type GithubInstallationAccessTokenRequest = Message<"companyhelm.runner.v1.GithubInstallationAccessTokenRequest"> & {
|
|
596
608
|
/**
|
|
597
609
|
* Installation for which the runner is requesting a fresh token.
|
|
598
610
|
*
|
|
@@ -601,14 +613,14 @@ export type GetGithubInstallationAccessTokenForRunnerRequest = Message<"companyh
|
|
|
601
613
|
installationId: bigint;
|
|
602
614
|
};
|
|
603
615
|
/**
|
|
604
|
-
* Describes the message companyhelm.runner.v1.
|
|
605
|
-
* Use `create(
|
|
616
|
+
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenRequest.
|
|
617
|
+
* Use `create(GithubInstallationAccessTokenRequestSchema)` to create a new message.
|
|
606
618
|
*/
|
|
607
|
-
export declare const
|
|
619
|
+
export declare const GithubInstallationAccessTokenRequestSchema: GenMessage<GithubInstallationAccessTokenRequest>;
|
|
608
620
|
/**
|
|
609
|
-
* @generated from message companyhelm.runner.v1.
|
|
621
|
+
* @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenResponse
|
|
610
622
|
*/
|
|
611
|
-
export type
|
|
623
|
+
export type GithubInstallationAccessTokenResponse = Message<"companyhelm.runner.v1.GithubInstallationAccessTokenResponse"> & {
|
|
612
624
|
/**
|
|
613
625
|
* Echo of requested installation for client-side correlation.
|
|
614
626
|
*
|
|
@@ -635,10 +647,10 @@ export type GetGithubInstallationAccessTokenForRunnerResponse = Message<"company
|
|
|
635
647
|
repositories: string[];
|
|
636
648
|
};
|
|
637
649
|
/**
|
|
638
|
-
* Describes the message companyhelm.runner.v1.
|
|
639
|
-
* Use `create(
|
|
650
|
+
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenResponse.
|
|
651
|
+
* Use `create(GithubInstallationAccessTokenResponseSchema)` to create a new message.
|
|
640
652
|
*/
|
|
641
|
-
export declare const
|
|
653
|
+
export declare const GithubInstallationAccessTokenResponseSchema: GenMessage<GithubInstallationAccessTokenResponse>;
|
|
642
654
|
/**
|
|
643
655
|
* @generated from enum companyhelm.runner.v1.AgentStatus
|
|
644
656
|
*/
|
|
@@ -805,24 +817,24 @@ export declare const AgentRunnerControlService: GenService<{
|
|
|
805
817
|
output: typeof ServerMessageSchema;
|
|
806
818
|
};
|
|
807
819
|
/**
|
|
808
|
-
*
|
|
820
|
+
* list of GitHub App installations already associated with it.
|
|
809
821
|
*
|
|
810
|
-
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.
|
|
822
|
+
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.ListGithubInstallations
|
|
811
823
|
*/
|
|
812
|
-
|
|
824
|
+
listGithubInstallations: {
|
|
813
825
|
methodKind: "unary";
|
|
814
|
-
input: typeof
|
|
815
|
-
output: typeof
|
|
826
|
+
input: typeof ListGithubInstallationsRequestSchema;
|
|
827
|
+
output: typeof ListGithubInstallationsResponseSchema;
|
|
816
828
|
};
|
|
817
829
|
/**
|
|
818
830
|
* Mints a short-lived token for one installation so the runner can call
|
|
819
831
|
* GitHub APIs without storing long-lived credentials.
|
|
820
832
|
*
|
|
821
|
-
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.
|
|
833
|
+
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.GithubInstallationAccessToken
|
|
822
834
|
*/
|
|
823
|
-
|
|
835
|
+
githubInstallationAccessToken: {
|
|
824
836
|
methodKind: "unary";
|
|
825
|
-
input: typeof
|
|
826
|
-
output: typeof
|
|
837
|
+
input: typeof GithubInstallationAccessTokenRequestSchema;
|
|
838
|
+
output: typeof GithubInstallationAccessTokenResponseSchema;
|
|
827
839
|
};
|
|
828
840
|
}>;
|
|
@@ -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.SkillMpStatusSchema = exports.SkillMpStatus = exports.ItemTypeSchema = exports.ItemType = exports.ItemStatusSchema = exports.ItemStatus = exports.TurnStatusSchema = exports.TurnStatus = exports.ThreadStatusSchema = exports.ThreadStatus = exports.AgentStatusSchema = exports.AgentStatus = exports.
|
|
6
|
+
exports.AgentRunnerControlService = exports.SkillMpStatusSchema = exports.SkillMpStatus = exports.ItemTypeSchema = exports.ItemType = exports.ItemStatusSchema = exports.ItemStatus = exports.TurnStatusSchema = exports.TurnStatus = exports.ThreadStatusSchema = exports.ThreadStatus = exports.AgentStatusSchema = exports.AgentStatus = exports.GithubInstallationAccessTokenResponseSchema = exports.GithubInstallationAccessTokenRequestSchema = exports.ListGithubInstallationsResponseSchema = exports.ListGithubInstallationsRequestSchema = exports.GithubInstallationSchema = exports.InterruptTurnRequestSchema = exports.InstallSkillsMpRequestSchema = exports.CreateUserMessageRequestSchema = exports.DeleteThreadRequestSchema = exports.CreateThreadRequestSchema = exports.DeleteAgentRequestSchema = exports.CreateAgentRequestSchema = exports.ServerMessageSchema = exports.SkillMpUpdateSchema = exports.CommandExecutionItemSchema = exports.ItemUpdateSchema = exports.TurnUpdateSchema = exports.ThreadUpdateSchema = exports.AgentUpdateSchema = exports.RequestErrorSchema = 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)("CiJjb21wYW55aGVsbS9ydW5uZXIvdjEvcnVubmVyLnByb3RvEhVjb21wYW55aGVsbS5ydW5uZXIudjEiTAoVUmVnaXN0ZXJSdW5uZXJSZXF1ZXN0EjMKCmFnZW50X3Nka3MYASADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuQWdlbnRTZGsiUgoIQWdlbnRTZGsSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIvCgZtb2RlbHMYAiADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuTExNTW9kZWwiNAoITExNTW9kZWwSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIRCglyZWFzb25pbmcYAiADKAkiJwoOTW9kZWxSZWFzb25pbmcSFQoEbmFtZRgBIAEoCUIHukgEcgIQASIYChZSZWdpc3RlclJ1bm5lclJlc3BvbnNlIq8DCg1DbGllbnRNZXNzYWdlEhcKCnJlcXVlc3RfaWQYASABKAlIAYgBARI8Cg1yZXF1ZXN0X2Vycm9yGAIgASgLMiMuY29tcGFueWhlbG0ucnVubmVyLnYxLlJlcXVlc3RFcnJvckgAEjoKDGFnZW50X3VwZGF0ZRgDIAEoCzIiLmNvbXBhbnloZWxtLnJ1bm5lci52MS5BZ2VudFVwZGF0ZUgAEjwKDXRocmVhZF91cGRhdGUYBCABKAsyIy5jb21wYW55aGVsbS5ydW5uZXIudjEuVGhyZWFkVXBkYXRlSAASOAo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Eg0KCVJFQVNPTklORxAEEhUKEUNPTU1BTkRfRVhFQ1VUSU9OEAUqaAoNU2tpbGxNcFN0YXR1cxIbChdTS0lMTF9NUF9TVEFUVVNfVU5LTk9XThAAEh0KGVNLSUxMX01QX1NUQVRVU19JTlNUQUxMRUQQARIbChdTS0lMTF9NUF9TVEFUVVNfREVMRVRFRBACMpQEChlBZ2VudFJ1bm5lckNvbnRyb2xTZXJ2aWNlEm0KDlJlZ2lzdGVyUnVubmVyEiwuY29tcGFueWhlbG0ucnVubmVyLnYxLlJlZ2lzdGVyUnVubmVyUmVxdWVzdBotLmNvbXBhbnloZWxtLnJ1bm5lci52MS5SZWdpc3RlclJ1bm5lclJlc3BvbnNlEmAKDkNvbnRyb2xDaGFubmVsEiQuY29tcGFueWhlbG0ucnVubmVyLnYxLkNsaWVudE1lc3NhZ2UaJC5jb21wYW55aGVsbS5ydW5uZXIudjEuU2VydmVyTWVzc2FnZSgBMAESiAEKF0xpc3RHaXRodWJJbnN0YWxsYXRpb25zEjUuY29tcGFueWhlbG0ucnVubmVyLnYxLkxpc3RHaXRodWJJbnN0YWxsYXRpb25zUmVxdWVzdBo2LmNvbXBhbnloZWxtLnJ1bm5lci52MS5MaXN0R2l0aHViSW5zdGFsbGF0aW9uc1Jlc3BvbnNlEpoBCh1HaXRodWJJbnN0YWxsYXRpb25BY2Nlc3NUb2tlbhI7LmNvbXBhbnloZWxtLnJ1bm5lci52MS5HaXRodWJJbnN0YWxsYXRpb25BY2Nlc3NUb2tlblJlcXVlc3QaPC5jb21wYW55aGVsbS5ydW5uZXIudjEuR2l0aHViSW5zdGFsbGF0aW9uQWNjZXNzVG9rZW5SZXNwb25zZWIGcHJvdG8z", [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.
|
|
@@ -116,30 +116,30 @@ exports.InstallSkillsMpRequestSchema = (0, codegenv2_1.messageDesc)(exports.file
|
|
|
116
116
|
*/
|
|
117
117
|
exports.InterruptTurnRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 20);
|
|
118
118
|
/**
|
|
119
|
-
* Describes the message companyhelm.runner.v1.
|
|
120
|
-
* Use `create(
|
|
119
|
+
* Describes the message companyhelm.runner.v1.GithubInstallation.
|
|
120
|
+
* Use `create(GithubInstallationSchema)` to create a new message.
|
|
121
121
|
*/
|
|
122
|
-
exports.
|
|
122
|
+
exports.GithubInstallationSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 21);
|
|
123
123
|
/**
|
|
124
|
-
* Describes the message companyhelm.runner.v1.
|
|
125
|
-
* Use `create(
|
|
124
|
+
* Describes the message companyhelm.runner.v1.ListGithubInstallationsRequest.
|
|
125
|
+
* Use `create(ListGithubInstallationsRequestSchema)` to create a new message.
|
|
126
126
|
*/
|
|
127
|
-
exports.
|
|
127
|
+
exports.ListGithubInstallationsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 22);
|
|
128
128
|
/**
|
|
129
|
-
* Describes the message companyhelm.runner.v1.
|
|
130
|
-
* Use `create(
|
|
129
|
+
* Describes the message companyhelm.runner.v1.ListGithubInstallationsResponse.
|
|
130
|
+
* Use `create(ListGithubInstallationsResponseSchema)` to create a new message.
|
|
131
131
|
*/
|
|
132
|
-
exports.
|
|
132
|
+
exports.ListGithubInstallationsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 23);
|
|
133
133
|
/**
|
|
134
|
-
* Describes the message companyhelm.runner.v1.
|
|
135
|
-
* Use `create(
|
|
134
|
+
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenRequest.
|
|
135
|
+
* Use `create(GithubInstallationAccessTokenRequestSchema)` to create a new message.
|
|
136
136
|
*/
|
|
137
|
-
exports.
|
|
137
|
+
exports.GithubInstallationAccessTokenRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 24);
|
|
138
138
|
/**
|
|
139
|
-
* Describes the message companyhelm.runner.v1.
|
|
140
|
-
* Use `create(
|
|
139
|
+
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenResponse.
|
|
140
|
+
* Use `create(GithubInstallationAccessTokenResponseSchema)` to create a new message.
|
|
141
141
|
*/
|
|
142
|
-
exports.
|
|
142
|
+
exports.GithubInstallationAccessTokenResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 25);
|
|
143
143
|
/**
|
|
144
144
|
* @generated from enum companyhelm.runner.v1.AgentStatus
|
|
145
145
|
*/
|
|
@@ -15,11 +15,11 @@ 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
|
-
//
|
|
19
|
-
rpc
|
|
18
|
+
// list of GitHub App installations already associated with it.
|
|
19
|
+
rpc ListGithubInstallations(ListGithubInstallationsRequest) returns (ListGithubInstallationsResponse);
|
|
20
20
|
// Mints a short-lived token for one installation so the runner can call
|
|
21
21
|
// GitHub APIs without storing long-lived credentials.
|
|
22
|
-
rpc
|
|
22
|
+
rpc GithubInstallationAccessToken(GithubInstallationAccessTokenRequest) returns (GithubInstallationAccessTokenResponse);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/************************************************/
|
|
@@ -107,6 +107,7 @@ enum TurnStatus {
|
|
|
107
107
|
message TurnUpdate {
|
|
108
108
|
string sdk_turn_id = 1 [(buf.validate.field).string.min_len = 1];
|
|
109
109
|
TurnStatus status = 2;
|
|
110
|
+
string thread_id = 3 [(buf.validate.field).string.min_len = 1];
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
enum ItemStatus {
|
|
@@ -124,6 +125,8 @@ message ItemUpdate {
|
|
|
124
125
|
optional string text = 6;
|
|
125
126
|
// Command execution item, if type is COMMAND_EXECUTION
|
|
126
127
|
optional CommandExecutionItem command_execution_item = 7;
|
|
128
|
+
string thread_id = 8 [(buf.validate.field).string.min_len = 1];
|
|
129
|
+
string sdk_turn_id = 9 [(buf.validate.field).string.min_len = 1];
|
|
127
130
|
}
|
|
128
131
|
|
|
129
132
|
message CommandExecutionItem {
|
|
@@ -230,26 +233,26 @@ message InterruptTurnRequest {
|
|
|
230
233
|
/* GITHUB INSTALLATION PROTOCOL */
|
|
231
234
|
/************************************************/
|
|
232
235
|
|
|
233
|
-
message
|
|
236
|
+
message GithubInstallation {
|
|
234
237
|
// GitHub App installation identifier stored on backend.
|
|
235
238
|
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
236
239
|
}
|
|
237
240
|
|
|
238
241
|
// Empty because runner scope is inferred from authenticated caller.
|
|
239
|
-
message
|
|
242
|
+
message ListGithubInstallationsRequest {
|
|
240
243
|
}
|
|
241
244
|
|
|
242
|
-
message
|
|
245
|
+
message ListGithubInstallationsResponse {
|
|
243
246
|
// Installations currently linked to this runner/account context.
|
|
244
|
-
repeated
|
|
247
|
+
repeated GithubInstallation installations = 1;
|
|
245
248
|
}
|
|
246
249
|
|
|
247
|
-
message
|
|
250
|
+
message GithubInstallationAccessTokenRequest {
|
|
248
251
|
// Installation for which the runner is requesting a fresh token.
|
|
249
252
|
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
250
253
|
}
|
|
251
254
|
|
|
252
|
-
message
|
|
255
|
+
message GithubInstallationAccessTokenResponse {
|
|
253
256
|
// Echo of requested installation for client-side correlation.
|
|
254
257
|
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
255
258
|
// Short-lived GitHub access token; treat as secret and do not persist.
|