@declaw/sdk 1.1.13 → 1.2.1
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 +36 -0
- package/LICENSE +1 -1
- package/dist/index.cjs +582 -11
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +327 -12
- package/dist/index.d.ts +327 -12
- package/dist/index.js +570 -11
- package/dist/index.js.map +1 -1
- package/package.json +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,42 @@ All notable changes to the Declaw TypeScript / JavaScript SDK are documented in
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [1.2.1]
|
|
9
|
+
|
|
10
|
+
_HTTP/2 burst performance._
|
|
11
|
+
|
|
12
|
+
### Performance
|
|
13
|
+
|
|
14
|
+
- Unblocked HTTP/2 multiplexing on burst create: removed `pipelining: 1`
|
|
15
|
+
from the undici Agent, which was capping each H2 connection to a single
|
|
16
|
+
in-flight stream and silently defeating `allowH2` — a 100-concurrent burst
|
|
17
|
+
queued ~36 requests behind the connection cap. Also: eagerly initialize the
|
|
18
|
+
undici dispatcher at module load (the lazy `import('undici')` was blocking
|
|
19
|
+
the first burst), cache the resolved dispatcher synchronously (skips a
|
|
20
|
+
per-request microtask yield), and lower the retry backoff base from 0.5s to
|
|
21
|
+
0.1s. No public API change (#359).
|
|
22
|
+
|
|
23
|
+
## [1.2.0]
|
|
24
|
+
|
|
25
|
+
_2026-06 train: file-granular volumes, OPA governance._
|
|
26
|
+
|
|
27
|
+
### Added
|
|
28
|
+
|
|
29
|
+
- Mode-based volumes: write-back and mount modes with a file-granular
|
|
30
|
+
backend, plus a detached volume-files API — `volume.files.write()` /
|
|
31
|
+
`read()` / `list()` / `info()` / `exists()` / `remove()` / `rename()` /
|
|
32
|
+
`mkdir()`, `volumes.empty()` and `volumes.ingest()` constructors, and
|
|
33
|
+
volume locks (`acquire` / `renew` / `release` / `status`) (#344).
|
|
34
|
+
- OPA custom-policy support for AI agents: custom policy config with
|
|
35
|
+
`policyRef` resolution, `contentGate` for model/domain gating, and
|
|
36
|
+
out-of-box AI governance packs (#279, #345).
|
|
37
|
+
|
|
38
|
+
### Changed
|
|
39
|
+
|
|
40
|
+
- The per-sandbox audit flag now gates network, command, and filesystem
|
|
41
|
+
event categories: `enabled: false` suppresses all gated categories
|
|
42
|
+
while lifecycle and admin events are still recorded (#332).
|
|
43
|
+
|
|
8
44
|
## [1.1.13]
|
|
9
45
|
|
|
10
46
|
### Changed
|
package/LICENSE
CHANGED
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
same "printed page" as the copyright notice for easier
|
|
188
188
|
identification within third-party archives.
|
|
189
189
|
|
|
190
|
-
Copyright
|
|
190
|
+
Copyright 2026 The Declaw Authors
|
|
191
191
|
|
|
192
192
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
193
|
you may not use this file except in compliance with the License.
|