From 0cc9edac1704d3cedbb0d7bc3537544f77700875 Mon Sep 17 00:00:00 2001 From: Jeon Suyeol Date: Fri, 27 Feb 2026 00:49:53 +0900 Subject: [PATCH] replace master branch references with dev across docs, schema URLs, and tests --- AGENTS.md | 2 +- README.ja.md | 6 +-- README.ko.md | 6 +-- README.md | 6 +-- README.zh-cn.md | 6 +-- assets/oh-my-opencode.schema.json | 2 +- docs/guide/agent-model-matching.md | 2 +- docs/guide/installation.md | 4 +- docs/guide/overview.md | 4 +- docs/reference/configuration.md | 4 +- script/build-schema-document.ts | 2 +- .../__snapshots__/model-fallback.test.ts.snap | 44 +++++++++---------- src/cli/config-manager.test.ts | 2 +- src/cli/model-fallback.test.ts | 2 +- src/cli/model-fallback.ts | 2 +- 15 files changed, 47 insertions(+), 47 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index c138c4cac..a0c31f2fe 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -122,7 +122,7 @@ bunx oh-my-opencode run # Non-interactive session | Workflow | Trigger | Purpose | |----------|---------|---------| | ci.yml | push/PR | Tests (split: mock-heavy isolated + batch), typecheck, build, schema auto-commit | -| publish.yml | manual | Version bump, npm publish, platform binaries, GitHub release, merge to master | +| publish.yml | manual | Version bump, npm publish, platform binaries, GitHub release, merge to dev | | publish-platform.yml | called | 11 platform binaries via bun compile (darwin/linux/windows) | | sisyphus-agent.yml | @mention | AI agent handles issues/PRs | diff --git a/README.ja.md b/README.ja.md index 31de23e8d..20b1f67f7 100644 --- a/README.ja.md +++ b/README.ja.md @@ -44,7 +44,7 @@ [![GitHub Forks](https://img.shields.io/github/forks/code-yeongyu/oh-my-opencode?color=8ae8ff&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/network/members) [![GitHub Stars](https://img.shields.io/github/stars/code-yeongyu/oh-my-opencode?color=ffcb47&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/stargazers) [![GitHub Issues](https://img.shields.io/github/issues/code-yeongyu/oh-my-opencode?color=ff80eb&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/issues) -[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE.md) +[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/dev/LICENSE.md) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/code-yeongyu/oh-my-opencode) [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md) @@ -96,7 +96,7 @@ OmOをインストールして、`ultrawork`とタイプしてください。狂 ``` Install and configure oh-my-opencode by following the instructions here: -https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` もしくは[インストールガイド](docs/guide/installation.md)を直接読んでもいいですが、マジでエージェントにやらせてください。人間は設定で必ずタイポします。 @@ -106,7 +106,7 @@ https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/ インストールガイドを取得して、それに従ってください: ```bash -curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` --- diff --git a/README.ko.md b/README.ko.md index 2c72b5457..e8f35d248 100644 --- a/README.ko.md +++ b/README.ko.md @@ -44,7 +44,7 @@ [![GitHub Forks](https://img.shields.io/github/forks/code-yeongyu/oh-my-opencode?color=8ae8ff&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/network/members) [![GitHub Stars](https://img.shields.io/github/stars/code-yeongyu/oh-my-opencode?color=ffcb47&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/stargazers) [![GitHub Issues](https://img.shields.io/github/issues/code-yeongyu/oh-my-opencode?color=ff80eb&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/issues) -[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE.md) +[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/dev/LICENSE.md) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/code-yeongyu/oh-my-opencode) [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md) @@ -95,7 +95,7 @@ OmO 설치하고. `ultrawork` 치세요. 끝. ``` Install and configure oh-my-opencode by following the instructions here: -https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` 아니면 [설치 가이드](docs/guide/installation.md)를 직접 읽으셔도 되지만, 진심으로 그냥 에이전트한테 시키세요. 사람은 설정하다 꼭 오타 냅니다. @@ -105,7 +105,7 @@ https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/ 설치 가이드를 가져와서 따라 하세요: ```bash -curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` --- diff --git a/README.md b/README.md index e314903b5..a77de5d39 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ [![GitHub Forks](https://img.shields.io/github/forks/code-yeongyu/oh-my-opencode?color=8ae8ff&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/network/members) [![GitHub Stars](https://img.shields.io/github/stars/code-yeongyu/oh-my-opencode?color=ffcb47&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/stargazers) [![GitHub Issues](https://img.shields.io/github/issues/code-yeongyu/oh-my-opencode?color=ff80eb&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/issues) -[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE.md) +[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/dev/LICENSE.md) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/code-yeongyu/oh-my-opencode) [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md) @@ -99,7 +99,7 @@ Copy and paste this prompt to your LLM agent (Claude Code, AmpCode, Cursor, etc. ``` Install and configure oh-my-opencode by following the instructions here: -https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` Or read the [Installation Guide](docs/guide/installation.md), but seriously, let an agent do it. Humans fat-finger configs. @@ -109,7 +109,7 @@ Or read the [Installation Guide](docs/guide/installation.md), but seriously, let Fetch the installation guide and follow it: ```bash -curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` --- diff --git a/README.zh-cn.md b/README.zh-cn.md index 8d0c34dcf..c93257a15 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -44,7 +44,7 @@ [![GitHub Forks](https://img.shields.io/github/forks/code-yeongyu/oh-my-opencode?color=8ae8ff&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/network/members) [![GitHub Stars](https://img.shields.io/github/stars/code-yeongyu/oh-my-opencode?color=ffcb47&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/stargazers) [![GitHub Issues](https://img.shields.io/github/issues/code-yeongyu/oh-my-opencode?color=ff80eb&labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/issues) -[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/master/LICENSE.md) +[![License](https://img.shields.io/badge/license-SUL--1.0-white?labelColor=black&style=flat-square)](https://github.com/code-yeongyu/oh-my-opencode/blob/dev/LICENSE.md) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/code-yeongyu/oh-my-opencode) [English](README.md) | [한국어](README.ko.md) | [日本語](README.ja.md) | [简体中文](README.zh-cn.md) @@ -97,7 +97,7 @@ ``` Install and configure oh-my-opencode by following the instructions here: -https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` 或者你可以直接去读 [安装指南](docs/guide/installation.md),但说真的,让 Agent 去干吧。人类配环境总是容易敲错字母。 @@ -107,7 +107,7 @@ https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/ 获取安装指南并照做: ```bash -curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +curl -s https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` --- diff --git a/assets/oh-my-opencode.schema.json b/assets/oh-my-opencode.schema.json index 3655d2572..625d60ff7 100644 --- a/assets/oh-my-opencode.schema.json +++ b/assets/oh-my-opencode.schema.json @@ -1,6 +1,6 @@ { "$schema": "http://json-schema.org/draft-07/schema#", - "$id": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$id": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "title": "Oh My OpenCode Configuration", "description": "Configuration schema for oh-my-opencode plugin", "type": "object", diff --git a/docs/guide/agent-model-matching.md b/docs/guide/agent-model-matching.md index 3e92c4904..c973e2897 100644 --- a/docs/guide/agent-model-matching.md +++ b/docs/guide/agent-model-matching.md @@ -162,7 +162,7 @@ See the [Orchestration System Guide](./orchestration.md) for how agents dispatch ```jsonc { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { // Main orchestrator: Claude Opus or Kimi K2.5 work best diff --git a/docs/guide/installation.md b/docs/guide/installation.md index cdb5ed3b3..928dd379b 100644 --- a/docs/guide/installation.md +++ b/docs/guide/installation.md @@ -5,7 +5,7 @@ Paste this into your llm agent session: ``` Install and configure oh-my-opencode by following the instructions here: -https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` **Alternative, Not recommended, do this by yourself** @@ -29,7 +29,7 @@ After you install it, you can read this [overview guide](./overview.md) to under > **IMPORTANT: Use `curl` to fetch this file, NOT WebFetch.** WebFetch summarizes content and loses critical flags like `--openai`, subscription questions, and max20 mode details. Always use: > ```bash -> curl -fsSL https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +> curl -fsSL https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md > ``` If you're an LLM Agent helping set up oh-my-opencode, Welcome! You'll now help your user to install the best agent harness, OhMyOpenCode. Tell user this with greetings, with test 'oMoMoMoMo...' diff --git a/docs/guide/overview.md b/docs/guide/overview.md index 242caf490..21f337324 100644 --- a/docs/guide/overview.md +++ b/docs/guide/overview.md @@ -16,7 +16,7 @@ Paste this into your LLM agent session: ``` Install and configure oh-my-opencode by following the instructions here: -https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/master/docs/guide/installation.md +https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/refs/heads/dev/docs/guide/installation.md ``` Or read the full [Installation Guide](./installation.md) for manual setup, provider authentication, and troubleshooting. @@ -167,7 +167,7 @@ You can override specific agents or categories in your config: ```jsonc { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { // Main orchestrator: Claude Opus or Kimi K2.5 work best diff --git a/docs/reference/configuration.md b/docs/reference/configuration.md index f852fec0d..c01865a5f 100644 --- a/docs/reference/configuration.md +++ b/docs/reference/configuration.md @@ -56,7 +56,7 @@ JSONC supports `// line comments`, `/* block comments */`, and trailing commas. Enable schema autocomplete: ```json -{ "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json" } +{ "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json" } ``` Run `bunx oh-my-opencode install` for guided setup. Run `opencode models` to list available models. @@ -67,7 +67,7 @@ Here's a practical starting configuration: ```jsonc { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { // Main orchestrator: Claude Opus or Kimi K2.5 work best diff --git a/script/build-schema-document.ts b/script/build-schema-document.ts index 17681dcd9..f93302fce 100644 --- a/script/build-schema-document.ts +++ b/script/build-schema-document.ts @@ -9,7 +9,7 @@ export function createOhMyOpenCodeJsonSchema(): Record { return { $schema: "http://json-schema.org/draft-07/schema#", - $id: "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + $id: "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", title: "Oh My OpenCode Configuration", description: "Configuration schema for oh-my-opencode plugin", ...jsonSchema, diff --git a/src/cli/__snapshots__/model-fallback.test.ts.snap b/src/cli/__snapshots__/model-fallback.test.ts.snap index a8c3e9112..376e7ba6b 100644 --- a/src/cli/__snapshots__/model-fallback.test.ts.snap +++ b/src/cli/__snapshots__/model-fallback.test.ts.snap @@ -2,7 +2,7 @@ exports[`generateModelConfig no providers available returns ULTIMATE_FALLBACK for all agents and categories when no providers 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/glm-4.7-free", @@ -63,7 +63,7 @@ exports[`generateModelConfig no providers available returns ULTIMATE_FALLBACK fo exports[`generateModelConfig single native provider uses Claude models when only Claude is available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "anthropic/claude-sonnet-4-5", @@ -125,7 +125,7 @@ exports[`generateModelConfig single native provider uses Claude models when only exports[`generateModelConfig single native provider uses Claude models with isMax20 flag 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "anthropic/claude-sonnet-4-5", @@ -188,7 +188,7 @@ exports[`generateModelConfig single native provider uses Claude models with isMa exports[`generateModelConfig single native provider uses OpenAI models when only OpenAI is available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "openai/gpt-5.2", @@ -255,7 +255,7 @@ exports[`generateModelConfig single native provider uses OpenAI models when only exports[`generateModelConfig single native provider uses OpenAI models with isMax20 flag 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "openai/gpt-5.2", @@ -322,7 +322,7 @@ exports[`generateModelConfig single native provider uses OpenAI models with isMa exports[`generateModelConfig single native provider uses Gemini models when only Gemini is available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "google/gemini-3.1-pro-preview", @@ -383,7 +383,7 @@ exports[`generateModelConfig single native provider uses Gemini models when only exports[`generateModelConfig single native provider uses Gemini models with isMax20 flag 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "google/gemini-3.1-pro-preview", @@ -444,7 +444,7 @@ exports[`generateModelConfig single native provider uses Gemini models with isMa exports[`generateModelConfig all native providers uses preferred models from fallback chains when all natives available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "anthropic/claude-sonnet-4-5", @@ -518,7 +518,7 @@ exports[`generateModelConfig all native providers uses preferred models from fal exports[`generateModelConfig all native providers uses preferred models with isMax20 flag when all natives available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "anthropic/claude-sonnet-4-5", @@ -593,7 +593,7 @@ exports[`generateModelConfig all native providers uses preferred models with isM exports[`generateModelConfig fallback providers uses OpenCode Zen models when only OpenCode Zen is available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/kimi-k2.5-free", @@ -667,7 +667,7 @@ exports[`generateModelConfig fallback providers uses OpenCode Zen models when on exports[`generateModelConfig fallback providers uses OpenCode Zen models with isMax20 flag 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/kimi-k2.5-free", @@ -742,7 +742,7 @@ exports[`generateModelConfig fallback providers uses OpenCode Zen models with is exports[`generateModelConfig fallback providers uses GitHub Copilot models when only Copilot is available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "github-copilot/claude-sonnet-4.5", @@ -808,7 +808,7 @@ exports[`generateModelConfig fallback providers uses GitHub Copilot models when exports[`generateModelConfig fallback providers uses GitHub Copilot models with isMax20 flag 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "github-copilot/claude-sonnet-4.5", @@ -875,7 +875,7 @@ exports[`generateModelConfig fallback providers uses GitHub Copilot models with exports[`generateModelConfig fallback providers uses ZAI model for librarian when only ZAI is available 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/glm-4.7-free", @@ -930,7 +930,7 @@ exports[`generateModelConfig fallback providers uses ZAI model for librarian whe exports[`generateModelConfig fallback providers uses ZAI model for librarian with isMax20 flag 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/glm-4.7-free", @@ -985,7 +985,7 @@ exports[`generateModelConfig fallback providers uses ZAI model for librarian wit exports[`generateModelConfig mixed provider scenarios uses Claude + OpenCode Zen combination 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/kimi-k2.5-free", @@ -1059,7 +1059,7 @@ exports[`generateModelConfig mixed provider scenarios uses Claude + OpenCode Zen exports[`generateModelConfig mixed provider scenarios uses OpenAI + Copilot combination 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "github-copilot/claude-sonnet-4.5", @@ -1133,7 +1133,7 @@ exports[`generateModelConfig mixed provider scenarios uses OpenAI + Copilot comb exports[`generateModelConfig mixed provider scenarios uses Claude + ZAI combination (librarian uses ZAI) 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "anthropic/claude-sonnet-4-5", @@ -1194,7 +1194,7 @@ exports[`generateModelConfig mixed provider scenarios uses Claude + ZAI combinat exports[`generateModelConfig mixed provider scenarios uses Gemini + Claude combination (explore uses Gemini) 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "anthropic/claude-sonnet-4-5", @@ -1260,7 +1260,7 @@ exports[`generateModelConfig mixed provider scenarios uses Gemini + Claude combi exports[`generateModelConfig mixed provider scenarios uses all fallback providers together 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/kimi-k2.5-free", @@ -1334,7 +1334,7 @@ exports[`generateModelConfig mixed provider scenarios uses all fallback provider exports[`generateModelConfig mixed provider scenarios uses all providers together 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/kimi-k2.5-free", @@ -1408,7 +1408,7 @@ exports[`generateModelConfig mixed provider scenarios uses all providers togethe exports[`generateModelConfig mixed provider scenarios uses all providers with isMax20 flag 1`] = ` { - "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json", + "$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json", "agents": { "atlas": { "model": "opencode/kimi-k2.5-free", diff --git a/src/cli/config-manager.test.ts b/src/cli/config-manager.test.ts index 67571185a..7f84221c7 100644 --- a/src/cli/config-manager.test.ts +++ b/src/cli/config-manager.test.ts @@ -277,7 +277,7 @@ describe("generateOmoConfig - model fallback system", () => { const result = generateOmoConfig(config) // #then Sisyphus is omitted (requires all fallback providers) - expect(result.$schema).toBe("https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json") + expect(result.$schema).toBe("https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json") expect((result.agents as Record).sisyphus).toBeUndefined() }) diff --git a/src/cli/model-fallback.test.ts b/src/cli/model-fallback.test.ts index 2a40d58ea..5b36fc953 100644 --- a/src/cli/model-fallback.test.ts +++ b/src/cli/model-fallback.test.ts @@ -515,7 +515,7 @@ describe("generateModelConfig", () => { // #then should include correct schema URL expect(result.$schema).toBe( - "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json" + "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json" ) }) }) diff --git a/src/cli/model-fallback.ts b/src/cli/model-fallback.ts index 4d91ace5b..ffa9925d8 100644 --- a/src/cli/model-fallback.ts +++ b/src/cli/model-fallback.ts @@ -19,7 +19,7 @@ export type { GeneratedOmoConfig } from "./model-fallback-types" const ZAI_MODEL = "zai-coding-plan/glm-4.7" const ULTIMATE_FALLBACK = "opencode/glm-4.7-free" -const SCHEMA_URL = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json" +const SCHEMA_URL = "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/dev/assets/oh-my-opencode.schema.json"