@nylorun/core 0.30.0-beta → 0.31.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 +10 -0
- package/dist/compatibility.d.ts +3 -2
- package/dist/compatibility.js +3 -2
- package/dist/types/part.d.ts +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @nylorun/core
|
|
2
2
|
|
|
3
|
+
## 0.31.0-beta
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 2f3fc06: A skill file can be uploaded from a stream, so a client never holds a large one in memory (ADR-93).
|
|
8
|
+
|
|
9
|
+
- **`SkillFileSource.stream()`**, optional: each call opens a new stream of the file's bytes. When a source has it, `client.files.ensure` (and so `agentManifests.save`) sends the stream instead of `read()`'s bytes.
|
|
10
|
+
- **`client.files.uploadStream(stream, { sha256 })`** sends one file half-duplex, up to the Tenant's skill limit (2 GiB by default). The Runtime already streams the body to its hash.
|
|
11
|
+
- **A stream is never sent twice by the transport.** After an expired token or a protocol check, `ensure` opens a new stream and sends it once more.
|
|
12
|
+
|
|
3
13
|
## 0.30.0-beta
|
|
4
14
|
|
|
5
15
|
### Minor Changes
|
package/dist/compatibility.d.ts
CHANGED
|
@@ -208,8 +208,9 @@ export type ProtocolFeature = (typeof PROTOCOL_FEATURES)[number];
|
|
|
208
208
|
* Application Default Credentials, when the Host's operator lends them (`NYLORUN_MODEL_HOST_IDENTITY`).
|
|
209
209
|
* `credential-provider`: egress-gate can hand a pod Agent's requests to an outside credential
|
|
210
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
|
|
212
|
-
* variables it names as `nylorun_managed
|
|
211
|
+
* owner's keys: the hosts it lists (exact, or `*.suffix`) pass the allowlist on 443, and each
|
|
212
|
+
* segment's sandbox sees the variables it names, as `nylorun_managed`, a stand-in it names or a
|
|
213
|
+
* plain value. No route changes.
|
|
213
214
|
*/
|
|
214
215
|
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",
|
|
215
216
|
/** Opt-in artifact metadata pages (`GET /v1/artifacts?limit=…`). */
|
package/dist/compatibility.js
CHANGED
|
@@ -210,8 +210,9 @@ export const PROTOCOL_FEATURES = [
|
|
|
210
210
|
* Application Default Credentials, when the Host's operator lends them (`NYLORUN_MODEL_HOST_IDENTITY`).
|
|
211
211
|
* `credential-provider`: egress-gate can hand a pod Agent's requests to an outside credential
|
|
212
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
|
|
214
|
-
* variables it names as `nylorun_managed
|
|
213
|
+
* owner's keys: the hosts it lists (exact, or `*.suffix`) pass the allowlist on 443, and each
|
|
214
|
+
* segment's sandbox sees the variables it names, as `nylorun_managed`, a stand-in it names or a
|
|
215
|
+
* plain value. No route changes.
|
|
215
216
|
*/
|
|
216
217
|
export const OPTIONAL_HOST_FEATURES = [
|
|
217
218
|
"tenant-fixture-model",
|
package/dist/types/part.d.ts
CHANGED
|
@@ -9,6 +9,12 @@ import type { ToolDefinition } from "./tool.js";
|
|
|
9
9
|
export interface SkillFileSource {
|
|
10
10
|
readonly size: number;
|
|
11
11
|
read(): Promise<Uint8Array>;
|
|
12
|
+
/**
|
|
13
|
+
* The bytes as a stream, for a file too large to hold in memory (an org's skill of a gigabyte,
|
|
14
|
+
* ADR-93). When present, the client's upload sends it instead of `read()`'s bytes. Each call
|
|
15
|
+
* opens a new stream.
|
|
16
|
+
*/
|
|
17
|
+
stream?(): ReadableStream<Uint8Array>;
|
|
12
18
|
}
|
|
13
19
|
/**
|
|
14
20
|
* @internal What one builder call, skills folder or plugin adds to an agent. The manifest holds
|