claude-use 11.68.2 → 11.68.3
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 +58 -4
- package/dist/index.cjs +58 -4
- package/dist/index.mjs +58 -4
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -37387,7 +37387,7 @@ var init_package = __esm({
|
|
|
37387
37387
|
"package.json"() {
|
|
37388
37388
|
package_default = {
|
|
37389
37389
|
name: "claude-use",
|
|
37390
|
-
version: "11.68.
|
|
37390
|
+
version: "11.68.3",
|
|
37391
37391
|
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.",
|
|
37392
37392
|
license: "MIT",
|
|
37393
37393
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -67639,11 +67639,36 @@ var init_claudeSession = __esm({
|
|
|
67639
67639
|
});
|
|
67640
67640
|
|
|
67641
67641
|
// src/launcher/claudeSubcommand.ts
|
|
67642
|
+
function isOptionValue(token) {
|
|
67643
|
+
return token !== void 0 && !token.startsWith("-");
|
|
67644
|
+
}
|
|
67642
67645
|
function isClaudeSubcommand(passthrough) {
|
|
67643
|
-
|
|
67644
|
-
|
|
67646
|
+
let index = 0;
|
|
67647
|
+
while (index < passthrough.length) {
|
|
67648
|
+
const token = passthrough[index];
|
|
67649
|
+
if (token === void 0 || token === "--") {
|
|
67650
|
+
return false;
|
|
67651
|
+
}
|
|
67652
|
+
if (!token.startsWith("-")) {
|
|
67653
|
+
return CLAUDE_SUBCOMMANDS.has(token);
|
|
67654
|
+
}
|
|
67655
|
+
index += 1;
|
|
67656
|
+
if (token.includes("=")) {
|
|
67657
|
+
continue;
|
|
67658
|
+
}
|
|
67659
|
+
if (VALUE_OPTIONS.has(token)) {
|
|
67660
|
+
index += 1;
|
|
67661
|
+
} else if (VARIADIC_OPTIONS.has(token)) {
|
|
67662
|
+
while (isOptionValue(passthrough[index])) {
|
|
67663
|
+
index += 1;
|
|
67664
|
+
}
|
|
67665
|
+
} else if (OPTIONAL_VALUE_OPTIONS.has(token) && isOptionValue(passthrough[index])) {
|
|
67666
|
+
index += 1;
|
|
67667
|
+
}
|
|
67668
|
+
}
|
|
67669
|
+
return false;
|
|
67645
67670
|
}
|
|
67646
|
-
var CLAUDE_SUBCOMMANDS;
|
|
67671
|
+
var CLAUDE_SUBCOMMANDS, VALUE_OPTIONS, VARIADIC_OPTIONS, OPTIONAL_VALUE_OPTIONS;
|
|
67647
67672
|
var init_claudeSubcommand = __esm({
|
|
67648
67673
|
"src/launcher/claudeSubcommand.ts"() {
|
|
67649
67674
|
"use strict";
|
|
@@ -67670,6 +67695,35 @@ var init_claudeSubcommand = __esm({
|
|
|
67670
67695
|
"update",
|
|
67671
67696
|
"upgrade"
|
|
67672
67697
|
]);
|
|
67698
|
+
VALUE_OPTIONS = /* @__PURE__ */ new Set([
|
|
67699
|
+
"--agent",
|
|
67700
|
+
"--agents",
|
|
67701
|
+
"--append-system-prompt",
|
|
67702
|
+
"--autocompact",
|
|
67703
|
+
"--debug-file",
|
|
67704
|
+
"--effort",
|
|
67705
|
+
"--environment",
|
|
67706
|
+
"--fallback-model",
|
|
67707
|
+
"--input-format",
|
|
67708
|
+
"--json-schema",
|
|
67709
|
+
"--max-budget-usd",
|
|
67710
|
+
"--model",
|
|
67711
|
+
"--name",
|
|
67712
|
+
"-n",
|
|
67713
|
+
"--output-format",
|
|
67714
|
+
"--permission-mode",
|
|
67715
|
+
"--permission-prompts",
|
|
67716
|
+
"--plugin-dir",
|
|
67717
|
+
"--plugin-url",
|
|
67718
|
+
"--remote-control-session-name-prefix",
|
|
67719
|
+
"--session-id",
|
|
67720
|
+
"--setting-sources",
|
|
67721
|
+
"--settings",
|
|
67722
|
+
"--system-prompt",
|
|
67723
|
+
"--system-prompt-snapshot"
|
|
67724
|
+
]);
|
|
67725
|
+
VARIADIC_OPTIONS = /* @__PURE__ */ new Set(["--add-dir", "--allowed-tools", "--allowedTools", "--betas", "--disallowed-tools", "--disallowedTools", "--file", "--mcp-config", "--tools"]);
|
|
67726
|
+
OPTIONAL_VALUE_OPTIONS = /* @__PURE__ */ new Set(["--cloud", "--debug", "-d", "--from-pr", "--prompt-suggestions", "--remote-control", "--resume", "-r", "--teleport", "--worktree", "-w"]);
|
|
67673
67727
|
}
|
|
67674
67728
|
});
|
|
67675
67729
|
|
package/dist/index.cjs
CHANGED
|
@@ -4762,7 +4762,7 @@ var init_package = __esm({
|
|
|
4762
4762
|
"package.json"() {
|
|
4763
4763
|
package_default = {
|
|
4764
4764
|
name: "claude-use",
|
|
4765
|
-
version: "11.68.
|
|
4765
|
+
version: "11.68.3",
|
|
4766
4766
|
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.",
|
|
4767
4767
|
license: "MIT",
|
|
4768
4768
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -11163,11 +11163,36 @@ var init_claudeSession = __esm({
|
|
|
11163
11163
|
});
|
|
11164
11164
|
|
|
11165
11165
|
// src/launcher/claudeSubcommand.ts
|
|
11166
|
+
function isOptionValue(token) {
|
|
11167
|
+
return token !== void 0 && !token.startsWith("-");
|
|
11168
|
+
}
|
|
11166
11169
|
function isClaudeSubcommand(passthrough) {
|
|
11167
|
-
|
|
11168
|
-
|
|
11170
|
+
let index = 0;
|
|
11171
|
+
while (index < passthrough.length) {
|
|
11172
|
+
const token = passthrough[index];
|
|
11173
|
+
if (token === void 0 || token === "--") {
|
|
11174
|
+
return false;
|
|
11175
|
+
}
|
|
11176
|
+
if (!token.startsWith("-")) {
|
|
11177
|
+
return CLAUDE_SUBCOMMANDS.has(token);
|
|
11178
|
+
}
|
|
11179
|
+
index += 1;
|
|
11180
|
+
if (token.includes("=")) {
|
|
11181
|
+
continue;
|
|
11182
|
+
}
|
|
11183
|
+
if (VALUE_OPTIONS.has(token)) {
|
|
11184
|
+
index += 1;
|
|
11185
|
+
} else if (VARIADIC_OPTIONS.has(token)) {
|
|
11186
|
+
while (isOptionValue(passthrough[index])) {
|
|
11187
|
+
index += 1;
|
|
11188
|
+
}
|
|
11189
|
+
} else if (OPTIONAL_VALUE_OPTIONS.has(token) && isOptionValue(passthrough[index])) {
|
|
11190
|
+
index += 1;
|
|
11191
|
+
}
|
|
11192
|
+
}
|
|
11193
|
+
return false;
|
|
11169
11194
|
}
|
|
11170
|
-
var CLAUDE_SUBCOMMANDS;
|
|
11195
|
+
var CLAUDE_SUBCOMMANDS, VALUE_OPTIONS, VARIADIC_OPTIONS, OPTIONAL_VALUE_OPTIONS;
|
|
11171
11196
|
var init_claudeSubcommand = __esm({
|
|
11172
11197
|
"src/launcher/claudeSubcommand.ts"() {
|
|
11173
11198
|
"use strict";
|
|
@@ -11194,6 +11219,35 @@ var init_claudeSubcommand = __esm({
|
|
|
11194
11219
|
"update",
|
|
11195
11220
|
"upgrade"
|
|
11196
11221
|
]);
|
|
11222
|
+
VALUE_OPTIONS = /* @__PURE__ */ new Set([
|
|
11223
|
+
"--agent",
|
|
11224
|
+
"--agents",
|
|
11225
|
+
"--append-system-prompt",
|
|
11226
|
+
"--autocompact",
|
|
11227
|
+
"--debug-file",
|
|
11228
|
+
"--effort",
|
|
11229
|
+
"--environment",
|
|
11230
|
+
"--fallback-model",
|
|
11231
|
+
"--input-format",
|
|
11232
|
+
"--json-schema",
|
|
11233
|
+
"--max-budget-usd",
|
|
11234
|
+
"--model",
|
|
11235
|
+
"--name",
|
|
11236
|
+
"-n",
|
|
11237
|
+
"--output-format",
|
|
11238
|
+
"--permission-mode",
|
|
11239
|
+
"--permission-prompts",
|
|
11240
|
+
"--plugin-dir",
|
|
11241
|
+
"--plugin-url",
|
|
11242
|
+
"--remote-control-session-name-prefix",
|
|
11243
|
+
"--session-id",
|
|
11244
|
+
"--setting-sources",
|
|
11245
|
+
"--settings",
|
|
11246
|
+
"--system-prompt",
|
|
11247
|
+
"--system-prompt-snapshot"
|
|
11248
|
+
]);
|
|
11249
|
+
VARIADIC_OPTIONS = /* @__PURE__ */ new Set(["--add-dir", "--allowed-tools", "--allowedTools", "--betas", "--disallowed-tools", "--disallowedTools", "--file", "--mcp-config", "--tools"]);
|
|
11250
|
+
OPTIONAL_VALUE_OPTIONS = /* @__PURE__ */ new Set(["--cloud", "--debug", "-d", "--from-pr", "--prompt-suggestions", "--remote-control", "--resume", "-r", "--teleport", "--worktree", "-w"]);
|
|
11197
11251
|
}
|
|
11198
11252
|
});
|
|
11199
11253
|
|
package/dist/index.mjs
CHANGED
|
@@ -4738,7 +4738,7 @@ var init_package = __esm({
|
|
|
4738
4738
|
"package.json"() {
|
|
4739
4739
|
package_default = {
|
|
4740
4740
|
name: "claude-use",
|
|
4741
|
-
version: "11.68.
|
|
4741
|
+
version: "11.68.3",
|
|
4742
4742
|
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.",
|
|
4743
4743
|
license: "MIT",
|
|
4744
4744
|
author: "Joseph Mearman <joseph@mearman.co.uk>",
|
|
@@ -11135,11 +11135,36 @@ var init_claudeSession = __esm({
|
|
|
11135
11135
|
});
|
|
11136
11136
|
|
|
11137
11137
|
// src/launcher/claudeSubcommand.ts
|
|
11138
|
+
function isOptionValue(token) {
|
|
11139
|
+
return token !== void 0 && !token.startsWith("-");
|
|
11140
|
+
}
|
|
11138
11141
|
function isClaudeSubcommand(passthrough) {
|
|
11139
|
-
|
|
11140
|
-
|
|
11142
|
+
let index = 0;
|
|
11143
|
+
while (index < passthrough.length) {
|
|
11144
|
+
const token = passthrough[index];
|
|
11145
|
+
if (token === void 0 || token === "--") {
|
|
11146
|
+
return false;
|
|
11147
|
+
}
|
|
11148
|
+
if (!token.startsWith("-")) {
|
|
11149
|
+
return CLAUDE_SUBCOMMANDS.has(token);
|
|
11150
|
+
}
|
|
11151
|
+
index += 1;
|
|
11152
|
+
if (token.includes("=")) {
|
|
11153
|
+
continue;
|
|
11154
|
+
}
|
|
11155
|
+
if (VALUE_OPTIONS.has(token)) {
|
|
11156
|
+
index += 1;
|
|
11157
|
+
} else if (VARIADIC_OPTIONS.has(token)) {
|
|
11158
|
+
while (isOptionValue(passthrough[index])) {
|
|
11159
|
+
index += 1;
|
|
11160
|
+
}
|
|
11161
|
+
} else if (OPTIONAL_VALUE_OPTIONS.has(token) && isOptionValue(passthrough[index])) {
|
|
11162
|
+
index += 1;
|
|
11163
|
+
}
|
|
11164
|
+
}
|
|
11165
|
+
return false;
|
|
11141
11166
|
}
|
|
11142
|
-
var CLAUDE_SUBCOMMANDS;
|
|
11167
|
+
var CLAUDE_SUBCOMMANDS, VALUE_OPTIONS, VARIADIC_OPTIONS, OPTIONAL_VALUE_OPTIONS;
|
|
11143
11168
|
var init_claudeSubcommand = __esm({
|
|
11144
11169
|
"src/launcher/claudeSubcommand.ts"() {
|
|
11145
11170
|
"use strict";
|
|
@@ -11166,6 +11191,35 @@ var init_claudeSubcommand = __esm({
|
|
|
11166
11191
|
"update",
|
|
11167
11192
|
"upgrade"
|
|
11168
11193
|
]);
|
|
11194
|
+
VALUE_OPTIONS = /* @__PURE__ */ new Set([
|
|
11195
|
+
"--agent",
|
|
11196
|
+
"--agents",
|
|
11197
|
+
"--append-system-prompt",
|
|
11198
|
+
"--autocompact",
|
|
11199
|
+
"--debug-file",
|
|
11200
|
+
"--effort",
|
|
11201
|
+
"--environment",
|
|
11202
|
+
"--fallback-model",
|
|
11203
|
+
"--input-format",
|
|
11204
|
+
"--json-schema",
|
|
11205
|
+
"--max-budget-usd",
|
|
11206
|
+
"--model",
|
|
11207
|
+
"--name",
|
|
11208
|
+
"-n",
|
|
11209
|
+
"--output-format",
|
|
11210
|
+
"--permission-mode",
|
|
11211
|
+
"--permission-prompts",
|
|
11212
|
+
"--plugin-dir",
|
|
11213
|
+
"--plugin-url",
|
|
11214
|
+
"--remote-control-session-name-prefix",
|
|
11215
|
+
"--session-id",
|
|
11216
|
+
"--setting-sources",
|
|
11217
|
+
"--settings",
|
|
11218
|
+
"--system-prompt",
|
|
11219
|
+
"--system-prompt-snapshot"
|
|
11220
|
+
]);
|
|
11221
|
+
VARIADIC_OPTIONS = /* @__PURE__ */ new Set(["--add-dir", "--allowed-tools", "--allowedTools", "--betas", "--disallowed-tools", "--disallowedTools", "--file", "--mcp-config", "--tools"]);
|
|
11222
|
+
OPTIONAL_VALUE_OPTIONS = /* @__PURE__ */ new Set(["--cloud", "--debug", "-d", "--from-pr", "--prompt-suggestions", "--remote-control", "--resume", "-r", "--teleport", "--worktree", "-w"]);
|
|
11169
11223
|
}
|
|
11170
11224
|
});
|
|
11171
11225
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-use",
|
|
3
|
-
"version": "11.68.
|
|
3
|
+
"version": "11.68.3",
|
|
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": "MIT",
|
|
6
6
|
"author": "Joseph Mearman <joseph@mearman.co.uk>",
|