@wayai/cli 0.2.58 → 0.2.59

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.
@@ -12,7 +12,7 @@ export declare function prompt(question: string): Promise<string>;
12
12
  export declare function confirm(question: string): Promise<boolean>;
13
13
  /**
14
14
  * Slugify a string: lowercase, normalize accents, replace non-alphanumeric with hyphens.
15
- * Matches the slugification rules from workspace-format.md
15
+ * Must match @wayai/shared slugifySkillName (workers/shared/src/resources.ts)
16
16
  */
17
17
  export declare function slugify(input: string): string;
18
18
  /**
package/dist/lib/utils.js CHANGED
@@ -31,7 +31,7 @@ export function confirm(question) {
31
31
  }
32
32
  /**
33
33
  * Slugify a string: lowercase, normalize accents, replace non-alphanumeric with hyphens.
34
- * Matches the slugification rules from workspace-format.md
34
+ * Must match @wayai/shared slugifySkillName (workers/shared/src/resources.ts)
35
35
  */
36
36
  export function slugify(input) {
37
37
  return input
@@ -41,7 +41,7 @@ export function slugify(input) {
41
41
  .replace(/[^a-z0-9]+/g, '-') // non-alphanumeric → hyphens
42
42
  .replace(/-+/g, '-') // collapse consecutive
43
43
  .replace(/^-|-$/g, '') // trim leading/trailing
44
- .slice(0, 50); // limit length
44
+ .slice(0, 64); // limit length
45
45
  }
46
46
  /**
47
47
  * Resolve the hub YAML path in a folder: tries hub.yaml first, falls back to wayai.yaml.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wayai/cli",
3
- "version": "0.2.58",
3
+ "version": "0.2.59",
4
4
  "description": "WayAI CLI — sync hub configuration between local files and the platform",
5
5
  "type": "module",
6
6
  "bin": {