GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Config schema for V2 · Issue #50744 · anomalyco/opencode

Config schema for V2 #50744

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
Config schema for V2#50744
Copy link
Assignees
nexxeln

Description

@klonuo
klonuo
opened on Sep 22, 2026
Issue body actions

Description

https://opencode.ai/v2/docs/permissions suggests:

{
  "$schema": "https://opencode.ai/config.json",
  "permissions": [
    { "action": "shell", "resource": "*", "effect": "ask" },
    { "action": "shell", "resource": "git status *", "effect": "allow" },
    { "action": "shell", "resource": "git diff *", "effect": "allow" },
    { "action": "shell", "resource": "git push *", "effect": "deny" },
  ],
}

but the schema https://opencode.ai/config.json is so for V1 as it references V1 action names (bash, task) which are deprecated in V2, so I get schema error: "Expected a JSON object, array or literal."

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions
    assigned
    nexxeln
    on Sep 22, 2026
  2. github-actions commented on Sep 22, 2026

    @github-actions
    github-actionsBot
    on Sep 22, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • Configuration schema is not in sync with the v2 configuration #50724: Configuration schema is not in sync with the v2 configuration — same root problem (the https://opencode.ai/config.json schema not reflecting V2 config structure)
  3. klonuo
    closed this as a duplicateof Configuration schema is not in sync with the v2 configuration #50724 on Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @nexxeln
    nexxeln

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.