@solidnumber/cli 1.9.26 → 1.9.30

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.
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+ /**
3
+ * Persona-grouped command taxonomy for `solid --help`.
4
+ *
5
+ * The CLI has 91 verbs. A flat alphabetical list doesn't tell you anything
6
+ * about who should run what. This module maps every command to one of four
7
+ * personas:
8
+ *
9
+ * common — everyone (auth, whoami, ai, install, etc.)
10
+ * customer — business owner running their own shop (CRM, orders, voice...)
11
+ * developer — builder on a specific company (pages, push, sandbox...)
12
+ * agency — manages multiple companies / agent orchestration
13
+ *
14
+ * No command is HIDDEN from anyone — the backend is the authority on what
15
+ * actually runs for a given token. This is pure help-output organization.
16
+ *
17
+ * If you add a new top-level command, put it in ONE group below. Anything
18
+ * not listed ends up in `common` as a safe default (visible but ungrouped).
19
+ */
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ exports.PERSONA_ORDER = exports.COMMAND_PERSONAS = exports.PERSONA_TITLES = void 0;
22
+ exports.personaFor = personaFor;
23
+ exports.PERSONA_TITLES = {
24
+ common: 'Common — everyone',
25
+ customer: 'Customer — run your business',
26
+ developer: 'Developer — build your site & integrations',
27
+ agency: 'Agency / Agent — manage multiple companies',
28
+ };
29
+ /**
30
+ * Ordered so that stupid-easy onboarding commands appear first within each
31
+ * group. Order matters for help output; don't alphabetize blindly.
32
+ */
33
+ exports.COMMAND_PERSONAS = {
34
+ // ── Common ───────────────────────────────────────────────────────
35
+ auth: 'common',
36
+ whoami: 'common',
37
+ status: 'common',
38
+ ai: 'common',
39
+ install: 'common',
40
+ context: 'common',
41
+ docs: 'common',
42
+ open: 'common',
43
+ feedback: 'common',
44
+ health: 'common',
45
+ doctor: 'common',
46
+ completion: 'common',
47
+ init: 'common',
48
+ // ── Customer (runs the business) ─────────────────────────────────
49
+ dashboard: 'customer',
50
+ crm: 'customer',
51
+ inbox: 'customer',
52
+ leads: 'customer',
53
+ orders: 'customer',
54
+ products: 'customer',
55
+ services: 'customer',
56
+ payment: 'customer',
57
+ 'payment-links': 'customer',
58
+ voice: 'customer',
59
+ schedule: 'customer',
60
+ billing: 'customer',
61
+ analytics: 'customer',
62
+ reports: 'customer',
63
+ insights: 'customer',
64
+ inventory: 'customer',
65
+ subscriptions: 'customer',
66
+ ecommerce: 'customer',
67
+ notifications: 'customer',
68
+ emails: 'customer',
69
+ marketplace: 'customer',
70
+ brand: 'customer',
71
+ flow: 'customer',
72
+ widget: 'customer',
73
+ // ── Developer (builds on a company) ──────────────────────────────
74
+ pages: 'developer',
75
+ site: 'developer',
76
+ blog: 'developer',
77
+ kb: 'developer',
78
+ push: 'developer',
79
+ pull: 'developer',
80
+ diff: 'developer',
81
+ deploy: 'developer',
82
+ publish: 'developer',
83
+ drafts: 'developer',
84
+ schema: 'developer',
85
+ sandbox: 'developer',
86
+ vibe: 'developer',
87
+ watch: 'developer',
88
+ clone: 'developer',
89
+ import: 'developer',
90
+ api: 'developer',
91
+ logs: 'developer',
92
+ test: 'developer',
93
+ serve: 'developer',
94
+ visual: 'developer',
95
+ rollback: 'developer',
96
+ history: 'developer',
97
+ seo: 'developer',
98
+ connect: 'developer',
99
+ dev: 'developer',
100
+ droplet: 'developer',
101
+ explore: 'developer',
102
+ export: 'developer',
103
+ design: 'developer',
104
+ landing: 'developer',
105
+ 'chat-widgets': 'developer',
106
+ forms: 'developer',
107
+ storage: 'developer',
108
+ domains: 'developer',
109
+ integrations: 'developer',
110
+ inbound: 'developer',
111
+ webhooks: 'developer',
112
+ chains: 'developer',
113
+ ant: 'developer',
114
+ llms: 'developer',
115
+ demo: 'developer',
116
+ proposal: 'developer',
117
+ // ── Agency / Agent (manages multiple companies) ─────────────────
118
+ switch: 'agency',
119
+ company: 'agency',
120
+ users: 'agency',
121
+ keys: 'agency',
122
+ migrate: 'agency',
123
+ onboarding: 'agency',
124
+ agent: 'agency',
125
+ train: 'agency',
126
+ accounting: 'agency',
127
+ audit: 'agency',
128
+ support: 'agency',
129
+ };
130
+ /**
131
+ * Stable display order — `common` first (everyone needs it), then the three
132
+ * role tracks in the order a new user typically grows through:
133
+ * customer first (running a biz), then developer (customizing), then
134
+ * agency (scaling to many).
135
+ */
136
+ exports.PERSONA_ORDER = ['common', 'customer', 'developer', 'agency'];
137
+ function personaFor(commandName) {
138
+ return exports.COMMAND_PERSONAS[commandName] || 'common';
139
+ }
140
+ //# sourceMappingURL=persona-groups.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"persona-groups.js","sourceRoot":"","sources":["../../src/lib/persona-groups.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;GAiBG;;;AA6HH,gCAEC;AA3HY,QAAA,cAAc,GAA4B;IACrD,MAAM,EAAE,mBAAmB;IAC3B,QAAQ,EAAE,8BAA8B;IACxC,SAAS,EAAE,4CAA4C;IACvD,MAAM,EAAE,4CAA4C;CACrD,CAAC;AAEF;;;GAGG;AACU,QAAA,gBAAgB,GAA4B;IACvD,oEAAoE;IACpE,IAAI,EAAE,QAAQ;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,EAAE,EAAE,QAAQ;IACZ,OAAO,EAAE,QAAQ;IACjB,OAAO,EAAE,QAAQ;IACjB,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,QAAQ,EAAE,QAAQ;IAClB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,QAAQ;IACpB,IAAI,EAAE,QAAQ;IAEd,oEAAoE;IACpE,SAAS,EAAE,UAAU;IACrB,GAAG,EAAE,UAAU;IACf,KAAK,EAAE,UAAU;IACjB,KAAK,EAAE,UAAU;IACjB,MAAM,EAAE,UAAU;IAClB,QAAQ,EAAE,UAAU;IACpB,QAAQ,EAAE,UAAU;IACpB,OAAO,EAAE,UAAU;IACnB,eAAe,EAAE,UAAU;IAC3B,KAAK,EAAE,UAAU;IACjB,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E,WAAW;IACpB,QAAQ,EAAE,WAAW;IACrB,MAAM,EAAE,WAAW;IACnB,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,WAAW;IACjB,QAAQ,EAAE,WAAW;IAErB,mEAAmE;IACnE,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,QAAQ;IACjB,KAAK,EAAE,QAAQ;IACf,IAAI,EAAE,QAAQ;IACd,OAAO,EAAE,QAAQ;IACjB,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,QAAQ;IACf,KAAK,EAAE,QAAQ;IACf,UAAU,EAAE,QAAQ;IACpB,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE,QAAQ;CAClB,CAAC;AAEF;;;;;GAKG;AACU,QAAA,aAAa,GAAc,CAAC,QAAQ,EAAE,UAAU,EAAE,WAAW,EAAE,QAAQ,CAAC,CAAC;AAEtF,SAAgB,UAAU,CAAC,WAAmB;IAC5C,OAAO,wBAAgB,CAAC,WAAW,CAAC,IAAI,QAAQ,CAAC;AACnD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solidnumber/cli",
3
- "version": "1.9.26",
3
+ "version": "1.9.30",
4
4
  "description": "AI business infrastructure from the terminal — CRM, payments, voice AI, 116 agents, 52 industry templates. solid clone plumber → instant business. Also: programmatic TS SDK via @solidnumber/cli/sdk.",
5
5
  "main": "dist/index.js",
6
6
  "bin": {