{"_id":"@aaplugin/platform-opencode","_rev":"2-a2e350b39e6474d3ee7cbaa1849f8f6d","name":"@aaplugin/platform-opencode","dist-tags":{"latest":"1.0.0-beta.2"},"versions":{"1.0.0-beta.1":{"name":"@aaplugin/platform-opencode","version":"1.0.0-beta.1","author":{"url":"https://github.com/wh1teAlter","name":"wh1teAlter"},"license":"MIT","_id":"@aaplugin/platform-opencode@1.0.0-beta.1","maintainers":[{"name":"wh1t3alter","email":"2369332823@qq.com"}],"homepage":"https://github.com/wh1teAlter/aaplugin#readme","bugs":{"url":"https://github.com/wh1teAlter/aaplugin/issues"},"dist":{"shasum":"2620a265e124c793ea6d443dd8109f6b83321b4c","tarball":"https://registry.npmjs.org/@aaplugin/platform-opencode/-/platform-opencode-1.0.0-beta.1.tgz","fileCount":5,"integrity":"sha512-MXg3uPsXxN6Q+p521aDH+48BfPo5K186rUvLhKAXqVzVwTFQfMNUW7ypJgxqAN2FaiSxxzEOyRuv9g6k+BqKMQ==","signatures":[{"sig":"MEYCIQC8uPYDr3XdklwrjU2pWVN8JvRktIJonFaJHkJqPvvIVgIhAP0vObDFq79dk2oY18XP1GTndglW2BBNajIgdnwja/6H","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":31015},"type":"module","_from":"file:aaplugin-platform-opencode-1.0.0-beta.1.tgz","engines":{"node":"^20.19.0 || ^22.13.0 || >=23.5.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsdown","typecheck":"tsc -p tsconfig.json"},"_npmUser":{"name":"wh1t3alter","email":"2369332823@qq.com"},"_resolved":"/private/var/folders/07/ymy0fnqn20d7p_4hkrf8z97c0000gn/T/c0990590ee1b36a6841a7f9afb28314d/aaplugin-platform-opencode-1.0.0-beta.1.tgz","_integrity":"sha512-MXg3uPsXxN6Q+p521aDH+48BfPo5K186rUvLhKAXqVzVwTFQfMNUW7ypJgxqAN2FaiSxxzEOyRuv9g6k+BqKMQ==","repository":{"url":"git+https://github.com/wh1teAlter/aaplugin.git","type":"git","directory":"packages/platforms/opencode"},"_npmVersion":"10.9.4","description":"OpenCode Platform integration for AAPlugin.","directories":{},"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.10","typescript":"^6.0.3","@types/node":"^20.19.0","@aaplugin/kit":"^1.0.0-beta.1","@aaplugin/core":"0.0.0-private"},"peerDependencies":{"@aaplugin/kit":"^1.0.0-beta.1"},"_npmOperationalInternal":{"tmp":"tmp/platform-opencode_1.0.0-beta.1_1787753756882_0.8227582813651879","host":"s3://npm-registry-packages-npm-production"}},"1.0.0-beta.2":{"_id":"@aaplugin/platform-opencode@1.0.0-beta.2","bugs":{"url":"https://github.com/wh1teAlter/aaplugin/issues"},"dist":{"shasum":"e9fe7b3b3eb11388f45d639a9061848092ff4211","tarball":"https://registry.npmjs.org/@aaplugin/platform-opencode/-/platform-opencode-1.0.0-beta.2.tgz","fileCount":5,"integrity":"sha512-NrKeGOSNwvjOITNNVAvoP1ydU/fn5b+RBgamLB5ZecjLwMXQP+HkDsNzrF6Zeqi8O4Q866m3AOe76wwRWogY1w==","signatures":[{"sig":"MEYCIQCP+Hkab2F0pQjrZx36VDfwkLiGuJidS4KbVgIt5tfOtAIhAMSCS0QTm8hhpckskFHafjUwOQzMqSPGB9jK+nw5zVbh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDULts1KrL0x+bc5O2dYS6DmTH8/ExY1Z5W6Hw3rk55uwIgAR5A1EX7JGIqleyC9IxngJzPDC8u8kCiqbrChZDqLEc="}],"unpackedSize":30694},"name":"@aaplugin/platform-opencode","type":"module","_from":"file:aaplugin-platform-opencode-1.0.0-beta.2.tgz","author":{"url":"https://github.com/wh1teAlter","name":"wh1teAlter"},"engines":{"node":"^20.19.0 || ^22.13.0 || >=23.5.0"},"exports":{".":{"types":"./dist/index.d.mts","import":"./dist/index.mjs"}},"license":"MIT","scripts":{"test":"vitest run --passWithNoTests","build":"tsdown","typecheck":"tsc -p tsconfig.json"},"version":"1.0.0-beta.2","_npmUser":{"name":"wh1t3alter","email":"2369332823@qq.com"},"homepage":"https://github.com/wh1teAlter/aaplugin#readme","_resolved":"/private/var/folders/07/ymy0fnqn20d7p_4hkrf8z97c0000gn/T/4875ab89ef01efbaa9c48650bd0ee0e6/aaplugin-platform-opencode-1.0.0-beta.2.tgz","_integrity":"sha512-NrKeGOSNwvjOITNNVAvoP1ydU/fn5b+RBgamLB5ZecjLwMXQP+HkDsNzrF6Zeqi8O4Q866m3AOe76wwRWogY1w==","repository":{"url":"git+https://github.com/wh1teAlter/aaplugin.git","type":"git","directory":"packages/platforms/opencode"},"_npmVersion":"10.9.4","description":"OpenCode Platform integration for AAPlugin.","directories":{},"maintainers":[{"name":"wh1t3alter","email":"2369332823@qq.com"}],"sideEffects":false,"_nodeVersion":"22.21.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsdown":"^0.22.14","vitest":"^4.1.11","typescript":"^6.0.3","@types/node":"^20.19.43","@aaplugin/kit":"^1.0.0-beta.2","@aaplugin/core":"0.0.0-private"},"peerDependencies":{"@aaplugin/kit":"^1.0.0-beta.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/platform-opencode_1.0.0-beta.2_1788859509953_0.40995470128860223"}}},"time":{"created":"2026-08-26T14:15:56.626Z","modified":"2026-09-08T09:25:10.287Z","1.0.0-beta.1":"2026-08-26T14:15:57.033Z","1.0.0-beta.2":"2026-09-08T09:25:10.042Z"},"bugs":{"url":"https://github.com/wh1teAlter/aaplugin/issues"},"author":{"url":"https://github.com/wh1teAlter","name":"wh1teAlter"},"license":"MIT","homepage":"https://github.com/wh1teAlter/aaplugin#readme","repository":{"url":"git+https://github.com/wh1teAlter/aaplugin.git","type":"git","directory":"packages/platforms/opencode"},"description":"OpenCode Platform integration for AAPlugin.","maintainers":[{"name":"wh1t3alter","email":"2369332823@qq.com"}],"readme":"# @aaplugin/platform-opencode\n\nOpenCode Platform package for `aaplugin`.\n\n```bash\npnpm add -D @aaplugin/kit @aaplugin/platform-opencode\n```\n\n```ts\nimport { defineConfig } from '@aaplugin/kit';\nimport openCode from '@aaplugin/platform-opencode';\n\nexport default defineConfig({\n  name: 'my-plugin',\n  version: '1.0.0',\n  description: 'Reusable AI workflows.',\n  platforms: [openCode()],\n});\n```\n\nThe package also exports the named `openCode` factory, its option types, `OpenCodePackageComponent`, `OpenCodeNativeAgentComponent`, `PLATFORM_ID`, and `PLATFORM_API_VERSION`.\n\n`OpenCodePackageComponent` is for trusted Extension contributors that need native workspace delivery. OpenCode owns its validation and rendering and does not create a synthetic Plugin Manifest for it.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}