{"id":50875206,"url":"https://github.com/tcamise-gpsw/opencode-avatar","last_synced_at":"2026-06-15T09:02:14.290Z","repository":{"id":351033000,"uuid":"1199889675","full_name":"tcamise-gpsw/opencode-avatar","owner":"tcamise-gpsw","description":"Avatars for Open Code Agent Sessions","archived":false,"fork":false,"pushed_at":"2026-04-13T09:02:15.000Z","size":2272,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-13T11:07:33.763Z","etag":null,"topics":["avatar","opencode","opencode-plugin"],"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/tcamise-gpsw.png","metadata":{"files":{"readme":"README-dev.md","changelog":"CHANGELOG.md","contributing":null,"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":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-02T20:18:54.000Z","updated_at":"2026-04-09T16:43:00.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tcamise-gpsw/opencode-avatar","commit_stats":null,"previous_names":["tcamise-gpsw/opencode-avatar"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/tcamise-gpsw/opencode-avatar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcamise-gpsw%2Fopencode-avatar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcamise-gpsw%2Fopencode-avatar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcamise-gpsw%2Fopencode-avatar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcamise-gpsw%2Fopencode-avatar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcamise-gpsw","download_url":"https://codeload.github.com/tcamise-gpsw/opencode-avatar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcamise-gpsw%2Fopencode-avatar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34355156,"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-06-15T02:00:07.085Z","response_time":63,"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":["avatar","opencode","opencode-plugin"],"created_at":"2026-06-15T09:02:13.658Z","updated_at":"2026-06-15T09:02:14.280Z","avatar_url":"https://github.com/tcamise-gpsw.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenCode Avatar Overlay Developer Guide\n\nThis document is the developer entry point for the repository.\n\n## Project Layout\n\n- [`app/`](app/): Tauri 2 + Vite + PixiJS overlay app\n- [`plugin/`](plugin/): OpenCode plugin, session state machine, token tracking, WebSocket server\n- [`shared/`](shared/): shared protocol and state definitions used by both sides\n- [`docs/`](docs/): architecture, configuration, release, and troubleshooting docs\n\n## Development Setup\n\nPrerequisites:\n\n- Node.js with Corepack enabled\n- `pnpm` via Corepack\n- Rust toolchain for Tauri builds\n- platform dependencies required by Tauri 2\n\nInstall dependencies:\n\n```bash\ncorepack pnpm install\n```\n\nRegister the local plugin in `~/.config/opencode/config.json`:\n\n```json\n{\n  \"plugin\": [\n    \"/absolute/path/to/opencode-avatar/plugin\"\n  ]\n}\n```\n\nOpenCode loads `plugin/dist/index.js`, so keep that build output current while developing.\n\n## Local Development Workflow\n\nRun the plugin build watcher in one terminal:\n\n```bash\ncorepack pnpm dev:plugin\n```\n\nStart OpenCode in the same environment so the plugin loads.\n\nRun the desktop app in another terminal:\n\n```bash\ncorepack pnpm --dir app tauri:dev\n```\n\nIf you only want the frontend without the Tauri shell:\n\n```bash\ncorepack pnpm dev:app\n```\n\nDefaults expect the plugin WebSocket server at `ws://127.0.0.1:2728`.\n\n## Build And Test\n\nBuild the workspace:\n\n```bash\ncorepack pnpm build\n```\n\nRun tests:\n\n```bash\ncorepack pnpm test\n```\n\nBuild the packaged Tauri app only:\n\n```bash\ncorepack pnpm --dir app tauri:build\n```\n\n## Important Dev Note\n\nAfter plugin source changes:\n\n1. rebuild `plugin/dist/`\n2. restart the relevant OpenCode processes\n\nOtherwise OpenCode may still be running older plugin code.\n\n## Documentation\n\n- [Architecture Overview](docs/architecture.md)\n- [Configuration Guide](docs/configuration.md)\n- [Release Guide](docs/release.md)\n- [Troubleshooting Guide](docs/troubleshooting.md)\n\n## CI And Releases\n\n- [CI workflow](.github/workflows/ci.yml): runs tests and build validation on pull requests and `main`\n- [Semantic PR title workflow](.github/workflows/semantic-pr-title.yml): enforces conventional-commit PR titles\n- [Commitlint workflow](.github/workflows/commitlint.yml): enforces conventional commits across pushed and pull-request commit ranges\n- [Release Please workflow](.github/workflows/release-please.yml): versions the repo from conventional commits and creates release PRs\n- [Release assets workflow](.github/workflows/release-assets.yml): builds the `.dmg` and plugin bundle and uploads them to published GitHub Releases\n\nPublished artifacts are distributed from [GitHub Releases](https://github.com/tcamise-gpsw/opencode-avatar/releases).\n\nPreferred format examples:\n\n- `feat(app): add maximize mode`\n- `fix(plugin): clear stale tool state`\n- `docs(readme): clarify installation`\n\n## Operational Signals\n\nExpected success signals during development:\n\n- OpenCode loads the plugin and `~/.opencode-avatar/logs/plugin.log` contains `plugin_ready`\n- the overlay stops reconnecting and begins rendering robots for active sessions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcamise-gpsw%2Fopencode-avatar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcamise-gpsw%2Fopencode-avatar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcamise-gpsw%2Fopencode-avatar/lists"}