@tangle-network/tcloud 0.4.10 → 0.4.11

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.
Files changed (3) hide show
  1. package/README.md +6 -0
  2. package/dist/cli.cjs +0 -0
  3. package/package.json +11 -12
package/README.md CHANGED
@@ -465,6 +465,12 @@ See the [`examples/`](./examples/) directory — each is a self-contained script
465
465
  | 08 | [OpenAI SDK](./examples/08-openai-compat.ts) | Drop-in replacement via baseURL |
466
466
  | 09 | [Vercel AI SDK](./examples/09-vercel-ai-sdk.ts) | generateText + streamText with Tangle |
467
467
  | 10 | [Spending Limits](./examples/10-spending-limits.ts) | Budget caps, request limits, warning callbacks |
468
+ | 11 | [Inference Strategies](./examples/11-inference-strategies.ts) | Min-exposure + operator rotation patterns |
469
+ | 12 | [Bridge Sessions](./examples/12-bridge-sessions.ts) | Persistent bridge sessions for harness routing |
470
+ | 13 | [Bridge Chat App](./examples/13-bridge-chat-app.ts) | Multi-turn bridge application |
471
+ | 14 | [Direct cli-bridge](./examples/14-direct-cli-bridge.ts) | Local cli-bridge, no router |
472
+ | 15 | [Sandbox Agents](./examples/15-sandbox-agents.ts) | Sandbox agents + inline AgentProfile |
473
+ | 16 | [Tangle Intelligence Hook](./examples/16-tangle-intelligence-hook.ts) | Trace inference into hosted intelligence (one OTLP block) |
468
474
 
469
475
  Run any example:
470
476
  ```bash
package/dist/cli.cjs CHANGED
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/tcloud",
3
- "version": "0.4.10",
3
+ "version": "0.4.11",
4
4
  "description": "TypeScript SDK and CLI for Tangle AI Cloud — decentralized LLM inference",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -68,21 +68,13 @@
68
68
  }
69
69
  }
70
70
  },
71
- "scripts": {
72
- "build": "tsup src/index.ts src/cli.ts src/shielded.ts src/instance.ts src/attestation.ts src/sandbox.ts --format esm,cjs --dts --clean --external socks-proxy-agent",
73
- "docs": "typedoc src/index.ts --out docs --name tcloud --readme README.md",
74
- "test": "vitest run",
75
- "test:e2e": "vitest run --config vitest.e2e.config.ts",
76
- "dev": "tsx src/cli.ts",
77
- "prepublishOnly": "npm run build"
78
- },
79
71
  "dependencies": {
80
72
  "@scure/bip32": "^2.2.0",
81
73
  "@scure/bip39": "^2.2.0",
82
74
  "@tangle-network/sandbox": "^0.3.0",
83
- "@tangle-network/tcloud-attestation": "workspace:^",
84
75
  "commander": "^14.0.3",
85
- "viem": "^2.48.4"
76
+ "viem": "^2.48.4",
77
+ "@tangle-network/tcloud-attestation": "^0.1.1"
86
78
  },
87
79
  "devDependencies": {
88
80
  "@types/node": "^22.0.0",
@@ -118,5 +110,12 @@
118
110
  ],
119
111
  "engines": {
120
112
  "node": ">=18"
113
+ },
114
+ "scripts": {
115
+ "build": "tsup src/index.ts src/cli.ts src/shielded.ts src/instance.ts src/attestation.ts src/sandbox.ts --format esm,cjs --dts --clean --external socks-proxy-agent",
116
+ "docs": "typedoc src/index.ts --out docs --name tcloud --readme README.md",
117
+ "test": "vitest run",
118
+ "test:e2e": "vitest run --config vitest.e2e.config.ts",
119
+ "dev": "tsx src/cli.ts"
121
120
  }
122
- }
121
+ }