codez-cli 0.1.2 → 0.1.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.
- package/dist/cli.js +130 -107
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -69457,7 +69457,14 @@ var init_types4 = __esm(() => {
|
|
|
69457
69457
|
includeCoAuthoredBy: exports_external2.boolean().optional().describe("Deprecated: Use attribution instead. " + "Whether to include Claude's co-authored by attribution in commits and PRs (defaults to true)"),
|
|
69458
69458
|
includeGitInstructions: exports_external2.boolean().optional().describe("Include built-in commit and PR workflow instructions in Claude's system prompt (default: true)"),
|
|
69459
69459
|
permissions: PermissionsSchema().optional().describe("Tool usage permissions configuration"),
|
|
69460
|
-
|
|
69460
|
+
modelSettings: exports_external2.object({
|
|
69461
|
+
defaultModel: exports_external2.string().optional().describe('Override the default model used by codez (e.g., "sonnet", "opus", "haiku")'),
|
|
69462
|
+
thinking: exports_external2.object({
|
|
69463
|
+
enabled: exports_external2.boolean().optional().describe("Enable extended thinking for supported models (default: true)"),
|
|
69464
|
+
effortLevel: exports_external2.enum(process.env.USER_TYPE === "ant" ? ["low", "medium", "high", "max"] : ["low", "medium", "high"]).optional().describe("Thinking effort level: low (fast), medium (balanced), high (thorough)"),
|
|
69465
|
+
enableForMini: exports_external2.boolean().optional().describe("Enable reasoning for mini models (e.g., gpt-5.4-mini). Default: false for speed.")
|
|
69466
|
+
}).optional().describe("Thinking/reasoning configuration")
|
|
69467
|
+
}).optional().describe("Model and thinking configuration"),
|
|
69461
69468
|
availableModels: exports_external2.array(exports_external2.string()).optional().describe("Allowlist of models that users can select. " + 'Accepts family aliases ("opus" allows any opus version), ' + 'version prefixes ("opus-4-5" allows only that version), ' + "and full model IDs. " + "If undefined, all models are available. If empty array, only the default model is available. " + "Typically set in managed settings by enterprise administrators."),
|
|
69462
69469
|
modelOverrides: exports_external2.record(exports_external2.string(), exports_external2.string()).optional().describe('Override mapping from Anthropic model ID (e.g. "claude-opus-4-6") to provider-specific ' + "model ID (e.g. a Bedrock inference profile ARN). Typically set in managed settings by " + "enterprise administrators."),
|
|
69463
69470
|
enableAllProjectMcpServers: exports_external2.boolean().optional().describe("Whether to automatically approve all MCP servers in the project"),
|
|
@@ -69517,8 +69524,6 @@ var init_types4 = __esm(() => {
|
|
|
69517
69524
|
}).optional().describe("Override spinner tips. tips: array of tip strings. excludeDefault: if true, only show custom tips (default: false)."),
|
|
69518
69525
|
syntaxHighlightingDisabled: exports_external2.boolean().optional().describe("Whether to disable syntax highlighting in diffs"),
|
|
69519
69526
|
terminalTitleFromRename: exports_external2.boolean().optional().describe("Whether /rename updates the terminal tab title (defaults to true). Set to false to keep auto-generated topic titles."),
|
|
69520
|
-
alwaysThinkingEnabled: exports_external2.boolean().optional().describe("When false, thinking is disabled. When absent or true, thinking is " + "enabled automatically for supported models."),
|
|
69521
|
-
effortLevel: exports_external2.enum(process.env.USER_TYPE === "ant" ? ["low", "medium", "high", "max"] : ["low", "medium", "high"]).optional().catch(undefined).describe("Persisted effort level for supported models."),
|
|
69522
69527
|
advisorModel: exports_external2.string().optional().describe("Advisor model for the server-side advisor tool."),
|
|
69523
69528
|
fastMode: exports_external2.boolean().optional().describe("When true, fast mode is enabled. When absent or false, fast mode is off."),
|
|
69524
69529
|
fastModePerSessionOptIn: exports_external2.boolean().optional().describe("When true, fast mode does not persist across sessions. Each session starts with fast mode off."),
|
|
@@ -73125,6 +73130,9 @@ function getContextWindowForModel(model, betas) {
|
|
|
73125
73130
|
}
|
|
73126
73131
|
}
|
|
73127
73132
|
if (isOpenAIProvider() && model.startsWith("gpt-")) {
|
|
73133
|
+
if (model.includes("o1") || model.includes("o3") || model.startsWith("gpt-5")) {
|
|
73134
|
+
return 200000;
|
|
73135
|
+
}
|
|
73128
73136
|
return 128000;
|
|
73129
73137
|
}
|
|
73130
73138
|
if (has1mContext(model)) {
|
|
@@ -76579,7 +76587,7 @@ var init_auth = __esm(() => {
|
|
|
76579
76587
|
|
|
76580
76588
|
// src/utils/userAgent.ts
|
|
76581
76589
|
function getClaudeCodeUserAgent() {
|
|
76582
|
-
return `claude-code/${"0.1.
|
|
76590
|
+
return `claude-code/${"0.1.3"}`;
|
|
76583
76591
|
}
|
|
76584
76592
|
|
|
76585
76593
|
// src/utils/workloadContext.ts
|
|
@@ -76601,7 +76609,7 @@ function getUserAgent() {
|
|
|
76601
76609
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
76602
76610
|
const workload = getWorkload();
|
|
76603
76611
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
76604
|
-
return `claude-cli/${"0.1.
|
|
76612
|
+
return `claude-cli/${"0.1.3"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
76605
76613
|
}
|
|
76606
76614
|
function getMCPUserAgent() {
|
|
76607
76615
|
const parts = [];
|
|
@@ -76615,7 +76623,7 @@ function getMCPUserAgent() {
|
|
|
76615
76623
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
76616
76624
|
}
|
|
76617
76625
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
76618
|
-
return `claude-code/${"0.1.
|
|
76626
|
+
return `claude-code/${"0.1.3"}${suffix}`;
|
|
76619
76627
|
}
|
|
76620
76628
|
function getWebFetchUserAgent() {
|
|
76621
76629
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -76753,7 +76761,7 @@ var init_user = __esm(() => {
|
|
|
76753
76761
|
deviceId,
|
|
76754
76762
|
sessionId: getSessionId(),
|
|
76755
76763
|
email: getEmail(),
|
|
76756
|
-
appVersion: "0.1.
|
|
76764
|
+
appVersion: "0.1.3",
|
|
76757
76765
|
platform: getHostPlatformForAnalytics(),
|
|
76758
76766
|
organizationUuid,
|
|
76759
76767
|
accountUuid,
|
|
@@ -91126,7 +91134,7 @@ var init_metadata = __esm(() => {
|
|
|
91126
91134
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
91127
91135
|
WHITESPACE_REGEX = /\s+/;
|
|
91128
91136
|
getVersionBase = memoize_default(() => {
|
|
91129
|
-
const match = "0.1.
|
|
91137
|
+
const match = "0.1.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
91130
91138
|
return match ? match[0] : undefined;
|
|
91131
91139
|
});
|
|
91132
91140
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -91166,9 +91174,9 @@ var init_metadata = __esm(() => {
|
|
|
91166
91174
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
91167
91175
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
91168
91176
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
91169
|
-
version: "0.1.
|
|
91177
|
+
version: "0.1.3",
|
|
91170
91178
|
versionBase: getVersionBase(),
|
|
91171
|
-
buildTime: "2026-04-
|
|
91179
|
+
buildTime: "2026-04-01T23:08:20.233Z",
|
|
91172
91180
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
91173
91181
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
91174
91182
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -91836,7 +91844,7 @@ function initialize1PEventLogging() {
|
|
|
91836
91844
|
const platform3 = getPlatform();
|
|
91837
91845
|
const attributes = {
|
|
91838
91846
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
91839
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.
|
|
91847
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.3"
|
|
91840
91848
|
};
|
|
91841
91849
|
if (platform3 === "wsl") {
|
|
91842
91850
|
const wslVersion = getWslVersion();
|
|
@@ -91863,7 +91871,7 @@ function initialize1PEventLogging() {
|
|
|
91863
91871
|
})
|
|
91864
91872
|
]
|
|
91865
91873
|
});
|
|
91866
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
91874
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.3");
|
|
91867
91875
|
}
|
|
91868
91876
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
91869
91877
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -93731,7 +93739,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
93731
93739
|
if (!isAttributionHeaderEnabled()) {
|
|
93732
93740
|
return "";
|
|
93733
93741
|
}
|
|
93734
|
-
const version2 = `${"0.1.
|
|
93742
|
+
const version2 = `${"0.1.3"}.${fingerprint}`;
|
|
93735
93743
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
93736
93744
|
const cch = "";
|
|
93737
93745
|
const workload = getWorkload();
|
|
@@ -141298,7 +141306,7 @@ function shouldEnableThinkingByDefault() {
|
|
|
141298
141306
|
return parseInt(process.env.MAX_THINKING_TOKENS, 10) > 0;
|
|
141299
141307
|
}
|
|
141300
141308
|
const { settings } = getSettingsWithErrors();
|
|
141301
|
-
if (settings.
|
|
141309
|
+
if (settings.modelSettings?.thinking?.enabled === false) {
|
|
141302
141310
|
return false;
|
|
141303
141311
|
}
|
|
141304
141312
|
return true;
|
|
@@ -294419,7 +294427,7 @@ function getTelemetryAttributes() {
|
|
|
294419
294427
|
attributes["session.id"] = sessionId;
|
|
294420
294428
|
}
|
|
294421
294429
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
294422
|
-
attributes["app.version"] = "0.1.
|
|
294430
|
+
attributes["app.version"] = "0.1.3";
|
|
294423
294431
|
}
|
|
294424
294432
|
const oauthAccount = getOauthAccountInfo();
|
|
294425
294433
|
if (oauthAccount) {
|
|
@@ -317963,7 +317971,7 @@ function getInstallationEnv() {
|
|
|
317963
317971
|
return;
|
|
317964
317972
|
}
|
|
317965
317973
|
function getClaudeCodeVersion() {
|
|
317966
|
-
return "0.1.
|
|
317974
|
+
return "0.1.3";
|
|
317967
317975
|
}
|
|
317968
317976
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
317969
317977
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -320682,7 +320690,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
320682
320690
|
const client2 = new Client({
|
|
320683
320691
|
name: "claude-code",
|
|
320684
320692
|
title: "codez",
|
|
320685
|
-
version: "0.1.
|
|
320693
|
+
version: "0.1.3",
|
|
320686
320694
|
description: "AI-powered agentic coding tool",
|
|
320687
320695
|
websiteUrl: PRODUCT_URL
|
|
320688
320696
|
}, {
|
|
@@ -321037,7 +321045,7 @@ var init_client5 = __esm(() => {
|
|
|
321037
321045
|
const client2 = new Client({
|
|
321038
321046
|
name: "claude-code",
|
|
321039
321047
|
title: "codez",
|
|
321040
|
-
version: "0.1.
|
|
321048
|
+
version: "0.1.3",
|
|
321041
321049
|
description: "AI-powered agentic coding tool",
|
|
321042
321050
|
websiteUrl: PRODUCT_URL
|
|
321043
321051
|
}, {
|
|
@@ -396638,7 +396646,7 @@ async function initializeBetaTracing(resource) {
|
|
|
396638
396646
|
});
|
|
396639
396647
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396640
396648
|
setLoggerProvider(loggerProvider);
|
|
396641
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396649
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
|
|
396642
396650
|
setEventLogger(eventLogger);
|
|
396643
396651
|
process.on("beforeExit", async () => {
|
|
396644
396652
|
await loggerProvider?.forceFlush();
|
|
@@ -396678,7 +396686,7 @@ async function initializeTelemetry() {
|
|
|
396678
396686
|
const platform5 = getPlatform();
|
|
396679
396687
|
const baseAttributes = {
|
|
396680
396688
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
396681
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.
|
|
396689
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.3"
|
|
396682
396690
|
};
|
|
396683
396691
|
if (platform5 === "wsl") {
|
|
396684
396692
|
const wslVersion = getWslVersion();
|
|
@@ -396723,7 +396731,7 @@ async function initializeTelemetry() {
|
|
|
396723
396731
|
} catch {}
|
|
396724
396732
|
};
|
|
396725
396733
|
registerCleanup(shutdownTelemetry2);
|
|
396726
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.
|
|
396734
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.3");
|
|
396727
396735
|
}
|
|
396728
396736
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
396729
396737
|
resource,
|
|
@@ -396743,7 +396751,7 @@ async function initializeTelemetry() {
|
|
|
396743
396751
|
});
|
|
396744
396752
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396745
396753
|
setLoggerProvider(loggerProvider);
|
|
396746
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396754
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
|
|
396747
396755
|
setEventLogger(eventLogger);
|
|
396748
396756
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
396749
396757
|
process.on("beforeExit", async () => {
|
|
@@ -396805,7 +396813,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
396805
396813
|
}
|
|
396806
396814
|
};
|
|
396807
396815
|
registerCleanup(shutdownTelemetry);
|
|
396808
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.
|
|
396816
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.3");
|
|
396809
396817
|
}
|
|
396810
396818
|
async function flushTelemetry() {
|
|
396811
396819
|
const meterProvider = getMeterProvider();
|
|
@@ -397362,9 +397370,9 @@ async function assertMinVersion() {
|
|
|
397362
397370
|
if (false) {}
|
|
397363
397371
|
try {
|
|
397364
397372
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
397365
|
-
if (versionConfig.minVersion && lt("0.1.
|
|
397373
|
+
if (versionConfig.minVersion && lt("0.1.3", versionConfig.minVersion)) {
|
|
397366
397374
|
console.error(`
|
|
397367
|
-
It looks like your version of codez (${"0.1.
|
|
397375
|
+
It looks like your version of codez (${"0.1.3"}) needs an update.
|
|
397368
397376
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
397369
397377
|
|
|
397370
397378
|
To update, please run:
|
|
@@ -397580,7 +397588,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397580
397588
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
397581
397589
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
397582
397590
|
pid: process.pid,
|
|
397583
|
-
currentVersion: "0.1.
|
|
397591
|
+
currentVersion: "0.1.3"
|
|
397584
397592
|
});
|
|
397585
397593
|
return "in_progress";
|
|
397586
397594
|
}
|
|
@@ -397589,7 +397597,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397589
397597
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
397590
397598
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
397591
397599
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
397592
|
-
currentVersion: "0.1.
|
|
397600
|
+
currentVersion: "0.1.3"
|
|
397593
397601
|
});
|
|
397594
397602
|
console.error(`
|
|
397595
397603
|
Error: Windows NPM detected in WSL
|
|
@@ -398124,7 +398132,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
398124
398132
|
}
|
|
398125
398133
|
async function getDoctorDiagnostic() {
|
|
398126
398134
|
const installationType = await getCurrentInstallationType();
|
|
398127
|
-
const version2 = typeof MACRO !== "undefined" ? "0.1.
|
|
398135
|
+
const version2 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
|
|
398128
398136
|
const installationPath = await getInstallationPath();
|
|
398129
398137
|
const invokedBinary = getInvokedBinary();
|
|
398130
398138
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -399059,8 +399067,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
399059
399067
|
const maxVersion = await getMaxVersion();
|
|
399060
399068
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
399061
399069
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
399062
|
-
if (gte("0.1.
|
|
399063
|
-
logForDebugging(`Native installer: current version ${"0.1.
|
|
399070
|
+
if (gte("0.1.3", maxVersion)) {
|
|
399071
|
+
logForDebugging(`Native installer: current version ${"0.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
399064
399072
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
399065
399073
|
latency_ms: Date.now() - startTime,
|
|
399066
399074
|
max_version: maxVersion,
|
|
@@ -399071,7 +399079,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
399071
399079
|
version2 = maxVersion;
|
|
399072
399080
|
}
|
|
399073
399081
|
}
|
|
399074
|
-
if (!forceReinstall && version2 === "0.1.
|
|
399082
|
+
if (!forceReinstall && version2 === "0.1.3" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
399075
399083
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
399076
399084
|
logEvent("tengu_native_update_complete", {
|
|
399077
399085
|
latency_ms: Date.now() - startTime,
|
|
@@ -432122,7 +432130,7 @@ async function teleportResumeCodeSession(sessionId, onProgress) {
|
|
|
432122
432130
|
sessionId
|
|
432123
432131
|
});
|
|
432124
432132
|
const notInRepoDisplay = repoValidation.sessionHost && repoValidation.sessionHost.toLowerCase() !== "github.com" ? `${repoValidation.sessionHost}/${repoValidation.sessionRepo}` : repoValidation.sessionRepo;
|
|
432125
|
-
throw new TeleportOperationError(`You must run
|
|
432133
|
+
throw new TeleportOperationError(`You must run codez --teleport ${sessionId} from a checkout of ${notInRepoDisplay}.`, source_default.red(`You must run codez --teleport ${sessionId} from a checkout of ${source_default.bold(notInRepoDisplay)}.
|
|
432126
432134
|
`));
|
|
432127
432135
|
}
|
|
432128
432136
|
case "mismatch": {
|
|
@@ -432132,8 +432140,8 @@ async function teleportResumeCodeSession(sessionId, onProgress) {
|
|
|
432132
432140
|
const hostsDiffer = repoValidation.sessionHost && repoValidation.currentHost && repoValidation.sessionHost.replace(/:\d+$/, "").toLowerCase() !== repoValidation.currentHost.replace(/:\d+$/, "").toLowerCase();
|
|
432133
432141
|
const sessionDisplay = hostsDiffer ? `${repoValidation.sessionHost}/${repoValidation.sessionRepo}` : repoValidation.sessionRepo;
|
|
432134
432142
|
const currentDisplay = hostsDiffer ? `${repoValidation.currentHost}/${repoValidation.currentRepo}` : repoValidation.currentRepo;
|
|
432135
|
-
throw new TeleportOperationError(`You must run
|
|
432136
|
-
This repo is ${currentDisplay}.`, source_default.red(`You must run
|
|
432143
|
+
throw new TeleportOperationError(`You must run codez --teleport ${sessionId} from a checkout of ${sessionDisplay}.
|
|
432144
|
+
This repo is ${currentDisplay}.`, source_default.red(`You must run codez --teleport ${sessionId} from a checkout of ${source_default.bold(sessionDisplay)}.
|
|
432137
432145
|
This repo is ${source_default.bold(currentDisplay)}.
|
|
432138
432146
|
`));
|
|
432139
432147
|
}
|
|
@@ -476569,10 +476577,11 @@ var init_supportedSettings = __esm(() => {
|
|
|
476569
476577
|
type: "boolean",
|
|
476570
476578
|
description: "Enable todo/task tracking"
|
|
476571
476579
|
},
|
|
476572
|
-
|
|
476580
|
+
"modelSettings.defaultModel": {
|
|
476573
476581
|
source: "settings",
|
|
476574
476582
|
type: "string",
|
|
476575
476583
|
description: "Override the default model",
|
|
476584
|
+
path: ["modelSettings", "defaultModel"],
|
|
476576
476585
|
appStateKey: "mainLoopModel",
|
|
476577
476586
|
getOptions: () => {
|
|
476578
476587
|
try {
|
|
@@ -476584,12 +476593,26 @@ var init_supportedSettings = __esm(() => {
|
|
|
476584
476593
|
validateOnWrite: (v2) => validateModel(String(v2)),
|
|
476585
476594
|
formatOnRead: (v2) => v2 === null ? "default" : v2
|
|
476586
476595
|
},
|
|
476587
|
-
|
|
476596
|
+
"modelSettings.thinking.enabled": {
|
|
476588
476597
|
source: "settings",
|
|
476589
476598
|
type: "boolean",
|
|
476590
|
-
description: "Enable extended thinking (
|
|
476599
|
+
description: "Enable extended thinking (default: true)",
|
|
476600
|
+
path: ["modelSettings", "thinking", "enabled"],
|
|
476591
476601
|
appStateKey: "thinkingEnabled"
|
|
476592
476602
|
},
|
|
476603
|
+
"modelSettings.thinking.effortLevel": {
|
|
476604
|
+
source: "settings",
|
|
476605
|
+
type: "string",
|
|
476606
|
+
description: "Thinking effort level (low/medium/high)",
|
|
476607
|
+
path: ["modelSettings", "thinking", "effortLevel"],
|
|
476608
|
+
options: ["low", "medium", "high"]
|
|
476609
|
+
},
|
|
476610
|
+
"modelSettings.thinking.enableForMini": {
|
|
476611
|
+
source: "settings",
|
|
476612
|
+
type: "boolean",
|
|
476613
|
+
description: "Enable reasoning for mini models (default: false for speed)",
|
|
476614
|
+
path: ["modelSettings", "thinking", "enableForMini"]
|
|
476615
|
+
},
|
|
476593
476616
|
"permissions.defaultMode": {
|
|
476594
476617
|
source: "settings",
|
|
476595
476618
|
type: "string",
|
|
@@ -490185,7 +490208,7 @@ function getAnthropicEnvMetadata() {
|
|
|
490185
490208
|
function getBuildAgeMinutes() {
|
|
490186
490209
|
if (false)
|
|
490187
490210
|
;
|
|
490188
|
-
const buildTime = new Date("2026-04-
|
|
490211
|
+
const buildTime = new Date("2026-04-01T23:08:20.233Z").getTime();
|
|
490189
490212
|
if (isNaN(buildTime))
|
|
490190
490213
|
return;
|
|
490191
490214
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -514546,7 +514569,7 @@ function Feedback({
|
|
|
514546
514569
|
platform: env4.platform,
|
|
514547
514570
|
gitRepo: envInfo.isGit,
|
|
514548
514571
|
terminal: env4.terminal,
|
|
514549
|
-
version: "0.1.
|
|
514572
|
+
version: "0.1.3",
|
|
514550
514573
|
transcript: normalizeMessagesForAPI(messages),
|
|
514551
514574
|
errors: sanitizedErrors,
|
|
514552
514575
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -514685,7 +514708,7 @@ function Feedback({
|
|
|
514685
514708
|
dimColor: true
|
|
514686
514709
|
}, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
514687
514710
|
dimColor: true
|
|
514688
|
-
}, env4.platform, ", ", env4.terminal, ", v", "0.1.
|
|
514711
|
+
}, env4.platform, ", ", env4.terminal, ", v", "0.1.3")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
514689
514712
|
dimColor: true
|
|
514690
514713
|
}, envInfo.gitState.branchName, envInfo.gitState.commitHash ? `, ${envInfo.gitState.commitHash.slice(0, 7)}` : "", envInfo.gitState.remoteUrl ? ` @ ${envInfo.gitState.remoteUrl}` : "", !envInfo.gitState.isHeadOnRemote && ", not synced", !envInfo.gitState.isClean && ", has local changes")), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Current session transcript")), /* @__PURE__ */ React167.createElement(ThemedBox_default, {
|
|
514691
514714
|
marginTop: 1
|
|
@@ -514722,7 +514745,7 @@ ${sanitizedDescription}
|
|
|
514722
514745
|
` + `**Environment Info**
|
|
514723
514746
|
` + `- Platform: ${env4.platform}
|
|
514724
514747
|
` + `- Terminal: ${env4.terminal}
|
|
514725
|
-
` + `- Version: ${"0.1.
|
|
514748
|
+
` + `- Version: ${"0.1.3"}
|
|
514726
514749
|
` + `- Feedback ID: ${feedbackId}
|
|
514727
514750
|
` + `
|
|
514728
514751
|
**Errors**
|
|
@@ -517783,7 +517806,7 @@ function buildPrimarySection() {
|
|
|
517783
517806
|
}, "/rename to add a name");
|
|
517784
517807
|
return [{
|
|
517785
517808
|
label: "Version",
|
|
517786
|
-
value: "0.1.
|
|
517809
|
+
value: "0.1.3"
|
|
517787
517810
|
}, {
|
|
517788
517811
|
label: "Session name",
|
|
517789
517812
|
value: nameValue
|
|
@@ -521187,7 +521210,7 @@ function Config({
|
|
|
521187
521210
|
});
|
|
521188
521211
|
}
|
|
521189
521212
|
})) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
|
|
521190
|
-
currentVersion: "0.1.
|
|
521213
|
+
currentVersion: "0.1.3",
|
|
521191
521214
|
onChoice: (choice) => {
|
|
521192
521215
|
setShowSubmenu(null);
|
|
521193
521216
|
setTabsHidden(false);
|
|
@@ -521199,7 +521222,7 @@ function Config({
|
|
|
521199
521222
|
autoUpdatesChannel: "stable"
|
|
521200
521223
|
};
|
|
521201
521224
|
if (choice === "stay") {
|
|
521202
|
-
newSettings.minimumVersion = "0.1.
|
|
521225
|
+
newSettings.minimumVersion = "0.1.3";
|
|
521203
521226
|
}
|
|
521204
521227
|
updateSettingsForSource("userSettings", newSettings);
|
|
521205
521228
|
setSettingsData((prev_27) => ({
|
|
@@ -527960,7 +527983,7 @@ function HelpV2(t0) {
|
|
|
527960
527983
|
let t6;
|
|
527961
527984
|
if ($3[31] !== tabs) {
|
|
527962
527985
|
t6 = /* @__PURE__ */ React209.createElement(Tabs, {
|
|
527963
|
-
title: `codez v${"0.1.
|
|
527986
|
+
title: `codez v${"0.1.3"}`,
|
|
527964
527987
|
color: "professionalBlue",
|
|
527965
527988
|
defaultTab: "general"
|
|
527966
527989
|
}, tabs);
|
|
@@ -549354,7 +549377,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
549354
549377
|
return [];
|
|
549355
549378
|
}
|
|
549356
549379
|
}
|
|
549357
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.
|
|
549380
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.3") {
|
|
549358
549381
|
if (process.env.USER_TYPE === "ant") {
|
|
549359
549382
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
549360
549383
|
if (changelog) {
|
|
@@ -549381,7 +549404,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.2") {
|
|
|
549381
549404
|
releaseNotes
|
|
549382
549405
|
};
|
|
549383
549406
|
}
|
|
549384
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.
|
|
549407
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.3") {
|
|
549385
549408
|
if (process.env.USER_TYPE === "ant") {
|
|
549386
549409
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
549387
549410
|
if (changelog) {
|
|
@@ -550551,7 +550574,7 @@ function getRecentActivitySync() {
|
|
|
550551
550574
|
return cachedActivity;
|
|
550552
550575
|
}
|
|
550553
550576
|
function getLogoDisplayData() {
|
|
550554
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
550577
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.3";
|
|
550555
550578
|
const serverUrl = getDirectConnectServerUrl();
|
|
550556
550579
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
550557
550580
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -551278,7 +551301,7 @@ function createProjectOnboardingFeed(steps) {
|
|
|
551278
551301
|
text: `${checkmark}${text2}`
|
|
551279
551302
|
};
|
|
551280
551303
|
});
|
|
551281
|
-
const warningText = getCwd() === homedir31() ? "Note: You have launched
|
|
551304
|
+
const warningText = getCwd() === homedir31() ? "Note: You have launched codez in your home directory. For the best experience, launch it in a project directory instead." : undefined;
|
|
551282
551305
|
if (warningText) {
|
|
551283
551306
|
lines2.push({
|
|
551284
551307
|
text: warningText
|
|
@@ -551926,7 +551949,7 @@ function LogoV2() {
|
|
|
551926
551949
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
551927
551950
|
t2 = () => {
|
|
551928
551951
|
const currentConfig = getGlobalConfig();
|
|
551929
|
-
if (currentConfig.lastReleaseNotesSeen === "0.1.
|
|
551952
|
+
if (currentConfig.lastReleaseNotesSeen === "0.1.3") {
|
|
551930
551953
|
return;
|
|
551931
551954
|
}
|
|
551932
551955
|
saveGlobalConfig(_temp329);
|
|
@@ -552039,7 +552062,7 @@ function LogoV2() {
|
|
|
552039
552062
|
dimColor: true
|
|
552040
552063
|
}, "tmux session: ", process.env.CLAUDE_CODE_TMUX_SESSION), /* @__PURE__ */ React261.createElement(ThemedText, {
|
|
552041
552064
|
dimColor: true
|
|
552042
|
-
}, process.env.CLAUDE_CODE_TMUX_PREFIX_CONFLICTS ? `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} ${process.env.CLAUDE_CODE_TMUX_PREFIX} d (press prefix twice -
|
|
552065
|
+
}, process.env.CLAUDE_CODE_TMUX_PREFIX_CONFLICTS ? `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} ${process.env.CLAUDE_CODE_TMUX_PREFIX} d (press prefix twice - codez uses ${process.env.CLAUDE_CODE_TMUX_PREFIX})` : `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} d`));
|
|
552043
552066
|
$3[15] = t112;
|
|
552044
552067
|
$3[16] = t122;
|
|
552045
552068
|
$3[17] = t132;
|
|
@@ -552390,7 +552413,7 @@ function LogoV2() {
|
|
|
552390
552413
|
dimColor: true
|
|
552391
552414
|
}, "tmux session: ", process.env.CLAUDE_CODE_TMUX_SESSION), /* @__PURE__ */ React261.createElement(ThemedText, {
|
|
552392
552415
|
dimColor: true
|
|
552393
|
-
}, process.env.CLAUDE_CODE_TMUX_PREFIX_CONFLICTS ? `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} ${process.env.CLAUDE_CODE_TMUX_PREFIX} d (press prefix twice -
|
|
552416
|
+
}, process.env.CLAUDE_CODE_TMUX_PREFIX_CONFLICTS ? `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} ${process.env.CLAUDE_CODE_TMUX_PREFIX} d (press prefix twice - codez uses ${process.env.CLAUDE_CODE_TMUX_PREFIX})` : `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} d`));
|
|
552394
552417
|
$3[75] = t29;
|
|
552395
552418
|
$3[76] = t30;
|
|
552396
552419
|
$3[77] = t31;
|
|
@@ -552464,12 +552487,12 @@ function LogoV2() {
|
|
|
552464
552487
|
return t41;
|
|
552465
552488
|
}
|
|
552466
552489
|
function _temp329(current) {
|
|
552467
|
-
if (current.lastReleaseNotesSeen === "0.1.
|
|
552490
|
+
if (current.lastReleaseNotesSeen === "0.1.3") {
|
|
552468
552491
|
return current;
|
|
552469
552492
|
}
|
|
552470
552493
|
return {
|
|
552471
552494
|
...current,
|
|
552472
|
-
lastReleaseNotesSeen: "0.1.
|
|
552495
|
+
lastReleaseNotesSeen: "0.1.3"
|
|
552473
552496
|
};
|
|
552474
552497
|
}
|
|
552475
552498
|
function _temp245(s_0) {
|
|
@@ -576150,7 +576173,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
576150
576173
|
smapsRollup,
|
|
576151
576174
|
platform: process.platform,
|
|
576152
576175
|
nodeVersion: process.version,
|
|
576153
|
-
ccVersion: "0.1.
|
|
576176
|
+
ccVersion: "0.1.3"
|
|
576154
576177
|
};
|
|
576155
576178
|
}
|
|
576156
576179
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -576736,7 +576759,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
576736
576759
|
var call56 = async () => {
|
|
576737
576760
|
return {
|
|
576738
576761
|
type: "text",
|
|
576739
|
-
value: `${"0.1.
|
|
576762
|
+
value: `${"0.1.3"} (built ${"2026-04-01T23:08:20.233Z"})`
|
|
576740
576763
|
};
|
|
576741
576764
|
}, version2, version_default;
|
|
576742
576765
|
var init_version = __esm(() => {
|
|
@@ -584959,7 +584982,7 @@ function generateHtmlReport(data, insights) {
|
|
|
584959
584982
|
</html>`;
|
|
584960
584983
|
}
|
|
584961
584984
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
584962
|
-
const version3 = typeof MACRO !== "undefined" ? "0.1.
|
|
584985
|
+
const version3 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
|
|
584963
584986
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
584964
584987
|
const facets_summary = {
|
|
584965
584988
|
total: facets.size,
|
|
@@ -589068,7 +589091,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
589068
589091
|
init_settings2();
|
|
589069
589092
|
init_slowOperations();
|
|
589070
589093
|
init_uuid();
|
|
589071
|
-
VERSION4 = typeof MACRO !== "undefined" ? "0.1.
|
|
589094
|
+
VERSION4 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
|
|
589072
589095
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
589073
589096
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
589074
589097
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -590273,7 +590296,7 @@ var init_filesystem = __esm(() => {
|
|
|
590273
590296
|
});
|
|
590274
590297
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
590275
590298
|
const nonce = randomBytes20(16).toString("hex");
|
|
590276
|
-
return join140(getClaudeTempDir(), "bundled-skills", "0.1.
|
|
590299
|
+
return join140(getClaudeTempDir(), "bundled-skills", "0.1.3", nonce);
|
|
590277
590300
|
});
|
|
590278
590301
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
590279
590302
|
});
|
|
@@ -596269,7 +596292,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
596269
596292
|
}
|
|
596270
596293
|
function computeFingerprintFromMessages(messages) {
|
|
596271
596294
|
const firstMessageText = extractFirstMessageText(messages);
|
|
596272
|
-
return computeFingerprint(firstMessageText, "0.1.
|
|
596295
|
+
return computeFingerprint(firstMessageText, "0.1.3");
|
|
596273
596296
|
}
|
|
596274
596297
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
596275
596298
|
var init_fingerprint = () => {};
|
|
@@ -598173,7 +598196,7 @@ async function sideQuery(opts) {
|
|
|
598173
598196
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
598174
598197
|
}
|
|
598175
598198
|
const messageText = extractFirstUserMessageText(messages);
|
|
598176
|
-
const fingerprint = computeFingerprint(messageText, "0.1.
|
|
598199
|
+
const fingerprint = computeFingerprint(messageText, "0.1.3");
|
|
598177
598200
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
598178
598201
|
const systemBlocks = [
|
|
598179
598202
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -602746,7 +602769,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
602746
602769
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
602747
602770
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
602748
602771
|
betas: getSdkBetas(),
|
|
602749
|
-
claude_code_version: "0.1.
|
|
602772
|
+
claude_code_version: "0.1.3",
|
|
602750
602773
|
output_style: outputStyle2,
|
|
602751
602774
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
602752
602775
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -615893,7 +615916,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
615893
615916
|
function getSemverPart(version3) {
|
|
615894
615917
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
615895
615918
|
}
|
|
615896
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.1.
|
|
615919
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.1.3") {
|
|
615897
615920
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
|
|
615898
615921
|
if (!updatedVersion) {
|
|
615899
615922
|
return null;
|
|
@@ -615933,7 +615956,7 @@ function AutoUpdater({
|
|
|
615933
615956
|
return;
|
|
615934
615957
|
}
|
|
615935
615958
|
if (false) {}
|
|
615936
|
-
const currentVersion = "0.1.
|
|
615959
|
+
const currentVersion = "0.1.3";
|
|
615937
615960
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
615938
615961
|
let latestVersion = await getLatestVersion(channel);
|
|
615939
615962
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -616118,12 +616141,12 @@ function NativeAutoUpdater({
|
|
|
616118
616141
|
logEvent("tengu_native_auto_updater_start", {});
|
|
616119
616142
|
try {
|
|
616120
616143
|
const maxVersion = await getMaxVersion();
|
|
616121
|
-
if (maxVersion && gt("0.1.
|
|
616144
|
+
if (maxVersion && gt("0.1.3", maxVersion)) {
|
|
616122
616145
|
const msg = await getMaxVersionMessage();
|
|
616123
616146
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
616124
616147
|
}
|
|
616125
616148
|
const result = await installLatest(channel);
|
|
616126
|
-
const currentVersion = "0.1.
|
|
616149
|
+
const currentVersion = "0.1.3";
|
|
616127
616150
|
const latencyMs = Date.now() - startTime;
|
|
616128
616151
|
if (result.lockFailed) {
|
|
616129
616152
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -616236,17 +616259,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
616236
616259
|
const maxVersion = await getMaxVersion();
|
|
616237
616260
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
616238
616261
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
616239
|
-
if (gte("0.1.
|
|
616240
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.
|
|
616262
|
+
if (gte("0.1.3", maxVersion)) {
|
|
616263
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
616241
616264
|
setUpdateAvailable(false);
|
|
616242
616265
|
return;
|
|
616243
616266
|
}
|
|
616244
616267
|
latest = maxVersion;
|
|
616245
616268
|
}
|
|
616246
|
-
const hasUpdate = latest && !gte("0.1.
|
|
616269
|
+
const hasUpdate = latest && !gte("0.1.3", latest) && !shouldSkipVersion(latest);
|
|
616247
616270
|
setUpdateAvailable(!!hasUpdate);
|
|
616248
616271
|
if (hasUpdate) {
|
|
616249
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.
|
|
616272
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.3"} -> ${latest}`);
|
|
616250
616273
|
}
|
|
616251
616274
|
};
|
|
616252
616275
|
$3[0] = t1;
|
|
@@ -616278,7 +616301,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
616278
616301
|
t4 = verbose && /* @__PURE__ */ React410.createElement(ThemedText, {
|
|
616279
616302
|
dimColor: true,
|
|
616280
616303
|
wrap: "truncate"
|
|
616281
|
-
}, "currentVersion: ", "0.1.
|
|
616304
|
+
}, "currentVersion: ", "0.1.3");
|
|
616282
616305
|
$3[3] = verbose;
|
|
616283
616306
|
$3[4] = t4;
|
|
616284
616307
|
} else {
|
|
@@ -623500,7 +623523,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
623500
623523
|
project_dir: getOriginalCwd(),
|
|
623501
623524
|
added_dirs: addedDirs
|
|
623502
623525
|
},
|
|
623503
|
-
version: "0.1.
|
|
623526
|
+
version: "0.1.3",
|
|
623504
623527
|
output_style: {
|
|
623505
623528
|
name: outputStyleName
|
|
623506
623529
|
},
|
|
@@ -643129,7 +643152,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
643129
643152
|
} catch {}
|
|
643130
643153
|
const data = {
|
|
643131
643154
|
trigger,
|
|
643132
|
-
version: "0.1.
|
|
643155
|
+
version: "0.1.3",
|
|
643133
643156
|
platform: process.platform,
|
|
643134
643157
|
transcript,
|
|
643135
643158
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -645044,7 +645067,7 @@ var init_tipRegistry = __esm(() => {
|
|
|
645044
645067
|
},
|
|
645045
645068
|
{
|
|
645046
645069
|
id: "git-worktrees",
|
|
645047
|
-
content: async () => "Use git worktrees to run multiple
|
|
645070
|
+
content: async () => "Use git worktrees to run multiple codez sessions in parallel.",
|
|
645048
645071
|
cooldownSessions: 10,
|
|
645049
645072
|
isRelevant: async () => {
|
|
645050
645073
|
try {
|
|
@@ -645058,7 +645081,7 @@ var init_tipRegistry = __esm(() => {
|
|
|
645058
645081
|
},
|
|
645059
645082
|
{
|
|
645060
645083
|
id: "color-when-multi-clauding",
|
|
645061
|
-
content: async () => "Running multiple
|
|
645084
|
+
content: async () => "Running multiple codez sessions? Use /color and /rename to tell them apart at a glance.",
|
|
645062
645085
|
cooldownSessions: 10,
|
|
645063
645086
|
isRelevant: async () => {
|
|
645064
645087
|
if (getCurrentSessionAgentColor())
|
|
@@ -654316,7 +654339,7 @@ function WelcomeV2() {
|
|
|
654316
654339
|
color: "claude"
|
|
654317
654340
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654318
654341
|
dimColor: true
|
|
654319
|
-
}, "v", "0.1.
|
|
654342
|
+
}, "v", "0.1.3", " "));
|
|
654320
654343
|
t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
654321
654344
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
654322
654345
|
t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
@@ -654420,7 +654443,7 @@ function WelcomeV2() {
|
|
|
654420
654443
|
color: "claude"
|
|
654421
654444
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654422
654445
|
dimColor: true
|
|
654423
|
-
}, "v", "0.1.
|
|
654446
|
+
}, "v", "0.1.3", " "));
|
|
654424
654447
|
t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
654425
654448
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
654426
654449
|
t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
|
|
@@ -654547,7 +654570,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
654547
654570
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
654548
654571
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654549
654572
|
dimColor: true
|
|
654550
|
-
}, "v", "0.1.
|
|
654573
|
+
}, "v", "0.1.3", " ");
|
|
654551
654574
|
$3[2] = t22;
|
|
654552
654575
|
} else {
|
|
654553
654576
|
t22 = $3[2];
|
|
@@ -654685,7 +654708,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
654685
654708
|
if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
654686
654709
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654687
654710
|
dimColor: true
|
|
654688
|
-
}, "v", "0.1.
|
|
654711
|
+
}, "v", "0.1.3", " ");
|
|
654689
654712
|
$3[24] = t2;
|
|
654690
654713
|
} else {
|
|
654691
654714
|
t2 = $3[24];
|
|
@@ -655007,10 +655030,10 @@ function Onboarding({
|
|
|
655007
655030
|
}, "Security notes:"), /* @__PURE__ */ import_react444.default.createElement(ThemedBox_default, {
|
|
655008
655031
|
flexDirection: "column",
|
|
655009
655032
|
width: 70
|
|
655010
|
-
}, /* @__PURE__ */ import_react444.default.createElement(OrderedList, null, /* @__PURE__ */ import_react444.default.createElement(OrderedList.Item, null, /* @__PURE__ */ import_react444.default.createElement(ThemedText, null, "
|
|
655033
|
+
}, /* @__PURE__ */ import_react444.default.createElement(OrderedList, null, /* @__PURE__ */ import_react444.default.createElement(OrderedList.Item, null, /* @__PURE__ */ import_react444.default.createElement(ThemedText, null, "AI can make mistakes"), /* @__PURE__ */ import_react444.default.createElement(ThemedText, {
|
|
655011
655034
|
dimColor: true,
|
|
655012
655035
|
wrap: "wrap"
|
|
655013
|
-
}, "You should always review
|
|
655036
|
+
}, "You should always review the AI's responses, especially when", /* @__PURE__ */ import_react444.default.createElement(Newline, null), "running code.", /* @__PURE__ */ import_react444.default.createElement(Newline, null))), /* @__PURE__ */ import_react444.default.createElement(OrderedList.Item, null, /* @__PURE__ */ import_react444.default.createElement(ThemedText, null, "Due to prompt injection risks, only use it with code you trust"), /* @__PURE__ */ import_react444.default.createElement(ThemedText, {
|
|
655014
655037
|
dimColor: true,
|
|
655015
655038
|
wrap: "wrap"
|
|
655016
655039
|
}, "For more details see:", /* @__PURE__ */ import_react444.default.createElement(Newline, null), /* @__PURE__ */ import_react444.default.createElement(Link, {
|
|
@@ -655887,7 +655910,7 @@ function completeOnboarding() {
|
|
|
655887
655910
|
saveGlobalConfig((current) => ({
|
|
655888
655911
|
...current,
|
|
655889
655912
|
hasCompletedOnboarding: true,
|
|
655890
|
-
lastOnboardingVersion: "0.1.
|
|
655913
|
+
lastOnboardingVersion: "0.1.3"
|
|
655891
655914
|
}));
|
|
655892
655915
|
}
|
|
655893
655916
|
function showDialog(root2, renderer) {
|
|
@@ -660136,7 +660159,7 @@ function appendToLog(path24, message) {
|
|
|
660136
660159
|
cwd: getFsImplementation().cwd(),
|
|
660137
660160
|
userType: process.env.USER_TYPE,
|
|
660138
660161
|
sessionId: getSessionId(),
|
|
660139
|
-
version: "0.1.
|
|
660162
|
+
version: "0.1.3"
|
|
660140
660163
|
};
|
|
660141
660164
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
660142
660165
|
}
|
|
@@ -664121,8 +664144,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
664121
664144
|
}
|
|
664122
664145
|
async function checkEnvLessBridgeMinVersion() {
|
|
664123
664146
|
const cfg = await getEnvLessBridgeConfig();
|
|
664124
|
-
if (cfg.min_version && lt("0.1.
|
|
664125
|
-
return `Your version of codez (${"0.1.
|
|
664147
|
+
if (cfg.min_version && lt("0.1.3", cfg.min_version)) {
|
|
664148
|
+
return `Your version of codez (${"0.1.3"}) is too old for Remote Control.
|
|
664126
664149
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
664127
664150
|
}
|
|
664128
664151
|
return null;
|
|
@@ -664596,7 +664619,7 @@ async function initBridgeCore(params) {
|
|
|
664596
664619
|
const rawApi = createBridgeApiClient({
|
|
664597
664620
|
baseUrl,
|
|
664598
664621
|
getAccessToken,
|
|
664599
|
-
runnerVersion: "0.1.
|
|
664622
|
+
runnerVersion: "0.1.3",
|
|
664600
664623
|
onDebug: logForDebugging,
|
|
664601
664624
|
onAuth401,
|
|
664602
664625
|
getTrustedDeviceToken
|
|
@@ -669795,7 +669818,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
669795
669818
|
setCwd(cwd3);
|
|
669796
669819
|
const server = new Server({
|
|
669797
669820
|
name: "claude/tengu",
|
|
669798
|
-
version: "0.1.
|
|
669821
|
+
version: "0.1.3"
|
|
669799
669822
|
}, {
|
|
669800
669823
|
capabilities: {
|
|
669801
669824
|
tools: {}
|
|
@@ -671296,7 +671319,7 @@ __export(exports_update, {
|
|
|
671296
671319
|
});
|
|
671297
671320
|
async function update() {
|
|
671298
671321
|
logEvent("tengu_update_check", {});
|
|
671299
|
-
writeToStdout(`Current version: ${"0.1.
|
|
671322
|
+
writeToStdout(`Current version: ${"0.1.3"}
|
|
671300
671323
|
`);
|
|
671301
671324
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
671302
671325
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -671371,8 +671394,8 @@ async function update() {
|
|
|
671371
671394
|
writeToStdout(`Claude is managed by Homebrew.
|
|
671372
671395
|
`);
|
|
671373
671396
|
const latest = await getLatestVersion(channel);
|
|
671374
|
-
if (latest && !gte("0.1.
|
|
671375
|
-
writeToStdout(`Update available: ${"0.1.
|
|
671397
|
+
if (latest && !gte("0.1.3", latest)) {
|
|
671398
|
+
writeToStdout(`Update available: ${"0.1.3"} → ${latest}
|
|
671376
671399
|
`);
|
|
671377
671400
|
writeToStdout(`
|
|
671378
671401
|
`);
|
|
@@ -671388,8 +671411,8 @@ async function update() {
|
|
|
671388
671411
|
writeToStdout(`Claude is managed by winget.
|
|
671389
671412
|
`);
|
|
671390
671413
|
const latest = await getLatestVersion(channel);
|
|
671391
|
-
if (latest && !gte("0.1.
|
|
671392
|
-
writeToStdout(`Update available: ${"0.1.
|
|
671414
|
+
if (latest && !gte("0.1.3", latest)) {
|
|
671415
|
+
writeToStdout(`Update available: ${"0.1.3"} → ${latest}
|
|
671393
671416
|
`);
|
|
671394
671417
|
writeToStdout(`
|
|
671395
671418
|
`);
|
|
@@ -671405,8 +671428,8 @@ async function update() {
|
|
|
671405
671428
|
writeToStdout(`Claude is managed by apk.
|
|
671406
671429
|
`);
|
|
671407
671430
|
const latest = await getLatestVersion(channel);
|
|
671408
|
-
if (latest && !gte("0.1.
|
|
671409
|
-
writeToStdout(`Update available: ${"0.1.
|
|
671431
|
+
if (latest && !gte("0.1.3", latest)) {
|
|
671432
|
+
writeToStdout(`Update available: ${"0.1.3"} → ${latest}
|
|
671410
671433
|
`);
|
|
671411
671434
|
writeToStdout(`
|
|
671412
671435
|
`);
|
|
@@ -671471,11 +671494,11 @@ async function update() {
|
|
|
671471
671494
|
`);
|
|
671472
671495
|
await gracefulShutdown(1);
|
|
671473
671496
|
}
|
|
671474
|
-
if (result.latestVersion === "0.1.
|
|
671475
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
671497
|
+
if (result.latestVersion === "0.1.3") {
|
|
671498
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.3"})`) + `
|
|
671476
671499
|
`);
|
|
671477
671500
|
} else {
|
|
671478
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
671501
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${result.latestVersion}`) + `
|
|
671479
671502
|
`);
|
|
671480
671503
|
await regenerateCompletionCache();
|
|
671481
671504
|
}
|
|
@@ -671535,12 +671558,12 @@ async function update() {
|
|
|
671535
671558
|
`);
|
|
671536
671559
|
await gracefulShutdown(1);
|
|
671537
671560
|
}
|
|
671538
|
-
if (latestVersion === "0.1.
|
|
671539
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
671561
|
+
if (latestVersion === "0.1.3") {
|
|
671562
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.3"})`) + `
|
|
671540
671563
|
`);
|
|
671541
671564
|
await gracefulShutdown(0);
|
|
671542
671565
|
}
|
|
671543
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.
|
|
671566
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.3"})
|
|
671544
671567
|
`);
|
|
671545
671568
|
writeToStdout(`Installing update...
|
|
671546
671569
|
`);
|
|
@@ -671585,7 +671608,7 @@ async function update() {
|
|
|
671585
671608
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
671586
671609
|
switch (status2) {
|
|
671587
671610
|
case "success":
|
|
671588
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
671611
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${latestVersion}`) + `
|
|
671589
671612
|
`);
|
|
671590
671613
|
await regenerateCompletionCache();
|
|
671591
671614
|
break;
|
|
@@ -672829,7 +672852,7 @@ ${customInstructions}` : customInstructions;
|
|
|
672829
672852
|
}
|
|
672830
672853
|
}
|
|
672831
672854
|
logForDiagnosticsNoPII("info", "started", {
|
|
672832
|
-
version: "0.1.
|
|
672855
|
+
version: "0.1.3",
|
|
672833
672856
|
is_native_binary: isInBundledMode()
|
|
672834
672857
|
});
|
|
672835
672858
|
registerCleanup(async () => {
|
|
@@ -673395,7 +673418,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
673395
673418
|
`);
|
|
673396
673419
|
process.stdout.write(`View: ${getRemoteSessionUrl(createdSession.id)}?m=0
|
|
673397
673420
|
`);
|
|
673398
|
-
process.stdout.write(`Resume with:
|
|
673421
|
+
process.stdout.write(`Resume with: codez --teleport ${createdSession.id}
|
|
673399
673422
|
`);
|
|
673400
673423
|
await gracefulShutdown(0);
|
|
673401
673424
|
process.exit(0);
|
|
@@ -673479,7 +673502,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
673479
673502
|
await gracefulShutdown(0);
|
|
673480
673503
|
}
|
|
673481
673504
|
} else {
|
|
673482
|
-
throw new TeleportOperationError(`You must run
|
|
673505
|
+
throw new TeleportOperationError(`You must run codez --teleport ${teleport} from a checkout of ${sessionRepo}.`, source_default.red(`You must run codez --teleport ${teleport} from a checkout of ${source_default.bold(sessionRepo)}.
|
|
673483
673506
|
`));
|
|
673484
673507
|
}
|
|
673485
673508
|
}
|
|
@@ -673613,7 +673636,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
673613
673636
|
pendingHookMessages
|
|
673614
673637
|
}, renderAndRun);
|
|
673615
673638
|
}
|
|
673616
|
-
}).version("0.1.
|
|
673639
|
+
}).version("0.1.3", "-v, --version", "Output the version number");
|
|
673617
673640
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
673618
673641
|
program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
|
|
673619
673642
|
if (canUserConfigureAdvisor()) {
|
|
@@ -674128,7 +674151,7 @@ async function main2() {
|
|
|
674128
674151
|
const args = process.argv.slice(2);
|
|
674129
674152
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
674130
674153
|
const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
|
|
674131
|
-
console.log(`${"0.1.
|
|
674154
|
+
console.log(`${"0.1.3"} (${label})`);
|
|
674132
674155
|
return;
|
|
674133
674156
|
}
|
|
674134
674157
|
const {
|
|
@@ -674212,4 +674235,4 @@ async function main2() {
|
|
|
674212
674235
|
}
|
|
674213
674236
|
main2();
|
|
674214
674237
|
|
|
674215
|
-
//# debugId=
|
|
674238
|
+
//# debugId=1FAFFEAD53D6743A64756E2164756E21
|