@vantagesec/socc 0.1.11 → 0.1.12
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.mjs +29 -29
- package/package.json +1 -1
package/dist/cli.mjs
CHANGED
|
@@ -112888,7 +112888,7 @@ function printStartupScreen() {
|
|
|
112888
112888
|
const sLen = ` ● ${sL} Ready — type /help to begin`.length;
|
|
112889
112889
|
out.push(boxRow(sRow, W2, sLen));
|
|
112890
112890
|
out.push(`${rgb(...BORDER)}╚${"═".repeat(W2 - 2)}╝${RESET}`);
|
|
112891
|
-
out.push(` ${DIM}${rgb(...DIMCOL)}socc ${RESET}${rgb(...ACCENT)}v${"0.1.
|
|
112891
|
+
out.push(` ${DIM}${rgb(...DIMCOL)}socc ${RESET}${rgb(...ACCENT)}v${"0.1.12"}${RESET}`);
|
|
112892
112892
|
out.push("");
|
|
112893
112893
|
process.stdout.write(out.join(`
|
|
112894
112894
|
`) + `
|
|
@@ -257072,7 +257072,7 @@ function IdeOnboardingDialog(t0) {
|
|
|
257072
257072
|
if ($2[11] === Symbol.for("react.memo_cache_sentinel")) {
|
|
257073
257073
|
t9 = /* @__PURE__ */ jsx_dev_runtime38.jsxDEV(ThemedText, {
|
|
257074
257074
|
children: [
|
|
257075
|
-
"•
|
|
257075
|
+
"• SOCC has context of ",
|
|
257076
257076
|
t8,
|
|
257077
257077
|
" ",
|
|
257078
257078
|
"and ",
|
|
@@ -286137,7 +286137,7 @@ function ConsoleOAuthFlow({
|
|
|
286137
286137
|
const settings = getSettings_DEPRECATED() || {};
|
|
286138
286138
|
const forceLoginMethod = forceLoginMethodProp ?? settings.forceLoginMethod;
|
|
286139
286139
|
const orgUUID = settings.forceLoginOrgUUID;
|
|
286140
|
-
const forcedMethodMessage = forceLoginMethod === "claudeai" ? "Login method pre-selected: Subscription Plan (Claude Pro/Max)" : forceLoginMethod === "console" ? "Login method pre-selected: API Usage Billing (Anthropic Console)" : null;
|
|
286140
|
+
const forcedMethodMessage = forceLoginMethod === "claudeai" ? "Login method pre-selected: Subscription Plan (Claude.ai Pro/Max)" : forceLoginMethod === "console" ? "Login method pre-selected: API Usage Billing (Anthropic Console)" : null;
|
|
286141
286141
|
const terminal = useTerminalNotification();
|
|
286142
286142
|
const [oauthStatus, setOAuthStatus] = import_react62.useState(() => {
|
|
286143
286143
|
if (initialStatus) {
|
|
@@ -286469,7 +286469,7 @@ function OAuthStatusMessage({
|
|
|
286469
286469
|
{
|
|
286470
286470
|
label: /* @__PURE__ */ jsx_dev_runtime73.jsxDEV(ThemedText, {
|
|
286471
286471
|
children: [
|
|
286472
|
-
"Claude account with subscription ·",
|
|
286472
|
+
"Claude.ai account with subscription ·",
|
|
286473
286473
|
" ",
|
|
286474
286474
|
/* @__PURE__ */ jsx_dev_runtime73.jsxDEV(ThemedText, {
|
|
286475
286475
|
dimColor: true,
|
|
@@ -299052,7 +299052,7 @@ function TeleportError(t0) {
|
|
|
299052
299052
|
}, undefined, false, undefined, this),
|
|
299053
299053
|
/* @__PURE__ */ jsx_dev_runtime119.jsxDEV(ThemedText, {
|
|
299054
299054
|
dimColor: true,
|
|
299055
|
-
children: "Your Claude Pro/Max subscription will be used by SOCC."
|
|
299055
|
+
children: "Your Claude.ai Pro/Max subscription will be used by SOCC."
|
|
299056
299056
|
}, undefined, false, undefined, this)
|
|
299057
299057
|
]
|
|
299058
299058
|
}, undefined, true, undefined, this);
|
|
@@ -299069,7 +299069,7 @@ function TeleportError(t0) {
|
|
|
299069
299069
|
t9,
|
|
299070
299070
|
/* @__PURE__ */ jsx_dev_runtime119.jsxDEV(Select, {
|
|
299071
299071
|
options: [{
|
|
299072
|
-
label: "Login with Claude account",
|
|
299072
|
+
label: "Login with Claude.ai account",
|
|
299073
299073
|
value: "login"
|
|
299074
299074
|
}, {
|
|
299075
299075
|
label: "Exit",
|
|
@@ -373653,7 +373653,7 @@ function getAnthropicEnvMetadata() {
|
|
|
373653
373653
|
function getBuildAgeMinutes() {
|
|
373654
373654
|
if (false)
|
|
373655
373655
|
;
|
|
373656
|
-
const buildTime = new Date("2026-04-
|
|
373656
|
+
const buildTime = new Date("2026-04-12T15:59:09.824Z").getTime();
|
|
373657
373657
|
if (isNaN(buildTime))
|
|
373658
373658
|
return;
|
|
373659
373659
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -400569,7 +400569,7 @@ function buildPrimarySection() {
|
|
|
400569
400569
|
}, undefined, false, undefined, this);
|
|
400570
400570
|
return [{
|
|
400571
400571
|
label: "Version",
|
|
400572
|
-
value: "0.1.
|
|
400572
|
+
value: "0.1.12"
|
|
400573
400573
|
}, {
|
|
400574
400574
|
label: "Session name",
|
|
400575
400575
|
value: nameValue
|
|
@@ -412907,7 +412907,7 @@ function General() {
|
|
|
412907
412907
|
if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
412908
412908
|
t0 = /* @__PURE__ */ jsx_dev_runtime208.jsxDEV(ThemedBox_default, {
|
|
412909
412909
|
children: /* @__PURE__ */ jsx_dev_runtime208.jsxDEV(ThemedText, {
|
|
412910
|
-
children: "
|
|
412910
|
+
children: "SOCC understands your codebase, makes edits with your permission, and executes commands right from your terminal."
|
|
412911
412911
|
}, undefined, false, undefined, this)
|
|
412912
412912
|
}, undefined, false, undefined, this);
|
|
412913
412913
|
$2[0] = t0;
|
|
@@ -413104,7 +413104,7 @@ function HelpV2(t0) {
|
|
|
413104
413104
|
"For more help:",
|
|
413105
413105
|
" ",
|
|
413106
413106
|
/* @__PURE__ */ jsx_dev_runtime209.jsxDEV(Link, {
|
|
413107
|
-
url: "https://
|
|
413107
|
+
url: "https://github.com/nilsonpmjr/socc#readme"
|
|
413108
413108
|
}, undefined, false, undefined, this)
|
|
413109
413109
|
]
|
|
413110
413110
|
}, undefined, true, undefined, this)
|
|
@@ -439329,9 +439329,9 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
439329
439329
|
children: [
|
|
439330
439330
|
"Auth conflict: Using ",
|
|
439331
439331
|
authTokenInfo.source,
|
|
439332
|
-
" instead of Claude account subscription token. Either unset ",
|
|
439332
|
+
" instead of the Claude.ai account subscription token. Either unset ",
|
|
439333
439333
|
authTokenInfo.source,
|
|
439334
|
-
", or run `
|
|
439334
|
+
", or run `socc /logout`."
|
|
439335
439335
|
]
|
|
439336
439336
|
}, undefined, true, undefined, this)
|
|
439337
439337
|
]
|
|
@@ -439368,9 +439368,9 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
439368
439368
|
children: [
|
|
439369
439369
|
"Auth conflict: Using ",
|
|
439370
439370
|
apiKeySource,
|
|
439371
|
-
" instead of Anthropic Console key. Either unset ",
|
|
439371
|
+
" instead of the Anthropic Console key. Either unset ",
|
|
439372
439372
|
apiKeySource,
|
|
439373
|
-
", or run `
|
|
439373
|
+
", or run `socc /logout`."
|
|
439374
439374
|
]
|
|
439375
439375
|
}, undefined, true, undefined, this)
|
|
439376
439376
|
]
|
|
@@ -439431,7 +439431,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
439431
439431
|
authTokenInfo.source === "claude.ai" ? "claude.ai" : authTokenInfo.source,
|
|
439432
439432
|
"?",
|
|
439433
439433
|
" ",
|
|
439434
|
-
apiKeySource === "ANTHROPIC_API_KEY" ? 'Unset the ANTHROPIC_API_KEY environment variable, or
|
|
439434
|
+
apiKeySource === "ANTHROPIC_API_KEY" ? 'Unset the ANTHROPIC_API_KEY environment variable, or socc /logout then say "No" to the API key approval before login.' : apiKeySource === "apiKeyHelper" ? "Unset the apiKeyHelper setting." : "socc /logout"
|
|
439435
439435
|
]
|
|
439436
439436
|
}, undefined, true, undefined, this),
|
|
439437
439437
|
/* @__PURE__ */ jsx_dev_runtime253.jsxDEV(ThemedText, {
|
|
@@ -439441,7 +439441,7 @@ var init_statusNoticeDefinitions = __esm(() => {
|
|
|
439441
439441
|
apiKeySource,
|
|
439442
439442
|
"?",
|
|
439443
439443
|
" ",
|
|
439444
|
-
authTokenInfo.source === "claude.ai" ? "
|
|
439444
|
+
authTokenInfo.source === "claude.ai" ? "socc /logout to sign out of claude.ai." : `Unset the ${authTokenInfo.source} environment variable.`
|
|
439445
439445
|
]
|
|
439446
439446
|
}, undefined, true, undefined, this)
|
|
439447
439447
|
]
|
|
@@ -461952,7 +461952,7 @@ function AgentsList(t0) {
|
|
|
461952
461952
|
if ($2[58] === Symbol.for("react.memo_cache_sentinel")) {
|
|
461953
461953
|
t242 = /* @__PURE__ */ jsx_dev_runtime312.jsxDEV(ThemedText, {
|
|
461954
461954
|
dimColor: true,
|
|
461955
|
-
children: "No agents found. Create specialized subagents that
|
|
461955
|
+
children: "No agents found. Create specialized subagents that SOCC can delegate to."
|
|
461956
461956
|
}, undefined, false, undefined, this);
|
|
461957
461957
|
t25 = /* @__PURE__ */ jsx_dev_runtime312.jsxDEV(ThemedText, {
|
|
461958
461958
|
dimColor: true,
|
|
@@ -466839,7 +466839,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
466839
466839
|
var call59 = async () => {
|
|
466840
466840
|
return {
|
|
466841
466841
|
type: "text",
|
|
466842
|
-
value: `${"99.0.0"} (built ${"2026-04-
|
|
466842
|
+
value: `${"99.0.0"} (built ${"2026-04-12T15:59:09.824Z"})`
|
|
466843
466843
|
};
|
|
466844
466844
|
}, version2, version_default;
|
|
466845
466845
|
var init_version = __esm(() => {
|
|
@@ -468034,7 +468034,7 @@ function OverridesSelect(t0) {
|
|
|
468034
468034
|
children: "Allow unsandboxed fallback:"
|
|
468035
468035
|
}, undefined, false, undefined, this),
|
|
468036
468036
|
" ",
|
|
468037
|
-
"When a command fails due to sandbox restrictions,
|
|
468037
|
+
"When a command fails due to sandbox restrictions, SOCC can retry with dangerouslyDisableSandbox to run outside the sandbox (falling back to default permissions)."
|
|
468038
468038
|
]
|
|
468039
468039
|
}, undefined, true, undefined, this);
|
|
468040
468040
|
$2[20] = t11;
|
|
@@ -503351,7 +503351,7 @@ ${currentPlan}${verificationInstruction}${transcriptHint}${teamHint}${feedbackSu
|
|
|
503351
503351
|
children: [
|
|
503352
503352
|
/* @__PURE__ */ jsx_dev_runtime381.jsxDEV(ThemedText, {
|
|
503353
503353
|
dimColor: true,
|
|
503354
|
-
children: "
|
|
503354
|
+
children: "SOCC has written up a plan and is ready to execute. Would you like to proceed?"
|
|
503355
503355
|
}, undefined, false, undefined, this),
|
|
503356
503356
|
/* @__PURE__ */ jsx_dev_runtime381.jsxDEV(ThemedBox_default, {
|
|
503357
503357
|
marginTop: 1,
|
|
@@ -541103,7 +541103,7 @@ function WelcomeV2() {
|
|
|
541103
541103
|
" ",
|
|
541104
541104
|
/* @__PURE__ */ jsx_dev_runtime469.jsxDEV(ThemedText, {
|
|
541105
541105
|
dimColor: true,
|
|
541106
|
-
children: `v${"0.1.
|
|
541106
|
+
children: `v${"0.1.12"}`
|
|
541107
541107
|
}, undefined, false, undefined, this)
|
|
541108
541108
|
]
|
|
541109
541109
|
}, undefined, true, undefined, this),
|
|
@@ -541340,13 +541340,13 @@ function Onboarding({
|
|
|
541340
541340
|
/* @__PURE__ */ jsx_dev_runtime472.jsxDEV(OrderedList.Item, {
|
|
541341
541341
|
children: [
|
|
541342
541342
|
/* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
541343
|
-
children: "
|
|
541343
|
+
children: "SOCC can make mistakes"
|
|
541344
541344
|
}, undefined, false, undefined, this),
|
|
541345
541345
|
/* @__PURE__ */ jsx_dev_runtime472.jsxDEV(ThemedText, {
|
|
541346
541346
|
dimColor: true,
|
|
541347
541347
|
wrap: "wrap",
|
|
541348
541348
|
children: [
|
|
541349
|
-
"You should always review
|
|
541349
|
+
"You should always review SOCC's responses, especially when",
|
|
541350
541350
|
/* @__PURE__ */ jsx_dev_runtime472.jsxDEV(Newline, {}, undefined, false, undefined, this),
|
|
541351
541351
|
"running code.",
|
|
541352
541352
|
/* @__PURE__ */ jsx_dev_runtime472.jsxDEV(Newline, {}, undefined, false, undefined, this)
|
|
@@ -542285,7 +542285,7 @@ function ClaudeInChromeOnboarding(t0) {
|
|
|
542285
542285
|
t7 = /* @__PURE__ */ jsx_dev_runtime475.jsxDEV(ThemedText, {
|
|
542286
542286
|
dimColor: true,
|
|
542287
542287
|
children: [
|
|
542288
|
-
"Site-level permissions are inherited from the Chrome extension. Manage permissions in the Chrome extension settings to control which sites
|
|
542288
|
+
"Site-level permissions are inherited from the Chrome extension. Manage permissions in the Chrome extension settings to control which sites SOCC can browse, click, and type on",
|
|
542289
542289
|
t6,
|
|
542290
542290
|
"."
|
|
542291
542291
|
]
|
|
@@ -543104,7 +543104,7 @@ function renderErrorSpecificGuidance(errorType) {
|
|
|
543104
543104
|
children: [
|
|
543105
543105
|
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
543106
543106
|
dimColor: true,
|
|
543107
|
-
children: "Teleport requires a Claude account"
|
|
543107
|
+
children: "Teleport requires a Claude.ai account"
|
|
543108
543108
|
}, undefined, false, undefined, this),
|
|
543109
543109
|
/* @__PURE__ */ jsx_dev_runtime478.jsxDEV(ThemedText, {
|
|
543110
543110
|
dimColor: true,
|
|
@@ -543114,7 +543114,7 @@ function renderErrorSpecificGuidance(errorType) {
|
|
|
543114
543114
|
bold: true,
|
|
543115
543115
|
children: "/login"
|
|
543116
543116
|
}, undefined, false, undefined, this),
|
|
543117
|
-
' and select "Claude account with subscription"'
|
|
543117
|
+
' and select "Claude.ai account with subscription"'
|
|
543118
543118
|
]
|
|
543119
543119
|
}, undefined, true, undefined, this)
|
|
543120
543120
|
]
|
|
@@ -560770,7 +560770,7 @@ Usage: socc --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
560770
560770
|
pendingHookMessages
|
|
560771
560771
|
}, renderAndRun);
|
|
560772
560772
|
}
|
|
560773
|
-
}).version("0.1.
|
|
560773
|
+
}).version("0.1.12 (SOCC)", "-v, --version", "Output the version number");
|
|
560774
560774
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
560775
560775
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
560776
560776
|
if (canUserConfigureAdvisor()) {
|
|
@@ -561407,7 +561407,7 @@ if (false) {}
|
|
|
561407
561407
|
async function main2() {
|
|
561408
561408
|
const args = process.argv.slice(2);
|
|
561409
561409
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
561410
|
-
console.log(`${"0.1.
|
|
561410
|
+
console.log(`${"0.1.12"} (SOCC)`);
|
|
561411
561411
|
return;
|
|
561412
561412
|
}
|
|
561413
561413
|
if (args.includes("--provider")) {
|
|
@@ -561531,4 +561531,4 @@ async function main2() {
|
|
|
561531
561531
|
}
|
|
561532
561532
|
main2();
|
|
561533
561533
|
|
|
561534
|
-
//# debugId=
|
|
561534
|
+
//# debugId=0ADCEA972F908D5A64756E2164756E21
|