@yemi33/minions 0.1.1725 → 0.1.1726
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 +6 -2
- package/dashboard/js/command-center.js +2 -1
- package/dashboard.js +4 -3
- package/engine/copilot-models.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.1.
|
|
3
|
+
## 0.1.1726 (2026-05-05)
|
|
4
|
+
|
|
5
|
+
### Other
|
|
6
|
+
- Extend command center timeout
|
|
7
|
+
|
|
8
|
+
## 0.1.1724 (2026-05-05)
|
|
4
9
|
|
|
5
10
|
### Features
|
|
6
|
-
- fix pipeline action feedback (#2078)
|
|
7
11
|
- add per-cause PR automation dedupe (#2075)
|
|
8
12
|
|
|
9
13
|
## 0.1.1723 (2026-05-05)
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var CC_MAX_TABS = 20;
|
|
5
5
|
var CC_MAX_MESSAGES_PER_TAB = 30;
|
|
6
6
|
var CC_TITLE_MAX_LENGTH = 40;
|
|
7
|
+
var CC_STREAM_FETCH_TIMEOUT_MS = (60 * 60 * 1000) + 60000; // backend CC timeout plus 1-minute delivery buffer
|
|
7
8
|
|
|
8
9
|
var _ccTabs = []; // [{id, title, sessionId, messages: [{role, html}]}]
|
|
9
10
|
var _ccActiveTabId = null;
|
|
@@ -711,7 +712,7 @@ async function _ccDoSend(message, skipUserMsg, forceTabId) {
|
|
|
711
712
|
var res = await fetch('/api/command-center/stream', {
|
|
712
713
|
method: 'POST', headers: { 'Content-Type': 'application/json' },
|
|
713
714
|
body: JSON.stringify(requestBody),
|
|
714
|
-
signal: activeTab._abortController ? activeTab._abortController.signal : AbortSignal.timeout(
|
|
715
|
+
signal: activeTab._abortController ? activeTab._abortController.signal : AbortSignal.timeout(CC_STREAM_FETCH_TIMEOUT_MS)
|
|
715
716
|
});
|
|
716
717
|
|
|
717
718
|
if (!res.ok) {
|
package/dashboard.js
CHANGED
|
@@ -888,6 +888,7 @@ let ccSession = { sessionId: null, createdAt: null, lastActiveAt: null, turnCoun
|
|
|
888
888
|
const ccInFlightTabs = new Map(); // tabId → timestamp — per-tab in-flight tracking for parallel CC requests
|
|
889
889
|
const ccInFlightAborts = new Map(); // tabId → abortFn — lets a new request kill the stale LLM
|
|
890
890
|
const ccLiveStreams = new Map(); // tabId → buffered live stream state for reconnect-after-disconnect
|
|
891
|
+
const CC_CALL_TIMEOUT_MS = 60 * 60 * 1000; // 1 hour — long-running CC orchestration can span many tool calls
|
|
891
892
|
const CC_INFLIGHT_TIMEOUT_MS = 2 * 60 * 1000; // 2 minutes — auto-release if request hangs
|
|
892
893
|
const CC_LOCK_WAIT_MS = 200; // grace period for previous handler's finally to release lock
|
|
893
894
|
const CC_STREAM_HEARTBEAT_MS = 15000; // keep streaming responses alive across proxies/restart races
|
|
@@ -2070,7 +2071,7 @@ function updateSession(store, key, sessionId, existing) {
|
|
|
2070
2071
|
* @param {number} opts.maxTurns - Max tool-use turns
|
|
2071
2072
|
* @param {string} opts.allowedTools - Comma-separated tool list
|
|
2072
2073
|
*/
|
|
2073
|
-
async function ccCall(message, { store = 'cc', sessionKey, extraContext, label = 'command-center', timeout =
|
|
2074
|
+
async function ccCall(message, { store = 'cc', sessionKey, extraContext, label = 'command-center', timeout = CC_CALL_TIMEOUT_MS, maxTurns, allowedTools = 'Bash,Read,Write,Edit,Glob,Grep,WebFetch,WebSearch', skipStatePreamble = false, model, onAbortReady, systemPrompt = CC_STATIC_SYSTEM_PROMPT } = {}) {
|
|
2074
2075
|
if (!maxTurns) maxTurns = CONFIG.engine?.ccMaxTurns || shared.ENGINE_DEFAULTS.ccMaxTurns;
|
|
2075
2076
|
if (!model) model = CONFIG.engine?.ccModel || shared.ENGINE_DEFAULTS.ccModel;
|
|
2076
2077
|
const ccEffort = CONFIG.engine?.ccEffort || shared.ENGINE_DEFAULTS.ccEffort;
|
|
@@ -2159,7 +2160,7 @@ async function ccCall(message, { store = 'cc', sessionKey, extraContext, label =
|
|
|
2159
2160
|
return result;
|
|
2160
2161
|
}
|
|
2161
2162
|
|
|
2162
|
-
async function ccCallStreaming(message, { store = 'cc', sessionKey, extraContext, label = 'command-center', timeout =
|
|
2163
|
+
async function ccCallStreaming(message, { store = 'cc', sessionKey, extraContext, label = 'command-center', timeout = CC_CALL_TIMEOUT_MS, maxTurns, allowedTools = 'Bash,Read,Write,Edit,Glob,Grep,WebFetch,WebSearch', skipStatePreamble = false, model, onAbortReady, onChunk, onToolUse, systemPrompt = CC_STATIC_SYSTEM_PROMPT } = {}) {
|
|
2163
2164
|
if (!maxTurns) maxTurns = CONFIG.engine?.ccMaxTurns || shared.ENGINE_DEFAULTS.ccMaxTurns;
|
|
2164
2165
|
if (!model) model = CONFIG.engine?.ccModel || shared.ENGINE_DEFAULTS.ccModel;
|
|
2165
2166
|
const ccEffort = CONFIG.engine?.ccEffort || shared.ENGINE_DEFAULTS.ccEffort;
|
|
@@ -5242,7 +5243,7 @@ What would you like to discuss or change? When you're happy, say "approve" and I
|
|
|
5242
5243
|
function _invokeCcStream({ prompt, sessionId, liveState, toolUses, model, effort, maxTurns, engineConfig }) {
|
|
5243
5244
|
const { callLLMStreaming } = require('./engine/llm');
|
|
5244
5245
|
return callLLMStreaming(prompt, CC_STATIC_SYSTEM_PROMPT, {
|
|
5245
|
-
timeout:
|
|
5246
|
+
timeout: CC_CALL_TIMEOUT_MS, label: 'command-center', model, maxTurns,
|
|
5246
5247
|
allowedTools: 'Bash,Read,Write,Edit,Glob,Grep,WebFetch,WebSearch',
|
|
5247
5248
|
sessionId, effort, direct: true,
|
|
5248
5249
|
engineConfig,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yemi33/minions",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1726",
|
|
4
4
|
"description": "Multi-agent AI dev team that runs from ~/.minions/ — five autonomous agents share a single engine, dashboard, and knowledge base",
|
|
5
5
|
"bin": {
|
|
6
6
|
"minions": "bin/minions.js"
|