@agent-vm/agent-portal-sdk 0.0.145 → 0.0.148

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.
Files changed (42) hide show
  1. package/dist/approval-surface/index.js +1 -1
  2. package/dist/{approval-surface-Cqk_hAtN.js → approval-surface-phfnKUSF.js} +2 -2
  3. package/dist/{approval-surface-Cqk_hAtN.js.map → approval-surface-phfnKUSF.js.map} +1 -1
  4. package/dist/capability-description-surface/index.d.ts +2 -2
  5. package/dist/capability-description-surface/index.js +3 -3
  6. package/dist/capability-description-surface-YqGm-nS_.js +2 -0
  7. package/dist/{capability-descriptor-schema-v9tj7yKr.js → capability-descriptor-schema-B_0vLQ3E.js} +38 -2
  8. package/dist/capability-descriptor-schema-B_0vLQ3E.js.map +1 -0
  9. package/dist/cli/tool-portal.js +3 -3
  10. package/dist/gateway-runtime-client/index.d.ts +1 -1
  11. package/dist/gateway-runtime-client/index.js +3 -3
  12. package/dist/{index-S5RZg56U.d.ts → index-C2axvEYg.d.ts} +2 -2
  13. package/dist/{index-S5RZg56U.d.ts.map → index-C2axvEYg.d.ts.map} +1 -1
  14. package/dist/index-uDfElZ9U.d.ts +304 -0
  15. package/dist/index-uDfElZ9U.d.ts.map +1 -0
  16. package/dist/index.d.ts +3 -3
  17. package/dist/index.js +7 -7
  18. package/dist/portable-contracts/index.js +1 -1
  19. package/dist/{portable-contracts-BJEMMNwI.js → portable-contracts-CWLiYrVU.js} +4 -4
  20. package/dist/{portable-contracts-BJEMMNwI.js.map → portable-contracts-CWLiYrVU.js.map} +1 -1
  21. package/dist/{portal-call-result-schema-B25_rzZZ.js → portal-call-result-schema-DM77S9CA.js} +2 -2
  22. package/dist/{portal-call-result-schema-B25_rzZZ.js.map → portal-call-result-schema-DM77S9CA.js.map} +1 -1
  23. package/dist/{portal-call-result-schema-DIg2ERl4.d.ts → portal-call-result-schema-Mv2Dv1HJ.d.ts} +673 -1
  24. package/dist/portal-call-result-schema-Mv2Dv1HJ.d.ts.map +1 -0
  25. package/dist/portal-call-surface/index.d.ts +1 -1
  26. package/dist/portal-call-surface/index.js +2 -2
  27. package/dist/{portal-call-surface-qykVz_8k.js → portal-call-surface-B952nh-H.js} +2 -2
  28. package/dist/{portal-call-surface-qykVz_8k.js.map → portal-call-surface-B952nh-H.js.map} +1 -1
  29. package/dist/testing/index.d.ts +1 -1
  30. package/dist/testing/index.js +1 -1
  31. package/dist/tool-portal-mcp-client/index.d.ts +1 -1
  32. package/dist/tool-portal-mcp-client/index.js +1 -1
  33. package/dist/tool-portal-mcp-client/node-tool-portal-mcp-transport.d.ts +1 -1
  34. package/dist/{tool-portal-mcp-client-DZoloMod.js → tool-portal-mcp-client-DsDi2iJc.js} +3 -3
  35. package/dist/{tool-portal-mcp-client-DZoloMod.js.map → tool-portal-mcp-client-DsDi2iJc.js.map} +1 -1
  36. package/package.json +3 -2
  37. package/portable-contract-schema-manifest.json +541 -0
  38. package/dist/capability-description-surface-CplIb93y.js +0 -2
  39. package/dist/capability-descriptor-schema-v9tj7yKr.js.map +0 -1
  40. package/dist/index-m4Mlc5zK.d.ts +0 -142
  41. package/dist/index-m4Mlc5zK.d.ts.map +0 -1
  42. package/dist/portal-call-result-schema-DIg2ERl4.d.ts.map +0 -1
@@ -1810,6 +1810,50 @@
1810
1810
  "$ref": "#/$defs/__schema0"
1811
1811
  }
1812
1812
  },
1813
+ "callDisposition": {
1814
+ "oneOf": [
1815
+ {
1816
+ "type": "object",
1817
+ "properties": {
1818
+ "kind": {
1819
+ "type": "string",
1820
+ "const": "without-approval"
1821
+ }
1822
+ },
1823
+ "required": ["kind"],
1824
+ "additionalProperties": false
1825
+ },
1826
+ {
1827
+ "type": "object",
1828
+ "properties": {
1829
+ "kind": {
1830
+ "type": "string",
1831
+ "const": "requires-approval"
1832
+ }
1833
+ },
1834
+ "required": ["kind"],
1835
+ "additionalProperties": false
1836
+ },
1837
+ {
1838
+ "type": "object",
1839
+ "properties": {
1840
+ "describeBeforeCall": {
1841
+ "type": "boolean",
1842
+ "const": true
1843
+ },
1844
+ "kind": {
1845
+ "type": "string",
1846
+ "const": "invocation-dependent"
1847
+ }
1848
+ },
1849
+ "required": ["describeBeforeCall", "kind"],
1850
+ "additionalProperties": false
1851
+ }
1852
+ ]
1853
+ },
1854
+ "description": {
1855
+ "type": "string"
1856
+ },
1813
1857
  "inputSchema": {
1814
1858
  "type": "object",
1815
1859
  "propertyNames": {
@@ -1854,10 +1898,149 @@
1854
1898
  "required": ["message", "next"],
1855
1899
  "additionalProperties": false
1856
1900
  },
1901
+ "title": {
1902
+ "type": "string",
1903
+ "minLength": 1
1904
+ },
1857
1905
  "name": {
1858
1906
  "type": "string",
1859
1907
  "minLength": 1
1860
1908
  },
1909
+ "oauthAvailability": {
1910
+ "oneOf": [
1911
+ {
1912
+ "type": "object",
1913
+ "properties": {
1914
+ "accountProfiles": {
1915
+ "readOnly": true,
1916
+ "minItems": 1,
1917
+ "type": "array",
1918
+ "items": {
1919
+ "type": "object",
1920
+ "properties": {
1921
+ "accountLabel": {
1922
+ "type": "string",
1923
+ "minLength": 1,
1924
+ "maxLength": 320
1925
+ },
1926
+ "accountProfileId": {
1927
+ "type": "string",
1928
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
1929
+ }
1930
+ },
1931
+ "required": ["accountLabel", "accountProfileId"],
1932
+ "additionalProperties": false
1933
+ }
1934
+ },
1935
+ "kind": {
1936
+ "type": "string",
1937
+ "const": "ready"
1938
+ }
1939
+ },
1940
+ "required": ["accountProfiles", "kind"],
1941
+ "additionalProperties": false
1942
+ },
1943
+ {
1944
+ "type": "object",
1945
+ "properties": {
1946
+ "kind": {
1947
+ "type": "string",
1948
+ "const": "authorization-required"
1949
+ }
1950
+ },
1951
+ "required": ["kind"],
1952
+ "additionalProperties": false
1953
+ },
1954
+ {
1955
+ "type": "object",
1956
+ "properties": {
1957
+ "kind": {
1958
+ "type": "string",
1959
+ "const": "reauthorization-required"
1960
+ }
1961
+ },
1962
+ "required": ["kind"],
1963
+ "additionalProperties": false
1964
+ },
1965
+ {
1966
+ "type": "object",
1967
+ "properties": {
1968
+ "kind": {
1969
+ "type": "string",
1970
+ "const": "scope-insufficient"
1971
+ }
1972
+ },
1973
+ "required": ["kind"],
1974
+ "additionalProperties": false
1975
+ },
1976
+ {
1977
+ "type": "object",
1978
+ "properties": {
1979
+ "kind": {
1980
+ "type": "string",
1981
+ "const": "authorization-status-unavailable"
1982
+ }
1983
+ },
1984
+ "required": ["kind"],
1985
+ "additionalProperties": false
1986
+ }
1987
+ ]
1988
+ },
1989
+ "oauthRequirement": {
1990
+ "oneOf": [
1991
+ {
1992
+ "type": "object",
1993
+ "properties": {
1994
+ "applicationId": {
1995
+ "type": "string",
1996
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
1997
+ },
1998
+ "kind": {
1999
+ "type": "string",
2000
+ "const": "oauth-account-profile"
2001
+ },
2002
+ "minimumPermission": {
2003
+ "type": "string",
2004
+ "enum": ["read", "write"]
2005
+ },
2006
+ "serviceId": {
2007
+ "type": "string",
2008
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
2009
+ }
2010
+ },
2011
+ "required": [
2012
+ "applicationId",
2013
+ "kind",
2014
+ "minimumPermission",
2015
+ "serviceId"
2016
+ ],
2017
+ "additionalProperties": false
2018
+ },
2019
+ {
2020
+ "type": "object",
2021
+ "properties": {
2022
+ "accountProfileArgument": {
2023
+ "type": "string",
2024
+ "const": "accountProfile"
2025
+ },
2026
+ "describeBeforeCall": {
2027
+ "type": "boolean",
2028
+ "const": true
2029
+ },
2030
+ "kind": {
2031
+ "type": "string",
2032
+ "const": "invocation-dependent-oauth-account-profile"
2033
+ }
2034
+ },
2035
+ "required": [
2036
+ "accountProfileArgument",
2037
+ "describeBeforeCall",
2038
+ "kind"
2039
+ ],
2040
+ "additionalProperties": false
2041
+ }
2042
+ ]
2043
+ },
1861
2044
  "toolRef": {
1862
2045
  "type": "string",
1863
2046
  "minLength": 1
@@ -2406,9 +2589,53 @@
2406
2589
  "items": {
2407
2590
  "type": "object",
2408
2591
  "properties": {
2592
+ "callDisposition": {
2593
+ "oneOf": [
2594
+ {
2595
+ "type": "object",
2596
+ "properties": {
2597
+ "kind": {
2598
+ "type": "string",
2599
+ "const": "without-approval"
2600
+ }
2601
+ },
2602
+ "required": ["kind"],
2603
+ "additionalProperties": false
2604
+ },
2605
+ {
2606
+ "type": "object",
2607
+ "properties": {
2608
+ "kind": {
2609
+ "type": "string",
2610
+ "const": "requires-approval"
2611
+ }
2612
+ },
2613
+ "required": ["kind"],
2614
+ "additionalProperties": false
2615
+ },
2616
+ {
2617
+ "type": "object",
2618
+ "properties": {
2619
+ "describeBeforeCall": {
2620
+ "type": "boolean",
2621
+ "const": true
2622
+ },
2623
+ "kind": {
2624
+ "type": "string",
2625
+ "const": "invocation-dependent"
2626
+ }
2627
+ },
2628
+ "required": ["describeBeforeCall", "kind"],
2629
+ "additionalProperties": false
2630
+ }
2631
+ ]
2632
+ },
2409
2633
  "description": {
2410
2634
  "type": "string"
2411
2635
  },
2636
+ "descriptionTruncated": {
2637
+ "type": "boolean"
2638
+ },
2412
2639
  "input": {
2413
2640
  "type": "object",
2414
2641
  "properties": {
@@ -2504,6 +2731,141 @@
2504
2731
  "type": "string",
2505
2732
  "minLength": 1
2506
2733
  },
2734
+ "oauthAvailability": {
2735
+ "oneOf": [
2736
+ {
2737
+ "type": "object",
2738
+ "properties": {
2739
+ "accountProfiles": {
2740
+ "readOnly": true,
2741
+ "minItems": 1,
2742
+ "type": "array",
2743
+ "items": {
2744
+ "type": "object",
2745
+ "properties": {
2746
+ "accountLabel": {
2747
+ "type": "string",
2748
+ "minLength": 1,
2749
+ "maxLength": 320
2750
+ },
2751
+ "accountProfileId": {
2752
+ "type": "string",
2753
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
2754
+ }
2755
+ },
2756
+ "required": ["accountLabel", "accountProfileId"],
2757
+ "additionalProperties": false
2758
+ }
2759
+ },
2760
+ "kind": {
2761
+ "type": "string",
2762
+ "const": "ready"
2763
+ }
2764
+ },
2765
+ "required": ["accountProfiles", "kind"],
2766
+ "additionalProperties": false
2767
+ },
2768
+ {
2769
+ "type": "object",
2770
+ "properties": {
2771
+ "kind": {
2772
+ "type": "string",
2773
+ "const": "authorization-required"
2774
+ }
2775
+ },
2776
+ "required": ["kind"],
2777
+ "additionalProperties": false
2778
+ },
2779
+ {
2780
+ "type": "object",
2781
+ "properties": {
2782
+ "kind": {
2783
+ "type": "string",
2784
+ "const": "reauthorization-required"
2785
+ }
2786
+ },
2787
+ "required": ["kind"],
2788
+ "additionalProperties": false
2789
+ },
2790
+ {
2791
+ "type": "object",
2792
+ "properties": {
2793
+ "kind": {
2794
+ "type": "string",
2795
+ "const": "scope-insufficient"
2796
+ }
2797
+ },
2798
+ "required": ["kind"],
2799
+ "additionalProperties": false
2800
+ },
2801
+ {
2802
+ "type": "object",
2803
+ "properties": {
2804
+ "kind": {
2805
+ "type": "string",
2806
+ "const": "authorization-status-unavailable"
2807
+ }
2808
+ },
2809
+ "required": ["kind"],
2810
+ "additionalProperties": false
2811
+ }
2812
+ ]
2813
+ },
2814
+ "oauthRequirement": {
2815
+ "oneOf": [
2816
+ {
2817
+ "type": "object",
2818
+ "properties": {
2819
+ "applicationId": {
2820
+ "type": "string",
2821
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
2822
+ },
2823
+ "kind": {
2824
+ "type": "string",
2825
+ "const": "oauth-account-profile"
2826
+ },
2827
+ "minimumPermission": {
2828
+ "type": "string",
2829
+ "enum": ["read", "write"]
2830
+ },
2831
+ "serviceId": {
2832
+ "type": "string",
2833
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
2834
+ }
2835
+ },
2836
+ "required": [
2837
+ "applicationId",
2838
+ "kind",
2839
+ "minimumPermission",
2840
+ "serviceId"
2841
+ ],
2842
+ "additionalProperties": false
2843
+ },
2844
+ {
2845
+ "type": "object",
2846
+ "properties": {
2847
+ "accountProfileArgument": {
2848
+ "type": "string",
2849
+ "const": "accountProfile"
2850
+ },
2851
+ "describeBeforeCall": {
2852
+ "type": "boolean",
2853
+ "const": true
2854
+ },
2855
+ "kind": {
2856
+ "type": "string",
2857
+ "const": "invocation-dependent-oauth-account-profile"
2858
+ }
2859
+ },
2860
+ "required": [
2861
+ "accountProfileArgument",
2862
+ "describeBeforeCall",
2863
+ "kind"
2864
+ ],
2865
+ "additionalProperties": false
2866
+ }
2867
+ ]
2868
+ },
2507
2869
  "toolRef": {
2508
2870
  "type": "string",
2509
2871
  "minLength": 1
@@ -2961,9 +3323,53 @@
2961
3323
  "items": {
2962
3324
  "type": "object",
2963
3325
  "properties": {
3326
+ "callDisposition": {
3327
+ "oneOf": [
3328
+ {
3329
+ "type": "object",
3330
+ "properties": {
3331
+ "kind": {
3332
+ "type": "string",
3333
+ "const": "without-approval"
3334
+ }
3335
+ },
3336
+ "required": ["kind"],
3337
+ "additionalProperties": false
3338
+ },
3339
+ {
3340
+ "type": "object",
3341
+ "properties": {
3342
+ "kind": {
3343
+ "type": "string",
3344
+ "const": "requires-approval"
3345
+ }
3346
+ },
3347
+ "required": ["kind"],
3348
+ "additionalProperties": false
3349
+ },
3350
+ {
3351
+ "type": "object",
3352
+ "properties": {
3353
+ "describeBeforeCall": {
3354
+ "type": "boolean",
3355
+ "const": true
3356
+ },
3357
+ "kind": {
3358
+ "type": "string",
3359
+ "const": "invocation-dependent"
3360
+ }
3361
+ },
3362
+ "required": ["describeBeforeCall", "kind"],
3363
+ "additionalProperties": false
3364
+ }
3365
+ ]
3366
+ },
2964
3367
  "description": {
2965
3368
  "type": "string"
2966
3369
  },
3370
+ "descriptionTruncated": {
3371
+ "type": "boolean"
3372
+ },
2967
3373
  "input": {
2968
3374
  "type": "object",
2969
3375
  "properties": {
@@ -3059,6 +3465,141 @@
3059
3465
  "type": "string",
3060
3466
  "minLength": 1
3061
3467
  },
3468
+ "oauthAvailability": {
3469
+ "oneOf": [
3470
+ {
3471
+ "type": "object",
3472
+ "properties": {
3473
+ "accountProfiles": {
3474
+ "readOnly": true,
3475
+ "minItems": 1,
3476
+ "type": "array",
3477
+ "items": {
3478
+ "type": "object",
3479
+ "properties": {
3480
+ "accountLabel": {
3481
+ "type": "string",
3482
+ "minLength": 1,
3483
+ "maxLength": 320
3484
+ },
3485
+ "accountProfileId": {
3486
+ "type": "string",
3487
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
3488
+ }
3489
+ },
3490
+ "required": ["accountLabel", "accountProfileId"],
3491
+ "additionalProperties": false
3492
+ }
3493
+ },
3494
+ "kind": {
3495
+ "type": "string",
3496
+ "const": "ready"
3497
+ }
3498
+ },
3499
+ "required": ["accountProfiles", "kind"],
3500
+ "additionalProperties": false
3501
+ },
3502
+ {
3503
+ "type": "object",
3504
+ "properties": {
3505
+ "kind": {
3506
+ "type": "string",
3507
+ "const": "authorization-required"
3508
+ }
3509
+ },
3510
+ "required": ["kind"],
3511
+ "additionalProperties": false
3512
+ },
3513
+ {
3514
+ "type": "object",
3515
+ "properties": {
3516
+ "kind": {
3517
+ "type": "string",
3518
+ "const": "reauthorization-required"
3519
+ }
3520
+ },
3521
+ "required": ["kind"],
3522
+ "additionalProperties": false
3523
+ },
3524
+ {
3525
+ "type": "object",
3526
+ "properties": {
3527
+ "kind": {
3528
+ "type": "string",
3529
+ "const": "scope-insufficient"
3530
+ }
3531
+ },
3532
+ "required": ["kind"],
3533
+ "additionalProperties": false
3534
+ },
3535
+ {
3536
+ "type": "object",
3537
+ "properties": {
3538
+ "kind": {
3539
+ "type": "string",
3540
+ "const": "authorization-status-unavailable"
3541
+ }
3542
+ },
3543
+ "required": ["kind"],
3544
+ "additionalProperties": false
3545
+ }
3546
+ ]
3547
+ },
3548
+ "oauthRequirement": {
3549
+ "oneOf": [
3550
+ {
3551
+ "type": "object",
3552
+ "properties": {
3553
+ "applicationId": {
3554
+ "type": "string",
3555
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
3556
+ },
3557
+ "kind": {
3558
+ "type": "string",
3559
+ "const": "oauth-account-profile"
3560
+ },
3561
+ "minimumPermission": {
3562
+ "type": "string",
3563
+ "enum": ["read", "write"]
3564
+ },
3565
+ "serviceId": {
3566
+ "type": "string",
3567
+ "pattern": "^[a-z0-9][a-z0-9._-]{0,127}$"
3568
+ }
3569
+ },
3570
+ "required": [
3571
+ "applicationId",
3572
+ "kind",
3573
+ "minimumPermission",
3574
+ "serviceId"
3575
+ ],
3576
+ "additionalProperties": false
3577
+ },
3578
+ {
3579
+ "type": "object",
3580
+ "properties": {
3581
+ "accountProfileArgument": {
3582
+ "type": "string",
3583
+ "const": "accountProfile"
3584
+ },
3585
+ "describeBeforeCall": {
3586
+ "type": "boolean",
3587
+ "const": true
3588
+ },
3589
+ "kind": {
3590
+ "type": "string",
3591
+ "const": "invocation-dependent-oauth-account-profile"
3592
+ }
3593
+ },
3594
+ "required": [
3595
+ "accountProfileArgument",
3596
+ "describeBeforeCall",
3597
+ "kind"
3598
+ ],
3599
+ "additionalProperties": false
3600
+ }
3601
+ ]
3602
+ },
3062
3603
  "toolRef": {
3063
3604
  "type": "string",
3064
3605
  "minLength": 1
@@ -1,2 +0,0 @@
1
- import "./capability-descriptor-schema-v9tj7yKr.js";
2
- export {};
@@ -1 +0,0 @@
1
- {"version":3,"file":"capability-descriptor-schema-v9tj7yKr.js","names":[],"sources":["../src/capability-description-surface/models/capability-descriptor-schema.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport {\n\tCapabilityNameSchema,\n\tNamespaceNameSchema,\n} from '../../contract-primitives/models/capability-reference-schema.js';\nimport { JsonValueSchema } from '../../contract-primitives/models/json-value-schema.js';\n\nexport const JsonSchemaDocumentSchema = z.record(z.string(), JsonValueSchema);\n\nexport const ToolSchemaSummarySchema = z\n\t.object({\n\t\toptional: z.array(z.string()),\n\t\tpropertyCount: z.number().int().nonnegative(),\n\t\trequired: z.array(z.string()),\n\t\ttype: z.string().min(1),\n\t})\n\t.strict();\n\nexport type ToolSchemaSummary = z.infer<typeof ToolSchemaSummarySchema>;\n\nexport const ToolSafetySummarySchema = z\n\t.object({\n\t\tdestructiveHint: z.boolean().optional(),\n\t\treadOnlyHint: z.boolean().optional(),\n\t})\n\t.strict();\n\nexport type ToolSafetySummary = z.infer<typeof ToolSafetySummarySchema>;\n\nexport const ToolSchemaHintSchema = z\n\t.object({\n\t\tmessage: z.string().max(500),\n\t\tnext: z.enum(['call_ready', 'describe_before_call']),\n\t})\n\t.strict();\n\nexport type ToolSchemaHint = z.infer<typeof ToolSchemaHintSchema>;\n\nexport const CapabilitySummarySchema = z\n\t.object({\n\t\tdescription: z.string().optional(),\n\t\tinput: ToolSchemaSummarySchema,\n\t\tnamespace: NamespaceNameSchema,\n\t\toutput: ToolSchemaSummarySchema.optional(),\n\t\tsafety: ToolSafetySummarySchema,\n\t\tschemaHint: ToolSchemaHintSchema.optional(),\n\t\ttitle: z.string().min(1).optional(),\n\t\tname: CapabilityNameSchema,\n\t\ttoolRef: z.string().min(1),\n\t})\n\t.strict();\n\nexport type CapabilitySummary = z.infer<typeof CapabilitySummarySchema>;\n\nexport const ResultExpectationSchema = z\n\t.object({\n\t\tcanReturnArtifacts: z.boolean().default(false),\n\t\tcanStream: z.boolean().default(false),\n\t\tkind: z.enum(['json', 'text', 'binary_artifact', 'mixed']),\n\t\toutputJsonSchema: JsonSchemaDocumentSchema.optional(),\n\t\ttruncation: z.enum(['none', 'possible', 'expected']).default('possible'),\n\t})\n\t.strict();\n\nexport type ResultExpectation = z.infer<typeof ResultExpectationSchema>;\n\nexport const SafeCallingHintSchema = z\n\t.object({\n\t\tcode: z.enum([\n\t\t\t'describe_before_call',\n\t\t\t'approval_may_be_required',\n\t\t\t'read_only',\n\t\t\t'write_or_external_effect',\n\t\t\t'large_output_possible',\n\t\t\t'artifact_output_possible',\n\t\t]),\n\t\tmessage: z.string().max(500),\n\t})\n\t.strict();\n\nexport type SafeCallingHint = z.infer<typeof SafeCallingHintSchema>;\n\nexport const CapabilitySearchMatchSchema = CapabilitySummarySchema.extend({\n\tinputSchema: JsonSchemaDocumentSchema.optional(),\n\toutputSchema: JsonSchemaDocumentSchema.optional(),\n\trelationshipHints: z.array(JsonValueSchema).optional(),\n\tschemaFieldMatches: z.array(JsonValueSchema).optional(),\n}).strict();\n\nexport type CapabilitySearchMatch = z.infer<typeof CapabilitySearchMatchSchema>;\n\nexport const CapabilityDescriptorSchema = z\n\t.object({\n\t\tannotations: JsonSchemaDocumentSchema.default({}),\n\t\tinputSchema: JsonSchemaDocumentSchema.optional(),\n\t\tnamespace: NamespaceNameSchema,\n\t\toutputSchema: JsonSchemaDocumentSchema.optional(),\n\t\trelated: z.array(JsonValueSchema).default([]),\n\t\tschemaHint: ToolSchemaHintSchema.optional(),\n\t\tname: CapabilityNameSchema,\n\t\ttoolRef: z.string().min(1),\n\t\ttypescriptHelper: z.string().optional(),\n\t\tzod: JsonSchemaDocumentSchema.optional(),\n\t})\n\t.strict();\n\nexport type CapabilityDescriptor = z.infer<typeof CapabilityDescriptorSchema>;\n"],"mappings":";;;;AAQA,MAAa,2BAA2B,EAAE,OAAO,EAAE,QAAQ,EAAE,gBAAgB;AAE7E,MAAa,0BAA0B,EACrC,OAAO;CACP,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC;CAC7B,eAAe,EAAE,QAAQ,CAAC,KAAK,CAAC,aAAa;CAC7C,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC;CAC7B,MAAM,EAAE,QAAQ,CAAC,IAAI,EAAE;CACvB,CAAC,CACD,QAAQ;AAIV,MAAa,0BAA0B,EACrC,OAAO;CACP,iBAAiB,EAAE,SAAS,CAAC,UAAU;CACvC,cAAc,EAAE,SAAS,CAAC,UAAU;CACpC,CAAC,CACD,QAAQ;AAIV,MAAa,uBAAuB,EAClC,OAAO;CACP,SAAS,EAAE,QAAQ,CAAC,IAAI,IAAI;CAC5B,MAAM,EAAE,KAAK,CAAC,cAAc,uBAAuB,CAAC;CACpD,CAAC,CACD,QAAQ;AAIV,MAAa,0BAA0B,EACrC,OAAO;CACP,aAAa,EAAE,QAAQ,CAAC,UAAU;CAClC,OAAO;CACP,WAAW;CACX,QAAQ,wBAAwB,UAAU;CAC1C,QAAQ;CACR,YAAY,qBAAqB,UAAU;CAC3C,OAAO,EAAE,QAAQ,CAAC,IAAI,EAAE,CAAC,UAAU;CACnC,MAAM;CACN,SAAS,EAAE,QAAQ,CAAC,IAAI,EAAE;CAC1B,CAAC,CACD,QAAQ;AAIV,MAAa,0BAA0B,EACrC,OAAO;CACP,oBAAoB,EAAE,SAAS,CAAC,QAAQ,MAAM;CAC9C,WAAW,EAAE,SAAS,CAAC,QAAQ,MAAM;CACrC,MAAM,EAAE,KAAK;EAAC;EAAQ;EAAQ;EAAmB;EAAQ,CAAC;CAC1D,kBAAkB,yBAAyB,UAAU;CACrD,YAAY,EAAE,KAAK;EAAC;EAAQ;EAAY;EAAW,CAAC,CAAC,QAAQ,WAAW;CACxE,CAAC,CACD,QAAQ;AAIV,MAAa,wBAAwB,EACnC,OAAO;CACP,MAAM,EAAE,KAAK;EACZ;EACA;EACA;EACA;EACA;EACA;EACA,CAAC;CACF,SAAS,EAAE,QAAQ,CAAC,IAAI,IAAI;CAC5B,CAAC,CACD,QAAQ;AAIV,MAAa,8BAA8B,wBAAwB,OAAO;CACzE,aAAa,yBAAyB,UAAU;CAChD,cAAc,yBAAyB,UAAU;CACjD,mBAAmB,EAAE,MAAM,gBAAgB,CAAC,UAAU;CACtD,oBAAoB,EAAE,MAAM,gBAAgB,CAAC,UAAU;CACvD,CAAC,CAAC,QAAQ;AAIX,MAAa,6BAA6B,EACxC,OAAO;CACP,aAAa,yBAAyB,QAAQ,EAAE,CAAC;CACjD,aAAa,yBAAyB,UAAU;CAChD,WAAW;CACX,cAAc,yBAAyB,UAAU;CACjD,SAAS,EAAE,MAAM,gBAAgB,CAAC,QAAQ,EAAE,CAAC;CAC7C,YAAY,qBAAqB,UAAU;CAC3C,MAAM;CACN,SAAS,EAAE,QAAQ,CAAC,IAAI,EAAE;CAC1B,kBAAkB,EAAE,QAAQ,CAAC,UAAU;CACvC,KAAK,yBAAyB,UAAU;CACxC,CAAC,CACD,QAAQ"}