taskmonkey-cli 0.4.0 → 0.4.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 +1 -1
- package/src/commands/pull.js +56 -1
package/package.json
CHANGED
package/src/commands/pull.js
CHANGED
|
@@ -98,9 +98,64 @@ function installSkills(targetDir) {
|
|
|
98
98
|
function generateClaudeMd(tenant) {
|
|
99
99
|
return `# TaskMonkey Tenant: ${tenant}
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
## Begrüßung
|
|
102
|
+
|
|
103
|
+
Wenn der User die Konversation mit einer kurzen Nachricht beginnt (z.B. "hi", "hallo", "hey", "start", oder eine Frage zum Projekt), gib eine kurze Begrüßung aus:
|
|
104
|
+
|
|
105
|
+
> Willkommen im **${tenant}** Tenant! Ich helfe dir bei der Konfiguration deiner KI-Chatbots.
|
|
106
|
+
>
|
|
107
|
+
> **Quick Start:**
|
|
108
|
+
> - \`tm watch\` in separatem Terminal starten (Auto-Sync)
|
|
109
|
+
> - Prompt bearbeiten → wird automatisch hochgeladen → im Chat testen
|
|
110
|
+
>
|
|
111
|
+
> **Nützliche Befehle:**
|
|
112
|
+
> - \`/test-chat\` — Einzelne Nachricht testen
|
|
113
|
+
> - \`/test-conversations\` — Alle Tests ausführen
|
|
114
|
+
> - \`/optimize-prompt\` — Prompt automatisch verbessern
|
|
115
|
+
>
|
|
116
|
+
> Was möchtest du anpassen?
|
|
117
|
+
|
|
118
|
+
Bei allen anderen Nachrichten arbeite normal weiter ohne Begrüßung.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
Du arbeitest an der Konfiguration des **${tenant}**-Tenants auf der TaskMonkey-Plattform.
|
|
102
123
|
TaskMonkey ist eine KI-Chat-Plattform mit konfigurierbaren Tools, Prompts und Monkey Tasks.
|
|
103
124
|
|
|
125
|
+
## WICHTIG: Architektur verstehen
|
|
126
|
+
|
|
127
|
+
Du bearbeitest hier **nur Konfigurationsdateien** (PHP). Der Code wird NICHT lokal ausgeführt.
|
|
128
|
+
|
|
129
|
+
\`\`\`
|
|
130
|
+
Lokal (dieses Verzeichnis) Server (TaskMonkey)
|
|
131
|
+
────────────────────────── ────────────────────
|
|
132
|
+
Config-Dateien bearbeiten → tm sync / tm watch
|
|
133
|
+
↓
|
|
134
|
+
Server liest Config
|
|
135
|
+
Server führt Tools aus
|
|
136
|
+
Server hat SSH-Keys, DB-Zugang etc.
|
|
137
|
+
↓
|
|
138
|
+
tm test-tool / tm chat ← Ergebnis kommt zurück
|
|
139
|
+
\`\`\`
|
|
140
|
+
|
|
141
|
+
**Das bedeutet konkret:**
|
|
142
|
+
- Du schreibst KEINEN ausführbaren PHP-Code, der lokal läuft
|
|
143
|
+
- Du konfigurierst Tools, Prompts und Tasks als PHP-Arrays
|
|
144
|
+
- SSH-Keys, API-Credentials etc. liegen auf dem Server, nicht lokal
|
|
145
|
+
- Wenn du etwas testen willst: \`tm sync\` dann \`tm test-tool\` oder \`tm chat\`
|
|
146
|
+
- Der Server hat bereits Zugang zu externen Diensten (Datenbanken, APIs, SSH)
|
|
147
|
+
- Du musst nur die **Config** schreiben, die beschreibt WAS getan werden soll
|
|
148
|
+
|
|
149
|
+
**Beispiel DatabaseGateway:**
|
|
150
|
+
- Der Server hat bereits SSH-Zugang zu Remote-Servern (konfiguriert in \`database_connections.php\`)
|
|
151
|
+
- Du definierst nur das Tool, das den Gateway nutzt — der Server führt es aus
|
|
152
|
+
- Frage NICHT nach SSH-Keys oder Passwörtern — die sind serverseitig konfiguriert
|
|
153
|
+
|
|
154
|
+
**Beispiel API-Verbindung:**
|
|
155
|
+
- API-Credentials stehen in \`apis.php\` (bereits auf dem Server)
|
|
156
|
+
- Tools referenzieren APIs per Name: \`'api' => 'jtl'\`
|
|
157
|
+
- Du musst keine URLs oder Tokens kennen
|
|
158
|
+
|
|
104
159
|
## Erste Schritte
|
|
105
160
|
|
|
106
161
|
1. Lies \`docs/TenantConfig.md\` — die vollständige Referenz aller Config-Keys
|