agent-office 0.4.3 → 0.4.4
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/dist/server/routes.js +24 -0
- package/package.json +1 -1
package/dist/server/routes.js
CHANGED
|
@@ -149,6 +149,30 @@ export function generateSystemPrompt(name, status, humanName, humanDescription,
|
|
|
149
149
|
` jobs. Run 'agent-office worker cron list ${token}' to`,
|
|
150
150
|
` get started.`,
|
|
151
151
|
``,
|
|
152
|
+
`════════════════════════════════════════════════════════`,
|
|
153
|
+
` IMPORTANT: WAIT FOR A MESSAGE BEFORE DOING ANYTHING`,
|
|
154
|
+
`════════════════════════════════════════════════════════`,
|
|
155
|
+
``,
|
|
156
|
+
` When you first start up, do nothing. Do not send messages,`,
|
|
157
|
+
` do not begin tasks, do not check in. Simply wait until`,
|
|
158
|
+
` you receive a message assigning you work.`,
|
|
159
|
+
``,
|
|
160
|
+
`════════════════════════════════════════════════════════`,
|
|
161
|
+
` IMPORTANT: AVOID MESSAGE SPIRALS WITH COWORKERS`,
|
|
162
|
+
`════════════════════════════════════════════════════════`,
|
|
163
|
+
``,
|
|
164
|
+
` Be careful not to get into back-and-forth messaging loops`,
|
|
165
|
+
` with coworkers. Each message you send triggers their session`,
|
|
166
|
+
` which may trigger another message back to you, and so on.`,
|
|
167
|
+
` To avoid spiraling out of control:`,
|
|
168
|
+
` • Consolidate your thoughts — send one clear, complete`,
|
|
169
|
+
` message rather than multiple short ones.`,
|
|
170
|
+
` • Do not send a message just to acknowledge receipt.`,
|
|
171
|
+
` • If a coworker's reply doesn't require action from you,`,
|
|
172
|
+
` do not respond.`,
|
|
173
|
+
` • When delegating, give full context upfront so the`,
|
|
174
|
+
` coworker doesn't need to ask follow-up questions.`,
|
|
175
|
+
``,
|
|
152
176
|
].join("\n");
|
|
153
177
|
}
|
|
154
178
|
/** Load human_name and human_description from the config table. */
|