claude-use 2.3.1 → 2.4.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.
Files changed (2) hide show
  1. package/dist/cli.cjs +6 -3
  2. package/package.json +1 -1
package/dist/cli.cjs CHANGED
@@ -221824,7 +221824,7 @@ var program = new Command();
221824
221824
  // package.json
221825
221825
  var package_default = {
221826
221826
  name: "claude-use",
221827
- version: "2.3.1",
221827
+ version: "2.4.0",
221828
221828
  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.",
221829
221829
  license: "Apache-2.0",
221830
221830
  author: "Joseph Mearman <joseph@mearman.co.uk>",
@@ -245801,7 +245801,9 @@ async function runIdentityWizard(prompts, paths, name) {
245801
245801
  options: [
245802
245802
  { value: "create", label: "Create and configure a profile" },
245803
245803
  { value: "skip", label: "Skip for now" }
245804
- ]
245804
+ ],
245805
+ // Most identities need no profile of their own at all — they're meant to fall through to whatever the global default (or a directory rule) already resolves to, and a profile only earns its keep once an identity genuinely needs to diverge from that. Defaulting the cursor to "skip" makes the common, no-profile-needed case the one a bare Enter confirms, without reordering the options and making "skip" read as the first, most prominent choice on screen.
245806
+ initialValue: "skip"
245805
245807
  });
245806
245808
  if (!prompts.isCancel(profileChoice) && profileChoice === "create") {
245807
245809
  const result = await runProfileWizard(prompts, { paths, defaultNewName: name });
@@ -246119,7 +246121,8 @@ function isKnownOptionValue(value, options) {
246119
246121
  var realPromptsPort = {
246120
246122
  select: (params) => select({
246121
246123
  message: params.message,
246122
- options: toClackOptions(params.options)
246124
+ options: toClackOptions(params.options),
246125
+ ...params.initialValue === void 0 ? {} : { initialValue: params.initialValue }
246123
246126
  }).then((value) => {
246124
246127
  if (typeof value === "symbol" || isKnownOptionValue(value, params.options)) {
246125
246128
  return value;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-use",
3
- "version": "2.3.1",
3
+ "version": "2.4.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>",