@atbash/sdk 0.1.2 → 0.1.5
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/README.md +1 -19
- package/package.json +1 -2
package/README.md
CHANGED
|
@@ -269,28 +269,10 @@ try {
|
|
|
269
269
|
}
|
|
270
270
|
```
|
|
271
271
|
|
|
272
|
-
## SDK vs CLI
|
|
273
|
-
|
|
274
|
-
| | `@atbash/sdk` | `@atbash/cli` |
|
|
275
|
-
|---|---|---|
|
|
276
|
-
| Use case | Backend services, agents, pipelines | Terminal, operator review, interactive use |
|
|
277
|
-
| Programmatic control | Full | Shell commands |
|
|
278
|
-
| Install | `npm install @atbash/sdk` | `npm install -g @atbash/cli` |
|
|
279
|
-
| Policy authoring | No (dashboard only) | No (dashboard only) |
|
|
280
|
-
|
|
281
|
-
The CLI is built on top of the SDK. Both talk to the same APIs, the same policy engine, and the same on-chain audit trail.
|
|
282
|
-
|
|
283
|
-
## Design
|
|
284
|
-
|
|
285
|
-
- **Zero runtime dependencies** — uses only `node:crypto` and global `fetch`
|
|
286
|
-
- **TypeScript-first** — full type definitions for all inputs and outputs
|
|
287
|
-
- **No global state** — every function takes explicit arguments
|
|
288
|
-
- **No browser support** — private keys in request bodies are not safe for client-side use
|
|
289
|
-
|
|
290
272
|
## Dashboard
|
|
291
273
|
|
|
292
274
|
Policy authoring, operator reviews, and agent management happen at [atbash.ai](https://atbash.ai/). The SDK is the programmatic interface; the dashboard is the operator interface.
|
|
293
275
|
|
|
294
276
|
## License
|
|
295
277
|
|
|
296
|
-
Proprietary — all rights reserved. See [LICENSE](
|
|
278
|
+
Proprietary — all rights reserved. See [LICENSE](https://atbash.ai/license).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atbash/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "TypeScript SDK for the Atbash risk-engine / judge API",
|
|
5
5
|
"homepage": "https://atbash.ai",
|
|
6
6
|
"author": "Atbash",
|
|
@@ -26,7 +26,6 @@
|
|
|
26
26
|
},
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "tsup src/index.ts --format esm,cjs --dts --clean",
|
|
29
|
-
"prepublishOnly": "npm run build",
|
|
30
29
|
"release": "npm version patch --no-git-tag-version && npm run build && npx npm@10 publish --access public"
|
|
31
30
|
},
|
|
32
31
|
"devDependencies": {
|