ankka 0.10.0 → 0.12.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 +1 -0
- package/dist/_proto/ankka/protocol/v1/agent_pb.d.ts +35 -0
- package/dist/_proto/ankka/protocol/v1/agent_pb.js +8 -1
- package/dist/_proto/ankka/protocol/v1/client_pb.d.ts +858 -2
- package/dist/_proto/ankka/protocol/v1/client_pb.js +184 -9
- package/dist/_proto/ankka/protocol/v1/consumer_pb.d.ts +10 -1
- package/dist/_proto/ankka/protocol/v1/consumer_pb.js +1 -1
- package/dist/_proto/ankka/protocol/v1/discovery_pb.d.ts +373 -0
- package/dist/_proto/ankka/protocol/v1/discovery_pb.js +81 -16
- package/dist/_proto/ankka/protocol/v1/endpoint_pb.d.ts +210 -0
- package/dist/_proto/ankka/protocol/v1/endpoint_pb.js +35 -5
- package/dist/_proto/ankka/protocol/v1/event_sourced_pb.d.ts +86 -0
- package/dist/_proto/ankka/protocol/v1/event_sourced_pb.js +11 -1
- package/dist/_proto/ankka/protocol/v1/payload_pb.d.ts +61 -0
- package/dist/_proto/ankka/protocol/v1/payload_pb.js +18 -1
- package/dist/_proto/ankka/protocol/v1/view_pb.d.ts +70 -1
- package/dist/_proto/ankka/protocol/v1/view_pb.js +11 -1
- package/dist/_proto/ankka/protocol/v1/wasm_pb.d.ts +12 -0
- package/dist/_proto/ankka/protocol/v1/wasm_pb.js +1 -1
- package/dist/_proto/ankka/protocol/v1/workflow_pb.d.ts +7 -0
- package/dist/_proto/ankka/protocol/v1/workflow_pb.js +1 -1
- package/dist/agent.d.ts +15 -1
- package/dist/agent.js +20 -0
- package/dist/approvals.d.ts +47 -0
- package/dist/approvals.js +57 -0
- package/dist/autonomous.d.ts +23 -1
- package/dist/autonomous.js +30 -1
- package/dist/client.d.ts +188 -7
- package/dist/client.js +490 -21
- package/dist/consumer.d.ts +42 -3
- package/dist/consumer.js +35 -1
- package/dist/context.d.ts +29 -1
- package/dist/context.js +5 -2
- package/dist/contract.d.ts +40 -0
- package/dist/contract.js +60 -0
- package/dist/effects/common.d.ts +7 -0
- package/dist/effects/common.js +9 -1
- package/dist/effects/eventSourced.d.ts +26 -1
- package/dist/effects/eventSourced.js +58 -5
- package/dist/effects/keyed.d.ts +33 -0
- package/dist/effects/keyed.js +41 -0
- package/dist/endpoint.d.ts +10 -1
- package/dist/endpoint.js +20 -0
- package/dist/eventSourcedEntity.d.ts +8 -3
- package/dist/graph.d.ts +24 -2
- package/dist/graph.js +27 -1
- package/dist/handlers.d.ts +10 -2
- package/dist/handlers.js +6 -2
- package/dist/index.d.ts +15 -6
- package/dist/index.js +12 -3
- package/dist/keyedView.d.ts +59 -0
- package/dist/keyedView.js +73 -0
- package/dist/kinds.js +2 -0
- package/dist/mcp.d.ts +57 -0
- package/dist/mcp.js +64 -0
- package/dist/routes.d.ts +44 -4
- package/dist/routes.js +43 -4
- package/dist/server/agent.js +12 -4
- package/dist/server/discovery.d.ts +17 -1
- package/dist/server/discovery.js +182 -1
- package/dist/server/eventSourced.d.ts +4 -1
- package/dist/server/eventSourced.js +24 -6
- package/dist/server/http.d.ts +2 -1
- package/dist/server/http.js +80 -4
- package/dist/server/stateless.js +42 -3
- package/dist/server/workflow.js +5 -1
- package/dist/service.d.ts +46 -2
- package/dist/service.js +235 -15
- package/dist/services.d.ts +137 -0
- package/dist/services.js +259 -0
- package/dist/socket.d.ts +15 -0
- package/dist/socket.js +25 -0
- package/dist/spec.d.ts +1 -1
- package/dist/spec.js +94 -15
- package/dist/standing.d.ts +18 -0
- package/dist/standing.js +26 -0
- package/dist/startFrom.d.ts +36 -0
- package/dist/startFrom.js +51 -0
- package/dist/testkit/index.d.ts +2 -2
- package/dist/testkit/index.js +1 -1
- package/dist/testkit/integration.js +5 -0
- package/dist/testkit/kinds.d.ts +50 -5
- package/dist/testkit/kinds.js +208 -35
- package/dist/testkit/unit.d.ts +41 -3
- package/dist/testkit/unit.js +87 -10
- package/dist/timedAction.d.ts +17 -2
- package/dist/timedAction.js +33 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/view.d.ts +48 -1
- package/dist/view.js +18 -1
- package/dist/workflow.d.ts +18 -1
- package/dist/workflow.js +39 -0
- package/package.json +3 -2
|
@@ -175,9 +175,18 @@ export declare const HandlerSchema: GenMessage<Handler>;
|
|
|
175
175
|
*/
|
|
176
176
|
export type EventSourcedDetail = Message<"ankka.protocol.v1.EventSourcedDetail"> & {
|
|
177
177
|
/**
|
|
178
|
+
* 0: never
|
|
179
|
+
*
|
|
178
180
|
* @generated from field: int32 snapshot_every = 1;
|
|
179
181
|
*/
|
|
180
182
|
snapshotEvery: number;
|
|
183
|
+
/**
|
|
184
|
+
* 1.19: held at several installations, written only at its home. A runtime below 1.19 cannot
|
|
185
|
+
* have meant it, and refuses the process.
|
|
186
|
+
*
|
|
187
|
+
* @generated from field: bool replicated = 2;
|
|
188
|
+
*/
|
|
189
|
+
replicated: boolean;
|
|
181
190
|
};
|
|
182
191
|
/**
|
|
183
192
|
* Describes the message ankka.protocol.v1.EventSourcedDetail.
|
|
@@ -304,6 +313,37 @@ export type Source = Message<"ankka.protocol.v1.Source"> & {
|
|
|
304
313
|
case: undefined;
|
|
305
314
|
value?: undefined;
|
|
306
315
|
};
|
|
316
|
+
/**
|
|
317
|
+
* 1.7: where a topic source starts the first time its consumer group reads a partition. Only
|
|
318
|
+
* with `topic`. Absent: a view starts at the earliest message; a consumer is refused.
|
|
319
|
+
*
|
|
320
|
+
* @generated from field: optional ankka.protocol.v1.StartFrom start_from = 3;
|
|
321
|
+
*/
|
|
322
|
+
startFrom?: StartFrom | undefined;
|
|
323
|
+
/**
|
|
324
|
+
* 1.14, only with `topic`: the contract the component expects the topic to carry, checked at
|
|
325
|
+
* start against the project's declaration; the declared broker the topic is on (absent: the
|
|
326
|
+
* installation's); whether the partitions an instance holds are handled at once, each in order.
|
|
327
|
+
*
|
|
328
|
+
* @generated from field: optional ankka.protocol.v1.Contract contract = 4;
|
|
329
|
+
*/
|
|
330
|
+
contract?: Contract | undefined;
|
|
331
|
+
/**
|
|
332
|
+
* @generated from field: optional string broker = 5;
|
|
333
|
+
*/
|
|
334
|
+
broker?: string | undefined;
|
|
335
|
+
/**
|
|
336
|
+
* @generated from field: optional bool parallel = 6;
|
|
337
|
+
*/
|
|
338
|
+
parallel?: boolean | undefined;
|
|
339
|
+
/**
|
|
340
|
+
* 1.15, only with `topic`: the project whose topic this is, when it is not the service's own. The
|
|
341
|
+
* broker refuses the subscription until that project grants the service consume on it; the
|
|
342
|
+
* consumer group stays the service's own.
|
|
343
|
+
*
|
|
344
|
+
* @generated from field: optional string project = 7;
|
|
345
|
+
*/
|
|
346
|
+
project?: string | undefined;
|
|
307
347
|
};
|
|
308
348
|
/**
|
|
309
349
|
* Describes the message ankka.protocol.v1.Source.
|
|
@@ -328,11 +368,125 @@ export type Source_ComponentRef = Message<"ankka.protocol.v1.Source.ComponentRef
|
|
|
328
368
|
* Use `create(Source_ComponentRefSchema)` to create a new message.
|
|
329
369
|
*/
|
|
330
370
|
export declare const Source_ComponentRefSchema: GenMessage<Source_ComponentRef>;
|
|
371
|
+
/**
|
|
372
|
+
* 1.14: a name and the fingerprint of the schema document a component was built against:
|
|
373
|
+
* `sha256:` and the hex SHA-256 of the document under RFC 8785 (protocol/fixtures/contracts/).
|
|
374
|
+
*
|
|
375
|
+
* @generated from message ankka.protocol.v1.Contract
|
|
376
|
+
*/
|
|
377
|
+
export type Contract = Message<"ankka.protocol.v1.Contract"> & {
|
|
378
|
+
/**
|
|
379
|
+
* @generated from field: string name = 1;
|
|
380
|
+
*/
|
|
381
|
+
name: string;
|
|
382
|
+
/**
|
|
383
|
+
* @generated from field: string fingerprint = 2;
|
|
384
|
+
*/
|
|
385
|
+
fingerprint: string;
|
|
386
|
+
};
|
|
387
|
+
/**
|
|
388
|
+
* Describes the message ankka.protocol.v1.Contract.
|
|
389
|
+
* Use `create(ContractSchema)` to create a new message.
|
|
390
|
+
*/
|
|
391
|
+
export declare const ContractSchema: GenMessage<Contract>;
|
|
392
|
+
/**
|
|
393
|
+
* 1.14: a topic a consumer publishes to, with the contract it states and the declared broker it is on.
|
|
394
|
+
* 1.15: `project` names another project's topic, which that project must grant produce on.
|
|
395
|
+
*
|
|
396
|
+
* @generated from message ankka.protocol.v1.Publication
|
|
397
|
+
*/
|
|
398
|
+
export type Publication = Message<"ankka.protocol.v1.Publication"> & {
|
|
399
|
+
/**
|
|
400
|
+
* @generated from field: string topic = 1;
|
|
401
|
+
*/
|
|
402
|
+
topic: string;
|
|
403
|
+
/**
|
|
404
|
+
* @generated from field: optional ankka.protocol.v1.Contract contract = 2;
|
|
405
|
+
*/
|
|
406
|
+
contract?: Contract | undefined;
|
|
407
|
+
/**
|
|
408
|
+
* @generated from field: optional string broker = 3;
|
|
409
|
+
*/
|
|
410
|
+
broker?: string | undefined;
|
|
411
|
+
/**
|
|
412
|
+
* @generated from field: optional string project = 4;
|
|
413
|
+
*/
|
|
414
|
+
project?: string | undefined;
|
|
415
|
+
};
|
|
416
|
+
/**
|
|
417
|
+
* Describes the message ankka.protocol.v1.Publication.
|
|
418
|
+
* Use `create(PublicationSchema)` to create a new message.
|
|
419
|
+
*/
|
|
420
|
+
export declare const PublicationSchema: GenMessage<Publication>;
|
|
421
|
+
/**
|
|
422
|
+
* 1.7
|
|
423
|
+
*
|
|
424
|
+
* @generated from message ankka.protocol.v1.StartFrom
|
|
425
|
+
*/
|
|
426
|
+
export type StartFrom = Message<"ankka.protocol.v1.StartFrom"> & {
|
|
427
|
+
/**
|
|
428
|
+
* @generated from oneof ankka.protocol.v1.StartFrom.position
|
|
429
|
+
*/
|
|
430
|
+
position: {
|
|
431
|
+
/**
|
|
432
|
+
* @generated from field: ankka.protocol.v1.StartFrom.Named named = 1;
|
|
433
|
+
*/
|
|
434
|
+
value: StartFrom_Named;
|
|
435
|
+
case: "named";
|
|
436
|
+
} | {
|
|
437
|
+
/**
|
|
438
|
+
* the first message published at or after this time, in ms since the epoch
|
|
439
|
+
*
|
|
440
|
+
* @generated from field: int64 at_millis = 2;
|
|
441
|
+
*/
|
|
442
|
+
value: bigint;
|
|
443
|
+
case: "atMillis";
|
|
444
|
+
} | {
|
|
445
|
+
case: undefined;
|
|
446
|
+
value?: undefined;
|
|
447
|
+
};
|
|
448
|
+
};
|
|
449
|
+
/**
|
|
450
|
+
* Describes the message ankka.protocol.v1.StartFrom.
|
|
451
|
+
* Use `create(StartFromSchema)` to create a new message.
|
|
452
|
+
*/
|
|
453
|
+
export declare const StartFromSchema: GenMessage<StartFrom>;
|
|
454
|
+
/**
|
|
455
|
+
* @generated from enum ankka.protocol.v1.StartFrom.Named
|
|
456
|
+
*/
|
|
457
|
+
export declare const StartFrom_Named: {
|
|
458
|
+
/**
|
|
459
|
+
* @generated from enum value: NAMED_UNSPECIFIED = 0;
|
|
460
|
+
*/
|
|
461
|
+
readonly NAMED_UNSPECIFIED: 0;
|
|
462
|
+
/**
|
|
463
|
+
* the oldest message the broker holds
|
|
464
|
+
*
|
|
465
|
+
* @generated from enum value: EARLIEST = 1;
|
|
466
|
+
*/
|
|
467
|
+
readonly EARLIEST: 1;
|
|
468
|
+
/**
|
|
469
|
+
* after the newest: only what is published from then on
|
|
470
|
+
*
|
|
471
|
+
* @generated from enum value: LATEST = 2;
|
|
472
|
+
*/
|
|
473
|
+
readonly LATEST: 2;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* @generated from enum ankka.protocol.v1.StartFrom.Named
|
|
477
|
+
*/
|
|
478
|
+
export type StartFrom_Named = (typeof StartFrom_Named)[keyof typeof StartFrom_Named] | UnknownEnum;
|
|
479
|
+
/**
|
|
480
|
+
* Describes the enum ankka.protocol.v1.StartFrom.Named.
|
|
481
|
+
*/
|
|
482
|
+
export declare const StartFrom_NamedSchema: GenEnum<StartFrom_Named>;
|
|
331
483
|
/**
|
|
332
484
|
* @generated from message ankka.protocol.v1.ViewDetail
|
|
333
485
|
*/
|
|
334
486
|
export type ViewDetail = Message<"ankka.protocol.v1.ViewDetail"> & {
|
|
335
487
|
/**
|
|
488
|
+
* a plain view's one source; absent for a keyed view
|
|
489
|
+
*
|
|
336
490
|
* @generated from field: ankka.protocol.v1.Source source = 1;
|
|
337
491
|
*/
|
|
338
492
|
source?: Source | undefined;
|
|
@@ -344,12 +498,57 @@ export type ViewDetail = Message<"ankka.protocol.v1.ViewDetail"> & {
|
|
|
344
498
|
* @generated from field: repeated string queries = 3;
|
|
345
499
|
*/
|
|
346
500
|
queries: string[];
|
|
501
|
+
/**
|
|
502
|
+
* 1.7: with a topic source. 1.13: also with entity sources. A higher one rebuilds the view. Absent: 1
|
|
503
|
+
*
|
|
504
|
+
* @generated from field: optional uint32 version = 4;
|
|
505
|
+
*/
|
|
506
|
+
version?: number | undefined;
|
|
507
|
+
/**
|
|
508
|
+
* 1.13: a keyed view's sources, each a component (an event sourced or a key value entity). When
|
|
509
|
+
* present `source` is absent, the view's changes carry `source_id`, and its effects are `rows`.
|
|
510
|
+
*
|
|
511
|
+
* @generated from field: repeated ankka.protocol.v1.Source sources = 5;
|
|
512
|
+
*/
|
|
513
|
+
sources: Source[];
|
|
514
|
+
/**
|
|
515
|
+
* 1.13: the queries this view can be asked by name.
|
|
516
|
+
*
|
|
517
|
+
* @generated from field: repeated ankka.protocol.v1.DeclaredQuery declared_queries = 6;
|
|
518
|
+
*/
|
|
519
|
+
declaredQueries: DeclaredQuery[];
|
|
347
520
|
};
|
|
348
521
|
/**
|
|
349
522
|
* Describes the message ankka.protocol.v1.ViewDetail.
|
|
350
523
|
* Use `create(ViewDetailSchema)` to create a new message.
|
|
351
524
|
*/
|
|
352
525
|
export declare const ViewDetailSchema: GenMessage<ViewDetail>;
|
|
526
|
+
/**
|
|
527
|
+
* 1.13: a statement over the view's own table. Its values are the `:name`s it holds.
|
|
528
|
+
* `watched` (1.17): the query may be watched through `Client.Watch`; its statement selects `row_key`
|
|
529
|
+
* beside `payload`, has no limit and does not aggregate, which the runtime checks at start.
|
|
530
|
+
*
|
|
531
|
+
* @generated from message ankka.protocol.v1.DeclaredQuery
|
|
532
|
+
*/
|
|
533
|
+
export type DeclaredQuery = Message<"ankka.protocol.v1.DeclaredQuery"> & {
|
|
534
|
+
/**
|
|
535
|
+
* @generated from field: string name = 1;
|
|
536
|
+
*/
|
|
537
|
+
name: string;
|
|
538
|
+
/**
|
|
539
|
+
* @generated from field: string statement = 2;
|
|
540
|
+
*/
|
|
541
|
+
statement: string;
|
|
542
|
+
/**
|
|
543
|
+
* @generated from field: bool watched = 3;
|
|
544
|
+
*/
|
|
545
|
+
watched: boolean;
|
|
546
|
+
};
|
|
547
|
+
/**
|
|
548
|
+
* Describes the message ankka.protocol.v1.DeclaredQuery.
|
|
549
|
+
* Use `create(DeclaredQuerySchema)` to create a new message.
|
|
550
|
+
*/
|
|
551
|
+
export declare const DeclaredQuerySchema: GenMessage<DeclaredQuery>;
|
|
353
552
|
/**
|
|
354
553
|
* @generated from message ankka.protocol.v1.ConsumerDetail
|
|
355
554
|
*/
|
|
@@ -362,6 +561,26 @@ export type ConsumerDetail = Message<"ankka.protocol.v1.ConsumerDetail"> & {
|
|
|
362
561
|
* @generated from field: optional string produces_to = 2;
|
|
363
562
|
*/
|
|
364
563
|
producesTo?: string | undefined;
|
|
564
|
+
/**
|
|
565
|
+
* 1.7: only with a topic source; a new one reads under a new group. Absent: 1
|
|
566
|
+
*
|
|
567
|
+
* @generated from field: optional uint32 version = 3;
|
|
568
|
+
*/
|
|
569
|
+
version?: number | undefined;
|
|
570
|
+
/**
|
|
571
|
+
* 1.14: the publication with its contract and broker; `produces_to` stays for a process that
|
|
572
|
+
* states only the topic. Both present must name one topic.
|
|
573
|
+
*
|
|
574
|
+
* @generated from field: optional ankka.protocol.v1.Publication produces = 4;
|
|
575
|
+
*/
|
|
576
|
+
produces?: Publication | undefined;
|
|
577
|
+
/**
|
|
578
|
+
* 1.19: a producing or graph consumer is given changes written at other installations too;
|
|
579
|
+
* without it, only changes written here, so each is published once across installations.
|
|
580
|
+
*
|
|
581
|
+
* @generated from field: bool mirrored_changes = 5;
|
|
582
|
+
*/
|
|
583
|
+
mirroredChanges: boolean;
|
|
365
584
|
};
|
|
366
585
|
/**
|
|
367
586
|
* Describes the message ankka.protocol.v1.ConsumerDetail.
|
|
@@ -397,6 +616,18 @@ export type AgentDetail = Message<"ankka.protocol.v1.AgentDetail"> & {
|
|
|
397
616
|
* @generated from field: repeated string guardrails = 4;
|
|
398
617
|
*/
|
|
399
618
|
guardrails: string[];
|
|
619
|
+
/**
|
|
620
|
+
* 1.11: servers whose tools the sidecar offers the model
|
|
621
|
+
*
|
|
622
|
+
* @generated from field: repeated ankka.protocol.v1.McpServer mcp_servers = 5;
|
|
623
|
+
*/
|
|
624
|
+
mcpServers: McpServer[];
|
|
625
|
+
/**
|
|
626
|
+
* 1.11: names the process answers CheckGuardrail RESULT for
|
|
627
|
+
*
|
|
628
|
+
* @generated from field: repeated string result_guardrails = 6;
|
|
629
|
+
*/
|
|
630
|
+
resultGuardrails: string[];
|
|
400
631
|
};
|
|
401
632
|
/**
|
|
402
633
|
* Describes the message ankka.protocol.v1.AgentDetail.
|
|
@@ -419,12 +650,127 @@ export type Tool = Message<"ankka.protocol.v1.Tool"> & {
|
|
|
419
650
|
* @generated from field: string input_schema_json = 3;
|
|
420
651
|
*/
|
|
421
652
|
inputSchemaJson: string;
|
|
653
|
+
/**
|
|
654
|
+
* 1.11: unset, the tool runs when the model calls it
|
|
655
|
+
*
|
|
656
|
+
* @generated from field: optional ankka.protocol.v1.Approval approval = 4;
|
|
657
|
+
*/
|
|
658
|
+
approval?: Approval | undefined;
|
|
422
659
|
};
|
|
423
660
|
/**
|
|
424
661
|
* Describes the message ankka.protocol.v1.Tool.
|
|
425
662
|
* Use `create(ToolSchema)` to create a new message.
|
|
426
663
|
*/
|
|
427
664
|
export declare const ToolSchema: GenMessage<Tool>;
|
|
665
|
+
/**
|
|
666
|
+
* 1.11: that a tool waits for a person's decision before it runs. With no time limit it waits until
|
|
667
|
+
* decided; with one, the platform refuses it when the limit passes.
|
|
668
|
+
*
|
|
669
|
+
* @generated from message ankka.protocol.v1.Approval
|
|
670
|
+
*/
|
|
671
|
+
export type Approval = Message<"ankka.protocol.v1.Approval"> & {
|
|
672
|
+
/**
|
|
673
|
+
* @generated from field: optional int64 within_millis = 1;
|
|
674
|
+
*/
|
|
675
|
+
withinMillis?: bigint | undefined;
|
|
676
|
+
};
|
|
677
|
+
/**
|
|
678
|
+
* Describes the message ankka.protocol.v1.Approval.
|
|
679
|
+
* Use `create(ApprovalSchema)` to create a new message.
|
|
680
|
+
*/
|
|
681
|
+
export declare const ApprovalSchema: GenMessage<Approval>;
|
|
682
|
+
/**
|
|
683
|
+
* 1.11: an MCP server an agent lists. The sidecar connects to it when it starts, reads its tools and
|
|
684
|
+
* offers them as `mcp__<name>__<tool>`; the process is never asked to run one. Its address, and the
|
|
685
|
+
* value of each header, are read from the sidecar's own environment: a variable named here starts
|
|
686
|
+
* ANKKA_MCP_, and those reach only the platform's container.
|
|
687
|
+
*
|
|
688
|
+
* @generated from message ankka.protocol.v1.McpServer
|
|
689
|
+
*/
|
|
690
|
+
export type McpServer = Message<"ankka.protocol.v1.McpServer"> & {
|
|
691
|
+
/**
|
|
692
|
+
* [a-z0-9-]+
|
|
693
|
+
*
|
|
694
|
+
* @generated from field: string name = 1;
|
|
695
|
+
*/
|
|
696
|
+
name: string;
|
|
697
|
+
/**
|
|
698
|
+
* unset: ANKKA_MCP_<NAME>_URL must be set
|
|
699
|
+
*
|
|
700
|
+
* @generated from oneof ankka.protocol.v1.McpServer.address
|
|
701
|
+
*/
|
|
702
|
+
address: {
|
|
703
|
+
/**
|
|
704
|
+
* @generated from field: string url = 2;
|
|
705
|
+
*/
|
|
706
|
+
value: string;
|
|
707
|
+
case: "url";
|
|
708
|
+
} | {
|
|
709
|
+
/**
|
|
710
|
+
* @generated from field: ankka.protocol.v1.McpServer.Service service = 3;
|
|
711
|
+
*/
|
|
712
|
+
value: McpServer_Service;
|
|
713
|
+
case: "service";
|
|
714
|
+
} | {
|
|
715
|
+
case: undefined;
|
|
716
|
+
value?: undefined;
|
|
717
|
+
};
|
|
718
|
+
/**
|
|
719
|
+
* every tool of the server
|
|
720
|
+
*
|
|
721
|
+
* @generated from field: optional ankka.protocol.v1.Approval approval = 4;
|
|
722
|
+
*/
|
|
723
|
+
approval?: Approval | undefined;
|
|
724
|
+
/**
|
|
725
|
+
* @generated from field: repeated ankka.protocol.v1.McpServer.Header headers = 5;
|
|
726
|
+
*/
|
|
727
|
+
headers: McpServer_Header[];
|
|
728
|
+
};
|
|
729
|
+
/**
|
|
730
|
+
* Describes the message ankka.protocol.v1.McpServer.
|
|
731
|
+
* Use `create(McpServerSchema)` to create a new message.
|
|
732
|
+
*/
|
|
733
|
+
export declare const McpServerSchema: GenMessage<McpServer>;
|
|
734
|
+
/**
|
|
735
|
+
* @generated from message ankka.protocol.v1.McpServer.Service
|
|
736
|
+
*/
|
|
737
|
+
export type McpServer_Service = Message<"ankka.protocol.v1.McpServer.Service"> & {
|
|
738
|
+
/**
|
|
739
|
+
* @generated from field: optional string project = 1;
|
|
740
|
+
*/
|
|
741
|
+
project?: string | undefined;
|
|
742
|
+
/**
|
|
743
|
+
* @generated from field: string name = 2;
|
|
744
|
+
*/
|
|
745
|
+
name: string;
|
|
746
|
+
/**
|
|
747
|
+
* @generated from field: string path = 3;
|
|
748
|
+
*/
|
|
749
|
+
path: string;
|
|
750
|
+
};
|
|
751
|
+
/**
|
|
752
|
+
* Describes the message ankka.protocol.v1.McpServer.Service.
|
|
753
|
+
* Use `create(McpServer_ServiceSchema)` to create a new message.
|
|
754
|
+
*/
|
|
755
|
+
export declare const McpServer_ServiceSchema: GenMessage<McpServer_Service>;
|
|
756
|
+
/**
|
|
757
|
+
* @generated from message ankka.protocol.v1.McpServer.Header
|
|
758
|
+
*/
|
|
759
|
+
export type McpServer_Header = Message<"ankka.protocol.v1.McpServer.Header"> & {
|
|
760
|
+
/**
|
|
761
|
+
* @generated from field: string name = 1;
|
|
762
|
+
*/
|
|
763
|
+
name: string;
|
|
764
|
+
/**
|
|
765
|
+
* @generated from field: string variable = 2;
|
|
766
|
+
*/
|
|
767
|
+
variable: string;
|
|
768
|
+
};
|
|
769
|
+
/**
|
|
770
|
+
* Describes the message ankka.protocol.v1.McpServer.Header.
|
|
771
|
+
* Use `create(McpServer_HeaderSchema)` to create a new message.
|
|
772
|
+
*/
|
|
773
|
+
export declare const McpServer_HeaderSchema: GenMessage<McpServer_Header>;
|
|
428
774
|
/**
|
|
429
775
|
* An autonomous agent's whole definition (protocol 1.2). There is nothing to plan per task: the
|
|
430
776
|
* sidecar runs the loop from this and asks the process only to run a tool (Agent.InvokeTool), check
|
|
@@ -474,6 +820,18 @@ export type AutonomousAgentDetail = Message<"ankka.protocol.v1.AutonomousAgentDe
|
|
|
474
820
|
* @generated from field: optional string model = 8;
|
|
475
821
|
*/
|
|
476
822
|
model?: string | undefined;
|
|
823
|
+
/**
|
|
824
|
+
* 1.11
|
|
825
|
+
*
|
|
826
|
+
* @generated from field: repeated ankka.protocol.v1.McpServer mcp_servers = 9;
|
|
827
|
+
*/
|
|
828
|
+
mcpServers: McpServer[];
|
|
829
|
+
/**
|
|
830
|
+
* 1.11
|
|
831
|
+
*
|
|
832
|
+
* @generated from field: repeated string result_guardrails = 10;
|
|
833
|
+
*/
|
|
834
|
+
resultGuardrails: string[];
|
|
477
835
|
};
|
|
478
836
|
/**
|
|
479
837
|
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.
|
|
@@ -666,6 +1024,14 @@ export type CallerMatcher = Message<"ankka.protocol.v1.CallerMatcher"> & {
|
|
|
666
1024
|
*/
|
|
667
1025
|
value: Empty;
|
|
668
1026
|
case: "self";
|
|
1027
|
+
} | {
|
|
1028
|
+
/**
|
|
1029
|
+
* 1.15: a caller holding a grant, made by this service's project, on this route or method.
|
|
1030
|
+
*
|
|
1031
|
+
* @generated from field: ankka.protocol.v1.Empty granted = 5;
|
|
1032
|
+
*/
|
|
1033
|
+
value: Empty;
|
|
1034
|
+
case: "granted";
|
|
669
1035
|
} | {
|
|
670
1036
|
case: undefined;
|
|
671
1037
|
value?: undefined;
|
|
@@ -740,6 +1106,13 @@ export type Route = Message<"ankka.protocol.v1.Route"> & {
|
|
|
740
1106
|
* @generated from field: repeated ankka.protocol.v1.CallerMatcher allow_callers = 7;
|
|
741
1107
|
*/
|
|
742
1108
|
allowCallers: CallerMatcher[];
|
|
1109
|
+
/**
|
|
1110
|
+
* Answered by opening a socket, via Http.HandleSocket (protocol 1.9). Always GET, never with a
|
|
1111
|
+
* body, never streaming; refused under an earlier minor and by a module.
|
|
1112
|
+
*
|
|
1113
|
+
* @generated from field: bool socket = 8;
|
|
1114
|
+
*/
|
|
1115
|
+
socket: boolean;
|
|
743
1116
|
};
|
|
744
1117
|
/**
|
|
745
1118
|
* Describes the message ankka.protocol.v1.Route.
|
|
@@ -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("CiFhbmtrYS9wcm90b2NvbC92MS9kaXNjb3ZlcnkucHJvdG8SEWFua2thLnByb3RvY29sLnYxIkAKC1NpZGVjYXJJbmZvEhgKEHByb3RvY29sX3ZlcnNpb24YASABKAkSFwoPcnVudGltZV92ZXJzaW9uGAIgASgJIqsBCgRTcGVjEhgKEHByb3RvY29sX3ZlcnNpb24YASABKAkSJwoDc2RrGAIgASgLMhouYW5ra2EucHJvdG9jb2wudjEuU2RrSW5mbxIwCgpjb21wb25lbnRzGAMgAygLMhwuYW5ra2EucHJvdG9jb2wudjEuQ29tcG9uZW50Ei4KCWVuZHBvaW50cxgEIAMoCzIbLmFua2thLnBy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gFIAEoCzIYLmFua2thLnByb3RvY29sLnYxLkVtcHR5SABCBgoEa2luZCI+CgxOYW1lZFNlcnZpY2USFAoHcHJvamVjdBgBIAEoCUgAiAEBEgwKBG5hbWUYAiABKAlCCgoIX3Byb2plY3Qi3gEKBVJvdXRlEgoKAmlkGAEgASgJEg4KBm1ldGhvZBgCIAEoCRIQCgh0ZW1wbGF0ZRgDIAEoCRIQCghoYXNfYm9keRgEIAEoCBIRCglzdHJlYW1pbmcYBSABKAgSMQoDYWNsGAYgASgOMh8uYW5ra2EucHJvdG9jb2wudjEuRW5kcG9pbnQuQWNsSACIAQESNwoNYWxsb3dfY2FsbGVycxgHIAMoCzIgLmFua2thLnByb3RvY29sLnYxLkNhbGxlck1hdGNoZXISDgoGc29ja2V0GAggASgIQgYKBF9hY2wiGgoHUHJvYmxlbRIPCgdtZXNzYWdlGAEgASgJKo8BCgRLaW5kEhgKFEVWRU5UX1NPVVJDRURfRU5USVRZEAASFAoQS0VZX1ZBTFVFX0VOVElUWRABEgwKCFdPUktGTE9XEAISCAoEVklFVxADEgwKCENPTlNVTUVSEAQSEAoMVElNRURfQUNUSU9OEAUSCQoFQUdFTlQQBhIUChBBVVRPTk9NT1VTX0FHRU5UEAcylQEKCURpc2NvdmVyeRJDCghEaXNjb3ZlchIeLmFua2thLnByb3RvY29sLnYxLlNpZGVjYXJJbmZvGhcuYW5ra2EucHJvdG9jb2wudjEuU3BlYxJDCgtSZXBvcnRFcnJvchIaLmFua2thLnByb3RvY29sLnYxLlByb2JsZW0aGC5hbmtrYS5wcm90b2NvbC52MS5FbXB0eWIGcHJvdG8z", [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.
|
|
@@ -71,56 +71,121 @@ export const SourceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_dis
|
|
|
71
71
|
* Use `create(Source_ComponentRefSchema)` to create a new message.
|
|
72
72
|
*/
|
|
73
73
|
export const Source_ComponentRefSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 8, 0);
|
|
74
|
+
/**
|
|
75
|
+
* Describes the message ankka.protocol.v1.Contract.
|
|
76
|
+
* Use `create(ContractSchema)` to create a new message.
|
|
77
|
+
*/
|
|
78
|
+
export const ContractSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 9);
|
|
79
|
+
/**
|
|
80
|
+
* Describes the message ankka.protocol.v1.Publication.
|
|
81
|
+
* Use `create(PublicationSchema)` to create a new message.
|
|
82
|
+
*/
|
|
83
|
+
export const PublicationSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 10);
|
|
84
|
+
/**
|
|
85
|
+
* Describes the message ankka.protocol.v1.StartFrom.
|
|
86
|
+
* Use `create(StartFromSchema)` to create a new message.
|
|
87
|
+
*/
|
|
88
|
+
export const StartFromSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 11);
|
|
89
|
+
/**
|
|
90
|
+
* @generated from enum ankka.protocol.v1.StartFrom.Named
|
|
91
|
+
*/
|
|
92
|
+
export const StartFrom_Named = {
|
|
93
|
+
/**
|
|
94
|
+
* @generated from enum value: NAMED_UNSPECIFIED = 0;
|
|
95
|
+
*/
|
|
96
|
+
NAMED_UNSPECIFIED: 0,
|
|
97
|
+
/**
|
|
98
|
+
* the oldest message the broker holds
|
|
99
|
+
*
|
|
100
|
+
* @generated from enum value: EARLIEST = 1;
|
|
101
|
+
*/
|
|
102
|
+
EARLIEST: 1,
|
|
103
|
+
/**
|
|
104
|
+
* after the newest: only what is published from then on
|
|
105
|
+
*
|
|
106
|
+
* @generated from enum value: LATEST = 2;
|
|
107
|
+
*/
|
|
108
|
+
LATEST: 2,
|
|
109
|
+
};
|
|
110
|
+
/**
|
|
111
|
+
* Describes the enum ankka.protocol.v1.StartFrom.Named.
|
|
112
|
+
*/
|
|
113
|
+
export const StartFrom_NamedSchema = /*@__PURE__*/ enumDesc(file_ankka_protocol_v1_discovery, 11, 0);
|
|
74
114
|
/**
|
|
75
115
|
* Describes the message ankka.protocol.v1.ViewDetail.
|
|
76
116
|
* Use `create(ViewDetailSchema)` to create a new message.
|
|
77
117
|
*/
|
|
78
|
-
export const ViewDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
118
|
+
export const ViewDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 12);
|
|
119
|
+
/**
|
|
120
|
+
* Describes the message ankka.protocol.v1.DeclaredQuery.
|
|
121
|
+
* Use `create(DeclaredQuerySchema)` to create a new message.
|
|
122
|
+
*/
|
|
123
|
+
export const DeclaredQuerySchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 13);
|
|
79
124
|
/**
|
|
80
125
|
* Describes the message ankka.protocol.v1.ConsumerDetail.
|
|
81
126
|
* Use `create(ConsumerDetailSchema)` to create a new message.
|
|
82
127
|
*/
|
|
83
|
-
export const ConsumerDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
128
|
+
export const ConsumerDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 14);
|
|
84
129
|
/**
|
|
85
130
|
* Describes the message ankka.protocol.v1.TimedActionDetail.
|
|
86
131
|
* Use `create(TimedActionDetailSchema)` to create a new message.
|
|
87
132
|
*/
|
|
88
|
-
export const TimedActionDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
133
|
+
export const TimedActionDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 15);
|
|
89
134
|
/**
|
|
90
135
|
* Describes the message ankka.protocol.v1.AgentDetail.
|
|
91
136
|
* Use `create(AgentDetailSchema)` to create a new message.
|
|
92
137
|
*/
|
|
93
|
-
export const AgentDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
138
|
+
export const AgentDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 16);
|
|
94
139
|
/**
|
|
95
140
|
* Describes the message ankka.protocol.v1.Tool.
|
|
96
141
|
* Use `create(ToolSchema)` to create a new message.
|
|
97
142
|
*/
|
|
98
|
-
export const ToolSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
143
|
+
export const ToolSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 17);
|
|
144
|
+
/**
|
|
145
|
+
* Describes the message ankka.protocol.v1.Approval.
|
|
146
|
+
* Use `create(ApprovalSchema)` to create a new message.
|
|
147
|
+
*/
|
|
148
|
+
export const ApprovalSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 18);
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message ankka.protocol.v1.McpServer.
|
|
151
|
+
* Use `create(McpServerSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export const McpServerSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 19);
|
|
154
|
+
/**
|
|
155
|
+
* Describes the message ankka.protocol.v1.McpServer.Service.
|
|
156
|
+
* Use `create(McpServer_ServiceSchema)` to create a new message.
|
|
157
|
+
*/
|
|
158
|
+
export const McpServer_ServiceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 19, 0);
|
|
159
|
+
/**
|
|
160
|
+
* Describes the message ankka.protocol.v1.McpServer.Header.
|
|
161
|
+
* Use `create(McpServer_HeaderSchema)` to create a new message.
|
|
162
|
+
*/
|
|
163
|
+
export const McpServer_HeaderSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 19, 1);
|
|
99
164
|
/**
|
|
100
165
|
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.
|
|
101
166
|
* Use `create(AutonomousAgentDetailSchema)` to create a new message.
|
|
102
167
|
*/
|
|
103
|
-
export const AutonomousAgentDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
168
|
+
export const AutonomousAgentDetailSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 20);
|
|
104
169
|
/**
|
|
105
170
|
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.TaskType.
|
|
106
171
|
* Use `create(AutonomousAgentDetail_TaskTypeSchema)` to create a new message.
|
|
107
172
|
*/
|
|
108
|
-
export const AutonomousAgentDetail_TaskTypeSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
173
|
+
export const AutonomousAgentDetail_TaskTypeSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 20, 0);
|
|
109
174
|
/**
|
|
110
175
|
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.TaskAcceptance.
|
|
111
176
|
* Use `create(AutonomousAgentDetail_TaskAcceptanceSchema)` to create a new message.
|
|
112
177
|
*/
|
|
113
|
-
export const AutonomousAgentDetail_TaskAcceptanceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
178
|
+
export const AutonomousAgentDetail_TaskAcceptanceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 20, 1);
|
|
114
179
|
/**
|
|
115
180
|
* Describes the message ankka.protocol.v1.AutonomousAgentDetail.AutonomousSettings.
|
|
116
181
|
* Use `create(AutonomousAgentDetail_AutonomousSettingsSchema)` to create a new message.
|
|
117
182
|
*/
|
|
118
|
-
export const AutonomousAgentDetail_AutonomousSettingsSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
183
|
+
export const AutonomousAgentDetail_AutonomousSettingsSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 20, 2);
|
|
119
184
|
/**
|
|
120
185
|
* Describes the message ankka.protocol.v1.Endpoint.
|
|
121
186
|
* Use `create(EndpointSchema)` to create a new message.
|
|
122
187
|
*/
|
|
123
|
-
export const EndpointSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
188
|
+
export const EndpointSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 21);
|
|
124
189
|
/**
|
|
125
190
|
* @generated from enum ankka.protocol.v1.Endpoint.Acl
|
|
126
191
|
*/
|
|
@@ -145,27 +210,27 @@ export const Endpoint_Acl = {
|
|
|
145
210
|
/**
|
|
146
211
|
* Describes the enum ankka.protocol.v1.Endpoint.Acl.
|
|
147
212
|
*/
|
|
148
|
-
export const Endpoint_AclSchema = /*@__PURE__*/ enumDesc(file_ankka_protocol_v1_discovery,
|
|
213
|
+
export const Endpoint_AclSchema = /*@__PURE__*/ enumDesc(file_ankka_protocol_v1_discovery, 21, 0);
|
|
149
214
|
/**
|
|
150
215
|
* Describes the message ankka.protocol.v1.CallerMatcher.
|
|
151
216
|
* Use `create(CallerMatcherSchema)` to create a new message.
|
|
152
217
|
*/
|
|
153
|
-
export const CallerMatcherSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
218
|
+
export const CallerMatcherSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 22);
|
|
154
219
|
/**
|
|
155
220
|
* Describes the message ankka.protocol.v1.NamedService.
|
|
156
221
|
* Use `create(NamedServiceSchema)` to create a new message.
|
|
157
222
|
*/
|
|
158
|
-
export const NamedServiceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
223
|
+
export const NamedServiceSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 23);
|
|
159
224
|
/**
|
|
160
225
|
* Describes the message ankka.protocol.v1.Route.
|
|
161
226
|
* Use `create(RouteSchema)` to create a new message.
|
|
162
227
|
*/
|
|
163
|
-
export const RouteSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
228
|
+
export const RouteSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 24);
|
|
164
229
|
/**
|
|
165
230
|
* Describes the message ankka.protocol.v1.Problem.
|
|
166
231
|
* Use `create(ProblemSchema)` to create a new message.
|
|
167
232
|
*/
|
|
168
|
-
export const ProblemSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery,
|
|
233
|
+
export const ProblemSchema = /*@__PURE__*/ messageDesc(file_ankka_protocol_v1_discovery, 25);
|
|
169
234
|
/**
|
|
170
235
|
* @generated from enum ankka.protocol.v1.Kind
|
|
171
236
|
*/
|