On Mon, 16 Feb 2026 13:43:33 +0100,
Antoine Jacoutot <[email protected]> wrote:
> 
> Hi.
> 
> Here's a port of gemini-cli.
> Mostly from adapting the FreeBSD one.
> 
> Comments, OK?
> 

Base on 
https://github.com/google-gemini/gemini-cli/tree/main/third_party/get-ripgrep
I think it needs runtime dependency textproc/ripgrep

Had basicly tested, seems to work.

Also, --sandbox needs docker (which we have) and some dancing to bypass this 
error:

Error accessing installation ID file, generating ephemeral ID: Error: EACCES: 
permission denied, open '/home/node/.gemini/installation_id'
    at Module.writeFileSync (node:fs:2380:20)
    at InstallationManager.writeInstallationIdToFile 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/utils/installationManager.js:29:12)
    at InstallationManager.getInstallationId 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/utils/installationManager.js:41:22)
    at ClearcutLogger.createBasicLogEvent 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/telemetry/clearcut-logger/clearcut-logger.js:291:67)
    at ClearcutLogger.createLogEvent 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/telemetry/clearcut-logger/clearcut-logger.js:301:21)
    at ClearcutLogger.logApprovalModeDurationEvent 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/telemetry/clearcut-logger/clearcut-logger.js:1211:35)
    at logApprovalModeDuration 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/telemetry/loggers.js:487:41)
    at Config.logCurrentModeDuration 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/config/config.js:939:9)
    at Config.dispose 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli-core/dist/src/config/config.js:1503:14)
    at runExitCleanup 
(file:///usr/local/share/npm-global/lib/node_modules/@google/gemini-cli/dist/src/utils/cleanup.js:58:38)
 {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/home/node/.gemini/installation_id'
}

Probably we should address it in README and add docker runtime dependecy.

And, finally, I think part of package.json and tarball can be generalized
and extracted into lang/node MODULE, but it is "future refactoring".

Anyway, OK kirill@ to import with textproc/ripgrep

-- 
wbr, Kirill

Reply via email to