-
Notifications
You must be signed in to change notification settings - Fork 18
feat: Finalize OCX v2 clean break #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kdcokenny
wants to merge
101
commits into
main
Choose a base branch
from
v2-clean-break
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 25 commits
Commits
Show all changes
101 commits
Select commit
Hold shift + click to select a range
7a62373
feat: finalize OCX v2 clean break
kdcokenny f774aab
chore: align registries to v2 schema
kdcokenny bd15388
chore: update examples to v2 types
kdcokenny 32ea2ee
docs: clean up v2 usage notes
kdcokenny 46e851f
docs: trim redundant parentheticals
kdcokenny 82eb684
docs: refer to lock file
kdcokenny 6dda045
docs: clarify default excludes
kdcokenny c0786ce
feat: use hash-based canonical ids
kdcokenny e53c9fe
fix: align instruction discovery with OpenCode and fix registry instr…
kdcokenny 2201860
feat: implement profile layering (global + local merge)
kdcokenny e0dd0e5
fix: remove dead CLI options from init and registry commands
kdcokenny 42b49ba
docs: remove orphaned registry version pinning references
kdcokenny 466e82d
fix: remove dead version pinning code and fix component name refs
kdcokenny 3f7bb65
fix: profile install registry resolution + remove/move --global
kdcokenny 325ba3f
fix: address reviewer feedback + schema/URL bugs
kdcokenny 735b348
fix: local kit profile URL + URL install namespace
kdcokenny 98e346b
fix: error handling and path resolution bugs
kdcokenny 8347db8
docs: fix receipt file path references
kdcokenny e1dc8eb
test: fix incorrect CLI flags in test files
kdcokenny 3abdce9
test: remove invalid --force flag from init commands
kdcokenny 27ed852
test: add --global flag to profile move/remove tests
kdcokenny d891e6b
test: fix init --registry argument order
kdcokenny 2a16cc5
test: fix profile conflict detection scope mismatch
kdcokenny 2bb840d
fix: remove unused profileDir from buildOpenCodeEnv
kdcokenny d85dc4b
fix: profile resolution and test mock registries
kdcokenny b9751ac
refactor(cli): align short-flag policy with Cargo conventions
kdcokenny 2473ecb
feat(cli): remove diff command
kdcokenny 1b8d472
fix(tests): correct plugin → plugins import paths in worktree tests
kdcokenny 6a168ac
chore: cleanup
kdcokenny f2dc3b7
refactor(utils): Consolidate duplicate utilities (#123)
kdcokenny f77f1f3
fix(config): consolidate opencode config merging to single source of …
kdcokenny 6915182
feat(cli): standardize --dry-run across all commands
kdcokenny fae9b2a
docs: comprehensive CLI.md rewrite and cross-file fixes
kdcokenny 5d3c2b6
refactor(cli): use shared options helpers and fix exit codes
kdcokenny 6e3f809
fix(cli): use accurate --force description for remove command
kdcokenny e057ff5
fix(profile): use fresh env reads for profilesDir
kdcokenny 24f70c3
fix: address critical review issues from PR #119
kdcokenny bd684cf
refactor: replace ALLOWED_PREFIXES with BLOCKED_PATHS
kdcokenny a171275
fix: improve error handling in profile clone and path validation
kdcokenny ea5dfa5
refactor: improve type safety and fix flaky test
kdcokenny 874b44a
fix: code quality improvements and cwd bug fix
kdcokenny 5f57fee
fix: resolve PR #119 review items
kdcokenny 2009aea
docs: fix PR #119 review items - path naming and section numbering
kdcokenny b90b1d7
docs: normalize plural directory paths across templates and docs
kdcokenny 351d902
fix: harden path validation and remove safety
kdcokenny 768e9bb
test: fix git-root and remove test setup
kdcokenny ea6f812
test: use path.relative for git-root test
kdcokenny 0edf2dc
fix: align receipt versioning to v1
kdcokenny db3ece4
fix: add missing relative import to git-root test
kdcokenny f3cf927
docs: remove invalid global registry verification command
kdcokenny 358e30c
docs: align npm plugin manual test expectations with runtime behavior
kdcokenny 9990d56
docs: fix npm plugin verification steps in add manual tests
kdcokenny 79903f9
docs: fix versioned npm plugin manual test command
kdcokenny ecca133
docs: clarify build output path in manual test 9.2
kdcokenny 3078c53
test: strengthen CLI coverage and reduce test noise
kdcokenny d3b2035
feat(cli): standardize V2 install-source grammar
kdcokenny 968fc90
docs(readme): simplify profile-first onboarding and demos
kdcokenny 1ce38d4
chore(demo): harden vhs recording and suppress wrangler noise
kdcokenny 529689b
docs(facades): normalize installation sections and OCX install guidance
kdcokenny e05bf37
fix: restore local .opencode install paths and harden target containment
kdcokenny a4817ac
docs: refine AGENTS.md for coding agents
kdcokenny 69f0461
chore(cli): remove confirmed dead code and backup artifacts
kdcokenny 9b0102c
chore(cli): remove unused shared force option helper
kdcokenny 01e93dd
chore(cli): remove deprecated path-safety wrappers and tests
kdcokenny da1c10c
fix(cli): enforce strict profile fail-fast resolution
kdcokenny b8b12b8
fix(cli): enforce strict --json output contracts
kdcokenny a7f8731
docs: harden manual testing workflow and add runner script
kdcokenny 397b5fc
fix(cli): preserve raw profile config bytes during clone
kdcokenny 9c7d865
test(cli): isolate add and self-* suites to prevent CI coverage flaki…
kdcokenny 262b0df
fix(cli): scope-aware profiles, flexible registry alias, and input va…
kdcokenny 72c0822
docs: make manual testing guide deterministic and idempotent
kdcokenny b9242b1
fix: align OpenCode merge parity and manual testing expectations
kdcokenny da554e9
refactor(cli): require registry alias and align docs to alias-first u…
kdcokenny 064a90c
test(cli): replace unnecessary dynamic imports in tests
kdcokenny 62ac850
docs: align manual testing wording to singular plugin key
kdcokenny 790e349
refactor(cli): make registry identity alias-first and align manual te…
kdcokenny 05da960
fix(schema): require registry name and version in manifests
kdcokenny ce19d16
chore: align registry alias terminology and tighten schema validation…
kdcokenny 235469b
docs: sync MANUAL_TESTING references and checklist counts
kdcokenny a35a659
fix(cli): replace non-null assertions with safe type narrowing in ded…
kdcokenny 29bd24a
fix(cli): resolve inline config env/file tokens before launch
kdcokenny eaa3bb6
docs: migrate OCX documentation to Mintlify with QA artifacts
kdcokenny c588250
feat(worker): proxy /docs routes to Mintlify with safe redirect handling
kdcokenny 50bf438
docs: fix agent naming, receipt references, and directory paths
kdcokenny 9c10908
fix(cli): invalidate opencode node_modules when deps change
kdcokenny d1e1927
fix(worktree): avoid iTerm temp script race and clean orphaned script…
kdcokenny 9732c44
chore(cli): bump version to 2.0.0
kdcokenny 380cb90
docs: mark manual testing complete for v2.0.0 on 2026-02-12
kdcokenny c0be584
fix: align profile schema defaults and normalize schema endpoints
kdcokenny 6e51905
refactor: enforce global-only profile UX and align docs/tests
kdcokenny 3a80e15
docs: align profile docs with global-only command requirements
kdcokenny b21725d
refactor(cli): remove OPENCODE_CONFIG_CONTENT token-resolution shim
kdcokenny d5d3595
feat(cli): add ocx migrate command for v1.4.6 to v2 receipt migration
kdcokenny 2014438
fix(cli): clarify migrate receipt terminology
kdcokenny 575286f
feat(cli): add --global migrate scope and legacy registry normalization
kdcokenny 5fbebcc
fix: resolve turbo bun lock workspace parsing and ci cache key
kdcokenny c0296dd
feat(cli): fan out --global migrate across root and all profiles
kdcokenny e04a6d8
chore(cli): add explicit preview_with_errors migrate status
kdcokenny e13f892
chore: mark main merged, keep v2 as canon
kdcokenny bb6be6e
test(cli): make self-update checksum fixture platform-agnostic
kdcokenny 7e8acb6
test(self-update): harden module mock isolation across test files
kdcokenny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| # Profile Instructions | ||
|
|
||
| <!-- Add your custom instructions for this profile here --> | ||
| <!-- These will be included when running `ocx opencode -p work` --> |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "$schema": "https://ocx.kdco.dev/schemas/ocx.json", | ||
| "registries": {}, | ||
| "renameWindow": true, | ||
| "exclude": [ | ||
| // "**/AGENTS.md", | ||
| "**/CLAUDE.md", | ||
| "**/CONTEXT.md", | ||
| "**/.opencode/**", | ||
| "**/opencode.jsonc", | ||
| "**/opencode.json" | ||
| ], | ||
| "include": [] | ||
| } |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| {} |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,29 @@ | ||
| { | ||
| "$schema": "https://registry.kdco.dev/schemas/worktree.json", | ||
| "$schema": "https://registry.kdco.dev/schemas/worktree.json", | ||
|
|
||
| // Worktree plugin configuration | ||
| // Documentation: https://github.com/kdcokenny/ocx | ||
| // Worktree plugin configuration | ||
| // Documentation: https://github.com/kdcokenny/ocx | ||
|
|
||
| "sync": { | ||
| // Files to copy from main worktree to new worktrees | ||
| // Example: [".env", ".env.local", "dev.sqlite"] | ||
| "copyFiles": [], | ||
| "sync": { | ||
| // Files to copy from main worktree to new worktrees | ||
| // Example: [".env", ".env.local", "dev.sqlite"] | ||
| "copyFiles": [], | ||
|
|
||
| // Directories to symlink (saves disk space) | ||
| // Example: ["node_modules"] | ||
| "symlinkDirs": [], | ||
| // Directories to symlink (saves disk space) | ||
| // Example: ["node_modules"] | ||
| "symlinkDirs": [], | ||
|
|
||
| // Patterns to exclude from copying | ||
| "exclude": [] | ||
| }, | ||
| // Patterns to exclude from copying | ||
| "exclude": [] | ||
| }, | ||
|
|
||
| "hooks": { | ||
| // Commands to run after worktree creation | ||
| // Example: ["pnpm install", "docker compose up -d"] | ||
| "postCreate": [], | ||
| "hooks": { | ||
| // Commands to run after worktree creation | ||
| // Example: ["pnpm install", "docker compose up -d"] | ||
| "postCreate": [], | ||
|
|
||
| // Commands to run before worktree deletion | ||
| // Example: ["docker compose down"] | ||
| "preDelete": [] | ||
| } | ||
| // Commands to run before worktree deletion | ||
| // Example: ["docker compose down"] | ||
| "preDelete": [] | ||
| } | ||
| } |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.