@askexenow/exe-os 0.8.79 → 0.8.80
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.
|
@@ -2989,9 +2989,9 @@ function getKnownAgents() {
|
|
|
2989
2989
|
try {
|
|
2990
2990
|
return loadEmployeesSync().map((e) => e.name);
|
|
2991
2991
|
} catch (err) {
|
|
2992
|
-
process.stderr.write(`[exe-launch-agent] roster load failed
|
|
2992
|
+
process.stderr.write(`[exe-launch-agent] roster load failed: ${err instanceof Error ? err.message : String(err)}
|
|
2993
2993
|
`);
|
|
2994
|
-
return [
|
|
2994
|
+
return [];
|
|
2995
2995
|
}
|
|
2996
2996
|
}
|
|
2997
2997
|
function parseBasename(basename) {
|
|
@@ -3020,12 +3020,14 @@ function resolveAgent(argv) {
|
|
|
3020
3020
|
}
|
|
3021
3021
|
async function isKnownAgent(agent) {
|
|
3022
3022
|
const knownAgents = getKnownAgents();
|
|
3023
|
+
if (knownAgents.length === 0) return true;
|
|
3023
3024
|
if (knownAgents.some((a) => a.toLowerCase() === agent.toLowerCase())) return true;
|
|
3024
3025
|
try {
|
|
3025
3026
|
const employees = await loadEmployees();
|
|
3027
|
+
if (employees.length === 0) return true;
|
|
3026
3028
|
return employees.some((e) => e.name.toLowerCase() === agent.toLowerCase());
|
|
3027
3029
|
} catch {
|
|
3028
|
-
return
|
|
3030
|
+
return true;
|
|
3029
3031
|
}
|
|
3030
3032
|
}
|
|
3031
3033
|
function identityPathFor(agent) {
|
|
@@ -3203,8 +3205,7 @@ async function main() {
|
|
|
3203
3205
|
\u26A0\uFE0F Not inside tmux \u2014 employee spawning and session management won't work.
|
|
3204
3206
|
For full exe-os (multi-agent, daemon, employee orchestration):
|
|
3205
3207
|
|
|
3206
|
-
|
|
3207
|
-
${agent === "exe" ? "exe" : agent}
|
|
3208
|
+
${agent}1
|
|
3208
3209
|
|
|
3209
3210
|
Continuing in limited mode (memory + MCP tools work, spawning doesn't).
|
|
3210
3211
|
|
package/package.json
CHANGED