larkway 0.3.7 → 0.3.8
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 +1 -5
- package/README.zh.md +1 -5
- package/dist/cli/index.js +6008 -7265
- package/dist/main.js +35 -42
- package/dist/web/public/app.js +74 -1571
- package/dist/web/public/index.html +5 -37
- package/dist/web/public/style.css +29 -504
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -113,7 +113,7 @@ Larkway never injects `ANTHROPIC_API_KEY` or any other API key. The subprocess i
|
|
|
113
113
|
| **L2 identity memory** | "Who I am, what I must not do, where to find the workflow" (thin) | `~/.larkway/bots/<id>.memory.md` |
|
|
114
114
|
| **L3 workflow** | State machine, gates, commands — the actual job | **Your business repo**: `AGENTS.md`, `CLAUDE.md`, `.agents/skills/`, `.claude/skills/` |
|
|
115
115
|
|
|
116
|
-
Secrets live only in `~/.larkway/.env` (mode 0600). Config and memory contain no secrets
|
|
116
|
+
Secrets live only in `~/.larkway/.env` (mode 0600). Config and memory contain no secrets.
|
|
117
117
|
|
|
118
118
|
---
|
|
119
119
|
|
|
@@ -121,7 +121,6 @@ Secrets live only in `~/.larkway/.env` (mode 0600). Config and memory contain no
|
|
|
121
121
|
|
|
122
122
|
- **Multiple bots on one bridge** — a read-only Q&A bot and a write-capable engineering bot can share the same process, each with its own L1/L2/L3 definition
|
|
123
123
|
- **Web UI** — `larkway ui` opens a local management dashboard (127.0.0.1 + token); create bots, edit memory, watch live logs
|
|
124
|
-
- **Central config library** — `larkway promote <id>` pushes bot config (no secrets) to a shared git repository so teammates can `larkway sync` and discover bots; the library stores config, not deployment state
|
|
125
124
|
- **Session continuity** — every Feishu thread maps to a persistent `session_id`; the agent remembers what it did in prior turns
|
|
126
125
|
- **Agent Workspace** — per-thread git worktrees; the agent can run multiple threads concurrently without git conflicts
|
|
127
126
|
- **Codex runtime pre-checks** — `larkway doctor` validates Codex state directory writability before start
|
|
@@ -150,9 +149,6 @@ Secrets live only in `~/.larkway/.env` (mode 0600). Config and memory contain no
|
|
|
150
149
|
| `larkway memory edit <id>` | Edit L2 identity memory |
|
|
151
150
|
| `larkway perms <id>` | Adjust L1 permissions |
|
|
152
151
|
| `larkway ui` | Start local web management UI |
|
|
153
|
-
| `larkway central set \| show \| unset` | Connect/disconnect central config library |
|
|
154
|
-
| `larkway promote <id>` | Push bot config (no secrets) to central library |
|
|
155
|
-
| `larkway sync` | Pull bot configs from central library |
|
|
156
152
|
| `larkway update` | Upgrade Larkway and restart bridge |
|
|
157
153
|
|
|
158
154
|
---
|
package/README.zh.md
CHANGED
|
@@ -113,7 +113,7 @@ Larkway 不注入 `ANTHROPIC_API_KEY` 或任何其他 API key。子进程继承
|
|
|
113
113
|
| **L2 身份 memory** | "我是谁、禁止什么、工作流指针"(薄) | `~/.larkway/bots/<id>.memory.md` |
|
|
114
114
|
| **L3 工作流** | 状态机、gate、命令——实际的工作内容 | **业务 repo**:`AGENTS.md`、`CLAUDE.md`、`.agents/skills/`、`.claude/skills/` |
|
|
115
115
|
|
|
116
|
-
密钥只存在本机 `~/.larkway/.env`(权限 0600)。配置和 memory
|
|
116
|
+
密钥只存在本机 `~/.larkway/.env`(权限 0600)。配置和 memory 不含密钥。
|
|
117
117
|
|
|
118
118
|
---
|
|
119
119
|
|
|
@@ -121,7 +121,6 @@ Larkway 不注入 `ANTHROPIC_API_KEY` 或任何其他 API key。子进程继承
|
|
|
121
121
|
|
|
122
122
|
- **一个 bridge 跑多个 bot** —— 只读答疑 bot 和有写权限的工程 bot 可以共用同一个进程,各自有独立的 L1/L2/L3 定义
|
|
123
123
|
- **Web 管理面** —— `larkway ui` 打开本地管理后台(127.0.0.1 + token),可以建 bot、编辑 memory、查看实时日志
|
|
124
|
-
- **中心配置库** —— `larkway promote <id>` 把 bot 配置(不含密钥)推送到共享 git 仓库,队友可以 `larkway sync` 发现和复用;库只存配置,不存部署状态
|
|
125
124
|
- **Session 续接** —— 每个飞书话题映射到持久 `session_id`,agent 记得之前做了什么
|
|
126
125
|
- **Agent Workspace** —— 每个话题独立 git worktree,agent 并发处理多个话题不冲突
|
|
127
126
|
- **Codex 运行时预检** —— `larkway doctor` 在启动前验证 Codex 状态目录可写
|
|
@@ -150,9 +149,6 @@ Larkway 不注入 `ANTHROPIC_API_KEY` 或任何其他 API key。子进程继承
|
|
|
150
149
|
| `larkway memory edit <id>` | 编辑 L2 身份 memory |
|
|
151
150
|
| `larkway perms <id>` | 调整 L1 权限 |
|
|
152
151
|
| `larkway ui` | 启动本地 Web 管理面 |
|
|
153
|
-
| `larkway central set \| show \| unset` | 连接/断开中心配置库 |
|
|
154
|
-
| `larkway promote <id>` | 把 bot 配置(不含密钥)推送到中心库 |
|
|
155
|
-
| `larkway sync` | 从中心库拉 bot 配置 |
|
|
156
152
|
| `larkway update` | 升级 Larkway 并重启 bridge |
|
|
157
153
|
|
|
158
154
|
---
|