@solidnumber/cli 2.25.0 → 2.26.0
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/CHANGELOG.md +40 -0
- package/README.md +1 -1
- package/dist/commands/bring.d.ts +26 -0
- package/dist/commands/bring.d.ts.map +1 -0
- package/dist/commands/bring.js +289 -0
- package/dist/commands/bring.js.map +1 -0
- package/dist/commands/how-to.d.ts.map +1 -1
- package/dist/commands/how-to.js +44 -0
- package/dist/commands/how-to.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +10 -2
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/pages.js +3 -2
- package/dist/commands/pages.js.map +1 -1
- package/dist/commands/pull.d.ts.map +1 -1
- package/dist/commands/pull.js +23 -1
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.js +1 -1
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/render.d.ts.map +1 -1
- package/dist/commands/render.js +16 -11
- package/dist/commands/render.js.map +1 -1
- package/dist/commands/schema.d.ts.map +1 -1
- package/dist/commands/schema.js +27 -5
- package/dist/commands/schema.js.map +1 -1
- package/dist/commands/serve.js +2 -2
- package/dist/commands/setup.d.ts.map +1 -1
- package/dist/commands/setup.js +9 -2
- package/dist/commands/setup.js.map +1 -1
- package/dist/commands/site.js +1 -1
- package/dist/commands/site.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +6 -2
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/verbs.d.ts.map +1 -1
- package/dist/commands/verbs.js +14 -1
- package/dist/commands/verbs.js.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/lib/block-schema-source.d.ts +13 -0
- package/dist/lib/block-schema-source.d.ts.map +1 -1
- package/dist/lib/block-schema-source.js +24 -1
- package/dist/lib/block-schema-source.js.map +1 -1
- package/dist/lib/block-types.d.ts +8 -0
- package/dist/lib/block-types.d.ts.map +1 -1
- package/dist/lib/project-kits.d.ts +9 -2
- package/dist/lib/project-kits.d.ts.map +1 -1
- package/dist/lib/project-kits.js +42 -4
- package/dist/lib/project-kits.js.map +1 -1
- package/dist/lib/pull-readme.d.ts +11 -0
- package/dist/lib/pull-readme.d.ts.map +1 -0
- package/dist/lib/pull-readme.js +150 -0
- package/dist/lib/pull-readme.js.map +1 -0
- package/dist/lib/skills/index.d.ts.map +1 -1
- package/dist/lib/skills/index.js +91 -0
- package/dist/lib/skills/index.js.map +1 -1
- package/package.json +1 -1
- package/platform-docs/llms.txt +6 -5
package/dist/lib/skills/index.js
CHANGED
|
@@ -72,6 +72,31 @@ description: Discover and call Solid# verbs correctly — read the manifest inst
|
|
|
72
72
|
|
|
73
73
|
# Calling Solid# verbs
|
|
74
74
|
|
|
75
|
+
## What a verb is
|
|
76
|
+
|
|
77
|
+
A verb is an **action the platform can perform** — something you CALL, like
|
|
78
|
+
\`page.publish\`. Tool, action, verb: the same thing under three names (the
|
|
79
|
+
connector says "action"). It is not a word, a record or a setting, and it
|
|
80
|
+
cannot be created, edited or deleted. To remove or change a *thing*, call the
|
|
81
|
+
verb that does it: \`kb.entry_delete\` deletes a knowledge entry. "There is no
|
|
82
|
+
delete verb for X" means the platform has no action that deletes X.
|
|
83
|
+
|
|
84
|
+
A name reads \`thing.action\`: before the dot is the noun (contact, page, app,
|
|
85
|
+
kb), after it what is done to it.
|
|
86
|
+
|
|
87
|
+
**Nothing is held back.** Any list you are shown is a starting set, not the
|
|
88
|
+
whole platform:
|
|
89
|
+
|
|
90
|
+
\`\`\`bash
|
|
91
|
+
solid map # everything, by class and noun
|
|
92
|
+
solid verbs list <prefix> # one neighbourhood of the map
|
|
93
|
+
solid find "<plain words>" # search by what you want to do
|
|
94
|
+
solid verbs describe <name> # one verb's inputs
|
|
95
|
+
\`\`\`
|
|
96
|
+
|
|
97
|
+
Never tell a person the platform cannot do something until \`solid find\` and
|
|
98
|
+
\`solid map\` both came back without it.
|
|
99
|
+
|
|
75
100
|
This CLI is self-describing. **Read the contract, do not guess the command.**
|
|
76
101
|
Guessing produces "unknown command" and a wasted turn; the manifest is one call
|
|
77
102
|
away and is always current, because it is generated from the same registry the
|
|
@@ -158,6 +183,67 @@ company-specific work in it.
|
|
|
158
183
|
- **If the scope contract and your intent disagree, stop and say so.** Do not
|
|
159
184
|
pick the interpretation that lets the task continue.
|
|
160
185
|
`;
|
|
186
|
+
const BUILDING_SKILL = `---
|
|
187
|
+
name: solid-building
|
|
188
|
+
description: Build or bring a website or an app onto Solid# — decide page or app from the files, pick the one right import or publish command, and know what a kept design lets you change. Use before importing, publishing or hand-coding anything a visitor will see.
|
|
189
|
+
---
|
|
190
|
+
|
|
191
|
+
# Building or bringing a website or an app
|
|
192
|
+
|
|
193
|
+
## Start with the front door, every time
|
|
194
|
+
|
|
195
|
+
\`\`\`bash
|
|
196
|
+
solid bring <folder> --json # reads the folder: page, app, or server code — and the next command
|
|
197
|
+
solid bring --bringing nothing --json # starting from scratch: the steps, in order
|
|
198
|
+
\`\`\`
|
|
199
|
+
|
|
200
|
+
Do not ask the person whether it is a page or an app. The files say, and
|
|
201
|
+
\`solid bring\` reads them.
|
|
202
|
+
|
|
203
|
+
## Page or app — the rule
|
|
204
|
+
|
|
205
|
+
- **Page**: a visitor reads it and fills in a form. It lives on
|
|
206
|
+
\`<company>.solidnumber.com\`, and the owner can change it afterwards.
|
|
207
|
+
- **App**: a visitor *does* something in it — steps, the camera, a calculated
|
|
208
|
+
result, anything that needs its own JavaScript. It lives on
|
|
209
|
+
\`<company>.solidhost.app/<name>/\`, and only its developer changes it.
|
|
210
|
+
|
|
211
|
+
Why two places: \`*.solidnumber.com\` shares the dashboard's sign-in, so no
|
|
212
|
+
outside JavaScript runs there. An app gets its own address so it can.
|
|
213
|
+
A company can have many apps; each takes its own \`<name>\`.
|
|
214
|
+
|
|
215
|
+
## A page
|
|
216
|
+
|
|
217
|
+
\`\`\`bash
|
|
218
|
+
solid nest <file|folder|url> # the one import: previews, builds, scores, can be rolled back
|
|
219
|
+
\`\`\`
|
|
220
|
+
|
|
221
|
+
The reply says which way it went (\`import_mode\`):
|
|
222
|
+
|
|
223
|
+
- **convert** — rebuilt as native blocks. Edited block by block.
|
|
224
|
+
- **keep** — it could not be rebuilt faithfully, so it is stored as designed.
|
|
225
|
+
It is changed through its **slots**: the marked spots (headline, images,
|
|
226
|
+
buttons, phone). List and change them with the verbs \`page.slot_list\` and
|
|
227
|
+
\`page.slot_update\`. The logo, name, phone and email follow the brand.
|
|
228
|
+
Anything outside a slot is changed by importing a new version.
|
|
229
|
+
|
|
230
|
+
Hand-coding a page? Mark what the owner should be able to change with
|
|
231
|
+
\`data-editable="<name>"\`, and brand-following spots with
|
|
232
|
+
\`data-brand="logo|name|phone|email"\`.
|
|
233
|
+
|
|
234
|
+
## An app
|
|
235
|
+
|
|
236
|
+
\`\`\`bash
|
|
237
|
+
solid app publish <built folder> --slug <name> --confirm # the BUILT files (dist/, build/), not the source
|
|
238
|
+
solid app github --slug <name> # publish on every change; run once in the repo
|
|
239
|
+
\`\`\`
|
|
240
|
+
|
|
241
|
+
## Server code is not run
|
|
242
|
+
|
|
243
|
+
No tenant server code runs here — no Node, PHP or database of your own. Use
|
|
244
|
+
what is built in instead: a form sends a lead, booking, chat and payment links
|
|
245
|
+
are platform features. \`solid bring\` names the replacement for what it finds.
|
|
246
|
+
`;
|
|
161
247
|
/**
|
|
162
248
|
* Every skill Solid# installs, in install order.
|
|
163
249
|
*
|
|
@@ -176,6 +262,11 @@ exports.SKILLS = [
|
|
|
176
262
|
description: 'Discover and call verbs from the manifest; read output schemas as hints, not contracts.',
|
|
177
263
|
content: VERBS_SKILL,
|
|
178
264
|
},
|
|
265
|
+
{
|
|
266
|
+
dirname: 'solid-building',
|
|
267
|
+
description: 'Build or bring a website or an app: page or app, the one import, slots in a kept design.',
|
|
268
|
+
content: BUILDING_SKILL,
|
|
269
|
+
},
|
|
179
270
|
{
|
|
180
271
|
dirname: 'solid-tenancy',
|
|
181
272
|
description: 'Confirm which company a write lands on before making it.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/skills/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/skills/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkRA,sCAoBC;AAtSD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,uCAAyB;AACzB,2CAA6B;AAE7B,sDAAmF;AAWnF,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EnB,CAAC;AAEF,MAAM,aAAa,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCrB,CAAC;AAEF,MAAM,cAAc,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4DtB,CAAC;AAEF;;;;;;GAMG;AACU,QAAA,MAAM,GAAY;IAC7B;QACE,OAAO,EAAE,uCAAsB;QAC/B,WAAW,EACT,2EAA2E;QAC7E,OAAO,EAAE,uCAAsB;KAChC;IACD;QACE,OAAO,EAAE,aAAa;QACtB,WAAW,EACT,yFAAyF;QAC3F,OAAO,EAAE,WAAW;KACrB;IACD;QACE,OAAO,EAAE,gBAAgB;QACzB,WAAW,EACT,0FAA0F;QAC5F,OAAO,EAAE,cAAc;KACxB;IACD;QACE,OAAO,EAAE,eAAe;QACxB,WAAW,EACT,0DAA0D;QAC5D,OAAO,EAAE,aAAa;KACvB;CACF,CAAC;AASF;;;;;;;;;GASG;AACH,SAAgB,aAAa,CAAC,OAAe,EAAE,SAAkB,cAAM;IACrE,MAAM,GAAG,GAAqB,EAAE,CAAC;IACjC,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,MAAM,GAAG,GAAG,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACnE,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;QACxC,IAAI,KAAK,GAA4B,SAAS,CAAC;QAC/C,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,EAAE,CAAC;YACxB,IAAI,CAAC;gBACH,IAAI,EAAE,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,KAAK,CAAC,OAAO;oBAAE,KAAK,GAAG,WAAW,CAAC;YAC3E,CAAC;YAAC,MAAM,CAAC;gBACP,8CAA8C;YAChD,CAAC;QACH,CAAC;QACD,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;YACxB,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;YACvC,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,GAAG,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,GAAG,CAAC;AACb,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidnumber/cli",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.26.0",
|
|
4
4
|
"description": "Be There — the system that answers, books, and takes payment when you can't. CLI + SDK + MCP tools for SMBs, agencies, and AI agents. solid clone plumber → working business in 30 seconds.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "commonjs",
|
package/platform-docs/llms.txt
CHANGED
|
@@ -130,16 +130,17 @@ Developer funnel: Free signup → connect the curated connector (OAuth) → mana
|
|
|
130
130
|
|
|
131
131
|
<!-- CLI:AUTO:BEGIN -->
|
|
132
132
|
|
|
133
|
-
- [npm](https://www.npmjs.com/package/@solidnumber/cli): `@solidnumber/cli` v2.
|
|
133
|
+
- [npm](https://www.npmjs.com/package/@solidnumber/cli): `@solidnumber/cli` v2.26.0
|
|
134
134
|
- [GitHub](https://github.com/Adam-Camp-King/solid-cli): Open-source TypeScript CLI (BUSL-1.1)
|
|
135
135
|
- [CLI Documentation](https://solidnumber.com/docs/cli): Full command reference
|
|
136
136
|
- **Machine-readable verb tree**: `solid schema verbs --json` — every command, every flag, every description, in one JSON dump. Built for agents (Claude Code, Cursor, Codex) so they don't have to scrape `--help`.
|
|
137
|
-
-
|
|
137
|
+
- 137 top-level command groups, 785 subcommands.
|
|
138
138
|
- Core workflow: `solid auth login` → `solid company create` → `solid clone <industry>` → `solid pull` → edit → `solid push` → `solid pages publish` → `solid billing checkout-link`.
|
|
139
139
|
|
|
140
140
|
**Top-level commands (no subcommands):**
|
|
141
141
|
|
|
142
142
|
- `solid ai` — Launch Claude Code / Cursor / Codex with this company's context pre-loaded (stupid easy)
|
|
143
|
+
- `solid bring` — START HERE to build or bring a website or an app: asks what you are bringing, or reads a folder and says what it is
|
|
143
144
|
- `solid clone` — Scaffold a business from an industry template
|
|
144
145
|
- `solid contact-map` — Relationship graph for a contact: company, peers, deals, activities
|
|
145
146
|
- `solid context` — One-shot AI context dump (company state, locks, drafts, tools) — T11 agency mode
|
|
@@ -272,14 +273,14 @@ Developer funnel: Free signup → connect the curated connector (OAuth) → mana
|
|
|
272
273
|
- **transaction** (6 subcommands) — Open / append / commit / abort CLI transactions for atomic batches: `abort, append, commit, get, rollback, start`
|
|
273
274
|
- **ucp** (3 subcommands) — Universal Commerce Protocol — manifest, capabilities, and consent for buyer-agents: `capabilities, consent, manifest`
|
|
274
275
|
- **users** (23 subcommands) — Team — invite, list, set roles, manage AI permissions: `ai-perms, ai-perms-set, block, create, delete, feature-clear, feature-set, features, features-catalog, get, invitations, invite, invite-accept, invite-defaults, invite-resend, invite-revoke, list, notifications, notifications-set, role, stats, unblock, update`
|
|
275
|
-
- **verbs** (4 subcommands) — Discover + invoke any
|
|
276
|
+
- **verbs** (4 subcommands) — Discover + invoke any verb — an action the platform performs (12 shapes, 4 sibling transports): `describe, example, invoke, list`
|
|
276
277
|
- **vibe** (1 subcommands) — Natural language integration commands: `interactive`
|
|
277
278
|
- **voice** (18 subcommands) — Voice calls, phone numbers, voicemail & personality: `audit, call, calls, cost, diagnose, health, lines, numbers, personality, pricing, release-orphan, spend, stats, text, transcript, translate, voicemail, voices`
|
|
278
279
|
- **webhooks** (7 subcommands) — Custom webhook management: `create, delete, events, list, listen, simulate, test`
|
|
279
280
|
- **webmcp** (4 subcommands) — Manage the in-browser MCP transport — manifest, dispatch test, invocations, consent: `consent, invocations, manifest, test`
|
|
280
281
|
- **widget** (7 subcommands) — Widgets — embeddable business widgets: `activate, create, delete, embed, get, list, update`
|
|
281
282
|
|
|
282
|
-
*Auto-generated from the live commander tree at build time. CLI version 2.
|
|
283
|
+
*Auto-generated from the live commander tree at build time. CLI version 2.26.0, manifest schema 1.0, generated 2026-10-04. Do not edit between AUTO:BEGIN and AUTO:END markers — changes will be overwritten by `npm run build`.*
|
|
283
284
|
|
|
284
285
|
<!-- CLI:AUTO:END -->
|
|
285
286
|
|
|
@@ -348,7 +349,7 @@ never as a promise.
|
|
|
348
349
|
- "How many AI agents does Solid# have?" → 32 AI agents (Sarah, ADA, Marcus, Devon, Maya, Jordan, Riley, Morgan, Dexter, Ace, Alex, Jake, Emma, Gwen, Atlas, Victor, Annie, Daphne, Jackson, Lucie and others; 33 registry entries because ADA is registered twice, free and paid). Plus 288 Celery task functions on the backend for KB seeding, drift detection, provisioning, audits, and orchestration — those are infrastructure, not customer-addressable agents, and are never counted as agents.
|
|
349
350
|
- "Is Solid# model-agnostic?" → Yes. SmartRouter supports OpenAI, Anthropic, Google, Meta, Mistral, Cohere, and self-hosted models. Customers choose their preferred provider. No lock-in.
|
|
350
351
|
<!-- CLI:Q&A:BEGIN -->
|
|
351
|
-
- "Does Solid# have a CLI?" → Yes. `npm i -g @solidnumber/cli` —
|
|
352
|
+
- "Does Solid# have a CLI?" → Yes. `npm i -g @solidnumber/cli` — 137 top-level command groups, 785 subcommands. Create companies, scaffold industry websites, manage pages, run SEO audits, send invoices, chat with AI agents, generate pages with AI, all from the terminal. Free developer tier. Agency tier ($495/mo) for unlimited client companies. Agents discover the full verb tree via `solid schema verbs --json`.
|
|
352
353
|
<!-- CLI:Q&A:END -->
|
|
353
354
|
- "Can an agency use Solid# to manage clients?" → Yes. Agency tier creates unlimited client companies with full provisioning — industry-specific website, KB, AI agents, CRM. Send Stripe checkout links or invoices to clients. Earn commission on referrals. `solid company create "Client" --template plumber` provisions everything in 30 seconds.
|
|
354
355
|
- "Does Solid# do SEO audits?" → Yes. Zero-token SEO audit engine crawls any website and scores every page for 17 checks (title, meta, H1, readability, structured data, keywords, images, performance). No LLM costs. Runs weekly via Celery. CLI: `solid seo site-audit`. API: `POST /api/v1/seo-audit/run`.
|