mirror of
https://github.com/profullstack/logicsrc.git
synced 2026-10-02 20:57:03 +00:00
logicsrc CLI 0.2.0: every LogicSRC tool is a word after logicsrc (#157)
OpenContext, OpenCreds, OpenOntology and OpenPRD were already registered under the umbrella. Three were not: - `logicsrc openmcp …`: OpenMCP lives in its own repository, so it is a dependency (@logicsrc/openmcp ^0.3.1, which exports ./cli for this) and every argument goes untouched to the same main the standalone binary runs. Imported on first use, because the catalog is node:sqlite (Node 24) while the rest of the CLI runs on 18; below the floor that one word says so and offers the standalone installer, which brings its own Node. - `logicsrc openspec <anything else>`: import, export and change stay ours; any other word (init, list, validate, archive, show) runs OpenSpec.dev's own CLI (@fission-ai/openspec) as the group's default subcommand, flags intact. One command for a repo in compatibility mode, and the OpenSpec.dev half is upstream itself rather than a copy that would drift. - `logicsrc mcp`: the LogicSRC MCP server (@profullstack/logicsrc-mcp) over stdio, spawned as a child because it owns the process's stdio. build:cli now builds that workspace. README gets a table of every word and the standalone name it mirrors; the OpenMCP spec page and doc mention the umbrella form. Claude-Session: https://claude.ai/code/session_01Qh2dieNyPZ4Hx5g3XNJ1Eo Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
parent
0f6326e910
commit
8951e824d5
11 changed files with 1466 additions and 12 deletions
18
README.md
18
README.md
|
|
@ -148,9 +148,25 @@ binary. See the [specification](docs/opencontext/spec.md), [CLI](docs/opencontex
|
|||
[SDK](docs/opencontext/sdk.md), [security model](docs/opencontext/security.md), and
|
||||
[conformance guide](docs/opencontext/conformance.md).
|
||||
|
||||
## One command for every LogicSRC tool
|
||||
|
||||
`logicsrc` is the umbrella: every LogicSRC standard that has a CLI is a word after it, and the word runs the same code as the standalone command, so the two cannot drift.
|
||||
|
||||
```bash
|
||||
logicsrc vault … # OpenCreds (also `opencreds`)
|
||||
logicsrc prd … # OpenPRD
|
||||
logicsrc ontology … # OpenOntology
|
||||
logicsrc context … # OpenContext (also `opencontext`)
|
||||
logicsrc openmcp … # OpenMCP: relays, find, call, add, probe, serve (also `openmcp`)
|
||||
logicsrc openspec … # import, export, change; any other word is OpenSpec.dev's own CLI (init, list, validate, archive, show)
|
||||
logicsrc mcp # the LogicSRC MCP server over stdio (also `logicsrc-mcp`)
|
||||
```
|
||||
|
||||
`openmcp` is the one that lives in its own repository ([logicsrc/openmcp](https://github.com/logicsrc/openmcp)); it is a dependency here and its `main` is called with your arguments untouched. It needs Node 24 (`node:sqlite`); on an older Node that one word says so and the rest of the CLI keeps working. The standalone install, which brings its own Node 24, is `curl -fsSL https://openmcp.logicsrc.com/install.sh | sh`.
|
||||
|
||||
## MCP
|
||||
|
||||
LogicSRC exposes a standards-focused MCP server as `@profullstack/logicsrc-mcp`.
|
||||
LogicSRC exposes a standards-focused MCP server as `@profullstack/logicsrc-mcp`, and `logicsrc mcp` runs it.
|
||||
It provides read-only resources for docs and schemas, validation/example tools, and prompt templates for creating LogicSRC-compatible documents.
|
||||
|
||||
## v1.0.0 Priorities
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue