@ainecto/mcp 0.9.0 → 0.11.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/README.md CHANGED
@@ -74,8 +74,17 @@ npx -y ainecto@latest init --mcp # also .mcp.json (Claude Code) and .cur
74
74
  npx -y ainecto@latest init --mcp --local # the same files with the local relay instead
75
75
  npx -y ainecto@latest init --dry-run # the same plan, nothing written
76
76
  npx -y ainecto@latest init --undo # remove what init wrote
77
+ npx -y ainecto@latest init --agent tester # name the agent working in this folder (see below)
77
78
  ```
78
79
 
80
+ - `--agent <name>` names the agent that works in this folder. It writes the name to
81
+ `.ainecto/agent.local` (keep it out of git) and puts it in `.mcp.json`, `.cursor/mcp.json` and
82
+ `.codex/config.toml` — the server address entries get the header `X-AiNecto-Agent-Name`, the local relay
83
+ gets `--agent <name>`. Re-running `init` keeps the name. `ainecto tools call …` run in this folder sends
84
+ the same name. The server checks the name; a name it refuses stops `init` before any file is written.
85
+ `.codex/config.toml` is written only when it does not exist yet (or init wrote it); Codex reads it only in
86
+ a trusted project.
87
+
79
88
  - `init` fetches the rules from the server — `--dry-run` too, so the plan is the real one. If it cannot
80
89
  (not signed in, offline), it says which files would get this package's default text instead.
81
90
  - If this machine is not signed in yet, `init` opens the browser once (`--dry-run` never does). The
@@ -201,7 +210,7 @@ This is the entry `setup --local` and `init --mcp --local` write — you normall
201
210
  "mcpServers": {
202
211
  "ainecto": {
203
212
  "command": "npx",
204
- "args": ["-y", "@ainecto/mcp@0.9.0"]
213
+ "args": ["-y", "@ainecto/mcp@0.11.0"]
205
214
  }
206
215
  }
207
216
  }