rbin-task-flow 1.1.0 → 1.1.2

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.
@@ -20,5 +20,5 @@ Este é um arquivo placeholder. Substitua este arquivo por um screenshot real (P
20
20
  ## Referenciar em tasks:
21
21
 
22
22
  Para referenciar um screenshot específico em uma task, use:
23
- `task-flow-screen: nome_do_arquivo.png`
23
+ `task-flow-screen nome_do_arquivo.png`
24
24
 
@@ -16,7 +16,5 @@
16
16
 
17
17
  ## Tasks:
18
18
 
19
- - Criar sistema de autenticação (login, registro, recuperação de senha)
20
- - Implementar dashboard com métricas principais
21
- - CRUD completo de usuários
22
- - Sistema de notificações
19
+ - First task
20
+ - Second task
package/lib/install.js CHANGED
@@ -157,6 +157,18 @@ async function copyTaskFlow(targetPath) {
157
157
  showSuccess('Task Flow directory');
158
158
  showInfo('Note: .internal/tasks.json and .internal/status.json are NOT overwritten (your data is safe)');
159
159
 
160
+ // Criar pasta screens
161
+ const screensDest = path.join(taskFlowDest, 'screens');
162
+ await fs.ensureDir(screensDest);
163
+ showSuccess('Screenshots directory (.task-flow/screens/)');
164
+
165
+ // Copiar arquivo de exemplo para screens se não existir
166
+ const exampleSrc = path.join(taskFlowSrc, 'screens/example.png.txt');
167
+ const exampleDest = path.join(screensDest, 'example.png.txt');
168
+ if (fs.existsSync(exampleSrc) && !fs.existsSync(exampleDest)) {
169
+ await fs.copy(exampleSrc, exampleDest);
170
+ }
171
+
160
172
  // Copiar apenas templates, não sobrescrever dados do usuário
161
173
  const files = [
162
174
  { name: 'README.md', overwrite: true },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rbin-task-flow",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "description": "AI-powered task management for Claude, Cursor, and Gemini",
5
5
  "main": "index.js",
6
6
  "bin": {