Repository navigation
fix(cli): decentralize modules, fix connector deps, release dry-run - #9
Merged
Merged
Conversation
…ease dry-run - Move connectors/transforms/loggers from devDependencies to dependencies in CLI package.json so they're available when globally installed via npm - Remove module packages from CLI dependencies — modules are now installed via npm into the user's project (orgloop add module runs npm install) - orgloop init now scaffolds a package.json for module dependencies - Fix release.sh --dry-run creating git commits and tags (now truly dry) - Fix plan command using stale global state — only compare against running engine (check PID file + process alive before reading state.json) - Fix readme-e2e test to handle running engine state correctly - Add npm module resolution tests Co-Authored-By: Claude Opus 4.6 <[email protected]>
c-h-
added a commit
that referenced
this pull request
Mar 28, 2026
Co-authored-by: Doink (OpenClaw) <[email protected]>
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 free
to 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
orgloop add module @orgloop/module-engineeringnow runsnpm installinto the user's project, resolving fromnode_modules/. First-party and third-party modules use the same flow.devDependenciestodependenciesin CLIpackage.jsonso they ship when usersnpm install -g @orgloop/cli.scripts/release.sh --dry-runno longer creates git commits or tags — all git mutations are gated behind the dry-run check.orgloop plannow checks if the engine is actually running (PID file + process alive) before comparing against saved state. Previously it used stale~/.orgloop/state.jsonfrom any prior run.orgloop initcreates a{ "private": true }package.json for module npm dependencies.Test plan
pnpm build && pnpm test && pnpm typecheck && pnpm lint— all pass (837 tests)/tmp:init→add module @orgloop/module-engineering(via npm) →doctor→plan→apply— all passnode_modules/and resolves correctly at runtimeunchangeddue to stale global state)🤖 Generated with Claude Code