@companyhelm/protos 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -28,8 +28,9 @@ npm run build
|
|
|
28
28
|
|
|
29
29
|
Publishing to [@companyhelm/protos](https://www.npmjs.com/package/@companyhelm/protos) is automated by GitHub Actions:
|
|
30
30
|
|
|
31
|
-
```
|
|
31
|
+
```bash
|
|
32
32
|
npm version patch|minor|major
|
|
33
|
+
git push --follow-tags
|
|
33
34
|
```
|
|
34
35
|
|
|
35
36
|
Then push changes, this will publish a new package with the version already bumped.
|
|
@@ -353,6 +353,12 @@ export type ServerMessage = Message<"companyhelm.runner.v1.ServerMessage"> & {
|
|
|
353
353
|
*/
|
|
354
354
|
value: InstallSkillsMpRequest;
|
|
355
355
|
case: "installSkillsMpRequest";
|
|
356
|
+
} | {
|
|
357
|
+
/**
|
|
358
|
+
* @generated from field: companyhelm.runner.v1.InterruptTurnRequest interrupt_turn_request = 8;
|
|
359
|
+
*/
|
|
360
|
+
value: InterruptTurnRequest;
|
|
361
|
+
case: "interruptTurnRequest";
|
|
356
362
|
} | {
|
|
357
363
|
case: undefined;
|
|
358
364
|
value?: undefined;
|
|
@@ -519,9 +525,31 @@ export type InstallSkillsMpRequest = Message<"companyhelm.runner.v1.InstallSkill
|
|
|
519
525
|
*/
|
|
520
526
|
export declare const InstallSkillsMpRequestSchema: GenMessage<InstallSkillsMpRequest>;
|
|
521
527
|
/**
|
|
522
|
-
* @generated from message companyhelm.runner.v1.
|
|
528
|
+
* @generated from message companyhelm.runner.v1.InterruptTurnRequest
|
|
529
|
+
*/
|
|
530
|
+
export type InterruptTurnRequest = Message<"companyhelm.runner.v1.InterruptTurnRequest"> & {
|
|
531
|
+
/**
|
|
532
|
+
* Agent identifier that the turn was created for
|
|
533
|
+
*
|
|
534
|
+
* @generated from field: string agent_id = 1;
|
|
535
|
+
*/
|
|
536
|
+
agentId: string;
|
|
537
|
+
/**
|
|
538
|
+
* Thread identifier
|
|
539
|
+
*
|
|
540
|
+
* @generated from field: string thread_id = 2;
|
|
541
|
+
*/
|
|
542
|
+
threadId: string;
|
|
543
|
+
};
|
|
544
|
+
/**
|
|
545
|
+
* Describes the message companyhelm.runner.v1.InterruptTurnRequest.
|
|
546
|
+
* Use `create(InterruptTurnRequestSchema)` to create a new message.
|
|
547
|
+
*/
|
|
548
|
+
export declare const InterruptTurnRequestSchema: GenMessage<InterruptTurnRequest>;
|
|
549
|
+
/**
|
|
550
|
+
* @generated from message companyhelm.runner.v1.GithubInstallation
|
|
523
551
|
*/
|
|
524
|
-
export type
|
|
552
|
+
export type GithubInstallation = Message<"companyhelm.runner.v1.GithubInstallation"> & {
|
|
525
553
|
/**
|
|
526
554
|
* GitHub App installation identifier stored on backend.
|
|
527
555
|
*
|
|
@@ -530,41 +558,41 @@ export type GithubInstallationForRunner = Message<"companyhelm.runner.v1.GithubI
|
|
|
530
558
|
installationId: bigint;
|
|
531
559
|
};
|
|
532
560
|
/**
|
|
533
|
-
* Describes the message companyhelm.runner.v1.
|
|
534
|
-
* Use `create(
|
|
561
|
+
* Describes the message companyhelm.runner.v1.GithubInstallation.
|
|
562
|
+
* Use `create(GithubInstallationSchema)` to create a new message.
|
|
535
563
|
*/
|
|
536
|
-
export declare const
|
|
564
|
+
export declare const GithubInstallationSchema: GenMessage<GithubInstallation>;
|
|
537
565
|
/**
|
|
538
566
|
* Empty because runner scope is inferred from authenticated caller.
|
|
539
567
|
*
|
|
540
|
-
* @generated from message companyhelm.runner.v1.
|
|
568
|
+
* @generated from message companyhelm.runner.v1.ListGithubInstallationsRequest
|
|
541
569
|
*/
|
|
542
|
-
export type
|
|
570
|
+
export type ListGithubInstallationsRequest = Message<"companyhelm.runner.v1.ListGithubInstallationsRequest"> & {};
|
|
543
571
|
/**
|
|
544
|
-
* Describes the message companyhelm.runner.v1.
|
|
545
|
-
* Use `create(
|
|
572
|
+
* Describes the message companyhelm.runner.v1.ListGithubInstallationsRequest.
|
|
573
|
+
* Use `create(ListGithubInstallationsRequestSchema)` to create a new message.
|
|
546
574
|
*/
|
|
547
|
-
export declare const
|
|
575
|
+
export declare const ListGithubInstallationsRequestSchema: GenMessage<ListGithubInstallationsRequest>;
|
|
548
576
|
/**
|
|
549
|
-
* @generated from message companyhelm.runner.v1.
|
|
577
|
+
* @generated from message companyhelm.runner.v1.ListGithubInstallationsResponse
|
|
550
578
|
*/
|
|
551
|
-
export type
|
|
579
|
+
export type ListGithubInstallationsResponse = Message<"companyhelm.runner.v1.ListGithubInstallationsResponse"> & {
|
|
552
580
|
/**
|
|
553
581
|
* Installations currently linked to this runner/account context.
|
|
554
582
|
*
|
|
555
|
-
* @generated from field: repeated companyhelm.runner.v1.
|
|
583
|
+
* @generated from field: repeated companyhelm.runner.v1.GithubInstallation installations = 1;
|
|
556
584
|
*/
|
|
557
|
-
installations:
|
|
585
|
+
installations: GithubInstallation[];
|
|
558
586
|
};
|
|
559
587
|
/**
|
|
560
|
-
* Describes the message companyhelm.runner.v1.
|
|
561
|
-
* Use `create(
|
|
588
|
+
* Describes the message companyhelm.runner.v1.ListGithubInstallationsResponse.
|
|
589
|
+
* Use `create(ListGithubInstallationsResponseSchema)` to create a new message.
|
|
562
590
|
*/
|
|
563
|
-
export declare const
|
|
591
|
+
export declare const ListGithubInstallationsResponseSchema: GenMessage<ListGithubInstallationsResponse>;
|
|
564
592
|
/**
|
|
565
|
-
* @generated from message companyhelm.runner.v1.
|
|
593
|
+
* @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenRequest
|
|
566
594
|
*/
|
|
567
|
-
export type
|
|
595
|
+
export type GithubInstallationAccessTokenRequest = Message<"companyhelm.runner.v1.GithubInstallationAccessTokenRequest"> & {
|
|
568
596
|
/**
|
|
569
597
|
* Installation for which the runner is requesting a fresh token.
|
|
570
598
|
*
|
|
@@ -573,14 +601,14 @@ export type GetGithubInstallationAccessTokenForRunnerRequest = Message<"companyh
|
|
|
573
601
|
installationId: bigint;
|
|
574
602
|
};
|
|
575
603
|
/**
|
|
576
|
-
* Describes the message companyhelm.runner.v1.
|
|
577
|
-
* Use `create(
|
|
604
|
+
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenRequest.
|
|
605
|
+
* Use `create(GithubInstallationAccessTokenRequestSchema)` to create a new message.
|
|
578
606
|
*/
|
|
579
|
-
export declare const
|
|
607
|
+
export declare const GithubInstallationAccessTokenRequestSchema: GenMessage<GithubInstallationAccessTokenRequest>;
|
|
580
608
|
/**
|
|
581
|
-
* @generated from message companyhelm.runner.v1.
|
|
609
|
+
* @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenResponse
|
|
582
610
|
*/
|
|
583
|
-
export type
|
|
611
|
+
export type GithubInstallationAccessTokenResponse = Message<"companyhelm.runner.v1.GithubInstallationAccessTokenResponse"> & {
|
|
584
612
|
/**
|
|
585
613
|
* Echo of requested installation for client-side correlation.
|
|
586
614
|
*
|
|
@@ -607,10 +635,10 @@ export type GetGithubInstallationAccessTokenForRunnerResponse = Message<"company
|
|
|
607
635
|
repositories: string[];
|
|
608
636
|
};
|
|
609
637
|
/**
|
|
610
|
-
* Describes the message companyhelm.runner.v1.
|
|
611
|
-
* Use `create(
|
|
638
|
+
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenResponse.
|
|
639
|
+
* Use `create(GithubInstallationAccessTokenResponseSchema)` to create a new message.
|
|
612
640
|
*/
|
|
613
|
-
export declare const
|
|
641
|
+
export declare const GithubInstallationAccessTokenResponseSchema: GenMessage<GithubInstallationAccessTokenResponse>;
|
|
614
642
|
/**
|
|
615
643
|
* @generated from enum companyhelm.runner.v1.AgentStatus
|
|
616
644
|
*/
|
|
@@ -777,24 +805,24 @@ export declare const AgentRunnerControlService: GenService<{
|
|
|
777
805
|
output: typeof ServerMessageSchema;
|
|
778
806
|
};
|
|
779
807
|
/**
|
|
780
|
-
*
|
|
808
|
+
* list of GitHub App installations already associated with it.
|
|
781
809
|
*
|
|
782
|
-
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.
|
|
810
|
+
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.ListGithubInstallations
|
|
783
811
|
*/
|
|
784
|
-
|
|
812
|
+
listGithubInstallations: {
|
|
785
813
|
methodKind: "unary";
|
|
786
|
-
input: typeof
|
|
787
|
-
output: typeof
|
|
814
|
+
input: typeof ListGithubInstallationsRequestSchema;
|
|
815
|
+
output: typeof ListGithubInstallationsResponseSchema;
|
|
788
816
|
};
|
|
789
817
|
/**
|
|
790
818
|
* Mints a short-lived token for one installation so the runner can call
|
|
791
819
|
* GitHub APIs without storing long-lived credentials.
|
|
792
820
|
*
|
|
793
|
-
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.
|
|
821
|
+
* @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.GithubInstallationAccessToken
|
|
794
822
|
*/
|
|
795
|
-
|
|
823
|
+
githubInstallationAccessToken: {
|
|
796
824
|
methodKind: "unary";
|
|
797
|
-
input: typeof
|
|
798
|
-
output: typeof
|
|
825
|
+
input: typeof GithubInstallationAccessTokenRequestSchema;
|
|
826
|
+
output: typeof GithubInstallationAccessTokenResponseSchema;
|
|
799
827
|
};
|
|
800
828
|
}>;
|
|
@@ -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)("CiJjb21wYW55aGVsbS9ydW5uZXIvdjEvcnVubmVyLnByb3RvEhVjb21wYW55aGVsbS5ydW5uZXIudjEiTAoVUmVnaXN0ZXJSdW5uZXJSZXF1ZXN0EjMKCmFnZW50X3Nka3MYASADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuQWdlbnRTZGsiUgoIQWdlbnRTZGsSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIvCgZtb2RlbHMYAiADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuTExNTW9kZWwiNAoITExNTW9kZWwSFQoEbmFtZRg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EuR2l0aHViSW5zdGFsbGF0aW9uQWNjZXNzVG9rZW5SZXF1ZXN0GjwuY29tcGFueWhlbG0ucnVubmVyLnYxLkdpdGh1Ykluc3RhbGxhdGlvbkFjY2Vzc1Rva2VuUmVzcG9uc2ViBnByb3RvMw", [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.
|
|
@@ -111,30 +111,35 @@ exports.CreateUserMessageRequestSchema = (0, codegenv2_1.messageDesc)(exports.fi
|
|
|
111
111
|
*/
|
|
112
112
|
exports.InstallSkillsMpRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 19);
|
|
113
113
|
/**
|
|
114
|
-
* Describes the message companyhelm.runner.v1.
|
|
115
|
-
* Use `create(
|
|
114
|
+
* Describes the message companyhelm.runner.v1.InterruptTurnRequest.
|
|
115
|
+
* Use `create(InterruptTurnRequestSchema)` to create a new message.
|
|
116
116
|
*/
|
|
117
|
-
exports.
|
|
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
|
+
/**
|
|
139
|
+
* Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenResponse.
|
|
140
|
+
* Use `create(GithubInstallationAccessTokenResponseSchema)` to create a new message.
|
|
141
|
+
*/
|
|
142
|
+
exports.GithubInstallationAccessTokenResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 25);
|
|
138
143
|
/**
|
|
139
144
|
* @generated from enum companyhelm.runner.v1.AgentStatus
|
|
140
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
|
/************************************************/
|
|
@@ -164,6 +164,7 @@ message ServerMessage {
|
|
|
164
164
|
DeleteThreadRequest delete_thread_request = 5;
|
|
165
165
|
CreateUserMessageRequest create_user_message_request = 6;
|
|
166
166
|
InstallSkillsMpRequest install_skills_mp_request = 7;
|
|
167
|
+
InterruptTurnRequest interrupt_turn_request = 8;
|
|
167
168
|
}
|
|
168
169
|
}
|
|
169
170
|
|
|
@@ -218,30 +219,37 @@ message InstallSkillsMpRequest {
|
|
|
218
219
|
string package_name = 2 [(buf.validate.field).string.min_len = 1];
|
|
219
220
|
}
|
|
220
221
|
|
|
222
|
+
message InterruptTurnRequest {
|
|
223
|
+
// Agent identifier that the turn was created for
|
|
224
|
+
string agent_id = 1 [(buf.validate.field).string.min_len = 1];
|
|
225
|
+
// Thread identifier
|
|
226
|
+
string thread_id = 2 [(buf.validate.field).string.min_len = 1];
|
|
227
|
+
}
|
|
228
|
+
|
|
221
229
|
/************************************************/
|
|
222
230
|
/* GITHUB INSTALLATION PROTOCOL */
|
|
223
231
|
/************************************************/
|
|
224
232
|
|
|
225
|
-
message
|
|
233
|
+
message GithubInstallation {
|
|
226
234
|
// GitHub App installation identifier stored on backend.
|
|
227
235
|
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
228
236
|
}
|
|
229
237
|
|
|
230
238
|
// Empty because runner scope is inferred from authenticated caller.
|
|
231
|
-
message
|
|
239
|
+
message ListGithubInstallationsRequest {
|
|
232
240
|
}
|
|
233
241
|
|
|
234
|
-
message
|
|
242
|
+
message ListGithubInstallationsResponse {
|
|
235
243
|
// Installations currently linked to this runner/account context.
|
|
236
|
-
repeated
|
|
244
|
+
repeated GithubInstallation installations = 1;
|
|
237
245
|
}
|
|
238
246
|
|
|
239
|
-
message
|
|
247
|
+
message GithubInstallationAccessTokenRequest {
|
|
240
248
|
// Installation for which the runner is requesting a fresh token.
|
|
241
249
|
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
242
250
|
}
|
|
243
251
|
|
|
244
|
-
message
|
|
252
|
+
message GithubInstallationAccessTokenResponse {
|
|
245
253
|
// Echo of requested installation for client-side correlation.
|
|
246
254
|
int64 installation_id = 1 [(buf.validate.field).int64.gte = 1];
|
|
247
255
|
// Short-lived GitHub access token; treat as secret and do not persist.
|