@shardflux/sdk 0.10.0 → 0.10.2
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 +11 -1
- package/README.md +12 -1
- package/dist/http.d.ts +1 -1
- package/dist/http.js +1 -1
- package/package.json +5 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,17 @@
|
|
|
3
3
|
Every API the README shows is available from the version named here. Below 1.0, a minor release may break
|
|
4
4
|
compatibility; breaking changes are marked **Breaking**.
|
|
5
5
|
|
|
6
|
-
## 0.10.
|
|
6
|
+
## 0.10.2 (not yet published)
|
|
7
|
+
|
|
8
|
+
Fix: the SDK reports 0.10.2. 0.10.1 was published reporting 0.10.0, its previous version; the build now
|
|
9
|
+
fails when `SDK_VERSION` differs from package.json.
|
|
10
|
+
|
|
11
|
+
## 0.10.1
|
|
12
|
+
|
|
13
|
+
Public support: package metadata and the README now link to the [shared bug tracker](https://github.com/shardfluxdev/community/issues),
|
|
14
|
+
feature requests, and private support/security reporting.
|
|
15
|
+
|
|
16
|
+
## 0.10.0
|
|
7
17
|
|
|
8
18
|
### A command that could not start rejects exec.run() (ExecStartError)
|
|
9
19
|
|
package/README.md
CHANGED
|
@@ -10,7 +10,7 @@ tool calls into the workspace ([tool-call capture](#tool-call-capture-070)).
|
|
|
10
10
|
> **Early access.** Shardflux is in early access. The API is versioned (`/v1`), but this SDK is
|
|
11
11
|
> below 1.0: a minor release may contain breaking changes (see [Compatibility](#compatibility)).
|
|
12
12
|
|
|
13
|
-
> **Versions.** This README describes 0.10.
|
|
13
|
+
> **Versions.** This README describes 0.10.2. Anything marked **(0.10.0+)** is not in 0.9.0, **(0.9.0+)** not in 0.8.x, **(0.8.0+)** not in 0.7.x,
|
|
14
14
|
> **(0.7.0+)** not in 0.6.x and **(0.6.0+)** not in 0.5.0; [CHANGELOG.md](./CHANGELOG.md) lists what each version added. Check yours with
|
|
15
15
|
> `npm ls @shardflux/sdk` or the exported `SDK_VERSION`.
|
|
16
16
|
|
|
@@ -19,6 +19,17 @@ tool calls into the workspace ([tool-call capture](#tool-call-capture-070)).
|
|
|
19
19
|
- Typed from the published OpenAPI documents.
|
|
20
20
|
- Retries, idempotency keys, operation polling and tool-token refresh are handled for you.
|
|
21
21
|
|
|
22
|
+
## Support and bug reports
|
|
23
|
+
|
|
24
|
+
[Report a bug](https://github.com/shardfluxdev/community/issues/new?template=bug_report.yml) or
|
|
25
|
+
[request a feature](https://github.com/shardfluxdev/community/issues/new?template=feature_request.yml).
|
|
26
|
+
Include the package and runtime versions, a minimal reproduction, expected and actual behavior, and the request ID
|
|
27
|
+
or error code when available. Reports are public: leave out secrets and confidential data.
|
|
28
|
+
|
|
29
|
+
For usage, account, billing, or private support, email [shardflux@heliosone.fi](mailto:shardflux@heliosone.fi).
|
|
30
|
+
Report vulnerabilities through [private security reporting](https://github.com/shardfluxdev/community/security/advisories/new).
|
|
31
|
+
See the [support guide](https://github.com/shardfluxdev/community/blob/main/SUPPORT.md) for all reporting options.
|
|
32
|
+
|
|
22
33
|
## Install
|
|
23
34
|
|
|
24
35
|
```sh
|
package/dist/http.d.ts
CHANGED
package/dist/http.js
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { ShardfluxApiError, ShardfluxProtocolError, apiError, isErrorBody } from "./errors.js";
|
|
10
10
|
import { describeFailure } from "./progress.js";
|
|
11
|
-
export const SDK_VERSION = '0.10.
|
|
11
|
+
export const SDK_VERSION = '0.10.2';
|
|
12
12
|
export const defaultSleep = (ms) => new Promise((r) => setTimeout(r, ms));
|
|
13
13
|
/**
|
|
14
14
|
* The fetch the SDK uses when none is given. On runtimes whose bundled undici is 8.x (Node 26) it sends
|
package/package.json
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shardflux/sdk",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Shardflux TypeScript SDK: open persistent agent workspaces by key and give your agent workspace tools (exec, files, processes, PTY, git, browser).",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"homepage": "https://shardflux.dev",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/shardfluxdev/community/issues",
|
|
10
|
+
"email": "shardflux@heliosone.fi"
|
|
11
|
+
},
|
|
8
12
|
"keywords": [
|
|
9
13
|
"shardflux",
|
|
10
14
|
"sdk",
|