@declaw/sdk 1.1.12 → 1.2.0
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 +35 -0
- package/LICENSE +1 -1
- package/dist/index.cjs +566 -9
- 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 +554 -9
- package/dist/index.js.map +1 -1
- package/package.json +7 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,41 @@ 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.0]
|
|
9
|
+
|
|
10
|
+
_2026-06 train: file-granular volumes, OPA governance._
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Mode-based volumes: write-back and mount modes with a file-granular
|
|
15
|
+
backend, plus a detached volume-files API — `volume.files.write()` /
|
|
16
|
+
`read()` / `list()` / `info()` / `exists()` / `remove()` / `rename()` /
|
|
17
|
+
`mkdir()`, `volumes.empty()` and `volumes.ingest()` constructors, and
|
|
18
|
+
volume locks (`acquire` / `renew` / `release` / `status`) (#344).
|
|
19
|
+
- OPA custom-policy support for AI agents: custom policy config with
|
|
20
|
+
`policyRef` resolution, `contentGate` for model/domain gating, and
|
|
21
|
+
out-of-box AI governance packs (#279, #345).
|
|
22
|
+
|
|
23
|
+
### Changed
|
|
24
|
+
|
|
25
|
+
- The per-sandbox audit flag now gates network, command, and filesystem
|
|
26
|
+
event categories: `enabled: false` suppresses all gated categories
|
|
27
|
+
while lifecycle and admin events are still recorded (#332).
|
|
28
|
+
|
|
29
|
+
## [1.1.13]
|
|
30
|
+
|
|
31
|
+
### Changed
|
|
32
|
+
|
|
33
|
+
- `DECLAW_SDK_CONNECTIONS` default lowered from 100 to **64**, matching
|
|
34
|
+
the 1.1.10 baseline. Empirically faster on typical low-to-mid
|
|
35
|
+
concurrency workloads (~10% lower median TTI in our 3-mode bench at
|
|
36
|
+
100 concurrent) because the smaller pool pays less TCP-setup overhead
|
|
37
|
+
on cold start. `DECLAW_SDK_MAX_CONCURRENT_STREAMS` default remains
|
|
38
|
+
**1000** (introduced in 1.1.12) so the effective in-flight ceiling is
|
|
39
|
+
**64,000 concurrent requests** per Node process — well above any
|
|
40
|
+
realistic burst load. Raise `DECLAW_SDK_CONNECTIONS=100` to lift the
|
|
41
|
+
ceiling to 100,000 if you need it.
|
|
42
|
+
|
|
8
43
|
## [1.1.12]
|
|
9
44
|
|
|
10
45
|
### 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.
|