@compilr-dev/sdk 0.9.11 → 0.9.12

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.
@@ -112,10 +112,10 @@ export function validateAgentId(id) {
112
112
  if (id.length > 20) {
113
113
  return { valid: false, error: 'Agent ID must be 20 characters or less' };
114
114
  }
115
- if (!/^[a-z][a-z0-9_]*$/.test(id)) {
115
+ if (!/^[a-z][a-z0-9_-]*$/.test(id)) {
116
116
  return {
117
117
  valid: false,
118
- error: 'Must be lowercase letters, numbers, underscore (start with letter)',
118
+ error: 'Must be lowercase letters, numbers, underscore, dash (start with letter)',
119
119
  };
120
120
  }
121
121
  return { valid: true };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compilr-dev/sdk",
3
- "version": "0.9.11",
3
+ "version": "0.9.12",
4
4
  "description": "Universal agent runtime for building AI-powered applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",