Skip to content

armgit / qm

Public Imported from GitHub
0

Multiplayer agent harness for work.

Use @latest in the qm init bootstrap instead of a version placeholder (#41)

Joshua France7f2c916360f1
diff --git a/README.md b/README.md
index 11c4f1d5c..fee08758d 100644
--- a/README.md
+++ b/README.md
@@ -102,7 +102,7 @@ known limitations.
Create an organization-owned deployment repository that depends on `@yc-software/qm`:
```bash
-npm exec --yes --package=@yc-software/qm@<exact-version> -- \
+npm exec --yes --package=@yc-software/qm@latest -- \
qm init . --org <slug> --target <fly-or-aws>
npm install
```
diff --git a/cli/README.md b/cli/README.md
index c15e935c5..99bb94af6 100644
--- a/cli/README.md
+++ b/cli/README.md
@@ -6,7 +6,7 @@ security guarantees, target behavior, and lifecycle are in
the agent-consumable package runbook into the deployment repository.
```bash
-npm exec --yes --package=@yc-software/qm@<exact-version> -- \
+npm exec --yes --package=@yc-software/qm@latest -- \
qm init . --org acme --target aws
npm install
npm exec qm -- check
diff --git a/cli/package-lock.json b/cli/package-lock.json
index c0736c16d..a1e9d4aae 100644
--- a/cli/package-lock.json
+++ b/cli/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@yc-software/qm",
- "version": "0.1.3",
+ "version": "0.1.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@yc-software/qm",
- "version": "0.1.3",
+ "version": "0.1.4",
"license": "MIT",
"bin": {
"qm": "dist/bin/qm.js"
diff --git a/cli/package.json b/cli/package.json
index 1dc8be3a8..6961d06f3 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@yc-software/qm",
- "version": "0.1.3",
+ "version": "0.1.4",
"license": "MIT",
"description": "Control-plane CLI for portable QM deployments on Docker, Fly, and AWS.",
"type": "module",
diff --git a/cli/templates/deployment/deployment.md b/cli/templates/deployment/deployment.md
index 77526f065..cc33e60e2 100644
--- a/cli/templates/deployment/deployment.md
+++ b/cli/templates/deployment/deployment.md
@@ -57,14 +57,18 @@ contracts are scaffolded as one unit.
Require Node 24+, npm, Git, Docker with Buildx, and `openssl`.
For a repository without `qm.config.jsonc`, first confirm the hosting target
-and the derived slug, install an exact CLI version, and initialize its root:
+and the derived slug, then initialize its root with the current CLI:
```bash
-npm exec --yes --package=@yc-software/qm@<exact-version> -- \
+npm exec --yes --package=@yc-software/qm@latest -- \
qm init . --org <slug> --target <fly-or-aws> --model-provider <provider>
npm install
```
+`qm init` writes the version it resolved to as an exact dependency, so the pin
+lands in the deployment repository and its lockfile rather than in the command
+that bootstraps it.
+
`--model-provider` takes `anthropic`, `openai`, or `openrouter` and defaults to
`anthropic`. It writes `modelProvider` into the scaffolded config, which is what
promotes that provider's key from an optional fallback to a required secret.