@tangle-network/agent-interface 0.10.1 → 0.11.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.
Files changed (3) hide show
  1. package/LICENSE +18 -8
  2. package/README.md +31 -0
  3. package/package.json +15 -2
package/LICENSE CHANGED
@@ -1,11 +1,21 @@
1
- Copyright (c) 2025 Tangle Network
1
+ MIT License
2
2
 
3
- All rights reserved.
3
+ Copyright (c) 2026 Tangle Network
4
4
 
5
- This software and associated documentation files (the "Software") are proprietary
6
- and confidential. No part of this Software may be reproduced, distributed, or
7
- transmitted in any form or by any means, including photocopying, recording, or
8
- other electronic or mechanical methods, without the prior written permission of
9
- Tangle Network.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
10
11
 
11
- For licensing inquiries, contact: hello@tangle.tools
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,31 @@
1
+ # @tangle-network/agent-interface
2
+
3
+ Shared TypeScript types and zod schemas that define the contract between Tangle
4
+ agents, the sidecar, and provider adapters: capabilities, agent profiles,
5
+ message parts, and harness descriptors. This is the canonical home for those
6
+ shapes; higher-level packages import from here rather than redefining them.
7
+
8
+ The only runtime dependency is `zod` (used for the schema exports).
9
+
10
+ ## Install
11
+
12
+ ```bash
13
+ pnpm add @tangle-network/agent-interface
14
+ ```
15
+
16
+ ## Usage
17
+
18
+ ```ts
19
+ import type { BackendCapabilities, ProviderCapabilities } from "@tangle-network/agent-interface";
20
+
21
+ const caps: ProviderCapabilities = {
22
+ supportsVision: true,
23
+ supportsLogprobs: false,
24
+ supportsToolCalls: true,
25
+ supportsComputerUse: false,
26
+ };
27
+ ```
28
+
29
+ ## License
30
+
31
+ MIT
package/package.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-interface",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "type": "module",
5
+ "license": "MIT",
5
6
  "main": "./dist/index.js",
6
7
  "types": "./dist/index.d.ts",
7
8
  "exports": {
@@ -11,8 +12,19 @@
11
12
  "default": "./dist/index.js"
12
13
  }
13
14
  },
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "git+https://github.com/tangle-network/agent-sdk.git",
18
+ "directory": "packages/agent-interface"
19
+ },
20
+ "publishConfig": {
21
+ "access": "public",
22
+ "registry": "https://registry.npmjs.org"
23
+ },
14
24
  "files": [
15
- "dist"
25
+ "dist",
26
+ "README.md",
27
+ "LICENSE"
16
28
  ],
17
29
  "dependencies": {
18
30
  "zod": "4.4.3"
@@ -23,6 +35,7 @@
23
35
  },
24
36
  "scripts": {
25
37
  "build": "tsc -p tsconfig.json",
38
+ "check-types": "tsc --noEmit",
26
39
  "clean": "rm -rf dist"
27
40
  }
28
41
  }