@caseyharalson/orrery 0.14.0 → 0.14.1

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.
@@ -24,20 +24,26 @@ function getAgentPriority() {
24
24
  function getInstalledAgentPriority() {
25
25
  const requestedAgents = getAgentPriority();
26
26
  const installedAgents = detectInstalledAgents();
27
+ const isExplicit = !!(
28
+ process.env.ORRERY_AGENT_PRIORITY &&
29
+ process.env.ORRERY_AGENT_PRIORITY.trim()
30
+ );
27
31
 
28
32
  const filteredAgents = requestedAgents.filter((agent) =>
29
33
  installedAgents.includes(agent)
30
34
  );
31
35
 
32
- // Warn about agents in priority that aren't installed
33
- const skippedAgents = requestedAgents.filter(
34
- (agent) => !installedAgents.includes(agent)
35
- );
36
- if (skippedAgents.length > 0) {
37
- const missingDirs = skippedAgents.map((a) => `~/.${a}`).join(", ");
38
- console.warn(
39
- `[config] Skipping unconfigured agents: ${skippedAgents.join(", ")} (missing: ${missingDirs})`
36
+ // Only warn about missing agents when the user explicitly set ORRERY_AGENT_PRIORITY
37
+ if (isExplicit) {
38
+ const skippedAgents = requestedAgents.filter(
39
+ (agent) => !installedAgents.includes(agent)
40
40
  );
41
+ if (skippedAgents.length > 0) {
42
+ const missingDirs = skippedAgents.map((a) => `~/.${a}`).join(", ");
43
+ console.warn(
44
+ `[config] Skipping unconfigured agents: ${skippedAgents.join(", ")} (missing: ${missingDirs})`
45
+ );
46
+ }
41
47
  }
42
48
 
43
49
  if (filteredAgents.length === 0) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@caseyharalson/orrery",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Workflow planning and orchestration CLI for AI agents",
5
5
  "license": "MIT",
6
6
  "author": "Casey Haralson",