276 lines
6.1 KiB
JSON
Executable File
276 lines
6.1 KiB
JSON
Executable File
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Start Laravel Server",
|
|
"type": "shell",
|
|
"command": "php artisan serve --host=0.0.0.0 --port=8000",
|
|
"options": {
|
|
"cwd": "/home/michele/netgescon/netgescon-laravel"
|
|
},
|
|
"group": "build",
|
|
"isBackground": true,
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Git: Status",
|
|
"type": "shell",
|
|
"command": "git status",
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Git: Add All Changes",
|
|
"type": "shell",
|
|
"command": "git add .",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Git: Commit with Message",
|
|
"type": "shell",
|
|
"command": "git commit -m \"${input:commitMessage}\"",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Git: Push to Gitea",
|
|
"type": "shell",
|
|
"command": "git push origin main",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Git: Pull from Gitea",
|
|
"type": "shell",
|
|
"command": "git pull origin main",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "Git: Full Sync (Add, Commit, Push)",
|
|
"type": "shell",
|
|
"command": "git add . && git commit -m \"${input:commitMessage}\" && git push origin main",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Session Checkpoint",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/handoff_checkpoint.sh",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Heavy Chats (Dry Run)",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/archive_heavy_chats.sh --threshold=150",
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Archive Heavy Chats",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/archive_heavy_chats.sh --threshold=150 --apply",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Topic Checkpoint",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/topic_checkpoint.sh \"${input:topicName}\" \"${input:topicNote}\"",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Continuity Auto (Safe)",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/continuity_auto.sh --threshold=150 --topic=\"${input:topicName}\" --note=\"${input:topicNote}\"",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Continuity Auto + Archive",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/continuity_auto.sh --threshold=150 --apply-archive --topic=\"${input:topicName}\" --note=\"${input:topicNote}\"",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Summarize Largest Archived Chat",
|
|
"type": "shell",
|
|
"command": "python3 scripts/ai/summarize_chat_session.py",
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Summarize Latest 2 Chats",
|
|
"type": "shell",
|
|
"command": "python3 scripts/ai/summarize_latest_two_chats.py",
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Restart Brief",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/restart_brief.sh \"${input:topicName}\"",
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Save Daily+Weekly Summary",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/save_periodic_summary.sh \"${input:topicName}\" both",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: First Restart Bootstrap",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/first_restart_bootstrap.sh \"${input:topicName}\"",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Auto Realign (One Click)",
|
|
"type": "shell",
|
|
"command": "bash scripts/ai/auto_realign.sh",
|
|
"group": "build",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Compact Summary (Largest Archived)",
|
|
"type": "shell",
|
|
"command": "python3 scripts/ai/summarize_chat_session_compact.py",
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
},
|
|
{
|
|
"label": "AI: Governance Sync (Control Tower)",
|
|
"type": "shell",
|
|
"command": "python3 scripts/ai/governance_sync.py",
|
|
"group": "test",
|
|
"presentation": {
|
|
"echo": true,
|
|
"reveal": "always",
|
|
"focus": false,
|
|
"panel": "shared"
|
|
}
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "commitMessage",
|
|
"description": "Commit message",
|
|
"default": "Update: automated commit",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"id": "topicName",
|
|
"description": "Nome argomento/capitolo (es: Fatture Fornitori)",
|
|
"default": "Fatture Fornitori",
|
|
"type": "promptString"
|
|
},
|
|
{
|
|
"id": "topicNote",
|
|
"description": "Nota breve del checkpoint",
|
|
"default": "Aggiornamento sviluppo e prossimi step",
|
|
"type": "promptString"
|
|
}
|
|
]
|
|
} |