@factory/cli 0.1.0 → 0.1.2-dev.5
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/README.md +134 -28
- package/bundle/droid.js +1545 -0
- package/bundle/index.js.map +2571 -0
- package/package.json +32 -22
- package/bundle/factory.js +0 -762
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@factory/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2-dev.5",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|
|
8
|
-
"
|
|
8
|
+
"droid": "bundle/droid.js"
|
|
9
9
|
},
|
|
10
10
|
"engines": {
|
|
11
|
-
"
|
|
11
|
+
"bun": ">=1.0.0"
|
|
12
12
|
},
|
|
13
13
|
"files": [
|
|
14
14
|
"bundle/",
|
|
@@ -16,34 +16,48 @@
|
|
|
16
16
|
"LICENSE"
|
|
17
17
|
],
|
|
18
18
|
"scripts": {
|
|
19
|
-
"start": "
|
|
20
|
-
"debug": "DEBUG=1
|
|
21
|
-
"build": "
|
|
22
|
-
"
|
|
19
|
+
"start": "bun scripts/start.js",
|
|
20
|
+
"debug": "DEBUG=1 bun scripts/start.js",
|
|
21
|
+
"build": "bun run clean && bun scripts/build.js",
|
|
22
|
+
"build:sea:linux": "bun build src/index.ts --compile --target=bun-linux-x64 --outfile=dist/linux/x64/droid",
|
|
23
|
+
"build:sea:mac:x64": "bun build src/index.ts --compile --target=bun-darwin-x64 --outfile=dist/darwin/x64/droid",
|
|
24
|
+
"build:sea:mac:arm64": "bun build src/index.ts --compile --target=bun-darwin-arm64 --outfile=dist/darwin/arm64/droid",
|
|
25
|
+
"build:sea:windows:x64": "bun build src/index.ts --compile --target=bun-windows-x64 --outfile=dist/windows/x64/droid.exe",
|
|
26
|
+
"build:sea:windows:arm64": "bun build src/index.ts --compile --target=bun-windows-arm64 --outfile=dist/windows/arm64/droid.exe",
|
|
27
|
+
"bundle": "bun bun.build.ts",
|
|
28
|
+
"package": "bun run build && bun run bundle",
|
|
23
29
|
"clean": "rm -rf dist bundle",
|
|
24
|
-
"prepare": "
|
|
30
|
+
"prepare": "bun run bundle",
|
|
25
31
|
"typecheck": "tsc --noEmit",
|
|
26
|
-
"test": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
|
|
27
|
-
"
|
|
28
|
-
"
|
|
32
|
+
"test": "NODE_OPTIONS='--experimental-vm-modules' bun run jest --coverage",
|
|
33
|
+
"test:watch": "NODE_OPTIONS='--experimental-vm-modules' bun run jest --watch",
|
|
34
|
+
"lint": "eslint \"./src/**/*.{ts,tsx}\"",
|
|
35
|
+
"fix": "bun run lint -- --fix; bun run format",
|
|
29
36
|
"format": "prettier --list-different --write ./src"
|
|
30
37
|
},
|
|
31
38
|
"dependencies": {
|
|
32
39
|
"@anthropic-ai/sdk": "^0.57.0",
|
|
40
|
+
"@factory/common": "^0.1.0",
|
|
33
41
|
"@factory/droid-core": "^0.1.0",
|
|
34
42
|
"@factory/errors": "^0.1.0",
|
|
35
43
|
"@factory/logging": "^0.1.0",
|
|
44
|
+
"@factory/mcp": "^0.1.0",
|
|
36
45
|
"@factory/models": "^0.1.0",
|
|
37
46
|
"@factory/services": "^0.1.0",
|
|
38
47
|
"@factory/utils": "^0.1.0",
|
|
39
48
|
"@modelcontextprotocol/sdk": "^1.1.0",
|
|
49
|
+
"@statsig/react-bindings": "^3.8.2",
|
|
50
|
+
"@statsig/statsig-node-core": "^0.6.1",
|
|
40
51
|
"@types/express": "^5.0.3",
|
|
41
52
|
"@types/lodash": "^4.17.20",
|
|
42
53
|
"@types/marked": "^5.0.2",
|
|
43
|
-
"@types/
|
|
54
|
+
"@types/react": "19.0.2",
|
|
44
55
|
"@types/uuid": "^10.0.0",
|
|
56
|
+
"@vscode/ripgrep": "^1.15.14",
|
|
57
|
+
"ansi-escapes": "^7.0.0",
|
|
45
58
|
"chalk": "^5.3.0",
|
|
46
59
|
"commander": "^11.0.0",
|
|
60
|
+
"diff": "^8.0.2",
|
|
47
61
|
"express": "^5.1.0",
|
|
48
62
|
"glob": "^10.4.5",
|
|
49
63
|
"highlight.js": "^11.11.1",
|
|
@@ -52,10 +66,12 @@
|
|
|
52
66
|
"jose": "^5.9.4",
|
|
53
67
|
"lodash-es": "^4.17.21",
|
|
54
68
|
"marked": "^16.1.1",
|
|
69
|
+
"mime": "^4.0.7",
|
|
55
70
|
"node-fetch": "^3.3.2",
|
|
56
71
|
"open": "^10.2.0",
|
|
57
72
|
"ora": "^8.1.1",
|
|
58
|
-
"
|
|
73
|
+
"prop-types": "^15.8.1",
|
|
74
|
+
"shell-quote": "^1.8.3",
|
|
59
75
|
"table": "^6.8.2",
|
|
60
76
|
"terminal-link": "^3.0.0",
|
|
61
77
|
"uuid": "^9.0.0",
|
|
@@ -65,29 +81,23 @@
|
|
|
65
81
|
"devDependencies": {
|
|
66
82
|
"@factory/eslint-config": "^0.1.0",
|
|
67
83
|
"@jest/globals": "^29.7.0",
|
|
68
|
-
"@
|
|
84
|
+
"@types/diff": "^7.0.2",
|
|
69
85
|
"@types/inquirer": "^9.0.8",
|
|
70
86
|
"@types/jest": "^29.5.14",
|
|
71
87
|
"@types/jsdom": "^21.1.7",
|
|
72
88
|
"@types/lodash-es": "^4.17.12",
|
|
73
89
|
"@types/node": "^20",
|
|
74
90
|
"@types/node-fetch": "^2.6.11",
|
|
75
|
-
"@types/
|
|
76
|
-
"@types/
|
|
91
|
+
"@types/prop-types": "^15.7.15",
|
|
92
|
+
"@types/shell-quote": "^1.7.5",
|
|
77
93
|
"esbuild": "^0.25.0",
|
|
78
94
|
"eslint-plugin-no-barrel-files": "^1.2.2",
|
|
79
95
|
"ink-testing-library": "^4.0.0",
|
|
80
96
|
"jest": "^29.7.0",
|
|
81
97
|
"jsdom": "^26.1.0",
|
|
82
|
-
"react-devtools-core": "^4.28.5",
|
|
83
|
-
"react-dom": "^19.1.0",
|
|
84
98
|
"ts-jest": "^29.2.6",
|
|
85
99
|
"ts-node": "^10.9.2",
|
|
86
100
|
"tsx": "^4.20.3",
|
|
87
101
|
"typescript": "^5.3.3"
|
|
88
|
-
},
|
|
89
|
-
"overrides": {
|
|
90
|
-
"react": "^19.1.0",
|
|
91
|
-
"react-dom": "^19.1.0"
|
|
92
102
|
}
|
|
93
103
|
}
|