taskmonkey-cli 0.5.1 → 0.5.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "taskmonkey-cli",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "TaskMonkey CLI — Remote dev tools for tenant config editing and tool testing",
5
5
  "bin": {
6
6
  "tm": "./bin/tm.js",
@@ -338,6 +338,32 @@ Jeder Handler bekommt einen Kontext mit:
338
338
  \\GuzzleHttp\\Client // Alternative HTTP-Library
339
339
  \`\`\`
340
340
 
341
+ ## Database Gateway (Remote-SQL)
342
+
343
+ Für Zugriff auf externe Datenbanken (Contao, WordPress, etc.) gibt es das Database Gateway System.
344
+ Der Server hat SSH-Zugang zu Remote-Servern und deployt ein temporäres PHP-Gateway.
345
+
346
+ **Workflow in einem Tool/Prompt:**
347
+ 1. \`deployGateway\` mit \`project\` und optional \`allow_write: true\`
348
+ 2. \`executeQuery\` / \`listTables\` / \`describeTable\`
349
+ 3. \`removeGateway\` am Ende
350
+
351
+ **Projekte konfigurieren:** \`database_connections.php\`
352
+ \`\`\`php
353
+ 'database_connections' => [
354
+ 'meine_website' => [
355
+ 'host' => 'server.example.com',
356
+ 'user' => 'ssh-user',
357
+ 'port' => 22,
358
+ 'key' => '~/.ssh/id_rsa', // Auf dem Server, nicht lokal!
359
+ 'web_root' => '/var/www/html',
360
+ 'cms' => 'contao',
361
+ ],
362
+ ],
363
+ \`\`\`
364
+
365
+ Siehe \`docs/DatabaseGateway.md\` für die vollständige Dokumentation inkl. SQL-Beispiele und CMS-Tabellen.
366
+
341
367
  ## Conversation Tests
342
368
 
343
369
  Definiere Tests um Prompt-Änderungen automatisch zu validieren: