ash / gemini-cli
Policy for Gemini CLI
# yaml-language-server: $schema=https://hub.ashell.dev/schemas/policy/v1.json
schema_version: 1
publish:
name: ash/gemini-cli
version: 0.0.4
description: Policy for Gemini CLI
authors:
- Ash Team <team@ashell.dev>
license: MIT
files:
rules:
- path: ./**
operations:
- read
- path: /
operations:
- read
- path: /System/Volumes/Data
operations:
- read
- path: /System/Volumes/Preboot/**
operations:
- read
- path: /dev
operations:
- read
- path: /dev/dtracehelper
operations:
- write
- path: /dev/null
operations:
- read
- path: /dev/ttys022
operations:
- write
- path: /opt
operations:
- read
- path: /opt/homebrew/**
operations:
- read
- path: /private/tmp/**
- path: /private/var/run/syslog
operations:
- read
- path: /usr/bin
operations:
- read
- path: /usr/bin/env
operations:
- read
- path: /usr/lib/dyld
operations:
- read
- path: ~/.config/google/**
- path: ~/.gemini/**
network:
rules:
- host: '**.google.com'
- host: '**.googleapis.com'
- host: generativelanguage.googleapis.com
exec:
rules:
- path: /usr/bin/env
subcommand: node
- path: node
- path: python
- path: python3This policy has no dependencies.