@solidnumber/cli 2.24.4 → 2.24.5
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/accounting.js +3 -3
- package/dist/commands/accounting.js.map +1 -1
- package/dist/commands/agent.js +32 -32
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/analytics.js +2 -2
- package/dist/commands/analytics.js.map +1 -1
- package/dist/commands/ant.js +8 -8
- package/dist/commands/ant.js.map +1 -1
- package/dist/commands/api.js +1 -1
- package/dist/commands/api.js.map +1 -1
- package/dist/commands/apply.js +4 -4
- package/dist/commands/apply.js.map +1 -1
- package/dist/commands/audit.d.ts.map +1 -1
- package/dist/commands/audit.js +25 -20
- package/dist/commands/audit.js.map +1 -1
- package/dist/commands/auth.js +12 -12
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/bids.js +4 -4
- package/dist/commands/bids.js.map +1 -1
- package/dist/commands/billing.js +23 -23
- package/dist/commands/billing.js.map +1 -1
- package/dist/commands/blog.js +45 -17
- package/dist/commands/blog.js.map +1 -1
- package/dist/commands/brand.js +7 -7
- package/dist/commands/brand.js.map +1 -1
- package/dist/commands/call.js +2 -2
- package/dist/commands/call.js.map +1 -1
- package/dist/commands/chains.js +17 -17
- package/dist/commands/chains.js.map +1 -1
- package/dist/commands/chat_widgets.js +6 -6
- package/dist/commands/chat_widgets.js.map +1 -1
- package/dist/commands/clone.js +5 -5
- package/dist/commands/clone.js.map +1 -1
- package/dist/commands/code.js +5 -5
- package/dist/commands/code.js.map +1 -1
- package/dist/commands/company.js +13 -13
- package/dist/commands/company.js.map +1 -1
- package/dist/commands/connect.js +12 -12
- package/dist/commands/connect.js.map +1 -1
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +12 -5
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/crm.js +75 -31
- package/dist/commands/crm.js.map +1 -1
- package/dist/commands/dashboard.js +1 -1
- package/dist/commands/dashboard.js.map +1 -1
- package/dist/commands/demo.js +4 -4
- package/dist/commands/demo.js.map +1 -1
- package/dist/commands/deploy.js +8 -8
- package/dist/commands/deploy.js.map +1 -1
- package/dist/commands/design.js +5 -5
- package/dist/commands/design.js.map +1 -1
- package/dist/commands/dev.js +13 -13
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/diff.js +2 -2
- package/dist/commands/diff.js.map +1 -1
- package/dist/commands/dispatch_shortcuts.js +3 -3
- package/dist/commands/dispatch_shortcuts.js.map +1 -1
- package/dist/commands/docs.js +2 -2
- package/dist/commands/docs.js.map +1 -1
- package/dist/commands/doctor.js +1 -0
- package/dist/commands/doctor.js.map +1 -1
- package/dist/commands/domains.js +5 -5
- package/dist/commands/domains.js.map +1 -1
- package/dist/commands/drafts.js +3 -3
- package/dist/commands/drafts.js.map +1 -1
- package/dist/commands/droplet.js +8 -8
- package/dist/commands/droplet.js.map +1 -1
- package/dist/commands/ecommerce.js +31 -31
- package/dist/commands/ecommerce.js.map +1 -1
- package/dist/commands/emails.js +13 -13
- package/dist/commands/emails.js.map +1 -1
- package/dist/commands/embed.js +3 -3
- package/dist/commands/embed.js.map +1 -1
- package/dist/commands/explore.js +1 -1
- package/dist/commands/explore.js.map +1 -1
- package/dist/commands/export.js +2 -2
- package/dist/commands/export.js.map +1 -1
- package/dist/commands/find.js +2 -2
- package/dist/commands/find.js.map +1 -1
- package/dist/commands/flows.js +8 -8
- package/dist/commands/flows.js.map +1 -1
- package/dist/commands/forms.js +29 -29
- package/dist/commands/forms.js.map +1 -1
- package/dist/commands/graph.js +1 -1
- package/dist/commands/graph.js.map +1 -1
- package/dist/commands/health.js +2 -2
- package/dist/commands/health.js.map +1 -1
- package/dist/commands/history.js +11 -11
- package/dist/commands/history.js.map +1 -1
- package/dist/commands/import.js +3 -3
- package/dist/commands/import.js.map +1 -1
- package/dist/commands/inbound.js +10 -10
- package/dist/commands/inbound.js.map +1 -1
- package/dist/commands/inbox.js +16 -16
- package/dist/commands/inbox.js.map +1 -1
- package/dist/commands/infra.js +2 -2
- package/dist/commands/infra.js.map +1 -1
- package/dist/commands/init.js +1 -1
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/insights.js +1 -1
- package/dist/commands/insights.js.map +1 -1
- package/dist/commands/integrations.js +10 -10
- package/dist/commands/integrations.js.map +1 -1
- package/dist/commands/inventory.js +8 -8
- package/dist/commands/inventory.js.map +1 -1
- package/dist/commands/kb.js +5 -5
- package/dist/commands/kb.js.map +1 -1
- package/dist/commands/keys.js +4 -4
- package/dist/commands/keys.js.map +1 -1
- package/dist/commands/landing.js +9 -9
- package/dist/commands/landing.js.map +1 -1
- package/dist/commands/leads.js +20 -20
- package/dist/commands/leads.js.map +1 -1
- package/dist/commands/llms.js +4 -4
- package/dist/commands/llms.js.map +1 -1
- package/dist/commands/logs.js +3 -3
- package/dist/commands/logs.js.map +1 -1
- package/dist/commands/manifest.js +2 -2
- package/dist/commands/manifest.js.map +1 -1
- package/dist/commands/map.js +2 -2
- package/dist/commands/map.js.map +1 -1
- package/dist/commands/marketplace.js +11 -11
- package/dist/commands/marketplace.js.map +1 -1
- package/dist/commands/mcp.js +9 -3
- package/dist/commands/mcp.js.map +1 -1
- package/dist/commands/migrate.js +3 -3
- package/dist/commands/migrate.js.map +1 -1
- package/dist/commands/nest.js +5 -5
- package/dist/commands/nest.js.map +1 -1
- package/dist/commands/notes.js +6 -6
- package/dist/commands/notes.js.map +1 -1
- package/dist/commands/notifications.js +1 -1
- package/dist/commands/notifications.js.map +1 -1
- package/dist/commands/offer.js +2 -2
- package/dist/commands/offer.js.map +1 -1
- package/dist/commands/onboarding.js +34 -34
- package/dist/commands/onboarding.js.map +1 -1
- package/dist/commands/orders.js +25 -25
- package/dist/commands/orders.js.map +1 -1
- package/dist/commands/pages.d.ts.map +1 -1
- package/dist/commands/pages.js +115 -45
- package/dist/commands/pages.js.map +1 -1
- package/dist/commands/payment.js +10 -10
- package/dist/commands/payment.js.map +1 -1
- package/dist/commands/payment_links.js +7 -7
- package/dist/commands/payment_links.js.map +1 -1
- package/dist/commands/predict.js +8 -8
- package/dist/commands/predict.js.map +1 -1
- package/dist/commands/products.js +8 -8
- package/dist/commands/products.js.map +1 -1
- package/dist/commands/publish.d.ts.map +1 -1
- package/dist/commands/publish.js +26 -6
- package/dist/commands/publish.js.map +1 -1
- package/dist/commands/pull.js +7 -7
- package/dist/commands/pull.js.map +1 -1
- package/dist/commands/push.js +10 -10
- package/dist/commands/push.js.map +1 -1
- package/dist/commands/qchain.js +5 -5
- package/dist/commands/qchain.js.map +1 -1
- package/dist/commands/render.js +4 -4
- package/dist/commands/render.js.map +1 -1
- package/dist/commands/sales.js +19 -19
- package/dist/commands/sales.js.map +1 -1
- package/dist/commands/sandbox.d.ts +7 -0
- package/dist/commands/sandbox.d.ts.map +1 -1
- package/dist/commands/sandbox.js +228 -80
- package/dist/commands/sandbox.js.map +1 -1
- package/dist/commands/schedule.js +11 -11
- package/dist/commands/schedule.js.map +1 -1
- package/dist/commands/schema.js +1 -1
- package/dist/commands/schema.js.map +1 -1
- package/dist/commands/scope.js +2 -2
- package/dist/commands/scope.js.map +1 -1
- package/dist/commands/seo.js +6 -6
- package/dist/commands/seo.js.map +1 -1
- package/dist/commands/serve.js +1 -1
- package/dist/commands/serve.js.map +1 -1
- package/dist/commands/services.js +4 -4
- package/dist/commands/services.js.map +1 -1
- package/dist/commands/site.js +9 -9
- package/dist/commands/site.js.map +1 -1
- package/dist/commands/sites.js +3 -3
- package/dist/commands/sites.js.map +1 -1
- package/dist/commands/status.js +4 -4
- package/dist/commands/status.js.map +1 -1
- package/dist/commands/storage.js +19 -19
- package/dist/commands/storage.js.map +1 -1
- package/dist/commands/subscriptions.js +7 -7
- package/dist/commands/subscriptions.js.map +1 -1
- package/dist/commands/support.js +1 -1
- package/dist/commands/support.js.map +1 -1
- package/dist/commands/switch.js +3 -3
- package/dist/commands/switch.js.map +1 -1
- package/dist/commands/tenant.js +5 -5
- package/dist/commands/tenant.js.map +1 -1
- package/dist/commands/test.js +4 -4
- package/dist/commands/test.js.map +1 -1
- package/dist/commands/today.js +2 -2
- package/dist/commands/today.js.map +1 -1
- package/dist/commands/train.js +6 -6
- package/dist/commands/train.js.map +1 -1
- package/dist/commands/transaction.js +7 -7
- package/dist/commands/transaction.js.map +1 -1
- package/dist/commands/ucp.js +6 -6
- package/dist/commands/ucp.js.map +1 -1
- package/dist/commands/users.js +23 -23
- package/dist/commands/users.js.map +1 -1
- package/dist/commands/verbs.js +4 -4
- package/dist/commands/verbs.js.map +1 -1
- package/dist/commands/vibe.js +5 -5
- package/dist/commands/vibe.js.map +1 -1
- package/dist/commands/voice.js +30 -30
- package/dist/commands/voice.js.map +1 -1
- package/dist/commands/webhooks-listen.js +1 -1
- package/dist/commands/webhooks-listen.js.map +1 -1
- package/dist/commands/webhooks.js +6 -6
- package/dist/commands/webhooks.js.map +1 -1
- package/dist/commands/webmcp.js +7 -7
- package/dist/commands/webmcp.js.map +1 -1
- package/dist/commands/where.js +2 -2
- package/dist/commands/where.js.map +1 -1
- package/dist/commands/widgets.js +7 -7
- package/dist/commands/widgets.js.map +1 -1
- package/dist/data/cms-blocks.json +37 -5
- package/dist/lib/api-client.d.ts +5 -0
- package/dist/lib/api-client.d.ts.map +1 -1
- package/dist/lib/api-client.js +62 -23
- package/dist/lib/api-client.js.map +1 -1
- package/dist/lib/command-kit.d.ts +28 -1
- package/dist/lib/command-kit.d.ts.map +1 -1
- package/dist/lib/command-kit.js +76 -6
- package/dist/lib/command-kit.js.map +1 -1
- package/dist/lib/config.d.ts +12 -0
- package/dist/lib/config.d.ts.map +1 -1
- package/dist/lib/config.js +28 -1
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/context-ladder.d.ts +29 -0
- package/dist/lib/context-ladder.d.ts.map +1 -1
- package/dist/lib/context-ladder.js +69 -0
- package/dist/lib/context-ladder.js.map +1 -1
- package/dist/lib/doctor-env.d.ts +1 -0
- package/dist/lib/doctor-env.d.ts.map +1 -1
- package/dist/lib/doctor-env.js +6 -5
- package/dist/lib/doctor-env.js.map +1 -1
- package/dist/lib/error-codes.d.ts +67 -1
- package/dist/lib/error-codes.d.ts.map +1 -1
- package/dist/lib/error-codes.js +208 -21
- package/dist/lib/error-codes.js.map +1 -1
- package/dist/lib/page-url.d.ts +55 -0
- package/dist/lib/page-url.d.ts.map +1 -0
- package/dist/lib/page-url.js +145 -0
- package/dist/lib/page-url.js.map +1 -0
- package/dist/lib/sandbox-verbs.d.ts +63 -0
- package/dist/lib/sandbox-verbs.d.ts.map +1 -0
- package/dist/lib/sandbox-verbs.js +106 -0
- package/dist/lib/sandbox-verbs.js.map +1 -0
- package/dist/lib/spinner.d.ts +26 -0
- package/dist/lib/spinner.d.ts.map +1 -0
- package/dist/lib/spinner.js +58 -0
- package/dist/lib/spinner.js.map +1 -0
- package/package.json +1 -1
- package/platform-docs/llms.txt +2 -2
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Server-side sandbox over the agent verbs.
|
|
3
|
+
*
|
|
4
|
+
* `solid sandbox fork/status/diff/promote/exit/preview` used to call
|
|
5
|
+
* `/api/v1/sandbox/{status,enabled,publish,exit}` — routes that resolve the
|
|
6
|
+
* tenant from the Host header ("sandbox.acme.solidnumber.com"). Through
|
|
7
|
+
* api.solidnumber.com they answered 404 "No tenant found for this domain" for
|
|
8
|
+
* EVERY company. The sandbox.* verbs are the working surface, scoped by the
|
|
9
|
+
* caller's credential, and are what HTTP-verb and MCP agents already use, so
|
|
10
|
+
* every transport now shares one sandbox:
|
|
11
|
+
*
|
|
12
|
+
* POST /api/v1/agent/sandbox/{fork,status,diff,promote,exit}
|
|
13
|
+
*
|
|
14
|
+
* Pure (no chalk/ora) so it is unit-testable.
|
|
15
|
+
*/
|
|
16
|
+
export interface VerbClient {
|
|
17
|
+
post(url: string, body?: unknown): Promise<{
|
|
18
|
+
data: unknown;
|
|
19
|
+
}>;
|
|
20
|
+
}
|
|
21
|
+
export interface SandboxStatus {
|
|
22
|
+
active: boolean;
|
|
23
|
+
status?: string;
|
|
24
|
+
session_token?: string;
|
|
25
|
+
scope?: Record<string, unknown> | null;
|
|
26
|
+
created_at?: string | null;
|
|
27
|
+
}
|
|
28
|
+
export interface SandboxPageChange {
|
|
29
|
+
entity_type: string;
|
|
30
|
+
entity_id: number;
|
|
31
|
+
change?: 'created' | 'edited' | string;
|
|
32
|
+
title?: string | null;
|
|
33
|
+
slug?: string | null;
|
|
34
|
+
fields?: string[];
|
|
35
|
+
publish_on_promote?: boolean | null;
|
|
36
|
+
filename?: string | null;
|
|
37
|
+
}
|
|
38
|
+
export interface SandboxDiff {
|
|
39
|
+
status?: string;
|
|
40
|
+
session_token?: string;
|
|
41
|
+
changes: SandboxPageChange[] | Array<Record<string, unknown>>;
|
|
42
|
+
pages?: SandboxPageChange[];
|
|
43
|
+
assets?: SandboxPageChange[];
|
|
44
|
+
total_changes?: number;
|
|
45
|
+
}
|
|
46
|
+
/** The verb surface answers either bare or as {ok, verb, result}. */
|
|
47
|
+
export declare function unwrapVerb<T = Record<string, unknown>>(data: unknown): T;
|
|
48
|
+
export declare function sandboxStatus(client: VerbClient): Promise<SandboxStatus>;
|
|
49
|
+
/** Writes carry `confirm: true` — running the command IS the caller's consent. */
|
|
50
|
+
export declare function sandboxFork(client: VerbClient, scope?: Record<string, boolean> | null): Promise<Record<string, unknown>>;
|
|
51
|
+
export declare function sandboxDiff(client: VerbClient): Promise<SandboxDiff>;
|
|
52
|
+
export declare function sandboxPromote(client: VerbClient): Promise<Record<string, unknown>>;
|
|
53
|
+
export declare function sandboxExit(client: VerbClient): Promise<Record<string, unknown>>;
|
|
54
|
+
/** `--scope pages|data|all` → the verb's scope object. */
|
|
55
|
+
export declare function scopeFromFlag(flag: string | undefined): Record<string, boolean> | null;
|
|
56
|
+
/** The page entries of a diff, whatever server version produced it. */
|
|
57
|
+
export declare function pageChanges(diff: SandboxDiff): SandboxPageChange[];
|
|
58
|
+
/** One human line per change. */
|
|
59
|
+
export declare function diffLines(diff: SandboxDiff): string[];
|
|
60
|
+
/** Join the API base and a relative preview path the backend returns. */
|
|
61
|
+
export declare function absoluteUrl(apiBase: string, p: string): string;
|
|
62
|
+
export declare const NO_SANDBOX_MESSAGE = "No active sandbox for this company. Run `solid sandbox fork` first \u2014 nothing to preview.";
|
|
63
|
+
//# sourceMappingURL=sandbox-verbs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-verbs.d.ts","sourceRoot":"","sources":["../../src/lib/sandbox-verbs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AAEH,MAAM,WAAW,UAAU;IACzB,IAAI,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;QAAE,IAAI,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CAC/D;AAED,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,OAAO,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IACvC,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,SAAS,GAAG,QAAQ,GAAG,MAAM,CAAC;IACvC,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,GAAG,IAAI,CAAC;IACpC,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC1B;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,CAAC,EA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,MAAM,kBAAkB,kGAC6D,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Server-side sandbox over the agent verbs.
|
|
4
|
+
*
|
|
5
|
+
* `solid sandbox fork/status/diff/promote/exit/preview` used to call
|
|
6
|
+
* `/api/v1/sandbox/{status,enabled,publish,exit}` — routes that resolve the
|
|
7
|
+
* tenant from the Host header ("sandbox.acme.solidnumber.com"). Through
|
|
8
|
+
* api.solidnumber.com they answered 404 "No tenant found for this domain" for
|
|
9
|
+
* EVERY company. The sandbox.* verbs are the working surface, scoped by the
|
|
10
|
+
* caller's credential, and are what HTTP-verb and MCP agents already use, so
|
|
11
|
+
* every transport now shares one sandbox:
|
|
12
|
+
*
|
|
13
|
+
* POST /api/v1/agent/sandbox/{fork,status,diff,promote,exit}
|
|
14
|
+
*
|
|
15
|
+
* Pure (no chalk/ora) so it is unit-testable.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.NO_SANDBOX_MESSAGE = void 0;
|
|
19
|
+
exports.unwrapVerb = unwrapVerb;
|
|
20
|
+
exports.sandboxStatus = sandboxStatus;
|
|
21
|
+
exports.sandboxFork = sandboxFork;
|
|
22
|
+
exports.sandboxDiff = sandboxDiff;
|
|
23
|
+
exports.sandboxPromote = sandboxPromote;
|
|
24
|
+
exports.sandboxExit = sandboxExit;
|
|
25
|
+
exports.scopeFromFlag = scopeFromFlag;
|
|
26
|
+
exports.pageChanges = pageChanges;
|
|
27
|
+
exports.diffLines = diffLines;
|
|
28
|
+
exports.absoluteUrl = absoluteUrl;
|
|
29
|
+
/** The verb surface answers either bare or as {ok, verb, result}. */
|
|
30
|
+
function unwrapVerb(data) {
|
|
31
|
+
if (data && typeof data === 'object' && !Array.isArray(data)) {
|
|
32
|
+
const d = data;
|
|
33
|
+
if ('result' in d && d.result && typeof d.result === 'object' && ('ok' in d || 'verb' in d)) {
|
|
34
|
+
return d.result;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
return (data ?? {});
|
|
38
|
+
}
|
|
39
|
+
const VERB = (name) => `/api/v1/agent/sandbox/${name}`;
|
|
40
|
+
async function sandboxStatus(client) {
|
|
41
|
+
const r = unwrapVerb((await client.post(VERB('status'), {})).data);
|
|
42
|
+
return { ...r, active: Boolean(r.active) };
|
|
43
|
+
}
|
|
44
|
+
/** Writes carry `confirm: true` — running the command IS the caller's consent. */
|
|
45
|
+
async function sandboxFork(client, scope) {
|
|
46
|
+
const body = { confirm: true };
|
|
47
|
+
if (scope)
|
|
48
|
+
body.scope = scope;
|
|
49
|
+
return unwrapVerb((await client.post(VERB('fork'), body)).data);
|
|
50
|
+
}
|
|
51
|
+
async function sandboxDiff(client) {
|
|
52
|
+
const r = unwrapVerb((await client.post(VERB('diff'), {})).data);
|
|
53
|
+
return { ...r, changes: r.changes || [] };
|
|
54
|
+
}
|
|
55
|
+
async function sandboxPromote(client) {
|
|
56
|
+
return unwrapVerb((await client.post(VERB('promote'), { confirm: true })).data);
|
|
57
|
+
}
|
|
58
|
+
async function sandboxExit(client) {
|
|
59
|
+
return unwrapVerb((await client.post(VERB('exit'), { confirm: true })).data);
|
|
60
|
+
}
|
|
61
|
+
/** `--scope pages|data|all` → the verb's scope object. */
|
|
62
|
+
function scopeFromFlag(flag) {
|
|
63
|
+
switch ((flag || 'all').toLowerCase()) {
|
|
64
|
+
case 'pages': return { pages: true, assets: true, kb: false, data: false };
|
|
65
|
+
case 'data': return { pages: false, assets: false, kb: false, data: true };
|
|
66
|
+
case 'all': return null; // server default: everything
|
|
67
|
+
default: throw new Error(`Unknown --scope "${flag}". Use pages, data or all.`);
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
/** The page entries of a diff, whatever server version produced it. */
|
|
71
|
+
function pageChanges(diff) {
|
|
72
|
+
if (Array.isArray(diff.pages))
|
|
73
|
+
return diff.pages;
|
|
74
|
+
return diff.changes.filter((c) => c && c.entity_type === 'website_page');
|
|
75
|
+
}
|
|
76
|
+
/** One human line per change. */
|
|
77
|
+
function diffLines(diff) {
|
|
78
|
+
const out = [];
|
|
79
|
+
for (const c of diff.changes) {
|
|
80
|
+
if (!c)
|
|
81
|
+
continue;
|
|
82
|
+
if (c.entity_type === 'website_page') {
|
|
83
|
+
const mark = c.change === 'created' ? '+' : '~';
|
|
84
|
+
const name = c.slug ? `/${String(c.slug).replace(/^\//, '')}` : `page ${c.entity_id}`;
|
|
85
|
+
const fields = c.fields && c.fields.length ? ` (${c.fields.join(', ')})` : '';
|
|
86
|
+
const pub = c.publish_on_promote ? ' — publishes on promote' : '';
|
|
87
|
+
out.push(`${mark} page #${c.entity_id} ${name}${c.title ? ` "${c.title}"` : ''}${fields}${pub}`);
|
|
88
|
+
}
|
|
89
|
+
else if (c.entity_type === 'asset') {
|
|
90
|
+
out.push(`+ asset #${c.entity_id}${c.filename ? ` ${c.filename}` : ''}`);
|
|
91
|
+
}
|
|
92
|
+
else {
|
|
93
|
+
const v = c.verb_name;
|
|
94
|
+
out.push(`~ ${c.entity_type} #${c.entity_id}${v ? ` (${v})` : ''}`);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
return out;
|
|
98
|
+
}
|
|
99
|
+
/** Join the API base and a relative preview path the backend returns. */
|
|
100
|
+
function absoluteUrl(apiBase, p) {
|
|
101
|
+
if (/^https?:\/\//i.test(p))
|
|
102
|
+
return p;
|
|
103
|
+
return `${apiBase.replace(/\/+$/, '')}/${p.replace(/^\/+/, '')}`;
|
|
104
|
+
}
|
|
105
|
+
exports.NO_SANDBOX_MESSAGE = 'No active sandbox for this company. Run `solid sandbox fork` first — nothing to preview.';
|
|
106
|
+
//# sourceMappingURL=sandbox-verbs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sandbox-verbs.js","sourceRoot":"","sources":["../../src/lib/sandbox-verbs.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;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so whether a spinner leaked
|
|
5
|
+
* chrome depended on each call site remembering `isSilent`. Most did not:
|
|
6
|
+
* `solid pages get 300 --json` printed "- Loading page #300..." ahead of the
|
|
7
|
+
* JSON, and an agent capturing both streams got an unparseable payload.
|
|
8
|
+
*
|
|
9
|
+
* Rules, applied here once:
|
|
10
|
+
* - always writes to stderr, never stdout;
|
|
11
|
+
* - SILENT (no output at all) when JSON was explicitly asked for — --json
|
|
12
|
+
* anywhere on the command line, SOLID_JSON=1 — or --quiet / --no-spinner /
|
|
13
|
+
* --raw / SOLID_QUIET=1;
|
|
14
|
+
* - NO PROGRESS LINE when stdout is merely not a TTY (json-output's
|
|
15
|
+
* auto-detect): the "- Loading..." start line is dropped, but the final
|
|
16
|
+
* succeed/fail line still goes to stderr — for commands with no JSON
|
|
17
|
+
* mode it is the only confirmation they print.
|
|
18
|
+
* An explicit `isSilent` from the caller still wins.
|
|
19
|
+
*/
|
|
20
|
+
import type ora from 'ora';
|
|
21
|
+
export type SpinnerMode = 'normal' | 'no-progress' | 'silent';
|
|
22
|
+
export declare function spinnerMode(): SpinnerMode;
|
|
23
|
+
/** True when a spinner would print nothing at all. */
|
|
24
|
+
export declare function spinnersSuppressed(): boolean;
|
|
25
|
+
export default function spinner(options?: string | ora.Options): ora.Ora;
|
|
26
|
+
//# sourceMappingURL=spinner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../src/lib/spinner.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAG3B,MAAM,MAAM,WAAW,GAAG,QAAQ,GAAG,aAAa,GAAG,QAAQ,CAAC;AAE9D,wBAAgB,WAAW,IAAI,WAAW,CASzC;AAED,sDAAsD;AACtD,wBAAgB,kBAAkB,IAAI,OAAO,CAE5C;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,GAAG,CA2BvE"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.spinnerMode = spinnerMode;
|
|
4
|
+
exports.spinnersSuppressed = spinnersSuppressed;
|
|
5
|
+
exports.default = spinner;
|
|
6
|
+
const json_output_1 = require("./json-output");
|
|
7
|
+
function spinnerMode() {
|
|
8
|
+
const argv = process.argv;
|
|
9
|
+
if (process.env.SOLID_QUIET === '1' || process.env.SOLID_QUIET === 'true')
|
|
10
|
+
return 'silent';
|
|
11
|
+
if (argv.includes('--quiet') || argv.includes('--no-spinner') || argv.includes('--raw'))
|
|
12
|
+
return 'silent';
|
|
13
|
+
if (argv.includes('--no-json'))
|
|
14
|
+
return 'normal';
|
|
15
|
+
if (argv.includes('--json'))
|
|
16
|
+
return 'silent';
|
|
17
|
+
if (process.env.SOLID_JSON && /^(1|true|yes|on)$/i.test(process.env.SOLID_JSON))
|
|
18
|
+
return 'silent';
|
|
19
|
+
if ((0, json_output_1.isJsonOutput)())
|
|
20
|
+
return 'no-progress';
|
|
21
|
+
return 'normal';
|
|
22
|
+
}
|
|
23
|
+
/** True when a spinner would print nothing at all. */
|
|
24
|
+
function spinnersSuppressed() {
|
|
25
|
+
return spinnerMode() === 'silent';
|
|
26
|
+
}
|
|
27
|
+
function spinner(options) {
|
|
28
|
+
const base = typeof options === 'string' ? { text: options } : { ...(options || {}) };
|
|
29
|
+
const mode = base.isSilent !== undefined ? 'normal' : spinnerMode();
|
|
30
|
+
const opts = {
|
|
31
|
+
...base,
|
|
32
|
+
stream: base.stream || process.stderr,
|
|
33
|
+
isSilent: base.isSilent !== undefined ? base.isSilent : mode === 'silent',
|
|
34
|
+
};
|
|
35
|
+
// Resolved at call time so jest.mock('ora') in either shape (a bare
|
|
36
|
+
// function, or {__esModule, default}) still applies.
|
|
37
|
+
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
|
38
|
+
const mod = require('ora');
|
|
39
|
+
const factory = (mod && mod.default) || mod;
|
|
40
|
+
if (mode !== 'no-progress')
|
|
41
|
+
return factory(opts);
|
|
42
|
+
// Start with no text so the non-interactive "- <text>" line is never
|
|
43
|
+
// written, then restore the text so succeed()/fail() with no argument
|
|
44
|
+
// still report it.
|
|
45
|
+
const text = opts.text ?? '';
|
|
46
|
+
const s = factory({ ...opts, text: '' });
|
|
47
|
+
const realStart = s.start.bind(s);
|
|
48
|
+
s.start = (t) => {
|
|
49
|
+
realStart();
|
|
50
|
+
try {
|
|
51
|
+
s.text = t ?? text;
|
|
52
|
+
}
|
|
53
|
+
catch { /* mocks may not allow it */ }
|
|
54
|
+
return s;
|
|
55
|
+
};
|
|
56
|
+
return s;
|
|
57
|
+
}
|
|
58
|
+
//# sourceMappingURL=spinner.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"spinner.js","sourceRoot":"","sources":["../../src/lib/spinner.ts"],"names":[],"mappings":";;AAwBA,kCASC;AAGD,gDAEC;AAED,0BA2BC;AA/CD,+CAA6C;AAI7C,SAAgB,WAAW;IACzB,MAAM,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC;IAC1B,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,KAAK,GAAG,IAAI,OAAO,CAAC,GAAG,CAAC,WAAW,KAAK,MAAM;QAAE,OAAO,QAAQ,CAAC;IAC3F,IAAI,IAAI,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,IAAI,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC;QAAE,OAAO,QAAQ,CAAC;IACzG,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC;QAAE,OAAO,QAAQ,CAAC;IAChD,IAAI,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC;QAAE,OAAO,QAAQ,CAAC;IAC7C,IA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IAC7B,MAAM,CAAC,GAAG,OAAO,CAAC,EAAE,GAAG,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAY,CAAC;IACpD,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACjC,CAAiC,CAAC,KAAK,GAAG,CAAC,CAAU,EAAE,EAAE;QACxD,SAAS,EAAE,CAAC;QACZ,IAAI,CAAC;YAAC,CAAC,CAAC,IAAI,GAAG,CAAC,IAAI,IAAI,CAAC;QAAC,CAAC;QAAC,MAAM,CAAC,CAAC,4BAA4B,CAAC,CAAC;QAClE,OAAO,CAAC,CAAC;IACX,CAAC,CAAC;IACF,OAAO,CAAC,CAAC;AACX,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solidnumber/cli",
|
|
3
|
-
"version": "2.24.
|
|
3
|
+
"version": "2.24.5",
|
|
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.5
|
|
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.5, manifest schema 1.0, generated 2026-09-24. 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
|
|