@alis-build/ideate 1.945.1001 → 1.945.1003

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.
@@ -21,6 +21,7 @@ interface IIdeateServiceService extends grpc.ServiceDefinition<grpc.UntypedServi
21
21
  getSpec: grpc.MethodDefinition<alis_ideate_spec_pb.GetSpecRequest, alis_ideate_spec_pb.Spec>;
22
22
  retrieveIdeaSpecs: grpc.MethodDefinition<alis_ideate_spec_pb.RetrieveIdeaSpecsRequest, alis_ideate_spec_pb.RetrieveIdeaSpecsResponse>;
23
23
  generateCustomAgentSpec: grpc.MethodDefinition<alis_ideate_spec_pb.GenerateCustomAgentSpecRequest, google_longrunning_operations_pb.Operation>;
24
+ generateAgentFeedbackSpec: grpc.MethodDefinition<alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest, google_longrunning_operations_pb.Operation>;
24
25
  testIdeateAccess: grpc.MethodDefinition<alis_ideate_ideate_pb.TestIdeateAccessRequest, alis_ideate_ideate_pb.TestIdeateAccessResponse>;
25
26
  getOperation: grpc.MethodDefinition<google_longrunning_operations_pb.GetOperationRequest, google_longrunning_operations_pb.Operation>;
26
27
  }
@@ -38,6 +39,7 @@ export interface IIdeateServiceServer extends grpc.UntypedServiceImplementation
38
39
  getSpec: grpc.handleUnaryCall<alis_ideate_spec_pb.GetSpecRequest, alis_ideate_spec_pb.Spec>;
39
40
  retrieveIdeaSpecs: grpc.handleUnaryCall<alis_ideate_spec_pb.RetrieveIdeaSpecsRequest, alis_ideate_spec_pb.RetrieveIdeaSpecsResponse>;
40
41
  generateCustomAgentSpec: grpc.handleUnaryCall<alis_ideate_spec_pb.GenerateCustomAgentSpecRequest, google_longrunning_operations_pb.Operation>;
42
+ generateAgentFeedbackSpec: grpc.handleUnaryCall<alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest, google_longrunning_operations_pb.Operation>;
41
43
  testIdeateAccess: grpc.handleUnaryCall<alis_ideate_ideate_pb.TestIdeateAccessRequest, alis_ideate_ideate_pb.TestIdeateAccessResponse>;
42
44
  getOperation: grpc.handleUnaryCall<google_longrunning_operations_pb.GetOperationRequest, google_longrunning_operations_pb.Operation>;
43
45
  }
@@ -74,6 +76,9 @@ export class IdeateServiceClient extends grpc.Client {
74
76
  generateCustomAgentSpec(argument: alis_ideate_spec_pb.GenerateCustomAgentSpecRequest, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
75
77
  generateCustomAgentSpec(argument: alis_ideate_spec_pb.GenerateCustomAgentSpecRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
76
78
  generateCustomAgentSpec(argument: alis_ideate_spec_pb.GenerateCustomAgentSpecRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
79
+ generateAgentFeedbackSpec(argument: alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
80
+ generateAgentFeedbackSpec(argument: alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
81
+ generateAgentFeedbackSpec(argument: alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<google_longrunning_operations_pb.Operation>): grpc.ClientUnaryCall;
77
82
  testIdeateAccess(argument: alis_ideate_ideate_pb.TestIdeateAccessRequest, callback: grpc.requestCallback<alis_ideate_ideate_pb.TestIdeateAccessResponse>): grpc.ClientUnaryCall;
78
83
  testIdeateAccess(argument: alis_ideate_ideate_pb.TestIdeateAccessRequest, metadataOrOptions: grpc.Metadata | grpc.CallOptions | null, callback: grpc.requestCallback<alis_ideate_ideate_pb.TestIdeateAccessResponse>): grpc.ClientUnaryCall;
79
84
  testIdeateAccess(argument: alis_ideate_ideate_pb.TestIdeateAccessRequest, metadata: grpc.Metadata | null, options: grpc.CallOptions | null, callback: grpc.requestCallback<alis_ideate_ideate_pb.TestIdeateAccessResponse>): grpc.ClientUnaryCall;
@@ -98,6 +98,17 @@ function deserialize_alis_ideate_AddNoteResponse(buffer_arg) {
98
98
  return alis_ideate_ideate_pb.AddNoteResponse.deserializeBinary(new Uint8Array(buffer_arg));
99
99
  }
100
100
 
101
+ function serialize_alis_ideate_GenerateAgentFeedbackSpecRequest(arg) {
102
+ if (!(arg instanceof alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest)) {
103
+ throw new Error('Expected argument of type alis.ideate.GenerateAgentFeedbackSpecRequest');
104
+ }
105
+ return Buffer.from(arg.serializeBinary());
106
+ }
107
+
108
+ function deserialize_alis_ideate_GenerateAgentFeedbackSpecRequest(buffer_arg) {
109
+ return alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest.deserializeBinary(new Uint8Array(buffer_arg));
110
+ }
111
+
101
112
  function serialize_alis_ideate_GenerateCustomAgentSpecRequest(arg) {
102
113
  if (!(arg instanceof alis_ideate_spec_pb.GenerateCustomAgentSpecRequest)) {
103
114
  throw new Error('Expected argument of type alis.ideate.GenerateCustomAgentSpecRequest');
@@ -396,6 +407,19 @@ generateCustomAgentSpec: {
396
407
  responseSerialize: serialize_google_longrunning_Operation,
397
408
  responseDeserialize: deserialize_google_longrunning_Operation,
398
409
  },
410
+ // Generates an Agent Feedback spec.
411
+ // This will generate a new spec from an idea, or regenerate an existing spec.
412
+ generateAgentFeedbackSpec: {
413
+ path: '/alis.ideate.IdeateService/GenerateAgentFeedbackSpec',
414
+ requestStream: false,
415
+ responseStream: false,
416
+ requestType: alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest,
417
+ responseType: google_longrunning_operations_pb.Operation,
418
+ requestSerialize: serialize_alis_ideate_GenerateAgentFeedbackSpecRequest,
419
+ requestDeserialize: deserialize_alis_ideate_GenerateAgentFeedbackSpecRequest,
420
+ responseSerialize: serialize_google_longrunning_Operation,
421
+ responseDeserialize: deserialize_google_longrunning_Operation,
422
+ },
399
423
  // Tests whether the caller has access to Ideate for a specific account
400
424
  testIdeateAccess: {
401
425
  path: '/alis.ideate.IdeateService/TestIdeateAccess',
@@ -82,6 +82,13 @@ export class IdeateServiceClient {
82
82
  response: google_longrunning_operations_pb.Operation) => void
83
83
  ): grpcWeb.ClientReadableStream<google_longrunning_operations_pb.Operation>;
84
84
 
85
+ generateAgentFeedbackSpec(
86
+ request: alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest,
87
+ metadata: grpcWeb.Metadata | undefined,
88
+ callback: (err: grpcWeb.RpcError,
89
+ response: google_longrunning_operations_pb.Operation) => void
90
+ ): grpcWeb.ClientReadableStream<google_longrunning_operations_pb.Operation>;
91
+
85
92
  testIdeateAccess(
86
93
  request: alis_ideate_ideate_pb.TestIdeateAccessRequest,
87
94
  metadata: grpcWeb.Metadata | undefined,
@@ -153,6 +160,11 @@ export class IdeateServicePromiseClient {
153
160
  metadata?: grpcWeb.Metadata
154
161
  ): Promise<google_longrunning_operations_pb.Operation>;
155
162
 
163
+ generateAgentFeedbackSpec(
164
+ request: alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest,
165
+ metadata?: grpcWeb.Metadata
166
+ ): Promise<google_longrunning_operations_pb.Operation>;
167
+
156
168
  testIdeateAccess(
157
169
  request: alis_ideate_ideate_pb.TestIdeateAccessRequest,
158
170
  metadata?: grpcWeb.Metadata
@@ -697,6 +697,67 @@ proto.alis.ideate.IdeateServicePromiseClient.prototype.generateCustomAgentSpec =
697
697
  };
698
698
 
699
699
 
700
+ /**
701
+ * @const
702
+ * @type {!grpc.web.MethodDescriptor<
703
+ * !proto.alis.ideate.GenerateAgentFeedbackSpecRequest,
704
+ * !proto.google.longrunning.Operation>}
705
+ */
706
+ const methodDescriptor_IdeateService_GenerateAgentFeedbackSpec = new grpc.web.MethodDescriptor(
707
+ '/alis.ideate.IdeateService/GenerateAgentFeedbackSpec',
708
+ grpc.web.MethodType.UNARY,
709
+ alis_ideate_spec_pb.GenerateAgentFeedbackSpecRequest,
710
+ google_longrunning_operations_pb.Operation,
711
+ /**
712
+ * @param {!proto.alis.ideate.GenerateAgentFeedbackSpecRequest} request
713
+ * @return {!Uint8Array}
714
+ */
715
+ function(request) {
716
+ return request.serializeBinary();
717
+ },
718
+ google_longrunning_operations_pb.Operation.deserializeBinary
719
+ );
720
+
721
+
722
+ /**
723
+ * @param {!proto.alis.ideate.GenerateAgentFeedbackSpecRequest} request The
724
+ * request proto
725
+ * @param {?Object<string, string>} metadata User defined
726
+ * call metadata
727
+ * @param {function(?grpc.web.RpcError, ?proto.google.longrunning.Operation)}
728
+ * callback The callback function(error, response)
729
+ * @return {!grpc.web.ClientReadableStream<!proto.google.longrunning.Operation>|undefined}
730
+ * The XHR Node Readable Stream
731
+ */
732
+ proto.alis.ideate.IdeateServiceClient.prototype.generateAgentFeedbackSpec =
733
+ function(request, metadata, callback) {
734
+ return this.client_.rpcCall(this.hostname_ +
735
+ '/alis.ideate.IdeateService/GenerateAgentFeedbackSpec',
736
+ request,
737
+ metadata || {},
738
+ methodDescriptor_IdeateService_GenerateAgentFeedbackSpec,
739
+ callback);
740
+ };
741
+
742
+
743
+ /**
744
+ * @param {!proto.alis.ideate.GenerateAgentFeedbackSpecRequest} request The
745
+ * request proto
746
+ * @param {?Object<string, string>=} metadata User defined
747
+ * call metadata
748
+ * @return {!Promise<!proto.google.longrunning.Operation>}
749
+ * Promise that resolves to the response
750
+ */
751
+ proto.alis.ideate.IdeateServicePromiseClient.prototype.generateAgentFeedbackSpec =
752
+ function(request, metadata) {
753
+ return this.client_.unaryCall(this.hostname_ +
754
+ '/alis.ideate.IdeateService/GenerateAgentFeedbackSpec',
755
+ request,
756
+ metadata || {},
757
+ methodDescriptor_IdeateService_GenerateAgentFeedbackSpec);
758
+ };
759
+
760
+
700
761
  /**
701
762
  * @const
702
763
  * @type {!grpc.web.MethodDescriptor<
@@ -2,6 +2,7 @@ import * as jspb from 'google-protobuf'
2
2
 
3
3
  import * as google_protobuf_timestamp_pb from 'google-protobuf/google/protobuf/timestamp_pb'; // proto import: "google/protobuf/timestamp.proto"
4
4
  import * as google_protobuf_field_mask_pb from 'google-protobuf/google/protobuf/field_mask_pb'; // proto import: "google/protobuf/field_mask.proto"
5
+ import * as alis_ideate_agent_card_pb from '../../alis/ideate/agent_card_pb'; // proto import: "alis/ideate/agent_card.proto"
5
6
 
6
7
 
7
8
  export class Spec extends jspb.Message {
@@ -110,6 +111,11 @@ export class Spec extends jspb.Message {
110
111
  hasProductRequirementsDocument(): boolean;
111
112
  clearProductRequirementsDocument(): Spec;
112
113
 
114
+ getAgentFeedback(): Spec.AgentFeedback | undefined;
115
+ setAgentFeedback(value?: Spec.AgentFeedback): Spec;
116
+ hasAgentFeedback(): boolean;
117
+ clearAgentFeedback(): Spec;
118
+
113
119
  getGenerationContext(): Spec.GenerationContext | undefined;
114
120
  setGenerationContext(value?: Spec.GenerationContext): Spec;
115
121
  hasGenerationContext(): boolean;
@@ -168,6 +174,7 @@ export namespace Spec {
168
174
  researchPlan?: Spec.ResearchPlan.AsObject,
169
175
  customAgent?: Spec.CustomAgent.AsObject,
170
176
  productRequirementsDocument?: Spec.ProductRequirementsDocument.AsObject,
177
+ agentFeedback?: Spec.AgentFeedback.AsObject,
171
178
  generationContext?: Spec.GenerationContext.AsObject,
172
179
  operation: string,
173
180
  createTime?: google_protobuf_timestamp_pb.Timestamp.AsObject,
@@ -564,6 +571,60 @@ export namespace Spec {
564
571
  }
565
572
 
566
573
 
574
+ export class AgentFeedback extends jspb.Message {
575
+ getTargetAgentsList(): Array<Spec.AgentFeedback.TargetAgent>;
576
+ setTargetAgentsList(value: Array<Spec.AgentFeedback.TargetAgent>): AgentFeedback;
577
+ clearTargetAgentsList(): AgentFeedback;
578
+ addTargetAgents(value?: Spec.AgentFeedback.TargetAgent, index?: number): Spec.AgentFeedback.TargetAgent;
579
+
580
+ getContent(): string;
581
+ setContent(value: string): AgentFeedback;
582
+
583
+ serializeBinary(): Uint8Array;
584
+ toObject(includeInstance?: boolean): AgentFeedback.AsObject;
585
+ static toObject(includeInstance: boolean, msg: AgentFeedback): AgentFeedback.AsObject;
586
+ static serializeBinaryToWriter(message: AgentFeedback, writer: jspb.BinaryWriter): void;
587
+ static deserializeBinary(bytes: Uint8Array): AgentFeedback;
588
+ static deserializeBinaryFromReader(message: AgentFeedback, reader: jspb.BinaryReader): AgentFeedback;
589
+ }
590
+
591
+ export namespace AgentFeedback {
592
+ export type AsObject = {
593
+ targetAgentsList: Array<Spec.AgentFeedback.TargetAgent.AsObject>,
594
+ content: string,
595
+ }
596
+
597
+ export class TargetAgent extends jspb.Message {
598
+ getAgentStream(): string;
599
+ setAgentStream(value: string): TargetAgent;
600
+
601
+ getAgentCard(): alis_ideate_agent_card_pb.AgentCard | undefined;
602
+ setAgentCard(value?: alis_ideate_agent_card_pb.AgentCard): TargetAgent;
603
+ hasAgentCard(): boolean;
604
+ clearAgentCard(): TargetAgent;
605
+
606
+ getOverview(): string;
607
+ setOverview(value: string): TargetAgent;
608
+
609
+ serializeBinary(): Uint8Array;
610
+ toObject(includeInstance?: boolean): TargetAgent.AsObject;
611
+ static toObject(includeInstance: boolean, msg: TargetAgent): TargetAgent.AsObject;
612
+ static serializeBinaryToWriter(message: TargetAgent, writer: jspb.BinaryWriter): void;
613
+ static deserializeBinary(bytes: Uint8Array): TargetAgent;
614
+ static deserializeBinaryFromReader(message: TargetAgent, reader: jspb.BinaryReader): TargetAgent;
615
+ }
616
+
617
+ export namespace TargetAgent {
618
+ export type AsObject = {
619
+ agentStream: string,
620
+ agentCard?: alis_ideate_agent_card_pb.AgentCard.AsObject,
621
+ overview: string,
622
+ }
623
+ }
624
+
625
+ }
626
+
627
+
567
628
  export class GenerationContext extends jspb.Message {
568
629
  getFilter(): string;
569
630
  setFilter(value: string): GenerationContext;
@@ -608,6 +669,7 @@ export namespace Spec {
608
669
  RESEARCH_PLAN = 20,
609
670
  CUSTOM_AGENT = 21,
610
671
  PRODUCT_REQUIREMENTS_DOCUMENT = 22,
672
+ AGENT_FEEDBACK = 23,
611
673
  }
612
674
 
613
675
  export enum State {
@@ -641,6 +703,7 @@ export namespace Spec {
641
703
  RESEARCH_PLAN = 21,
642
704
  CUSTOM_AGENT = 22,
643
705
  PRODUCT_REQUIREMENTS_DOCUMENT = 23,
706
+ AGENT_FEEDBACK = 24,
644
707
  }
645
708
  }
646
709
 
@@ -785,3 +848,85 @@ export namespace RetrieveIdeaSpecsResponse {
785
848
  specsList: Array<Spec.AsObject>,
786
849
  }
787
850
  }
851
+
852
+ export class GenerateAgentFeedbackSpecRequest extends jspb.Message {
853
+ getIdea(): string;
854
+ setIdea(value: string): GenerateAgentFeedbackSpecRequest;
855
+
856
+ getSpec(): string;
857
+ setSpec(value: string): GenerateAgentFeedbackSpecRequest;
858
+
859
+ getGenerationContext(): Spec.GenerationContext | undefined;
860
+ setGenerationContext(value?: Spec.GenerationContext): GenerateAgentFeedbackSpecRequest;
861
+ hasGenerationContext(): boolean;
862
+ clearGenerationContext(): GenerateAgentFeedbackSpecRequest;
863
+
864
+ getTargetAgentsList(): Array<string>;
865
+ setTargetAgentsList(value: Array<string>): GenerateAgentFeedbackSpecRequest;
866
+ clearTargetAgentsList(): GenerateAgentFeedbackSpecRequest;
867
+ addTargetAgents(value: string, index?: number): GenerateAgentFeedbackSpecRequest;
868
+
869
+ getSourceCase(): GenerateAgentFeedbackSpecRequest.SourceCase;
870
+
871
+ serializeBinary(): Uint8Array;
872
+ toObject(includeInstance?: boolean): GenerateAgentFeedbackSpecRequest.AsObject;
873
+ static toObject(includeInstance: boolean, msg: GenerateAgentFeedbackSpecRequest): GenerateAgentFeedbackSpecRequest.AsObject;
874
+ static serializeBinaryToWriter(message: GenerateAgentFeedbackSpecRequest, writer: jspb.BinaryWriter): void;
875
+ static deserializeBinary(bytes: Uint8Array): GenerateAgentFeedbackSpecRequest;
876
+ static deserializeBinaryFromReader(message: GenerateAgentFeedbackSpecRequest, reader: jspb.BinaryReader): GenerateAgentFeedbackSpecRequest;
877
+ }
878
+
879
+ export namespace GenerateAgentFeedbackSpecRequest {
880
+ export type AsObject = {
881
+ idea: string,
882
+ spec: string,
883
+ generationContext?: Spec.GenerationContext.AsObject,
884
+ targetAgentsList: Array<string>,
885
+ }
886
+
887
+ export enum SourceCase {
888
+ SOURCE_NOT_SET = 0,
889
+ IDEA = 1,
890
+ SPEC = 2,
891
+ }
892
+ }
893
+
894
+ export class GenerateAgentFeedbackSpecMetadata extends jspb.Message {
895
+ getGenerateAgentFeedbackSpecRequest(): GenerateAgentFeedbackSpecRequest | undefined;
896
+ setGenerateAgentFeedbackSpecRequest(value?: GenerateAgentFeedbackSpecRequest): GenerateAgentFeedbackSpecMetadata;
897
+ hasGenerateAgentFeedbackSpecRequest(): boolean;
898
+ clearGenerateAgentFeedbackSpecRequest(): GenerateAgentFeedbackSpecMetadata;
899
+
900
+ serializeBinary(): Uint8Array;
901
+ toObject(includeInstance?: boolean): GenerateAgentFeedbackSpecMetadata.AsObject;
902
+ static toObject(includeInstance: boolean, msg: GenerateAgentFeedbackSpecMetadata): GenerateAgentFeedbackSpecMetadata.AsObject;
903
+ static serializeBinaryToWriter(message: GenerateAgentFeedbackSpecMetadata, writer: jspb.BinaryWriter): void;
904
+ static deserializeBinary(bytes: Uint8Array): GenerateAgentFeedbackSpecMetadata;
905
+ static deserializeBinaryFromReader(message: GenerateAgentFeedbackSpecMetadata, reader: jspb.BinaryReader): GenerateAgentFeedbackSpecMetadata;
906
+ }
907
+
908
+ export namespace GenerateAgentFeedbackSpecMetadata {
909
+ export type AsObject = {
910
+ generateAgentFeedbackSpecRequest?: GenerateAgentFeedbackSpecRequest.AsObject,
911
+ }
912
+ }
913
+
914
+ export class GenerateAgentFeedbackSpecResponse extends jspb.Message {
915
+ getSpec(): Spec | undefined;
916
+ setSpec(value?: Spec): GenerateAgentFeedbackSpecResponse;
917
+ hasSpec(): boolean;
918
+ clearSpec(): GenerateAgentFeedbackSpecResponse;
919
+
920
+ serializeBinary(): Uint8Array;
921
+ toObject(includeInstance?: boolean): GenerateAgentFeedbackSpecResponse.AsObject;
922
+ static toObject(includeInstance: boolean, msg: GenerateAgentFeedbackSpecResponse): GenerateAgentFeedbackSpecResponse.AsObject;
923
+ static serializeBinaryToWriter(message: GenerateAgentFeedbackSpecResponse, writer: jspb.BinaryWriter): void;
924
+ static deserializeBinary(bytes: Uint8Array): GenerateAgentFeedbackSpecResponse;
925
+ static deserializeBinaryFromReader(message: GenerateAgentFeedbackSpecResponse, reader: jspb.BinaryReader): GenerateAgentFeedbackSpecResponse;
926
+ }
927
+
928
+ export namespace GenerateAgentFeedbackSpecResponse {
929
+ export type AsObject = {
930
+ spec?: Spec.AsObject,
931
+ }
932
+ }