diff --git a/.gitignore b/.gitignore index 9539dbe..636c795 100644 --- a/.gitignore +++ b/.gitignore @@ -220,7 +220,6 @@ outputs/ openspec/changes/ .logs/ docs/superpowers -.opencode/ # Devenv .devenv* diff --git a/.opencode/.gitignore b/.opencode/.gitignore new file mode 100644 index 0000000..8848a98 --- /dev/null +++ b/.opencode/.gitignore @@ -0,0 +1,4 @@ +node_modules +package.json +package-lock.json +bun.lock diff --git a/.opencode/opencode.json b/.opencode/opencode.json index d28cdc1..a86256a 100644 --- a/.opencode/opencode.json +++ b/.opencode/opencode.json @@ -1,20 +1,16 @@ { - "$schema": "https://opencode.ai/config.json", - "permission": { - "bash": { - "python": "deny", - "python *": "deny", - "make": "deny", - "make *": "deny", - "just remote *": "ask", - "verilator": "deny", - "verilator *": "deny" - }, - "read": { - ".env": "deny" - }, - "edit": { - ".env": "deny" + "$schema": "https://opencode.ai/config.json", + "permission": { + "bash": { + "python": "deny", + "python *": "deny", + "just remote *": "ask" + }, + "read": { + ".env": "deny" + }, + "edit": { + ".env": "deny" + } } - } } diff --git a/.safety-net.json b/.safety-net.json index 0f8dbf2..e72c484 100644 --- a/.safety-net.json +++ b/.safety-net.json @@ -1,30 +1,12 @@ { - "$schema": "https://raw.githubusercontent.com/kenryu42/claude-code-safety-net/main/assets/cc-safety-net.schema.json", - "version": 1, - "rules": [ - { - "name": "block-uv-run", - "command": "uv", - "subcommand": "run", - "block_args": [ - "python", - "python3", - "pytest", - "pip", - "-m", - "--module", - "--help", - "--version", - "-h", - "-v" - ], - "reason": "Local Environment is not avaiable. Please use \"just remote \" to run commands in the remote docker. " - }, - { - "name": "block-uv-sync", - "command": "uv", - "block_args": ["sync"], - "reason": "The project is managed by micromamba and uv. Do not sync packages directly by uv. Use \"just sync-pkgs\" or \"uv sync --inexact\" instead." - } - ] + "$schema": "https://raw.githubusercontent.com/kenryu42/claude-code-safety-net/main/assets/cc-safety-net.schema.json", + "version": 1, + "rules": [ + { + "name": "block-uv-sync", + "command": "uv", + "block_args": ["sync"], + "reason": "The project is managed by micromamba and uv. Do not sync packages directly by uv. Use \"just sync-pkgs\" or \"uv sync --inexact\" instead." + } + ] } diff --git a/pyproject.toml b/pyproject.toml index 516a286..8d2bf8b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -40,7 +40,7 @@ dev = [ [tool.ty.environment] python = "$UV_PROJECT_ENVIRONMENT" -root = ["./mini-nav", "./notebooks", "./hw/sim"] +root = ["./mini-nav", "./notebooks", "./hw/sim", "./scripts"] [tool.basedpyright] include = ["mini-nav", "notebooks"]