@anna-ai/app-schema 0.18.0 → 0.19.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 -1
- package/dispatcher_version.txt +1 -1
- package/events/AnnaAppEvent.json +1 -1
- package/host_api/methods.json +161 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/dispatcher_version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.
|
|
1
|
+
0.19.0
|
package/events/AnnaAppEvent.json
CHANGED
package/host_api/methods.json
CHANGED
|
@@ -449,6 +449,61 @@
|
|
|
449
449
|
"no_auth": false,
|
|
450
450
|
"stub": false
|
|
451
451
|
},
|
|
452
|
+
{
|
|
453
|
+
"handler": "_h_tools_cancel_job",
|
|
454
|
+
"method": "cancelJob",
|
|
455
|
+
"namespace": "tools",
|
|
456
|
+
"no_auth": false,
|
|
457
|
+
"params_schema": {
|
|
458
|
+
"additionalProperties": false,
|
|
459
|
+
"properties": {
|
|
460
|
+
"jobId": {
|
|
461
|
+
"pattern": "^tjob_[0-9a-f]{32}$",
|
|
462
|
+
"type": "string"
|
|
463
|
+
},
|
|
464
|
+
"reason": {
|
|
465
|
+
"maxLength": 200,
|
|
466
|
+
"type": "string"
|
|
467
|
+
}
|
|
468
|
+
},
|
|
469
|
+
"required": [
|
|
470
|
+
"jobId"
|
|
471
|
+
],
|
|
472
|
+
"type": "object"
|
|
473
|
+
},
|
|
474
|
+
"stub": false
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
"handler": "_h_tools_get_job",
|
|
478
|
+
"method": "getJob",
|
|
479
|
+
"namespace": "tools",
|
|
480
|
+
"no_auth": false,
|
|
481
|
+
"params_schema": {
|
|
482
|
+
"additionalProperties": false,
|
|
483
|
+
"properties": {
|
|
484
|
+
"jobId": {
|
|
485
|
+
"pattern": "^tjob_[0-9a-f]{32}$",
|
|
486
|
+
"type": "string"
|
|
487
|
+
},
|
|
488
|
+
"limit": {
|
|
489
|
+
"default": 100,
|
|
490
|
+
"maximum": 500,
|
|
491
|
+
"minimum": 1,
|
|
492
|
+
"type": "integer"
|
|
493
|
+
},
|
|
494
|
+
"sinceSeq": {
|
|
495
|
+
"default": 0,
|
|
496
|
+
"minimum": 0,
|
|
497
|
+
"type": "integer"
|
|
498
|
+
}
|
|
499
|
+
},
|
|
500
|
+
"required": [
|
|
501
|
+
"jobId"
|
|
502
|
+
],
|
|
503
|
+
"type": "object"
|
|
504
|
+
},
|
|
505
|
+
"stub": false
|
|
506
|
+
},
|
|
452
507
|
{
|
|
453
508
|
"handler": "_h_tools_invoke",
|
|
454
509
|
"method": "invoke",
|
|
@@ -468,8 +523,8 @@
|
|
|
468
523
|
]
|
|
469
524
|
},
|
|
470
525
|
"timeoutMs": {
|
|
471
|
-
"description": "Per-call timeout in milliseconds. Clamped to the host policy (default 65000, hard cap
|
|
472
|
-
"maximum":
|
|
526
|
+
"description": "Per-call timeout in milliseconds. Clamped to the host policy (default 65000, hard cap 90000 — bounded by the public edge's ~100 s held-request ceiling; see forum #199). On timeout the call resolves with HostRpcError(code='tool_timeout') whose details echo requested_timeout_ms/max_timeout_ms when the value was clamped down.",
|
|
527
|
+
"maximum": 90000,
|
|
473
528
|
"minimum": 1000,
|
|
474
529
|
"type": "integer"
|
|
475
530
|
},
|
|
@@ -485,6 +540,47 @@
|
|
|
485
540
|
},
|
|
486
541
|
"stub": false
|
|
487
542
|
},
|
|
543
|
+
{
|
|
544
|
+
"handler": "_h_tools_invoke_async",
|
|
545
|
+
"method": "invokeAsync",
|
|
546
|
+
"namespace": "tools",
|
|
547
|
+
"no_auth": false,
|
|
548
|
+
"params_schema": {
|
|
549
|
+
"additionalProperties": false,
|
|
550
|
+
"properties": {
|
|
551
|
+
"args": {
|
|
552
|
+
"default": {},
|
|
553
|
+
"type": "object"
|
|
554
|
+
},
|
|
555
|
+
"clientTag": {
|
|
556
|
+
"description": "Opaque caller correlation tag, stored verbatim on the job row and filterable via tools.listJobs — the reload-recovery handle.",
|
|
557
|
+
"maxLength": 120,
|
|
558
|
+
"type": "string"
|
|
559
|
+
},
|
|
560
|
+
"method": {
|
|
561
|
+
"type": [
|
|
562
|
+
"string",
|
|
563
|
+
"null"
|
|
564
|
+
]
|
|
565
|
+
},
|
|
566
|
+
"timeoutMs": {
|
|
567
|
+
"description": "Plugin-facing job deadline. Default 1800000 (30 min). Clamped server-side to [InvokeAsyncPolicy.min_ms, max_ms] (60 s – 24 h). The call itself returns immediately with a jobId; results arrive via the tool_job dashboard event + tools.getJob polling.",
|
|
568
|
+
"maximum": 86400000,
|
|
569
|
+
"minimum": 60000,
|
|
570
|
+
"type": "integer"
|
|
571
|
+
},
|
|
572
|
+
"tool_id": {
|
|
573
|
+
"minLength": 1,
|
|
574
|
+
"type": "string"
|
|
575
|
+
}
|
|
576
|
+
},
|
|
577
|
+
"required": [
|
|
578
|
+
"tool_id"
|
|
579
|
+
],
|
|
580
|
+
"type": "object"
|
|
581
|
+
},
|
|
582
|
+
"stub": false
|
|
583
|
+
},
|
|
488
584
|
{
|
|
489
585
|
"handler": "_h_tools_list",
|
|
490
586
|
"method": "list",
|
|
@@ -492,6 +588,68 @@
|
|
|
492
588
|
"no_auth": false,
|
|
493
589
|
"stub": false
|
|
494
590
|
},
|
|
591
|
+
{
|
|
592
|
+
"handler": "_h_tools_list_jobs",
|
|
593
|
+
"method": "listJobs",
|
|
594
|
+
"namespace": "tools",
|
|
595
|
+
"no_auth": false,
|
|
596
|
+
"params_schema": {
|
|
597
|
+
"additionalProperties": false,
|
|
598
|
+
"properties": {
|
|
599
|
+
"clientTag": {
|
|
600
|
+
"maxLength": 120,
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"limit": {
|
|
604
|
+
"default": 20,
|
|
605
|
+
"maximum": 100,
|
|
606
|
+
"minimum": 1,
|
|
607
|
+
"type": "integer"
|
|
608
|
+
},
|
|
609
|
+
"since": {
|
|
610
|
+
"format": "date-time",
|
|
611
|
+
"type": "string"
|
|
612
|
+
},
|
|
613
|
+
"state": {
|
|
614
|
+
"oneOf": [
|
|
615
|
+
{
|
|
616
|
+
"enum": [
|
|
617
|
+
"queued",
|
|
618
|
+
"running",
|
|
619
|
+
"succeeded",
|
|
620
|
+
"failed",
|
|
621
|
+
"cancelled",
|
|
622
|
+
"expired"
|
|
623
|
+
],
|
|
624
|
+
"type": "string"
|
|
625
|
+
},
|
|
626
|
+
{
|
|
627
|
+
"items": {
|
|
628
|
+
"enum": [
|
|
629
|
+
"queued",
|
|
630
|
+
"running",
|
|
631
|
+
"succeeded",
|
|
632
|
+
"failed",
|
|
633
|
+
"cancelled",
|
|
634
|
+
"expired"
|
|
635
|
+
],
|
|
636
|
+
"type": "string"
|
|
637
|
+
},
|
|
638
|
+
"maxItems": 6,
|
|
639
|
+
"minItems": 1,
|
|
640
|
+
"type": "array"
|
|
641
|
+
}
|
|
642
|
+
]
|
|
643
|
+
},
|
|
644
|
+
"tool_id": {
|
|
645
|
+
"minLength": 1,
|
|
646
|
+
"type": "string"
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
"type": "object"
|
|
650
|
+
},
|
|
651
|
+
"stub": false
|
|
652
|
+
},
|
|
495
653
|
{
|
|
496
654
|
"handler": "_h_upload_confirm",
|
|
497
655
|
"method": "confirm",
|
|
@@ -599,5 +757,5 @@
|
|
|
599
757
|
}
|
|
600
758
|
],
|
|
601
759
|
"title": "HostApiMethodTable",
|
|
602
|
-
"version": "0.
|
|
760
|
+
"version": "0.19.0"
|
|
603
761
|
}
|
package/package.json
CHANGED