feat: @uncaged/upulse CLI P0 — init/daemon/tick/list/inspect/dev/deploy

Commands:
- upulse init: scaffold ~/.upulse/ + git worktree staging
- upulse daemon start/stop/restart/status
- upulse tick [--dry-run] [--verbose]
- upulse list: show rule chain
- upulse inspect ticks/errors
- upulse dev path/build
- upulse deploy promote/rollback

Snapshot type: sectioned (system?, projections?, executors?)
Rules access via accessor + optional chaining
This commit is contained in:
2026-04-14 05:02:57 +00:00
parent ee439c09e5
commit 5e35bdaa0a
16 changed files with 1801 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
{
"name": "@uncaged/upulse",
"version": "0.1.0",
"description": "Pulse CLI — Agent 的自主神经系统管理工具",
"type": "module",
"bin": {
"upulse": "dist/cli.js"
},
"main": "dist/cli.js",
"files": [
"dist"
],
"scripts": {
"build": "tsc",
"dev": "tsx src/cli.ts"
},
"dependencies": {
"commander": "^12.0.0",
"better-sqlite3": "^9.0.0"
},
"devDependencies": {
"typescript": "^6.0.2",
"@types/node": "^25.6.0",
"@types/better-sqlite3": "^7.6.13"
},
"keywords": [
"pulse",
"cli",
"agent",
"daemon"
],
"author": "oc-xiaoju",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/oc-xiaoju/pulse",
"directory": "packages/upulse"
}
}