Skip to content

Can generate/import to gemini-cli#7

Merged
dyoshikawa merged 6 commits into
mainfrom
geminicli
Jun 25, 2025
Merged

Can generate/import to gemini-cli#7
dyoshikawa merged 6 commits into
mainfrom
geminicli

Conversation

@dyoshikawa
Copy link
Copy Markdown
Owner

@dyoshikawa dyoshikawa commented Jun 25, 2025

Resolve #6

@dyoshikawa dyoshikawa changed the title Geminicli can generate to gemini-cli Jun 25, 2025
@dyoshikawa dyoshikawa changed the title can generate to gemini-cli can generate/import to gemini-cli Jun 25, 2025
@dyoshikawa dyoshikawa changed the title can generate/import to gemini-cli Can generate/import to gemini-cli Jun 25, 2025
dyoshikawa and others added 3 commits June 25, 2025 23:11
- Add Gemini CLI to supported tools list in README.md and README.ja.md
- Update import and generate command examples with --geminicli option
- Add Gemini CLI to tool-specific behavior and output file tables
- Update CONTRIBUTING.md with geminicli in project structure
- Reference geminicli as example in "Adding New AI Tools" section
- Update Japanese documentation with equivalent changes

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Remove leading whitespace from memory files (.gemini/memories/*.md)
- Update GEMINI.md to use Claude Code style header format
- Use "Please also reference the following documents as needed:" introduction
- Add File Patterns column to match Claude's table structure
- Update tests to match new format expectations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Update Gemini CLI generator to show actual globs patterns in File Patterns column instead of always showing '-'. This matches the behavior of Claude Code format exactly.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dyoshikawa dyoshikawa merged commit 4e51276 into main Jun 25, 2025
1 check passed
@dyoshikawa dyoshikawa deleted the geminicli branch June 25, 2025 22:21
dyoshikawa added a commit that referenced this pull request Mar 30, 2026
- Make DISALLOWED_ROVODEV_MODULAR_RULE_BASENAMES case-insensitive to
  prevent bypass on macOS/Windows filesystems (#7)
- Scope AGENTS.local.md gitignore entry to rovodev target instead of
  common, since it is Rovodev-specific (#5)
- Extract buildDeletionRulesFromPaths helper in rules-processor.ts to
  deduplicate the file-discovery-to-deletion pattern (#2)
- Split RovodevRule.fromFile into fromModularFile/fromRootFile private
  helpers for improved readability (#4)
- Add clarifying comment for nonRootPathsForImport unused on forDeletion
  path (#6)

Closes #1392

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
dyoshikawa added a commit that referenced this pull request Apr 29, 2026
…ode/cline/qwencode

Addresses 18 reviewer findings raised on PR #1338. Highlights:

- #1 (critical): AugmentCode non-bash categories now fail-closed. A single
  deny rule in `read`/`edit`/`write`/`webfetch`/`websearch` collapses the
  whole tool to a catch-all `deny` entry; non-`*` allow/ask patterns are
  dropped with an aggregated warning instead of being silently downgraded
  to a catch-all `allow` that would shadow a deny.
- #2 (high): `toolPermissions` are sorted to make AugmentCode's
  first-match-wins evaluation safe — entries with `shellInputRegex` come
  before catch-alls, longer regex first, with deny < ask-user < allow as
  the tiebreaker.
- #5 (mid): existing `launch-process` deny entries are preserved across
  regeneration so a user-added shell deny rule cannot be silently
  downgraded; non-deny launch-process entries are still owned by rulesync.
- #3 (mid): Qwencode generation uses `readFileContentOrNull` (no
  `readOrInitializeFileContent`) so dry-run does not create the `.qwen/`
  directory.
- #4 (mid): Kilo schema parsing is deferred and respects `params.validate`,
  so `forDeletion` and dry-run construction never throw on permissive input.
- #7, #16 (mid/low): Cline drops non-bash / ask rules at `logger.error`
  level (rather than warn) and surfaces a defensive warn on allow/deny
  pattern collisions.
- #8, #13 (mid/low): Qwencode pattern parser uses the LAST `)` so nested
  parentheses (e.g. `Bash(echo (a))`) round-trip; malformed entries warn
  and fall back to `*`.
- #9 (low): Augment non-bash warnings are aggregated once per category.
- #11 (low): Kilo's wholesale-replace of the `permission` object is
  documented in `docs/reference/file-formats.md`.
- #10, #6 (low): glob→regex behaviour and round-trip caveats are
  documented.
- #14 (low): `mergedPermissions` is typed as
  `{ allow?: string[]; ask?: string[]; deny?: string[]; [k: string]: unknown }`.
- #15 (low): redundant Qwencode global-mode equivalence assert removed.
- #17 (low): `permissions-processor.test.ts` gains `loadToolFiles` cases
  for AugmentCode, Cline, Kilo, and Qwencode.

Deferred:
- #12 (kilo home-mock migration): the existing kilo global-mode test
  already passes `outputRoot` directly and does not reach
  `getHomeDirectory()`, so introducing the home-mock pattern adds only
  ceremony without coverage.
- #18 (tool-name-mapping helper extraction): postponed to keep this
  fix focused and to avoid touching files outside the permissions
  feature.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for gemini-cli

1 participant