Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) · 2 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) · 2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "agenthint",
"version": "0.5.0",
"description": "Detect AI agent runtimes and adapt CLI output.",
"type": "module",
"homepage": "https://github.com/forjd/agenthint#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/forjd/agenthint.git"
},
"bugs": {
"url": "https://github.com/forjd/agenthint/issues"
},
"engines": {
"node": ">=22.14.0"
},
"bin": {
"agenthint": "./dist/cli.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"docs",
"README.md",
"SPEC.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"generate": "node scripts/generate.mjs",
"check:generated": "node scripts/check-generated.mjs",
"format": "biome format --write .",
"format:check": "biome format .",
"lint": "biome lint .",
"rust:format": "cargo fmt --all",
"rust:format:check": "cargo fmt --all --check",
"rust:lint": "cargo clippy --workspace --all-targets -- -D warnings",
"rust:test": "cargo test --workspace",
"python:build": "node -e \"require('node:fs').rmSync('dist-python',{recursive:true,force:true})\" && python -m build --outdir dist-python",
"python:test": "node -e \"process.env.PYTHONPATH='python';const{spawnSync}=require('node:child_process');const r=spawnSync('python',['-m','unittest','discover','-s','test','-p','python_test.py'],{stdio:'inherit'});process.exit(r.status??1)\"",
"test": "npm run build && node --test test/*.test.mjs",
"check": "npm run format:check && npm run lint && npm run rust:format:check && npm run check:generated && npm run test && npm run rust:lint && npm run rust:test && npm run python:test",
"prepare": "husky",
"prepack": "npm run build"
},
"keywords": [
"ai",
"agent",
"cli",
"detection",
"runtime"
],
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "^2.4.14",
"@types/node": "^25.0.0",
"husky": "^9.1.7",
"typescript": "^5.9.3"
}
}