@agimon-ai/po-team 0.0.0-alpha.41 → 0.0.0-alpha.43
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/dist/{agentDiscovery-rn_n_Tap.cjs → agentDiscovery-BpZQojPR.cjs} +5 -4
- package/dist/{agentDiscovery-rn_n_Tap.cjs.map → agentDiscovery-BpZQojPR.cjs.map} +1 -1
- package/dist/{agentDiscovery-ZNG8iZXV.mjs → agentDiscovery-CAL1Vv6c.mjs} +5 -4
- package/dist/{agentDiscovery-ZNG8iZXV.mjs.map → agentDiscovery-CAL1Vv6c.mjs.map} +1 -1
- package/dist/extensions/server.cjs +15 -10
- package/dist/extensions/server.cjs.map +1 -1
- package/dist/extensions/server.mjs +15 -10
- package/dist/extensions/server.mjs.map +1 -1
- package/dist/extensions/web.mjs +81 -1
- package/dist/extensions/web.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +18 -16
|
@@ -1474,14 +1474,15 @@ var AgentDiscoveryService = class {
|
|
|
1474
1474
|
const userSettings = scope === "project" ? EMPTY_SUBAGENT_SETTINGS : await readSubagentSettings(this.io, userSettingsPath);
|
|
1475
1475
|
const projectSettings = scope === "user" ? EMPTY_SUBAGENT_SETTINGS : await readSubagentSettings(this.io, projectSettingsPath);
|
|
1476
1476
|
const legacyDefaultModel = resolveSubagentDefaultModel(userSettings, projectSettings, userSettingsPath, projectSettingsPath);
|
|
1477
|
+
const configModels = team?.defaults?.model !== void 0 || team?.defaults?.fallbackModels !== void 0;
|
|
1477
1478
|
const packagePrimaryModel = team?.models?.[0];
|
|
1478
1479
|
const defaultModel = packagePrimaryModel && team ? {
|
|
1479
|
-
type: "packages.team.defaultModel",
|
|
1480
|
-
scope: "package",
|
|
1480
|
+
type: configModels ? "config.subagents.model" : "packages.team.defaultModel",
|
|
1481
|
+
scope: configModels ? "config" : "package",
|
|
1481
1482
|
path: team.path ?? "",
|
|
1482
1483
|
model: packagePrimaryModel
|
|
1483
1484
|
} : legacyDefaultModel;
|
|
1484
|
-
const defaultThinking = resolveSubagentDefaultThinking(userSettings, projectSettings, projectSettingsPath);
|
|
1485
|
+
const defaultThinking = team?.defaults?.thinking ?? resolveSubagentDefaultThinking(userSettings, projectSettings, projectSettingsPath);
|
|
1485
1486
|
const defaultExtensions = resolveSubagentDefaultExtensions(userSettings, projectSettings, projectSettingsPath);
|
|
1486
1487
|
const resolve = (agents) => applyCustomAgentOverrides(applySubagentDefaults(agents, defaultModel, defaultThinking, defaultExtensions), userSettings, projectSettings, userSettingsPath, projectSettingsPath);
|
|
1487
1488
|
const projectDirs = await resolveNearestProjectAgentDirs(this.io, cwd);
|
|
@@ -1557,4 +1558,4 @@ Object.defineProperty(exports, "getProjectConfigDir", {
|
|
|
1557
1558
|
}
|
|
1558
1559
|
});
|
|
1559
1560
|
|
|
1560
|
-
//# sourceMappingURL=agentDiscovery-
|
|
1561
|
+
//# sourceMappingURL=agentDiscovery-BpZQojPR.cjs.map
|