@keelcodes/cli 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,9 @@
1
+ /**
2
+ * The CLI's own name and version, read from its `package.json` so the reported
3
+ * version cannot drift from the published one.
4
+ */
5
+ export declare function cliPackage(): {
6
+ name: string;
7
+ version: string;
8
+ };
9
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AASA;;;GAGG;AACH,wBAAgB,UAAU,IAAI;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,CAG9D"}
@@ -0,0 +1,11 @@
1
+ import { createRequire } from 'node:module';
2
+ const require = createRequire(import.meta.url);
3
+ /**
4
+ * The CLI's own name and version, read from its `package.json` so the reported
5
+ * version cannot drift from the published one.
6
+ */
7
+ export function cliPackage() {
8
+ const pkg = require('../package.json');
9
+ return { name: pkg.name ?? '@keelcodes/cli', version: pkg.version ?? '0.0.0' };
10
+ }
11
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE5C,MAAM,OAAO,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAO/C;;;GAGG;AACH,MAAM,UAAU,UAAU;IACxB,MAAM,GAAG,GAAG,OAAO,CAAC,iBAAiB,CAAgB,CAAC;IACtD,OAAO,EAAE,IAAI,EAAE,GAAG,CAAC,IAAI,IAAI,gBAAgB,EAAE,OAAO,EAAE,GAAG,CAAC,OAAO,IAAI,OAAO,EAAE,CAAC;AACjF,CAAC"}
package/package.json ADDED
@@ -0,0 +1,61 @@
1
+ {
2
+ "name": "@keelcodes/cli",
3
+ "version": "0.1.0",
4
+ "description": "Keel command line: validate a policy and dry-run a call, route a session to its module generation, and run conformance suites against a live chain.",
5
+ "license": "Apache-2.0",
6
+ "homepage": "https://keel.codes",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/keelcodes/keel.git",
10
+ "directory": "cli"
11
+ },
12
+ "type": "module",
13
+ "main": "./dist/index.js",
14
+ "types": "./dist/index.d.ts",
15
+ "exports": {
16
+ ".": {
17
+ "types": "./dist/index.d.ts",
18
+ "import": "./dist/index.js"
19
+ }
20
+ },
21
+ "bin": {
22
+ "keel": "./dist/bin.js",
23
+ "kc": "./dist/bin.js"
24
+ },
25
+ "files": [
26
+ "dist",
27
+ "README.md"
28
+ ],
29
+ "sideEffects": false,
30
+ "dependencies": {
31
+ "viem": "^2.21.0",
32
+ "@keelcodes/conformance": "0.1.0",
33
+ "@keelcodes/migrate": "0.1.0",
34
+ "@keelcodes/policy": "0.1.0"
35
+ },
36
+ "devDependencies": {
37
+ "@types/node": "^20.16.11",
38
+ "vitest": "^2.1.4"
39
+ },
40
+ "publishConfig": {
41
+ "access": "public"
42
+ },
43
+ "engines": {
44
+ "node": ">=20"
45
+ },
46
+ "keywords": [
47
+ "cli",
48
+ "keel",
49
+ "erc-7579",
50
+ "conformance",
51
+ "policy",
52
+ "account-abstraction",
53
+ "agent"
54
+ ],
55
+ "scripts": {
56
+ "build": "tsc -p tsconfig.json",
57
+ "typecheck": "tsc -p tsconfig.json --noEmit",
58
+ "test": "vitest run",
59
+ "clean": "rm -rf dist"
60
+ }
61
+ }