oh-my-parallel-agent-opencode 0.2.1 → 0.2.2

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.
Files changed (2) hide show
  1. package/dist/index.js +27 -14
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -49258,12 +49258,6 @@ Create the work plan directly - that's your job as the planning agent.`
49258
49258
  const agents = agentsResult.data ?? agentsResult;
49259
49259
  const callableAgents = agents.filter((a) => a.mode !== "primary");
49260
49260
  let matchedAgent = callableAgents.find((agent) => agent.name.toLowerCase() === agentToUse.toLowerCase());
49261
- if (!matchedAgent) {
49262
- const baseAgentName = resolveBaseAgent(agentToUse.toLowerCase());
49263
- if (baseAgentName) {
49264
- matchedAgent = callableAgents.find((agent) => agent.name.toLowerCase() === baseAgentName);
49265
- }
49266
- }
49267
49261
  if (!matchedAgent) {
49268
49262
  const isPrimaryAgent = agents.filter((a) => a.mode === "primary").find((agent) => agent.name.toLowerCase() === agentToUse.toLowerCase());
49269
49263
  if (isPrimaryAgent) {
@@ -73145,17 +73139,24 @@ createHephaestusAgent.mode = MODE9;
73145
73139
  init_shared();
73146
73140
  init_constants4();
73147
73141
 
73148
- // Resolve variant agent names (e.g., "momus-1" → "momus")
73149
- function resolveBaseAgent(agentName) {
73150
- const match = agentName.match(/^(momus|metis|librarian|explore)-(\d+)$/);
73151
- return match ? match[1] : null;
73152
- }
73153
-
73154
73142
  var agentSources = {
73155
73143
  librarian: createLibrarianAgent,
73156
73144
  explore: createExploreAgent,
73157
73145
  metis: createMetisAgent,
73158
- momus: createMomusAgent
73146
+ momus: createMomusAgent,
73147
+ // 변형 에이전트 (동일 팩토리 함수, 설정 파일에서 model 오버라이드)
73148
+ "momus-1": createMomusAgent,
73149
+ "momus-2": createMomusAgent,
73150
+ "momus-3": createMomusAgent,
73151
+ "metis-1": createMetisAgent,
73152
+ "metis-2": createMetisAgent,
73153
+ "metis-3": createMetisAgent,
73154
+ "librarian-1": createLibrarianAgent,
73155
+ "librarian-2": createLibrarianAgent,
73156
+ "librarian-3": createLibrarianAgent,
73157
+ "explore-1": createExploreAgent,
73158
+ "explore-2": createExploreAgent,
73159
+ "explore-3": createExploreAgent
73159
73160
  };
73160
73161
  var agentMetadata = {
73161
73162
  oracle: ORACLE_PROMPT_METADATA,
@@ -73164,7 +73165,19 @@ var agentMetadata = {
73164
73165
  "multimodal-looker": MULTIMODAL_LOOKER_PROMPT_METADATA,
73165
73166
  metis: metisPromptMetadata,
73166
73167
  momus: momusPromptMetadata,
73167
- atlas: atlasPromptMetadata
73168
+ atlas: atlasPromptMetadata,
73169
+ "momus-1": momusPromptMetadata,
73170
+ "momus-2": momusPromptMetadata,
73171
+ "momus-3": momusPromptMetadata,
73172
+ "metis-1": metisPromptMetadata,
73173
+ "metis-2": metisPromptMetadata,
73174
+ "metis-3": metisPromptMetadata,
73175
+ "librarian-1": LIBRARIAN_PROMPT_METADATA,
73176
+ "librarian-2": LIBRARIAN_PROMPT_METADATA,
73177
+ "librarian-3": LIBRARIAN_PROMPT_METADATA,
73178
+ "explore-1": EXPLORE_PROMPT_METADATA,
73179
+ "explore-2": EXPLORE_PROMPT_METADATA,
73180
+ "explore-3": EXPLORE_PROMPT_METADATA
73168
73181
  };
73169
73182
  function isFactory(source) {
73170
73183
  return typeof source === "function";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oh-my-parallel-agent-opencode",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",