wyrm-mcp 7.3.2 → 7.3.3
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 +8 -14
- package/dist/activation.js +59 -1
- package/dist/agent-daemon.js +281 -4
- package/dist/agent-loop.js +332 -7
- package/dist/analytics.js +236 -13
- package/dist/attribution.js +49 -1
- package/dist/audit.js +457 -2
- package/dist/auto-capture.js +138 -3
- package/dist/auto-orchestrator.js +325 -1
- package/dist/autoconfig.d.ts +50 -0
- package/dist/autoconfig.d.ts.map +1 -1
- package/dist/autoconfig.js +1115 -39
- package/dist/autoconfig.js.map +1 -1
- package/dist/buddy-runner.js +109 -1
- package/dist/buddy.js +564 -14
- package/dist/build-flags.js +15 -1
- package/dist/capabilities.js +183 -3
- package/dist/capture.js +56 -1
- package/dist/causality.js +148 -8
- package/dist/cli.js +281 -20
- package/dist/cloud/cli.js +541 -5
- package/dist/cloud/client.js +221 -1
- package/dist/cloud/crypto.js +85 -1
- package/dist/cloud/machine-id.js +113 -2
- package/dist/cloud/recovery.js +60 -1
- package/dist/cloud/sync-engine.js +543 -7
- package/dist/cloud-backup.js +579 -5
- package/dist/cloud-profile.js +138 -1
- package/dist/cloud-sync-entrypoint.js +47 -1
- package/dist/cloud-sync.js +309 -2
- package/dist/connectors/bridge-source.d.ts +46 -0
- package/dist/connectors/bridge-source.d.ts.map +1 -0
- package/dist/connectors/bridge-source.js +77 -0
- package/dist/connectors/bridge-source.js.map +1 -0
- package/dist/connectors/index.d.ts +24 -0
- package/dist/connectors/index.d.ts.map +1 -0
- package/dist/connectors/index.js +69 -0
- package/dist/connectors/index.js.map +1 -0
- package/dist/connectors/ingest.d.ts +16 -0
- package/dist/connectors/ingest.d.ts.map +1 -0
- package/dist/connectors/ingest.js +116 -0
- package/dist/connectors/ingest.js.map +1 -0
- package/dist/connectors/types.d.ts +99 -0
- package/dist/connectors/types.d.ts.map +1 -0
- package/dist/connectors/types.js +17 -0
- package/dist/connectors/types.js.map +1 -0
- package/dist/constellation.js +168 -12
- package/dist/content-signature.js +45 -1
- package/dist/context-build-budgeted.js +144 -4
- package/dist/context-ranking.js +69 -1
- package/dist/crypto.js +179 -1
- package/dist/daemon-write-endpoint.js +290 -1
- package/dist/daemon-writer.js +406 -2
- package/dist/database.js +1278 -53
- package/dist/deprecations.js +162 -2
- package/dist/design.js +141 -13
- package/dist/event-replication.js +112 -1
- package/dist/events-sse.js +43 -7
- package/dist/events.js +238 -6
- package/dist/failure-patterns.d.ts +107 -0
- package/dist/failure-patterns.d.ts.map +1 -1
- package/dist/failure-patterns.js +924 -43
- package/dist/failure-patterns.js.map +1 -1
- package/dist/federation.js +236 -12
- package/dist/goals.js +101 -13
- package/dist/golden.js +355 -3
- package/dist/handlers/agent.js +165 -4
- package/dist/handlers/alias-adapters.js +129 -1
- package/dist/handlers/aliases.js +171 -1
- package/dist/handlers/audit.js +87 -1
- package/dist/handlers/boundary.js +221 -1
- package/dist/handlers/capture.js +1114 -73
- package/dist/handlers/causality.js +119 -9
- package/dist/handlers/cloud.js +382 -85
- package/dist/handlers/companion.js +459 -28
- package/dist/handlers/datalake.js +187 -7
- package/dist/handlers/dispatch-context.js +22 -0
- package/dist/handlers/entity.js +256 -25
- package/dist/handlers/events.js +335 -16
- package/dist/handlers/failure.d.ts.map +1 -1
- package/dist/handlers/failure.js +408 -13
- package/dist/handlers/failure.js.map +1 -1
- package/dist/handlers/goals.js +296 -4
- package/dist/handlers/intelligence.js +681 -126
- package/dist/handlers/invoicing.js +70 -1
- package/dist/handlers/mcpclient.js +137 -6
- package/dist/handlers/orchestration.js +125 -40
- package/dist/handlers/output-schemas.js +24 -1
- package/dist/handlers/presence.js +99 -3
- package/dist/handlers/project.js +182 -28
- package/dist/handlers/prompts.js +157 -6
- package/dist/handlers/quest.js +224 -4
- package/dist/handlers/recall.js +237 -13
- package/dist/handlers/registry.js +167 -1
- package/dist/handlers/resources.js +288 -1
- package/dist/handlers/review.js +74 -11
- package/dist/handlers/run.js +498 -16
- package/dist/handlers/search.js +338 -15
- package/dist/handlers/session.js +643 -31
- package/dist/handlers/share.js +184 -8
- package/dist/handlers/shims.js +464 -1
- package/dist/handlers/skill.js +449 -67
- package/dist/handlers/survivors.js +120 -1
- package/dist/handlers/symbols.js +109 -8
- package/dist/handlers/syncops.js +302 -4
- package/dist/handlers/types.js +27 -1
- package/dist/harvest.js +191 -5
- package/dist/hours.js +156 -7
- package/dist/http-auth.js +321 -3
- package/dist/http-fast.js +1302 -22
- package/dist/icons.js +47 -1
- package/dist/importers.js +268 -1
- package/dist/index.js +840 -2
- package/dist/indexer.js +145 -4
- package/dist/intelligence.js +261 -31
- package/dist/internal-dispatch.js +212 -3
- package/dist/keyset.js +110 -1
- package/dist/knowledge-graph.js +176 -12
- package/dist/license.js +441 -2
- package/dist/logger.js +199 -2
- package/dist/maintenance.js +148 -2
- package/dist/mcp-client.js +262 -6
- package/dist/memory-artifacts.js +596 -32
- package/dist/migrate-prompt.js +124 -2
- package/dist/migrations.d.ts.map +1 -1
- package/dist/migrations.js +799 -42
- package/dist/migrations.js.map +1 -1
- package/dist/performance.js +228 -1
- package/dist/presence.js +140 -11
- package/dist/priority-embed.js +164 -5
- package/dist/providers/embedding-provider.js +196 -1
- package/dist/readonly-gate.js +29 -1
- package/dist/receipt.js +43 -1
- package/dist/rehydration.js +157 -9
- package/dist/reindex.js +88 -1
- package/dist/render-target.js +544 -21
- package/dist/render.js +280 -4
- package/dist/repl-guard.js +173 -1
- package/dist/replication-daemon-entrypoint.js +31 -1
- package/dist/replication-daemon.js +262 -2
- package/dist/rerank.js +142 -1
- package/dist/resilience.js +591 -1
- package/dist/reverse-bridge.js +360 -5
- package/dist/security.js +244 -1
- package/dist/session-seen.js +51 -3
- package/dist/setup.js +260 -1
- package/dist/skill-author.js +168 -5
- package/dist/spec-kit.js +191 -1
- package/dist/sqlite-busy.js +154 -1
- package/dist/statusline.js +315 -11
- package/dist/sub-agent.js +262 -13
- package/dist/summarizer.js +139 -13
- package/dist/symbols.js +283 -7
- package/dist/sync.js +359 -5
- package/dist/tasks-dispatch.js +84 -1
- package/dist/tasks.js +282 -1
- package/dist/token-budget.js +143 -1
- package/dist/tool-analytics.js +129 -7
- package/dist/tool-annotations.js +365 -1
- package/dist/tool-manifest-v2.json +1 -1
- package/dist/tool-manifest.json +1 -1
- package/dist/tool-profiles.js +75 -1
- package/dist/trace-harvest.js +244 -6
- package/dist/types.js +30 -1
- package/dist/ui-dashboard.js +50 -41
- package/dist/ulid.js +81 -1
- package/dist/usage-tracker.js +66 -1
- package/dist/validate.js +129 -1
- package/dist/vault.js +534 -1
- package/dist/vector-init.js +67 -1
- package/dist/vectors.js +184 -3
- package/dist/version-check.js +136 -4
- package/dist/visibility.js +155 -19
- package/dist/wyrm-cli.js +2845 -101
- package/dist/wyrm-cli.js.map +1 -1
- package/dist/wyrm-guard.d.ts.map +1 -1
- package/dist/wyrm-guard.js +475 -14
- package/dist/wyrm-guard.js.map +1 -1
- package/dist/wyrm-loop.js +150 -3
- package/dist/wyrm-manifest.json +1 -1
- package/dist/wyrm-statusline-daemon.js +11 -1
- package/dist/wyrm-statusline.js +56 -4
- package/dist/wyrm-ui.js +77 -9
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,20 +1,281 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Wyrm CLI - Beautiful command-line interface
|
|
3
|
+
*
|
|
4
|
+
* @copyright 2026 Ghost Protocol (Pvt) Ltd.
|
|
5
|
+
* @license Proprietary — (c) 2026 Ghost Protocol (Pvt) Ltd. All rights reserved. See LICENSE.
|
|
6
|
+
* @module cli
|
|
7
|
+
* @version 3.0.0
|
|
8
|
+
*/
|
|
9
|
+
// ANSI color codes
|
|
10
|
+
export const colors = {
|
|
11
|
+
// Reset
|
|
12
|
+
reset: '\x1b[0m',
|
|
13
|
+
// Styles
|
|
14
|
+
bold: '\x1b[1m',
|
|
15
|
+
dim: '\x1b[2m',
|
|
16
|
+
italic: '\x1b[3m',
|
|
17
|
+
underline: '\x1b[4m',
|
|
18
|
+
// Colors
|
|
19
|
+
black: '\x1b[30m',
|
|
20
|
+
red: '\x1b[31m',
|
|
21
|
+
green: '\x1b[32m',
|
|
22
|
+
yellow: '\x1b[33m',
|
|
23
|
+
blue: '\x1b[34m',
|
|
24
|
+
magenta: '\x1b[35m',
|
|
25
|
+
cyan: '\x1b[36m',
|
|
26
|
+
white: '\x1b[37m',
|
|
27
|
+
// Bright colors
|
|
28
|
+
brightRed: '\x1b[91m',
|
|
29
|
+
brightGreen: '\x1b[92m',
|
|
30
|
+
brightYellow: '\x1b[93m',
|
|
31
|
+
brightBlue: '\x1b[94m',
|
|
32
|
+
brightMagenta: '\x1b[95m',
|
|
33
|
+
brightCyan: '\x1b[96m',
|
|
34
|
+
// Background
|
|
35
|
+
bgRed: '\x1b[41m',
|
|
36
|
+
bgGreen: '\x1b[42m',
|
|
37
|
+
bgYellow: '\x1b[43m',
|
|
38
|
+
bgBlue: '\x1b[44m',
|
|
39
|
+
bgMagenta: '\x1b[45m',
|
|
40
|
+
bgCyan: '\x1b[46m',
|
|
41
|
+
};
|
|
42
|
+
// Helper functions
|
|
43
|
+
export const c = {
|
|
44
|
+
bold: (s) => `${colors.bold}${s}${colors.reset}`,
|
|
45
|
+
dim: (s) => `${colors.dim}${s}${colors.reset}`,
|
|
46
|
+
red: (s) => `${colors.red}${s}${colors.reset}`,
|
|
47
|
+
green: (s) => `${colors.green}${s}${colors.reset}`,
|
|
48
|
+
yellow: (s) => `${colors.yellow}${s}${colors.reset}`,
|
|
49
|
+
blue: (s) => `${colors.blue}${s}${colors.reset}`,
|
|
50
|
+
magenta: (s) => `${colors.magenta}${s}${colors.reset}`,
|
|
51
|
+
cyan: (s) => `${colors.cyan}${s}${colors.reset}`,
|
|
52
|
+
primary: (s) => `${colors.brightMagenta}${s}${colors.reset}`,
|
|
53
|
+
success: (s) => `${colors.brightGreen}${s}${colors.reset}`,
|
|
54
|
+
warning: (s) => `${colors.brightYellow}${s}${colors.reset}`,
|
|
55
|
+
error: (s) => `${colors.brightRed}${s}${colors.reset}`,
|
|
56
|
+
};
|
|
57
|
+
// Icons
|
|
58
|
+
export const icons = {
|
|
59
|
+
dragon: '',
|
|
60
|
+
fire: '🔥',
|
|
61
|
+
scroll: '📜',
|
|
62
|
+
sword: '⚔️',
|
|
63
|
+
shield: '🛡️',
|
|
64
|
+
treasure: '💎',
|
|
65
|
+
quest: '🎯',
|
|
66
|
+
check: '✓',
|
|
67
|
+
cross: '✗',
|
|
68
|
+
arrow: '→',
|
|
69
|
+
bullet: '•',
|
|
70
|
+
star: '★',
|
|
71
|
+
warning: '⚠️',
|
|
72
|
+
error: '❌',
|
|
73
|
+
success: '✅',
|
|
74
|
+
info: 'ℹ️',
|
|
75
|
+
clock: '🕐',
|
|
76
|
+
folder: '📁',
|
|
77
|
+
file: '📄',
|
|
78
|
+
lock: '🔒',
|
|
79
|
+
unlock: '🔓',
|
|
80
|
+
sync: '🔄',
|
|
81
|
+
search: '🔍',
|
|
82
|
+
sparkle: '✨',
|
|
83
|
+
};
|
|
84
|
+
// Priority icons
|
|
85
|
+
export const priorityIcons = {
|
|
86
|
+
critical: '🔴',
|
|
87
|
+
high: '🟠',
|
|
88
|
+
medium: '🟡',
|
|
89
|
+
low: '🟢',
|
|
90
|
+
};
|
|
91
|
+
// ASCII art banner
|
|
92
|
+
export const BANNER = `
|
|
93
|
+
${colors.brightMagenta}██╗ ██╗██╗ ██╗██████╗ ███╗ ███╗${colors.reset}
|
|
94
|
+
${colors.brightMagenta}██║ ██║╚██╗ ██╔╝██╔══██╗████╗ ████║${colors.reset}
|
|
95
|
+
${colors.brightMagenta}██║ █╗ ██║ ╚████╔╝ ██████╔╝██╔████╔██║${colors.reset}
|
|
96
|
+
${colors.brightMagenta}██║███╗██║ ╚██╔╝ ██╔══██╗██║╚██╔╝██║${colors.reset}
|
|
97
|
+
${colors.brightMagenta}╚███╔███╔╝ ██║ ██║ ██║██║ ╚═╝ ██║${colors.reset}
|
|
98
|
+
${colors.brightMagenta} ╚══╝╚══╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝${colors.reset}
|
|
99
|
+
${colors.dim} Persistent AI Memory System v3.0.0${colors.reset}
|
|
100
|
+
${colors.dim} ghosts.lk${colors.reset}
|
|
101
|
+
`;
|
|
102
|
+
export const MINI_BANNER = `${colors.brightMagenta} Wyrm v3.0.0${colors.reset}`;
|
|
103
|
+
/**
|
|
104
|
+
* Progress spinner
|
|
105
|
+
*/
|
|
106
|
+
export class Spinner {
|
|
107
|
+
frames = ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'];
|
|
108
|
+
current = 0;
|
|
109
|
+
interval = null;
|
|
110
|
+
text;
|
|
111
|
+
constructor(text = 'Loading...') {
|
|
112
|
+
this.text = text;
|
|
113
|
+
}
|
|
114
|
+
start() {
|
|
115
|
+
this.interval = setInterval(() => {
|
|
116
|
+
process.stdout.write(`\r${colors.cyan}${this.frames[this.current]}${colors.reset} ${this.text}`);
|
|
117
|
+
this.current = (this.current + 1) % this.frames.length;
|
|
118
|
+
}, 80);
|
|
119
|
+
}
|
|
120
|
+
update(text) {
|
|
121
|
+
this.text = text;
|
|
122
|
+
}
|
|
123
|
+
succeed(text) {
|
|
124
|
+
this.stop();
|
|
125
|
+
console.log(`\r${c.success('✓')} ${text || this.text}`);
|
|
126
|
+
}
|
|
127
|
+
fail(text) {
|
|
128
|
+
this.stop();
|
|
129
|
+
console.log(`\r${c.error('✗')} ${text || this.text}`);
|
|
130
|
+
}
|
|
131
|
+
warn(text) {
|
|
132
|
+
this.stop();
|
|
133
|
+
console.log(`\r${c.warning('!')} ${text || this.text}`);
|
|
134
|
+
}
|
|
135
|
+
stop() {
|
|
136
|
+
if (this.interval) {
|
|
137
|
+
clearInterval(this.interval);
|
|
138
|
+
this.interval = null;
|
|
139
|
+
process.stdout.write('\r\x1b[K'); // Clear line
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Progress bar
|
|
145
|
+
*/
|
|
146
|
+
export class ProgressBar {
|
|
147
|
+
total;
|
|
148
|
+
current = 0;
|
|
149
|
+
width;
|
|
150
|
+
label;
|
|
151
|
+
constructor(total, label = 'Progress', width = 30) {
|
|
152
|
+
this.total = total;
|
|
153
|
+
this.width = width;
|
|
154
|
+
this.label = label;
|
|
155
|
+
}
|
|
156
|
+
update(current, label) {
|
|
157
|
+
this.current = current;
|
|
158
|
+
if (label)
|
|
159
|
+
this.label = label;
|
|
160
|
+
this.render();
|
|
161
|
+
}
|
|
162
|
+
increment(label) {
|
|
163
|
+
this.update(this.current + 1, label);
|
|
164
|
+
}
|
|
165
|
+
render() {
|
|
166
|
+
const percent = Math.min(100, Math.floor((this.current / this.total) * 100));
|
|
167
|
+
const filled = Math.floor((this.current / this.total) * this.width);
|
|
168
|
+
const empty = this.width - filled;
|
|
169
|
+
const bar = `${colors.brightMagenta}${'█'.repeat(filled)}${colors.dim}${'░'.repeat(empty)}${colors.reset}`;
|
|
170
|
+
const percentStr = `${percent}%`.padStart(4);
|
|
171
|
+
process.stdout.write(`\r${this.label} ${bar} ${percentStr} (${this.current}/${this.total})`);
|
|
172
|
+
}
|
|
173
|
+
complete() {
|
|
174
|
+
this.update(this.total);
|
|
175
|
+
console.log(); // New line
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
/**
|
|
179
|
+
* Table formatter
|
|
180
|
+
*/
|
|
181
|
+
export function formatTable(headers, rows, options = {}) {
|
|
182
|
+
const { padding = 2, border = true } = options;
|
|
183
|
+
// Calculate column widths
|
|
184
|
+
const widths = headers.map((h, i) => {
|
|
185
|
+
const maxRow = Math.max(...rows.map(r => (r[i] || '').length));
|
|
186
|
+
return Math.max(h.length, maxRow);
|
|
187
|
+
});
|
|
188
|
+
const pad = (s, w) => s.padEnd(w);
|
|
189
|
+
const sep = widths.map(w => '─'.repeat(w + padding)).join(border ? '┼' : ' ');
|
|
190
|
+
let output = '';
|
|
191
|
+
// Header
|
|
192
|
+
if (border) {
|
|
193
|
+
output += `${colors.dim}┌${widths.map(w => '─'.repeat(w + padding)).join('┬')}┐${colors.reset}\n`;
|
|
194
|
+
}
|
|
195
|
+
output += (border ? `${colors.dim}│${colors.reset}` : '') +
|
|
196
|
+
headers.map((h, i) => ` ${c.bold(pad(h, widths[i]))} `).join(border ? `${colors.dim}│${colors.reset}` : '') +
|
|
197
|
+
(border ? `${colors.dim}│${colors.reset}` : '') + '\n';
|
|
198
|
+
if (border) {
|
|
199
|
+
output += `${colors.dim}├${sep}┤${colors.reset}\n`;
|
|
200
|
+
}
|
|
201
|
+
// Rows
|
|
202
|
+
for (const row of rows) {
|
|
203
|
+
output += (border ? `${colors.dim}│${colors.reset}` : '') +
|
|
204
|
+
row.map((cell, i) => ` ${pad(cell || '', widths[i])} `).join(border ? `${colors.dim}│${colors.reset}` : '') +
|
|
205
|
+
(border ? `${colors.dim}│${colors.reset}` : '') + '\n';
|
|
206
|
+
}
|
|
207
|
+
if (border) {
|
|
208
|
+
output += `${colors.dim}└${widths.map(w => '─'.repeat(w + padding)).join('┴')}┘${colors.reset}`;
|
|
209
|
+
}
|
|
210
|
+
return output;
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Box formatter
|
|
214
|
+
*/
|
|
215
|
+
export function formatBox(title, content, width = 50) {
|
|
216
|
+
const lines = content.split('\n');
|
|
217
|
+
const maxLen = Math.max(title.length, ...lines.map(l => l.length), width);
|
|
218
|
+
let output = `${colors.dim}╭${'─'.repeat(maxLen + 2)}╮${colors.reset}\n`;
|
|
219
|
+
output += `${colors.dim}│${colors.reset} ${c.bold(title.padEnd(maxLen))} ${colors.dim}│${colors.reset}\n`;
|
|
220
|
+
output += `${colors.dim}├${'─'.repeat(maxLen + 2)}┤${colors.reset}\n`;
|
|
221
|
+
for (const line of lines) {
|
|
222
|
+
output += `${colors.dim}│${colors.reset} ${line.padEnd(maxLen)} ${colors.dim}│${colors.reset}\n`;
|
|
223
|
+
}
|
|
224
|
+
output += `${colors.dim}╰${'─'.repeat(maxLen + 2)}╯${colors.reset}`;
|
|
225
|
+
return output;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
* Format bytes to human readable
|
|
229
|
+
*/
|
|
230
|
+
export function formatBytes(bytes) {
|
|
231
|
+
if (bytes === 0)
|
|
232
|
+
return '0 B';
|
|
233
|
+
const k = 1024;
|
|
234
|
+
const sizes = ['B', 'KB', 'MB', 'GB', 'TB'];
|
|
235
|
+
const i = Math.floor(Math.log(bytes) / Math.log(k));
|
|
236
|
+
return `${(bytes / Math.pow(k, i)).toFixed(2)} ${sizes[i]}`;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Format duration
|
|
240
|
+
*/
|
|
241
|
+
export function formatDuration(ms) {
|
|
242
|
+
if (ms < 1000)
|
|
243
|
+
return `${ms}ms`;
|
|
244
|
+
if (ms < 60000)
|
|
245
|
+
return `${(ms / 1000).toFixed(1)}s`;
|
|
246
|
+
if (ms < 3600000)
|
|
247
|
+
return `${Math.floor(ms / 60000)}m ${Math.floor((ms % 60000) / 1000)}s`;
|
|
248
|
+
return `${Math.floor(ms / 3600000)}h ${Math.floor((ms % 3600000) / 60000)}m`;
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* Print section header
|
|
252
|
+
*/
|
|
253
|
+
export function printSection(title) {
|
|
254
|
+
console.log(`\n${c.bold(c.primary(`▶ ${title}`))}`);
|
|
255
|
+
console.log(`${colors.dim}${'─'.repeat(title.length + 4)}${colors.reset}`);
|
|
256
|
+
}
|
|
257
|
+
/**
|
|
258
|
+
* Print success message
|
|
259
|
+
*/
|
|
260
|
+
export function printSuccess(message) {
|
|
261
|
+
console.log(`${icons.success} ${c.success(message)}`);
|
|
262
|
+
}
|
|
263
|
+
/**
|
|
264
|
+
* Print error message
|
|
265
|
+
*/
|
|
266
|
+
export function printError(message) {
|
|
267
|
+
console.log(`${icons.error} ${c.error(message)}`);
|
|
268
|
+
}
|
|
269
|
+
/**
|
|
270
|
+
* Print warning message
|
|
271
|
+
*/
|
|
272
|
+
export function printWarning(message) {
|
|
273
|
+
console.log(`${icons.warning} ${c.warning(message)}`);
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Print info message
|
|
277
|
+
*/
|
|
278
|
+
export function printInfo(message) {
|
|
279
|
+
console.log(`${icons.info} ${message}`);
|
|
280
|
+
}
|
|
281
|
+
//# sourceMappingURL=cli.js.map
|