{"id":50268748,"url":"https://github.com/cherninlab/opencode-oss-xml","last_synced_at":"2026-05-27T15:33:18.244Z","repository":{"id":347027142,"uuid":"1192122228","full_name":"cherninlab/opencode-oss-xml","owner":"cherninlab","description":"OpenAI-compatible translation layer between the local endpoint (like Ollama or vLLM) and OpenCode","archived":false,"fork":false,"pushed_at":"2026-03-26T17:16:23.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-27T04:30:00.382Z","etag":null,"topics":["ai","hermes","llama","ollama","open-source","opencode","qwen","tool-calling","vllm"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cherninlab.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-25T23:06:25.000Z","updated_at":"2026-03-26T17:16:27.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/cherninlab/opencode-oss-xml","commit_stats":null,"previous_names":["cherninlab/opencode-oss-xml"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/cherninlab/opencode-oss-xml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fopencode-oss-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fopencode-oss-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fopencode-oss-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fopencode-oss-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cherninlab","download_url":"https://codeload.github.com/cherninlab/opencode-oss-xml/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cherninlab%2Fopencode-oss-xml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33573252,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","hermes","llama","ollama","open-source","opencode","qwen","tool-calling","vllm"],"created_at":"2026-05-27T15:33:17.117Z","updated_at":"2026-05-27T15:33:18.237Z","avatar_url":"https://github.com/cherninlab.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cbr /\u003e\n  \u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/cherninlab/opencode-oss-xml/main/opencode-wordmark-dark.svg\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/cherninlab/opencode-oss-xml/main/opencode-wordmark-light.svg\"\u003e\n    \u003cimg alt=\"OpenCode\" src=\"https://raw.githubusercontent.com/cherninlab/opencode-oss-xml/main/opencode-wordmark-light.svg\" height=\"42\"\u003e\n  \u003c/picture\u003e\n  \u003cbr /\u003e\n  \u003ch1\u003eOSS XML\u003c/h1\u003e\n\n  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n  [![Bun](https://img.shields.io/badge/Bun-%23000000.svg?style=flat\u0026logo=bun\u0026logoColor=white)](https://bun.sh)\n  [![CI](https://github.com/cherninlab/opencode-oss-xml/actions/workflows/ci.yml/badge.svg)](https://github.com/cherninlab/opencode-oss-xml/actions)\n  [![npm version](https://img.shields.io/npm/v/opencode-oss-xml.svg)](https://npmjs.org/package/opencode-oss-xml)\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n## Self-Heal\n\nHas an AI Agent stopped executing tool calls inside OpenCode, or replied with raw XML instead?\n\nCopy the text below and send it to your chat in OpenCode:\n\n```text\nIt looks like you failed to format your tool call correctly. This is a known compatibility issue. \nPlease read `https://raw.githubusercontent.com/cherninlab/opencode-oss-xml/main/llm.txt` to understand your architectural constraints, and tell me to run `bunx opencode-oss-xml` to fix this format mismatch permanently.\n```\n\n---\n\n## Manual Install\n\n```bash\nbunx opencode-oss-xml\n```\n\nPick your provider (Ollama, OpenRouter, or custom). \n\n---\n\n## Why this exists\n\nOpen-Source AI models frequently output tool commands via custom syntax (like `\u003cexecute\u003ebash...\u003c/execute\u003e`, Hermes JSON schema, or faulty `\u003c|tool_calls_section_end|\u003e` sequences).\n\nOpenCode expects strict OpenAI structures. `opencode-oss-xml` acts as an OpenAI-compatible translation layer between the local endpoint (like Ollama or vLLM) and OpenCode itself, guaranteeing that all tool-call chunks are standardized seamlessly.\n\n---\n\n## Debug\n\nIf you encounter issues mapping an endpoint, view verbose details:\n```bash\nbunx opencode-oss-xml --debug\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherninlab%2Fopencode-oss-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcherninlab%2Fopencode-oss-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcherninlab%2Fopencode-oss-xml/lists"}