@wayai/cli 0.2.58 → 0.2.60

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/index.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Commands:
6
6
  * wayai login — authenticate via OAuth (browser)
7
- * wayai login --token — authenticate via MCP token (headless)
7
+ * wayai login --token — authenticate via API token (headless)
8
8
  * wayai logout — clear stored credentials
9
9
  * wayai status — show current auth and config status
10
10
  * wayai init — set up .wayai.yaml (pick org/project/hub)
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * Commands:
6
6
  * wayai login — authenticate via OAuth (browser)
7
- * wayai login --token — authenticate via MCP token (headless)
7
+ * wayai login --token — authenticate via API token (headless)
8
8
  * wayai logout — clear stored credentials
9
9
  * wayai status — show current auth and config status
10
10
  * wayai init — set up .wayai.yaml (pick org/project/hub)
@@ -153,7 +153,7 @@ Usage:
153
153
 
154
154
  Commands:
155
155
  login Authenticate via OAuth (opens browser)
156
- login --token Authenticate via MCP token (for headless/CI)
156
+ login --token Authenticate via API token (for headless/CI)
157
157
  logout Clear stored credentials
158
158
  status Show current auth and config status
159
159
  init Set up .wayai.yaml (pick org/project/hub)
@@ -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.60",
4
4
  "description": "WayAI CLI — sync hub configuration between local files and the platform",
5
5
  "type": "module",
6
6
  "bin": {