@intellectronica/ruler 0.3.35 → 0.3.36

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
@@ -73,7 +73,7 @@ Ruler solves this by providing a **single source of truth** for all your AI agen
73
73
  | Firebase Studio | `.idx/airules.md` | `.idx/mcp.json` | - |
74
74
  | Open Hands | `.openhands/microagents/repo.md` | `config.toml` | - |
75
75
  | Gemini CLI | `AGENTS.md` | `.gemini/settings.json` | `.gemini/skills/` |
76
- | Junie | `.junie/guidelines.md` | - | - |
76
+ | Junie | `.junie/guidelines.md` | `.junie/mcp/mcp.json` | - |
77
77
  | AugmentCode | `.augment/rules/ruler_augment_instructions.md` | - | - |
78
78
  | Kilo Code | `AGENTS.md` | `.kilocode/mcp.json` | `.claude/skills/` |
79
79
  | OpenCode | `AGENTS.md` | `opencode.json` | `.opencode/skills/` |
@@ -328,7 +328,7 @@ ruler revert [options]
328
328
  | Option | Description |
329
329
  | ------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
330
330
  | `--project-root <path>` | Path to your project's root (default: current directory) |
331
- | `--agents <agent1,agent2,...>` | Comma-separated list of agent names to revert (agentsmd, aider, amazonqcli, amp, antigravity, augmentcode, claude, cline, codex, copilot, crush, cursor, factory, firebase, firebender, gemini-cli, goose, jules, junie, kilocode, kiro, mistral, opencode, openhands, pi, qwen, roo, trae, warp, windsurf, zed) |
331
+ | `--agents <agent1,agent2,...>` | Comma-separated list of agent names to revert (agentsmd, aider, amazonqcli, amp, antigravity, augmentcode, claude, cline, codex, copilot, crush, cursor, factory, firebase, firebender, gemini-cli, goose, jetbrains-ai, jules, junie, kilocode, kiro, mistral, opencode, openhands, pi, qwen, roo, trae, warp, windsurf, zed) |
332
332
  | `--config <path>` | Path to a custom `ruler.toml` configuration file |
333
333
  | `--keep-backups` | Keep backup files (.bak) after restoration (default: false) |
334
334
  | `--dry-run` | Preview changes without actually reverting files |
@@ -447,6 +447,10 @@ enabled = true
447
447
  enabled = true
448
448
  output_path = ".junie/guidelines.md"
449
449
 
450
+ [agents.junie.mcp]
451
+ enabled = true
452
+ merge_strategy = "merge"
453
+
450
454
  # Agent-specific MCP configuration
451
455
  [agents.cursor.mcp]
452
456
  enabled = true
@@ -49,5 +49,11 @@ class JunieAgent extends AbstractAgent_1.AbstractAgent {
49
49
  getDefaultOutputPath(projectRoot) {
50
50
  return path.join(projectRoot, '.junie', 'guidelines.md');
51
51
  }
52
+ supportsMcpStdio() {
53
+ return true;
54
+ }
55
+ supportsMcpRemote() {
56
+ return true;
57
+ }
52
58
  }
53
59
  exports.JunieAgent = JunieAgent;
@@ -247,6 +247,7 @@ async function removeAdditionalAgentFiles(projectRoot, verbose, dryRun) {
247
247
  '.mcp.json',
248
248
  '.vscode/mcp.json',
249
249
  '.cursor/mcp.json',
250
+ '.junie/mcp/mcp.json',
250
251
  '.kilocode/mcp.json',
251
252
  'config.toml',
252
253
  ];
package/dist/paths/mcp.js CHANGED
@@ -71,6 +71,9 @@ async function getNativeMcpPath(adapterName, projectRoot) {
71
71
  case 'Gemini CLI':
72
72
  candidates.push(path.join(projectRoot, '.gemini', 'settings.json'));
73
73
  break;
74
+ case 'Junie':
75
+ candidates.push(path.join(projectRoot, '.junie', 'mcp', 'mcp.json'));
76
+ break;
74
77
  case 'Qwen Code':
75
78
  candidates.push(path.join(projectRoot, '.qwen', 'settings.json'));
76
79
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intellectronica/ruler",
3
- "version": "0.3.35",
3
+ "version": "0.3.36",
4
4
  "description": "Ruler — apply the same rules to all coding agents",
5
5
  "main": "dist/lib.js",
6
6
  "scripts": {