@emqo/claudebridge 0.10.4 → 0.10.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.
@@ -47,13 +47,14 @@ export function generateSkillDoc(ctx) {
47
47
  `- 用户问你记住了什么 → 使用 memory list`,
48
48
  `- 用户要设置提醒 → 使用 reminder add(计算分钟数)`,
49
49
  `- 用户要添加任务/待办 → 使用 task add`,
50
+ `- 用户要求并行/多会话/多分支执行 → 创建多个 auto-task,每个 auto-task 是独立并行会话`,
50
51
  `- 命令输出 JSON,请用自然语言向用户回复结果,不要直接展示 JSON`,
51
52
  `- 提醒会由 Bridge 定时器自动推送,你只需创建即可`,
52
53
  ``,
53
54
  `### 高级用法:任务自动分解`,
54
55
  `- 遇到复杂/大型任务时,必须拆分为多个 auto-task 分步执行`,
55
56
  `- 每个 auto-task 应该是独立可完成的小任务(预算内可完成)`,
56
- `- auto-task 按创建顺序排队,每60秒执行一个`,
57
+ `- auto-task 入队后几秒内即开始执行,多个 auto-task 可并行(受 max_parallel 限制)`,
57
58
  `- 在 auto-task 执行中可以创建新的 auto-task(链式执行)`,
58
59
  `- 每个 auto-task 的描述要足够详细,因为它会在全新会话中执行`,
59
60
  `- 示例:用户说"优化整个项目" → 创建多个 auto-task:`,
@@ -163,13 +164,14 @@ export function generateSkillDoc(ctx) {
163
164
  `- User asks what you remember → use memory list`,
164
165
  `- User wants a reminder → use reminder add (calculate minutes)`,
165
166
  `- User wants to add a task/todo → use task add`,
167
+ `- User asks for parallel/multi-session/branching execution → create multiple auto-tasks, each runs as an independent parallel session`,
166
168
  `- Commands output JSON. Respond to the user in natural language, do not dump raw JSON.`,
167
169
  `- Reminders are automatically pushed by Bridge timers — you only need to create them.`,
168
170
  ``,
169
171
  `### Advanced: Auto-Task Decomposition`,
170
172
  `- For complex/large tasks, decompose into multiple auto-tasks`,
171
173
  `- Each auto-task should be independently completable within budget`,
172
- `- Auto-tasks execute in FIFO order, one every 60 seconds`,
174
+ `- Auto-tasks start executing within seconds of being queued, multiple can run in parallel (limited by max_parallel)`,
173
175
  `- An auto-task can create new auto-tasks (chaining)`,
174
176
  `- Each description must be detailed enough for a fresh session`,
175
177
  `- Example: user says "optimize the project" → create:`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emqo/claudebridge",
3
- "version": "0.10.4",
3
+ "version": "0.10.5",
4
4
  "description": "Bridge claude CLI to chat platforms (Telegram, Discord) with scheduled auto-tasks, autonomous project management, HITL approval, conditional branching, webhook triggers, parallel execution, and observability",
5
5
  "main": "dist/index.js",
6
6
  "bin": {