@nylorun/harness 0.23.0-beta → 0.23.1-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 +9 -0
- package/HOST_CONTRACT.md +11 -6
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/HOST_CONTRACT.md
CHANGED
|
@@ -13,12 +13,17 @@ installation, and nothing in a request selects it (protocol 5). Every Tenant
|
|
|
13
13
|
route requires `Nylorun-Protocol` (client protocol integer). Missing or
|
|
14
14
|
unsupported protocol → `426` with
|
|
15
15
|
`{ status: "rejected", code: "protocol_unsupported", protocol }` before
|
|
16
|
-
authentication
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
opaque `404
|
|
21
|
-
|
|
16
|
+
authentication, except that a request with neither `Nylorun-Protocol` nor
|
|
17
|
+
`Authorization` gets the route's `401` challenge (protocol 9). For one release
|
|
18
|
+
the Host also serves protocol 4 clients, which send `Nylorun-Tenant`: a header
|
|
19
|
+
naming the Host's Tenant is accepted, one naming another Tenant (or a malformed
|
|
20
|
+
one) is the opaque `404`. A Tenant id in the query string or body is ignored. A
|
|
21
|
+
Tenant that could not be opened and an unknown Tenant share the opaque `404`
|
|
22
|
+
body. A missing or rejected credential is `401` (`credential_required`,
|
|
23
|
+
`credential_invalid`) with `WWW-Authenticate: Bearer` (protocol 9); on the
|
|
24
|
+
Runtime API the challenge names `/.well-known/oauth-protected-resource` when
|
|
25
|
+
the Host has trusted issuers. The Admin API is gone (protocol 8): `/v1/admin/*`
|
|
26
|
+
is no route, and the admin key is no request's credential. Vocabulary:
|
|
22
27
|
[runtime/src/CONTEXT.md](../runtime/src/CONTEXT.md).
|
|
23
28
|
|
|
24
29
|
Unauthenticated `GET /health` returns status, `service: "nylorun-runtime"`,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nylorun/harness",
|
|
3
|
-
"version": "0.23.
|
|
3
|
+
"version": "0.23.1-beta",
|
|
4
4
|
"description": "Nylorun's TypeScript agent execution engine. See github.com/nylorun/agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"zod": "^4.6.5"
|
|
82
82
|
},
|
|
83
83
|
"dependencies": {
|
|
84
|
-
"@nylorun/core": "0.
|
|
84
|
+
"@nylorun/core": "0.16.0-beta"
|
|
85
85
|
},
|
|
86
86
|
"peerDependencies": {
|
|
87
87
|
"zod": "^4.6.5"
|