{"id":28425176,"url":"https://github.com/metamask/ocap-kernel","last_synced_at":"2025-10-16T20:42:07.816Z","repository":{"id":291823422,"uuid":"821596069","full_name":"MetaMask/ocap-kernel","owner":"MetaMask","description":"The MetaMask Ocap Kernel monorepo.","archived":false,"fork":false,"pushed_at":"2025-06-23T20:50:55.000Z","size":3474,"stargazers_count":6,"open_issues_count":22,"forks_count":4,"subscribers_count":52,"default_branch":"main","last_synced_at":"2025-06-23T21:35:44.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MetaMask.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":null,"patreon":null,"open_collective":"metamask","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2024-06-28T23:11:40.000Z","updated_at":"2025-06-23T20:50:57.000Z","dependencies_parsed_at":"2025-05-06T18:42:41.234Z","dependency_job_id":"bb74da83-e5e6-4b32-ac0c-5b6d04a9affb","html_url":"https://github.com/MetaMask/ocap-kernel","commit_stats":null,"previous_names":["metamask/ocap-kernel"],"tags_count":17,"template":false,"template_full_name":"MetaMask/metamask-module-template","purl":"pkg:github/MetaMask/ocap-kernel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Focap-kernel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Focap-kernel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Focap-kernel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Focap-kernel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MetaMask","download_url":"https://codeload.github.com/MetaMask/ocap-kernel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MetaMask%2Focap-kernel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261562551,"owners_count":23177713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2025-06-05T10:36:28.732Z","updated_at":"2025-10-16T20:42:07.796Z","avatar_url":"https://github.com/MetaMask.png","language":"TypeScript","readme":"# Ocap Kernel Monorepo\n\nWelcome to the Ocap Kernel team's monorepo! It is a work in progress.\n\n## Usage\n\nFor detailed information on how to use the OCAP Kernel, please refer to the [OCAP Kernel Usage Guide](docs/usage.md) which provides comprehensive documentation on setting up, configuring, and using the kernel in both browser and Node.js environments.\n\n### Kernel Control Panel\n\nYou can launch a browser-based Kernel Control Panel to interact with and manage vats:\n\n```bash\nyarn workspace @ocap/extension run start\n```\n\nThis will:\n\n- Launch a development server serving the extension\n- Set up a default cluster configuration\n- Serve sample vat bundles\n- Provide a UI for managing and interacting with the kernel and vats\n\nThe control panel allows you to:\n\n- Launch vats\n- View vat status\n- Test kernel functionality\n- Send messages to objects in vats\n- **Inspect the database**: The control panel includes a built-in SQLite database inspector powered by SQLite WASM, allowing you to directly view and query the kernel's database through the browser interface. This is especially valuable since the kernel uses SQLite for persistence and would otherwise be difficult to inspect.\n\n## Contributing\n\nTo get started:\n\n- `yarn install`\n- `yarn build`\n  - This will build the entire monorepo in the correct order.\n    You may need to re-run it if multiple packages have changed.\n  - Note that some packages, e.g. `extension` `shims`, have special build processes.\n\nLint using `yarn lint` or `yarn lint:fix` from the root.\n\nNote that the root package `test` script, as well as those of many packages, require\n`yarn build` to be run first.\n\n### Writing tests\n\nThe kernel's code relies extensively on SES / lockdown. Many Agoric packages fail if\nthey are executed in a non-locked down environment. For this reason, tests should\ngenerally be run under lockdown. This can, however, make it difficult to debug tests.\nFor this reason, our unit tests have a `development` mode, which can be used to\ndisable lockdown for debugging purposes. `development` mode always disables coverage\ncollection, but it does not disable lockdown in all packages. `development` mode\ntests don't have to pass, and are not run in CI; they are for local debugging\npurposes only.\n\n### Adding new packages\n\nSee [`packages/create-package/README.md`](packages/create-package/README.md).\n\n### Releasing\n\nFor information on creating releases, see the [MetaMask/core release documentation](https://github.com/MetaMask/core/blob/main/docs/contributing.md#releasing-changes).\n\n## References\n\n- [Glossary](./docs/glossary.md)\n","funding_links":["https://opencollective.com/metamask"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Focap-kernel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetamask%2Focap-kernel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetamask%2Focap-kernel/lists"}