vigthoria-cli 1.6.22 → 1.6.23

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/utils/api.js CHANGED
@@ -341,8 +341,9 @@ class APIClient {
341
341
  }
342
342
  const prompt = String(message || '');
343
343
  const expectedFiles = this.extractExpectedWorkspaceFiles(message, context);
344
+ const hasHtmlEntry = expectedFiles.some((filePath) => /\.html?$/i.test(filePath));
344
345
  return /(premium|polished|landing|site|page|dashboard|saas|frontend|ui|pricing|showcase|hero|responsive)/i.test(prompt)
345
- || expectedFiles.some((filePath) => /\.(html|css|js)$/i.test(filePath));
346
+ || hasHtmlEntry;
346
347
  }
347
348
  /**
348
349
  * Returns true when the prompt describes a read-only / analysis task.
@@ -940,7 +941,7 @@ class APIClient {
940
941
  // When the server cannot directly access the workspace (e.g. Windows
941
942
  // client), use the local path as a hint and flag that the workspace
942
943
  // files are provided inline in localWorkspaceSummary.workspaceFiles.
943
- const effectiveWorkspacePath = serverWorkspacePath || localWorkspacePath || null;
944
+ const effectiveWorkspacePath = serverWorkspacePath || null;
944
945
  const needsHydration = !serverWorkspacePath && !!localWorkspacePath;
945
946
  const payload = {
946
947
  workspace: resolvedContext.workspace || null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vigthoria-cli",
3
- "version": "1.6.22",
3
+ "version": "1.6.23",
4
4
  "description": "Vigthoria Coder CLI - AI-powered terminal coding assistant",
5
5
  "main": "dist/index.js",
6
6
  "files": [