-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
127 lines (127 loc) · 3.16 KB
/
package.json
File metadata and controls
127 lines (127 loc) · 3.16 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "@qduc/term2",
"version": "0.3.1",
"description": "A terminal-based AI assistant that can help you get things done on your computer",
"license": "MIT",
"author": "qduc",
"keywords": [
"ai",
"assistant",
"cli",
"terminal",
"openai",
"agent",
"chat",
"gpt"
],
"repository": {
"type": "git",
"url": "https://github.com/qduc/term2.git"
},
"homepage": "https://github.com/qduc/term2",
"bugs": {
"url": "https://github.com/qduc/term2/issues"
},
"bin": {
"term2": "dist/cli.js"
},
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"start": "node dist/cli.js",
"build": "tsc && npm run post-build",
"dev": "tsc --watch",
"test": "DISABLE_LOGGING=1 ava --reporter=min | grep -v '✔'",
"test:verbose": "tsc && ava",
"lint": "prettier --check .",
"lint-fix": "prettier --write .",
"post-build": "cp -r source/prompts dist/",
"prepublishOnly": "npm run build && npm test",
"release": "./scripts/release.sh",
"logs": "node tools/log_viewer/src/server.js",
"eval:auto-approval": "tsc && RUN_LIVE_EVAL=1 node dist/scripts/eval-auto-approval/runner.js",
"prepare": "husky"
},
"files": [
"dist"
],
"dependencies": {
"@ai-sdk/openai-compatible": "^2.0.47",
"@mozilla/readability": "^0.6.0",
"@openai/agents": "^0.8.3",
"@openai/agents-extensions": "^0.11.1",
"@openrouter/ai-sdk-provider": "^2.9.0",
"@qduc/web-fetch": "^0.1.0",
"@types/ssh2": "^1.15.5",
"ai": "^6.0.177",
"bash-parser": "^0.5.0",
"env-paths": "^3.0.0",
"fast-glob": "^3.3.2",
"fuse.js": "^7.0.0",
"ignore": "^5.3.2",
"ink": "^7.0.1",
"ink-prompt": "^0.2.4",
"jsdom": "^27.4.0",
"marked": "^17.0.1",
"meow": "^11.0.0",
"openai": "^6.9.1",
"react": "^19.0.0",
"ssh2": "^1.17.0",
"turndown": "^7.2.2",
"winston": "^3.18.3",
"winston-daily-rotate-file": "^5.0.0",
"zod": "^4.1.13"
},
"devDependencies": {
"@ava/typescript": "^6.0.0",
"@babel/cli": "^7.21.0",
"@babel/preset-react": "^7.18.6",
"@types/env-paths": "^1.0.2",
"@types/jsdom": "^27.0.0",
"@types/marked": "^5.0.2",
"@types/mozilla-readability": "^0.2.1",
"@types/node": "^24.10.1",
"@types/react": "^19.0.0",
"@types/turndown": "^5.0.6",
"ava": "^6.4.1",
"chalk": "^5.2.0",
"eslint-config-xo-react": "^0.27.0",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^9.1.7",
"import-jsx": "^5.0.0",
"ink-testing-library": "^4.0.0",
"lint-staged": "^16.2.7",
"prettier": "^2.8.7",
"tsx": "^4.20.6",
"typescript": "^5.9.3"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,md,json}": "prettier --write"
},
"ava": {
"environmentVariables": {
"NODE_NO_WARNINGS": "1",
"DISABLE_LOGGING": "1"
},
"typescript": {
"rewritePaths": {
"source/": "dist/"
},
"compile": "tsc"
}
},
"xo": {
"extends": "xo-react",
"prettier": true,
"ignores": [
"**/*.test.js"
],
"rules": {
"react/prop-types": "off",
"unicorn/expiring-todo-comments": "off"
}
}
}