wydcode
v0.2.0
Published
Local cross-project memory bootstrap CLI for WYD Code
Maintainers
Readme
wydcode
Local cross-project memory bootstrap CLI for WYD Code.
Install
npm i -g wydcodeOr run without installing:
npx wydcode init30-second start
# local-first, then cloud fallback
wydcode init
# force cloud
wydcode init --cloud
# force local
wydcode init --localLink another project
cd ../another-project
wydcode linkCommands
wydcode init [--project <name>] [--api <url>] [--ws <url>] [--local] [--cloud] [--prefix <memory^project^...>]
wydcode link [--project <name>] [--prefix <memory^project^...>]
wydcode doctor [--api <url>] [--local] [--cloud] [--json]
wydcode status [--api <url>] [--local] [--cloud] [--json]
wydcode projects [--json]
wydcode version
wydcode where [--json]
wydcode helpMachine-readable output
Use --json with:
wydcode doctor --jsonwydcode status --jsonwydcode projects --jsonwydcode where --jsonwydcode version --json
Defaults
- Local API:
http://127.0.0.1:7770 - Local WS:
ws://127.0.0.1:7771 - Cloud API:
https://mumpixdb.com/benchmark - Cloud WS:
wss://mumpixdb.com/benchmark/ws
What it sets up
- Global config:
~/.wydcode/config.json - Per-project metadata:
.mumpix/project.json - Optional git hook:
.git/hooks/post-commit
Ping discovery
The CLI checks these ping candidates, in order:
<api>/v1/ping<api>/benchmark/v1/ping<api>/api/v1/ping
For the default cloud base this resolves to:
https://mumpixdb.com/benchmark/v1/ping
License
Apache-2.0
