@4pm/cli 0.2.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.
- package/README.md +13 -0
- package/dist/index.js +5137 -0
- package/package.json +13 -0
package/README.md
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# @4pm/cli
|
|
2
|
+
|
|
3
|
+
CLI chạy trên máy worker: nhận lệnh từ server và điều phối các CLI AI
|
|
4
|
+
(claude / codex …). Node ESM + TypeScript.
|
|
5
|
+
|
|
6
|
+
Logic điều phối ở `src/core/`, subcommand ở `src/commands/`, giao tiếp server qua
|
|
7
|
+
`src/services/` (dùng `@4pm/sdk`). Phần dùng chung tách vào `src/common/` (errors,
|
|
8
|
+
logger, io); hàm thuần để ở `src/utils/`.
|
|
9
|
+
|
|
10
|
+
> Cây thư mục: xem `README.md` (gốc) § Cấu trúc thư mục.
|
|
11
|
+
|
|
12
|
+
Còn thiếu (thêm khi bắt đầu phát triển): `tsconfig.json`, cấu hình ESLint,
|
|
13
|
+
dependencies (vd `tsx`, thư viện parse CLI).
|