@theokit/agents 1.0.0 → 1.0.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.
package/dist/bridge.js
CHANGED
|
@@ -174,8 +174,9 @@ function compileSkills(options) {
|
|
|
174
174
|
__name(compileSkills, "compileSkills");
|
|
175
175
|
|
|
176
176
|
// src/bridge/agent-compiler.ts
|
|
177
|
+
var SDK_TOOL_NAME = /^[a-zA-Z][a-zA-Z0-9_-]{0,63}$/;
|
|
177
178
|
function toolRuntimeName(namespace, toolName) {
|
|
178
|
-
return namespace ? `${namespace}
|
|
179
|
+
return namespace ? `${namespace}_${toolName}` : toolName;
|
|
179
180
|
}
|
|
180
181
|
__name(toolRuntimeName, "toolRuntimeName");
|
|
181
182
|
function compileTools(toolboxes, toolboxInstances) {
|
|
@@ -3313,6 +3314,8 @@ export {
|
|
|
3313
3314
|
compileSkillsSelection,
|
|
3314
3315
|
compileContextWindow,
|
|
3315
3316
|
compileSkills,
|
|
3317
|
+
SDK_TOOL_NAME,
|
|
3318
|
+
toolRuntimeName,
|
|
3316
3319
|
compileTools,
|
|
3317
3320
|
createAgentExecutionContext,
|
|
3318
3321
|
isAgentContext,
|
|
@@ -3376,4 +3379,4 @@ export {
|
|
|
3376
3379
|
generateAgentManifest,
|
|
3377
3380
|
agentsPlugin
|
|
3378
3381
|
};
|
|
3379
|
-
//# sourceMappingURL=chunk-
|
|
3382
|
+
//# sourceMappingURL=chunk-PTHRG25K.js.map
|