Uh oh!
There was an error while loading. Please reload this page.
Publish OpenCode plugin to npm as @dynamicagency/throughline-opencode - #60
Merged
Conversation
…ne-opencode Cuts v0.14.0 and repackages .opencode-plugin to ship compiled dist/ instead of TypeScript source, so opencode.json can install it by package name instead of a local checkout path. README/docs updated to the one-line install; the local-path flow stays documented as a fallback for testing unreleased changes. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Bxkq4jddjGhFynxtViiQxx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
.opencode-pluginto publish compileddist/(not TS source) under@dynamicagency/throughline-opencode, with full package metadata,publishConfig.access: public,prepublishOnlybuild, and a package-level LICENSE/README.{ "plugin": ["@dynamicagency/throughline-opencode"] }install, matching Claude Code/Codex's install shape; local-path install kept as a documented fallback for testing unreleased changes (now needs a build first, sincemainpoints at gitignoreddist/).Closes#59
Test plan
npm run typecheck && npm run build && npm testin.opencode-plugin/- 93/93 tests passnpm pack --dry-run- tarball contains onlydist/,package.json,README.md,LICENSE(nosrc/, no test files)opencode run) against the extracted dist-only package - buffer capture worked, zero.capture-errors, and the injected session-start block was confirmed live in a real turn (not just the OpenCode title-generation pass) with the correct## throughline v0.14.0version string/local-ci --strict- all checks pass (shellcheck, manifest validation, 3-way plugin version agreement, hook tests, opencode plugin build+test)npm publishand a fresh OpenCode install by package name (registry install path) - manual step after merge, tracked as this PR's remaining follow-through🤖 Generated with Claude Code
https://claude.ai/code/session_01Bxkq4jddjGhFynxtViiQxx