@standardagents/builder 0.41.19 → 0.41.20
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/built-in-routes.js +6 -3
- package/dist/built-in-routes.js.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/runtime.js +5 -2
- package/dist/runtime.js.map +1 -1
- package/package.json +5 -5
package/dist/built-in-routes.js
CHANGED
|
@@ -21785,7 +21785,10 @@ ${msg.content}` : `${imageDescriptions}${nonImageList}`;
|
|
|
21785
21785
|
const visibleSideSubagents = sideSubagentDescriptors.filter(
|
|
21786
21786
|
(entry) => !entry.hidden
|
|
21787
21787
|
);
|
|
21788
|
-
const childrenRegistry =
|
|
21788
|
+
const childrenRegistry = _FlowEngine.filterModelVisibleSubagents(
|
|
21789
|
+
await this.getSubagentRegistry(state),
|
|
21790
|
+
state.agentConfig
|
|
21791
|
+
);
|
|
21789
21792
|
if (toolNames.length > 0) {
|
|
21790
21793
|
const providerToolNames = [];
|
|
21791
21794
|
const regularToolNames = [];
|
|
@@ -21927,7 +21930,7 @@ ${msg.content}` : `${imageDescriptions}${nonImageList}`;
|
|
|
21927
21930
|
if (visibleSideSubagents.length > 0 && !tools.some((tool3) => tool3.function.name === "subagent_create")) {
|
|
21928
21931
|
tools.push(this.buildSubagentCreateTool(visibleSideSubagents));
|
|
21929
21932
|
}
|
|
21930
|
-
if ((
|
|
21933
|
+
if ((visibleSideSubagents.length > 0 || childrenRegistry.length > 0) && !tools.some((tool3) => tool3.function.name === "subagents")) {
|
|
21931
21934
|
tools.push({
|
|
21932
21935
|
type: "function",
|
|
21933
21936
|
function: {
|
|
@@ -80054,7 +80057,7 @@ var config_get_default = defineController2(async ({ config, env: env2, req }) =>
|
|
|
80054
80057
|
});
|
|
80055
80058
|
|
|
80056
80059
|
// src/version.ts
|
|
80057
|
-
var BUILDER_VERSION = "0.41.
|
|
80060
|
+
var BUILDER_VERSION = "0.41.20".length > 0 ? "0.41.20" : "dev";
|
|
80058
80061
|
|
|
80059
80062
|
// src/api/diagnostics.get.ts
|
|
80060
80063
|
init_LLMRequest();
|