@agentforge/core 0.11.1 → 0.11.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.
package/README.md CHANGED
@@ -151,6 +151,13 @@ pnpm test
151
151
  pnpm typecheck
152
152
  ```
153
153
 
154
+ ## 🔗 Links
155
+
156
+ - [GitHub Repository](https://github.com/TVScoundrel/agentforge)
157
+ - [npm Package](https://www.npmjs.com/package/@agentforge/core)
158
+ - [Changelog](https://tvscoundrel.github.io/agentforge/changelog.html) - See what's new before upgrading
159
+ - [Report Issues](https://github.com/TVScoundrel/agentforge/issues)
160
+
154
161
  ## License
155
162
 
156
163
  MIT © 2026 Tom Van Schoor
package/dist/index.cjs CHANGED
@@ -1122,6 +1122,21 @@ var ToolRegistry = class {
1122
1122
  * ```
1123
1123
  */
1124
1124
  registerMany(tools) {
1125
+ const inputNames = /* @__PURE__ */ new Set();
1126
+ const duplicatesInInput = [];
1127
+ for (const tool of tools) {
1128
+ const name = tool.metadata.name;
1129
+ if (inputNames.has(name)) {
1130
+ duplicatesInInput.push(name);
1131
+ } else {
1132
+ inputNames.add(name);
1133
+ }
1134
+ }
1135
+ if (duplicatesInInput.length > 0) {
1136
+ throw new Error(
1137
+ `Cannot register tools: duplicate names in input list: ${duplicatesInInput.join(", ")}`
1138
+ );
1139
+ }
1125
1140
  const conflicts = [];
1126
1141
  for (const tool of tools) {
1127
1142
  if (this.tools.has(tool.metadata.name)) {
package/dist/index.js CHANGED
@@ -966,6 +966,21 @@ var ToolRegistry = class {
966
966
  * ```
967
967
  */
968
968
  registerMany(tools) {
969
+ const inputNames = /* @__PURE__ */ new Set();
970
+ const duplicatesInInput = [];
971
+ for (const tool of tools) {
972
+ const name = tool.metadata.name;
973
+ if (inputNames.has(name)) {
974
+ duplicatesInInput.push(name);
975
+ } else {
976
+ inputNames.add(name);
977
+ }
978
+ }
979
+ if (duplicatesInInput.length > 0) {
980
+ throw new Error(
981
+ `Cannot register tools: duplicate names in input list: ${duplicatesInInput.join(", ")}`
982
+ );
983
+ }
969
984
  const conflicts = [];
970
985
  for (const tool of tools) {
971
986
  if (this.tools.has(tool.metadata.name)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentforge/core",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
4
4
  "description": "Core abstractions for AgentForge - production-ready deep agents framework",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",