@nixet/sdk 0.1.1 → 0.1.3
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 +27 -1
- package/README.md +17 -6
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,32 @@ All notable changes to `@nixet/sdk` are recorded here. The format follows
|
|
|
5
5
|
[Semantic Versioning](https://semver.org/). Until 1.0.0, a minor version may
|
|
6
6
|
contain breaking changes; they are always listed under **Changed**.
|
|
7
7
|
|
|
8
|
+
## [0.1.3] — 2026-11-30
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Agents on the `openai` and `anthropic` providers run on your own key, never
|
|
13
|
+
Nixet's. Store it once per environment as the secret `openai-api-key` or
|
|
14
|
+
`anthropic-api-key` (`nixet.secrets.create`, or the console). A run,
|
|
15
|
+
conversation message or task on those providers without it is refused with a
|
|
16
|
+
`BadRequestError` that names the secret. Your provider bills you for those
|
|
17
|
+
tokens, and Nixet adds none of it to its own bill. The README explains it.
|
|
18
|
+
- Depends on `@nixet/contracts` 0.1.3.
|
|
19
|
+
|
|
20
|
+
## [0.1.2] — 2026-11-10
|
|
21
|
+
|
|
22
|
+
### Changed
|
|
23
|
+
|
|
24
|
+
- The public source moved to [github.com/nixetai/sdk](https://github.com/nixetai/sdk).
|
|
25
|
+
The `repository` and `bugs` links and the plugin install commands point
|
|
26
|
+
there. 0.1.1 linked to the previous location, which redirects.
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
|
|
30
|
+
- Install buttons for npm, Claude Code and Codex at the top of the README.
|
|
31
|
+
- The plugin section lists its new skills: per-user connections, guardrails,
|
|
32
|
+
variables and document conversion.
|
|
33
|
+
|
|
8
34
|
## [0.1.1] — 2026-11-10
|
|
9
35
|
|
|
10
36
|
### Added
|
|
@@ -13,7 +39,7 @@ contain breaking changes; they are always listed under **Changed**.
|
|
|
13
39
|
- `api.md`: every method, its HTTP request, parameters and return type.
|
|
14
40
|
- `CHANGELOG.md` and `SECURITY.md`.
|
|
15
41
|
- A section on installing the Nixet plugin for Claude Code and Codex.
|
|
16
|
-
- `repository` and `bugs` links to the public source
|
|
42
|
+
- `repository` and `bugs` links to the public source.
|
|
17
43
|
|
|
18
44
|
### Fixed
|
|
19
45
|
|
package/README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Nixet TypeScript SDK
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/@nixet/sdk)
|
|
4
|
+
[](#use-with-claude-code-and-codex)
|
|
5
|
+
[](#use-with-claude-code-and-codex)
|
|
6
|
+
[](./LICENSE)
|
|
5
7
|
|
|
6
8
|
The official TypeScript and JavaScript client for the [Nixet](https://nixet.ai) agent API.
|
|
7
9
|
|
|
@@ -185,6 +187,14 @@ model: { provider: "openai", model: "gpt-4o-mini" }
|
|
|
185
187
|
model: { provider: "anthropic", model: "claude-sonnet-4-20250514" }
|
|
186
188
|
```
|
|
187
189
|
|
|
190
|
+
These run on your own key, never Nixet's. Store it once per environment as the
|
|
191
|
+
secret `openai-api-key` or `anthropic-api-key`; a run on that provider without
|
|
192
|
+
it is refused with a `BadRequestError` that names the secret.
|
|
193
|
+
|
|
194
|
+
```ts
|
|
195
|
+
await nixet.secrets.create({ name: "openai-api-key", value: process.env.OPENAI_API_KEY! });
|
|
196
|
+
```
|
|
197
|
+
|
|
188
198
|
The types enforce the difference: `tier` exists only on `nix`, and `model` is
|
|
189
199
|
required on the others. Omitting `model` uses `nix` at the `balanced` tier.
|
|
190
200
|
|
|
@@ -835,19 +845,20 @@ const { Nixet } = require("@nixet/sdk"); // CommonJS
|
|
|
835
845
|
The Nixet plugin teaches your coding agent this SDK, so it looks calls up
|
|
836
846
|
rather than guessing them. It adds skills for building an agent, running one,
|
|
837
847
|
debugging a run, and working with conversations, memory, tasks, MCP tools,
|
|
838
|
-
|
|
848
|
+
per-user connections, guardrails, variables, document conversion, secrets,
|
|
849
|
+
skills and knowledge.
|
|
839
850
|
|
|
840
851
|
**Claude Code**
|
|
841
852
|
|
|
842
853
|
```bash
|
|
843
|
-
claude plugin marketplace add
|
|
854
|
+
claude plugin marketplace add nixetai/sdk
|
|
844
855
|
claude plugin install nixet@nixet
|
|
845
856
|
```
|
|
846
857
|
|
|
847
858
|
**Codex**
|
|
848
859
|
|
|
849
860
|
```bash
|
|
850
|
-
codex plugin marketplace add
|
|
861
|
+
codex plugin marketplace add nixetai/sdk
|
|
851
862
|
codex plugin install nixet@nixet
|
|
852
863
|
```
|
|
853
864
|
|
|
@@ -861,7 +872,7 @@ answers support questions."*
|
|
|
861
872
|
|
|
862
873
|
## Support
|
|
863
874
|
|
|
864
|
-
- Source and issues: [github.com/
|
|
875
|
+
- Source and issues: [github.com/nixetai/sdk](https://github.com/nixetai/sdk)
|
|
865
876
|
- Website: [nixet.ai](https://nixet.ai)
|
|
866
877
|
- Console: [console.nixet.ai](https://console.nixet.ai)
|
|
867
878
|
- Security issues: see [SECURITY.md](./SECURITY.md)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nixet/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Official TypeScript SDK for the Nixet agent API: agents, versions, runs, streaming, tasks, memory, knowledge, MCP tools and guardrails.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
"homepage": "https://nixet.ai",
|
|
47
47
|
"repository": {
|
|
48
48
|
"type": "git",
|
|
49
|
-
"url": "git+https://github.com/
|
|
49
|
+
"url": "git+https://github.com/nixetai/sdk.git",
|
|
50
50
|
"directory": "packages/sdk"
|
|
51
51
|
},
|
|
52
52
|
"bugs": {
|
|
53
|
-
"url": "https://github.com/
|
|
53
|
+
"url": "https://github.com/nixetai/sdk/issues"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@nixet/contracts": "^0.1.
|
|
56
|
+
"@nixet/contracts": "^0.1.3"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|