-
-
Notifications
You must be signed in to change notification settings - Fork 388
feat(init): onboard CLI agent tooling #169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
5c13ea0
76495f9
fc52980
f89c220
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -93,7 +93,7 @@ sessions. | |
| | --- | --- | | ||
| | `DEVSPACE_SKILLS` | Set to `0` to hide skills. Enabled by default. | | ||
| | `DEVSPACE_SUBAGENTS` | Set to `1` to expose configured agent profiles as Subagents. Experimental and disabled by default. | | ||
| | `DEVSPACE_WORKFLOWS` | Experimental Dynamic Workflows gate. When unset, it follows the effective Subagents setting, including persisted config and any environment override. | | ||
| | `DEVSPACE_WORKFLOWS` | Set to `1` to enable Dynamic Workflows independently. When unset, it follows the effective Subagents setting for backwards compatibility. | | ||
| | `DEVSPACE_AGENT_DIR` | Defaults to `~/.codex`; its `skills` child is loaded for compatibility. | | ||
| | `DEVSPACE_SKILL_PATHS` | Optional comma-separated additional skill directories. | | ||
|
|
||
|
|
@@ -105,33 +105,36 @@ DevSpace discovers standard Agent Skills from: | |
|
|
||
| It also includes: | ||
|
|
||
| - the package-managed `subagents` skill when the Subagents capability is enabled | ||
| - the package-managed `dynamic-workflows` skill when the Dynamic Workflows capability is enabled | ||
| - the bundled `subagents` skill when the Subagents capability is enabled | ||
| - the bundled `dynamic-workflows` skill when the Dynamic Workflows capability is enabled | ||
| - `DEVSPACE_AGENT_DIR/skills`, defaulting to `~/.codex/skills` | ||
| - additional paths from `DEVSPACE_SKILL_PATHS` | ||
|
|
||
| User and project skills with the same name take precedence over bundled skills. | ||
| DevSpace does not copy bundled skills into `~/.devspace/skills` during setup. | ||
| `devspace init` asks about Subagents and Dynamic Workflows separately and | ||
| installs enabled skills into `~/.devspace/skills` (or the configured | ||
| `DEVSPACE_CONFIG_DIR/skills`). A user-owned directory is preserved; only a | ||
| directory previously marked as DevSpace-managed is updated. | ||
|
|
||
| When Subagents are enabled, DevSpace discovers agent profiles | ||
| When Subagents or Dynamic Workflows are enabled, DevSpace discovers agent profiles | ||
| from: | ||
|
|
||
| - `~/.devspace/agents/*.md` | ||
| - project `.devspace/agents/*.md` | ||
|
|
||
| `open_workspace` returns a compact catalog containing profile names, | ||
| descriptions, providers, and optional models/effort levels so the host model can choose an | ||
| agent without reading provider-specific launch details. `devspace agents ls` | ||
| descriptions, and optional model/effort defaults so the host model can choose an | ||
| agent without reading provider-specific launch details. Provider entries contain | ||
| only their names. `devspace agents ls` | ||
| lists existing subagent sessions for the current workspace, scoped by the | ||
| workspace environment injected into shell commands. The `subagents` | ||
| skill teaches the model to discover targets with `devspace agents targets`, | ||
| then use the minimal `devspace agents run`, `devspace agents show`, and | ||
| `devspace agents ls` workflow. | ||
|
|
||
| Provider availability is detected at runtime. DevSpace does not persist probe | ||
| timestamps, availability snapshots, or an experimental provider enable-list in | ||
| `config.json`. Final provider policy and onboarding are deferred until the | ||
| Subagents and Dynamic Workflows features are finalized. | ||
| Provider availability is detected at runtime. Unavailable providers and profiles | ||
| that depend on them are omitted from `open_workspace` and `devspace agents | ||
| targets`. The enabled feature switches are persisted in `config.json`. | ||
|
Comment on lines
+108
to
+137
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Remove the stale workflow-widget contract. The current documentation says that MCP does not expose separate workflow execution tools, but Line 86 still says that As per coding guidelines: “Verify the actual user-consumption path, including ... tool surfaces, widgets, and rendered artifacts.” 🤖 Prompt for AI AgentsSource: Coding guidelines |
||
|
|
||
| Starter profile templates are available under `examples/agents/`. Copy or adapt | ||
| them into one of the active profile directories before use. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win
Document the shell tool for codex mode.
The text requires the ordinary
bashtool, but Lines 159-162 state that codex mode hidesbashand exposesexec_command. Tell users to usebashin the standard modes andexec_commandin codex mode.As per coding guidelines: “Verify the actual user-consumption path, including ... real MCP hosts ... tool surfaces, widgets, and rendered artifacts.”
🤖 Prompt for AI Agents
Source: Coding guidelines