@nylorun/runtime 0.24.0-beta → 0.26.0-beta
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/CHANGELOG.md +143 -0
- package/README.md +18 -4
- package/dist/api/a2a/card.d.ts +11 -1
- package/dist/api/a2a/card.js +26 -2
- package/dist/api/a2a/endpoint.js +4 -2
- package/dist/api/a2a/protocol.d.ts +25 -2
- package/dist/api/a2a/protocol.js +20 -3
- package/dist/api/a2a/routes.d.ts +4 -1
- package/dist/api/a2a/routes.js +65 -7
- package/dist/api/ag-ui/endpoint.js +5 -2
- package/dist/api/ag-ui/history.d.ts +6 -1
- package/dist/api/ag-ui/history.js +35 -2
- package/dist/api/ag-ui/routes.js +53 -11
- package/dist/api/components.d.ts +1165 -678
- package/dist/api/components.js +16 -1
- package/dist/api/gate/keys.d.ts +2 -1
- package/dist/api/gate/keys.js +7 -0
- package/dist/api/gate/routes.js +13 -0
- package/dist/api/http/app.d.ts +2 -2
- package/dist/api/http/app.js +15 -4
- package/dist/api/http/body.d.ts +3 -3
- package/dist/api/http/body.js +7 -7
- package/dist/api/http/define.d.ts +1 -1
- package/dist/api/http/respond.js +1 -1
- package/dist/api/http/routes/environment-manifests.d.ts +9 -0
- package/dist/api/http/routes/environment-manifests.js +118 -0
- package/dist/api/http/routes/environments.js +61 -12
- package/dist/api/http/routes/reads.d.ts +52 -3
- package/dist/api/http/routes/sessions.js +14 -4
- package/dist/api/http/routes/tenant.js +35 -7
- package/dist/api/inbound-files.d.ts +65 -0
- package/dist/api/inbound-files.js +115 -0
- package/dist/api/openapi.js +18 -3
- package/dist/artifacts/disk.js +20 -14
- package/dist/artifacts/media-types.d.ts +15 -0
- package/dist/artifacts/media-types.js +56 -4
- package/dist/artifacts/parts.d.ts +12 -3
- package/dist/artifacts/parts.js +15 -4
- package/dist/artifacts/workspace.d.ts +4 -4
- package/dist/artifacts/workspace.js +6 -18
- package/dist/core/flow-host.d.ts +1 -1
- package/dist/core/flow-host.js +2 -2
- package/dist/core/sandbox-routes.js +2 -2
- package/dist/core/turn-manifest.d.ts +3 -2
- package/dist/core/turn-manifest.js +29 -5
- package/dist/gates/egress-credentials.js +1 -1
- package/dist/gates/egress.d.ts +13 -19
- package/dist/gates/egress.js +32 -29
- package/dist/gates/http-tool.d.ts +3 -4
- package/dist/gates/http-tool.js +23 -19
- package/dist/gates/journal.js +0 -1
- package/dist/gates/mcp-handler.js +2 -3
- package/dist/gates/policy.js +1 -3
- package/dist/gates/tool-contract.d.ts +1 -1
- package/dist/harness/calls.d.ts +2 -2
- package/dist/harness/calls.js +9 -12
- package/dist/harness/main.js +7 -1
- package/dist/harness/pod.d.ts +6 -1
- package/dist/harness/pod.js +5 -0
- package/dist/harness/service.js +5 -5
- package/dist/harness/setup.d.ts +2 -0
- package/dist/harness/setup.js +25 -1
- package/dist/harness-api/record.d.ts +1 -1
- package/dist/harness-api/record.js +13 -13
- package/dist/harness-api/server.d.ts +27 -4
- package/dist/harness-api/server.js +41 -8
- package/dist/harness-api/tool-journal.d.ts +17 -8
- package/dist/harness-api/tool-journal.js +41 -11
- package/dist/harness-api/workspace.d.ts +7 -5
- package/dist/harness-api/workspace.js +25 -19
- package/dist/host/gates.js +2 -2
- package/dist/host/stack-config.js +1 -1
- package/dist/keys/contract.d.ts +1 -1
- package/dist/keys/contract.js +1 -1
- package/dist/keys/keys.d.ts +9 -2
- package/dist/keys/keys.js +4 -1
- package/dist/management-openapi.json +366 -61
- package/dist/mcp/connect.d.ts +1 -2
- package/dist/mcp/connect.js +1 -4
- package/dist/mcp/pool.d.ts +1 -4
- package/dist/mcp/pool.js +13 -27
- package/dist/mcp/preview.d.ts +1 -1
- package/dist/mcp/preview.js +1 -2
- package/dist/mcp/snapshot.d.ts +11 -13
- package/dist/mcp/snapshot.js +27 -38
- package/dist/model/capabilities.d.ts +26 -0
- package/dist/model/capabilities.js +44 -0
- package/dist/model/catalog.d.ts +34 -3
- package/dist/model/catalog.js +38 -2
- package/dist/model/models.d.ts +2 -0
- package/dist/model/models.js +1 -1
- package/dist/model/native-blocks.d.ts +35 -0
- package/dist/model/native-blocks.js +170 -0
- package/dist/model/pi-model.js +106 -94
- package/dist/openapi.json +9554 -5076
- package/dist/record/environment.js +1 -1
- package/dist/sandbox/join.js +4 -0
- package/dist/sandbox/manager.d.ts +32 -14
- package/dist/sandbox/manager.js +132 -93
- package/dist/sandbox/placement.d.ts +1 -1
- package/dist/sandbox/placement.js +2 -2
- package/dist/sandbox/pods/client.d.ts +3 -1
- package/dist/sandbox/pods/lifecycle.d.ts +8 -0
- package/dist/sandbox/pods/lifecycle.js +15 -0
- package/dist/sandbox/pods/spec.js +2 -1
- package/dist/sandbox/resolve.d.ts +5 -3
- package/dist/sandbox/resolve.js +9 -2
- package/dist/sandbox/runtime-tools.d.ts +9 -0
- package/dist/sandbox/runtime-tools.js +16 -0
- package/dist/sandbox/session-sandbox.d.ts +4 -6
- package/dist/sandbox/session-sandbox.js +47 -94
- package/dist/sandbox/setup.d.ts +4 -1
- package/dist/sandbox/setup.js +46 -9
- package/dist/sandbox/share.d.ts +12 -7
- package/dist/sandbox/share.js +27 -25
- package/dist/sandbox/skills.d.ts +8 -6
- package/dist/sandbox/skills.js +24 -23
- package/dist/store/postgres/drizzle/0024_flat_manifest.sql +7 -0
- package/dist/store/postgres/drizzle/0025_environment_manifests.sql +14 -0
- package/dist/store/postgres/drizzle/0026_environment_forks.sql +1 -0
- package/dist/store/postgres/drizzle/0027_environment_image_digest.sql +1 -0
- package/dist/store/postgres/drizzle/meta/_journal.json +28 -0
- package/dist/store/postgres/migrate.js +1 -1
- package/dist/store/postgres/reads.js +8 -2
- package/dist/store/postgres/schema.d.ts +217 -0
- package/dist/store/postgres/schema.js +36 -2
- package/dist/store/postgres/store.js +79 -4
- package/dist/store/types.d.ts +68 -14
- package/dist/tenant/advance.js +3 -0
- package/dist/tenant/artifact-tool.d.ts +1 -1
- package/dist/tenant/artifact-tool.js +43 -22
- package/dist/tenant/commands.js +24 -4
- package/dist/tenant/context.d.ts +10 -4
- package/dist/tenant/effects.js +7 -9
- package/dist/tenant/environment-manifests.d.ts +57 -0
- package/dist/tenant/environment-manifests.js +200 -0
- package/dist/tenant/environments.d.ts +54 -47
- package/dist/tenant/environments.js +309 -85
- package/dist/tenant/ephemeral.d.ts +1 -1
- package/dist/tenant/host-token.js +1 -1
- package/dist/tenant/identity-file.d.ts +1 -1
- package/dist/tenant/identity-file.js +1 -1
- package/dist/tenant/model-setting.d.ts +14 -0
- package/dist/tenant/model-setting.js +51 -0
- package/dist/tenant/outbound.d.ts +6 -5
- package/dist/tenant/outbound.js +8 -6
- package/dist/tenant/sessions.d.ts +5 -1
- package/dist/tenant/sessions.js +45 -12
- package/dist/tenant/skill-tool.d.ts +3 -3
- package/dist/tenant/skill-tool.js +6 -11
- package/dist/tenant/sweep.js +1 -1
- package/dist/tenant/tool-results.js +1 -1
- package/dist/tenant/tool-search.d.ts +7 -11
- package/dist/tenant/tool-search.js +8 -5
- package/dist/tenant/transcript.d.ts +51 -32
- package/dist/tenant/transcript.js +2 -1
- package/dist/tenant/types.d.ts +2 -2
- package/dist/traces/ids.d.ts +0 -1
- package/dist/traces/ids.js +0 -4
- package/dist/traces/map.d.ts +2 -2
- package/dist/traces/map.js +1 -29
- package/dist/vault/coverage.js +11 -13
- package/dist/vault/host-model.d.ts +4 -1
- package/dist/vault/host-model.js +10 -2
- package/dist/vault/service.d.ts +49 -4
- package/dist/vault/service.js +153 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +3 -3
- package/dist/sandbox/capability.d.ts +0 -3
- package/dist/sandbox/capability.js +0 -10
|
@@ -2,16 +2,19 @@
|
|
|
2
2
|
"openapi": "3.2.0",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Nylorun Management API",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.26.0-beta",
|
|
6
6
|
"x-nylorun-protocol": {
|
|
7
|
-
"min":
|
|
8
|
-
"max":
|
|
7
|
+
"min": 14,
|
|
8
|
+
"max": 14,
|
|
9
9
|
"features": [
|
|
10
10
|
"studio-principal",
|
|
11
11
|
"artifacts",
|
|
12
12
|
"management-api",
|
|
13
13
|
"resource-server",
|
|
14
14
|
"environments",
|
|
15
|
+
"model-inputs",
|
|
16
|
+
"flat-manifest",
|
|
17
|
+
"environment-manifests",
|
|
15
18
|
"tenant-fixture-model",
|
|
16
19
|
"transcript-events",
|
|
17
20
|
"subject-headers",
|
|
@@ -30,7 +33,7 @@
|
|
|
30
33
|
"artifact-reads"
|
|
31
34
|
]
|
|
32
35
|
},
|
|
33
|
-
"description": "For operators: the Tenant's models, vaults, signing keys, settings and application keys, at `/v1/tenant/*` on the Tenant's URL, through `@nylorun/admin`. Every operation takes a management key, acting as itself: never for a subject and never from a browser. Management keys are issued only on the Tenant's machine (`nylorun
|
|
36
|
+
"description": "For operators: the Tenant's models, vaults, signing keys, settings and application keys, at `/v1/tenant/*` on the Tenant's URL, through `@nylorun/admin`. Every operation takes a management key, acting as itself: never for a subject and never from a browser. Management keys are issued only on the Tenant's machine (`nylorun tenant keys put <id> --management`) or from `NYLORUN_MANAGEMENT_KEY_FILE`."
|
|
34
37
|
},
|
|
35
38
|
"servers": [
|
|
36
39
|
{
|
|
@@ -105,6 +108,13 @@
|
|
|
105
108
|
"credential_rejected",
|
|
106
109
|
"mcp_preview_failed",
|
|
107
110
|
"credential_conflict",
|
|
111
|
+
"attachment_unsupported",
|
|
112
|
+
"environment_immutable",
|
|
113
|
+
"secret_not_in_manifest",
|
|
114
|
+
"environment_unsuitable",
|
|
115
|
+
"manifest_not_found",
|
|
116
|
+
"manifest_in_use",
|
|
117
|
+
"manifest_changed",
|
|
108
118
|
"internal_error"
|
|
109
119
|
]
|
|
110
120
|
},
|
|
@@ -386,6 +396,20 @@
|
|
|
386
396
|
"reasoning": {
|
|
387
397
|
"type": "boolean"
|
|
388
398
|
},
|
|
399
|
+
"inputs": {
|
|
400
|
+
"type": "array",
|
|
401
|
+
"items": {
|
|
402
|
+
"type": "string",
|
|
403
|
+
"enum": [
|
|
404
|
+
"text",
|
|
405
|
+
"image",
|
|
406
|
+
"pdf",
|
|
407
|
+
"office",
|
|
408
|
+
"audio",
|
|
409
|
+
"video"
|
|
410
|
+
]
|
|
411
|
+
}
|
|
412
|
+
},
|
|
389
413
|
"compat": {
|
|
390
414
|
"type": "object",
|
|
391
415
|
"additionalProperties": {}
|
|
@@ -845,6 +869,20 @@
|
|
|
845
869
|
"reasoning": {
|
|
846
870
|
"type": "boolean"
|
|
847
871
|
},
|
|
872
|
+
"inputs": {
|
|
873
|
+
"type": "array",
|
|
874
|
+
"items": {
|
|
875
|
+
"type": "string",
|
|
876
|
+
"enum": [
|
|
877
|
+
"text",
|
|
878
|
+
"image",
|
|
879
|
+
"pdf",
|
|
880
|
+
"office",
|
|
881
|
+
"audio",
|
|
882
|
+
"video"
|
|
883
|
+
]
|
|
884
|
+
}
|
|
885
|
+
},
|
|
848
886
|
"compat": {
|
|
849
887
|
"type": "object",
|
|
850
888
|
"additionalProperties": {}
|
|
@@ -955,11 +993,41 @@
|
|
|
955
993
|
},
|
|
956
994
|
"name": {
|
|
957
995
|
"type": "string"
|
|
996
|
+
},
|
|
997
|
+
"inputs": {
|
|
998
|
+
"type": "array",
|
|
999
|
+
"items": {
|
|
1000
|
+
"type": "string",
|
|
1001
|
+
"enum": [
|
|
1002
|
+
"text",
|
|
1003
|
+
"image",
|
|
1004
|
+
"pdf",
|
|
1005
|
+
"office",
|
|
1006
|
+
"audio",
|
|
1007
|
+
"video"
|
|
1008
|
+
]
|
|
1009
|
+
}
|
|
1010
|
+
},
|
|
1011
|
+
"addableInputs": {
|
|
1012
|
+
"type": "array",
|
|
1013
|
+
"items": {
|
|
1014
|
+
"type": "string",
|
|
1015
|
+
"enum": [
|
|
1016
|
+
"text",
|
|
1017
|
+
"image",
|
|
1018
|
+
"pdf",
|
|
1019
|
+
"office",
|
|
1020
|
+
"audio",
|
|
1021
|
+
"video"
|
|
1022
|
+
]
|
|
1023
|
+
}
|
|
958
1024
|
}
|
|
959
1025
|
},
|
|
960
1026
|
"required": [
|
|
961
1027
|
"id",
|
|
962
|
-
"name"
|
|
1028
|
+
"name",
|
|
1029
|
+
"inputs",
|
|
1030
|
+
"addableInputs"
|
|
963
1031
|
],
|
|
964
1032
|
"additionalProperties": false
|
|
965
1033
|
}
|
|
@@ -979,6 +1047,74 @@
|
|
|
979
1047
|
],
|
|
980
1048
|
"additionalProperties": false
|
|
981
1049
|
},
|
|
1050
|
+
"ModelInputsView": {
|
|
1051
|
+
"type": "object",
|
|
1052
|
+
"properties": {
|
|
1053
|
+
"provider": {
|
|
1054
|
+
"type": "string"
|
|
1055
|
+
},
|
|
1056
|
+
"model": {
|
|
1057
|
+
"type": "string"
|
|
1058
|
+
},
|
|
1059
|
+
"inputs": {
|
|
1060
|
+
"type": "array",
|
|
1061
|
+
"items": {
|
|
1062
|
+
"type": "string",
|
|
1063
|
+
"enum": [
|
|
1064
|
+
"text",
|
|
1065
|
+
"image",
|
|
1066
|
+
"pdf",
|
|
1067
|
+
"office",
|
|
1068
|
+
"audio",
|
|
1069
|
+
"video"
|
|
1070
|
+
]
|
|
1071
|
+
}
|
|
1072
|
+
}
|
|
1073
|
+
},
|
|
1074
|
+
"required": [
|
|
1075
|
+
"provider",
|
|
1076
|
+
"model",
|
|
1077
|
+
"inputs"
|
|
1078
|
+
],
|
|
1079
|
+
"additionalProperties": false
|
|
1080
|
+
},
|
|
1081
|
+
"PutModelInputsRequest": {
|
|
1082
|
+
"type": "object",
|
|
1083
|
+
"properties": {
|
|
1084
|
+
"requestId": {
|
|
1085
|
+
"type": "string",
|
|
1086
|
+
"minLength": 1
|
|
1087
|
+
},
|
|
1088
|
+
"provider": {
|
|
1089
|
+
"type": "string",
|
|
1090
|
+
"minLength": 1
|
|
1091
|
+
},
|
|
1092
|
+
"model": {
|
|
1093
|
+
"type": "string",
|
|
1094
|
+
"minLength": 1
|
|
1095
|
+
},
|
|
1096
|
+
"inputs": {
|
|
1097
|
+
"type": "array",
|
|
1098
|
+
"items": {
|
|
1099
|
+
"type": "string",
|
|
1100
|
+
"enum": [
|
|
1101
|
+
"text",
|
|
1102
|
+
"image",
|
|
1103
|
+
"pdf",
|
|
1104
|
+
"office",
|
|
1105
|
+
"audio",
|
|
1106
|
+
"video"
|
|
1107
|
+
]
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
},
|
|
1111
|
+
"required": [
|
|
1112
|
+
"provider",
|
|
1113
|
+
"model",
|
|
1114
|
+
"inputs"
|
|
1115
|
+
],
|
|
1116
|
+
"additionalProperties": false
|
|
1117
|
+
},
|
|
982
1118
|
"TenantSandboxView": {
|
|
983
1119
|
"type": "object",
|
|
984
1120
|
"properties": {
|
|
@@ -1689,6 +1825,20 @@
|
|
|
1689
1825
|
"reasoning": {
|
|
1690
1826
|
"type": "boolean"
|
|
1691
1827
|
},
|
|
1828
|
+
"inputs": {
|
|
1829
|
+
"type": "array",
|
|
1830
|
+
"items": {
|
|
1831
|
+
"type": "string",
|
|
1832
|
+
"enum": [
|
|
1833
|
+
"text",
|
|
1834
|
+
"image",
|
|
1835
|
+
"pdf",
|
|
1836
|
+
"office",
|
|
1837
|
+
"audio",
|
|
1838
|
+
"video"
|
|
1839
|
+
]
|
|
1840
|
+
}
|
|
1841
|
+
},
|
|
1692
1842
|
"compat": {
|
|
1693
1843
|
"type": "object",
|
|
1694
1844
|
"additionalProperties": {}
|
|
@@ -1696,6 +1846,20 @@
|
|
|
1696
1846
|
},
|
|
1697
1847
|
"additionalProperties": false
|
|
1698
1848
|
},
|
|
1849
|
+
"inputs": {
|
|
1850
|
+
"type": "array",
|
|
1851
|
+
"items": {
|
|
1852
|
+
"type": "string",
|
|
1853
|
+
"enum": [
|
|
1854
|
+
"text",
|
|
1855
|
+
"image",
|
|
1856
|
+
"pdf",
|
|
1857
|
+
"office",
|
|
1858
|
+
"audio",
|
|
1859
|
+
"video"
|
|
1860
|
+
]
|
|
1861
|
+
}
|
|
1862
|
+
},
|
|
1699
1863
|
"lastUpdated": {
|
|
1700
1864
|
"type": "string"
|
|
1701
1865
|
},
|
|
@@ -1776,6 +1940,20 @@
|
|
|
1776
1940
|
"reasoning": {
|
|
1777
1941
|
"type": "boolean"
|
|
1778
1942
|
},
|
|
1943
|
+
"inputs": {
|
|
1944
|
+
"type": "array",
|
|
1945
|
+
"items": {
|
|
1946
|
+
"type": "string",
|
|
1947
|
+
"enum": [
|
|
1948
|
+
"text",
|
|
1949
|
+
"image",
|
|
1950
|
+
"pdf",
|
|
1951
|
+
"office",
|
|
1952
|
+
"audio",
|
|
1953
|
+
"video"
|
|
1954
|
+
]
|
|
1955
|
+
}
|
|
1956
|
+
},
|
|
1779
1957
|
"compat": {
|
|
1780
1958
|
"type": "object",
|
|
1781
1959
|
"additionalProperties": {}
|
|
@@ -1832,6 +2010,20 @@
|
|
|
1832
2010
|
"reasoning": {
|
|
1833
2011
|
"type": "boolean"
|
|
1834
2012
|
},
|
|
2013
|
+
"inputs": {
|
|
2014
|
+
"type": "array",
|
|
2015
|
+
"items": {
|
|
2016
|
+
"type": "string",
|
|
2017
|
+
"enum": [
|
|
2018
|
+
"text",
|
|
2019
|
+
"image",
|
|
2020
|
+
"pdf",
|
|
2021
|
+
"office",
|
|
2022
|
+
"audio",
|
|
2023
|
+
"video"
|
|
2024
|
+
]
|
|
2025
|
+
}
|
|
2026
|
+
},
|
|
1835
2027
|
"compat": {
|
|
1836
2028
|
"type": "object",
|
|
1837
2029
|
"additionalProperties": {}
|
|
@@ -2751,10 +2943,10 @@
|
|
|
2751
2943
|
{
|
|
2752
2944
|
"schema": {
|
|
2753
2945
|
"type": "string",
|
|
2754
|
-
"description": "The protocol version, `
|
|
2946
|
+
"description": "The protocol version, `14`"
|
|
2755
2947
|
},
|
|
2756
2948
|
"required": true,
|
|
2757
|
-
"description": "The protocol version, `
|
|
2949
|
+
"description": "The protocol version, `14`",
|
|
2758
2950
|
"name": "Nylorun-Protocol",
|
|
2759
2951
|
"in": "header"
|
|
2760
2952
|
}
|
|
@@ -2853,10 +3045,10 @@
|
|
|
2853
3045
|
{
|
|
2854
3046
|
"schema": {
|
|
2855
3047
|
"type": "string",
|
|
2856
|
-
"description": "The protocol version, `
|
|
3048
|
+
"description": "The protocol version, `14`"
|
|
2857
3049
|
},
|
|
2858
3050
|
"required": true,
|
|
2859
|
-
"description": "The protocol version, `
|
|
3051
|
+
"description": "The protocol version, `14`",
|
|
2860
3052
|
"name": "Nylorun-Protocol",
|
|
2861
3053
|
"in": "header"
|
|
2862
3054
|
}
|
|
@@ -2965,10 +3157,10 @@
|
|
|
2965
3157
|
{
|
|
2966
3158
|
"schema": {
|
|
2967
3159
|
"type": "string",
|
|
2968
|
-
"description": "The protocol version, `
|
|
3160
|
+
"description": "The protocol version, `14`"
|
|
2969
3161
|
},
|
|
2970
3162
|
"required": true,
|
|
2971
|
-
"description": "The protocol version, `
|
|
3163
|
+
"description": "The protocol version, `14`",
|
|
2972
3164
|
"name": "Nylorun-Protocol",
|
|
2973
3165
|
"in": "header"
|
|
2974
3166
|
}
|
|
@@ -3086,10 +3278,10 @@
|
|
|
3086
3278
|
{
|
|
3087
3279
|
"schema": {
|
|
3088
3280
|
"type": "string",
|
|
3089
|
-
"description": "The protocol version, `
|
|
3281
|
+
"description": "The protocol version, `14`"
|
|
3090
3282
|
},
|
|
3091
3283
|
"required": true,
|
|
3092
|
-
"description": "The protocol version, `
|
|
3284
|
+
"description": "The protocol version, `14`",
|
|
3093
3285
|
"name": "Nylorun-Protocol",
|
|
3094
3286
|
"in": "header"
|
|
3095
3287
|
},
|
|
@@ -3221,10 +3413,10 @@
|
|
|
3221
3413
|
{
|
|
3222
3414
|
"schema": {
|
|
3223
3415
|
"type": "string",
|
|
3224
|
-
"description": "The protocol version, `
|
|
3416
|
+
"description": "The protocol version, `14`"
|
|
3225
3417
|
},
|
|
3226
3418
|
"required": true,
|
|
3227
|
-
"description": "The protocol version, `
|
|
3419
|
+
"description": "The protocol version, `14`",
|
|
3228
3420
|
"name": "Nylorun-Protocol",
|
|
3229
3421
|
"in": "header"
|
|
3230
3422
|
}
|
|
@@ -3333,10 +3525,10 @@
|
|
|
3333
3525
|
{
|
|
3334
3526
|
"schema": {
|
|
3335
3527
|
"type": "string",
|
|
3336
|
-
"description": "The protocol version, `
|
|
3528
|
+
"description": "The protocol version, `14`"
|
|
3337
3529
|
},
|
|
3338
3530
|
"required": true,
|
|
3339
|
-
"description": "The protocol version, `
|
|
3531
|
+
"description": "The protocol version, `14`",
|
|
3340
3532
|
"name": "Nylorun-Protocol",
|
|
3341
3533
|
"in": "header"
|
|
3342
3534
|
}
|
|
@@ -3436,10 +3628,10 @@
|
|
|
3436
3628
|
{
|
|
3437
3629
|
"schema": {
|
|
3438
3630
|
"type": "string",
|
|
3439
|
-
"description": "The protocol version, `
|
|
3631
|
+
"description": "The protocol version, `14`"
|
|
3440
3632
|
},
|
|
3441
3633
|
"required": true,
|
|
3442
|
-
"description": "The protocol version, `
|
|
3634
|
+
"description": "The protocol version, `14`",
|
|
3443
3635
|
"name": "Nylorun-Protocol",
|
|
3444
3636
|
"in": "header"
|
|
3445
3637
|
}
|
|
@@ -3517,6 +3709,7 @@
|
|
|
3517
3709
|
"Models"
|
|
3518
3710
|
],
|
|
3519
3711
|
"summary": "List model providers and models",
|
|
3712
|
+
"description": "Each model says what it reads (`inputs`: its catalog's inputs and those the operator added) and what may be added (`addableInputs`).",
|
|
3520
3713
|
"security": [
|
|
3521
3714
|
{
|
|
3522
3715
|
"managementKey": []
|
|
@@ -3530,17 +3723,17 @@
|
|
|
3530
3723
|
{
|
|
3531
3724
|
"schema": {
|
|
3532
3725
|
"type": "string",
|
|
3533
|
-
"description": "The protocol version, `
|
|
3726
|
+
"description": "The protocol version, `14`"
|
|
3534
3727
|
},
|
|
3535
3728
|
"required": true,
|
|
3536
|
-
"description": "The protocol version, `
|
|
3729
|
+
"description": "The protocol version, `14`",
|
|
3537
3730
|
"name": "Nylorun-Protocol",
|
|
3538
3731
|
"in": "header"
|
|
3539
3732
|
}
|
|
3540
3733
|
],
|
|
3541
3734
|
"responses": {
|
|
3542
3735
|
"200": {
|
|
3543
|
-
"description": "Provider and model names",
|
|
3736
|
+
"description": "Provider and model names, and their inputs",
|
|
3544
3737
|
"content": {
|
|
3545
3738
|
"application/json": {
|
|
3546
3739
|
"schema": {
|
|
@@ -3612,6 +3805,118 @@
|
|
|
3612
3805
|
}
|
|
3613
3806
|
}
|
|
3614
3807
|
},
|
|
3808
|
+
"/v1/tenant/models/inputs": {
|
|
3809
|
+
"put": {
|
|
3810
|
+
"tags": [
|
|
3811
|
+
"Models"
|
|
3812
|
+
],
|
|
3813
|
+
"summary": "Set what a catalog model reads",
|
|
3814
|
+
"description": "Replaces the inputs the operator added to one catalog model (Tenant setting `model.inputs`): only those in its `addableInputs`, which its provider API carries. Its catalog's own inputs always stay; an empty list removes the additions. A message naming a file the Tenant's model does not read is refused with `422 attachment_unsupported`. A custom endpoint sets `settings.inputs` on `PUT /v1/tenant/model` instead.",
|
|
3815
|
+
"security": [
|
|
3816
|
+
{
|
|
3817
|
+
"managementKey": []
|
|
3818
|
+
}
|
|
3819
|
+
],
|
|
3820
|
+
"x-nylorun-credentials": [
|
|
3821
|
+
"management"
|
|
3822
|
+
],
|
|
3823
|
+
"x-nylorun-scopes": "never",
|
|
3824
|
+
"parameters": [
|
|
3825
|
+
{
|
|
3826
|
+
"schema": {
|
|
3827
|
+
"type": "string",
|
|
3828
|
+
"description": "The protocol version, `14`"
|
|
3829
|
+
},
|
|
3830
|
+
"required": true,
|
|
3831
|
+
"description": "The protocol version, `14`",
|
|
3832
|
+
"name": "Nylorun-Protocol",
|
|
3833
|
+
"in": "header"
|
|
3834
|
+
}
|
|
3835
|
+
],
|
|
3836
|
+
"requestBody": {
|
|
3837
|
+
"required": true,
|
|
3838
|
+
"content": {
|
|
3839
|
+
"application/json": {
|
|
3840
|
+
"schema": {
|
|
3841
|
+
"$ref": "#/components/schemas/PutModelInputsRequest"
|
|
3842
|
+
}
|
|
3843
|
+
}
|
|
3844
|
+
}
|
|
3845
|
+
},
|
|
3846
|
+
"responses": {
|
|
3847
|
+
"200": {
|
|
3848
|
+
"description": "What the model reads now",
|
|
3849
|
+
"content": {
|
|
3850
|
+
"application/json": {
|
|
3851
|
+
"schema": {
|
|
3852
|
+
"$ref": "#/components/schemas/ModelInputsView"
|
|
3853
|
+
}
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
},
|
|
3857
|
+
"400": {
|
|
3858
|
+
"description": "Invalid headers, path, body or cursor",
|
|
3859
|
+
"content": {
|
|
3860
|
+
"application/json": {
|
|
3861
|
+
"schema": {
|
|
3862
|
+
"$ref": "#/components/schemas/Rejected"
|
|
3863
|
+
}
|
|
3864
|
+
}
|
|
3865
|
+
}
|
|
3866
|
+
},
|
|
3867
|
+
"401": {
|
|
3868
|
+
"description": "No credential (`credential_required`), or one the Tenant does not accept (`credential_invalid`), with a `WWW-Authenticate: Bearer` challenge",
|
|
3869
|
+
"content": {
|
|
3870
|
+
"application/json": {
|
|
3871
|
+
"schema": {
|
|
3872
|
+
"$ref": "#/components/schemas/Rejected"
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3875
|
+
}
|
|
3876
|
+
},
|
|
3877
|
+
"403": {
|
|
3878
|
+
"description": "Not allowed for this credential, a key of the other API (`key_role_mismatch`), a key from a browser (`origin_rejected`) or a management key acting for a subject",
|
|
3879
|
+
"content": {
|
|
3880
|
+
"application/json": {
|
|
3881
|
+
"schema": {
|
|
3882
|
+
"$ref": "#/components/schemas/Rejected"
|
|
3883
|
+
}
|
|
3884
|
+
}
|
|
3885
|
+
}
|
|
3886
|
+
},
|
|
3887
|
+
"404": {
|
|
3888
|
+
"description": "Not found (`not_found`)",
|
|
3889
|
+
"content": {
|
|
3890
|
+
"application/json": {
|
|
3891
|
+
"schema": {
|
|
3892
|
+
"$ref": "#/components/schemas/Rejected"
|
|
3893
|
+
}
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
},
|
|
3897
|
+
"426": {
|
|
3898
|
+
"description": "`Nylorun-Protocol` missing or unsupported",
|
|
3899
|
+
"content": {
|
|
3900
|
+
"application/json": {
|
|
3901
|
+
"schema": {
|
|
3902
|
+
"$ref": "#/components/schemas/ProtocolRejected"
|
|
3903
|
+
}
|
|
3904
|
+
}
|
|
3905
|
+
}
|
|
3906
|
+
},
|
|
3907
|
+
"503": {
|
|
3908
|
+
"description": "The Tenant's storage or streams are unavailable",
|
|
3909
|
+
"content": {
|
|
3910
|
+
"application/json": {
|
|
3911
|
+
"schema": {
|
|
3912
|
+
"$ref": "#/components/schemas/Rejected"
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
3915
|
+
}
|
|
3916
|
+
}
|
|
3917
|
+
}
|
|
3918
|
+
}
|
|
3919
|
+
},
|
|
3615
3920
|
"/v1/tenant/providers": {
|
|
3616
3921
|
"get": {
|
|
3617
3922
|
"tags": [
|
|
@@ -3631,10 +3936,10 @@
|
|
|
3631
3936
|
{
|
|
3632
3937
|
"schema": {
|
|
3633
3938
|
"type": "string",
|
|
3634
|
-
"description": "The protocol version, `
|
|
3939
|
+
"description": "The protocol version, `14`"
|
|
3635
3940
|
},
|
|
3636
3941
|
"required": true,
|
|
3637
|
-
"description": "The protocol version, `
|
|
3942
|
+
"description": "The protocol version, `14`",
|
|
3638
3943
|
"name": "Nylorun-Protocol",
|
|
3639
3944
|
"in": "header"
|
|
3640
3945
|
}
|
|
@@ -3732,10 +4037,10 @@
|
|
|
3732
4037
|
{
|
|
3733
4038
|
"schema": {
|
|
3734
4039
|
"type": "string",
|
|
3735
|
-
"description": "The protocol version, `
|
|
4040
|
+
"description": "The protocol version, `14`"
|
|
3736
4041
|
},
|
|
3737
4042
|
"required": true,
|
|
3738
|
-
"description": "The protocol version, `
|
|
4043
|
+
"description": "The protocol version, `14`",
|
|
3739
4044
|
"name": "Nylorun-Protocol",
|
|
3740
4045
|
"in": "header"
|
|
3741
4046
|
}
|
|
@@ -3831,10 +4136,10 @@
|
|
|
3831
4136
|
{
|
|
3832
4137
|
"schema": {
|
|
3833
4138
|
"type": "string",
|
|
3834
|
-
"description": "The protocol version, `
|
|
4139
|
+
"description": "The protocol version, `14`"
|
|
3835
4140
|
},
|
|
3836
4141
|
"required": true,
|
|
3837
|
-
"description": "The protocol version, `
|
|
4142
|
+
"description": "The protocol version, `14`",
|
|
3838
4143
|
"name": "Nylorun-Protocol",
|
|
3839
4144
|
"in": "header"
|
|
3840
4145
|
}
|
|
@@ -3942,10 +4247,10 @@
|
|
|
3942
4247
|
{
|
|
3943
4248
|
"schema": {
|
|
3944
4249
|
"type": "string",
|
|
3945
|
-
"description": "The protocol version, `
|
|
4250
|
+
"description": "The protocol version, `14`"
|
|
3946
4251
|
},
|
|
3947
4252
|
"required": true,
|
|
3948
|
-
"description": "The protocol version, `
|
|
4253
|
+
"description": "The protocol version, `14`",
|
|
3949
4254
|
"name": "Nylorun-Protocol",
|
|
3950
4255
|
"in": "header"
|
|
3951
4256
|
}
|
|
@@ -4091,10 +4396,10 @@
|
|
|
4091
4396
|
{
|
|
4092
4397
|
"schema": {
|
|
4093
4398
|
"type": "string",
|
|
4094
|
-
"description": "The protocol version, `
|
|
4399
|
+
"description": "The protocol version, `14`"
|
|
4095
4400
|
},
|
|
4096
4401
|
"required": true,
|
|
4097
|
-
"description": "The protocol version, `
|
|
4402
|
+
"description": "The protocol version, `14`",
|
|
4098
4403
|
"name": "Nylorun-Protocol",
|
|
4099
4404
|
"in": "header"
|
|
4100
4405
|
}
|
|
@@ -4211,10 +4516,10 @@
|
|
|
4211
4516
|
{
|
|
4212
4517
|
"schema": {
|
|
4213
4518
|
"type": "string",
|
|
4214
|
-
"description": "The protocol version, `
|
|
4519
|
+
"description": "The protocol version, `14`"
|
|
4215
4520
|
},
|
|
4216
4521
|
"required": true,
|
|
4217
|
-
"description": "The protocol version, `
|
|
4522
|
+
"description": "The protocol version, `14`",
|
|
4218
4523
|
"name": "Nylorun-Protocol",
|
|
4219
4524
|
"in": "header"
|
|
4220
4525
|
}
|
|
@@ -4312,10 +4617,10 @@
|
|
|
4312
4617
|
{
|
|
4313
4618
|
"schema": {
|
|
4314
4619
|
"type": "string",
|
|
4315
|
-
"description": "The protocol version, `
|
|
4620
|
+
"description": "The protocol version, `14`"
|
|
4316
4621
|
},
|
|
4317
4622
|
"required": true,
|
|
4318
|
-
"description": "The protocol version, `
|
|
4623
|
+
"description": "The protocol version, `14`",
|
|
4319
4624
|
"name": "Nylorun-Protocol",
|
|
4320
4625
|
"in": "header"
|
|
4321
4626
|
}
|
|
@@ -4412,10 +4717,10 @@
|
|
|
4412
4717
|
{
|
|
4413
4718
|
"schema": {
|
|
4414
4719
|
"type": "string",
|
|
4415
|
-
"description": "The protocol version, `
|
|
4720
|
+
"description": "The protocol version, `14`"
|
|
4416
4721
|
},
|
|
4417
4722
|
"required": true,
|
|
4418
|
-
"description": "The protocol version, `
|
|
4723
|
+
"description": "The protocol version, `14`",
|
|
4419
4724
|
"name": "Nylorun-Protocol",
|
|
4420
4725
|
"in": "header"
|
|
4421
4726
|
}
|
|
@@ -4523,10 +4828,10 @@
|
|
|
4523
4828
|
{
|
|
4524
4829
|
"schema": {
|
|
4525
4830
|
"type": "string",
|
|
4526
|
-
"description": "The protocol version, `
|
|
4831
|
+
"description": "The protocol version, `14`"
|
|
4527
4832
|
},
|
|
4528
4833
|
"required": true,
|
|
4529
|
-
"description": "The protocol version, `
|
|
4834
|
+
"description": "The protocol version, `14`",
|
|
4530
4835
|
"name": "Nylorun-Protocol",
|
|
4531
4836
|
"in": "header"
|
|
4532
4837
|
}
|
|
@@ -4623,10 +4928,10 @@
|
|
|
4623
4928
|
{
|
|
4624
4929
|
"schema": {
|
|
4625
4930
|
"type": "string",
|
|
4626
|
-
"description": "The protocol version, `
|
|
4931
|
+
"description": "The protocol version, `14`"
|
|
4627
4932
|
},
|
|
4628
4933
|
"required": true,
|
|
4629
|
-
"description": "The protocol version, `
|
|
4934
|
+
"description": "The protocol version, `14`",
|
|
4630
4935
|
"name": "Nylorun-Protocol",
|
|
4631
4936
|
"in": "header"
|
|
4632
4937
|
}
|
|
@@ -4735,10 +5040,10 @@
|
|
|
4735
5040
|
{
|
|
4736
5041
|
"schema": {
|
|
4737
5042
|
"type": "string",
|
|
4738
|
-
"description": "The protocol version, `
|
|
5043
|
+
"description": "The protocol version, `14`"
|
|
4739
5044
|
},
|
|
4740
5045
|
"required": true,
|
|
4741
|
-
"description": "The protocol version, `
|
|
5046
|
+
"description": "The protocol version, `14`",
|
|
4742
5047
|
"name": "Nylorun-Protocol",
|
|
4743
5048
|
"in": "header"
|
|
4744
5049
|
}
|
|
@@ -4847,10 +5152,10 @@
|
|
|
4847
5152
|
{
|
|
4848
5153
|
"schema": {
|
|
4849
5154
|
"type": "string",
|
|
4850
|
-
"description": "The protocol version, `
|
|
5155
|
+
"description": "The protocol version, `14`"
|
|
4851
5156
|
},
|
|
4852
5157
|
"required": true,
|
|
4853
|
-
"description": "The protocol version, `
|
|
5158
|
+
"description": "The protocol version, `14`",
|
|
4854
5159
|
"name": "Nylorun-Protocol",
|
|
4855
5160
|
"in": "header"
|
|
4856
5161
|
}
|
|
@@ -4978,10 +5283,10 @@
|
|
|
4978
5283
|
{
|
|
4979
5284
|
"schema": {
|
|
4980
5285
|
"type": "string",
|
|
4981
|
-
"description": "The protocol version, `
|
|
5286
|
+
"description": "The protocol version, `14`"
|
|
4982
5287
|
},
|
|
4983
5288
|
"required": true,
|
|
4984
|
-
"description": "The protocol version, `
|
|
5289
|
+
"description": "The protocol version, `14`",
|
|
4985
5290
|
"name": "Nylorun-Protocol",
|
|
4986
5291
|
"in": "header"
|
|
4987
5292
|
}
|
|
@@ -5080,10 +5385,10 @@
|
|
|
5080
5385
|
{
|
|
5081
5386
|
"schema": {
|
|
5082
5387
|
"type": "string",
|
|
5083
|
-
"description": "The protocol version, `
|
|
5388
|
+
"description": "The protocol version, `14`"
|
|
5084
5389
|
},
|
|
5085
5390
|
"required": true,
|
|
5086
|
-
"description": "The protocol version, `
|
|
5391
|
+
"description": "The protocol version, `14`",
|
|
5087
5392
|
"name": "Nylorun-Protocol",
|
|
5088
5393
|
"in": "header"
|
|
5089
5394
|
}
|
|
@@ -5202,10 +5507,10 @@
|
|
|
5202
5507
|
{
|
|
5203
5508
|
"schema": {
|
|
5204
5509
|
"type": "string",
|
|
5205
|
-
"description": "The protocol version, `
|
|
5510
|
+
"description": "The protocol version, `14`"
|
|
5206
5511
|
},
|
|
5207
5512
|
"required": true,
|
|
5208
|
-
"description": "The protocol version, `
|
|
5513
|
+
"description": "The protocol version, `14`",
|
|
5209
5514
|
"name": "Nylorun-Protocol",
|
|
5210
5515
|
"in": "header"
|
|
5211
5516
|
}
|
|
@@ -5316,10 +5621,10 @@
|
|
|
5316
5621
|
{
|
|
5317
5622
|
"schema": {
|
|
5318
5623
|
"type": "string",
|
|
5319
|
-
"description": "The protocol version, `
|
|
5624
|
+
"description": "The protocol version, `14`"
|
|
5320
5625
|
},
|
|
5321
5626
|
"required": true,
|
|
5322
|
-
"description": "The protocol version, `
|
|
5627
|
+
"description": "The protocol version, `14`",
|
|
5323
5628
|
"name": "Nylorun-Protocol",
|
|
5324
5629
|
"in": "header"
|
|
5325
5630
|
}
|
|
@@ -5416,10 +5721,10 @@
|
|
|
5416
5721
|
{
|
|
5417
5722
|
"schema": {
|
|
5418
5723
|
"type": "string",
|
|
5419
|
-
"description": "The protocol version, `
|
|
5724
|
+
"description": "The protocol version, `14`"
|
|
5420
5725
|
},
|
|
5421
5726
|
"required": true,
|
|
5422
|
-
"description": "The protocol version, `
|
|
5727
|
+
"description": "The protocol version, `14`",
|
|
5423
5728
|
"name": "Nylorun-Protocol",
|
|
5424
5729
|
"in": "header"
|
|
5425
5730
|
}
|
|
@@ -5527,10 +5832,10 @@
|
|
|
5527
5832
|
{
|
|
5528
5833
|
"schema": {
|
|
5529
5834
|
"type": "string",
|
|
5530
|
-
"description": "The protocol version, `
|
|
5835
|
+
"description": "The protocol version, `14`"
|
|
5531
5836
|
},
|
|
5532
5837
|
"required": true,
|
|
5533
|
-
"description": "The protocol version, `
|
|
5838
|
+
"description": "The protocol version, `14`",
|
|
5534
5839
|
"name": "Nylorun-Protocol",
|
|
5535
5840
|
"in": "header"
|
|
5536
5841
|
}
|
|
@@ -5627,10 +5932,10 @@
|
|
|
5627
5932
|
{
|
|
5628
5933
|
"schema": {
|
|
5629
5934
|
"type": "string",
|
|
5630
|
-
"description": "The protocol version, `
|
|
5935
|
+
"description": "The protocol version, `14`"
|
|
5631
5936
|
},
|
|
5632
5937
|
"required": true,
|
|
5633
|
-
"description": "The protocol version, `
|
|
5938
|
+
"description": "The protocol version, `14`",
|
|
5634
5939
|
"name": "Nylorun-Protocol",
|
|
5635
5940
|
"in": "header"
|
|
5636
5941
|
}
|
|
@@ -5732,7 +6037,7 @@
|
|
|
5732
6037
|
},
|
|
5733
6038
|
{
|
|
5734
6039
|
"name": "Models",
|
|
5735
|
-
"description": "Model providers, their credentials, the model the Tenant uses, what it spent, every model call for export, and the budgets that cap it. `admin.models`."
|
|
6040
|
+
"description": "Model providers, their credentials, the model the Tenant uses, what each model reads, what it spent, every model call for export, and the budgets that cap it. `admin.models`."
|
|
5736
6041
|
},
|
|
5737
6042
|
{
|
|
5738
6043
|
"name": "Tool policy",
|