@solidnumber/cli 2.24.9 → 2.24.10
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/commands/docs.d.ts.map +1 -1
- package/dist/commands/docs.js +3 -1
- package/dist/commands/docs.js.map +1 -1
- package/dist/index.js +0 -0
- package/package.json +1 -1
- package/platform-docs/llms.txt +2 -2
- package/dist/lib/command-count.d.ts +0 -15
- package/dist/lib/command-count.d.ts.map +0 -1
- package/dist/lib/command-count.js +0 -37
- package/dist/lib/command-count.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/commands/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../src/commands/docs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AA44BpC,eAAO,MAAM,WAAW,SAuCpB,CAAC"}
|
package/dist/commands/docs.js
CHANGED
|
@@ -261,7 +261,9 @@ These endpoints serve your public website. Pass \`company_id\` as a query param.
|
|
|
261
261
|
| GET | \`/api/v1/cms/public/services\` | List public services |
|
|
262
262
|
| GET | \`/api/v1/cms/public/products\` | List public products |
|
|
263
263
|
| GET | \`/api/v1/cms/public/promotions\` | Active promotions |
|
|
264
|
-
| GET | \`/api/v1/cms/public/
|
|
264
|
+
| GET | \`/api/v1/cms/pages/public/booking?host=<site>\` | Bookable services (site resolved by host, not company_id) |
|
|
265
|
+
| GET | \`/api/v1/cms/pages/public/booking/times?host=<site>&service_id=<id>&date=YYYY-MM-DD\` | Open appointment slots |
|
|
266
|
+
| POST | \`/api/v1/cms/pages/public/book?host=<site>\` | Book a slot (service_id + start_time) |
|
|
265
267
|
|
|
266
268
|
## Website Settings
|
|
267
269
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/commands/docs.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yCAAoC;AACpC,6DAAiC;AACjC,kDAA0B;AAC1B,uCAAyB;AACzB,2CAA6B;AAG7B,SAAS,SAAS,CAAC,GAAW;IAC5B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CAAC;IACzC,CAAC;AACH,CAAC;AAED,MAAM,IAAI,GAAyE;IACjF,iBAAiB,EAAE;QACjB,QAAQ,EAAE,oBAAoB;QAC9B,KAAK,EAAE,6BAA6B;QACpC,OAAO,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4HZ;KACE;IAED,eAAe,EAAE;QACf,QAAQ,EAAE,kBAAkB;QAC5B,KAAK,EAAE,eAAe;QACtB,OAAO,EAAE
|
|
1
|
+
{"version":3,"file":"docs.js","sourceRoot":"","sources":["../../src/commands/docs.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,yCAAoC;AACpC,6DAAiC;AACjC,kDAA0B;AAC1B,uCAAyB;AACzB,2CAA6B;AAG7B,SAAS,SAAS,CAAC,GAAW;IAC5B,IAAI,CAAC,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE,CAAC;QACxB,EAAE,CAAC,SAAS,CAAC,GAAG,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC,CA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AAC;IAC/F,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC;AAEL,oDAAiE;AACjE,IAAA,4BAAS,EAAC,mBAAW,EAAE;IACrB,EAAE,GAAG,EAAE,YAAY,EAAa,GAAG,EAAE,kCAAkC,EAAE;CAC1E,CAAC,CAAC"}
|
package/dist/index.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidnumber/cli",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.10",
|
|
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,7 +130,7 @@ 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.24.
|
|
133
|
+
- [npm](https://www.npmjs.com/package/@solidnumber/cli): `@solidnumber/cli` v2.24.10
|
|
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`.
|
|
@@ -278,7 +278,7 @@ Developer funnel: Free signup → connect the curated connector (OAuth) → mana
|
|
|
278
278
|
- **webmcp** (4 subcommands) — Manage the in-browser MCP transport — manifest, dispatch test, invocations, consent: `consent, invocations, manifest, test`
|
|
279
279
|
- **widget** (7 subcommands) — Widgets — embeddable business widgets: `activate, create, delete, embed, get, list, update`
|
|
280
280
|
|
|
281
|
-
*Auto-generated from the live commander tree at build time. CLI version 2.24.
|
|
281
|
+
*Auto-generated from the live commander tree at build time. CLI version 2.24.10, manifest schema 1.0, generated 2026-09-27. Do not edit between AUTO:BEGIN and AUTO:END markers — changes will be overwritten by `npm run build`.*
|
|
282
282
|
|
|
283
283
|
<!-- CLI:AUTO:END -->
|
|
284
284
|
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The number of top-level commands, read from the command index — bare
|
|
3
|
-
* `solid` on a non-TTY prints `solid:command-index/v1`, built from
|
|
4
|
-
* `program.commands` in src/index.ts. The public count and the index an agent
|
|
5
|
-
* reads are then the same number by construction.
|
|
6
|
-
*
|
|
7
|
-
* ⛔ This used to count `--help` lines matching /^ {2}[a-z]/ after
|
|
8
|
-
* 'Commands:'. The root help ends in an after-help tour whose example rows
|
|
9
|
-
* (' solid inbox Unified inbox …') match that pattern too, so every example
|
|
10
|
-
* was counted as a command: 172 against 135 real ones on 2026-09-24 (2.24.5).
|
|
11
|
-
*/
|
|
12
|
-
export declare function countCommands(dist: string, env: NodeJS.ProcessEnv): number;
|
|
13
|
-
/** Pure: the command count from the index payload. Refuses a payload that disagrees with itself. */
|
|
14
|
-
export declare function commandsFromIndex(raw: string): number;
|
|
15
|
-
//# sourceMappingURL=command-count.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command-count.d.ts","sourceRoot":"","sources":["../../src/lib/command-count.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,CAAC,UAAU,GAAG,MAAM,CAI1E;AAED,oGAAoG;AACpG,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CASrD"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.countCommands = countCommands;
|
|
4
|
-
exports.commandsFromIndex = commandsFromIndex;
|
|
5
|
-
/**
|
|
6
|
-
* Counting the CLI's top-level commands — used by scripts/sync-counts.ts, which
|
|
7
|
-
* stamps the count onto every public surface.
|
|
8
|
-
*/
|
|
9
|
-
const child_process_1 = require("child_process");
|
|
10
|
-
/**
|
|
11
|
-
* The number of top-level commands, read from the command index — bare
|
|
12
|
-
* `solid` on a non-TTY prints `solid:command-index/v1`, built from
|
|
13
|
-
* `program.commands` in src/index.ts. The public count and the index an agent
|
|
14
|
-
* reads are then the same number by construction.
|
|
15
|
-
*
|
|
16
|
-
* ⛔ This used to count `--help` lines matching /^ {2}[a-z]/ after
|
|
17
|
-
* 'Commands:'. The root help ends in an after-help tour whose example rows
|
|
18
|
-
* (' solid inbox Unified inbox …') match that pattern too, so every example
|
|
19
|
-
* was counted as a command: 172 against 135 real ones on 2026-09-24 (2.24.5).
|
|
20
|
-
*/
|
|
21
|
-
function countCommands(dist, env) {
|
|
22
|
-
// execSync pipes stdout, so the CLI sees a non-TTY and prints the index.
|
|
23
|
-
const raw = (0, child_process_1.execSync)(`node "${dist}"`, { encoding: 'utf8', env, stdio: ['ignore', 'pipe', 'pipe'] });
|
|
24
|
-
return commandsFromIndex(raw);
|
|
25
|
-
}
|
|
26
|
-
/** Pure: the command count from the index payload. Refuses a payload that disagrees with itself. */
|
|
27
|
-
function commandsFromIndex(raw) {
|
|
28
|
-
const index = JSON.parse(raw);
|
|
29
|
-
if (index.schema !== 'solid:command-index/v1' || !Array.isArray(index.names)) {
|
|
30
|
-
throw new Error('bare `solid` did not print the command index — cannot count commands');
|
|
31
|
-
}
|
|
32
|
-
if (index.commands !== index.names.length) {
|
|
33
|
-
throw new Error(`command index disagrees with itself: commands=${String(index.commands)}, names=${index.names.length}`);
|
|
34
|
-
}
|
|
35
|
-
return index.names.length;
|
|
36
|
-
}
|
|
37
|
-
//# sourceMappingURL=command-count.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command-count.js","sourceRoot":"","sources":["../../src/lib/command-count.ts"],"names":[],"mappings":";;AAiBA,sCAIC;AAGD,8CASC;AAjCD;;;GAGG;AACH,iDAAyC;AAEzC;;;;;;;;;;GAUG;AACH,SAAgB,aAAa,CAAC,IAAY,EAAE,GAAsB;IAChE,yEAAyE;IACzE,MAAM,GAAG,GAAG,IAAA,wBAAQ,EAAC,SAAS,IAAI,GAAG,EAAE,EAAE,QAAQ,EAAE,MAAM,EAAE,GAAG,EAAE,KAAK,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC,CAAC;IACrG,OAAO,iBAAiB,CAAC,GAAG,CAAC,CAAC;AAChC,CAAC;AAED,oGAAoG;AACpG,SAAgB,iBAAiB,CAAC,GAAW;IAC3C,MAAM,KAAK,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAA6D,CAAC;IAC1F,IAAI,KAAK,CAAC,MAAM,KAAK,wBAAwB,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC;QAC7E,MAAM,IAAI,KAAK,CAAC,sEAAsE,CAAC,CAAC;IAC1F,CAAC;IACD,IAAI,KAAK,CAAC,QAAQ,KAAK,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC;QAC1C,MAAM,IAAI,KAAK,CAAC,iDAAiD,MAAM,CAAC,KAAK,CAAC,QAAQ,CAAC,WAAW,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1H,CAAC;IACD,OAAO,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC;AAC5B,CAAC"}
|