@ghl-ai/aw 0.1.26 → 0.1.28
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/commands/init.mjs +1 -1
- package/package.json +1 -1
package/commands/init.mjs
CHANGED
|
@@ -182,7 +182,7 @@ export async function initCommand(args) {
|
|
|
182
182
|
].join('\n'));
|
|
183
183
|
}
|
|
184
184
|
|
|
185
|
-
const SLUG_RE = /^[a-z][a-z0-9-]{
|
|
185
|
+
const SLUG_RE = /^[a-z][a-z0-9-]{0,38}[a-z0-9]$/;
|
|
186
186
|
if (team && !SLUG_RE.test(team)) {
|
|
187
187
|
fmt.cancel(`Invalid team '${team}' — must match: ${SLUG_RE}`);
|
|
188
188
|
}
|