@yemi33/minions 0.1.27 → 0.1.28
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/CHANGELOG.md +8 -0
- package/dashboard/js/detail-panel.js +1 -1
- package/engine.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -71,7 +71,7 @@ function renderDetailContent(detail, tab) {
|
|
|
71
71
|
'<button class="pr-pager-btn" onclick="refreshLiveOutput()" style="font-size:10px">Refresh</button>' +
|
|
72
72
|
'</div>' +
|
|
73
73
|
'<div id="live-steer-bar" style="display:flex;gap:8px;padding:8px;border-top:1px solid var(--border)">' +
|
|
74
|
-
'<input id="live-steer-input" type="text" placeholder="
|
|
74
|
+
'<input id="live-steer-input" type="text" placeholder="Message this agent — ask for status, give context, or redirect..." ' +
|
|
75
75
|
'style="flex:1;padding:6px 10px;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius-sm);color:var(--text);font-size:12px;font-family:inherit" ' +
|
|
76
76
|
'onkeydown="if(event.key===\'Enter\')sendSteering()" />' +
|
|
77
77
|
'<button onclick="sendSteering()" style="padding:6px 12px;background:var(--blue);color:#fff;border:none;border-radius:var(--radius-sm);cursor:pointer;font-size:11px">Send</button>' +
|
package/engine.js
CHANGED
|
@@ -1043,7 +1043,7 @@ function spawnAgent(dispatchItem, config) {
|
|
|
1043
1043
|
log('info', `Steering: re-spawning ${agentId} with --resume ${steerSessionId}`);
|
|
1044
1044
|
|
|
1045
1045
|
// Write new prompt with steering message
|
|
1046
|
-
const steerPrompt = `
|
|
1046
|
+
const steerPrompt = `Message from your human teammate:\n\n${steerMsg}\n\nRespond to this, then continue working on your current task.`;
|
|
1047
1047
|
const steerPromptPath = path.join(ENGINE_DIR, 'tmp', `prompt-steer-${id}.md`);
|
|
1048
1048
|
safeWrite(steerPromptPath, steerPrompt);
|
|
1049
1049
|
|
package/package.json
CHANGED