@absolutejs/policy 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.
@@ -0,0 +1,16 @@
1
+ {
2
+ "contract": 2,
3
+ "identity": {
4
+ "accent": "#14b8a6",
5
+ "category": "security",
6
+ "description": "Immutable versioned policy lifecycle with atomic activation, dry-run simulation, provider adapters, AuthZEN evaluation, and PostgreSQL state.",
7
+ "docsUrl": "https://github.com/absolutejs/policy",
8
+ "name": "@absolutejs/policy",
9
+ "tagline": "Change agent policy safely, with evidence."
10
+ },
11
+ "settings": {
12
+ "type": "object",
13
+ "properties": {}
14
+ },
15
+ "wiring": []
16
+ }
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@absolutejs/policy",
3
+ "version": "0.1.0",
4
+ "description": "Versioned provider-neutral policy lifecycle, simulation, and AuthZEN adapter for AI agent actions.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/absolutejs/policy.git"
10
+ },
11
+ "publishConfig": {
12
+ "access": "public"
13
+ },
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "absolutejs": {
17
+ "manifestContract": 2
18
+ },
19
+ "exports": {
20
+ ".": {
21
+ "types": "./dist/index.d.ts",
22
+ "import": "./dist/index.js"
23
+ },
24
+ "./manifest": {
25
+ "types": "./dist/manifest.d.ts",
26
+ "import": "./dist/manifest.js"
27
+ },
28
+ "./manifest.json": "./dist/manifest.json"
29
+ },
30
+ "files": [
31
+ "dist",
32
+ "README.md",
33
+ "LICENSE"
34
+ ],
35
+ "scripts": {
36
+ "format": "prettier --write \"./**/*.{ts,json,md}\"",
37
+ "typecheck": "tsc --noEmit",
38
+ "test": "bun test",
39
+ "build": "rm -rf dist && bun build src/index.ts src/manifest.ts --outdir dist --target=bun --external @sinclair/typebox && tsc -p tsconfig.build.json && absolute-manifest emit",
40
+ "check:package": "bun run format && bun run typecheck && bun run test && bun run build"
41
+ },
42
+ "dependencies": {
43
+ "@absolutejs/manifest": "^0.2.0",
44
+ "@sinclair/typebox": "^0.34.0"
45
+ },
46
+ "devDependencies": {
47
+ "@types/bun": "^1.3.14",
48
+ "prettier": "3.5.3",
49
+ "typescript": "5.8.3"
50
+ }
51
+ }