@factory/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.
Files changed (3) hide show
  1. package/README.md +172 -0
  2. package/bundle/factory.js +762 -0
  3. package/package.json +93 -0
package/package.json ADDED
@@ -0,0 +1,93 @@
1
+ {
2
+ "name": "@factory/cli",
3
+ "version": "0.1.0",
4
+ "private": false,
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "bin": {
8
+ "factory": "bundle/factory.js"
9
+ },
10
+ "engines": {
11
+ "node": ">=20"
12
+ },
13
+ "files": [
14
+ "bundle/",
15
+ "README.md",
16
+ "LICENSE"
17
+ ],
18
+ "scripts": {
19
+ "start": "node scripts/start.js",
20
+ "debug": "DEBUG=1 node scripts/start.js",
21
+ "build": "node scripts/build.js",
22
+ "bundle": "npm run build && node esbuild.config.js",
23
+ "clean": "rm -rf dist bundle",
24
+ "prepare": "npm run bundle",
25
+ "typecheck": "tsc --noEmit",
26
+ "test": "NODE_OPTIONS='--experimental-vm-modules' jest --coverage",
27
+ "lint": "eslint ./src --ext .ts,.tsx",
28
+ "fix": "npm run lint -- --fix; npm run format",
29
+ "format": "prettier --list-different --write ./src"
30
+ },
31
+ "dependencies": {
32
+ "@anthropic-ai/sdk": "^0.57.0",
33
+ "@factory/droid-core": "^0.1.0",
34
+ "@factory/errors": "^0.1.0",
35
+ "@factory/logging": "^0.1.0",
36
+ "@factory/models": "^0.1.0",
37
+ "@factory/services": "^0.1.0",
38
+ "@factory/utils": "^0.1.0",
39
+ "@modelcontextprotocol/sdk": "^1.1.0",
40
+ "@types/express": "^5.0.3",
41
+ "@types/lodash": "^4.17.20",
42
+ "@types/marked": "^5.0.2",
43
+ "@types/mime": "^1.3.5",
44
+ "@types/uuid": "^10.0.0",
45
+ "chalk": "^5.3.0",
46
+ "commander": "^11.0.0",
47
+ "express": "^5.1.0",
48
+ "glob": "^10.4.5",
49
+ "highlight.js": "^11.11.1",
50
+ "ink": "^6.1.0",
51
+ "inquirer": "^12.8.2",
52
+ "jose": "^5.9.4",
53
+ "lodash-es": "^4.17.21",
54
+ "marked": "^16.1.1",
55
+ "node-fetch": "^3.3.2",
56
+ "open": "^10.2.0",
57
+ "ora": "^8.1.1",
58
+ "react": "^19.1.0",
59
+ "table": "^6.8.2",
60
+ "terminal-link": "^3.0.0",
61
+ "uuid": "^9.0.0",
62
+ "zod": "^3.23.8",
63
+ "zod-to-json-schema": "^3.24.1"
64
+ },
65
+ "devDependencies": {
66
+ "@factory/eslint-config": "^0.1.0",
67
+ "@jest/globals": "^29.7.0",
68
+ "@testing-library/react": "^16.1.0",
69
+ "@types/inquirer": "^9.0.8",
70
+ "@types/jest": "^29.5.14",
71
+ "@types/jsdom": "^21.1.7",
72
+ "@types/lodash-es": "^4.17.12",
73
+ "@types/node": "^20",
74
+ "@types/node-fetch": "^2.6.11",
75
+ "@types/react": "^19.0.0",
76
+ "@types/react-dom": "^19.1.6",
77
+ "esbuild": "^0.25.0",
78
+ "eslint-plugin-no-barrel-files": "^1.2.2",
79
+ "ink-testing-library": "^4.0.0",
80
+ "jest": "^29.7.0",
81
+ "jsdom": "^26.1.0",
82
+ "react-devtools-core": "^4.28.5",
83
+ "react-dom": "^19.1.0",
84
+ "ts-jest": "^29.2.6",
85
+ "ts-node": "^10.9.2",
86
+ "tsx": "^4.20.3",
87
+ "typescript": "^5.3.3"
88
+ },
89
+ "overrides": {
90
+ "react": "^19.1.0",
91
+ "react-dom": "^19.1.0"
92
+ }
93
+ }