@mesh-tech/mesh-cli 0.24.0 → 0.24.1
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/dist/build-info.json
CHANGED
|
@@ -553,7 +553,7 @@ function docsAudienceUngrantable(text, decl, args, docs, httpText) {
|
|
|
553
553
|
const docsAuth = objectLiteralOf(docs.get("auth"), text);
|
|
554
554
|
const clientExpr = (docsAuth ? topLevelProperties(docsAuth).get("clientId") : undefined) ??
|
|
555
555
|
(httpText ? topLevelProperties(objectLiteralOf(topLevelProperties(httpText).get("auth"), text) ?? "{}").get("clientId") : undefined);
|
|
556
|
-
const clientRoot = clientExpr ? /^([A-Za-z_$][\w$]*)\.applications\./.exec(clientExpr.trim())?.[1] : undefined;
|
|
556
|
+
const clientRoot = clientExpr ? /^([A-Za-z_$][\w$]*)\.(?:clientIds|applications)\./.exec(clientExpr.trim())?.[1] : undefined;
|
|
557
557
|
const identity = (clientRoot ? identities.find((id) => id.binding === clientRoot) : undefined) ??
|
|
558
558
|
(identities.length === 1 ? identities[0] : undefined);
|
|
559
559
|
if (!identity)
|
|
@@ -102,7 +102,9 @@ const worker = new mesh.apps.TemporalWorker("worker", {
|
|
|
102
102
|
|
|
103
103
|
// =============================================================================
|
|
104
104
|
// Docs — the API's reference site, built by the platform from the spec and
|
|
105
|
-
// the guides in docs/pages
|
|
105
|
+
// the guides in docs/pages/ (this README is its landing page — `landingPage`
|
|
106
|
+
// names another file, or `false` — and every guide is listed after it, in
|
|
107
|
+
// path order). A docs site has no hostname of its own: here it
|
|
106
108
|
// is reachable under `mesh dev`, and it is published by being read inside
|
|
107
109
|
// the Hub. To publish it, declare the API as a `mesh.apps.AppApiSurface`
|
|
108
110
|
// whose `docs` block builds this same site (`docs: { spec, pages }`) — the
|
|
@@ -5,8 +5,10 @@ title: Getting started
|
|
|
5
5
|
# Getting started with the {{titleCase name}} API
|
|
6
6
|
|
|
7
7
|
Guides for this API live in `docs/pages/` as Markdown and are published next to
|
|
8
|
-
the reference generated from `api/openapi.json`. Add a page per topic
|
|
9
|
-
|
|
8
|
+
the reference generated from `api/openapi.json`. Add a page per topic — each
|
|
9
|
+
is listed in the sidebar after the README landing page, in path order, under
|
|
10
|
+
the `title` in its front matter; the platform builds the site on every deploy.
|
|
11
|
+
Keep pages as `.md`, not `.mdx`: a
|
|
10
12
|
site an API surface declares is also read inside the Hub (the docs door),
|
|
11
13
|
which serves data, never code — an `.mdx` page fails that deploy.
|
|
12
14
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mesh-tech/mesh-cli",
|
|
3
|
-
"version": "0.24.
|
|
3
|
+
"version": "0.24.1",
|
|
4
4
|
"description": "CLI for Mesh platform development utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@mesh-tech/agent-contracts": "0.2.0",
|
|
45
|
-
"@mesh-tech/tsconfig": "2.
|
|
45
|
+
"@mesh-tech/tsconfig": "2.13.0",
|
|
46
46
|
"@mesh-tech/workflow-viz": "0.3.0",
|
|
47
47
|
"@tanstack/intent": "^0.3.6",
|
|
48
48
|
"@types/node": "^20.0.0",
|