Skip to content

feat(cli): add ocu js and ocu repl - #80

Merged
iFurySt merged 1 commit into
mainfrom
feat/ocu-js-repl-cli
Sep 22, 2026
Merged

iFurySt merged 1 commit into
mainfrom
feat/ocu-js-repl-cli

Conversation

@iFurySt

@iFurySt iFurySt commented Sep 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • add one-shot ocu js with positional, stdin, file, timeout, and JSON modes
  • add persistent terminal ocu repl with bindings, multiline editor, reset, and lifecycle cleanup
  • add stable help discovery plus human/JSON ocu capabilities diagnostics
  • preserve ocu mcp as the native 9-tool compatibility surface

Runtime model

The npm CLI itself requires Node.js 18+. Once started, it reuses the current Node runtime. ocu js closes its Worker/native MCP child after one evaluation; ocu repl keeps them for the terminal session. On macOS, the separate hidden app agent may remain resident to preserve the permission identity.

Validation

  • Node contract/integration tests: 18/18
  • Swift tests: 167 passed, 1 opt-in live test skipped
  • Linux and Windows Go tests; Linux Python tests
  • 9-tool/cursor smoke suite
  • full release build for macOS universal, Linux arm64/amd64, Windows arm64/amd64
  • isolated tgz install on local macOS and Linux x64 devbox
  • positional/stdin/JSON js, persistent and multiline repl, reset, SIGTERM cleanup, real native bridge, and exact 9-tool MCP surface
  • docs, shell/Node syntax, action pinning, DSH installer, and diff checks

Notes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant