@wayai/cli 0.3.265 → 0.3.266
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/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28160,7 +28160,7 @@ function scaffoldPage(input) {
|
|
|
28160
28160
|
throw expected(issues.map((issue) => `page "${input.slug}": ${issue}`).join("\n"));
|
|
28161
28161
|
}
|
|
28162
28162
|
const { slug: _slug, ...written } = manifest;
|
|
28163
|
-
const header = customers ? "# The page's manifest: pages.md in the WayAI skill has every field, and its Customer Pages section\n# what a customer page may reach. Hub Users given access on the Users tab open it from their own\n# conversation's header; those an account-mode hub adds automatically are admitted but have no way in\n# from the apps yet.\n# Each call is for the person using it: add the tool it lists to tools, from a Base Toolset connection\n# whose record types declare person entries or { shared: true }, so each customer reads only their own\n# records and shared ones:\n# tools: - { connection: <a Base Toolset connection in hub.yaml>, tool: <its list tool>, notify: none }\n# It only reads. customer_writes: true lets each customer run its write tools: on their own records, and on\n# every record of a { shared: true } type, which every other customer then sees.\n" : "# The page's manifest: pages.md in the WayAI skill has every field. Add each tool the page calls to\n# tools: - { connection: <a Base Toolset connection in hub.yaml>, tool: <its tool name>, notify: none }\n";
|
|
28163
|
+
const header = customers ? "# The page's manifest: pages.md in the WayAI skill has every field, and its Customer Pages section\n# what a customer page may reach. Hub Users given access on the Users tab open it from their own\n# conversation's header; those an account-mode hub adds automatically are admitted but have no way in\n# from the apps yet.\n# Each call is for the person using it: add the tool it lists to tools, from a Base Toolset connection\n# whose record types declare person or inherit entries or { shared: true }, so each customer reads only their own\n# records and shared ones:\n# tools: - { connection: <a Base Toolset connection in hub.yaml>, tool: <its list tool>, notify: none }\n# It only reads. customer_writes: true lets each customer run its write tools: on their own records, and on\n# every record of a { shared: true } type, which every other customer then sees.\n" : "# The page's manifest: pages.md in the WayAI skill has every field. Add each tool the page calls to\n# tools: - { connection: <a Base Toolset connection in hub.yaml>, tool: <its tool name>, notify: none }\n";
|
|
28164
28164
|
const manifestYaml = header + yaml16.dump(written, YAML_DUMP_OPTIONS);
|
|
28165
28165
|
return { manifestYaml, html: starterHtml(input.slug, parsed.data.title) };
|
|
28166
28166
|
}
|