@charzhu/openjaw-agent 0.3.0 → 0.3.1

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 CHANGED
@@ -195,6 +195,8 @@ The agent reasons about your request, picks the right tools, executes them, and
195
195
  | `/schedule "prompt" every 15m` | Schedule recurring tasks |
196
196
  | `/schedule list` | Show active scheduled tasks |
197
197
  | `/schedule stop <id>` | Cancel a scheduled task |
198
+ | `/workflow <goal>` | Start an advisory dynamic workflow with read-only workers |
199
+ | `/workflow status [id]` | Open navigable worker status and detail view |
198
200
  | `/tools` | List all available tools |
199
201
  | `/mcp` | Manage MCP server connections |
200
202
  | `/memory` | Search persistent memory |
@@ -350,6 +352,14 @@ Supports **stdio**, **SSE**, and **Streamable HTTP** transports. Tools from exte
350
352
 
351
353
  Use `/mcp` to interactively manage connections — toggle servers, view tools, reconnect.
352
354
 
355
+ ## Dynamic Workflows
356
+
357
+ Use `/workflow <goal>` for complex advisory work that benefits from parallel read-only workers. OpenJaw asks the active model to return a JSON workflow graph, dynamically plans worker count from the goal, schedules workers through an adaptive queue, and shows progress in the `/workflow status [id]` overlay. Use arrow keys or `j/k` to select workers, `Enter`/`→` for details, `Esc`/`←` to return, `s` to sort, `f` to filter, and `q` to close.
358
+
359
+ Workflows include a final synthesizer worker. When the workflow completes, the synthesizer's answer is posted back into the transcript and is also visible through `/workflow show [id]` and the worker details view.
360
+
361
+ Workflow workers are intentionally non-mutating in this version: they can inspect files and search, but cannot edit files, run shell/code execution, send messages, or update memory. Results are persisted under `~/.openjaw-agent/workflows/` and replayable through the workflow status and spawn-tree archive paths.
362
+
353
363
  ## Architecture
354
364
 
355
365
  ```
package/config.yaml CHANGED
@@ -44,6 +44,21 @@ llm:
44
44
  # Currently defaults to opencode's client ID because it exposes the full Copilot model list.
45
45
  copilot_oauth_client_id: Iv1.b507a08c87ecfe98
46
46
 
47
+ features:
48
+ # Suggest creating a reusable skill after complex multi-step tasks.
49
+ skill_auto_suggest: true
50
+
51
+ # Advisory dynamic workflows started with /workflow.
52
+ # Workers are read-only: they can inspect/search/verify but cannot edit files,
53
+ # run shell/code, send messages, or update memory.
54
+ dynamic_workflows:
55
+ enabled: true
56
+ planner_mode: adaptive
57
+ hard_max_workers: 1024
58
+ hard_max_concurrent_workers: 128
59
+ worker_timeout_ms: 180000
60
+ persist_history: true
61
+
47
62
  # ─── Example: OpenAI direct (normally use: /connect openai <api-key>) ───
48
63
  # llm:
49
64
  # provider: openai