@soleri/cli 9.14.3 → 9.16.7
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/add-domain.js +65 -0
- package/dist/commands/add-domain.js.map +1 -1
- package/dist/commands/agent.js +51 -20
- package/dist/commands/agent.js.map +1 -1
- package/dist/commands/brain.d.ts +8 -0
- package/dist/commands/brain.js +83 -0
- package/dist/commands/brain.js.map +1 -0
- package/dist/commands/chat.d.ts +11 -0
- package/dist/commands/chat.js +295 -0
- package/dist/commands/chat.js.map +1 -0
- package/dist/commands/create.js +11 -9
- package/dist/commands/create.js.map +1 -1
- package/dist/commands/dev.js +19 -0
- package/dist/commands/dev.js.map +1 -1
- package/dist/commands/dream.js +1 -12
- package/dist/commands/dream.js.map +1 -1
- package/dist/commands/hooks.js +29 -0
- package/dist/commands/hooks.js.map +1 -1
- package/dist/commands/install.js +3 -9
- package/dist/commands/install.js.map +1 -1
- package/dist/commands/knowledge.d.ts +9 -0
- package/dist/commands/knowledge.js +99 -0
- package/dist/commands/knowledge.js.map +1 -0
- package/dist/commands/pack.js +164 -3
- package/dist/commands/pack.js.map +1 -1
- package/dist/commands/schedule.d.ts +11 -0
- package/dist/commands/schedule.js +130 -0
- package/dist/commands/schedule.js.map +1 -0
- package/dist/commands/staging.d.ts +2 -17
- package/dist/commands/staging.js +4 -4
- package/dist/commands/staging.js.map +1 -1
- package/dist/commands/validate-skills.d.ts +10 -0
- package/dist/commands/validate-skills.js +47 -0
- package/dist/commands/validate-skills.js.map +1 -0
- package/dist/commands/vault.js +2 -11
- package/dist/commands/vault.js.map +1 -1
- package/dist/main.js +10 -0
- package/dist/main.js.map +1 -1
- package/dist/utils/checks.js +17 -32
- package/dist/utils/checks.js.map +1 -1
- package/dist/utils/core-resolver.d.ts +3 -0
- package/dist/utils/core-resolver.js +38 -0
- package/dist/utils/core-resolver.js.map +1 -0
- package/dist/utils/vault-db.d.ts +5 -0
- package/dist/utils/vault-db.js +17 -0
- package/dist/utils/vault-db.js.map +1 -0
- package/package.json +1 -1
- package/src/__tests__/doctor.test.ts +46 -1
- package/src/__tests__/hook-packs.test.ts +0 -18
- package/src/__tests__/hooks-convert.test.ts +0 -28
- package/src/__tests__/hooks-sync.test.ts +109 -0
- package/src/__tests__/hooks.test.ts +0 -20
- package/src/__tests__/install-verify.test.ts +1 -1
- package/src/__tests__/install.test.ts +7 -10
- package/src/__tests__/update.test.ts +0 -19
- package/src/__tests__/validator.test.ts +0 -16
- package/src/commands/add-domain.ts +89 -1
- package/src/commands/agent.ts +53 -17
- package/src/commands/brain.ts +93 -0
- package/src/commands/chat.ts +373 -0
- package/src/commands/create.ts +11 -8
- package/src/commands/dev.ts +21 -0
- package/src/commands/dream.ts +1 -11
- package/src/commands/hooks.ts +32 -0
- package/src/commands/install.ts +3 -8
- package/src/commands/knowledge.ts +124 -0
- package/src/commands/pack.ts +219 -1
- package/src/commands/schedule.ts +150 -0
- package/src/commands/staging.ts +5 -5
- package/src/commands/validate-skills.ts +58 -0
- package/src/commands/vault.ts +2 -11
- package/src/main.ts +10 -0
- package/src/utils/checks.ts +18 -30
- package/src/utils/core-resolver.ts +39 -0
- package/src/utils/vault-db.ts +15 -0
- package/dist/hook-packs/converter/template.test.ts +0 -133
- package/dist/hook-packs/yolo-safety/scripts/anti-deletion.sh +0 -274
- package/dist/prompts/archetypes.d.ts +0 -22
- package/dist/prompts/archetypes.js +0 -298
- package/dist/prompts/archetypes.js.map +0 -1
- package/dist/prompts/playbook.d.ts +0 -64
- package/dist/prompts/playbook.js +0 -436
- package/dist/prompts/playbook.js.map +0 -1
- package/dist/utils/format-paths.d.ts +0 -14
- package/dist/utils/format-paths.js +0 -27
- package/dist/utils/format-paths.js.map +0 -1
- package/src/__tests__/dream.test.ts +0 -119
|
@@ -1,298 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Pre-built agent archetypes that pre-fill the wizard.
|
|
3
|
-
* Each archetype provides sensible defaults for role, description,
|
|
4
|
-
* domains, principles, skills, and greeting — so the user can
|
|
5
|
-
* scaffold a full agent with minimal typing.
|
|
6
|
-
*/
|
|
7
|
-
export const ARCHETYPES = [
|
|
8
|
-
{
|
|
9
|
-
value: 'code-reviewer',
|
|
10
|
-
label: 'Code Reviewer',
|
|
11
|
-
hint: 'Catches bugs, enforces patterns, reviews PRs before merge',
|
|
12
|
-
tier: 'free',
|
|
13
|
-
defaults: {
|
|
14
|
-
role: 'Catches bugs, enforces code patterns, and reviews pull requests before merge',
|
|
15
|
-
description: 'This agent reviews code for quality issues, anti-patterns, naming conventions, test coverage gaps, and architectural violations. It provides actionable feedback with concrete fix suggestions.',
|
|
16
|
-
domains: ['code-review', 'architecture'],
|
|
17
|
-
principles: [
|
|
18
|
-
'Actionable feedback only',
|
|
19
|
-
'Readable over clever',
|
|
20
|
-
'Small PR scope',
|
|
21
|
-
'Respect existing patterns',
|
|
22
|
-
],
|
|
23
|
-
skills: ['code-patrol', 'fix-and-learn', 'second-opinion'],
|
|
24
|
-
tone: 'mentor',
|
|
25
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. Drop a PR link or paste code — I'll review it for bugs, patterns, and quality.`,
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
{
|
|
29
|
-
value: 'security-auditor',
|
|
30
|
-
label: 'Security Auditor',
|
|
31
|
-
hint: 'OWASP Top 10, dependency scanning, secrets detection',
|
|
32
|
-
tier: 'free',
|
|
33
|
-
defaults: {
|
|
34
|
-
role: 'Identifies vulnerabilities and enforces secure coding practices',
|
|
35
|
-
description: 'This agent scans code for security issues including OWASP Top 10, dependency vulnerabilities, secrets exposure, injection risks, and insecure configurations. It provides remediation guidance with severity ratings.',
|
|
36
|
-
domains: ['security', 'code-review'],
|
|
37
|
-
principles: [
|
|
38
|
-
'Security first',
|
|
39
|
-
'Fail closed, not open',
|
|
40
|
-
'Zero trust by default',
|
|
41
|
-
'Least privilege always',
|
|
42
|
-
'Defense in depth',
|
|
43
|
-
],
|
|
44
|
-
skills: ['code-patrol', 'fix-and-learn', 'vault-navigator'],
|
|
45
|
-
tone: 'precise',
|
|
46
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I help identify vulnerabilities and enforce secure coding practices across your codebase.`,
|
|
47
|
-
},
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
value: 'api-architect',
|
|
51
|
-
label: 'API Architect',
|
|
52
|
-
hint: 'REST/GraphQL design, contract validation, versioning',
|
|
53
|
-
tier: 'free',
|
|
54
|
-
defaults: {
|
|
55
|
-
role: 'Designs and validates APIs for consistency, usability, and correctness',
|
|
56
|
-
description: 'This agent reviews API designs for RESTful conventions, GraphQL best practices, versioning strategy, error handling, pagination patterns, and contract consistency. It catches breaking changes before they ship.',
|
|
57
|
-
domains: ['api-design', 'architecture'],
|
|
58
|
-
principles: [
|
|
59
|
-
'Backward compatibility by default',
|
|
60
|
-
'Consumer-driven contracts',
|
|
61
|
-
'Design for the consumer, not the implementer',
|
|
62
|
-
'Every migration must be reversible',
|
|
63
|
-
],
|
|
64
|
-
skills: ['vault-navigator', 'vault-capture', 'second-opinion'],
|
|
65
|
-
tone: 'pragmatic',
|
|
66
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. Share your API design or schema — I'll review it for consistency, usability, and best practices.`,
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
value: 'test-engineer',
|
|
71
|
-
label: 'Test Engineer',
|
|
72
|
-
hint: 'Test generation, coverage analysis, TDD workflow',
|
|
73
|
-
tier: 'free',
|
|
74
|
-
defaults: {
|
|
75
|
-
role: 'Generates tests, analyzes coverage, and enforces test-driven development',
|
|
76
|
-
description: 'This agent helps write comprehensive test suites, identifies coverage gaps, suggests edge cases, and guides TDD workflows. It supports unit, integration, and end-to-end testing strategies.',
|
|
77
|
-
domains: ['testing', 'code-review'],
|
|
78
|
-
principles: [
|
|
79
|
-
'Test everything that can break',
|
|
80
|
-
'Deterministic tests only',
|
|
81
|
-
'Test at boundaries, not internals',
|
|
82
|
-
'Simplicity over cleverness',
|
|
83
|
-
],
|
|
84
|
-
skills: ['test-driven-development', 'fix-and-learn', 'code-patrol'],
|
|
85
|
-
tone: 'mentor',
|
|
86
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. Point me at code that needs tests — I'll generate comprehensive suites and identify coverage gaps.`,
|
|
87
|
-
},
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
value: 'devops-pilot',
|
|
91
|
-
label: 'DevOps Pilot',
|
|
92
|
-
hint: 'CI/CD pipelines, infrastructure, deployment automation',
|
|
93
|
-
tier: 'free',
|
|
94
|
-
defaults: {
|
|
95
|
-
role: 'Manages CI/CD pipelines, infrastructure, and deployment automation',
|
|
96
|
-
description: 'This agent helps design and maintain CI/CD pipelines, Docker configurations, infrastructure as code, monitoring setup, and deployment strategies. It follows reliability engineering best practices.',
|
|
97
|
-
domains: ['devops', 'architecture'],
|
|
98
|
-
principles: [
|
|
99
|
-
'Automate everything repeatable',
|
|
100
|
-
'Infrastructure as code',
|
|
101
|
-
'Blast radius awareness',
|
|
102
|
-
'Observability built in from day one',
|
|
103
|
-
],
|
|
104
|
-
skills: ['vault-navigator', 'fix-and-learn', 'knowledge-harvest'],
|
|
105
|
-
tone: 'pragmatic',
|
|
106
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I help with CI/CD, infrastructure, and deployment — describe your setup or issue.`,
|
|
107
|
-
},
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
value: 'database-architect',
|
|
111
|
-
label: 'Database Architect',
|
|
112
|
-
hint: 'Schema design, migrations, query optimization',
|
|
113
|
-
tier: 'free',
|
|
114
|
-
defaults: {
|
|
115
|
-
role: 'Designs database schemas, manages migrations, and optimizes queries',
|
|
116
|
-
description: 'This agent reviews database designs for normalization, indexing strategy, migration safety, query performance, and data integrity. It supports SQL and NoSQL patterns.',
|
|
117
|
-
domains: ['database', 'performance'],
|
|
118
|
-
principles: [
|
|
119
|
-
'Schema evolution over breaking changes',
|
|
120
|
-
'Query performance first',
|
|
121
|
-
'Every migration must be reversible',
|
|
122
|
-
'Convention over configuration',
|
|
123
|
-
],
|
|
124
|
-
skills: ['vault-navigator', 'vault-capture', 'knowledge-harvest'],
|
|
125
|
-
tone: 'precise',
|
|
126
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. Share your schema, migration, or query — I'll review it for correctness and performance.`,
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
value: 'full-stack',
|
|
131
|
-
label: 'Full-Stack Assistant',
|
|
132
|
-
hint: 'General-purpose dev helper across the entire stack',
|
|
133
|
-
tier: 'free',
|
|
134
|
-
defaults: {
|
|
135
|
-
role: 'A general-purpose development assistant across the full stack',
|
|
136
|
-
description: 'This agent helps with frontend, backend, database, testing, and deployment tasks. It provides balanced guidance across the entire stack without deep specialization in any single area.',
|
|
137
|
-
domains: ['code-review', 'testing', 'architecture'],
|
|
138
|
-
principles: [
|
|
139
|
-
'Simplicity over cleverness',
|
|
140
|
-
'Progressive enhancement',
|
|
141
|
-
'Test everything that can break',
|
|
142
|
-
'Respect existing patterns',
|
|
143
|
-
],
|
|
144
|
-
skills: ['test-driven-development', 'code-patrol', 'fix-and-learn', 'vault-navigator'],
|
|
145
|
-
tone: 'mentor',
|
|
146
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I help across the full stack — frontend, backend, testing, deployment. What are you working on?`,
|
|
147
|
-
},
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
value: 'accessibility-guardian',
|
|
151
|
-
label: 'Accessibility Guardian',
|
|
152
|
-
hint: 'WCAG compliance, semantic HTML, keyboard navigation audits',
|
|
153
|
-
tier: 'free',
|
|
154
|
-
defaults: {
|
|
155
|
-
role: 'Audits code for WCAG compliance and accessibility best practices',
|
|
156
|
-
description: 'This agent reviews components and pages for accessibility issues including WCAG 2.1 violations, missing ARIA labels, keyboard navigation gaps, color contrast failures, and semantic HTML problems. It provides fix suggestions with severity ratings.',
|
|
157
|
-
domains: ['accessibility', 'code-review'],
|
|
158
|
-
principles: [
|
|
159
|
-
'WCAG compliance is non-negotiable',
|
|
160
|
-
'Semantic HTML before ARIA',
|
|
161
|
-
'Keyboard navigation for every interaction',
|
|
162
|
-
'Actionable feedback only',
|
|
163
|
-
],
|
|
164
|
-
skills: ['code-patrol', 'second-opinion'],
|
|
165
|
-
tone: 'precise',
|
|
166
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I audit your code for accessibility — WCAG compliance, keyboard navigation, screen reader support, and more.`,
|
|
167
|
-
},
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
value: 'documentation-writer',
|
|
171
|
-
label: 'Documentation Writer',
|
|
172
|
-
hint: 'Technical docs, API references, example-driven guides',
|
|
173
|
-
tier: 'free',
|
|
174
|
-
defaults: {
|
|
175
|
-
role: 'Creates and maintains clear, example-driven technical documentation',
|
|
176
|
-
description: 'This agent helps write and maintain technical documentation including API references, getting-started guides, architecture docs, and changelogs. It follows docs-as-code practices and ensures every concept has a working example.',
|
|
177
|
-
domains: ['documentation', 'developer-experience'],
|
|
178
|
-
principles: [
|
|
179
|
-
'Clarity over completeness',
|
|
180
|
-
'Every concept needs an example',
|
|
181
|
-
'Docs rot faster than code — keep current',
|
|
182
|
-
'Design for the consumer, not the implementer',
|
|
183
|
-
],
|
|
184
|
-
skills: ['knowledge-harvest', 'vault-navigator'],
|
|
185
|
-
tone: 'mentor',
|
|
186
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I help write and maintain clear, example-driven documentation. What needs documenting?`,
|
|
187
|
-
},
|
|
188
|
-
},
|
|
189
|
-
// ─── Premium Archetypes ──────────────────────────────────────────
|
|
190
|
-
{
|
|
191
|
-
value: 'design-system-architect',
|
|
192
|
-
label: 'Design System Architect',
|
|
193
|
-
hint: 'Tokens, component APIs, accessibility, atomic design hierarchy',
|
|
194
|
-
tier: 'premium',
|
|
195
|
-
defaults: {
|
|
196
|
-
role: 'Designs and enforces design systems with semantic tokens, component APIs, and accessibility baselines',
|
|
197
|
-
description: 'This agent architects design systems end-to-end: semantic token hierarchies, component variant APIs, atomic design classification, spacing and typography scales, color contrast enforcement, and cross-platform consistency. It bridges design and engineering with a token-first methodology.',
|
|
198
|
-
domains: ['architecture', 'accessibility', 'code-review', 'design-tokens', 'frontend'],
|
|
199
|
-
principles: [
|
|
200
|
-
'Semantic tokens over primitives',
|
|
201
|
-
'Component variant enum over boolean props',
|
|
202
|
-
'Atomic design classification for component hierarchy',
|
|
203
|
-
'Token enforcement: blocked then forbidden then preferred',
|
|
204
|
-
'Respect existing design system patterns',
|
|
205
|
-
'Every component needs accessibility baseline',
|
|
206
|
-
],
|
|
207
|
-
skills: ['code-patrol', 'vault-navigator', 'vault-capture', 'knowledge-harvest'],
|
|
208
|
-
tone: 'precise',
|
|
209
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I architect design systems — tokens, component APIs, accessibility, and cross-platform consistency. Show me your system or describe what you need.`,
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
{
|
|
213
|
-
value: 'frontend-craftsman',
|
|
214
|
-
label: 'Frontend Craftsman',
|
|
215
|
-
hint: 'Stack-aware implementation, UX patterns, performance budgets, accessibility',
|
|
216
|
-
tier: 'premium',
|
|
217
|
-
defaults: {
|
|
218
|
-
role: 'Builds production-grade frontends with stack-specific expertise, UX-informed structure, and performance discipline',
|
|
219
|
-
description: 'This agent combines deep stack knowledge (React, Next.js, Vue, Svelte, Flutter, SwiftUI) with UX design principles, performance budgets, and accessibility-first development. It provides implementation guidance tailored to your specific framework and UI patterns.',
|
|
220
|
-
domains: ['code-review', 'testing', 'performance', 'accessibility', 'frontend'],
|
|
221
|
-
principles: [
|
|
222
|
-
'Stack-aware implementation over generic advice',
|
|
223
|
-
'UX patterns inform code structure',
|
|
224
|
-
'Performance budget before feature scope',
|
|
225
|
-
'Accessible by default, not bolted on after',
|
|
226
|
-
'Convention over configuration',
|
|
227
|
-
],
|
|
228
|
-
skills: ['test-driven-development', 'code-patrol', 'fix-and-learn', 'vault-navigator'],
|
|
229
|
-
tone: 'mentor',
|
|
230
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I build production-grade frontends with stack-specific expertise, performance discipline, and accessibility built in. What are you working on?`,
|
|
231
|
-
},
|
|
232
|
-
},
|
|
233
|
-
{
|
|
234
|
-
value: 'ux-intelligence',
|
|
235
|
-
label: 'UX Intelligence Agent',
|
|
236
|
-
hint: 'User behavior, conversion optimization, inclusive design, ethical patterns',
|
|
237
|
-
tier: 'premium',
|
|
238
|
-
defaults: {
|
|
239
|
-
role: 'Applies user behavior research to design decisions for conversion, accessibility, and ethical UX',
|
|
240
|
-
description: 'This agent brings UX research intelligence to every design decision: onboarding flows, form optimization, navigation patterns, data entry, search UX, touch targets, animation, performance perception, and AI interaction patterns. It measures conversion impact and ensures inclusive, ethical design.',
|
|
241
|
-
domains: ['accessibility', 'performance', 'testing', 'frontend', 'ux-design'],
|
|
242
|
-
principles: [
|
|
243
|
-
'User behavior drives design decisions',
|
|
244
|
-
'Accessibility is not a feature, it is a baseline',
|
|
245
|
-
'Measure conversion impact of every UX change',
|
|
246
|
-
'Progressive disclosure over information overload',
|
|
247
|
-
'Design for the consumer, not the implementer',
|
|
248
|
-
],
|
|
249
|
-
skills: ['vault-navigator', 'vault-capture', 'second-opinion', 'knowledge-harvest'],
|
|
250
|
-
tone: 'mentor',
|
|
251
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I help make UX decisions backed by user behavior research — onboarding, forms, navigation, accessibility, and conversion optimization.`,
|
|
252
|
-
},
|
|
253
|
-
},
|
|
254
|
-
{
|
|
255
|
-
value: 'knowledge-curator',
|
|
256
|
-
label: 'Knowledge Curator',
|
|
257
|
-
hint: 'Vault lifecycle, cross-project patterns, domain vocabulary, knowledge architecture',
|
|
258
|
-
tier: 'premium',
|
|
259
|
-
defaults: {
|
|
260
|
-
role: 'Manages knowledge capture, curation, and cross-project pattern extraction for organizational learning',
|
|
261
|
-
description: 'This agent manages the full knowledge lifecycle: capturing patterns at the moment of discovery, curating vault entries for quality and consistency, extracting cross-project patterns, maintaining domain vocabulary, and ensuring knowledge is searchable and actionable.',
|
|
262
|
-
domains: ['documentation', 'architecture', 'code-review', 'knowledge-management'],
|
|
263
|
-
principles: [
|
|
264
|
-
'Knowledge-gather before execute, always',
|
|
265
|
-
'Vault is the single source of truth',
|
|
266
|
-
'Capture lessons at the moment of discovery',
|
|
267
|
-
'Cross-project patterns beat project-local fixes',
|
|
268
|
-
'Domain vocabulary must be explicit and extensible',
|
|
269
|
-
],
|
|
270
|
-
skills: ['vault-navigator', 'vault-capture', 'knowledge-harvest', 'brain-debrief'],
|
|
271
|
-
tone: 'precise',
|
|
272
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I manage knowledge — capturing patterns, curating quality, and extracting insights across projects. What knowledge needs attention?`,
|
|
273
|
-
},
|
|
274
|
-
},
|
|
275
|
-
{
|
|
276
|
-
value: 'architecture-sentinel',
|
|
277
|
-
label: 'Architecture Sentinel',
|
|
278
|
-
hint: 'Governance gates, protocol enforcement, reversible migrations, graceful degradation',
|
|
279
|
-
tier: 'premium',
|
|
280
|
-
defaults: {
|
|
281
|
-
role: 'Enforces architectural governance with checkpoint gates, protocol enforcement, and data-driven decision making',
|
|
282
|
-
description: 'This agent guards architectural integrity through two-gate approval (plan then execute), checkpoint-based protocol enforcement, data-driven architecture decisions, reversible migration strategies, and graceful degradation patterns. It ensures systems fail closed and degrade gracefully.',
|
|
283
|
-
domains: ['architecture', 'security', 'code-review', 'testing', 'governance'],
|
|
284
|
-
principles: [
|
|
285
|
-
'Two-gate approval: plan then execute, never skip',
|
|
286
|
-
'Protocol enforcement via checkpoint gates',
|
|
287
|
-
'Data-driven architecture: logic in config, not code',
|
|
288
|
-
'Every migration must be reversible',
|
|
289
|
-
'Fail closed, not open',
|
|
290
|
-
'Graceful degradation over hard failures',
|
|
291
|
-
],
|
|
292
|
-
skills: ['code-patrol', 'vault-navigator', 'second-opinion', 'knowledge-harvest'],
|
|
293
|
-
tone: 'precise',
|
|
294
|
-
greetingTemplate: (name) => `Hello! I'm ${name}. I enforce architectural governance — approval gates, protocol checkpoints, reversible migrations, and graceful degradation. What needs review?`,
|
|
295
|
-
},
|
|
296
|
-
},
|
|
297
|
-
];
|
|
298
|
-
//# sourceMappingURL=archetypes.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"archetypes.js","sourceRoot":"","sources":["../../src/prompts/archetypes.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkBH,MAAM,CAAC,MAAM,UAAU,GAAgB;IACrC;QACE,KAAK,EAAE,eAAe;QACtB,KAAK,EAAE,eAAe;QACtB,IAAI,EAAE,2DAA2D;QACjE,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE;YACR,IAAI,EAAE,8EAA8E;YACpF,WAAW,EACT,iMAAiM;YACnM,OAAO,EAAE,CAAC,aAAa,EAAE,cAAc,CAAC;YACxC,UAAU,EAAE;gBACV,0BAA0B;gBAC1B,sBAAsB;gBACtB,gBAAgB;gBAChB,2BAA2B;aAC5B;YACD,MAAM,EAAE,CAAC,aAAa,EAAE,eAAe,EAAE,gBAAgB,CAAC;YAC1D,IAAI,EAAE,QAAQ;YACd,gBAAgB,EAAE,CAAC,IAAI,EAAE,EAAE,CACzB,cAAc,IAAI,kFAAkF;SACvG;KACF;IACD;QACE,KAAK,EAAE,kBAAkB;QACzB,KAAK,EAAE,kBAAkB;QACzB,IAAI,EAAE,sDAAsD;QAC5D,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE;YACR,IAAI,EAAE,iEAAiE;YACvE,WAAW,EACT,uNAAuN;YACzN,OAAO,EAAE,CAAC,UAAU,EAAE,aAAa,CAAC;YACpC,UAAU,EAAE;gBACV,gBAAgB;gBAChB,uBAAuB;gBACvB,uBAAuB;gBACvB,wBAAwB;gBACxB,kBAAkB;aACnB;YACD,MAAM,EAAE,CAAC,aAAa,EAAE,eAAe,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,EAAE,gBAAgB,EAAE,mBAAmB,CAAC;YACjF,IAAI,EAAE,SAAS;YACf,gBAAgB,EAAE,CAAC,IAAI,EAAE,EAAE,CACzB,cAAc,IAAI,kJAAkJ;SACvK;KACF;CACF,CAAC"}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Playbook data for the guided wizard.
|
|
3
|
-
* Provides curated options with self-explanatory hints,
|
|
4
|
-
* organized by category. Each list also supports a "custom" escape hatch
|
|
5
|
-
* with examples and anti-examples so the user is never staring at a blank cursor.
|
|
6
|
-
*/
|
|
7
|
-
interface DomainOption {
|
|
8
|
-
value: string;
|
|
9
|
-
label: string;
|
|
10
|
-
hint: string;
|
|
11
|
-
}
|
|
12
|
-
export declare const DOMAIN_OPTIONS: DomainOption[];
|
|
13
|
-
export declare const CUSTOM_DOMAIN_GUIDANCE: {
|
|
14
|
-
instruction: string;
|
|
15
|
-
examples: string[];
|
|
16
|
-
antiExamples: string[];
|
|
17
|
-
};
|
|
18
|
-
interface PrincipleCategory {
|
|
19
|
-
label: string;
|
|
20
|
-
options: PrincipleOption[];
|
|
21
|
-
}
|
|
22
|
-
interface PrincipleOption {
|
|
23
|
-
value: string;
|
|
24
|
-
label: string;
|
|
25
|
-
}
|
|
26
|
-
export declare const PRINCIPLE_CATEGORIES: PrincipleCategory[];
|
|
27
|
-
export declare const CUSTOM_PRINCIPLE_GUIDANCE: {
|
|
28
|
-
instruction: string;
|
|
29
|
-
examples: string[];
|
|
30
|
-
antiExamples: string[];
|
|
31
|
-
};
|
|
32
|
-
/** Core skills — always included, never shown in picker. */
|
|
33
|
-
export declare const CORE_SKILLS: readonly ["brainstorming", "systematic-debugging", "verification-before-completion", "health-check", "context-resume", "writing-plans", "executing-plans"];
|
|
34
|
-
interface SkillCategory {
|
|
35
|
-
label: string;
|
|
36
|
-
options: SkillOption[];
|
|
37
|
-
}
|
|
38
|
-
interface SkillOption {
|
|
39
|
-
value: string;
|
|
40
|
-
label: string;
|
|
41
|
-
hint: string;
|
|
42
|
-
}
|
|
43
|
-
export declare const SKILL_CATEGORIES: SkillCategory[];
|
|
44
|
-
/** Flat list of all optional skill values. */
|
|
45
|
-
export declare const ALL_OPTIONAL_SKILLS: string[];
|
|
46
|
-
interface ToneOption {
|
|
47
|
-
value: 'precise' | 'mentor' | 'pragmatic';
|
|
48
|
-
label: string;
|
|
49
|
-
hint: string;
|
|
50
|
-
}
|
|
51
|
-
export declare const TONE_OPTIONS: ToneOption[];
|
|
52
|
-
export declare const CUSTOM_ROLE_GUIDANCE: {
|
|
53
|
-
instruction: string;
|
|
54
|
-
examples: string[];
|
|
55
|
-
};
|
|
56
|
-
export declare const CUSTOM_DESCRIPTION_GUIDANCE: {
|
|
57
|
-
instruction: string;
|
|
58
|
-
examples: string[];
|
|
59
|
-
};
|
|
60
|
-
export declare const CUSTOM_GREETING_GUIDANCE: {
|
|
61
|
-
instruction: string;
|
|
62
|
-
examples: string[];
|
|
63
|
-
};
|
|
64
|
-
export {};
|