@jetrabbits/agentic 0.3.3 → 0.4.0

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.
@@ -90,7 +90,16 @@ agentic install \
90
90
  --specializations software.general,software.backend
91
91
  ```
92
92
 
93
- After install, `agentic` writes `.agentic.json` in the target project. It records copied/generated files and their hashes. A later install rerun updates only manifest-managed files and skips files changed by the user. Generated guidance is written to root `AGENTS.md` for most agents and to `.opencode/AGENTS.md` when OpenCode is selected; multi-target installs that include OpenCode and another agent write both files.
93
+ After install, `agentic` writes `.agentic.json` in the target project. It records copied/generated files and their hashes. A later install rerun updates only manifest-managed files and skips files changed by the user. Generated guidance is always written to root `AGENTS.md`; when OpenCode is selected, `agentic` also writes `.opencode/AGENTS.md`.
94
+
95
+ When Codex is selected, `agentic` creates or updates the project-local `.codex/config.toml` with Codex memories enabled:
96
+
97
+ ```toml
98
+ [features]
99
+ memories = true
100
+ ```
101
+
102
+ This config file follows the same manifest-managed safeguards as other generated project files.
94
103
 
95
104
  After the project files are generated, `agentic` starts timestamped operational logging and mirrors install output to a temporary log file such as:
96
105
 
@@ -137,6 +146,8 @@ TUI uses `fzf` for interactive selection. If `fzf` is missing, `agentic` can:
137
146
 
138
147
  `--install-fzf` only affects `self-install`. If auto-install fails, self-install still completes.
139
148
 
149
+ The CLI supports the system bash 3.2 shipped with macOS and does not require installing a newer bash.
150
+
140
151
  Manual install examples:
141
152
 
142
153
  Linux:
@@ -163,7 +174,7 @@ scoop install fzf
163
174
 
164
175
  ## OpenCode optional plugins
165
176
 
166
- When `opencode` is selected, interactive installs ask whether to enable Telegram notifications and `agent-model-mapper`. The answer is stored globally in:
177
+ When `opencode` is selected, interactive installs ask whether to enable `Telegram Notifications` and `Agent Model Mapping`. These are readable menu labels for the stable internal ids `telegram-notification` and `agent-model-mapper`. The answer is stored globally in:
167
178
 
168
179
  ```text
169
180
  ~/.config/agentic/opencode-plugins.json
@@ -171,6 +182,12 @@ When `opencode` is selected, interactive installs ask whether to enable Telegram
171
182
 
172
183
  Non-interactive installs create a disabled config when no config exists. Interactive installs ask for Telegram `botToken` and `chatId` when `telegram-notification` is selected. Those credentials are written to the target project `.agentic.json` under `settings.opencode_plugins.telegram`, not to `~/.config/agentic/opencode-plugins.json`. Treat `.agentic.json` as plaintext secret-bearing project config when Telegram is enabled and do not commit it to public repositories. When enabled, `agent-model-mapper` runs during interactive `agentic install`/`agentic tui`, uses `fzf` as a dropdown picker when available, and writes `.opencode/opencode.json` only after a Confirm action. OpenCode startup does not load a mapper runtime plugin or prompt for model mapping.
173
184
 
185
+ OpenCode model profiles are stored in `extensions/opencode/profiles` and appear in the same optional OpenCode selection menu as the plugin choices. The built-in choices are `OpenAI Model Profile` and `GitHub Copilot Model Profile`; non-interactive installs can choose them with `AGENTIC_OPENCODE_PROFILE=openai` or `AGENTIC_OPENCODE_PROFILE=githubcopilot`. Profile selection merges agent model mappings into `.opencode/opencode.json`, then MCP configuration is merged afterward.
186
+
187
+ OpenCode MCP config uses top-level `mcp`, not `mcpServers`. Agentic migrates legacy OpenCode `mcpServers` entries into `mcp` during install. Codex continues to use `.codex/config.toml` with `[mcp_servers.*]` sections.
188
+
189
+ For selected Kubernetes and Docker MCP integrations, `agentic` performs non-fatal local checks after config generation: `kubectl version` for Kubernetes and `docker mcp --version` for Docker MCP. Failed checks appear as warnings in the final install report with official setup links. Docker MCP server entries are generated under the server name `docker`.
190
+
174
191
  ## Context7
175
192
 
176
193
  For `opencode`, `codex`, `claude`, `cursor`, `gemini`, `kilocode`, and `antigravity`, interactive installs ask whether to add Context7 MCP configuration. If enabled, a follow-up menu chooses either keyless mode or entering `CONTEXT7_API_KEY`. The selected key is written to all selected target configs for the current project. Most targets use project-level files, while `antigravity` is written to the global user path `~/.gemini/antigravity/mcp_config.json`.
@@ -0,0 +1,28 @@
1
+ # Agentic MCP server selection
2
+
3
+ `agentic tui` includes a dedicated `Select MCP servers to enable:` step after target agent platform selection. The fzf flow supports multi-select with Space or Tab, Enter to confirm, Esc to skip, and a `None / skip` entry for users who do not want MCP configuration generated for the current install.
4
+
5
+ The MCP menu is driven by the CLI MCP registry rather than hardcoded UI rows. The registry tracks each server's id, display title, description, security level, default disabled state, and generated config block.
6
+
7
+ Supported registry ids:
8
+
9
+ | id | Description | Security |
10
+ | --- | --- | --- |
11
+ | `opencode-docs` | OpenCode docs MCP | safe |
12
+ | `playwright` | Browser automation via Playwright MCP | sensitive |
13
+ | `kubernetes` | Kubernetes pods/logs/exec management | dangerous |
14
+ | `youtube-transcript` | YouTube transcript extraction | safe |
15
+ | `docker-mcp` | Docker MCP Gateway | dangerous |
16
+ | `context7` | Fresh library documentation | safe |
17
+ | `mempalace` | Persistent project memory | sensitive |
18
+ | `anydb` | Database access MCP | dangerous |
19
+
20
+ For non-interactive installs, set `AGENTIC_ENABLE_MCPS` to a comma-separated list of registry ids. Dangerous MCPs require explicit confirmation before config is written. In non-interactive installs, set `AGENTIC_CONFIRM_DANGEROUS_MCP=1` to enable selected dangerous MCPs; otherwise agentic skips them and reports a warning.
21
+
22
+ OpenCode config generation writes current OpenCode-compatible top-level `mcp` entries, not legacy `mcpServers`. Re-running agentic preserves existing unknown fields, preserves an existing `$schema`, updates only the selected MCP entries, and migrates any existing OpenCode `mcpServers` entries into `mcp` before removing the invalid legacy key.
23
+
24
+ Codex config generation remains TOML-based and writes `[mcp_servers.<name>]` sections in `.codex/config.toml`.
25
+
26
+ When `kubernetes` is selected, `agentic` checks whether `kubectl version` succeeds. If it does not, install continues and the final report warns with the official kubectl setup guide: <https://kubernetes.io/docs/tasks/tools/>.
27
+
28
+ When `docker-mcp` is selected, generated MCP server names use `docker` instead of the older `MCP_DOCKER`. `agentic` checks whether `docker mcp --version` succeeds. If it does not, install continues and the final report warns with Docker setup links: <https://docs.docker.com/get-started/get-docker/> and <https://docs.docker.com/ai/mcp-catalog-and-toolkit/>.
@@ -33,7 +33,7 @@ When `agentic` installs the OpenCode extension, it configures optional plugins i
33
33
  ~/.config/agentic/opencode-plugins.json
34
34
  ```
35
35
 
36
- Telegram notifications and agent model mapping are opt-in. Interactive `agentic install` and `agentic tui` ask for OpenCode plugin selection whenever `opencode` is selected; the answer rewrites this config. During manifest-based upgrade/re-install sync, existing plugin settings are kept so automated refreshes do not open prompts. If the config is absent or a plugin is disabled, the plugin returns no hooks and OpenCode continues without that behavior.
36
+ Telegram notifications and agent model mapping are opt-in. Interactive `agentic install` and `agentic tui` ask for OpenCode plugin selection whenever `opencode` is selected. The menu uses readable labels (`Telegram Notifications` and `Agent Model Mapping`) while keeping the stored internal ids `telegram-notification` and `agent-model-mapper`. The answer rewrites this config. During manifest-based upgrade/re-install sync, existing plugin settings are kept so automated refreshes do not open prompts. If the config is absent or a plugin is disabled, the plugin returns no hooks and OpenCode continues without that behavior.
37
37
 
38
38
  When `telegram-notification` is selected interactively, `agentic` asks for `botToken` and `chatId` and stores them in the target project's `.agentic.json`:
39
39
 
@@ -48,5 +48,15 @@ Non-interactive `agentic install` defaults optional plugins to disabled when no
48
48
 
49
49
  `agent-model-mapper` reads roles from target `.opencode/agents/*.md` and discovers model names from `~/.config/opencode/opencode.json`, then adds models from active providers in `~/.local/share/opencode/auth.json` using non-deprecated entries in `~/.cache/opencode/models.json`. When enabled, interactive `agentic install`/`agentic tui` prompts for a main and fallback model per role, using `fzf` as a dropdown picker when available, and writes `.opencode/opencode.json` only after a Confirm action. OpenCode startup never opens `fzf` or waits for model input because no mapper runtime plugin is shipped or registered.
50
50
 
51
+ Agentic also ships reusable OpenCode model profiles in:
52
+
53
+ ```text
54
+ extensions/opencode/profiles/
55
+ ```
56
+
57
+ The current profiles are `OpenAI Model Profile` (`openai/opencode.json`) and `GitHub Copilot Model Profile` (`githubcopilot/opencode.json`). They appear in the same optional OpenCode selection menu as the plugin choices. Selecting one merges its agent model mapping into `.opencode/opencode.json`; later MCP configuration is merged on top, so profile selection does not block future MCP sections.
58
+
59
+ For MCP servers, OpenCode uses top-level `mcp` entries. Agentic migrates legacy `mcpServers` in OpenCode configs to `mcp` and removes the invalid key.
60
+
51
61
  For OpenCode targets, `agentic` writes generated operating guidance to `.opencode/AGENTS.md`. If OpenCode is installed
52
62
  alongside another agent target, root `AGENTS.md` is generated as well for the non-OpenCode target.
@@ -0,0 +1,88 @@
1
+ {
2
+ "$schema": "https://opencode.ai/config.json",
3
+ "plugin": [
4
+ "sound-notification",
5
+ "telegram-notification"
6
+ ],
7
+ "agent": {
8
+ "product-owner": {
9
+ "description": "Main coordinator for feature development workflow",
10
+ "mode": "primary",
11
+ "model": "github-copilot/gpt-5.5",
12
+ "fallback": [],
13
+ "permission": {
14
+ "task": {
15
+ "pm": "allow",
16
+ "team-lead": "allow",
17
+ "designer": "allow",
18
+ "developer": "allow",
19
+ "qa": "allow",
20
+ "instruction_reviewer": "allow",
21
+ "memory_curator": "allow"
22
+ }
23
+ }
24
+ },
25
+ "pm": {
26
+ "description": "Project Manager - coordinates workflow",
27
+ "mode": "subagent",
28
+ "model": "github-copilot/gpt-5.3-codex",
29
+ "fallback": [],
30
+ "permission": {
31
+ "task": {
32
+ "team-lead": "allow",
33
+ "designer": "allow",
34
+ "developer": "allow",
35
+ "qa": "allow"
36
+ }
37
+ }
38
+ },
39
+ "team-lead": {
40
+ "description": "Team Lead - planning and code review",
41
+ "mode": "all",
42
+ "model": "github-copilot/claude-opus-4.7",
43
+ "fallback": [],
44
+ "permission": {
45
+ "task": {
46
+ "developer": "allow",
47
+ "qa": "allow"
48
+ }
49
+ }
50
+ },
51
+ "developer": {
52
+ "description": "Developer - implements code",
53
+ "mode": "all",
54
+ "model": "github-copilot/gpt-5.3-codex",
55
+ "fallback": []
56
+ },
57
+ "devops-engineer": {
58
+ "description": "DevOps Engineer - infrastructure, CI/CD, and platform reliability",
59
+ "mode": "all",
60
+ "model": "github-copilot/claude-sonnet-4.6",
61
+ "fallback": []
62
+ },
63
+ "instruction_reviewer": {
64
+ "description": "Instruction Reviewer - post-task review of instruction effectiveness and tool discipline",
65
+ "mode": "all",
66
+ "model": "github-copilot/claude-sonnet-4.6",
67
+ "fallback": []
68
+ },
69
+ "memory_curator": {
70
+ "description": "Memory Curator - post-task memory hygiene recommendations without automatic writes",
71
+ "mode": "all",
72
+ "model": "github-copilot/gpt-5-mini",
73
+ "fallback": []
74
+ },
75
+ "qa": {
76
+ "description": "QA Engineer - runs tests",
77
+ "mode": "subagent",
78
+ "model": "github-copilot/gpt-5.3-codex",
79
+ "fallback": []
80
+ },
81
+ "designer": {
82
+ "description": "Designer - UI/UX validation",
83
+ "mode": "subagent",
84
+ "model": "github-copilot/gemini-3.5-flash",
85
+ "fallback": []
86
+ }
87
+ }
88
+ }
@@ -0,0 +1,100 @@
1
+ {
2
+ "$schema": "https://opencode.ai/config.json",
3
+ "plugin": [
4
+ "sound-notification",
5
+ "telegram-notification"
6
+ ],
7
+ "agent": {
8
+ "product-owner": {
9
+ "description": "Main coordinator for feature development workflow",
10
+ "mode": "primary",
11
+ "model": "openai/gpt-5.5",
12
+ "fallback": [],
13
+ "permission": {
14
+ "task": {
15
+ "pm": "allow",
16
+ "team-lead": "allow",
17
+ "designer": "allow",
18
+ "developer": "allow",
19
+ "qa": "allow",
20
+ "instruction_reviewer": "allow",
21
+ "memory_curator": "allow"
22
+ }
23
+ }
24
+ },
25
+ "pm": {
26
+ "description": "Project Manager - coordinates workflow",
27
+ "mode": "subagent",
28
+ "model": "openai/gpt-5.5",
29
+ "fallback": [],
30
+ "permission": {
31
+ "task": {
32
+ "team-lead": "allow",
33
+ "designer": "allow",
34
+ "developer": "allow",
35
+ "qa": "allow"
36
+ }
37
+ }
38
+ },
39
+ "team-lead": {
40
+ "description": "Team Lead - planning and code review",
41
+ "mode": "all",
42
+ "model": "openai/gpt-5.5",
43
+ "fallback": [],
44
+ "permission": {
45
+ "task": {
46
+ "developer": "allow",
47
+ "qa": "allow"
48
+ }
49
+ }
50
+ },
51
+ "developer": {
52
+ "description": "Developer - implements code",
53
+ "mode": "all",
54
+ "model": "openai/gpt-5.5",
55
+ "fallback": []
56
+ },
57
+ "devops-engineer": {
58
+ "description": "DevOps Engineer - infrastructure, CI/CD, and platform reliability",
59
+ "mode": "all",
60
+ "model": "openai/gpt-5.5",
61
+ "fallback": []
62
+ },
63
+ "instruction_reviewer": {
64
+ "description": "Instruction Reviewer - post-task review of instruction effectiveness and tool discipline",
65
+ "mode": "all",
66
+ "model": "openai/gpt-5.5",
67
+ "fallback": []
68
+ },
69
+ "memory_curator": {
70
+ "description": "Memory Curator - post-task memory hygiene recommendations without automatic writes",
71
+ "mode": "all",
72
+ "model": "openai/gpt-5.5",
73
+ "fallback": []
74
+ },
75
+ "qa": {
76
+ "description": "QA Engineer - runs tests",
77
+ "mode": "subagent",
78
+ "model": "openai/gpt-5.5",
79
+ "fallback": []
80
+ },
81
+ "designer": {
82
+ "description": "Designer - UI/UX validation",
83
+ "mode": "subagent",
84
+ "model": "openai/gpt-5.5",
85
+ "fallback": []
86
+ },
87
+ "plan": {
88
+ "description": "Planning mode",
89
+ "mode": "primary",
90
+ "model": "openai/gpt-5.5",
91
+ "fallback": []
92
+ },
93
+ "build": {
94
+ "description": "Build mode",
95
+ "mode": "primary",
96
+ "model": "openai/gpt-5.5",
97
+ "fallback": []
98
+ }
99
+ }
100
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetrabbits/agentic",
3
- "version": "0.3.3",
3
+ "version": "0.4.0",
4
4
  "description": "Agent Intelligence Configuration CLI",
5
5
  "bin": {
6
6
  "agentic": "bin/agentic.js"