@solidnumber/cli 2.11.17 → 2.11.20
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/README.md +1 -1
- package/dist/client.d.ts +38 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +66 -0
- package/dist/client.js.map +1 -0
- package/dist/commands/apply.d.ts +18 -0
- package/dist/commands/apply.d.ts.map +1 -0
- package/dist/commands/apply.js +149 -0
- package/dist/commands/apply.js.map +1 -0
- package/dist/commands/signal.d.ts +16 -1
- package/dist/commands/signal.d.ts.map +1 -1
- package/dist/commands/signal.js +126 -27
- package/dist/commands/signal.js.map +1 -1
- package/dist/index.js +18 -5
- package/dist/index.js.map +1 -1
- package/dist/lib/api-client.d.ts +20 -3
- package/dist/lib/api-client.d.ts.map +1 -1
- package/dist/lib/api-client.js +56 -7
- package/dist/lib/api-client.js.map +1 -1
- package/dist/lib/apply/engine.d.ts +87 -0
- package/dist/lib/apply/engine.d.ts.map +1 -0
- package/dist/lib/apply/engine.js +277 -0
- package/dist/lib/apply/engine.js.map +1 -0
- package/dist/lib/apply/registry.d.ts +32 -0
- package/dist/lib/apply/registry.d.ts.map +1 -0
- package/dist/lib/apply/registry.js +54 -0
- package/dist/lib/apply/registry.js.map +1 -0
- package/dist/lib/editor-preflight.d.ts +3 -0
- package/dist/lib/editor-preflight.d.ts.map +1 -1
- package/dist/lib/editor-preflight.js +67 -5
- package/dist/lib/editor-preflight.js.map +1 -1
- package/dist/lib/esm-import.d.ts +2 -0
- package/dist/lib/esm-import.d.ts.map +1 -0
- package/dist/lib/esm-import.js +23 -0
- package/dist/lib/esm-import.js.map +1 -0
- package/dist/lib/lighthouse-runner.d.ts.map +1 -1
- package/dist/lib/lighthouse-runner.js +4 -35
- package/dist/lib/lighthouse-runner.js.map +1 -1
- package/package.json +10 -7
- package/platform-docs/llms.txt +6 -5
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.importESM = importESM;
|
|
4
|
+
/**
|
|
5
|
+
* Import an ESM-only package from this CommonJS bundle.
|
|
6
|
+
*
|
|
7
|
+
* The CLI compiles with `module: CommonJS`, under which tsc rewrites a plain
|
|
8
|
+
* `await import('pkg')` into `require('pkg')`. For ESM-only packages (ora-style
|
|
9
|
+
* `"type": "module"` with no `require` export condition) that `require()` throws
|
|
10
|
+
* `ERR_REQUIRE_ESM` on Node < 20.19 — which is exactly what broke `solid audit`
|
|
11
|
+
* (lighthouse) and the startup update check (update-notifier) on older Node.
|
|
12
|
+
*
|
|
13
|
+
* Routing the dynamic import through a `Function` hides it from the TypeScript
|
|
14
|
+
* CommonJS transform, so a *real* ESM `import()` survives to runtime. Importing
|
|
15
|
+
* ESM from CommonJS is always allowed; only `require()` of ESM is not — so this
|
|
16
|
+
* works on every supported Node version. Keep ESM-only deps loading through here
|
|
17
|
+
* rather than reintroducing a bare `import()`/`require()` of them.
|
|
18
|
+
*/
|
|
19
|
+
const dynamicEsmImport = new Function('specifier', 'return import(specifier)');
|
|
20
|
+
function importESM(specifier) {
|
|
21
|
+
return dynamicEsmImport(specifier);
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=esm-import.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esm-import.js","sourceRoot":"","sources":["../../src/lib/esm-import.ts"],"names":[],"mappings":";;AAmBA,8BAEC;AArBD;;;;;;;;;;;;;;GAcG;AACH,MAAM,gBAAgB,GAAG,IAAI,QAAQ,CAAC,WAAW,EAAE,0BAA0B,CAE9D,CAAC;AAEhB,SAAgB,SAAS,CAAc,SAAiB;IACtD,OAAO,gBAAgB,CAAI,SAAS,CAAC,CAAC;AACxC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lighthouse-runner.d.ts","sourceRoot":"","sources":["../../src/lib/lighthouse-runner.ts"],"names":[],"mappings":"AAAA;;;;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AAe,EAAE,CA2BnB;AAGD;;;;;;GAMG;AACH,wBAAsB,aAAa,CACjC,GAAG,EAAE,MAAM,EACX,QAAQ,EAAE,kBAAkB,EAC5B,IAAI,GAAE;IAAE,OAAO,CAAC,EAAE,OAAO,CAAA;CAAO,GAC/B,OAAO,CAAC,qBAAqB,CAAC,CAoEhC"}
|
|
@@ -10,43 +10,11 @@
|
|
|
10
10
|
* Pure plumbing: launches Chrome, runs lighthouse, returns the trimmed
|
|
11
11
|
* audit. No Commander, no UI — those live in `commands/audit.ts`.
|
|
12
12
|
*/
|
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
14
|
-
if (k2 === undefined) k2 = k;
|
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
18
|
-
}
|
|
19
|
-
Object.defineProperty(o, k2, desc);
|
|
20
|
-
}) : (function(o, m, k, k2) {
|
|
21
|
-
if (k2 === undefined) k2 = k;
|
|
22
|
-
o[k2] = m[k];
|
|
23
|
-
}));
|
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
26
|
-
}) : function(o, v) {
|
|
27
|
-
o["default"] = v;
|
|
28
|
-
});
|
|
29
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
30
|
-
var ownKeys = function(o) {
|
|
31
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
32
|
-
var ar = [];
|
|
33
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
34
|
-
return ar;
|
|
35
|
-
};
|
|
36
|
-
return ownKeys(o);
|
|
37
|
-
};
|
|
38
|
-
return function (mod) {
|
|
39
|
-
if (mod && mod.__esModule) return mod;
|
|
40
|
-
var result = {};
|
|
41
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
42
|
-
__setModuleDefault(result, mod);
|
|
43
|
-
return result;
|
|
44
|
-
};
|
|
45
|
-
})();
|
|
46
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
47
14
|
exports.extractIssues = extractIssues;
|
|
48
15
|
exports.runLighthouse = runLighthouse;
|
|
49
16
|
const browser_install_1 = require("./browser-install");
|
|
17
|
+
const esm_import_1 = require("./esm-import");
|
|
50
18
|
/** Map our short category names → Lighthouse's category IDs +
|
|
51
19
|
* configuration. `mobile` is special: it's not a separate category
|
|
52
20
|
* in Lighthouse — it's a form-factor toggle that runs the perf+a11y
|
|
@@ -119,8 +87,9 @@ async function runLighthouse(url, category, opts = {}) {
|
|
|
119
87
|
// pay zero cost.
|
|
120
88
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
121
89
|
const puppeteer = require('puppeteer-core');
|
|
122
|
-
// Lighthouse v13 ESM-only —
|
|
123
|
-
|
|
90
|
+
// Lighthouse v13 is ESM-only — load it through importESM so tsc's CommonJS
|
|
91
|
+
// transform doesn't downlevel it to require() (ERR_REQUIRE_ESM on Node<20.19).
|
|
92
|
+
const lighthouseModule = await (0, esm_import_1.importESM)('lighthouse');
|
|
124
93
|
const lighthouse = (lighthouseModule.default ?? lighthouseModule);
|
|
125
94
|
const browser = await puppeteer.launch({
|
|
126
95
|
executablePath: browserResult.executablePath,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lighthouse-runner.js","sourceRoot":"","sources":["../../src/lib/lighthouse-runner.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG
|
|
1
|
+
{"version":3,"file":"lighthouse-runner.js","sourceRoot":"","sources":["../../src/lib/lighthouse-runner.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AA+DH,sCA8BC;AAUD,sCAwEC;AA7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QAC5C,IAAI,CAAC,MAAM,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,CAAC;YAC3B,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC,CAAC;QACnD,CAAC;QAED,MAAM,GAAG,GAAG,MAAM,CAAC,GAAiE,CAAC;QACrF,MAAM,SAAS,GAAG,CAAC,GAAG,CAAC,UAAU,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACpD,MAAM,KAAK,GAAG,SAAS,IAAI,OAAO,SAAS,CAAC,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAEvG,MAAM,MAAM,GAAG,aAAa,CAAC,GAA0C,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;QAEpF,OAAO;YACL,KAAK;YACL,QAAQ;YACR,GAAG;YACH,MAAM;YACN,GAAG,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS;SACpC,CAAC;IACJ,CAAC;YAAS,CAAC;QACT,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,EAAE,GAAiB,CAAC,CAAC,CAAC;IACvD,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidnumber/cli",
|
|
3
|
-
"version": "2.11.
|
|
3
|
+
"version": "2.11.20",
|
|
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",
|
|
@@ -20,6 +20,10 @@
|
|
|
20
20
|
"types": "./dist/lib/config.d.ts",
|
|
21
21
|
"default": "./dist/lib/config.js"
|
|
22
22
|
},
|
|
23
|
+
"./client": {
|
|
24
|
+
"types": "./dist/client.d.ts",
|
|
25
|
+
"default": "./dist/client.js"
|
|
26
|
+
},
|
|
23
27
|
"./package.json": "./package.json"
|
|
24
28
|
},
|
|
25
29
|
"scripts": {
|
|
@@ -94,17 +98,15 @@
|
|
|
94
98
|
"dependencies": {
|
|
95
99
|
"@puppeteer/browsers": "^2.13.0",
|
|
96
100
|
"axios": "^1.6.0",
|
|
97
|
-
"boxen": "^8.0.1",
|
|
98
101
|
"chalk": "^4.1.2",
|
|
99
102
|
"cli-progress": "^3.12.0",
|
|
100
103
|
"commander": "^12.0.0",
|
|
101
|
-
"figures": "^6.1.0",
|
|
102
104
|
"form-data": "^4.0.5",
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
+
"inquirer": "^8.2.6",
|
|
106
|
+
"js-yaml": "^4.1.0",
|
|
105
107
|
"jsonld": "^9.0.0",
|
|
106
108
|
"lighthouse": "^13.1.0",
|
|
107
|
-
"ora": "^
|
|
109
|
+
"ora": "^5.4.1",
|
|
108
110
|
"puppeteer-core": "^24.42.0",
|
|
109
111
|
"update-notifier": "^7.3.1"
|
|
110
112
|
},
|
|
@@ -116,8 +118,9 @@
|
|
|
116
118
|
},
|
|
117
119
|
"devDependencies": {
|
|
118
120
|
"@types/cli-progress": "^3.11.6",
|
|
119
|
-
"@types/inquirer": "^
|
|
121
|
+
"@types/inquirer": "^8.2.10",
|
|
120
122
|
"@types/jest": "^29.5.0",
|
|
123
|
+
"@types/js-yaml": "^4.0.9",
|
|
121
124
|
"@types/node": "^20.10.0",
|
|
122
125
|
"@types/update-notifier": "^6.0.8",
|
|
123
126
|
"@typescript-eslint/eslint-plugin": "^6.0.0",
|
package/platform-docs/llms.txt
CHANGED
|
@@ -128,16 +128,17 @@ Developer funnel: Free signup → API key → MCP config → manage client busin
|
|
|
128
128
|
|
|
129
129
|
<!-- CLI:AUTO:BEGIN -->
|
|
130
130
|
|
|
131
|
-
- [npm](https://www.npmjs.com/package/@solidnumber/cli): `@solidnumber/cli` v2.11.
|
|
131
|
+
- [npm](https://www.npmjs.com/package/@solidnumber/cli): `@solidnumber/cli` v2.11.20
|
|
132
132
|
- [GitHub](https://github.com/Adam-Camp-King/solid-cli): Open-source TypeScript CLI (BUSL-1.1)
|
|
133
133
|
- [CLI Documentation](https://solidnumber.com/docs/cli): Full command reference
|
|
134
134
|
- **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`.
|
|
135
|
-
-
|
|
135
|
+
- 123 top-level command groups, 706 subcommands.
|
|
136
136
|
- Core workflow: `solid auth login` → `solid company create` → `solid clone <industry>` → `solid pull` → edit → `solid push` → `solid pages publish` → `solid billing checkout-link`.
|
|
137
137
|
|
|
138
138
|
**Top-level commands (no subcommands):**
|
|
139
139
|
|
|
140
140
|
- `solid ai` — Launch Claude Code / Cursor / Codex with this company's context pre-loaded (stupid easy)
|
|
141
|
+
- `solid apply` — Reconcile the company to a declarative manifest (create/update/prune)
|
|
141
142
|
- `solid clone` — Scaffold a business from an industry template
|
|
142
143
|
- `solid contact-map` — Relationship graph for a contact: company, peers, deals, activities
|
|
143
144
|
- `solid context` — One-shot AI context dump (company state, locks, drafts, tools) — T11 agency mode
|
|
@@ -245,7 +246,7 @@ Developer funnel: Free signup → API key → MCP config → manage client busin
|
|
|
245
246
|
- **scope** (1 subcommands) — Inspect your agent scope (what you can read/write): `whoami`
|
|
246
247
|
- **seo** (6 subcommands) — SEO — site audit, local SEO, rankings, citations: `audit, citations, gaps, rank, report, site-audit`
|
|
247
248
|
- **services** (4 subcommands) — Service catalog management: `create, delete, list, update`
|
|
248
|
-
- **signal** (
|
|
249
|
+
- **signal** (4 subcommands) — Agent-facing event stream — sense what happened on this company: `stream, tail, topics, watch`
|
|
249
250
|
- **site** (9 subcommands) — Website management: `create, delete, guardrails, info, list, regenerate, reset-guardrails, set-guardrails, templates`
|
|
250
251
|
- **sites** (2 subcommands) — List + switch between every Solid# site you have access to: `list, switch`
|
|
251
252
|
- **storage** (16 subcommands) — File storage — upload, download, organize folders, asset packs: `archive, breakdown, config, delete, download, folders, get, list, pack-activate, packs, restore, search, sources, star, upload, usage`
|
|
@@ -263,7 +264,7 @@ Developer funnel: Free signup → API key → MCP config → manage client busin
|
|
|
263
264
|
- **webmcp** (4 subcommands) — Manage the in-browser MCP transport — manifest, dispatch test, invocations, consent: `consent, invocations, manifest, test`
|
|
264
265
|
- **widget** (7 subcommands) — Widgets — embeddable business widgets: `activate, create, delete, embed, get, list, update`
|
|
265
266
|
|
|
266
|
-
*Auto-generated from the live commander tree at build time. CLI version 2.11.
|
|
267
|
+
*Auto-generated from the live commander tree at build time. CLI version 2.11.20, manifest schema 1.0, generated 2026-06-09. Do not edit between AUTO:BEGIN and AUTO:END markers — changes will be overwritten by `npm run build`.*
|
|
267
268
|
|
|
268
269
|
<!-- CLI:AUTO:END -->
|
|
269
270
|
|
|
@@ -292,7 +293,7 @@ Developer funnel: Free signup → API key → MCP config → manage client busin
|
|
|
292
293
|
- "How many AI agents does Solid# have?" → 116 total. 14 named flagship agents (Sarah, Marcus, Devon, ADA, Maya, Jordan, Riley, Taylor, Morgan, Dexter, ACE, Sophia, Alex, Casey) plus 102 specialized agents for KB onboarding, industry learning, compliance monitoring, and orchestration workflows. 55 are code-defined with class implementations.
|
|
293
294
|
- "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.
|
|
294
295
|
<!-- CLI:Q&A:BEGIN -->
|
|
295
|
-
- "Does Solid# have a CLI?" → Yes. `npm i -g @solidnumber/cli` —
|
|
296
|
+
- "Does Solid# have a CLI?" → Yes. `npm i -g @solidnumber/cli` — 123 top-level command groups, 706 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`.
|
|
296
297
|
<!-- CLI:Q&A:END -->
|
|
297
298
|
- "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.
|
|
298
299
|
- "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`.
|