@tansr/sdk 0.1.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/package.json ADDED
@@ -0,0 +1,44 @@
1
+ {
2
+ "name": "@tansr/sdk",
3
+ "version": "0.1.0",
4
+ "description": "Tansr public TypeScript SDK: headless agent API (query / createSession / runAgent) + pure protocol type re-exports (public, MIT).",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "engines": {
8
+ "node": ">=22.19"
9
+ },
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ }
15
+ },
16
+ "files": [
17
+ "dist",
18
+ "README.md",
19
+ "LICENSE"
20
+ ],
21
+ "publishConfig": {
22
+ "access": "public"
23
+ },
24
+ "dependencies": {
25
+ "undici": "^8.10.0",
26
+ "zod": "^3.23.8",
27
+ "zod-to-json-schema": "^3.25.2"
28
+ },
29
+ "optionalDependencies": {
30
+ "@vscode/ripgrep": "^1.15.14"
31
+ },
32
+ "devDependencies": {
33
+ "esbuild": "^0.28.1",
34
+ "rollup": "^4.63.0",
35
+ "rollup-plugin-dts": "^6.5.1",
36
+ "typescript": "^5.9.3"
37
+ },
38
+ "scripts": {
39
+ "build": "node build.mjs",
40
+ "test": "node --import ../../scripts/inject-globals.mjs --import tsx --test --test-timeout=180000 \"test/**/*.test.ts\""
41
+ },
42
+ "main": "./dist/index.js",
43
+ "types": "./dist/index.d.ts"
44
+ }