@declaw/sdk 1.1.7 → 1.1.8
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 +8 -0
- package/README.md +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ 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.1.8]
|
|
9
|
+
|
|
10
|
+
### Documentation
|
|
11
|
+
|
|
12
|
+
- README clarifies `files.write` path semantics: `path` is the literal
|
|
13
|
+
absolute path inside the sandbox — no remapping, no bridge directory,
|
|
14
|
+
no prefix.
|
|
15
|
+
|
|
8
16
|
## [1.1.7]
|
|
9
17
|
|
|
10
18
|
### Added
|
package/README.md
CHANGED
|
@@ -159,7 +159,8 @@ const sandbox = await Sandbox.create({ template, apiKey, timeout, network, secur
|
|
|
159
159
|
const result = await sandbox.commands.run('ls -la');
|
|
160
160
|
const stream = sandbox.commands.stream('python script.py');
|
|
161
161
|
|
|
162
|
-
// Files
|
|
162
|
+
// Files — `path` is the literal absolute path inside the sandbox.
|
|
163
|
+
// Files appear at exactly that path — no remapping, no bridge directory.
|
|
163
164
|
await sandbox.files.write(path, content);
|
|
164
165
|
const data = await sandbox.files.read(path);
|
|
165
166
|
const entries = await sandbox.files.list('/');
|
package/package.json
CHANGED