@taj-special/dravix-code 1.1.12 → 1.1.14
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/cli/index.js +5 -5
- package/dist/cli/repl.js +5 -3
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -90,10 +90,10 @@ async function showWelcome() {
|
|
|
90
90
|
P.bold('Dravix 3.5 Quantum'));
|
|
91
91
|
console.log(line() + '\n');
|
|
92
92
|
// ── CTA ───────────────────────────────────────────────────────
|
|
93
|
-
console.log(' ' + Muted('
|
|
93
|
+
console.log(' ' + Muted('Sign in to your Dravix account to get started.') + '\n');
|
|
94
94
|
const enterKey = chalk.bgHex('#312e81').hex('#c7d2fe').bold(' Enter ');
|
|
95
95
|
const escKey = chalk.hex('#374151').bold(' Esc ');
|
|
96
|
-
console.log(' ' + enterKey + Muted('
|
|
96
|
+
console.log(' ' + enterKey + Muted(' Sign in and continue'));
|
|
97
97
|
console.log(' ' + escKey + Muted(' Cancel') + '\n');
|
|
98
98
|
console.log(line() + '\n');
|
|
99
99
|
return new Promise((resolve) => {
|
|
@@ -136,12 +136,12 @@ async function browserAuth() {
|
|
|
136
136
|
╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═══╝ ╚═╝╚═╝ ╚═╝`));
|
|
137
137
|
console.log(chalk.hex('#6366f1').bold(' Code') + DIM(` v${VERSION} · `) + P('AI-powered coding assistant'));
|
|
138
138
|
console.log(line + '\n');
|
|
139
|
-
console.log(' ' + colors.
|
|
140
|
-
console.log(' ' + DIM('
|
|
139
|
+
console.log(' ' + colors.primary('◆') + ' ' + W.bold('Sign in to Dravix'));
|
|
140
|
+
console.log(' ' + DIM('Sign in with your Dravix account to start using Dravix Code.') + '\n');
|
|
141
141
|
console.log(line);
|
|
142
142
|
console.log('\n ' + DIM('Step 1 — ') + W('Open this link in your browser:') + '\n');
|
|
143
143
|
console.log(' ' + colors.primary(link(authUrl)) + '\n');
|
|
144
|
-
console.log(' ' + DIM('Step 2 — ') + W('
|
|
144
|
+
console.log(' ' + DIM('Step 2 — ') + W('Sign in') + DIM(' (no account? create one free at dravix.app)'));
|
|
145
145
|
console.log(' ' + DIM('Step 3 — ') + W('Return here — it connects automatically') + '\n');
|
|
146
146
|
console.log(line + '\n');
|
|
147
147
|
let frameIdx = 0;
|
package/dist/cli/repl.js
CHANGED
|
@@ -2128,11 +2128,13 @@ async function showDesignModeLoader(skills) {
|
|
|
2128
2128
|
export async function startRepl(cwd) {
|
|
2129
2129
|
const alwaysAllowed = new Set();
|
|
2130
2130
|
const token = getToken() ?? '';
|
|
2131
|
-
let SYSTEM_PROMPT = '';
|
|
2131
|
+
let SYSTEM_PROMPT = 'You are Dravix Code — an elite AI coding assistant. The server is temporarily unreachable. Use your best judgment to help the user.';
|
|
2132
2132
|
if (token) {
|
|
2133
2133
|
const { prompt, webDesignerSkill } = await fetchSystemPrompt(token);
|
|
2134
|
-
|
|
2135
|
-
|
|
2134
|
+
if (prompt) {
|
|
2135
|
+
SYSTEM_PROMPT = prompt;
|
|
2136
|
+
_serverWebDesignerSkill = webDesignerSkill;
|
|
2137
|
+
}
|
|
2136
2138
|
}
|
|
2137
2139
|
// activeCwd can change when /resume loads a conversation from a different directory
|
|
2138
2140
|
let activeCwd = cwd;
|