Author SHA1 Message Date
John Smith 8de5c45dd5 0.1.1 2026-10-10 18:27:25 -04:00
John Smith 1447e5080f fix(release): bin path without ./ prefix so npm keeps the c4o binary
npm strips bin entries in ./ form ('bin[c4o] was invalid and removed').
Verified with npm publish --dry-run: zero warnings.
2026-10-10 18:27:02 -04:00
John Smith ee1944f0d4 chore(release): scope package as @heretek-ai/claude-4-opencode for org publishing 2026-10-10 18:23:14 -04:00
John Smith 99bb5930bf chore(release): 0.1.0, MIT license, OIDC trusted-publishing workflow
- version 0.0.1 -> 0.1.0, license MIT
- release.yml on v* tags with id-token:write, pinned actions
2026-10-10 18:20:28 -04:00
BillyOutlast 82c73a224b Merge pull request #1 from Heretek-AI/plugin-compat-layer
feat: run Claude Code plugins and marketplaces on opencode v2
2026-10-10 17:16:34 -04:00
3 changed files with 66 additions and 3 deletions

No files matched your search

+41
View File
@@ -0,0 +1,41 @@
name: Release
# Publishes to npm via OIDC trusted publishing (no long-lived tokens).
# First publish is done locally; afterwards, pushing a `v*` tag releases.
# npmjs.com → package Settings → Trusted Publisher must list:
# org/user: Heretek-AI, repo: claude-4-opencode, workflow: release.yml
on:
push:
tags:
- "v*"
workflow_dispatch:
permissions:
id-token: write # Required for npm OIDC
contents: read
jobs:
publish:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
with:
persist-credentials: false
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
with:
bun-version: 1.4.2
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
package-manager-cache: false # never use caching in release builds
- run: bun install --frozen-lockfile
- run: bun run format:check
- run: bun run typecheck
- run: bun run test
- run: bun run build
# Provenance is automatic with trusted publishing; no --provenance flag needed.
# No NODE_AUTH_TOKEN: authentication comes from the OIDC id-token.
- run: npm publish --access public
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2026 Heretek-AI
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+4 -3
View File
@@ -1,14 +1,15 @@
{
"name": "claude-4-opencode",
"version": "0.0.1",
"name": "@heretek-ai/claude-4-opencode",
"version": "0.1.1",
"description": "Run Claude Code plugins and marketplaces on opencode v2",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/Heretek-AI/claude-4-opencode.git"
},
"bin": {
"c4o": "./dist/cli.js"
"c4o": "dist/cli.js"
},
"exports": {
".": "./dist/server.js",