{"_id":"@atlante/opencode-plugin","_rev":"8-fa5b359c2c87d96810a560509b8c171e","name":"@atlante/opencode-plugin","dist-tags":{"latest":"0.1.6"},"versions":{"0.1.0":{"name":"@atlante/opencode-plugin","version":"0.1.0","license":"MIT","_id":"@atlante/opencode-plugin@0.1.0","maintainers":[{"name":"cedoor","email":"me@cedoor.dev"}],"contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"homepage":"https://github.com/atlante/atlante#readme","bugs":{"url":"https://github.com/atlante/atlante/issues"},"dist":{"shasum":"261bee7f9819248332aac4070ecf98dbcd9d6a56","tarball":"https://registry.npmjs.org/@atlante/opencode-plugin/-/opencode-plugin-0.1.0.tgz","fileCount":7,"integrity":"sha512-3ryKRKrCVO13MjHEWHG/Ev6sDGB5u1t0lJ6qI8rcGcqYjq1nD9wYUef99mXLE18IQUxnDW+BTWNzZ0VyG4VmdQ==","signatures":[{"sig":"MEQCIG8NYQ9aUG4YWJNX5NfyLZFcqnkeuMvsd4i30lS/ipY5AiAmccfhN3bIPmcP4OdujCGoelZO16gs2GUjV9EmM40vNg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7636},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"8d1aed70cd6186ea64a49c0322bef3b168c26900","scripts":{"build":"tsc --project tsconfig.build.json"},"_npmUser":{"name":"cedoor","email":"me@cedoor.dev"},"repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"_npmVersion":"10.9.3","description":"Atlante OpenCode host adapter plugin","directories":{},"_nodeVersion":"22.20.0","dependencies":{"@atlante/resolver":"^0.1.0","@atlante/templates":"^0.1.0","@atlante/validator":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@opencode-ai/plugin":"^1.18.4"},"peerDependencies":{"@opencode-ai/plugin":"^1.18.4"},"_npmOperationalInternal":{"tmp":"tmp/opencode-plugin_0.1.0_1785138804651_0.3181830961561276","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@atlante/opencode-plugin","version":"0.1.1","license":"MIT","_id":"@atlante/opencode-plugin@0.1.1","maintainers":[{"name":"cedoor","email":"me@cedoor.dev"}],"contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"homepage":"https://github.com/atlante/atlante#readme","bugs":{"url":"https://github.com/atlante/atlante/issues"},"dist":{"shasum":"cb2093d8d85acf1e77d3a568b34d3c4004fe1326","tarball":"https://registry.npmjs.org/@atlante/opencode-plugin/-/opencode-plugin-0.1.1.tgz","fileCount":7,"integrity":"sha512-Tygf6Em0O5FfJlnJ8Dtix5sgdbG2WXYHp2KHBEDhMsGNqQ42v0SfbgYhU7Fr4ya3KvtnCs8GbaIVqq5WeRdtgw==","signatures":[{"sig":"MEUCIQCBrkyWnrCFp+y7pCrOM/1hHZop6z6D4MBLt0GsaAsN1QIgQP0Y6RKIaAvnbgzgUUDIfWW+ZjKYcRnwclPERyrAc+U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7636},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"df8c79321bc57786b45d2a155e95ffe1544f60d7","scripts":{"build":"tsc --project tsconfig.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c3a47d4e-1548-46e8-af80-b3869ad4c5f1"}},"repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"_npmVersion":"11.5.1","description":"Atlante OpenCode host adapter plugin","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@atlante/resolver":"^0.1.1","@atlante/templates":"^0.1.1","@atlante/validator":"^0.1.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@opencode-ai/plugin":"^1.18.4"},"peerDependencies":{"@opencode-ai/plugin":"^1.18.4"},"_npmOperationalInternal":{"tmp":"tmp/opencode-plugin_0.1.1_1785139567769_0.16919597713453105","host":"s3://npm-registry-packages-npm-production"}},"0.1.2":{"name":"@atlante/opencode-plugin","version":"0.1.2","license":"MIT","_id":"@atlante/opencode-plugin@0.1.2","maintainers":[{"name":"cedoor","email":"me@cedoor.dev"}],"contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"homepage":"https://github.com/atlante/atlante#readme","bugs":{"url":"https://github.com/atlante/atlante/issues"},"dist":{"shasum":"aec547440741cea4d37a8dac3e57c754702830a1","tarball":"https://registry.npmjs.org/@atlante/opencode-plugin/-/opencode-plugin-0.1.2.tgz","fileCount":7,"integrity":"sha512-6gGjNPfIpOCnKxVNi7A7VMpO6pwecABekx4qjRE6LnHCFZl3myC/9ZAVLL3+CudWnF9BnwTLmz4OhjqxREj8nQ==","signatures":[{"sig":"MEUCIQD4/FGsnxuJnfLtl4gI0zYFsvkB91GxVnfn4C2wtUoDmQIgJyNsMx9/tZNTGVBl+DacLtpBQvlRBhXqIFKZlZta0GM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7636},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"114a5aea4488c1b9207f6e0ab8b8865683fd0ac2","scripts":{"build":"tsc --project tsconfig.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f086ecd4-0f16-4186-9089-9d289cd2766f"}},"repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"_npmVersion":"11.5.1","description":"Atlante OpenCode host adapter plugin","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@atlante/resolver":"^0.1.2","@atlante/templates":"^0.1.2","@atlante/validator":"^0.1.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@opencode-ai/plugin":"^1.18.4"},"peerDependencies":{"@opencode-ai/plugin":"^1.18.4"},"_npmOperationalInternal":{"tmp":"tmp/opencode-plugin_0.1.2_1785140942973_0.6708299732400866","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@atlante/opencode-plugin","version":"0.1.3","license":"MIT","_id":"@atlante/opencode-plugin@0.1.3","maintainers":[{"name":"cedoor","email":"me@cedoor.dev"}],"contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"homepage":"https://github.com/atlante/atlante#readme","bugs":{"url":"https://github.com/atlante/atlante/issues"},"dist":{"shasum":"399b2789bb0b9fcb4a8fa93dd3fdf633b8ce4186","tarball":"https://registry.npmjs.org/@atlante/opencode-plugin/-/opencode-plugin-0.1.3.tgz","fileCount":7,"integrity":"sha512-Ee9WvsdAyApvF4nHqj4gbKAJWwUxMfjwd0evQ6Hyr7E1QSNMHg452dzDYxhELY/IdnehfBa8CgzaDsP6plndQQ==","signatures":[{"sig":"MEQCIGjpsjvo5xmDu/PCRe/bUzF6+LqeOy/iQqZXfLQrGWJuAiBhlWzelisYkKN0kufLC/hcztK+1exCZQAeTZDn7NYWEw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":7636},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"80eb72c8f5a3ae483ae02ec44ce743ae89bcafd7","scripts":{"build":"tsc --project tsconfig.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f086ecd4-0f16-4186-9089-9d289cd2766f"}},"repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"_npmVersion":"11.5.1","description":"Atlante OpenCode host adapter plugin","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@atlante/resolver":"^0.1.3","@atlante/templates":"^0.1.3","@atlante/validator":"^0.1.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@opencode-ai/plugin":"^1.18.4"},"peerDependencies":{"@opencode-ai/plugin":"^1.18.4"},"_npmOperationalInternal":{"tmp":"tmp/opencode-plugin_0.1.3_1785141432672_0.379402801694666","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@atlante/opencode-plugin","version":"0.1.4","license":"MIT","_id":"@atlante/opencode-plugin@0.1.4","maintainers":[{"name":"cedoor","email":"me@cedoor.dev"}],"contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"homepage":"https://github.com/atlante/atlante#readme","bugs":{"url":"https://github.com/atlante/atlante/issues"},"dist":{"shasum":"f593156140b590652b02a4919dce1b4b8de0e45c","tarball":"https://registry.npmjs.org/@atlante/opencode-plugin/-/opencode-plugin-0.1.4.tgz","fileCount":8,"integrity":"sha512-1BkHr2at0BAXixgNkSGJs9mkPbhiiHPKbN6cbaDHdkPmLUhFB/a5D8RB+uuEkQK3cMrqXWBL6tFl6ziRlfmDTQ==","signatures":[{"sig":"MEQCIHxtkE4XRWL648E5bAH9U4coLET80FoliGgt1vRPkGh6AiAfO4tIfB8JsH3bveeGL5gXVbkiXIGGWRcgWIunA9R5cw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8158},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"}},"gitHead":"978938db0748f009941e0e3e375c79b55415d09d","scripts":{"build":"tsc --project tsconfig.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f086ecd4-0f16-4186-9089-9d289cd2766f"}},"repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"_npmVersion":"11.5.1","description":"Atlante OpenCode host adapter plugin","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@atlante/resolver":"^0.1.4","@atlante/templates":"^0.1.4","@atlante/validator":"^0.1.4"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@opencode-ai/plugin":"^1.18.4"},"peerDependencies":{"@opencode-ai/plugin":"^1.18.4"},"_npmOperationalInternal":{"tmp":"tmp/opencode-plugin_0.1.4_1785142992708_0.720868860156554","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@atlante/opencode-plugin","version":"0.1.5","license":"MIT","_id":"@atlante/opencode-plugin@0.1.5","maintainers":[{"name":"cedoor","email":"me@cedoor.dev"}],"contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"homepage":"https://github.com/atlante/atlante#readme","bugs":{"url":"https://github.com/atlante/atlante/issues"},"dist":{"shasum":"70cc61c5e963427ba5475da00f1acb7c3ae6ee96","tarball":"https://registry.npmjs.org/@atlante/opencode-plugin/-/opencode-plugin-0.1.5.tgz","fileCount":10,"integrity":"sha512-y/ZcKzCHaIk5Al9xSYo/fHStzwbZA+aQcp+C7729mcGW5skKaAbi5VSONchqw67P2qQAA+m4il7YFi+SSqvKwQ==","signatures":[{"sig":"MEYCIQCPByE19N0/pXCYo1XUpxEpes7EluD9UIJPnXY+RXxYjQIhAP/3zVnGTyvJAmO93Pka38i7pHR5+m0FcYGaKSPSzXIZ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8348},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js"},"./api":{"types":"./dist/api.d.ts","import":"./dist/api.js"}},"gitHead":"7dfb2ccb965d7440392f9680cfbc8570ad07f05b","scripts":{"build":"tsc --project tsconfig.build.json"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f086ecd4-0f16-4186-9089-9d289cd2766f"}},"repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"_npmVersion":"11.5.1","description":"Atlante OpenCode host adapter plugin","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@atlante/resolver":"^0.1.5","@atlante/templates":"^0.1.5","@atlante/validator":"^0.1.5"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"@opencode-ai/plugin":"^1.18.4"},"peerDependencies":{"@opencode-ai/plugin":"^1.18.4"},"_npmOperationalInternal":{"tmp":"tmp/opencode-plugin_0.1.5_1785151433582_0.6310000206629129","host":"s3://npm-registry-packages-npm-production"}},"0.1.6":{"name":"@atlante/opencode-plugin","version":"0.1.6","license":"MIT","_id":"@atlante/opencode-plugin@0.1.6","maintainers":[{"name":"cedoor","email":"me@cedoor.dev"}],"contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"homepage":"https://github.com/atlante/atlante#readme","bugs":{"url":"https://github.com/atlante/atlante/issues"},"dist":{"shasum":"03179f23d4ca303434fc8243966ff79d4337cd46","tarball":"https://registry.npmjs.org/@atlante/opencode-plugin/-/opencode-plugin-0.1.6.tgz","fileCount":11,"integrity":"sha512-6MuYt0Nuy7doIU6zp3UOBmiVuLus+n1qaxcAKArjmofkvVTnsLlY/43qJlybK5uuvMuQFer7Rt9SBYP97kFLTQ==","signatures":[{"sig":"MEYCIQDuEO1uXsGnBHtB9+nWyh3JlTmGbwEncFYjshq/q16eEwIhAKBOmTEuXGJqF5sK+EDnrw0WWKcHi7L+e4cLun+XYb9+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":25247},"type":"module","engines":{"node":">=22"},"exports":{".":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"./api":{"types":"./dist/api.d.ts","default":"./dist/api.js"}},"gitHead":"96d0d2cd1b94146d2a1b688a73ddc8766296ad4f","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:f086ecd4-0f16-4186-9089-9d289cd2766f"}},"repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"_npmVersion":"11.5.1","description":"Atlante OpenCode host adapter plugin","directories":{},"_nodeVersion":"22.23.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"@opencode-ai/plugin":"^1.18.4"},"_npmOperationalInternal":{"tmp":"tmp/opencode-plugin_0.1.6_1785594102416_0.5312157704599572","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2026-07-27T07:53:24.502Z","modified":"2026-08-19T12:31:42.740Z","0.1.0":"2026-07-27T07:53:24.783Z","0.1.1":"2026-07-27T08:06:07.928Z","0.1.2":"2026-07-27T08:29:03.093Z","0.1.3":"2026-07-27T08:37:12.801Z","0.1.4":"2026-07-27T09:03:12.853Z","0.1.5":"2026-07-27T11:23:53.723Z","0.1.6":"2026-08-01T14:21:42.571Z"},"bugs":{"url":"https://github.com/atlante/atlante/issues"},"license":"MIT","homepage":"https://github.com/atlante/atlante#readme","repository":{"url":"git+https://github.com/atlante/atlante.git","type":"git","directory":"packages/opencode-plugin"},"description":"Atlante OpenCode host adapter plugin","contributors":[{"url":"https://github.com/cedoor","name":"cedoor","email":"me@cedoor.dev"},{"url":"https://github.com/0xjei","name":"0xjei","email":"hello@0xjei.dev"}],"maintainers":[{"email":"hello@0xjei.dev","name":"jeeiii"},{"email":"me@cedoor.dev","name":"cedoor"}],"readme":"# `@atlante/opencode-plugin`\n\nOpenCode host adapter for [Atlante](https://github.com/atlante/atlante). It\nreads and verifies the host-neutral artifact tree built by Atlante, atomically\nstages the resulting agent prompts and descriptions in the in-memory host\nconfig, and exposes skills through the `atlante_skill` tool. Requires Node.js 22\nor later.\n\n## Published package\n\nThe plugin is published to npm as `@atlante/opencode-plugin`. It ships as a\nBun-bundled artifact (the `dist/` output of `bun run build` at the repository\nroot) that inlines the internal Atlante workspaces it uses. `@opencode-ai/plugin`\nis a peer dependency: the host OpenCode installation provides it, so the plugin\nhas no runtime dependency on it.\n\nThe package exposes two entries:\n\n- `@atlante/opencode-plugin` — the default export (`AtlantePlugin`) registered\n  in `opencode.jsonc`\n- `@atlante/opencode-plugin/api` — the explicit programmatic entry, exporting\n  `injectAgents`, `createAtlantePlugin`, `AtlantePlugin`, `createSkillTool`,\n  and the plugin's artifact and host-config types\n\nImport from the `./api` entry with\n`import { injectAgents } from \"@atlante/opencode-plugin/api\"`.\n\n## Usage\n\nRegister the plugin in `opencode.jsonc`:\n\n```jsonc\n{\n  \"$schema\": \"https://opencode.ai/config.json\",\n  \"plugin\": [\"@atlante/opencode-plugin\"],\n}\n```\n\nRunning `npx @atlante/cli init` creates this registration and builds artifacts\nautomatically while preserving existing OpenCode settings. Run\n`npx @atlante/cli build` after changing the source configuration.\n\n`atlante_skill` accepts exactly `{ \"name\": \"skill-id\" }` and looks up the\nresolved root `skills` map by that name. A successful lookup returns the skill's\nrendered Markdown content only; its description is not returned by the tool.\nInvalid input, an unknown name, and an inactive, unavailable, or failed tool\nreturn an error rather than partial content. Skill content is informational\nMarkdown: the adapter does not execute it.\n\nDuring initialization, the plugin reads `.atlante/artifacts/manifest.json` and\nverifies every declared path, payload encoding, and SHA-256 digest before\nmaterialization. If artifacts are absent, malformed, unsupported, or changed,\nthe `atlante_skill` tool is omitted and the host config is unchanged. After the\nstaged result is materialized, the tool is active; a failure after\nmaterialization, including a runtime failure, moves it to the failed lifecycle\nstate. Verification and injection are fail-closed: the host config is updated\nonly from a complete verified artifact set, so a failure cannot partially\nmutate the host. The plugin never loads or renders source configuration. The\nnative `skill` tool can coexist with `atlante_skill` without either replacing\nthe other.\n","readmeFilename":"README.md"}