claude-use 2.0.4 → 2.1.0
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/cli.cjs +5 -5
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -221874,7 +221874,7 @@ var categories_default_default = {
|
|
|
221874
221874
|
// package.json
|
|
221875
221875
|
var package_default = {
|
|
221876
221876
|
name: "claude-use",
|
|
221877
|
-
version: "2.0
|
|
221877
|
+
version: "2.1.0",
|
|
221878
221878
|
description: "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
221879
221879
|
license: "Apache-2.0",
|
|
221880
221880
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -241780,7 +241780,7 @@ var GlobalConfigSchema = external_exports.strictObject({
|
|
|
241780
241780
|
});
|
|
241781
241781
|
var IdentitySchema = external_exports.strictObject({
|
|
241782
241782
|
$schema: external_exports.string().optional(),
|
|
241783
|
-
name: external_exports.string().min(1).regex(/^[A-Za-z0-9][A-Za-z0-9._
|
|
241783
|
+
name: external_exports.string().min(1).regex(/^[A-Za-z0-9][A-Za-z0-9._@-]*$/),
|
|
241784
241784
|
defaultConfigProfile: external_exports.string().min(1).optional(),
|
|
241785
241785
|
allowAmbientCredential: external_exports.boolean().default(false)
|
|
241786
241786
|
});
|
|
@@ -245706,7 +245706,7 @@ var IdentityAlreadyExistsError = class extends CliError {
|
|
|
245706
245706
|
var InvalidIdentityNameError = class extends CliError {
|
|
245707
245707
|
constructor(attemptedName) {
|
|
245708
245708
|
super(
|
|
245709
|
-
`"${attemptedName}" is not a valid identity name \u2014 identity names must start with a letter or number and may
|
|
245709
|
+
`"${attemptedName}" is not a valid identity name \u2014 identity names must start with a letter or number and may then contain letters, numbers, dots, hyphens, underscores, and at signs.`
|
|
245710
245710
|
);
|
|
245711
245711
|
this.attemptedName = attemptedName;
|
|
245712
245712
|
this.name = "InvalidIdentityNameError";
|
|
@@ -246277,13 +246277,13 @@ var CATEGORY_LABELS = {
|
|
|
246277
246277
|
knowledge: "knowledge",
|
|
246278
246278
|
settings: "settings"
|
|
246279
246279
|
};
|
|
246280
|
-
var PROFILE_NAME_RE = /^[A-Za-z0-9][A-Za-z0-9._
|
|
246280
|
+
var PROFILE_NAME_RE = /^[A-Za-z0-9][A-Za-z0-9._@-]*$/;
|
|
246281
246281
|
function validateProfileName(value, existingNames) {
|
|
246282
246282
|
if (value.length === 0) {
|
|
246283
246283
|
return "A name is required.";
|
|
246284
246284
|
}
|
|
246285
246285
|
if (!PROFILE_NAME_RE.test(value)) {
|
|
246286
|
-
return "Names must start with a letter or digit, and contain only letters, digits, dots, dashes, and
|
|
246286
|
+
return "Names must start with a letter or digit, and contain only letters, digits, dots, dashes, underscores, and at signs.";
|
|
246287
246287
|
}
|
|
246288
246288
|
if (existingNames?.includes(value)) {
|
|
246289
246289
|
return `A configuration profile named "${value}" already exists.`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "2.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "A profile manager and launcher for Claude Code that lets one person run multiple logins from one machine while controlling what gets shared between them.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Joseph Mearman <joseph@mearman.co.uk>",
|