ankka 0.8.0 → 0.9.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/dist/_proto/ankka/protocol/v1/agent_pb.d.ts +95 -0
- package/dist/_proto/ankka/protocol/v1/agent_pb.js +16 -1
- package/dist/_proto/ankka/protocol/v1/discovery_pb.d.ts +157 -0
- package/dist/_proto/ankka/protocol/v1/discovery_pb.js +33 -7
- package/dist/_proto/ankka/protocol/v1/wasm_pb.d.ts +307 -0
- package/dist/_proto/ankka/protocol/v1/wasm_pb.js +72 -0
- package/dist/autonomous.d.ts +154 -0
- package/dist/autonomous.js +199 -0
- package/dist/client.d.ts +13 -0
- package/dist/client.js +49 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/kinds.d.ts +1 -1
- package/dist/kinds.js +1 -0
- package/dist/server/agent.d.ts +8 -2
- package/dist/server/agent.js +59 -2
- package/dist/service.d.ts +11 -1
- package/dist/service.js +42 -1
- package/dist/spec.d.ts +1 -1
- package/dist/spec.js +38 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -319,6 +319,91 @@ export type GuardrailResult = Message<"ankka.protocol.v1.GuardrailResult"> & {
|
|
|
319
319
|
* Use `create(GuardrailResultSchema)` to create a new message.
|
|
320
320
|
*/
|
|
321
321
|
export declare const GuardrailResultSchema: GenMessage<GuardrailResult>;
|
|
322
|
+
/**
|
|
323
|
+
* An autonomous agent's result, as the model sent it to complete_task (protocol 1.2). The process
|
|
324
|
+
* decodes it as the task type's result and runs the type's rules in order: `malformed` when it does
|
|
325
|
+
* not decode (the model is told, as a tool error), `reject` naming the first rule that refuses it.
|
|
326
|
+
* A rule that throws is answered as a gRPC error, which the sidecar treats as a failed iteration and
|
|
327
|
+
* tries again — never as a rejection, since nothing was decided.
|
|
328
|
+
*
|
|
329
|
+
* @generated from message ankka.protocol.v1.TaskResultRequest
|
|
330
|
+
*/
|
|
331
|
+
export type TaskResultRequest = Message<"ankka.protocol.v1.TaskResultRequest"> & {
|
|
332
|
+
/**
|
|
333
|
+
* @generated from field: string component_id = 1;
|
|
334
|
+
*/
|
|
335
|
+
componentId: string;
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: string task_id = 2;
|
|
338
|
+
*/
|
|
339
|
+
taskId: string;
|
|
340
|
+
/**
|
|
341
|
+
* @generated from field: string task_type = 3;
|
|
342
|
+
*/
|
|
343
|
+
taskType: string;
|
|
344
|
+
/**
|
|
345
|
+
* @generated from field: string result_json = 4;
|
|
346
|
+
*/
|
|
347
|
+
resultJson: string;
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* Describes the message ankka.protocol.v1.TaskResultRequest.
|
|
351
|
+
* Use `create(TaskResultRequestSchema)` to create a new message.
|
|
352
|
+
*/
|
|
353
|
+
export declare const TaskResultRequestSchema: GenMessage<TaskResultRequest>;
|
|
354
|
+
/**
|
|
355
|
+
* @generated from message ankka.protocol.v1.TaskResultVerdict
|
|
356
|
+
*/
|
|
357
|
+
export type TaskResultVerdict = Message<"ankka.protocol.v1.TaskResultVerdict"> & {
|
|
358
|
+
/**
|
|
359
|
+
* @generated from oneof ankka.protocol.v1.TaskResultVerdict.verdict
|
|
360
|
+
*/
|
|
361
|
+
verdict: {
|
|
362
|
+
/**
|
|
363
|
+
* @generated from field: ankka.protocol.v1.Empty accept = 1;
|
|
364
|
+
*/
|
|
365
|
+
value: Empty;
|
|
366
|
+
case: "accept";
|
|
367
|
+
} | {
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: string malformed = 2;
|
|
370
|
+
*/
|
|
371
|
+
value: string;
|
|
372
|
+
case: "malformed";
|
|
373
|
+
} | {
|
|
374
|
+
/**
|
|
375
|
+
* @generated from field: ankka.protocol.v1.TaskResultVerdict.Rejection reject = 3;
|
|
376
|
+
*/
|
|
377
|
+
value: TaskResultVerdict_Rejection;
|
|
378
|
+
case: "reject";
|
|
379
|
+
} | {
|
|
380
|
+
case: undefined;
|
|
381
|
+
value?: undefined;
|
|
382
|
+
};
|
|
383
|
+
};
|
|
384
|
+
/**
|
|
385
|
+
* Describes the message ankka.protocol.v1.TaskResultVerdict.
|
|
386
|
+
* Use `create(TaskResultVerdictSchema)` to create a new message.
|
|
387
|
+
*/
|
|
388
|
+
export declare const TaskResultVerdictSchema: GenMessage<TaskResultVerdict>;
|
|
389
|
+
/**
|
|
390
|
+
* @generated from message ankka.protocol.v1.TaskResultVerdict.Rejection
|
|
391
|
+
*/
|
|
392
|
+
export type TaskResultVerdict_Rejection = Message<"ankka.protocol.v1.TaskResultVerdict.Rejection"> & {
|
|
393
|
+
/**
|
|
394
|
+
* @generated from field: string rule = 1;
|
|
395
|
+
*/
|
|
396
|
+
rule: string;
|
|
397
|
+
/**
|
|
398
|
+
* @generated from field: string reason = 2;
|
|
399
|
+
*/
|
|
400
|
+
reason: string;
|
|
401
|
+
};
|
|
402
|
+
/**
|
|
403
|
+
* Describes the message ankka.protocol.v1.TaskResultVerdict.Rejection.
|
|
404
|
+
* Use `create(TaskResultVerdict_RejectionSchema)` to create a new message.
|
|
405
|
+
*/
|
|
406
|
+
export declare const TaskResultVerdict_RejectionSchema: GenMessage<TaskResultVerdict_Rejection>;
|
|
322
407
|
/**
|
|
323
408
|
* @generated from service ankka.protocol.v1.Agent
|
|
324
409
|
*/
|
|
@@ -347,4 +432,14 @@ export declare const Agent: GenService<{
|
|
|
347
432
|
input: typeof GuardrailRequestSchema;
|
|
348
433
|
output: typeof GuardrailResultSchema;
|
|
349
434
|
};
|
|
435
|
+
/**
|
|
436
|
+
* protocol 1.2
|
|
437
|
+
*
|
|
438
|
+
* @generated from rpc ankka.protocol.v1.Agent.CheckTaskResult
|
|
439
|
+
*/
|
|
440
|
+
checkTaskResult: {
|
|
441
|
+
methodKind: "unary";
|
|
442
|
+
input: typeof TaskResultRequestSchema;
|
|
443
|
+
output: typeof TaskResultVerdictSchema;
|
|
444
|
+
};
|
|
350
445
|
}>;
|
|
@@ -4,7 +4,7 @@ import { file_ankka_protocol_v1_payload } from "./payload_pb.js";
|
|
|
4
4
|
/**
|
|
5
5
|
* Describes the file ankka/protocol/v1/agent.proto.
|
|
6
6
|
*/
|
|
7
|
-
export const file_ankka_protocol_v1_agent = /*@__PURE__*/ fileDesc("
|
|
7
|
+
export const file_ankka_protocol_v1_agent = /*@__PURE__*/ fileDesc("Ch1hbmtrYS9wcm90b2NvbC92MS9hZ2VudC5wcm90bxIRYW5ra2EucHJvdG9jb2wudjEioQEKC1BsYW5SZXF1ZXN0EhQKDGNvbXBvbmVudF9pZBgBIAEoCRISCgpzZXNzaW9uX2lkGAIgASgJEgwKBG5hbWUYAyABKAkSKwoHcGF5bG9hZBgEIAEoCzIaLmFua2thLnByb3RvY29sLnYxLlBheWxvYWQSLQoIbWV0YWRhdGEYBSABKAsyGy5hbmtrYS5wcm90b2NvbC52MS5NZXRhZGF0YSJzCglQbGFuUmVwbHkSLAoEcGxhbhgBIAEoCzIcLmFua2thLnByb3RvY29sLnYxLkFnZW50UGxhbkgAEi0KB2ZhaWx1cmUYAiABKAsyGi5hbmtrYS5wcm90b2NvbC52MS5GYWlsdXJlSABCCQoHbWVzc2FnZSKSBAoJQWdlbnRQbGFuEhIKBW1vZGVsGAEgASgJSACIAQESEwoGc3lzdGVtGAIgASgJSAGIAQESEQoEdXNlchgDIAEoCUgCiAEBEg8KB2NvbnRleHQYBCADKAkSMwoGbWVtb3J5GAUgASgOMiMuYW5ra2EucHJvdG9jb2wudjEuQWdlbnRQbGFuLk1lbW9yeRINCgV0b29scxgGIAMoCRJCCg5yZXNwb25zZV9zaGFwZRgHIAEoCzIqLmFua2thLnByb3RvY29sLnYxLkFnZW50UGxhbi5SZXNwb25zZVNoYXBlEhIKCmd1YXJkcmFpbHMYCCADKAkSLgoHZmFpbHVyZRgJIAEoCzIYLmFua2thLnByb3RvY29sLnYxLkVycm9ySAOIAQEaoAEKDVJlc3BvbnNlU2hhcGUSKAoEdGV4dBg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gASgJSAASQAoGcmVqZWN0GAMgASgLMi4uYW5ra2EucHJvdG9jb2wudjEuVGFza1Jlc3VsdFZlcmRpY3QuUmVqZWN0aW9uSAAaKQoJUmVqZWN0aW9uEgwKBHJ1bGUYASABKAkSDgoGcmVhc29uGAIgASgJQgkKB3ZlcmRpY3Qy1AIKBUFnZW50EkQKBFBsYW4SHi5hbmtrYS5wcm90b2NvbC52MS5QbGFuUmVxdWVzdBocLmFua2thLnByb3RvY29sLnYxLlBsYW5SZXBseRJLCgpJbnZva2VUb29sEh4uYW5ra2EucHJvdG9jb2wudjEuVG9vbFJlcXVlc3QaHS5hbmtrYS5wcm90b2NvbC52MS5Ub29sUmVzdWx0ElkKDkNoZWNrR3VhcmRyYWlsEiMuYW5ra2EucHJvdG9jb2wudjEuR3VhcmRyYWlsUmVxdWVzdBoiLmFua2thLnByb3RvY29sLnYxLkd1YXJkcmFpbFJlc3VsdBJdCg9DaGVja1Rhc2tSZXN1bHQSJC5hbmtrYS5wcm90b2NvbC52MS5UYXNrUmVzdWx0UmVxdWVzdBokLmFua2thLnByb3RvY29sLnYxLlRhc2tSZXN1bHRWZXJkaWN0YgZwcm90bzM", [file_ankka_protocol_v1_payload]);
|
|
8
8
|
/**
|
|
9
9
|
* Describes the message ankka.protocol.v1.PlanRequest.
|
|
10
10
|
* Use `create(PlanRequestSchema)` to create a new message.
|
|
@@ -84,6 +84,21 @@ export const GuardrailRequest_StageSchema = /*@__PURE__*/ enumDesc(file_ankka_pr
|
|
|
84
84
|
* Use `create(GuardrailResultSchema)` to create a new message.
|
|
85
85
|
*/
|
|
86
86
|
export const GuardrailResultSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_agent, 6);
|
|
87
|
+
/**
|
|
88
|
+
* Describes the message ankka.protocol.v1.TaskResultRequest.
|
|
89
|
+
* Use `create(TaskResultRequestSchema)` to create a new message.
|
|
90
|
+
*/
|
|
91
|
+
export const TaskResultRequestSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_agent, 7);
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message ankka.protocol.v1.TaskResultVerdict.
|
|
94
|
+
* Use `create(TaskResultVerdictSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export const TaskResultVerdictSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_agent, 8);
|
|
97
|
+
/**
|
|
98
|
+
* Describes the message ankka.protocol.v1.TaskResultVerdict.Rejection.
|
|
99
|
+
* Use `create(TaskResultVerdict_RejectionSchema)` to create a new message.
|
|
100
|
+
*/
|
|
101
|
+
export const TaskResultVerdict_RejectionSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_agent, 8, 0);
|
|
87
102
|
/**
|
|
88
103
|
* @generated from service ankka.protocol.v1.Agent
|
|
89
104
|
*/
|
|
@@ -130,6 +130,14 @@ export type Component = Message<"ankka.protocol.v1.Component"> & {
|
|
|
130
130
|
*/
|
|
131
131
|
value: AgentDetail;
|
|
132
132
|
case: "agent";
|
|
133
|
+
} | {
|
|
134
|
+
/**
|
|
135
|
+
* protocol 1.2
|
|
136
|
+
*
|
|
137
|
+
* @generated from field: ankka.protocol.v1.AutonomousAgentDetail autonomous_agent = 17;
|
|
138
|
+
*/
|
|
139
|
+
value: AutonomousAgentDetail;
|
|
140
|
+
case: "autonomousAgent";
|
|
133
141
|
} | {
|
|
134
142
|
case: undefined;
|
|
135
143
|
value?: undefined;
|
|
@@ -417,6 +425,149 @@ export type Tool = Message<"ankka.protocol.v1.Tool"> & {
|
|
|
417
425
|
* Use `create(ToolSchema)` to create a new message.
|
|
418
426
|
*/
|
|
419
427
|
export declare const ToolSchema: GenMessage<Tool>;
|
|
428
|
+
/**
|
|
429
|
+
* An autonomous agent's whole definition (protocol 1.2). There is nothing to plan per task: the
|
|
430
|
+
* sidecar runs the loop from this and asks the process only to run a tool (Agent.InvokeTool), check
|
|
431
|
+
* a guardrail (Agent.CheckGuardrail) and check a task rule (Agent.CheckTaskRule), each with the
|
|
432
|
+
* session id "task:<task id>".
|
|
433
|
+
*
|
|
434
|
+
* @generated from message ankka.protocol.v1.AutonomousAgentDetail
|
|
435
|
+
*/
|
|
436
|
+
export type AutonomousAgentDetail = Message<"ankka.protocol.v1.AutonomousAgentDetail"> & {
|
|
437
|
+
/**
|
|
438
|
+
* required
|
|
439
|
+
*
|
|
440
|
+
* @generated from field: string description = 1;
|
|
441
|
+
*/
|
|
442
|
+
description: string;
|
|
443
|
+
/**
|
|
444
|
+
* @generated from field: optional string instructions = 2;
|
|
445
|
+
*/
|
|
446
|
+
instructions?: string | undefined;
|
|
447
|
+
/**
|
|
448
|
+
* never complete_task or fail_task, which are the sidecar's
|
|
449
|
+
*
|
|
450
|
+
* @generated from field: repeated ankka.protocol.v1.Tool tools = 3;
|
|
451
|
+
*/
|
|
452
|
+
tools: Tool[];
|
|
453
|
+
/**
|
|
454
|
+
* @generated from field: repeated string guardrails = 4;
|
|
455
|
+
*/
|
|
456
|
+
guardrails: string[];
|
|
457
|
+
/**
|
|
458
|
+
* every type this agent accepts, declared once
|
|
459
|
+
*
|
|
460
|
+
* @generated from field: repeated ankka.protocol.v1.AutonomousAgentDetail.TaskType task_types = 5;
|
|
461
|
+
*/
|
|
462
|
+
taskTypes: AutonomousAgentDetail_TaskType[];
|
|
463
|
+
/**
|
|
464
|
+
* @generated from field: repeated ankka.protocol.v1.AutonomousAgentDetail.TaskAcceptance accepts = 6;
|
|
465
|
+
*/
|
|
466
|
+
accepts: AutonomousAgentDetail_TaskAcceptance[];
|
|
467
|
+
/**
|
|
468
|
+
* @generated from field: optional ankka.protocol.v1.AutonomousAgentDetail.AutonomousSettings settings = 7;
|
|
469
|
+
*/
|
|
470
|
+
settings?: AutonomousAgentDetail_AutonomousSettings | undefined;
|
|
471
|
+
/**
|
|
472
|
+
* a name in the sidecar's configuration; absent: its default
|
|
473
|
+
*
|
|
474
|
+
* @generated from field: optional string model = 8;
|
|
475
|
+
*/
|
|
476
|
+
model?: string | undefined;
|
|
477
|
+
};
|
|
478
|
+
/**
|
|
479
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.
|
|
480
|
+
* Use `create(AutonomousAgentDetailSchema)` to create a new message.
|
|
481
|
+
*/
|
|
482
|
+
export declare const AutonomousAgentDetailSchema: GenMessage<AutonomousAgentDetail>;
|
|
483
|
+
/**
|
|
484
|
+
* @generated from message ankka.protocol.v1.AutonomousAgentDetail.TaskType
|
|
485
|
+
*/
|
|
486
|
+
export type AutonomousAgentDetail_TaskType = Message<"ankka.protocol.v1.AutonomousAgentDetail.TaskType"> & {
|
|
487
|
+
/**
|
|
488
|
+
* the wire name, written into every task of this type
|
|
489
|
+
*
|
|
490
|
+
* @generated from field: string name = 1;
|
|
491
|
+
*/
|
|
492
|
+
name: string;
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: string description = 2;
|
|
495
|
+
*/
|
|
496
|
+
description: string;
|
|
497
|
+
/**
|
|
498
|
+
* absent: the result is text
|
|
499
|
+
*
|
|
500
|
+
* @generated from field: optional string result_schema_json = 3;
|
|
501
|
+
*/
|
|
502
|
+
resultSchemaJson?: string | undefined;
|
|
503
|
+
/**
|
|
504
|
+
* names, checked in order
|
|
505
|
+
*
|
|
506
|
+
* @generated from field: repeated string rules = 4;
|
|
507
|
+
*/
|
|
508
|
+
rules: string[];
|
|
509
|
+
};
|
|
510
|
+
/**
|
|
511
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.TaskType.
|
|
512
|
+
* Use `create(AutonomousAgentDetail_TaskTypeSchema)` to create a new message.
|
|
513
|
+
*/
|
|
514
|
+
export declare const AutonomousAgentDetail_TaskTypeSchema: GenMessage<AutonomousAgentDetail_TaskType>;
|
|
515
|
+
/**
|
|
516
|
+
* @generated from message ankka.protocol.v1.AutonomousAgentDetail.TaskAcceptance
|
|
517
|
+
*/
|
|
518
|
+
export type AutonomousAgentDetail_TaskAcceptance = Message<"ankka.protocol.v1.AutonomousAgentDetail.TaskAcceptance"> & {
|
|
519
|
+
/**
|
|
520
|
+
* a name in task_types
|
|
521
|
+
*
|
|
522
|
+
* @generated from field: string task_type = 1;
|
|
523
|
+
*/
|
|
524
|
+
taskType: string;
|
|
525
|
+
/**
|
|
526
|
+
* at least 1
|
|
527
|
+
*
|
|
528
|
+
* @generated from field: int32 max_iterations = 2;
|
|
529
|
+
*/
|
|
530
|
+
maxIterations: number;
|
|
531
|
+
};
|
|
532
|
+
/**
|
|
533
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.TaskAcceptance.
|
|
534
|
+
* Use `create(AutonomousAgentDetail_TaskAcceptanceSchema)` to create a new message.
|
|
535
|
+
*/
|
|
536
|
+
export declare const AutonomousAgentDetail_TaskAcceptanceSchema: GenMessage<AutonomousAgentDetail_TaskAcceptance>;
|
|
537
|
+
/**
|
|
538
|
+
* @generated from message ankka.protocol.v1.AutonomousAgentDetail.AutonomousSettings
|
|
539
|
+
*/
|
|
540
|
+
export type AutonomousAgentDetail_AutonomousSettings = Message<"ankka.protocol.v1.AutonomousAgentDetail.AutonomousSettings"> & {
|
|
541
|
+
/**
|
|
542
|
+
* 0.8
|
|
543
|
+
*
|
|
544
|
+
* @generated from field: optional double approaching_budget_at = 1;
|
|
545
|
+
*/
|
|
546
|
+
approachingBudgetAt?: number | undefined;
|
|
547
|
+
/**
|
|
548
|
+
* 3
|
|
549
|
+
*
|
|
550
|
+
* @generated from field: optional int32 repeated_failure_at = 2;
|
|
551
|
+
*/
|
|
552
|
+
repeatedFailureAt?: number | undefined;
|
|
553
|
+
/**
|
|
554
|
+
* 5
|
|
555
|
+
*
|
|
556
|
+
* @generated from field: optional int32 max_consecutive_failures = 3;
|
|
557
|
+
*/
|
|
558
|
+
maxConsecutiveFailures?: number | undefined;
|
|
559
|
+
/**
|
|
560
|
+
* 300000
|
|
561
|
+
*
|
|
562
|
+
* @generated from field: optional int64 dependency_stuck_after_millis = 4;
|
|
563
|
+
*/
|
|
564
|
+
dependencyStuckAfterMillis?: bigint | undefined;
|
|
565
|
+
};
|
|
566
|
+
/**
|
|
567
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.AutonomousSettings.
|
|
568
|
+
* Use `create(AutonomousAgentDetail_AutonomousSettingsSchema)` to create a new message.
|
|
569
|
+
*/
|
|
570
|
+
export declare const AutonomousAgentDetail_AutonomousSettingsSchema: GenMessage<AutonomousAgentDetail_AutonomousSettings>;
|
|
420
571
|
/**
|
|
421
572
|
* @generated from message ankka.protocol.v1.Endpoint
|
|
422
573
|
*/
|
|
@@ -641,6 +792,12 @@ export declare const Kind: {
|
|
|
641
792
|
* @generated from enum value: AGENT = 6;
|
|
642
793
|
*/
|
|
643
794
|
readonly AGENT: 6;
|
|
795
|
+
/**
|
|
796
|
+
* protocol 1.2
|
|
797
|
+
*
|
|
798
|
+
* @generated from enum value: AUTONOMOUS_AGENT = 7;
|
|
799
|
+
*/
|
|
800
|
+
readonly AUTONOMOUS_AGENT: 7;
|
|
644
801
|
};
|
|
645
802
|
/**
|
|
646
803
|
* @generated from enum ankka.protocol.v1.Kind
|
|
@@ -5,7 +5,7 @@ import { file_ankka_protocol_v1_payload } from "./payload_pb.js";
|
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file ankka/protocol/v1/discovery.proto.
|
|
7
7
|
*/
|
|
8
|
-
export const file_ankka_protocol_v1_discovery = /*@__PURE__*/ fileDesc("
|
|
8
|
+
export const file_ankka_protocol_v1_discovery = /*@__PURE__*/ fileDesc("CiFhbmtrYS9wcm90b2NvbC92MS9kaXNjb3ZlcnkucHJvdG8SEWFua2thLnByb3RvY29sLnYxIkAKC1NpZGVjYXJJbmZvEhgKEHByb3RvY29sX3ZlcnNpb24YASABKAkSFwoPcnVudGltZV92ZXJzaW9uGAIgASgJIqsBCgRTcGVjEhgKEHByb3RvY29sX3ZlcnNpb24YASABKAkSJwoDc2RrGAIgASgLMhouYW5ra2EucHJvdG9jb2wudjEuU2RrSW5mbxIwCgpjb21wb25lbnRzGAMgAygLMhwuYW5ra2EucHJvdG9jb2w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Byb3RvY29sLnYxLk5hbWVkU2VydmljZUgAEjIKDmFueV9pbl9wcm9qZWN0GAMgASgLMhguYW5ra2EucHJvdG9jb2wudjEuRW1wdHlIABIoCgRzZWxmGAQgASgLMhguYW5ra2EucHJvdG9jb2wudjEuRW1wdHlIAEIGCgRraW5kIj4KDE5hbWVkU2VydmljZRIUCgdwcm9qZWN0GAEgASgJSACIAQESDAoEbmFtZRgCIAEoCUIKCghfcHJvamVjdCLOAQoFUm91dGUSCgoCaWQYASABKAkSDgoGbWV0aG9kGAIgASgJEhAKCHRlbXBsYXRlGAMgASgJEhAKCGhhc19ib2R5GAQgASgIEhEKCXN0cmVhbWluZxgFIAEoCBIxCgNhY2wYBiABKA4yHy5hbmtrYS5wcm90b2NvbC52MS5FbmRwb2ludC5BY2xIAIgBARI3Cg1hbGxvd19jYWxsZXJzGAcgAygLMiAuYW5ra2EucHJvdG9jb2wudjEuQ2FsbGVyTWF0Y2hlckIGCgRfYWNsIhoKB1Byb2JsZW0SDwoHbWVzc2FnZRgBIAEoCSqPAQoES2luZBIYChRFVkVOVF9TT1VSQ0VEX0VOVElUWRAAEhQKEEtFWV9WQUxVRV9FTlRJVFkQARIMCghXT1JLRkxPVxACEggKBFZJRVcQAxIMCghDT05TVU1FUhAEEhAKDFRJTUVEX0FDVElPThAFEgkKBUFHRU5UEAYSFAoQQVVUT05PTU9VU19BR0VOVBAHMpUBCglEaXNjb3ZlcnkSQwoIRGlzY292ZXISHi5hbmtrYS5wcm90b2NvbC52MS5TaWRlY2FySW5mbxoXLmFua2thLnByb3RvY29sLnYxLlNwZWMSQwoLUmVwb3J0RXJyb3ISGi5hbmtrYS5wcm90b2NvbC52MS5Qcm9ibGVtGhguYW5ra2EucHJvdG9jb2wudjEuRW1wdHliBnByb3RvMw", [file_ankka_protocol_v1_payload]);
|
|
9
9
|
/**
|
|
10
10
|
* Describes the message ankka.protocol.v1.SidecarInfo.
|
|
11
11
|
* Use `create(SidecarInfoSchema)` to create a new message.
|
|
@@ -96,11 +96,31 @@ export const AgentDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v
|
|
|
96
96
|
* Use `create(ToolSchema)` to create a new message.
|
|
97
97
|
*/
|
|
98
98
|
export const ToolSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 13);
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.
|
|
101
|
+
* Use `create(AutonomousAgentDetailSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export const AutonomousAgentDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 14);
|
|
104
|
+
/**
|
|
105
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.TaskType.
|
|
106
|
+
* Use `create(AutonomousAgentDetail_TaskTypeSchema)` to create a new message.
|
|
107
|
+
*/
|
|
108
|
+
export const AutonomousAgentDetail_TaskTypeSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 14, 0);
|
|
109
|
+
/**
|
|
110
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.TaskAcceptance.
|
|
111
|
+
* Use `create(AutonomousAgentDetail_TaskAcceptanceSchema)` to create a new message.
|
|
112
|
+
*/
|
|
113
|
+
export const AutonomousAgentDetail_TaskAcceptanceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 14, 1);
|
|
114
|
+
/**
|
|
115
|
+
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.AutonomousSettings.
|
|
116
|
+
* Use `create(AutonomousAgentDetail_AutonomousSettingsSchema)` to create a new message.
|
|
117
|
+
*/
|
|
118
|
+
export const AutonomousAgentDetail_AutonomousSettingsSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 14, 2);
|
|
99
119
|
/**
|
|
100
120
|
* Describes the message ankka.protocol.v1.Endpoint.
|
|
101
121
|
* Use `create(EndpointSchema)` to create a new message.
|
|
102
122
|
*/
|
|
103
|
-
export const EndpointSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
123
|
+
export const EndpointSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 15);
|
|
104
124
|
/**
|
|
105
125
|
* @generated from enum ankka.protocol.v1.Endpoint.Acl
|
|
106
126
|
*/
|
|
@@ -125,27 +145,27 @@ export const Endpoint_Acl = {
|
|
|
125
145
|
/**
|
|
126
146
|
* Describes the enum ankka.protocol.v1.Endpoint.Acl.
|
|
127
147
|
*/
|
|
128
|
-
export const Endpoint_AclSchema = /*@__PURE__*/ enumDesc(file_ankka_protocol_v1_discovery,
|
|
148
|
+
export const Endpoint_AclSchema = /*@__PURE__*/ enumDesc(file_ankka_protocol_v1_discovery, 15, 0);
|
|
129
149
|
/**
|
|
130
150
|
* Describes the message ankka.protocol.v1.CallerMatcher.
|
|
131
151
|
* Use `create(CallerMatcherSchema)` to create a new message.
|
|
132
152
|
*/
|
|
133
|
-
export const CallerMatcherSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
153
|
+
export const CallerMatcherSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 16);
|
|
134
154
|
/**
|
|
135
155
|
* Describes the message ankka.protocol.v1.NamedService.
|
|
136
156
|
* Use `create(NamedServiceSchema)` to create a new message.
|
|
137
157
|
*/
|
|
138
|
-
export const NamedServiceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
158
|
+
export const NamedServiceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 17);
|
|
139
159
|
/**
|
|
140
160
|
* Describes the message ankka.protocol.v1.Route.
|
|
141
161
|
* Use `create(RouteSchema)` to create a new message.
|
|
142
162
|
*/
|
|
143
|
-
export const RouteSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
163
|
+
export const RouteSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 18);
|
|
144
164
|
/**
|
|
145
165
|
* Describes the message ankka.protocol.v1.Problem.
|
|
146
166
|
* Use `create(ProblemSchema)` to create a new message.
|
|
147
167
|
*/
|
|
148
|
-
export const ProblemSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
168
|
+
export const ProblemSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 19);
|
|
149
169
|
/**
|
|
150
170
|
* @generated from enum ankka.protocol.v1.Kind
|
|
151
171
|
*/
|
|
@@ -178,6 +198,12 @@ export const Kind = {
|
|
|
178
198
|
* @generated from enum value: AGENT = 6;
|
|
179
199
|
*/
|
|
180
200
|
AGENT: 6,
|
|
201
|
+
/**
|
|
202
|
+
* protocol 1.2
|
|
203
|
+
*
|
|
204
|
+
* @generated from enum value: AUTONOMOUS_AGENT = 7;
|
|
205
|
+
*/
|
|
206
|
+
AUTONOMOUS_AGENT: 7,
|
|
181
207
|
};
|
|
182
208
|
/**
|
|
183
209
|
* Describes the enum ankka.protocol.v1.Kind.
|