From fc775c14e7cf3c11a54bb47453fabcc3d26ad176 Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 22 Aug 2026 03:05:14 +0000 Subject: [PATCH] fix(create-objectstack): converge blank template docs links on the canonical host MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The scaffolded blank template's README.md linked docs.objectstack.ai (an accepted-but-unratified alias) in three places, while the root README.md already used the ruled canonical origin, https://objectstack.ai. One `npm create objectstack@latest` run therefore handed the newcomer two different documentation hostnames. Maintainer ruling, 2026-08-21: 「这个仓的文档站规范 URL 是 https://objectstack.ai」. scripts/check-published-readme-links.mjs's CANONICAL_DOCS_ORIGIN prescribes the same origin, and #10659/#10935 already converged the docs-site build config and the runtime-emitted docsUrl strings onto it — 02b3b07394 explicitly deferred the create-objectstack templates to this issue (#10321). Fixes #10321 Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_019bmVFqoQPq63zhKrxdYG1r --- .changeset/converge-blank-template-docs-host.md | 12 ++++++++++++ .../create-objectstack/src/templates/blank/README.md | 6 +++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .changeset/converge-blank-template-docs-host.md diff --git a/.changeset/converge-blank-template-docs-host.md b/.changeset/converge-blank-template-docs-host.md new file mode 100644 index 0000000000..5bed6f8098 --- /dev/null +++ b/.changeset/converge-blank-template-docs-host.md @@ -0,0 +1,12 @@ +--- +"create-objectstack": patch +--- + +Converge the blank scaffold template's `README.md` docs links on the ruled +canonical origin, `https://objectstack.ai` (maintainer ruling, 2026-08-21: +「这个仓的文档站规范 URL 是 https://objectstack.ai」; enforced by +`CANONICAL_DOCS_ORIGIN` in `scripts/check-published-readme-links.mjs`). The +template previously linked the accepted-but-unratified `docs.objectstack.ai` +alias in three places, which disagreed with the root `README.md`'s already- +canonical spelling — so a single `npm create objectstack@latest` run handed +the user two different hostnames for the same docs site. diff --git a/packages/create-objectstack/src/templates/blank/README.md b/packages/create-objectstack/src/templates/blank/README.md index 58273c816d..6f6409fc90 100644 --- a/packages/create-objectstack/src/templates/blank/README.md +++ b/packages/create-objectstack/src/templates/blank/README.md @@ -53,7 +53,7 @@ claude mcp add --transport http my-app http://localhost:3000/api/v1/mcp Set `OS_MCP_SERVER_ENABLED=false` to turn it off. This is the *serve* side — the reverse of the `mcp` connector below (which lets your app *call* other MCP -servers). See [Connect an MCP Client](https://docs.objectstack.ai/docs/ai/connect-mcp) +servers). See [Connect an MCP Client](https://objectstack.ai/docs/ai/connect-mcp) for OAuth, API keys, and which objects/actions become tools. ## Layout @@ -84,7 +84,7 @@ to `plugins:`; to drop a provider, remove its plugin. > `new ConnectorMcpPlugin({ declarativeStdio: ['node'] })`; `http` transports > need no opt-in. -See [Automation → Flows](https://docs.objectstack.ai/docs/automation/flows) for +See [Automation → Flows](https://objectstack.ai/docs/automation/flows) for the full connector and `connector_action` guide. ## Verify your changes @@ -122,7 +122,7 @@ curl -fsS http://localhost:8080/api/v1/health ``` Bare Node, Kubernetes, reverse-proxy wiring, and the required secrets are -covered in [Self-Hosted Deployment](https://docs.objectstack.ai/docs/deployment/self-hosting). +covered in [Self-Hosted Deployment](https://objectstack.ai/docs/deployment/self-hosting). ## Next steps