If you discover a security vulnerability in this project, please report it responsibly:
- Do not open a public Issue for security bugs.
- Email the maintainers or use GitHub Security Advisories to report privately.
This configuration package uses OpenCode Go API keys. Please observe:
- Never commit real API keys to git — the key file
.opencode/local/opencode-go.keyis git-ignored by design. - Never paste real keys in Issues, PRs, or Discussions.
- Use the
{file:}provider option to reference the key file externally; do not inline the key inopencode.json. - If you accidentally exposed a key, rotate it immediately at opencode.ai/auth.
If you switch from the default Go plan to your own provider (Anthropic, OpenAI, etc.), the same rules apply:
- Store keys in git-ignored local files, never in tracked config.
- Use
{file:}references inopencode.json.
install.ps1/install.sh会下载依赖(pwsh/Node/jq)并写入用户配置;下载源为官方发布页与 npm registry。longloop/long-loop.ps1会在本机起opencode serve(默认 127.0.0.1,端口 4096 起顺延),并设置OPENCODE_PASSWORD做 Basic auth;不对外监听。longloop/server.js作为本地 MCP 子进程运行,只读写<项目>/.moa/longloop/下的状态文件。- 模型请求走用户配置的 provider(默认
opencode-go),本包不代理、不留存任何请求内容。 - 仓库内不含任何 key/token;
install.*只写占位符<YOUR_GO_API_KEY>。
This project is a configuration package, not runtime code. Its attack surface is limited to:
- The
opencode.jsonprovider configuration (key file path reference). - The agent
.mdfrontmatter (model IDs, no secrets).
There is no executable code shipped; all logic lives in OpenCode itself.