zugzbot 1.0.1 → 1.0.3

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.
@@ -21682,4 +21682,4 @@ main().catch((err) => {
21682
21682
  );
21683
21683
  process.exit(1);
21684
21684
  });
21685
- //# sourceMappingURL=index.js.map
21685
+ //# sourceMappingURL=index.mjs.map
@@ -9,4 +9,9 @@ export default defineConfig({
9
9
  banner: { js: '#!/usr/bin/env node' },
10
10
  shims: false,
11
11
  noExternal: [/.*/],
12
+ outExtension({ format }) {
13
+ return {
14
+ js: '.mjs'
15
+ };
16
+ }
12
17
  });
package/bin/init.js CHANGED
@@ -27,11 +27,14 @@ const itemsToCopy = [
27
27
  { name: 'tui.json', src: join(pkgRoot, 'tui.json'), dest: join(targetDir, 'tui.json'), type: 'file' }
28
28
  ];
29
29
 
30
- // Helper to filter out node_modules and .git files
30
+ // Helper to filter out node_modules and .git files relative to the package root
31
31
  const filterFunc = (srcPath) => {
32
- const isIgnored = srcPath.includes('node_modules') ||
33
- srcPath.includes('.git') ||
34
- srcPath.includes('.openspec');
32
+ const relativeSrc = relative(pkgRoot, srcPath);
33
+ const isIgnored = relativeSrc.split(/[/\\]/).some(part =>
34
+ part === 'node_modules' ||
35
+ part === '.git' ||
36
+ part === '.openspec'
37
+ );
35
38
  return !isIgnored;
36
39
  };
37
40
 
package/opencode.json CHANGED
@@ -31,7 +31,7 @@
31
31
  "type": "local",
32
32
  "command": [
33
33
  "node",
34
- "./.opencode/oh-my-design/packages/mcp/dist/index.js"
34
+ "./.opencode/oh-my-design/packages/mcp/dist/index.mjs"
35
35
  ],
36
36
  "enabled": true,
37
37
  "purpose": "MCP oficial de Oh My Design para buscar, consultar y aplicar temas de diseño (Toss, Stripe, Supabase, etc.)."
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zugzbot",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Fácil instalador del arnés SDD de Zugzbot para proyectos OpenCode",
5
5
  "type": "module",
6
6
  "bin": {