@lexq/cli 0.1.58 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AGENTS.md +5 -0
- package/README.md +1 -1
- package/dist/index.js +376 -367
- package/dist/mcp/register.d.ts +1 -1
- package/dist/mcp/register.js +374 -365
- package/package.json +7 -4
package/AGENTS.md
CHANGED
|
@@ -177,6 +177,11 @@ The MCP toolset mirrors the CLI command inventory one-to-one.
|
|
|
177
177
|
the single api-client layer.
|
|
178
178
|
- The hosted MCP server consumes this package from npm. Publish (`v*` tag) **before** redeploying it — CI cannot
|
|
179
179
|
catch that ordering.
|
|
180
|
+
- Releasing is two steps, in this order. Raise `version` in package.json inside the pull request, so a reviewer
|
|
181
|
+
sees the number beside the change that justifies it. After it merges, push the matching `v<version>` tag — that
|
|
182
|
+
tag is what publishes. A tag that disagrees with package.json is rejected before anything reaches npm.
|
|
183
|
+
- Pick the number by what breaks. On 0.x a breaking change is a minor bump (0.1 → 0.2), not a patch. Raising the
|
|
184
|
+
Node floor, a peer dependency major, or any change to what `tools/list` returns is breaking.
|
|
180
185
|
- Gates before commit: `pnpm typecheck` (zero errors), `pnpm lint` (zero warnings), `pnpm test:fact-key`,
|
|
181
186
|
`pnpm test:decimals`.
|
|
182
187
|
- Multi-line CLI help and MCP tool descriptions use `dedent` — template-literal indentation leaks into LLM context.
|