codez-cli 0.1.2 → 0.1.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.js +100 -100
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -76579,7 +76579,7 @@ var init_auth = __esm(() => {
|
|
|
76579
76579
|
|
|
76580
76580
|
// src/utils/userAgent.ts
|
|
76581
76581
|
function getClaudeCodeUserAgent() {
|
|
76582
|
-
return `claude-code/${"0.1.
|
|
76582
|
+
return `claude-code/${"0.1.3"}`;
|
|
76583
76583
|
}
|
|
76584
76584
|
|
|
76585
76585
|
// src/utils/workloadContext.ts
|
|
@@ -76601,7 +76601,7 @@ function getUserAgent() {
|
|
|
76601
76601
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
76602
76602
|
const workload = getWorkload();
|
|
76603
76603
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
76604
|
-
return `claude-cli/${"0.1.
|
|
76604
|
+
return `claude-cli/${"0.1.3"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
76605
76605
|
}
|
|
76606
76606
|
function getMCPUserAgent() {
|
|
76607
76607
|
const parts = [];
|
|
@@ -76615,7 +76615,7 @@ function getMCPUserAgent() {
|
|
|
76615
76615
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
76616
76616
|
}
|
|
76617
76617
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
76618
|
-
return `claude-code/${"0.1.
|
|
76618
|
+
return `claude-code/${"0.1.3"}${suffix}`;
|
|
76619
76619
|
}
|
|
76620
76620
|
function getWebFetchUserAgent() {
|
|
76621
76621
|
return `Claude-User (${getClaudeCodeUserAgent()}; +https://support.anthropic.com/)`;
|
|
@@ -76753,7 +76753,7 @@ var init_user = __esm(() => {
|
|
|
76753
76753
|
deviceId,
|
|
76754
76754
|
sessionId: getSessionId(),
|
|
76755
76755
|
email: getEmail(),
|
|
76756
|
-
appVersion: "0.1.
|
|
76756
|
+
appVersion: "0.1.3",
|
|
76757
76757
|
platform: getHostPlatformForAnalytics(),
|
|
76758
76758
|
organizationUuid,
|
|
76759
76759
|
accountUuid,
|
|
@@ -91126,7 +91126,7 @@ var init_metadata = __esm(() => {
|
|
|
91126
91126
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
91127
91127
|
WHITESPACE_REGEX = /\s+/;
|
|
91128
91128
|
getVersionBase = memoize_default(() => {
|
|
91129
|
-
const match = "0.1.
|
|
91129
|
+
const match = "0.1.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
91130
91130
|
return match ? match[0] : undefined;
|
|
91131
91131
|
});
|
|
91132
91132
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -91166,9 +91166,9 @@ var init_metadata = __esm(() => {
|
|
|
91166
91166
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
91167
91167
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
91168
91168
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
91169
|
-
version: "0.1.
|
|
91169
|
+
version: "0.1.3",
|
|
91170
91170
|
versionBase: getVersionBase(),
|
|
91171
|
-
buildTime: "2026-04-01T22:
|
|
91171
|
+
buildTime: "2026-04-01T22:58:01.164Z",
|
|
91172
91172
|
deploymentEnvironment: env4.detectDeploymentEnvironment(),
|
|
91173
91173
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
91174
91174
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -91836,7 +91836,7 @@ function initialize1PEventLogging() {
|
|
|
91836
91836
|
const platform3 = getPlatform();
|
|
91837
91837
|
const attributes = {
|
|
91838
91838
|
[import_semantic_conventions.ATTR_SERVICE_NAME]: "claude-code",
|
|
91839
|
-
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.
|
|
91839
|
+
[import_semantic_conventions.ATTR_SERVICE_VERSION]: "0.1.3"
|
|
91840
91840
|
};
|
|
91841
91841
|
if (platform3 === "wsl") {
|
|
91842
91842
|
const wslVersion = getWslVersion();
|
|
@@ -91863,7 +91863,7 @@ function initialize1PEventLogging() {
|
|
|
91863
91863
|
})
|
|
91864
91864
|
]
|
|
91865
91865
|
});
|
|
91866
|
-
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
91866
|
+
firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.anthropic.claude_code.events", "0.1.3");
|
|
91867
91867
|
}
|
|
91868
91868
|
async function reinitialize1PEventLoggingIfConfigChanged() {
|
|
91869
91869
|
if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
|
|
@@ -93731,7 +93731,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
93731
93731
|
if (!isAttributionHeaderEnabled()) {
|
|
93732
93732
|
return "";
|
|
93733
93733
|
}
|
|
93734
|
-
const version2 = `${"0.1.
|
|
93734
|
+
const version2 = `${"0.1.3"}.${fingerprint}`;
|
|
93735
93735
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
93736
93736
|
const cch = "";
|
|
93737
93737
|
const workload = getWorkload();
|
|
@@ -294419,7 +294419,7 @@ function getTelemetryAttributes() {
|
|
|
294419
294419
|
attributes["session.id"] = sessionId;
|
|
294420
294420
|
}
|
|
294421
294421
|
if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
|
|
294422
|
-
attributes["app.version"] = "0.1.
|
|
294422
|
+
attributes["app.version"] = "0.1.3";
|
|
294423
294423
|
}
|
|
294424
294424
|
const oauthAccount = getOauthAccountInfo();
|
|
294425
294425
|
if (oauthAccount) {
|
|
@@ -317963,7 +317963,7 @@ function getInstallationEnv() {
|
|
|
317963
317963
|
return;
|
|
317964
317964
|
}
|
|
317965
317965
|
function getClaudeCodeVersion() {
|
|
317966
|
-
return "0.1.
|
|
317966
|
+
return "0.1.3";
|
|
317967
317967
|
}
|
|
317968
317968
|
async function getInstalledVSCodeExtensionVersion(command) {
|
|
317969
317969
|
const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
|
|
@@ -320682,7 +320682,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
|
|
|
320682
320682
|
const client2 = new Client({
|
|
320683
320683
|
name: "claude-code",
|
|
320684
320684
|
title: "codez",
|
|
320685
|
-
version: "0.1.
|
|
320685
|
+
version: "0.1.3",
|
|
320686
320686
|
description: "AI-powered agentic coding tool",
|
|
320687
320687
|
websiteUrl: PRODUCT_URL
|
|
320688
320688
|
}, {
|
|
@@ -321037,7 +321037,7 @@ var init_client5 = __esm(() => {
|
|
|
321037
321037
|
const client2 = new Client({
|
|
321038
321038
|
name: "claude-code",
|
|
321039
321039
|
title: "codez",
|
|
321040
|
-
version: "0.1.
|
|
321040
|
+
version: "0.1.3",
|
|
321041
321041
|
description: "AI-powered agentic coding tool",
|
|
321042
321042
|
websiteUrl: PRODUCT_URL
|
|
321043
321043
|
}, {
|
|
@@ -396638,7 +396638,7 @@ async function initializeBetaTracing(resource) {
|
|
|
396638
396638
|
});
|
|
396639
396639
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396640
396640
|
setLoggerProvider(loggerProvider);
|
|
396641
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396641
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
|
|
396642
396642
|
setEventLogger(eventLogger);
|
|
396643
396643
|
process.on("beforeExit", async () => {
|
|
396644
396644
|
await loggerProvider?.forceFlush();
|
|
@@ -396678,7 +396678,7 @@ async function initializeTelemetry() {
|
|
|
396678
396678
|
const platform5 = getPlatform();
|
|
396679
396679
|
const baseAttributes = {
|
|
396680
396680
|
[import_semantic_conventions2.ATTR_SERVICE_NAME]: "claude-code",
|
|
396681
|
-
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.
|
|
396681
|
+
[import_semantic_conventions2.ATTR_SERVICE_VERSION]: "0.1.3"
|
|
396682
396682
|
};
|
|
396683
396683
|
if (platform5 === "wsl") {
|
|
396684
396684
|
const wslVersion = getWslVersion();
|
|
@@ -396723,7 +396723,7 @@ async function initializeTelemetry() {
|
|
|
396723
396723
|
} catch {}
|
|
396724
396724
|
};
|
|
396725
396725
|
registerCleanup(shutdownTelemetry2);
|
|
396726
|
-
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.
|
|
396726
|
+
return meterProvider2.getMeter("com.anthropic.claude_code", "0.1.3");
|
|
396727
396727
|
}
|
|
396728
396728
|
const meterProvider = new import_sdk_metrics2.MeterProvider({
|
|
396729
396729
|
resource,
|
|
@@ -396743,7 +396743,7 @@ async function initializeTelemetry() {
|
|
|
396743
396743
|
});
|
|
396744
396744
|
import_api_logs.logs.setGlobalLoggerProvider(loggerProvider);
|
|
396745
396745
|
setLoggerProvider(loggerProvider);
|
|
396746
|
-
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.
|
|
396746
|
+
const eventLogger = import_api_logs.logs.getLogger("com.anthropic.claude_code.events", "0.1.3");
|
|
396747
396747
|
setEventLogger(eventLogger);
|
|
396748
396748
|
logForDebugging("[3P telemetry] Event logger set successfully");
|
|
396749
396749
|
process.on("beforeExit", async () => {
|
|
@@ -396805,7 +396805,7 @@ Current timeout: ${timeoutMs}ms
|
|
|
396805
396805
|
}
|
|
396806
396806
|
};
|
|
396807
396807
|
registerCleanup(shutdownTelemetry);
|
|
396808
|
-
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.
|
|
396808
|
+
return meterProvider.getMeter("com.anthropic.claude_code", "0.1.3");
|
|
396809
396809
|
}
|
|
396810
396810
|
async function flushTelemetry() {
|
|
396811
396811
|
const meterProvider = getMeterProvider();
|
|
@@ -397362,9 +397362,9 @@ async function assertMinVersion() {
|
|
|
397362
397362
|
if (false) {}
|
|
397363
397363
|
try {
|
|
397364
397364
|
const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
|
|
397365
|
-
if (versionConfig.minVersion && lt("0.1.
|
|
397365
|
+
if (versionConfig.minVersion && lt("0.1.3", versionConfig.minVersion)) {
|
|
397366
397366
|
console.error(`
|
|
397367
|
-
It looks like your version of codez (${"0.1.
|
|
397367
|
+
It looks like your version of codez (${"0.1.3"}) needs an update.
|
|
397368
397368
|
A newer version (${versionConfig.minVersion} or higher) is required to continue.
|
|
397369
397369
|
|
|
397370
397370
|
To update, please run:
|
|
@@ -397580,7 +397580,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397580
397580
|
logError2(new AutoUpdaterError("Another process is currently installing an update"));
|
|
397581
397581
|
logEvent("tengu_auto_updater_lock_contention", {
|
|
397582
397582
|
pid: process.pid,
|
|
397583
|
-
currentVersion: "0.1.
|
|
397583
|
+
currentVersion: "0.1.3"
|
|
397584
397584
|
});
|
|
397585
397585
|
return "in_progress";
|
|
397586
397586
|
}
|
|
@@ -397589,7 +397589,7 @@ async function installGlobalPackage(specificVersion) {
|
|
|
397589
397589
|
if (!env4.isRunningWithBun() && env4.isNpmFromWindowsPath()) {
|
|
397590
397590
|
logError2(new Error("Windows NPM detected in WSL environment"));
|
|
397591
397591
|
logEvent("tengu_auto_updater_windows_npm_in_wsl", {
|
|
397592
|
-
currentVersion: "0.1.
|
|
397592
|
+
currentVersion: "0.1.3"
|
|
397593
397593
|
});
|
|
397594
397594
|
console.error(`
|
|
397595
397595
|
Error: Windows NPM detected in WSL
|
|
@@ -398124,7 +398124,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
398124
398124
|
}
|
|
398125
398125
|
async function getDoctorDiagnostic() {
|
|
398126
398126
|
const installationType = await getCurrentInstallationType();
|
|
398127
|
-
const version2 = typeof MACRO !== "undefined" ? "0.1.
|
|
398127
|
+
const version2 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
|
|
398128
398128
|
const installationPath = await getInstallationPath();
|
|
398129
398129
|
const invokedBinary = getInvokedBinary();
|
|
398130
398130
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -399059,8 +399059,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
399059
399059
|
const maxVersion = await getMaxVersion();
|
|
399060
399060
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
399061
399061
|
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.
|
|
399062
|
+
if (gte("0.1.3", maxVersion)) {
|
|
399063
|
+
logForDebugging(`Native installer: current version ${"0.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
399064
399064
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
399065
399065
|
latency_ms: Date.now() - startTime,
|
|
399066
399066
|
max_version: maxVersion,
|
|
@@ -399071,7 +399071,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
399071
399071
|
version2 = maxVersion;
|
|
399072
399072
|
}
|
|
399073
399073
|
}
|
|
399074
|
-
if (!forceReinstall && version2 === "0.1.
|
|
399074
|
+
if (!forceReinstall && version2 === "0.1.3" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
399075
399075
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
399076
399076
|
logEvent("tengu_native_update_complete", {
|
|
399077
399077
|
latency_ms: Date.now() - startTime,
|
|
@@ -432122,7 +432122,7 @@ async function teleportResumeCodeSession(sessionId, onProgress) {
|
|
|
432122
432122
|
sessionId
|
|
432123
432123
|
});
|
|
432124
432124
|
const notInRepoDisplay = repoValidation.sessionHost && repoValidation.sessionHost.toLowerCase() !== "github.com" ? `${repoValidation.sessionHost}/${repoValidation.sessionRepo}` : repoValidation.sessionRepo;
|
|
432125
|
-
throw new TeleportOperationError(`You must run
|
|
432125
|
+
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
432126
|
`));
|
|
432127
432127
|
}
|
|
432128
432128
|
case "mismatch": {
|
|
@@ -432132,8 +432132,8 @@ async function teleportResumeCodeSession(sessionId, onProgress) {
|
|
|
432132
432132
|
const hostsDiffer = repoValidation.sessionHost && repoValidation.currentHost && repoValidation.sessionHost.replace(/:\d+$/, "").toLowerCase() !== repoValidation.currentHost.replace(/:\d+$/, "").toLowerCase();
|
|
432133
432133
|
const sessionDisplay = hostsDiffer ? `${repoValidation.sessionHost}/${repoValidation.sessionRepo}` : repoValidation.sessionRepo;
|
|
432134
432134
|
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
|
|
432135
|
+
throw new TeleportOperationError(`You must run codez --teleport ${sessionId} from a checkout of ${sessionDisplay}.
|
|
432136
|
+
This repo is ${currentDisplay}.`, source_default.red(`You must run codez --teleport ${sessionId} from a checkout of ${source_default.bold(sessionDisplay)}.
|
|
432137
432137
|
This repo is ${source_default.bold(currentDisplay)}.
|
|
432138
432138
|
`));
|
|
432139
432139
|
}
|
|
@@ -490185,7 +490185,7 @@ function getAnthropicEnvMetadata() {
|
|
|
490185
490185
|
function getBuildAgeMinutes() {
|
|
490186
490186
|
if (false)
|
|
490187
490187
|
;
|
|
490188
|
-
const buildTime = new Date("2026-04-01T22:
|
|
490188
|
+
const buildTime = new Date("2026-04-01T22:58:01.164Z").getTime();
|
|
490189
490189
|
if (isNaN(buildTime))
|
|
490190
490190
|
return;
|
|
490191
490191
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -514546,7 +514546,7 @@ function Feedback({
|
|
|
514546
514546
|
platform: env4.platform,
|
|
514547
514547
|
gitRepo: envInfo.isGit,
|
|
514548
514548
|
terminal: env4.terminal,
|
|
514549
|
-
version: "0.1.
|
|
514549
|
+
version: "0.1.3",
|
|
514550
514550
|
transcript: normalizeMessagesForAPI(messages),
|
|
514551
514551
|
errors: sanitizedErrors,
|
|
514552
514552
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -514685,7 +514685,7 @@ function Feedback({
|
|
|
514685
514685
|
dimColor: true
|
|
514686
514686
|
}, description)), /* @__PURE__ */ React167.createElement(ThemedText, null, "- Environment info:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
514687
514687
|
dimColor: true
|
|
514688
|
-
}, env4.platform, ", ", env4.terminal, ", v", "0.1.
|
|
514688
|
+
}, env4.platform, ", ", env4.terminal, ", v", "0.1.3")), envInfo.gitState && /* @__PURE__ */ React167.createElement(ThemedText, null, "- Git repo metadata:", " ", /* @__PURE__ */ React167.createElement(ThemedText, {
|
|
514689
514689
|
dimColor: true
|
|
514690
514690
|
}, 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
514691
|
marginTop: 1
|
|
@@ -514722,7 +514722,7 @@ ${sanitizedDescription}
|
|
|
514722
514722
|
` + `**Environment Info**
|
|
514723
514723
|
` + `- Platform: ${env4.platform}
|
|
514724
514724
|
` + `- Terminal: ${env4.terminal}
|
|
514725
|
-
` + `- Version: ${"0.1.
|
|
514725
|
+
` + `- Version: ${"0.1.3"}
|
|
514726
514726
|
` + `- Feedback ID: ${feedbackId}
|
|
514727
514727
|
` + `
|
|
514728
514728
|
**Errors**
|
|
@@ -517783,7 +517783,7 @@ function buildPrimarySection() {
|
|
|
517783
517783
|
}, "/rename to add a name");
|
|
517784
517784
|
return [{
|
|
517785
517785
|
label: "Version",
|
|
517786
|
-
value: "0.1.
|
|
517786
|
+
value: "0.1.3"
|
|
517787
517787
|
}, {
|
|
517788
517788
|
label: "Session name",
|
|
517789
517789
|
value: nameValue
|
|
@@ -521187,7 +521187,7 @@ function Config({
|
|
|
521187
521187
|
});
|
|
521188
521188
|
}
|
|
521189
521189
|
})) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ React182.createElement(ChannelDowngradeDialog, {
|
|
521190
|
-
currentVersion: "0.1.
|
|
521190
|
+
currentVersion: "0.1.3",
|
|
521191
521191
|
onChoice: (choice) => {
|
|
521192
521192
|
setShowSubmenu(null);
|
|
521193
521193
|
setTabsHidden(false);
|
|
@@ -521199,7 +521199,7 @@ function Config({
|
|
|
521199
521199
|
autoUpdatesChannel: "stable"
|
|
521200
521200
|
};
|
|
521201
521201
|
if (choice === "stay") {
|
|
521202
|
-
newSettings.minimumVersion = "0.1.
|
|
521202
|
+
newSettings.minimumVersion = "0.1.3";
|
|
521203
521203
|
}
|
|
521204
521204
|
updateSettingsForSource("userSettings", newSettings);
|
|
521205
521205
|
setSettingsData((prev_27) => ({
|
|
@@ -527960,7 +527960,7 @@ function HelpV2(t0) {
|
|
|
527960
527960
|
let t6;
|
|
527961
527961
|
if ($3[31] !== tabs) {
|
|
527962
527962
|
t6 = /* @__PURE__ */ React209.createElement(Tabs, {
|
|
527963
|
-
title: `codez v${"0.1.
|
|
527963
|
+
title: `codez v${"0.1.3"}`,
|
|
527964
527964
|
color: "professionalBlue",
|
|
527965
527965
|
defaultTab: "general"
|
|
527966
527966
|
}, tabs);
|
|
@@ -549354,7 +549354,7 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
|
|
|
549354
549354
|
return [];
|
|
549355
549355
|
}
|
|
549356
549356
|
}
|
|
549357
|
-
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.
|
|
549357
|
+
async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.3") {
|
|
549358
549358
|
if (process.env.USER_TYPE === "ant") {
|
|
549359
549359
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
549360
549360
|
if (changelog) {
|
|
@@ -549381,7 +549381,7 @@ async function checkForReleaseNotes(lastSeenVersion, currentVersion = "0.1.2") {
|
|
|
549381
549381
|
releaseNotes
|
|
549382
549382
|
};
|
|
549383
549383
|
}
|
|
549384
|
-
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.
|
|
549384
|
+
function checkForReleaseNotesSync(lastSeenVersion, currentVersion = "0.1.3") {
|
|
549385
549385
|
if (process.env.USER_TYPE === "ant") {
|
|
549386
549386
|
const changelog = MACRO.VERSION_CHANGELOG;
|
|
549387
549387
|
if (changelog) {
|
|
@@ -550551,7 +550551,7 @@ function getRecentActivitySync() {
|
|
|
550551
550551
|
return cachedActivity;
|
|
550552
550552
|
}
|
|
550553
550553
|
function getLogoDisplayData() {
|
|
550554
|
-
const version2 = process.env.DEMO_VERSION ?? "0.1.
|
|
550554
|
+
const version2 = process.env.DEMO_VERSION ?? "0.1.3";
|
|
550555
550555
|
const serverUrl = getDirectConnectServerUrl();
|
|
550556
550556
|
const displayPath = process.env.DEMO_VERSION ? "/code/claude" : getDisplayPath(getCwd());
|
|
550557
550557
|
const cwd2 = serverUrl ? `${displayPath} in ${serverUrl.replace(/^https?:\/\//, "")}` : displayPath;
|
|
@@ -551278,7 +551278,7 @@ function createProjectOnboardingFeed(steps) {
|
|
|
551278
551278
|
text: `${checkmark}${text2}`
|
|
551279
551279
|
};
|
|
551280
551280
|
});
|
|
551281
|
-
const warningText = getCwd() === homedir31() ? "Note: You have launched
|
|
551281
|
+
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
551282
|
if (warningText) {
|
|
551283
551283
|
lines2.push({
|
|
551284
551284
|
text: warningText
|
|
@@ -551926,7 +551926,7 @@ function LogoV2() {
|
|
|
551926
551926
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
551927
551927
|
t2 = () => {
|
|
551928
551928
|
const currentConfig = getGlobalConfig();
|
|
551929
|
-
if (currentConfig.lastReleaseNotesSeen === "0.1.
|
|
551929
|
+
if (currentConfig.lastReleaseNotesSeen === "0.1.3") {
|
|
551930
551930
|
return;
|
|
551931
551931
|
}
|
|
551932
551932
|
saveGlobalConfig(_temp329);
|
|
@@ -552039,7 +552039,7 @@ function LogoV2() {
|
|
|
552039
552039
|
dimColor: true
|
|
552040
552040
|
}, "tmux session: ", process.env.CLAUDE_CODE_TMUX_SESSION), /* @__PURE__ */ React261.createElement(ThemedText, {
|
|
552041
552041
|
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 -
|
|
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 - codez uses ${process.env.CLAUDE_CODE_TMUX_PREFIX})` : `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} d`));
|
|
552043
552043
|
$3[15] = t112;
|
|
552044
552044
|
$3[16] = t122;
|
|
552045
552045
|
$3[17] = t132;
|
|
@@ -552390,7 +552390,7 @@ function LogoV2() {
|
|
|
552390
552390
|
dimColor: true
|
|
552391
552391
|
}, "tmux session: ", process.env.CLAUDE_CODE_TMUX_SESSION), /* @__PURE__ */ React261.createElement(ThemedText, {
|
|
552392
552392
|
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 -
|
|
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 - codez uses ${process.env.CLAUDE_CODE_TMUX_PREFIX})` : `Detach: ${process.env.CLAUDE_CODE_TMUX_PREFIX} d`));
|
|
552394
552394
|
$3[75] = t29;
|
|
552395
552395
|
$3[76] = t30;
|
|
552396
552396
|
$3[77] = t31;
|
|
@@ -552464,12 +552464,12 @@ function LogoV2() {
|
|
|
552464
552464
|
return t41;
|
|
552465
552465
|
}
|
|
552466
552466
|
function _temp329(current) {
|
|
552467
|
-
if (current.lastReleaseNotesSeen === "0.1.
|
|
552467
|
+
if (current.lastReleaseNotesSeen === "0.1.3") {
|
|
552468
552468
|
return current;
|
|
552469
552469
|
}
|
|
552470
552470
|
return {
|
|
552471
552471
|
...current,
|
|
552472
|
-
lastReleaseNotesSeen: "0.1.
|
|
552472
|
+
lastReleaseNotesSeen: "0.1.3"
|
|
552473
552473
|
};
|
|
552474
552474
|
}
|
|
552475
552475
|
function _temp245(s_0) {
|
|
@@ -576150,7 +576150,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
576150
576150
|
smapsRollup,
|
|
576151
576151
|
platform: process.platform,
|
|
576152
576152
|
nodeVersion: process.version,
|
|
576153
|
-
ccVersion: "0.1.
|
|
576153
|
+
ccVersion: "0.1.3"
|
|
576154
576154
|
};
|
|
576155
576155
|
}
|
|
576156
576156
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -576736,7 +576736,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
576736
576736
|
var call56 = async () => {
|
|
576737
576737
|
return {
|
|
576738
576738
|
type: "text",
|
|
576739
|
-
value: `${"0.1.
|
|
576739
|
+
value: `${"0.1.3"} (built ${"2026-04-01T22:58:01.164Z"})`
|
|
576740
576740
|
};
|
|
576741
576741
|
}, version2, version_default;
|
|
576742
576742
|
var init_version = __esm(() => {
|
|
@@ -584959,7 +584959,7 @@ function generateHtmlReport(data, insights) {
|
|
|
584959
584959
|
</html>`;
|
|
584960
584960
|
}
|
|
584961
584961
|
function buildExportData(data, insights, facets, remoteStats) {
|
|
584962
|
-
const version3 = typeof MACRO !== "undefined" ? "0.1.
|
|
584962
|
+
const version3 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
|
|
584963
584963
|
const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
|
|
584964
584964
|
const facets_summary = {
|
|
584965
584965
|
total: facets.size,
|
|
@@ -589068,7 +589068,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
589068
589068
|
init_settings2();
|
|
589069
589069
|
init_slowOperations();
|
|
589070
589070
|
init_uuid();
|
|
589071
|
-
VERSION4 = typeof MACRO !== "undefined" ? "0.1.
|
|
589071
|
+
VERSION4 = typeof MACRO !== "undefined" ? "0.1.3" : "unknown";
|
|
589072
589072
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
589073
589073
|
SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
589074
589074
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -590273,7 +590273,7 @@ var init_filesystem = __esm(() => {
|
|
|
590273
590273
|
});
|
|
590274
590274
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
590275
590275
|
const nonce = randomBytes20(16).toString("hex");
|
|
590276
|
-
return join140(getClaudeTempDir(), "bundled-skills", "0.1.
|
|
590276
|
+
return join140(getClaudeTempDir(), "bundled-skills", "0.1.3", nonce);
|
|
590277
590277
|
});
|
|
590278
590278
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
590279
590279
|
});
|
|
@@ -596269,7 +596269,7 @@ function computeFingerprint(messageText, version3) {
|
|
|
596269
596269
|
}
|
|
596270
596270
|
function computeFingerprintFromMessages(messages) {
|
|
596271
596271
|
const firstMessageText = extractFirstMessageText(messages);
|
|
596272
|
-
return computeFingerprint(firstMessageText, "0.1.
|
|
596272
|
+
return computeFingerprint(firstMessageText, "0.1.3");
|
|
596273
596273
|
}
|
|
596274
596274
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
596275
596275
|
var init_fingerprint = () => {};
|
|
@@ -598173,7 +598173,7 @@ async function sideQuery(opts) {
|
|
|
598173
598173
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
598174
598174
|
}
|
|
598175
598175
|
const messageText = extractFirstUserMessageText(messages);
|
|
598176
|
-
const fingerprint = computeFingerprint(messageText, "0.1.
|
|
598176
|
+
const fingerprint = computeFingerprint(messageText, "0.1.3");
|
|
598177
598177
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
598178
598178
|
const systemBlocks = [
|
|
598179
598179
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -602746,7 +602746,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
602746
602746
|
slash_commands: inputs.commands.filter((c4) => c4.userInvocable !== false).map((c4) => c4.name),
|
|
602747
602747
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
602748
602748
|
betas: getSdkBetas(),
|
|
602749
|
-
claude_code_version: "0.1.
|
|
602749
|
+
claude_code_version: "0.1.3",
|
|
602750
602750
|
output_style: outputStyle2,
|
|
602751
602751
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
602752
602752
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -615893,7 +615893,7 @@ var init_useVoiceEnabled = __esm(() => {
|
|
|
615893
615893
|
function getSemverPart(version3) {
|
|
615894
615894
|
return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
|
|
615895
615895
|
}
|
|
615896
|
-
function useUpdateNotification(updatedVersion, initialVersion = "0.1.
|
|
615896
|
+
function useUpdateNotification(updatedVersion, initialVersion = "0.1.3") {
|
|
615897
615897
|
const [lastNotifiedSemver, setLastNotifiedSemver] = import_react338.useState(() => getSemverPart(initialVersion));
|
|
615898
615898
|
if (!updatedVersion) {
|
|
615899
615899
|
return null;
|
|
@@ -615933,7 +615933,7 @@ function AutoUpdater({
|
|
|
615933
615933
|
return;
|
|
615934
615934
|
}
|
|
615935
615935
|
if (false) {}
|
|
615936
|
-
const currentVersion = "0.1.
|
|
615936
|
+
const currentVersion = "0.1.3";
|
|
615937
615937
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
615938
615938
|
let latestVersion = await getLatestVersion(channel);
|
|
615939
615939
|
const isDisabled = isAutoUpdaterDisabled();
|
|
@@ -616118,12 +616118,12 @@ function NativeAutoUpdater({
|
|
|
616118
616118
|
logEvent("tengu_native_auto_updater_start", {});
|
|
616119
616119
|
try {
|
|
616120
616120
|
const maxVersion = await getMaxVersion();
|
|
616121
|
-
if (maxVersion && gt("0.1.
|
|
616121
|
+
if (maxVersion && gt("0.1.3", maxVersion)) {
|
|
616122
616122
|
const msg = await getMaxVersionMessage();
|
|
616123
616123
|
setMaxVersionIssue(msg ?? "affects your version");
|
|
616124
616124
|
}
|
|
616125
616125
|
const result = await installLatest(channel);
|
|
616126
|
-
const currentVersion = "0.1.
|
|
616126
|
+
const currentVersion = "0.1.3";
|
|
616127
616127
|
const latencyMs = Date.now() - startTime;
|
|
616128
616128
|
if (result.lockFailed) {
|
|
616129
616129
|
logEvent("tengu_native_auto_updater_lock_contention", {
|
|
@@ -616236,17 +616236,17 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
616236
616236
|
const maxVersion = await getMaxVersion();
|
|
616237
616237
|
if (maxVersion && latest && gt(latest, maxVersion)) {
|
|
616238
616238
|
logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
|
|
616239
|
-
if (gte("0.1.
|
|
616240
|
-
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.
|
|
616239
|
+
if (gte("0.1.3", maxVersion)) {
|
|
616240
|
+
logForDebugging(`PackageManagerAutoUpdater: current version ${"0.1.3"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
616241
616241
|
setUpdateAvailable(false);
|
|
616242
616242
|
return;
|
|
616243
616243
|
}
|
|
616244
616244
|
latest = maxVersion;
|
|
616245
616245
|
}
|
|
616246
|
-
const hasUpdate = latest && !gte("0.1.
|
|
616246
|
+
const hasUpdate = latest && !gte("0.1.3", latest) && !shouldSkipVersion(latest);
|
|
616247
616247
|
setUpdateAvailable(!!hasUpdate);
|
|
616248
616248
|
if (hasUpdate) {
|
|
616249
|
-
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.
|
|
616249
|
+
logForDebugging(`PackageManagerAutoUpdater: Update available ${"0.1.3"} -> ${latest}`);
|
|
616250
616250
|
}
|
|
616251
616251
|
};
|
|
616252
616252
|
$3[0] = t1;
|
|
@@ -616278,7 +616278,7 @@ function PackageManagerAutoUpdater(t0) {
|
|
|
616278
616278
|
t4 = verbose && /* @__PURE__ */ React410.createElement(ThemedText, {
|
|
616279
616279
|
dimColor: true,
|
|
616280
616280
|
wrap: "truncate"
|
|
616281
|
-
}, "currentVersion: ", "0.1.
|
|
616281
|
+
}, "currentVersion: ", "0.1.3");
|
|
616282
616282
|
$3[3] = verbose;
|
|
616283
616283
|
$3[4] = t4;
|
|
616284
616284
|
} else {
|
|
@@ -623500,7 +623500,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
|
|
|
623500
623500
|
project_dir: getOriginalCwd(),
|
|
623501
623501
|
added_dirs: addedDirs
|
|
623502
623502
|
},
|
|
623503
|
-
version: "0.1.
|
|
623503
|
+
version: "0.1.3",
|
|
623504
623504
|
output_style: {
|
|
623505
623505
|
name: outputStyleName
|
|
623506
623506
|
},
|
|
@@ -643129,7 +643129,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
|
|
|
643129
643129
|
} catch {}
|
|
643130
643130
|
const data = {
|
|
643131
643131
|
trigger,
|
|
643132
|
-
version: "0.1.
|
|
643132
|
+
version: "0.1.3",
|
|
643133
643133
|
platform: process.platform,
|
|
643134
643134
|
transcript,
|
|
643135
643135
|
subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
|
|
@@ -645044,7 +645044,7 @@ var init_tipRegistry = __esm(() => {
|
|
|
645044
645044
|
},
|
|
645045
645045
|
{
|
|
645046
645046
|
id: "git-worktrees",
|
|
645047
|
-
content: async () => "Use git worktrees to run multiple
|
|
645047
|
+
content: async () => "Use git worktrees to run multiple codez sessions in parallel.",
|
|
645048
645048
|
cooldownSessions: 10,
|
|
645049
645049
|
isRelevant: async () => {
|
|
645050
645050
|
try {
|
|
@@ -645058,7 +645058,7 @@ var init_tipRegistry = __esm(() => {
|
|
|
645058
645058
|
},
|
|
645059
645059
|
{
|
|
645060
645060
|
id: "color-when-multi-clauding",
|
|
645061
|
-
content: async () => "Running multiple
|
|
645061
|
+
content: async () => "Running multiple codez sessions? Use /color and /rename to tell them apart at a glance.",
|
|
645062
645062
|
cooldownSessions: 10,
|
|
645063
645063
|
isRelevant: async () => {
|
|
645064
645064
|
if (getCurrentSessionAgentColor())
|
|
@@ -654316,7 +654316,7 @@ function WelcomeV2() {
|
|
|
654316
654316
|
color: "claude"
|
|
654317
654317
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654318
654318
|
dimColor: true
|
|
654319
|
-
}, "v", "0.1.
|
|
654319
|
+
}, "v", "0.1.3", " "));
|
|
654320
654320
|
t17 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
654321
654321
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
654322
654322
|
t32 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
@@ -654420,7 +654420,7 @@ function WelcomeV2() {
|
|
|
654420
654420
|
color: "claude"
|
|
654421
654421
|
}, `Welcome to ${getProductName()}`, " "), /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654422
654422
|
dimColor: true
|
|
654423
|
-
}, "v", "0.1.
|
|
654423
|
+
}, "v", "0.1.3", " "));
|
|
654424
654424
|
t1 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, "…………………………………………………………………………………………………………………………………………………………");
|
|
654425
654425
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " ");
|
|
654426
654426
|
t3 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, null, " * █████▓▓░ ");
|
|
@@ -654547,7 +654547,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
654547
654547
|
if ($3[2] === Symbol.for("react.memo_cache_sentinel")) {
|
|
654548
654548
|
t22 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654549
654549
|
dimColor: true
|
|
654550
|
-
}, "v", "0.1.
|
|
654550
|
+
}, "v", "0.1.3", " ");
|
|
654551
654551
|
$3[2] = t22;
|
|
654552
654552
|
} else {
|
|
654553
654553
|
t22 = $3[2];
|
|
@@ -654685,7 +654685,7 @@ function AppleTerminalWelcomeV2(t0) {
|
|
|
654685
654685
|
if ($3[24] === Symbol.for("react.memo_cache_sentinel")) {
|
|
654686
654686
|
t2 = /* @__PURE__ */ import_react441.default.createElement(ThemedText, {
|
|
654687
654687
|
dimColor: true
|
|
654688
|
-
}, "v", "0.1.
|
|
654688
|
+
}, "v", "0.1.3", " ");
|
|
654689
654689
|
$3[24] = t2;
|
|
654690
654690
|
} else {
|
|
654691
654691
|
t2 = $3[24];
|
|
@@ -655007,10 +655007,10 @@ function Onboarding({
|
|
|
655007
655007
|
}, "Security notes:"), /* @__PURE__ */ import_react444.default.createElement(ThemedBox_default, {
|
|
655008
655008
|
flexDirection: "column",
|
|
655009
655009
|
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, "
|
|
655010
|
+
}, /* @__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
655011
|
dimColor: true,
|
|
655012
655012
|
wrap: "wrap"
|
|
655013
|
-
}, "You should always review
|
|
655013
|
+
}, "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
655014
|
dimColor: true,
|
|
655015
655015
|
wrap: "wrap"
|
|
655016
655016
|
}, "For more details see:", /* @__PURE__ */ import_react444.default.createElement(Newline, null), /* @__PURE__ */ import_react444.default.createElement(Link, {
|
|
@@ -655887,7 +655887,7 @@ function completeOnboarding() {
|
|
|
655887
655887
|
saveGlobalConfig((current) => ({
|
|
655888
655888
|
...current,
|
|
655889
655889
|
hasCompletedOnboarding: true,
|
|
655890
|
-
lastOnboardingVersion: "0.1.
|
|
655890
|
+
lastOnboardingVersion: "0.1.3"
|
|
655891
655891
|
}));
|
|
655892
655892
|
}
|
|
655893
655893
|
function showDialog(root2, renderer) {
|
|
@@ -660136,7 +660136,7 @@ function appendToLog(path24, message) {
|
|
|
660136
660136
|
cwd: getFsImplementation().cwd(),
|
|
660137
660137
|
userType: process.env.USER_TYPE,
|
|
660138
660138
|
sessionId: getSessionId(),
|
|
660139
|
-
version: "0.1.
|
|
660139
|
+
version: "0.1.3"
|
|
660140
660140
|
};
|
|
660141
660141
|
getLogWriter(path24).write(messageWithTimestamp);
|
|
660142
660142
|
}
|
|
@@ -664121,8 +664121,8 @@ async function getEnvLessBridgeConfig() {
|
|
|
664121
664121
|
}
|
|
664122
664122
|
async function checkEnvLessBridgeMinVersion() {
|
|
664123
664123
|
const cfg = await getEnvLessBridgeConfig();
|
|
664124
|
-
if (cfg.min_version && lt("0.1.
|
|
664125
|
-
return `Your version of codez (${"0.1.
|
|
664124
|
+
if (cfg.min_version && lt("0.1.3", cfg.min_version)) {
|
|
664125
|
+
return `Your version of codez (${"0.1.3"}) is too old for Remote Control.
|
|
664126
664126
|
Version ${cfg.min_version} or higher is required. Run \`claude update\` to update.`;
|
|
664127
664127
|
}
|
|
664128
664128
|
return null;
|
|
@@ -664596,7 +664596,7 @@ async function initBridgeCore(params) {
|
|
|
664596
664596
|
const rawApi = createBridgeApiClient({
|
|
664597
664597
|
baseUrl,
|
|
664598
664598
|
getAccessToken,
|
|
664599
|
-
runnerVersion: "0.1.
|
|
664599
|
+
runnerVersion: "0.1.3",
|
|
664600
664600
|
onDebug: logForDebugging,
|
|
664601
664601
|
onAuth401,
|
|
664602
664602
|
getTrustedDeviceToken
|
|
@@ -669795,7 +669795,7 @@ async function startMCPServer(cwd3, debug4, verbose) {
|
|
|
669795
669795
|
setCwd(cwd3);
|
|
669796
669796
|
const server = new Server({
|
|
669797
669797
|
name: "claude/tengu",
|
|
669798
|
-
version: "0.1.
|
|
669798
|
+
version: "0.1.3"
|
|
669799
669799
|
}, {
|
|
669800
669800
|
capabilities: {
|
|
669801
669801
|
tools: {}
|
|
@@ -671296,7 +671296,7 @@ __export(exports_update, {
|
|
|
671296
671296
|
});
|
|
671297
671297
|
async function update() {
|
|
671298
671298
|
logEvent("tengu_update_check", {});
|
|
671299
|
-
writeToStdout(`Current version: ${"0.1.
|
|
671299
|
+
writeToStdout(`Current version: ${"0.1.3"}
|
|
671300
671300
|
`);
|
|
671301
671301
|
const channel = getInitialSettings()?.autoUpdatesChannel ?? "latest";
|
|
671302
671302
|
writeToStdout(`Checking for updates to ${channel} version...
|
|
@@ -671371,8 +671371,8 @@ async function update() {
|
|
|
671371
671371
|
writeToStdout(`Claude is managed by Homebrew.
|
|
671372
671372
|
`);
|
|
671373
671373
|
const latest = await getLatestVersion(channel);
|
|
671374
|
-
if (latest && !gte("0.1.
|
|
671375
|
-
writeToStdout(`Update available: ${"0.1.
|
|
671374
|
+
if (latest && !gte("0.1.3", latest)) {
|
|
671375
|
+
writeToStdout(`Update available: ${"0.1.3"} → ${latest}
|
|
671376
671376
|
`);
|
|
671377
671377
|
writeToStdout(`
|
|
671378
671378
|
`);
|
|
@@ -671388,8 +671388,8 @@ async function update() {
|
|
|
671388
671388
|
writeToStdout(`Claude is managed by winget.
|
|
671389
671389
|
`);
|
|
671390
671390
|
const latest = await getLatestVersion(channel);
|
|
671391
|
-
if (latest && !gte("0.1.
|
|
671392
|
-
writeToStdout(`Update available: ${"0.1.
|
|
671391
|
+
if (latest && !gte("0.1.3", latest)) {
|
|
671392
|
+
writeToStdout(`Update available: ${"0.1.3"} → ${latest}
|
|
671393
671393
|
`);
|
|
671394
671394
|
writeToStdout(`
|
|
671395
671395
|
`);
|
|
@@ -671405,8 +671405,8 @@ async function update() {
|
|
|
671405
671405
|
writeToStdout(`Claude is managed by apk.
|
|
671406
671406
|
`);
|
|
671407
671407
|
const latest = await getLatestVersion(channel);
|
|
671408
|
-
if (latest && !gte("0.1.
|
|
671409
|
-
writeToStdout(`Update available: ${"0.1.
|
|
671408
|
+
if (latest && !gte("0.1.3", latest)) {
|
|
671409
|
+
writeToStdout(`Update available: ${"0.1.3"} → ${latest}
|
|
671410
671410
|
`);
|
|
671411
671411
|
writeToStdout(`
|
|
671412
671412
|
`);
|
|
@@ -671471,11 +671471,11 @@ async function update() {
|
|
|
671471
671471
|
`);
|
|
671472
671472
|
await gracefulShutdown(1);
|
|
671473
671473
|
}
|
|
671474
|
-
if (result.latestVersion === "0.1.
|
|
671475
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
671474
|
+
if (result.latestVersion === "0.1.3") {
|
|
671475
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.3"})`) + `
|
|
671476
671476
|
`);
|
|
671477
671477
|
} else {
|
|
671478
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
671478
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${result.latestVersion}`) + `
|
|
671479
671479
|
`);
|
|
671480
671480
|
await regenerateCompletionCache();
|
|
671481
671481
|
}
|
|
@@ -671535,12 +671535,12 @@ async function update() {
|
|
|
671535
671535
|
`);
|
|
671536
671536
|
await gracefulShutdown(1);
|
|
671537
671537
|
}
|
|
671538
|
-
if (latestVersion === "0.1.
|
|
671539
|
-
writeToStdout(source_default.green(`codez is up to date (${"0.1.
|
|
671538
|
+
if (latestVersion === "0.1.3") {
|
|
671539
|
+
writeToStdout(source_default.green(`codez is up to date (${"0.1.3"})`) + `
|
|
671540
671540
|
`);
|
|
671541
671541
|
await gracefulShutdown(0);
|
|
671542
671542
|
}
|
|
671543
|
-
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.
|
|
671543
|
+
writeToStdout(`New version available: ${latestVersion} (current: ${"0.1.3"})
|
|
671544
671544
|
`);
|
|
671545
671545
|
writeToStdout(`Installing update...
|
|
671546
671546
|
`);
|
|
@@ -671585,7 +671585,7 @@ async function update() {
|
|
|
671585
671585
|
logForDebugging(`update: Installation status: ${status2}`);
|
|
671586
671586
|
switch (status2) {
|
|
671587
671587
|
case "success":
|
|
671588
|
-
writeToStdout(source_default.green(`Successfully updated from ${"0.1.
|
|
671588
|
+
writeToStdout(source_default.green(`Successfully updated from ${"0.1.3"} to version ${latestVersion}`) + `
|
|
671589
671589
|
`);
|
|
671590
671590
|
await regenerateCompletionCache();
|
|
671591
671591
|
break;
|
|
@@ -672829,7 +672829,7 @@ ${customInstructions}` : customInstructions;
|
|
|
672829
672829
|
}
|
|
672830
672830
|
}
|
|
672831
672831
|
logForDiagnosticsNoPII("info", "started", {
|
|
672832
|
-
version: "0.1.
|
|
672832
|
+
version: "0.1.3",
|
|
672833
672833
|
is_native_binary: isInBundledMode()
|
|
672834
672834
|
});
|
|
672835
672835
|
registerCleanup(async () => {
|
|
@@ -673395,7 +673395,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
673395
673395
|
`);
|
|
673396
673396
|
process.stdout.write(`View: ${getRemoteSessionUrl(createdSession.id)}?m=0
|
|
673397
673397
|
`);
|
|
673398
|
-
process.stdout.write(`Resume with:
|
|
673398
|
+
process.stdout.write(`Resume with: codez --teleport ${createdSession.id}
|
|
673399
673399
|
`);
|
|
673400
673400
|
await gracefulShutdown(0);
|
|
673401
673401
|
process.exit(0);
|
|
@@ -673479,7 +673479,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
673479
673479
|
await gracefulShutdown(0);
|
|
673480
673480
|
}
|
|
673481
673481
|
} else {
|
|
673482
|
-
throw new TeleportOperationError(`You must run
|
|
673482
|
+
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
673483
|
`));
|
|
673484
673484
|
}
|
|
673485
673485
|
}
|
|
@@ -673613,7 +673613,7 @@ Usage: codez --remote "your task description"`, () => gracefulShutdown(1));
|
|
|
673613
673613
|
pendingHookMessages
|
|
673614
673614
|
}, renderAndRun);
|
|
673615
673615
|
}
|
|
673616
|
-
}).version("0.1.
|
|
673616
|
+
}).version("0.1.3", "-v, --version", "Output the version number");
|
|
673617
673617
|
program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
|
|
673618
673618
|
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
673619
|
if (canUserConfigureAdvisor()) {
|
|
@@ -674128,7 +674128,7 @@ async function main2() {
|
|
|
674128
674128
|
const args = process.argv.slice(2);
|
|
674129
674129
|
if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
|
|
674130
674130
|
const label = process.env.CLAUDE_CODE_USE_OPENAI === "1" ? "codez (OpenAI)" : "codez";
|
|
674131
|
-
console.log(`${"0.1.
|
|
674131
|
+
console.log(`${"0.1.3"} (${label})`);
|
|
674132
674132
|
return;
|
|
674133
674133
|
}
|
|
674134
674134
|
const {
|
|
@@ -674212,4 +674212,4 @@ async function main2() {
|
|
|
674212
674212
|
}
|
|
674213
674213
|
main2();
|
|
674214
674214
|
|
|
674215
|
-
//# debugId=
|
|
674215
|
+
//# debugId=ECE5B66E1A94DDDF64756E2164756E21
|