@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
@@ -43,7 +43,7 @@ import {
43
43
  streamAgentUIMessages,
44
44
  toAgentFactory,
45
45
  translateSdkEvent
46
- } from "./chunk-7KRJJX7W.js";
46
+ } from "./chunk-PTHRG25K.js";
47
47
  import "./chunk-7QVYU63E.js";
48
48
  export {
49
49
  AGENT_BRAND,
@@ -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}.${toolName}` : toolName;
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-7KRJJX7W.js.map
3382
+ //# sourceMappingURL=chunk-PTHRG25K.js.map