@taj-special/dravix-code 1.1.12 → 1.1.13

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.
Files changed (2) hide show
  1. package/dist/cli/repl.js +5 -3
  2. package/package.json +1 -1
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
- SYSTEM_PROMPT = prompt;
2135
- _serverWebDesignerSkill = webDesignerSkill;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taj-special/dravix-code",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "AI-powered coding assistant CLI — Dravix Code",
5
5
  "type": "module",
6
6
  "bin": {