@jetrabbits/agentic 0.0.5 → 0.2.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.
- package/AGENTS.md +7 -0
- package/CHANGELOG.md +12 -0
- package/Makefile +31 -3
- package/README.md +23 -2
- package/agentic +1019 -90
- package/docs/agentic-lifecycle.md +11 -0
- package/docs/agentic-token-minimization/README.md +2 -0
- package/docs/agentic-usage.md +59 -2
- package/docs/opencode_setup.md +3 -0
- package/package.json +2 -1
|
@@ -101,3 +101,14 @@ When `.agentic.json` exists in the target project, `agentic install` treats the
|
|
|
101
101
|
- skipped paths are recorded in `.agentic.json`.
|
|
102
102
|
|
|
103
103
|
Every copied or generated file carries an internal marker. Markdown uses YAML front matter, comment-capable formats use comments, and JSON uses an `_agentic` object.
|
|
104
|
+
|
|
105
|
+
## MemPalace install and validation logs
|
|
106
|
+
|
|
107
|
+
When MemPalace MCP is enabled during interactive install, `agentic` now reports setup progress in explicit steps so users can see what succeeded or failed:
|
|
108
|
+
|
|
109
|
+
1. Python availability check
|
|
110
|
+
2. pip availability check
|
|
111
|
+
3. `pip install mempalace`
|
|
112
|
+
4. Project initialization (`mempalace init` and `mempalace mine`)
|
|
113
|
+
|
|
114
|
+
After setup, install checks that `mempalace-mcp` is present and leaves runtime startup/tool validation to the post-install doctor smoke check. Generated MCP configs invoke `mempalace-mcp` without arguments for all supported agent targets.
|
|
@@ -51,6 +51,8 @@ OPENCODE_TELEGRAM_CHAT_ID
|
|
|
51
51
|
- `.mcp.json` for Claude Code project-scoped MCP servers
|
|
52
52
|
- `.cursor/mcp.json`
|
|
53
53
|
- `.gemini/settings.json`
|
|
54
|
+
- `.kilocode/mcp.json` for `kilocode`
|
|
55
|
+
- `~/.gemini/antigravity/mcp_config.json` for `antigravity` (global user config)
|
|
54
56
|
|
|
55
57
|
Interactive installs ask whether to enable Context7. If enabled, the Context7 API key is optional. Empty keys keep the install usable with default Context7 limits or rule-only fallback behavior. Non-interactive installs enable Context7 only when `CONTEXT7_API_KEY` is already set. Generated guidance requires agents to use Context7 for framework, SDK, library, and API documentation before relying on model memory when the project config is present.
|
|
56
58
|
|
package/docs/agentic-usage.md
CHANGED
|
@@ -30,6 +30,23 @@ Default behavior:
|
|
|
30
30
|
- In non-interactive mode (CI/pipe): prints usage and exits with code `1`
|
|
31
31
|
- For CI one-off execution, prefer `npx @jetrabbits/agentic@latest <command>`
|
|
32
32
|
|
|
33
|
+
## Requirements
|
|
34
|
+
|
|
35
|
+
`agentic install` and `agentic tui` fail fast when required local tools are missing:
|
|
36
|
+
|
|
37
|
+
- Bash 3.2+.
|
|
38
|
+
- Python 3 as `python3`.
|
|
39
|
+
- pip as `pip3`, `pip`, or `python3 -m pip`.
|
|
40
|
+
- `shasum` or `sha256sum` for managed-file hashes.
|
|
41
|
+
- Git when installed mode needs to bootstrap or upgrade `~/.local/share/agentic/repo`.
|
|
42
|
+
|
|
43
|
+
Optional tools:
|
|
44
|
+
|
|
45
|
+
- `fzf` for interactive picker UI; index-based menus are used when it is unavailable.
|
|
46
|
+
- Node.js/npm only for the `npx @jetrabbits/agentic@latest` entrypoint.
|
|
47
|
+
- `curl` only for the bootstrap installer.
|
|
48
|
+
- Real agent binaries only for selected target recommendations and doctor checks.
|
|
49
|
+
|
|
33
50
|
Install the standalone binary:
|
|
34
51
|
|
|
35
52
|
```bash
|
|
@@ -73,7 +90,27 @@ agentic install \
|
|
|
73
90
|
--specializations software.general,software.backend
|
|
74
91
|
```
|
|
75
92
|
|
|
76
|
-
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.
|
|
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.
|
|
94
|
+
|
|
95
|
+
After the project files are generated, `agentic` starts timestamped operational logging and mirrors install output to a temporary log file such as:
|
|
96
|
+
|
|
97
|
+
```text
|
|
98
|
+
/tmp/agentic-20260512-114203.ABC123
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
The final install line prints the exact path:
|
|
102
|
+
|
|
103
|
+
```text
|
|
104
|
+
Agentic log file: /tmp/agentic-20260512-114203.ABC123
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
`agentic` also runs a final doctor smoke check for selected real agent targets (`codex`, `opencode`, `claude`, `gemini`). The doctor runs `/develop-feature напиши hello world python` in a temporary copy of the project and prints one status row per selected agent. Doctor failures are reported but do not roll back or fail the install. Disable doctor for CI or cheap checks with:
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
AGENTIC_DOCTOR=0 agentic install ...
|
|
111
|
+
# or
|
|
112
|
+
agentic install ... --no-doctor
|
|
113
|
+
```
|
|
77
114
|
|
|
78
115
|
List available options:
|
|
79
116
|
|
|
@@ -136,10 +173,30 @@ Non-interactive installs create a disabled config when no config exists. Telegra
|
|
|
136
173
|
|
|
137
174
|
## Context7
|
|
138
175
|
|
|
139
|
-
For `opencode` and `
|
|
176
|
+
For `opencode`, `codex`, `claude`, `cursor`, `gemini`, `kilocode`, and `antigravity`, interactive installs ask whether to add Context7 MCP configuration. If enabled, the Context7 API key prompt is optional; leave it empty to configure Context7 without a key. Most targets use project-level files, while `antigravity` is written to the global user path `~/.gemini/antigravity/mcp_config.json`.
|
|
140
177
|
|
|
141
178
|
Non-interactive installs skip Context7 unless `CONTEXT7_API_KEY` is set in the environment. Agents are instructed to use Context7 for framework, library, SDK, API, and setup documentation when the project config is present.
|
|
142
179
|
|
|
180
|
+
## MemPalace
|
|
181
|
+
|
|
182
|
+
For `opencode`, `codex`, `claude`, `cursor`, `gemini`, and `antigravity`, MemPalace MCP is configured as a local Python module instead of a hosted MCP URL. Install it first:
|
|
183
|
+
|
|
184
|
+
```bash
|
|
185
|
+
pip install mempalace
|
|
186
|
+
```
|
|
187
|
+
|
|
188
|
+
Generated configs run `mempalace-mcp` without arguments for all supported agent targets. Runtime startup and MCP tool errors are checked by the post-install doctor stage.
|
|
189
|
+
|
|
190
|
+
During install, if MemPalace is enabled, `agentic` checks whether `mempalace-mcp` is available. For OpenCode installs, `agentic` creates `<project>` and runs `mempalace init "<project>" --yes --auto-mine`. If checks fail (for example, package not installed yet), install continues and agents fall back to standard context discovery.
|
|
191
|
+
|
|
192
|
+
## Real agent doctor E2E
|
|
193
|
+
|
|
194
|
+
The deterministic e2e suite uses fake agent binaries and does not call models. Real agent doctor checks are opt-in because they may use network access, credentials, and model credits:
|
|
195
|
+
|
|
196
|
+
```bash
|
|
197
|
+
AGENTIC_RUN_REAL_AGENT_E2E=1 make test-real-agent-doctor
|
|
198
|
+
```
|
|
199
|
+
|
|
143
200
|
## Deprecated wrapper
|
|
144
201
|
|
|
145
202
|
`agentos-install.sh` remains for backward compatibility and forwards to `agentic`. Prefer `agentic` in new usage and documentation.
|
package/docs/opencode_setup.md
CHANGED
|
@@ -43,3 +43,6 @@ OPENCODE_TELEGRAM_CHAT_ID
|
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
Non-interactive `agentic install` defaults optional plugins to disabled when no config exists.
|
|
46
|
+
|
|
47
|
+
For OpenCode targets, `agentic` writes generated operating guidance to `.opencode/AGENTS.md`. If OpenCode is installed
|
|
48
|
+
alongside another agent target, root `AGENTS.md` is generated as well for the non-OpenCode target.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jetrabbits/agentic",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "Agent Intelligence Configuration CLI",
|
|
5
5
|
"bin": {
|
|
6
6
|
"agentic": "bin/agentic.js"
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"files": [
|
|
13
13
|
"AGENTS.md",
|
|
14
|
+
"CHANGELOG.md",
|
|
14
15
|
"UPGRADE.md",
|
|
15
16
|
"LICENSE",
|
|
16
17
|
"Makefile",
|