vigthoria-cli 1.11.18 → 1.11.19

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.
@@ -2551,7 +2551,6 @@ export class ChatCommand {
2551
2551
  const mustComplete = route?.path === 'template-instant';
2552
2552
  let result = await runTemplateInstantPath(this.api, prompt, workspacePath, {
2553
2553
  allowFallback: true,
2554
- forceMinimalFallback: route?.path === 'template-instant',
2555
2554
  });
2556
2555
  if (!result.ok && mustComplete) {
2557
2556
  result = await runTemplateInstantPath(this.api, prompt, workspacePath, {
@@ -3,7 +3,7 @@
3
3
  */
4
4
  import * as fs from 'fs';
5
5
  import * as path from 'path';
6
- import { isTrivialHtmlPageRequest, stripExecutionShaping } from './requestIntent.js';
6
+ import { stripExecutionShaping } from './requestIntent.js';
7
7
  function ensurePopupScript(html, vision) {
8
8
  const text = String(vision || '').toLowerCase();
9
9
  if (!/\b(popup|alert|hello\s*world)\b/.test(text)) {
@@ -91,8 +91,7 @@ export async function runTemplateInstantPath(api, vision, workspacePath, options
91
91
  const entryPath = options.entryPath || 'index.html';
92
92
  const target = path.join(workspacePath, entryPath);
93
93
  const cleanVision = stripExecutionShaping(vision);
94
- const preferMinimal = options.forceMinimalFallback === true
95
- || (options.forceMinimalFallback !== false && isTrivialHtmlPageRequest(cleanVision));
94
+ const preferMinimal = options.forceMinimalFallback === true;
96
95
  let html;
97
96
  let usedFallback = false;
98
97
  let match = {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vigthoria-cli",
3
- "version": "1.11.18",
3
+ "version": "1.11.19",
4
4
  "description": "Vigthoria Coder CLI - AI-powered terminal coding assistant",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -42,6 +42,7 @@
42
42
  "test:agent:smoke": "npm run build && node scripts/test-agent-smoke.js",
43
43
  "test:agent:routing": "npm run build && node scripts/test-agent-routing-policy.js",
44
44
  "test:agent:route": "npm run build && node scripts/test-request-intent.js && node scripts/test-agent-route.js && node scripts/test-local-use-cases.js",
45
+ "test:template:remote": "node scripts/test-template-service-remote.js",
45
46
  "test:agent:context": "npm run build && node scripts/test-agent-context-trace-e2e.js",
46
47
  "test:mcp:context": "npm run build && node scripts/test-mcp-context-session-e2e.js",
47
48
  "test:workflow:surface": "npm run build && node scripts/test-workflow-surface-e2e.js",