realontext 0.17.0 → 0.18.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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "realontext",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "description": "Code search for coding agents, over the directory you are in. Needs `npm install -g realontext`.",
5
5
  "author": {
6
6
  "name": "FlowerRealm",
package/lib/agents.js CHANGED
@@ -244,6 +244,18 @@ const agents = {
244
244
  ],
245
245
  hook: { event: "SessionStart" },
246
246
  },
247
+ commandcode: {
248
+ name: "Command Code",
249
+ steps: [
250
+ // Global, like Codex's: nothing of ours lands in the repository. An
251
+ // earlier entry at another scope would win over this one, so clear first.
252
+ { clear: "cmd mcp remove realontext", run: "cmd mcp add --scope user realontext -- realontext mcp" },
253
+ // Its hooks cover shell, read, write and edit, never the Grep tool: only
254
+ // SessionStart can carry the reminder.
255
+ { list: "~/.commandcode/settings.json", at: ["hooks", "SessionStart"], value: nested("commandcode") },
256
+ ],
257
+ hook: { event: "SessionStart" },
258
+ },
247
259
  };
248
260
 
249
261
  module.exports = agents;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "realontext",
3
- "version": "0.17.0",
3
+ "version": "0.18.1",
4
4
  "description": "Code search for coding agents, over the directory you are in. CLI and MCP server.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "repository": {
@@ -34,8 +34,8 @@
34
34
  "react": "^18.3.1"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@realontext/darwin-arm64": "0.17.0",
38
- "@realontext/linux-x64": "0.17.0",
39
- "@realontext/win32-x64": "0.17.0"
37
+ "@realontext/darwin-arm64": "0.18.1",
38
+ "@realontext/linux-x64": "0.18.1",
39
+ "@realontext/win32-x64": "0.18.1"
40
40
  }
41
41
  }