claude-use 2.0.3 → 2.0.4

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.
Files changed (2) hide show
  1. package/dist/cli.cjs +4 -1
  2. 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.3",
221877
+ version: "2.0.4",
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>",
@@ -245741,6 +245741,9 @@ function useIdentity(paths, name) {
245741
245741
  `);
245742
245742
  }
245743
245743
  async function runIdentityWizard(prompts, paths, name) {
245744
+ if (!IdentitySchema.safeParse({ name, allowAmbientCredential: false }).success) {
245745
+ throw new InvalidIdentityNameError(name);
245746
+ }
245744
245747
  const choice = await prompts.select({
245745
245748
  message: `No identity named "${name}" exists yet. Create it now?`,
245746
245749
  options: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
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>",