@nylorun/core 0.29.0-beta → 0.30.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 +6 -0
- package/dist/compatibility.d.ts +5 -1
- package/dist/compatibility.js +5 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @nylorun/core
|
|
2
2
|
|
|
3
|
+
## 0.30.0-beta
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2ef610b: An outside credential provider for the egress gate (Host feature `credential-provider`; no protocol change). A Host's operator names a service that holds people's keys with `NYLORUN_CREDENTIAL_PROVIDER_URL` and `NYLORUN_CREDENTIAL_PROVIDER_TOKEN`, which `nylorun start` passes from its shell to the `gateway` and `runtime` containers. For a pod Agent with an owner, egress-gate asks the provider (`POST /v1/hosts`, with the Agent and its owner) which hosts the owner connected, lets them through on 443 inside the Tenant's egress ceiling, terminates TLS for them and hands each request to `<url>/v1/forward/<path>` with the sandbox's own headers plus `nylorun-provider-host`, `nylorun-provider-agent`, `nylorun-provider-owner` and `nylorun-provider-token`; the provider adds the key and sends it on, so the Runtime never sees a value. Each segment's sandbox sees the variables the provider names (`POST /v1/environment`) as `nylorun_managed`, under the vault's own. A secret in the Agent's vault bound to the same host still wins. Answers are cached per Agent for 15 s (Host tuning `credentialProvider.*`); an Agent with no owner is never asked about, and a provider that fails answers nothing, so its hosts are refused as before.
|
|
8
|
+
|
|
3
9
|
## 0.29.0-beta
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/dist/compatibility.d.ts
CHANGED
|
@@ -206,10 +206,14 @@ export type ProtocolFeature = (typeof PROTOCOL_FEATURES)[number];
|
|
|
206
206
|
* `model-host-identity`: `PUT /v1/tenant/model` takes `auth: { type: "host_identity", project,
|
|
207
207
|
* location }` for `google-vertex`: the model gate calls Agent Platform with the Host's Google
|
|
208
208
|
* Application Default Credentials, when the Host's operator lends them (`NYLORUN_MODEL_HOST_IDENTITY`).
|
|
209
|
+
* `credential-provider`: egress-gate can hand a pod Agent's requests to an outside credential
|
|
210
|
+
* provider the Host's operator names (`NYLORUN_CREDENTIAL_PROVIDER_URL`), which adds the Agent
|
|
211
|
+
* owner's keys: the hosts it lists pass the allowlist on 443, and each segment's sandbox sees the
|
|
212
|
+
* variables it names as `nylorun_managed`. No route changes.
|
|
209
213
|
*/
|
|
210
214
|
export declare const OPTIONAL_HOST_FEATURES: readonly ["tenant-fixture-model", "transcript-events", "subject-headers", "ag-ui-endpoint", "a2a-endpoint", "sandbox-pods", "trusted-issuers", "session-reads", "calls-export", "credential-coverage", "tool-calls", "environment-setup", "environment-disk-versions", "tool-policy", "traces",
|
|
211
215
|
/** Opt-in artifact metadata pages (`GET /v1/artifacts?limit=…`). */
|
|
212
|
-
"artifact-reads", "gateway-credentials", "agent-folders", "session-model", "model-host-identity"];
|
|
216
|
+
"artifact-reads", "gateway-credentials", "agent-folders", "session-model", "model-host-identity", "credential-provider"];
|
|
213
217
|
export type OptionalHostFeature = (typeof OPTIONAL_HOST_FEATURES)[number];
|
|
214
218
|
export interface ProtocolRange {
|
|
215
219
|
min: number;
|
package/dist/compatibility.js
CHANGED
|
@@ -208,6 +208,10 @@ export const PROTOCOL_FEATURES = [
|
|
|
208
208
|
* `model-host-identity`: `PUT /v1/tenant/model` takes `auth: { type: "host_identity", project,
|
|
209
209
|
* location }` for `google-vertex`: the model gate calls Agent Platform with the Host's Google
|
|
210
210
|
* Application Default Credentials, when the Host's operator lends them (`NYLORUN_MODEL_HOST_IDENTITY`).
|
|
211
|
+
* `credential-provider`: egress-gate can hand a pod Agent's requests to an outside credential
|
|
212
|
+
* provider the Host's operator names (`NYLORUN_CREDENTIAL_PROVIDER_URL`), which adds the Agent
|
|
213
|
+
* owner's keys: the hosts it lists pass the allowlist on 443, and each segment's sandbox sees the
|
|
214
|
+
* variables it names as `nylorun_managed`. No route changes.
|
|
211
215
|
*/
|
|
212
216
|
export const OPTIONAL_HOST_FEATURES = [
|
|
213
217
|
"tenant-fixture-model",
|
|
@@ -231,6 +235,7 @@ export const OPTIONAL_HOST_FEATURES = [
|
|
|
231
235
|
"agent-folders",
|
|
232
236
|
"session-model",
|
|
233
237
|
"model-host-identity",
|
|
238
|
+
"credential-provider",
|
|
234
239
|
];
|
|
235
240
|
/**
|
|
236
241
|
* What this Host serves: protocol 16, 17 and 18. Protocol 16 replaced agent definitions and
|