@tendrilapp/cli 0.1.52 → 0.1.53
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/SKILL.md +1 -1
- package/dist/tendril-mcp.js +2 -0
- package/dist/tendril.js +764 -623
- package/package.json +1 -1
package/dist/SKILL.md
CHANGED
|
@@ -206,7 +206,7 @@ Batch runs (several components in one session):
|
|
|
206
206
|
metadata and context response text passed VERBATIM — responses
|
|
207
207
|
often arrive as MULTIPLE output blocks (block counts vary BY
|
|
208
208
|
TRANSPORT: the desktop server has been measured at 2-4 blocks per
|
|
209
|
-
response, the remote server at 1-
|
|
209
|
+
response, the remote server at 1-5 — never treat any count as a
|
|
210
210
|
sanity check), so `metadataParts`/`contextParts` (every block in
|
|
211
211
|
order, never hand-joined) is the normal path; `metadata`/`context`
|
|
212
212
|
only for a genuinely single-block response — plus the screenshot
|
package/dist/tendril-mcp.js
CHANGED
|
@@ -161,12 +161,14 @@ var TOOLS = [
|
|
|
161
161
|
description: "Fetch the user's living DESIGN-SYSTEM.md \u2014 the portal-assembled file describing one design system: its components with their ruler verdicts, each component's prescribed API and poses, the captured variable vocabulary, the icon inventory, and a changelog. Call it with no arguments first to LIST the design systems and their ids, then again with `ds` to fetch one (pass `out` to write the file where a design agent will read it). The file is a PROJECTION the portal re-assembles fresh on every fetch \u2014 never edit it, re-fetch it. Needs a portal session (tendril_login); it is owner-only because the vocabulary and icons are the customer's design IP.",
|
|
162
162
|
schema: z.object({
|
|
163
163
|
ds: optStr("the design system id \u2014 omit to list them"),
|
|
164
|
+
component: optStr("with ds: one component's id (from the file's inventory links) \u2014 fetches just that component's markdown page, the right scope when building with a single component"),
|
|
164
165
|
out: optStr("write the markdown to this file instead of returning it inline"),
|
|
165
166
|
portal: optStr("portal origin override for self-hosted portals (defaults to the stored session's portal)")
|
|
166
167
|
}),
|
|
167
168
|
argv: (i) => [
|
|
168
169
|
"design-system",
|
|
169
170
|
...typeof i["ds"] === "string" ? ["--ds", i["ds"]] : [],
|
|
171
|
+
...typeof i["component"] === "string" ? ["--component", i["component"]] : [],
|
|
170
172
|
...typeof i["out"] === "string" ? ["--out", i["out"]] : [],
|
|
171
173
|
...typeof i["portal"] === "string" ? ["--to", i["portal"]] : []
|
|
172
174
|
]
|