{"id":47640130,"url":"https://github.com/tomismeta/aperture","last_synced_at":"2026-04-04T19:08:54.934Z","repository":{"id":343328733,"uuid":"1177251463","full_name":"tomismeta/aperture","owner":"tomismeta","description":"A deterministic attention and judgment engine for agent systems.","archived":false,"fork":false,"pushed_at":"2026-03-31T22:01:04.000Z","size":7230,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-02T08:46:34.168Z","etag":null,"topics":["agent-orchestration","ai-agents","approval-workflows","attention-management","control-plane","decision-engine","human-in-the-loop","interrupt-management","judgment-engine","multi-agent","terminal-ui","typescript"],"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/tomismeta.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"docs/roadmap/README.md","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-09T21:06:57.000Z","updated_at":"2026-03-31T22:01:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tomismeta/aperture","commit_stats":null,"previous_names":["tomismeta/aperture"],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/tomismeta/aperture","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomismeta%2Faperture","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomismeta%2Faperture/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomismeta%2Faperture/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomismeta%2Faperture/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomismeta","download_url":"https://codeload.github.com/tomismeta/aperture/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomismeta%2Faperture/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31407654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["agent-orchestration","ai-agents","approval-workflows","attention-management","control-plane","decision-engine","human-in-the-loop","interrupt-management","judgment-engine","multi-agent","terminal-ui","typescript"],"created_at":"2026-04-02T00:45:19.517Z","updated_at":"2026-04-04T19:08:54.928Z","avatar_url":"https://github.com/tomismeta.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# Aperture\n\n**The attention surface for agent work.**\n\n[![npm aperture](https://img.shields.io/npm/v/%40tomismeta%2Faperture?label=npm\u0026color=2563eb)](https://www.npmjs.com/package/@tomismeta/aperture)\n[![npm core](https://img.shields.io/npm/v/%40tomismeta%2Faperture-core?label=npm%20core\u0026color=0f766e)](https://www.npmjs.com/package/@tomismeta/aperture-core)\n[![license](https://img.shields.io/badge/license-MIT-6f42c1)](./LICENSE)\n[![docs](https://img.shields.io/badge/docs-architecture%20overview-475569)](./docs/product/architecture-overview.md)\n\n\u003cimg src=\"docs/assets/demo.gif\" alt=\"Aperture demo\" width=\"1100\"\u003e\n\u003cp\u003e\u003c/p\u003e\n\u003c/div\u003e\n\nAperture is the live attention surface for humans working with agents like\nClaude Code and OpenCode.\n\nIt keeps the agent work that needs you in one place, decides what should be\n`now`, what should wait until `next`, and what should stay `ambient`, and sends\nyour answer back into the same loop.\n\n## Install The Product\n\nInstall the CLI/TUI product:\n\n```bash\nnpm install -g @tomismeta/aperture\n```\n\nLaunch Aperture:\n\n```bash\naperture\n```\n\nIf you use Claude Code, Aperture prepares Claude on first launch. Restart\nClaude Code after the first run and confirm `/hooks` loaded.\n\nIf you want OpenCode, run:\n\n```bash\nopencode serve --port 4096\nopencode attach http://127.0.0.1:4096\n```\n\nThen launch Aperture:\n\n```bash\naperture\n```\n\n## Use The SDK\n\nPackage: `@tomismeta/aperture-core`\n\n```bash\nnpm install @tomismeta/aperture-core\n```\n\nThe SDK loop is intentionally small:\n\n`ApertureEvent in via core.publish(...) or SourceEvent in via core.publishSourceEvent(...) -\u003e AttentionFrame / AttentionView out -\u003e AttentionResponse in`\n\nSee [packages/core/README.md](./packages/core/README.md).\n\n## What You Get\n\nWith `@tomismeta/aperture`:\n\n- a local CLI/TUI product\n- one shared attention surface for Claude Code and OpenCode, plus experimental Codex support from source\n- `now`, `next`, and `ambient` lanes for human attention\n- approvals, follow-ups, failures, and blocked work in one place\n- doctor, debug, completion, and uninstall commands\n- replayable capture bundles for troubleshooting real sessions\n\nWith `@tomismeta/aperture-core`:\n\n- the deterministic judgment engine inside Aperture\n- a small public SDK loop\n- the advanced `/semantic` and `/trace` entrypoints for adapter and explanation consumers\n\n## The Loop\n\n```text\n+-----------+    +-------------+    +-------------+    +-------------+    +-------------+\n|  Arrive   | -\u003e |  Translate  | -\u003e |    Judge    | -\u003e |    Show     | -\u003e |   Respond   |\n|  events   |    |    facts    |    |  attention  |    |   surface   |    |   action    |\n+-----------+    +-------------+    +-------------+    +-------------+    +-------------+\n\nagent hooks       explicit facts      does this         what the          operator decision\nand server        from raw payloads   deserve           operator          carried back\nevents                                attention now?    actually sees     to the tool\n```\n\nIf you only remember one thing, remember this:\n\n`agent events in -\u003e attention surface out -\u003e human response back`\n\n## Current Integrations\n\n### Claude Code\n\n- tool-aware permission frames\n- post-tool failure awareness\n- non-blocking completion awareness\n- waiting and input-needed awareness\n- follow-up handoff when Claude ends a turn with a real question\n\n### OpenCode\n\n- permission approvals from the server and terminal path\n- structured `question.asked` prompts\n- lightweight awareness when OpenCode is blocked waiting for a human reply\n- fallback reply handling for follow-up text questions when supported by the server event stream\n\n### Codex (experimental)\n\n- App Server supervision through `pnpm codex:run` and `pnpm codex:start`\n- experimental hooks support for the stock Codex CLI\n- end-to-end approval routing proven for supported request families\n- broader interruption coverage still depends on what Codex App Server externalizes as requests\n\nClaude Code and OpenCode are the mainline live paths today. Codex is a real but still experimental third path.\n\n## Common Product Commands\n\n```bash\naperture\naperture --capture\naperture doctor\naperture debug\naperture completion zsh\naperture --version\naperture help\naperture help opencode\naperture help uninstall\n```\n\n## From Source\n\nIf you want to work on the repo directly:\n\n```bash\ngit clone git@github.com:tomismeta/aperture.git\ncd aperture\npnpm install\npnpm release:check\n```\n\nTo launch the product from source:\n\n```bash\npnpm aperture\n```\n\n## Package Boundaries\n\n- [`@tomismeta/aperture`](https://www.npmjs.com/package/@tomismeta/aperture)\n  - the product\n  - CLI/TUI\n  - local runtime\n  - integration setup and troubleshooting\n- [`@tomismeta/aperture-core`](https://www.npmjs.com/package/@tomismeta/aperture-core)\n  - the SDK\n  - deterministic judgment engine\n  - event/frame/response loop\n\n## Links\n\n- Product package: [`@tomismeta/aperture`](https://www.npmjs.com/package/@tomismeta/aperture)\n- SDK package: [`@tomismeta/aperture-core`](https://www.npmjs.com/package/@tomismeta/aperture-core)\n- Product release notes: [docs/releases/aperture-v0.2.1.md](./docs/releases/aperture-v0.2.1.md)\n- SDK release notes: [docs/releases/aperture-core-v0.5.0.md](./docs/releases/aperture-core-v0.5.0.md)\n- Architecture overview: [docs/product/architecture-overview.md](./docs/product/architecture-overview.md)\n- Attention judgment doctrine: [docs/engine/attention-judgment-doctrine.md](./docs/engine/attention-judgment-doctrine.md)\n- Core SDK guide: [packages/core/README.md](./packages/core/README.md)\n- Product package guide: [packages/aperture/README.md](./packages/aperture/README.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomismeta%2Faperture","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomismeta%2Faperture","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomismeta%2Faperture/lists"}