@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.GithubInstallationForRunner
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 GithubInstallationForRunner = Message<"companyhelm.runner.v1.GithubInstallationForRunner"> & {
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.GithubInstallationForRunner.
534
- * Use `create(GithubInstallationForRunnerSchema)` to create a new message.
561
+ * Describes the message companyhelm.runner.v1.GithubInstallation.
562
+ * Use `create(GithubInstallationSchema)` to create a new message.
535
563
  */
536
- export declare const GithubInstallationForRunnerSchema: GenMessage<GithubInstallationForRunner>;
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.ListGithubInstallationsForRunnerRequest
568
+ * @generated from message companyhelm.runner.v1.ListGithubInstallationsRequest
541
569
  */
542
- export type ListGithubInstallationsForRunnerRequest = Message<"companyhelm.runner.v1.ListGithubInstallationsForRunnerRequest"> & {};
570
+ export type ListGithubInstallationsRequest = Message<"companyhelm.runner.v1.ListGithubInstallationsRequest"> & {};
543
571
  /**
544
- * Describes the message companyhelm.runner.v1.ListGithubInstallationsForRunnerRequest.
545
- * Use `create(ListGithubInstallationsForRunnerRequestSchema)` to create a new message.
572
+ * Describes the message companyhelm.runner.v1.ListGithubInstallationsRequest.
573
+ * Use `create(ListGithubInstallationsRequestSchema)` to create a new message.
546
574
  */
547
- export declare const ListGithubInstallationsForRunnerRequestSchema: GenMessage<ListGithubInstallationsForRunnerRequest>;
575
+ export declare const ListGithubInstallationsRequestSchema: GenMessage<ListGithubInstallationsRequest>;
548
576
  /**
549
- * @generated from message companyhelm.runner.v1.ListGithubInstallationsForRunnerResponse
577
+ * @generated from message companyhelm.runner.v1.ListGithubInstallationsResponse
550
578
  */
551
- export type ListGithubInstallationsForRunnerResponse = Message<"companyhelm.runner.v1.ListGithubInstallationsForRunnerResponse"> & {
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.GithubInstallationForRunner installations = 1;
583
+ * @generated from field: repeated companyhelm.runner.v1.GithubInstallation installations = 1;
556
584
  */
557
- installations: GithubInstallationForRunner[];
585
+ installations: GithubInstallation[];
558
586
  };
559
587
  /**
560
- * Describes the message companyhelm.runner.v1.ListGithubInstallationsForRunnerResponse.
561
- * Use `create(ListGithubInstallationsForRunnerResponseSchema)` to create a new message.
588
+ * Describes the message companyhelm.runner.v1.ListGithubInstallationsResponse.
589
+ * Use `create(ListGithubInstallationsResponseSchema)` to create a new message.
562
590
  */
563
- export declare const ListGithubInstallationsForRunnerResponseSchema: GenMessage<ListGithubInstallationsForRunnerResponse>;
591
+ export declare const ListGithubInstallationsResponseSchema: GenMessage<ListGithubInstallationsResponse>;
564
592
  /**
565
- * @generated from message companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerRequest
593
+ * @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenRequest
566
594
  */
567
- export type GetGithubInstallationAccessTokenForRunnerRequest = Message<"companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerRequest"> & {
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.GetGithubInstallationAccessTokenForRunnerRequest.
577
- * Use `create(GetGithubInstallationAccessTokenForRunnerRequestSchema)` to create a new message.
604
+ * Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenRequest.
605
+ * Use `create(GithubInstallationAccessTokenRequestSchema)` to create a new message.
578
606
  */
579
- export declare const GetGithubInstallationAccessTokenForRunnerRequestSchema: GenMessage<GetGithubInstallationAccessTokenForRunnerRequest>;
607
+ export declare const GithubInstallationAccessTokenRequestSchema: GenMessage<GithubInstallationAccessTokenRequest>;
580
608
  /**
581
- * @generated from message companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerResponse
609
+ * @generated from message companyhelm.runner.v1.GithubInstallationAccessTokenResponse
582
610
  */
583
- export type GetGithubInstallationAccessTokenForRunnerResponse = Message<"companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerResponse"> & {
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.GetGithubInstallationAccessTokenForRunnerResponse.
611
- * Use `create(GetGithubInstallationAccessTokenForRunnerResponseSchema)` to create a new message.
638
+ * Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenResponse.
639
+ * Use `create(GithubInstallationAccessTokenResponseSchema)` to create a new message.
612
640
  */
613
- export declare const GetGithubInstallationAccessTokenForRunnerResponseSchema: GenMessage<GetGithubInstallationAccessTokenForRunnerResponse>;
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
- * Runner-scoped list of GitHub App installations already associated with it.
808
+ * list of GitHub App installations already associated with it.
781
809
  *
782
- * @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.ListGithubInstallationsForRunner
810
+ * @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.ListGithubInstallations
783
811
  */
784
- listGithubInstallationsForRunner: {
812
+ listGithubInstallations: {
785
813
  methodKind: "unary";
786
- input: typeof ListGithubInstallationsForRunnerRequestSchema;
787
- output: typeof ListGithubInstallationsForRunnerResponseSchema;
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.GetGithubInstallationAccessTokenForRunner
821
+ * @generated from rpc companyhelm.runner.v1.AgentRunnerControlService.GithubInstallationAccessToken
794
822
  */
795
- getGithubInstallationAccessTokenForRunner: {
823
+ githubInstallationAccessToken: {
796
824
  methodKind: "unary";
797
- input: typeof GetGithubInstallationAccessTokenForRunnerRequestSchema;
798
- output: typeof GetGithubInstallationAccessTokenForRunnerResponseSchema;
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.GetGithubInstallationAccessTokenForRunnerResponseSchema = exports.GetGithubInstallationAccessTokenForRunnerRequestSchema = exports.ListGithubInstallationsForRunnerResponseSchema = exports.ListGithubInstallationsForRunnerRequestSchema = exports.GithubInstallationForRunnerSchema = 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;
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)("CiJjb21wYW55aGVsbS9ydW5uZXIvdjEvcnVubmVyLnByb3RvEhVjb21wYW55aGVsbS5ydW5uZXIudjEiTAoVUmVnaXN0ZXJSdW5uZXJSZXF1ZXN0EjMKCmFnZW50X3Nka3MYASADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuQWdlbnRTZGsiUgoIQWdlbnRTZGsSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIvCgZtb2RlbHMYAiADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuTExNTW9kZWwiNAoITExNTW9kZWwSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIRCglyZWFzb25pbmcYAiADKAkiJwoOTW9kZWxSZWFzb25pbmcSFQoEbmFtZRgBIAEoCUIHukgEcgIQASIYChZSZWdpc3RlclJ1bm5lclJlc3BvbnNlIq8DCg1DbGllbnRNZXNzYWdlEhcKCnJlcXVlc3RfaWQYASABKAlIAYgBARI8Cg1yZXF1ZXN0X2Vycm9yGAIgASgLMiMuY29tcGFueWhlbG0ucnVubmVyLnYxLlJlcXVlc3RFcnJvckgAEjoKDGFnZW50X3VwZGF0ZRgDIAEoCzIiLmNvbXBhbnloZWxtLnJ1bm5lci52MS5BZ2VudFVwZGF0ZUgAEjwKDXRocmVhZF91cGRhdGUYBCABKAsyIy5jb21wYW55aGVsbS5ydW5uZXIudjEuVGhyZWFkVXBkYXRlSAASOAoLdHVybl91cGRhdGUYBSABKAsyIS5jb21wYW55aGVsbS5ydW5uZXIudjEuVHVyblVwZGF0ZUgAEjgKC2l0ZW1fdXBkYXRlGAYgASgLMiEuY29tcGFueWhlbG0ucnVubmVyLnYxLkl0ZW1VcGRhdGVIABI/Cg9za2lsbF9tcF91cGRhdGUYByABKAsyJC5jb21wYW55aGVsbS5ydW5uZXIudjEuU2tpb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mVyLnYxLlJlZ2lzdGVyUnVubmVyUmVzcG9uc2USYAoOQ29udHJvbENoYW5uZWwSJC5jb21wYW55aGVsbS5ydW5uZXIudjEuQ2xpZW50TWVzc2FnZRokLmNvbXBhbnloZWxtLnJ1bm5lci52MS5TZXJ2ZXJNZXNzYWdlKAEwARKjAQogTGlzdEdpdGh1Ykluc3RhbGxhdGlvbnNGb3JSdW5uZXISPi5jb21wYW55aGVsbS5ydW5uZXIudjEuTGlzdEdpdGh1Ykluc3RhbGxhdGlvbnNGb3JSdW5uZXJSZXF1ZXN0Gj8uY29tcGFueWhlbG0ucnVubmVyLnYxLkxpc3RHaXRodWJJbnN0YWxsYXRpb25zRm9yUnVubmVyUmVzcG9uc2USvgEKKUdldEdpdGh1Ykluc3RhbGxhdGlvbkFjY2Vzc1Rva2VuRm9yUnVubmVyEkcuY29tcGFueWhlbG0ucnVubmVyLnYxLkdldEdpdGh1Ykluc3RhbGxhdGlvbkFjY2Vzc1Rva2VuRm9yUnVubmVyUmVxdWVzdBpILmNvbXBhbnloZWxtLnJ1bm5lci52MS5HZXRHaXRodWJJbnN0YWxsYXRpb25BY2Nlc3NUb2tlbkZvclJ1bm5lclJlc3BvbnNlYgZwcm90bzM", [validate_pb_1.file_buf_validate_validate]);
12
+ exports.file_companyhelm_runner_v1_runner = (0, codegenv2_1.fileDesc)("CiJjb21wYW55aGVsbS9ydW5uZXIvdjEvcnVubmVyLnByb3RvEhVjb21wYW55aGVsbS5ydW5uZXIudjEiTAoVUmVnaXN0ZXJSdW5uZXJSZXF1ZXN0EjMKCmFnZW50X3Nka3MYASADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuQWdlbnRTZGsiUgoIQWdlbnRTZGsSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIvCgZtb2RlbHMYAiADKAsyHy5jb21wYW55aGVsbS5ydW5uZXIudjEuTExNTW9kZWwiNAoITExNTW9kZWwSFQoEbmFtZRgBIAEoCUIHukgEcgIQARIRCglyZWFzb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lvbnNSZXNwb25zZRKaAQodR2l0aHViSW5zdGFsbGF0aW9uQWNjZXNzVG9rZW4SOy5jb21wYW55aGVsbS5ydW5uZXIudjEuR2l0aHViSW5zdGFsbGF0aW9uQWNjZXNzVG9rZW5SZXF1ZXN0GjwuY29tcGFueWhlbG0ucnVubmVyLnYxLkdpdGh1Ykluc3RhbGxhdGlvbkFjY2Vzc1Rva2VuUmVzcG9uc2ViBnByb3RvMw", [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.GithubInstallationForRunner.
115
- * Use `create(GithubInstallationForRunnerSchema)` to create a new message.
114
+ * Describes the message companyhelm.runner.v1.InterruptTurnRequest.
115
+ * Use `create(InterruptTurnRequestSchema)` to create a new message.
116
116
  */
117
- exports.GithubInstallationForRunnerSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 20);
117
+ exports.InterruptTurnRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 20);
118
118
  /**
119
- * Describes the message companyhelm.runner.v1.ListGithubInstallationsForRunnerRequest.
120
- * Use `create(ListGithubInstallationsForRunnerRequestSchema)` to create a new message.
119
+ * Describes the message companyhelm.runner.v1.GithubInstallation.
120
+ * Use `create(GithubInstallationSchema)` to create a new message.
121
121
  */
122
- exports.ListGithubInstallationsForRunnerRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 21);
122
+ exports.GithubInstallationSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 21);
123
123
  /**
124
- * Describes the message companyhelm.runner.v1.ListGithubInstallationsForRunnerResponse.
125
- * Use `create(ListGithubInstallationsForRunnerResponseSchema)` to create a new message.
124
+ * Describes the message companyhelm.runner.v1.ListGithubInstallationsRequest.
125
+ * Use `create(ListGithubInstallationsRequestSchema)` to create a new message.
126
126
  */
127
- exports.ListGithubInstallationsForRunnerResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 22);
127
+ exports.ListGithubInstallationsRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 22);
128
128
  /**
129
- * Describes the message companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerRequest.
130
- * Use `create(GetGithubInstallationAccessTokenForRunnerRequestSchema)` to create a new message.
129
+ * Describes the message companyhelm.runner.v1.ListGithubInstallationsResponse.
130
+ * Use `create(ListGithubInstallationsResponseSchema)` to create a new message.
131
131
  */
132
- exports.GetGithubInstallationAccessTokenForRunnerRequestSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 23);
132
+ exports.ListGithubInstallationsResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 23);
133
133
  /**
134
- * Describes the message companyhelm.runner.v1.GetGithubInstallationAccessTokenForRunnerResponse.
135
- * Use `create(GetGithubInstallationAccessTokenForRunnerResponseSchema)` to create a new message.
134
+ * Describes the message companyhelm.runner.v1.GithubInstallationAccessTokenRequest.
135
+ * Use `create(GithubInstallationAccessTokenRequestSchema)` to create a new message.
136
136
  */
137
- exports.GetGithubInstallationAccessTokenForRunnerResponseSchema = (0, codegenv2_1.messageDesc)(exports.file_companyhelm_runner_v1_runner, 24);
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
- // Runner-scoped list of GitHub App installations already associated with it.
19
- rpc ListGithubInstallationsForRunner(ListGithubInstallationsForRunnerRequest) returns (ListGithubInstallationsForRunnerResponse);
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 GetGithubInstallationAccessTokenForRunner(GetGithubInstallationAccessTokenForRunnerRequest) returns (GetGithubInstallationAccessTokenForRunnerResponse);
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 GithubInstallationForRunner {
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 ListGithubInstallationsForRunnerRequest {
239
+ message ListGithubInstallationsRequest {
232
240
  }
233
241
 
234
- message ListGithubInstallationsForRunnerResponse {
242
+ message ListGithubInstallationsResponse {
235
243
  // Installations currently linked to this runner/account context.
236
- repeated GithubInstallationForRunner installations = 1;
244
+ repeated GithubInstallation installations = 1;
237
245
  }
238
246
 
239
- message GetGithubInstallationAccessTokenForRunnerRequest {
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 GetGithubInstallationAccessTokenForRunnerResponse {
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@companyhelm/protos",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "description": "Buf-generated JavaScript bindings for CompanyHelm protobuf definitions.",
5
5
  "repository": {
6
6
  "type": "git",