@responsibleai/agent-hooks 0.1.0-alpha.2 → 0.1.0-alpha.4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@responsibleai/agent-hooks",
3
- "version": "0.1.0-alpha.2",
3
+ "version": "0.1.0-alpha.4",
4
4
  "description": "Framework-neutral agent control contract (AGENT-HOOKS-0.1). TypeScript wrapper over the canonical Rust core. Cooperative contract, not a security boundary: the host is fully trusted (see SECURITY.md).",
5
5
  "license": "MIT",
6
6
  "main": "./dist/index.js",
@@ -9,17 +9,24 @@
9
9
  ".": "./dist/index.js",
10
10
  "./ctk": "./dist/ctk/index.js"
11
11
  },
12
- "files": ["dist", "binding.js", "binding.d.ts", "*.node"],
12
+ "files": [
13
+ "dist",
14
+ "binding.js",
15
+ "binding.d.ts"
16
+ ],
13
17
  "repository": {
14
18
  "type": "git",
15
- "url": "https://github.com/responsibleai/agent-hooks.git",
19
+ "url": "git+https://github.com/responsibleai/agent-hooks.git",
16
20
  "directory": "sdk/typescript"
17
21
  },
18
22
  "napi": {
19
- "name": "agent-hooks",
20
- "triples": {
21
- "defaults": true
22
- }
23
+ "binaryName": "agent-hooks",
24
+ "targets": [
25
+ "x86_64-unknown-linux-gnu",
26
+ "x86_64-apple-darwin",
27
+ "aarch64-apple-darwin",
28
+ "x86_64-pc-windows-msvc"
29
+ ]
23
30
  },
24
31
  "scripts": {
25
32
  "build:native": "napi build --release --platform --js binding.js --dts binding.d.ts",
@@ -28,9 +35,17 @@
28
35
  "test": "npm run build && node --test test/*.mjs"
29
36
  },
30
37
  "devDependencies": {
31
- "@napi-rs/cli": "^2.18.0",
32
- "@types/node": "^22.0.0",
33
- "typescript": "^5.5.0"
38
+ "@napi-rs/cli": "^3.7.2",
39
+ "@types/node": "^26.1.1",
40
+ "typescript": "^7.0.2"
34
41
  },
35
- "engines": { "node": ">=20" }
42
+ "engines": {
43
+ "node": ">=20"
44
+ },
45
+ "optionalDependencies": {
46
+ "@responsibleai/agent-hooks-linux-x64-gnu": "0.1.0-alpha.4",
47
+ "@responsibleai/agent-hooks-darwin-x64": "0.1.0-alpha.4",
48
+ "@responsibleai/agent-hooks-darwin-arm64": "0.1.0-alpha.4",
49
+ "@responsibleai/agent-hooks-win32-x64-msvc": "0.1.0-alpha.4"
50
+ }
36
51
  }
Binary file