claude-scope 0.8.12 → 0.8.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.
- package/dist/claude-scope.cjs +12 -14
- package/package.json +1 -1
package/dist/claude-scope.cjs
CHANGED
|
@@ -7653,20 +7653,18 @@ var DevServerWidget = class {
|
|
|
7653
7653
|
styleFn = devServerStyles.balanced;
|
|
7654
7654
|
cwd = null;
|
|
7655
7655
|
processPatterns = [
|
|
7656
|
-
// Generic server patterns
|
|
7657
|
-
{ regex:
|
|
7658
|
-
{ regex:
|
|
7659
|
-
{ regex:
|
|
7660
|
-
// Generic dev/build patterns
|
|
7661
|
-
{ regex:
|
|
7662
|
-
{ regex:
|
|
7663
|
-
// Framework-specific patterns
|
|
7664
|
-
{ regex:
|
|
7665
|
-
{ regex:
|
|
7666
|
-
|
|
7667
|
-
{ regex:
|
|
7668
|
-
{ regex: /astro\s+dev/i, name: "Astro", icon: "\u{1F680}" },
|
|
7669
|
-
{ regex: /remix\s+dev|remix\s+watch/i, name: "Remix", icon: "\u{1F4BF}" }
|
|
7656
|
+
// Generic server patterns - more specific to avoid shell history false positives
|
|
7657
|
+
{ regex: /^[\w\s]+\/npm\s+(exec|run)\s+serve/i, name: "Server", icon: "\u{1F310}" },
|
|
7658
|
+
{ regex: /^[\w\s]+\/npx\s+serve\s+-/i, name: "Server", icon: "\u{1F310}" },
|
|
7659
|
+
{ regex: /^[\w\s]+\/(python|python3)\s+-m\s+http\.server/i, name: "HTTP", icon: "\u{1F310}" },
|
|
7660
|
+
// Generic dev/build patterns - require full command path
|
|
7661
|
+
{ regex: /^[\w\s]+\/(npm|yarn|pnpm|bun)\s+run\s+dev\s*$/i, name: "Dev", icon: "\u{1F680}" },
|
|
7662
|
+
{ regex: /^[\w\s]+\/(npm|yarn|pnpm|bun)\s+run\s+build\s*$/i, name: "Build", icon: "\u{1F528}" },
|
|
7663
|
+
// Framework-specific patterns - require executable path
|
|
7664
|
+
{ regex: /\/(nuxt|next|astro|remix|svelte)\s+dev/i, name: "Framework", icon: "\u26A1" },
|
|
7665
|
+
{ regex: /\/node.*\/vite\s*$/i, name: "Vite", icon: "\u26A1" },
|
|
7666
|
+
// Fallback: simpler patterns but checked last
|
|
7667
|
+
{ regex: /\s(nuxt|next|vite)\s+dev\s/i, name: "DevServer", icon: "\u26A1" }
|
|
7670
7668
|
];
|
|
7671
7669
|
constructor(colors2) {
|
|
7672
7670
|
this.colors = colors2 ?? DEFAULT_THEME;
|