agent-afk 0.2.4 → 1.0.1
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/dist/cli.mjs +171 -158
- package/dist/index.mjs +79 -78
- package/dist/postinstall.mjs +87 -0
- package/dist/telegram.mjs +85 -84
- package/package.json +27 -25
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-afk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "CLI tool for interacting with AI agents via multiple interfaces",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"type": "module",
|
|
@@ -10,6 +10,31 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist/"
|
|
12
12
|
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"postinstall": "node dist/postinstall.mjs || true",
|
|
15
|
+
"build": "tsc && node scripts/copy-prompts.js",
|
|
16
|
+
"dev": "tsx watch src/cli/index.ts",
|
|
17
|
+
"start": "node dist/cli/index.js",
|
|
18
|
+
"start:chat": "node dist/cli/index.js chat",
|
|
19
|
+
"start:interactive": "node dist/cli/index.js interactive",
|
|
20
|
+
"start:status": "node dist/cli/index.js status",
|
|
21
|
+
"telegram": "node dist/telegram.js",
|
|
22
|
+
"telegram:start": "./scripts/telegram-manager.sh start",
|
|
23
|
+
"telegram:stop": "./scripts/telegram-manager.sh stop",
|
|
24
|
+
"telegram:status": "./scripts/telegram-manager.sh status",
|
|
25
|
+
"telegram:restart": "./scripts/telegram-manager.sh restart",
|
|
26
|
+
"test": "vitest run",
|
|
27
|
+
"test:integration": "vitest run tests/integration",
|
|
28
|
+
"test:e2e": "vitest run tests/e2e",
|
|
29
|
+
"test:coverage": "vitest run --coverage",
|
|
30
|
+
"test:watch": "vitest watch",
|
|
31
|
+
"lint": "tsc --noEmit",
|
|
32
|
+
"clean": "rm -rf dist",
|
|
33
|
+
"build:dist": "node scripts/build-dist.mjs",
|
|
34
|
+
"prepublishOnly": "npm run clean && npm run build:dist",
|
|
35
|
+
"release": "node scripts/release.mjs",
|
|
36
|
+
"release:dry": "node scripts/release.mjs --dry-run"
|
|
37
|
+
},
|
|
13
38
|
"keywords": [
|
|
14
39
|
"cli",
|
|
15
40
|
"ai",
|
|
@@ -51,28 +76,5 @@
|
|
|
51
76
|
"tsx": "^4.19.2",
|
|
52
77
|
"typescript": "^5.7.3",
|
|
53
78
|
"vitest": "^2.1.8"
|
|
54
|
-
},
|
|
55
|
-
"scripts": {
|
|
56
|
-
"build": "tsc && node scripts/copy-prompts.js",
|
|
57
|
-
"dev": "tsx watch src/cli/index.ts",
|
|
58
|
-
"start": "node dist/cli/index.js",
|
|
59
|
-
"start:chat": "node dist/cli/index.js chat",
|
|
60
|
-
"start:interactive": "node dist/cli/index.js interactive",
|
|
61
|
-
"start:status": "node dist/cli/index.js status",
|
|
62
|
-
"telegram": "node dist/telegram.js",
|
|
63
|
-
"telegram:start": "./scripts/telegram-manager.sh start",
|
|
64
|
-
"telegram:stop": "./scripts/telegram-manager.sh stop",
|
|
65
|
-
"telegram:status": "./scripts/telegram-manager.sh status",
|
|
66
|
-
"telegram:restart": "./scripts/telegram-manager.sh restart",
|
|
67
|
-
"test": "vitest run",
|
|
68
|
-
"test:integration": "vitest run tests/integration",
|
|
69
|
-
"test:e2e": "vitest run tests/e2e",
|
|
70
|
-
"test:coverage": "vitest run --coverage",
|
|
71
|
-
"test:watch": "vitest watch",
|
|
72
|
-
"lint": "tsc --noEmit",
|
|
73
|
-
"clean": "rm -rf dist",
|
|
74
|
-
"build:dist": "node scripts/build-dist.mjs",
|
|
75
|
-
"release": "node scripts/release.mjs",
|
|
76
|
-
"release:dry": "node scripts/release.mjs --dry-run"
|
|
77
79
|
}
|
|
78
|
-
}
|
|
80
|
+
}
|