theus-cli 0.2.2 → 0.2.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.
Files changed (2) hide show
  1. package/cli.js +160 -207
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -58283,7 +58283,7 @@ async function _executeApiKeyHelper(isNonInteractiveSession) {
58283
58283
  if (isApiKeyHelperFromProjectOrLocalSettings()) {
58284
58284
  const hasTrust = checkHasTrustDialogAccepted();
58285
58285
  if (!hasTrust && !isNonInteractiveSession) {
58286
- const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58286
+ const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58287
58287
  logAntError("apiKeyHelper invoked before trust check", error40);
58288
58288
  logEvent("tengu_apiKeyHelper_missing_trust11", {});
58289
58289
  return null;
@@ -58327,7 +58327,7 @@ async function runAwsAuthRefresh() {
58327
58327
  if (isAwsAuthRefreshFromProjectSettings()) {
58328
58328
  const hasTrust = checkHasTrustDialogAccepted();
58329
58329
  if (!hasTrust && !getIsNonInteractiveSession()) {
58330
- const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58330
+ const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58331
58331
  logAntError("awsAuthRefresh invoked before trust check", error40);
58332
58332
  logEvent("tengu_awsAuthRefresh_missing_trust", {});
58333
58333
  return false;
@@ -58387,7 +58387,7 @@ async function getAwsCredsFromCredentialExport() {
58387
58387
  if (isAwsCredentialExportFromProjectSettings()) {
58388
58388
  const hasTrust = checkHasTrustDialogAccepted();
58389
58389
  if (!hasTrust && !getIsNonInteractiveSession()) {
58390
- const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58390
+ const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58391
58391
  logAntError("awsCredentialExport invoked before trust check", error40);
58392
58392
  logEvent("tengu_awsCredentialExport_missing_trust", {});
58393
58393
  return null;
@@ -58472,7 +58472,7 @@ async function runGcpAuthRefresh() {
58472
58472
  if (isGcpAuthRefreshFromProjectSettings()) {
58473
58473
  const hasTrust = checkHasTrustDialogAccepted();
58474
58474
  if (!hasTrust && !getIsNonInteractiveSession()) {
58475
- const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58475
+ const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58476
58476
  logAntError("gcpAuthRefresh invoked before trust check", error40);
58477
58477
  logEvent("tengu_gcpAuthRefresh_missing_trust", {});
58478
58478
  return false;
@@ -59167,7 +59167,7 @@ var init_auth = __esm(() => {
59167
59167
 
59168
59168
  // utils/userAgent.ts
59169
59169
  function getTheusCodeUserAgent() {
59170
- return `theus-code/${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`;
59170
+ return `theus-code/${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`;
59171
59171
  }
59172
59172
 
59173
59173
  // utils/workloadContext.ts
@@ -59189,7 +59189,7 @@ function getUserAgent() {
59189
59189
  const clientApp = process.env.THEUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}` : "";
59190
59190
  const workload = getWorkload();
59191
59191
  const workloadSuffix = workload ? `, workload/${workload}` : "";
59192
- return `theus-cli/${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (${process.env.USER_TYPE}, ${process.env.THEUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
59192
+ return `theus-cli/${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (${process.env.USER_TYPE}, ${process.env.THEUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
59193
59193
  }
59194
59194
  function getMCPUserAgent() {
59195
59195
  const parts = [];
@@ -59203,7 +59203,7 @@ function getMCPUserAgent() {
59203
59203
  parts.push(`client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}`);
59204
59204
  }
59205
59205
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
59206
- return `theus-code/${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}${suffix}`;
59206
+ return `theus-code/${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}${suffix}`;
59207
59207
  }
59208
59208
  function getWebFetchUserAgent() {
59209
59209
  return `Theus-User (${getTheusCodeUserAgent()}; +https://support.theus.pe/)`;
@@ -59341,7 +59341,7 @@ var init_user = __esm(() => {
59341
59341
  deviceId,
59342
59342
  sessionId: getSessionId(),
59343
59343
  email: getEmail(),
59344
- appVersion: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
59344
+ appVersion: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
59345
59345
  platform: getHostPlatformForAnalytics(),
59346
59346
  organizationUuid,
59347
59347
  accountUuid,
@@ -61056,7 +61056,7 @@ var init_metadata = __esm(() => {
61056
61056
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
61057
61057
  WHITESPACE_REGEX = /\s+/;
61058
61058
  getVersionBase = memoize_default(() => {
61059
- const match = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION.match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
61059
+ const match = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION.match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
61060
61060
  return match ? match[0] : undefined;
61061
61061
  });
61062
61062
  buildEnvContext = memoize_default(async () => {
@@ -61096,9 +61096,9 @@ var init_metadata = __esm(() => {
61096
61096
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
61097
61097
  isTheusCodeAction: isEnvTruthy(process.env.THEUS_CODE_ACTION),
61098
61098
  isTheusAiAuth: isTheusAISubscriber(),
61099
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
61099
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
61100
61100
  versionBase: getVersionBase(),
61101
- buildTime: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME,
61101
+ buildTime: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME,
61102
61102
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
61103
61103
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
61104
61104
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -61764,7 +61764,7 @@ function initialize1PEventLogging() {
61764
61764
  const platform2 = getPlatform();
61765
61765
  const attributes = {
61766
61766
  [ATTR_SERVICE_NAME]: "theus-code",
61767
- [ATTR_SERVICE_VERSION]: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
61767
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
61768
61768
  };
61769
61769
  if (platform2 === "wsl") {
61770
61770
  const wslVersion = getWslVersion();
@@ -61791,7 +61791,7 @@ function initialize1PEventLogging() {
61791
61791
  })
61792
61792
  ]
61793
61793
  });
61794
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
61794
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
61795
61795
  }
61796
61796
  async function reinitialize1PEventLoggingIfConfigChanged() {
61797
61797
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -63662,7 +63662,7 @@ function getAttributionHeader(fingerprint) {
63662
63662
  if (!isAttributionHeaderEnabled()) {
63663
63663
  return "";
63664
63664
  }
63665
- const version2 = `${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}.${fingerprint}`;
63665
+ const version2 = `${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}.${fingerprint}`;
63666
63666
  const entrypoint = process.env.THEUS_CODE_ENTRYPOINT ?? "unknown";
63667
63667
  const cch = "";
63668
63668
  const workload = getWorkload();
@@ -107180,7 +107180,7 @@ Complete the user's request by providing accurate, documentation-based guidance.
107180
107180
  }
107181
107181
  function getFeedbackGuideline() {
107182
107182
  if (isUsing3PServices()) {
107183
- return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`;
107183
+ return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`;
107184
107184
  }
107185
107185
  return "- When you cannot find an answer or the feature doesn't exist, direct the user to use /feedback to report a feature request or bug";
107186
107186
  }
@@ -165882,7 +165882,7 @@ function getTelemetryAttributes() {
165882
165882
  attributes["session.id"] = sessionId;
165883
165883
  }
165884
165884
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
165885
- attributes["app.version"] = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
165885
+ attributes["app.version"] = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
165886
165886
  }
165887
165887
  const oauthAccount = getOauthAccountInfo();
165888
165888
  if (oauthAccount) {
@@ -201928,7 +201928,7 @@ function getInstallationEnv() {
201928
201928
  return;
201929
201929
  }
201930
201930
  function getTheusCodeVersion() {
201931
- return { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
201931
+ return { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
201932
201932
  }
201933
201933
  async function getInstalledVSCodeExtensionVersion(command) {
201934
201934
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -203446,7 +203446,7 @@ async function getMcpHeadersFromHelper(serverName, config2) {
203446
203446
  if ("scope" in config2 && isMcpServerFromProjectOrLocalSettings(config2) && !getIsNonInteractiveSession()) {
203447
203447
  const hasTrust = checkHasTrustDialogAccepted();
203448
203448
  if (!hasTrust) {
203449
- const error40 = new Error(`Security: headersHelper for MCP server '${serverName}' executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
203449
+ const error40 = new Error(`Security: headersHelper for MCP server '${serverName}' executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
203450
203450
  logAntError("MCP headersHelper invoked before trust check", error40);
203451
203451
  logEvent("tengu_mcp_headersHelper_missing_trust", {});
203452
203452
  return null;
@@ -204656,7 +204656,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
204656
204656
  const client2 = new Client({
204657
204657
  name: "theus-code",
204658
204658
  title: "Theus",
204659
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
204659
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
204660
204660
  description: "Theus's agentic coding tool",
204661
204661
  websiteUrl: PRODUCT_URL
204662
204662
  }, {
@@ -205010,7 +205010,7 @@ var init_client5 = __esm(() => {
205010
205010
  const client2 = new Client({
205011
205011
  name: "theus-code",
205012
205012
  title: "Theus",
205013
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
205013
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
205014
205014
  description: "Theus's agentic coding tool",
205015
205015
  websiteUrl: PRODUCT_URL
205016
205016
  }, {
@@ -215569,7 +215569,7 @@ async function initializeBetaTracing(resource) {
215569
215569
  });
215570
215570
  logs.setGlobalLoggerProvider(loggerProvider);
215571
215571
  setLoggerProvider(loggerProvider);
215572
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215572
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215573
215573
  setEventLogger(eventLogger);
215574
215574
  process.on("beforeExit", async () => {
215575
215575
  await loggerProvider?.forceFlush();
@@ -215609,7 +215609,7 @@ async function initializeTelemetry() {
215609
215609
  const platform4 = getPlatform();
215610
215610
  const baseAttributes = {
215611
215611
  [ATTR_SERVICE_NAME]: "theus-code",
215612
- [ATTR_SERVICE_VERSION]: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
215612
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
215613
215613
  };
215614
215614
  if (platform4 === "wsl") {
215615
215615
  const wslVersion = getWslVersion();
@@ -215654,7 +215654,7 @@ async function initializeTelemetry() {
215654
215654
  } catch {}
215655
215655
  };
215656
215656
  registerCleanup(shutdownTelemetry2);
215657
- return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215657
+ return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215658
215658
  }
215659
215659
  const meterProvider = new MeterProvider({
215660
215660
  resource,
@@ -215674,7 +215674,7 @@ async function initializeTelemetry() {
215674
215674
  });
215675
215675
  logs.setGlobalLoggerProvider(loggerProvider);
215676
215676
  setLoggerProvider(loggerProvider);
215677
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215677
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215678
215678
  setEventLogger(eventLogger);
215679
215679
  logForDebugging("[3P telemetry] Event logger set successfully");
215680
215680
  process.on("beforeExit", async () => {
@@ -215736,7 +215736,7 @@ Current timeout: ${timeoutMs}ms
215736
215736
  }
215737
215737
  };
215738
215738
  registerCleanup(shutdownTelemetry);
215739
- return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215739
+ return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215740
215740
  }
215741
215741
  async function flushTelemetry() {
215742
215742
  const meterProvider = getMeterProvider();
@@ -216276,7 +216276,7 @@ async function installOrUpdateTheusPackage(channel2, specificVersion) {
216276
216276
  return "install_failed";
216277
216277
  }
216278
216278
  const versionSpec = specificVersion ? specificVersion : channel2 === "stable" ? "stable" : "latest";
216279
- const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${versionSpec}`], { cwd: getLocalInstallDir(), maxBuffer: 1e6 });
216279
+ const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${versionSpec}`], { cwd: getLocalInstallDir(), maxBuffer: 1e6 });
216280
216280
  if (result.code !== 0) {
216281
216281
  const error40 = new Error(`Failed to install Theus CLI package: ${result.stderr}`);
216282
216282
  logError2(error40);
@@ -216422,9 +216422,9 @@ async function assertMinVersion() {
216422
216422
  if (false) {}
216423
216423
  try {
216424
216424
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
216425
- if (versionConfig.minVersion && lt({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, versionConfig.minVersion)) {
216425
+ if (versionConfig.minVersion && lt({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, versionConfig.minVersion)) {
216426
216426
  console.error(`
216427
- It looks like your version of Theus (${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) needs an update.
216427
+ It looks like your version of Theus (${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) needs an update.
216428
216428
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
216429
216429
 
216430
216430
  To update, please run:
@@ -216565,7 +216565,7 @@ async function getInstallationPrefix() {
216565
216565
  return prefixResult.stdout.trim();
216566
216566
  }
216567
216567
  function getGlobalInstallPackageManager() {
216568
- if ({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL === "theus-cli") {
216568
+ if ({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL === "theus-cli") {
216569
216569
  return "npm";
216570
216570
  }
216571
216571
  return env3.isRunningWithBun() ? "bun" : "npm";
@@ -216590,7 +216590,7 @@ async function checkGlobalInstallPermissions() {
216590
216590
  }
216591
216591
  async function getLatestVersion(channel2) {
216592
216592
  const npmTag = channel2 === "stable" ? "stable" : "latest";
216593
- const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag}`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216593
+ const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag}`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216594
216594
  if (result.code !== 0) {
216595
216595
  logForDebugging(`npm view failed with code ${result.code}`);
216596
216596
  if (result.stderr) {
@@ -216606,7 +216606,7 @@ async function getLatestVersion(channel2) {
216606
216606
  return result.stdout.trim();
216607
216607
  }
216608
216608
  async function getNpmDistTags() {
216609
- const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL, "dist-tags", "--json", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216609
+ const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL, "dist-tags", "--json", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216610
216610
  if (result.code !== 0) {
216611
216611
  logForDebugging(`npm view dist-tags failed with code ${result.code}`);
216612
216612
  return { latest: null, stable: null };
@@ -216646,7 +216646,7 @@ async function installGlobalPackage(specificVersion) {
216646
216646
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
216647
216647
  logEvent("tengu_auto_updater_lock_contention", {
216648
216648
  pid: process.pid,
216649
- currentVersion: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216649
+ currentVersion: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216650
216650
  });
216651
216651
  return "in_progress";
216652
216652
  }
@@ -216655,7 +216655,7 @@ async function installGlobalPackage(specificVersion) {
216655
216655
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
216656
216656
  logError2(new Error("Windows NPM detected in WSL environment"));
216657
216657
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
216658
- currentVersion: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216658
+ currentVersion: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216659
216659
  });
216660
216660
  console.error(`
216661
216661
  Error: Windows NPM detected in WSL
@@ -216674,7 +216674,7 @@ To fix this issue:
216674
216674
  if (!hasPermissions) {
216675
216675
  return "no_permissions";
216676
216676
  }
216677
- const packageSpec = specificVersion ? `${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${specificVersion}` : { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL;
216677
+ const packageSpec = specificVersion ? `${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${specificVersion}` : { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL;
216678
216678
  const packageManager = getGlobalInstallPackageManager();
216679
216679
  const installResult = await execFileNoThrowWithCwd(packageManager, ["install", "-g", packageSpec], { cwd: homedir18() });
216680
216680
  if (installResult.code !== 0) {
@@ -217002,8 +217002,8 @@ async function detectMultipleInstallations() {
217002
217002
  installations.push({ type: "npm-local", path: localPath });
217003
217003
  }
217004
217004
  const packagesToCheck = ["@theus-ai/theus-code"];
217005
- if ({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
217006
- packagesToCheck.push({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
217005
+ if ({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
217006
+ packagesToCheck.push({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
217007
217007
  }
217008
217008
  const npmResult = await execFileNoThrow("npm", [
217009
217009
  "-g",
@@ -217186,7 +217186,7 @@ function detectLinuxGlobPatternWarnings() {
217186
217186
  }
217187
217187
  async function getDoctorDiagnostic() {
217188
217188
  const installationType = await getCurrentInstallationType();
217189
- const version2 = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ? { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION : "unknown";
217189
+ const version2 = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ? { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION : "unknown";
217190
217190
  const installationPath = await getInstallationPath();
217191
217191
  const invokedBinary = getInvokedBinary();
217192
217192
  const multipleInstallations = await detectMultipleInstallations();
@@ -217198,8 +217198,8 @@ async function getDoctorDiagnostic() {
217198
217198
  for (const install of npmInstalls) {
217199
217199
  if (install.type === "npm-global") {
217200
217200
  let uninstallCmd = "npm -g uninstall @theus-ai/theus-code";
217201
- if ({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
217202
- uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`;
217201
+ if ({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
217202
+ uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`;
217203
217203
  }
217204
217204
  warnings.push({
217205
217205
  issue: `Leftover npm global installation at ${install.path}`,
@@ -217311,7 +217311,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
217311
217311
  const startTime2 = Date.now();
217312
217312
  const { stdout, code, stderr } = await execFileNoThrowWithCwd("npm", [
217313
217313
  "view",
217314
- `${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2}`,
217314
+ `${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2}`,
217315
217315
  "version",
217316
217316
  "--prefer-online",
217317
217317
  "--registry",
@@ -217335,7 +217335,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
217335
217335
  latency_ms: latencyMs,
217336
217336
  source_npm: true
217337
217337
  });
217338
- logForDebugging(`npm view ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2} version: ${stdout}`);
217338
+ logForDebugging(`npm view ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2} version: ${stdout}`);
217339
217339
  const latestVersion = stdout.trim();
217340
217340
  return latestVersion;
217341
217341
  }
@@ -217391,7 +217391,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217391
217391
  const fs3 = getFsImplementation();
217392
217392
  await fs3.rm(stagingPath, { recursive: true, force: true });
217393
217393
  const platform4 = getPlatform2();
217394
- const platformPackageName = `${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}-${platform4}`;
217394
+ const platformPackageName = `${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}-${platform4}`;
217395
217395
  logForDebugging(`Fetching integrity hash for ${platformPackageName}@${version2}`);
217396
217396
  const {
217397
217397
  stdout: integrityOutput,
@@ -217420,7 +217420,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217420
217420
  name: "theus-native-installer",
217421
217421
  version: "0.0.1",
217422
217422
  dependencies: {
217423
- [{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217423
+ [{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217424
217424
  }
217425
217425
  };
217426
217426
  const packageLock = {
@@ -217433,10 +217433,10 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217433
217433
  name: "theus-native-installer",
217434
217434
  version: "0.0.1",
217435
217435
  dependencies: {
217436
- [{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217436
+ [{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217437
217437
  }
217438
217438
  },
217439
- [`node_modules/${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}`]: {
217439
+ [`node_modules/${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}`]: {
217440
217440
  version: version2,
217441
217441
  optionalDependencies: {
217442
217442
  [platformPackageName]: version2
@@ -217458,7 +217458,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217458
217458
  if (result.code !== 0) {
217459
217459
  throw new Error(`npm ci failed with code ${result.code}: ${result.stderr}`);
217460
217460
  }
217461
- logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${version2}`);
217461
+ logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${version2}`);
217462
217462
  }
217463
217463
  function getStallTimeoutMs() {
217464
217464
  return Number(process.env.THEUS_CODE_STALL_TIMEOUT_MS_FOR_TESTING) || DEFAULT_STALL_TIMEOUT_MS;
@@ -218121,8 +218121,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
218121
218121
  const maxVersion = await getMaxVersion();
218122
218122
  if (maxVersion && gt(version2, maxVersion)) {
218123
218123
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
218124
- if (gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
218125
- logForDebugging(`Native installer: current version ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
218124
+ if (gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
218125
+ logForDebugging(`Native installer: current version ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
218126
218126
  logEvent("tengu_native_update_skipped_max_version", {
218127
218127
  latency_ms: Date.now() - startTime2,
218128
218128
  max_version: maxVersion,
@@ -218133,7 +218133,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
218133
218133
  version2 = maxVersion;
218134
218134
  }
218135
218135
  }
218136
- if (!forceReinstall && version2 === { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION && await versionIsAvailable(version2) && await isPossibleTheusBinary(executablePath)) {
218136
+ if (!forceReinstall && version2 === { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION && await versionIsAvailable(version2) && await isPossibleTheusBinary(executablePath)) {
218137
218137
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
218138
218138
  logEvent("tengu_native_update_complete", {
218139
218139
  latency_ms: Date.now() - startTime2,
@@ -218883,8 +218883,8 @@ async function cleanupNpmInstallations() {
218883
218883
  } else if (codePackageResult.error) {
218884
218884
  errors4.push(codePackageResult.error);
218885
218885
  }
218886
- if ({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
218887
- const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
218886
+ if ({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
218887
+ const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
218888
218888
  if (macroPackageResult.success) {
218889
218889
  removed++;
218890
218890
  if (macroPackageResult.warning) {
@@ -219817,84 +219817,30 @@ var SPINNER_VERBS;
219817
219817
  var init_spinnerVerbs = __esm(() => {
219818
219818
  init_settings2();
219819
219819
  SPINNER_VERBS = [
219820
- "Analizando",
219821
- "Afinando",
219822
- "Armando",
219823
- "Arquitecturando",
219824
- "Articulando",
219825
- "Calculando",
219826
- "Calibrando",
219827
- "Cavilando",
219828
- "Cocinando",
219829
- "Compilando",
219830
- "Componiendo",
219831
- "Conectando",
219832
- "Construyendo",
219833
- "Contemplando",
219834
- "Craneando",
219835
- "Creando",
219836
- "Cristalizando",
219837
- "Curando",
219838
- "Descifrando",
219839
- "Desenredando",
219840
- "Destilando",
219841
- "Devanando",
219842
- "Diagramando",
219843
- "Dibujando",
219844
- "Dise\xF1ando",
219845
- "Elaborando",
219846
- "Elucubrando",
219847
- "Enhebrando",
219848
- "Ensamblando",
219849
- "Esbozando",
219850
- "Escribiendo",
219851
- "Estructurando",
219852
- "Evaluando",
219853
- "Explorando",
219854
219820
  "Forjando",
219855
- "Formulando",
219856
- "Germinando",
219857
- "Hilando",
219858
- "Horneando",
219859
- "Ideando",
219860
- "Iluminando",
219861
- "Imaginando",
219862
- "Indagando",
219863
- "Infiriendo",
219864
- "Integrando",
219865
- "Investigando",
219866
- "Iterando",
219867
- "Maquinando",
219868
- "Meditando",
219869
- "Modelando",
219870
- "Moldeando",
219871
- "Navegando",
219872
- "Orquestando",
219873
- "Organizando",
219874
- "Pensando",
219875
- "Perfilando",
219876
- "Planificando",
219877
- "Ponderando",
219878
- "Preparando",
219879
- "Procesando",
219880
- "Programando",
219821
+ "Templando",
219822
+ "Fundiendo",
219823
+ "Martillando",
219881
219824
  "Puliendo",
219882
- "Razonando",
219883
- "Recopilando",
219884
- "Refinando",
219885
- "Reflexionando",
219886
- "Resolviendo",
219887
- "Revisando",
219888
- "Rumiando",
219889
- "Sintetizando",
219890
- "Sopesando",
219891
- "Tejiendo",
219892
- "Trabajando",
219893
- "Tramando",
219825
+ "Encendiendo",
219826
+ "Avivando",
219827
+ "Soplando brasas",
219828
+ "Moldeando",
219829
+ "Cincelando",
219830
+ "Grabando",
219894
219831
  "Trazando",
219832
+ "Hilando",
219833
+ "Tejiendo",
219895
219834
  "Urdiendo",
219896
- "Validando",
219897
- "Verificando"
219835
+ "Destilando",
219836
+ "Decantando",
219837
+ "Afilando",
219838
+ "Ensamblando",
219839
+ "Remachando",
219840
+ "Bru\xF1endo",
219841
+ "Calibrando",
219842
+ "Aleando",
219843
+ "Vetando escoria"
219898
219844
  ];
219899
219845
  });
219900
219846
 
@@ -220925,10 +220871,7 @@ var init_useTasksV2 = __esm(() => {
220925
220871
 
220926
220872
  // components/Spinner/utils.ts
220927
220873
  function getDefaultCharacters() {
220928
- if (process.env.TERM === "xterm-ghostty") {
220929
- return ["\xB7", "\u2722", "\u2733", "\u2736", "\u273B", "*"];
220930
- }
220931
- return process.platform === "darwin" ? ["\xB7", "\u2722", "\u2733", "\u2736", "\u273B", "\u273D"] : ["\xB7", "\u2722", "*", "\u2736", "\u273B", "\u273D"];
220874
+ return ["\u2190", "\u2196", "\u2191", "\u2197", "\u2192", "\u2198", "\u2193", "\u2199"];
220932
220875
  }
220933
220876
  function interpolateColor(color1, color2, t) {
220934
220877
  return {
@@ -221908,14 +221851,14 @@ function isBackgroundTask(task) {
221908
221851
  var TURN_COMPLETION_VERBS;
221909
221852
  var init_turnCompletionVerbs = __esm(() => {
221910
221853
  TURN_COMPLETION_VERBS = [
221911
- "Baked",
221912
- "Brewed",
221913
- "Churned",
221914
- "Cogitated",
221915
- "Cooked",
221916
- "Crunched",
221917
- "Saut\xE9ed",
221918
- "Worked"
221854
+ "Forjado",
221855
+ "Templado",
221856
+ "Fundido",
221857
+ "Martillado",
221858
+ "Pulido",
221859
+ "Cincelado",
221860
+ "Destilado",
221861
+ "Bru\xF1ido"
221919
221862
  ];
221920
221863
  });
221921
221864
 
@@ -226995,7 +226938,7 @@ function TeammateSpinnerLine({
226995
226938
  dimColor: true,
226996
226939
  children: [
226997
226940
  pastTenseVerb,
226998
- " for ",
226941
+ " en ",
226999
226942
  displayTime
227000
226943
  ]
227001
226944
  });
@@ -237130,7 +237073,7 @@ function TurnDurationMessage(t0) {
237130
237073
  } else {
237131
237074
  t6 = $2[8];
237132
237075
  }
237133
- const t7 = showTurnDuration && `${verb} for ${duration3}`;
237076
+ const t7 = showTurnDuration && `${verb} en ${duration3}`;
237134
237077
  const t8 = backgroundTaskSummary && ` \xB7 ${backgroundTaskSummary} still running`;
237135
237078
  let t9;
237136
237079
  if ($2[9] !== budgetSuffix || $2[10] !== t7 || $2[11] !== t8) {
@@ -237171,7 +237114,7 @@ function TurnDurationMessage(t0) {
237171
237114
  return t10;
237172
237115
  }
237173
237116
  function _temp43() {
237174
- return sample_default(TURN_COMPLETION_VERBS) ?? "Worked";
237117
+ return sample_default(TURN_COMPLETION_VERBS) ?? "Forjado";
237175
237118
  }
237176
237119
  function MemorySavedMessage(t0) {
237177
237120
  const $2 = c3(16);
@@ -296227,9 +296170,9 @@ function getTheusEnvMetadata() {
296227
296170
  };
296228
296171
  }
296229
296172
  function getBuildAgeMinutes() {
296230
- if (!{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME)
296173
+ if (!{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME)
296231
296174
  return;
296232
- const buildTime = new Date({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME).getTime();
296175
+ const buildTime = new Date({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME).getTime();
296233
296176
  if (isNaN(buildTime))
296234
296177
  return;
296235
296178
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -312459,7 +312402,7 @@ function getAssistantMessageFromError(error40, model, options2) {
312459
312402
  if (process.env.USER_TYPE === "ant") {
312460
312403
  const baseMessage = `API Error: 400 ${error40.message}
312461
312404
 
312462
- Run /share and post the JSON file to ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`;
312405
+ Run /share and post the JSON file to ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`;
312463
312406
  const rewindInstruction = getIsNonInteractiveSession() ? "" : " Then, use /rewind to recover the conversation.";
312464
312407
  return createAssistantAPIErrorMessage({
312465
312408
  content: baseMessage + rewindInstruction,
@@ -312495,7 +312438,7 @@ Run /share and post the JSON file to ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-
312495
312438
  if (process.env.USER_TYPE === "ant" && !process.env.THEUS_MODEL && error40 instanceof Error && error40.message.toLowerCase().includes("invalid model name")) {
312496
312439
  const orgId = getOauthAccountInfo()?.organizationUuid;
312497
312440
  const baseMsg = `[THEUS-INTERNAL] Your org isn't gated into the \`${model}\` model. Either run \`theus\` with \`THEUS_MODEL=${getDefaultMainLoopModelSetting()}\``;
312498
- const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.` : `${baseMsg} or reach out in ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.`;
312441
+ const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.` : `${baseMsg} or reach out in ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.`;
312499
312442
  return createAssistantAPIErrorMessage({
312500
312443
  content: msg,
312501
312444
  error: "invalid_request"
@@ -322595,7 +322538,7 @@ function buildPrimarySection() {
322595
322538
  });
322596
322539
  return [{
322597
322540
  label: "Version",
322598
- value: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
322541
+ value: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
322599
322542
  }, {
322600
322543
  label: "Session name",
322601
322544
  value: nameValue
@@ -326346,7 +326289,7 @@ function Config({
326346
326289
  }
326347
326290
  })
326348
326291
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime181.jsx(ChannelDowngradeDialog, {
326349
- currentVersion: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
326292
+ currentVersion: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
326350
326293
  onChoice: (choice) => {
326351
326294
  setShowSubmenu(null);
326352
326295
  setTabsHidden(false);
@@ -326358,7 +326301,7 @@ function Config({
326358
326301
  autoUpdatesChannel: "stable"
326359
326302
  };
326360
326303
  if (choice === "stay") {
326361
- newSettings.minimumVersion = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
326304
+ newSettings.minimumVersion = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
326362
326305
  }
326363
326306
  updateSettingsForSource("userSettings", newSettings);
326364
326307
  setSettingsData((prev_27) => ({
@@ -334392,7 +334335,7 @@ function HelpV2(t0) {
334392
334335
  let t6;
334393
334336
  if ($2[31] !== tabs) {
334394
334337
  t6 = /* @__PURE__ */ jsx_runtime208.jsx(Tabs, {
334395
- title: `Theus v${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`,
334338
+ title: `Theus v${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`,
334396
334339
  color: "professionalBlue",
334397
334340
  defaultTab: "general",
334398
334341
  children: tabs
@@ -351116,6 +351059,16 @@ var init_mcp3 = __esm(() => {
351116
351059
  var NOVEDADES;
351117
351060
  var init_data = __esm(() => {
351118
351061
  NOVEDADES = [
351062
+ {
351063
+ version: "v0.2.3",
351064
+ fecha: "2026-07-11",
351065
+ titulo: "La voz de la forja en cada turno",
351066
+ puntos: [
351067
+ "Wording nuevo de punta a punta: el spinner ahora forja, templa, funde y pule (\xABForjando\u2026\xBB, \xABTemplando\u2026\xBB), y cada turno cierra en espa\xF1ol: \xABForjado en 57s\xBB en vez de \xABCogitated for 57s\xBB.",
351068
+ "Nueva animaci\xF3n de carga: una flecha giratoria \u2014 limpia, estable en cualquier terminal.",
351069
+ "Tus propios verbos siguen soportados v\xEDa settings (spinnerVerbs, modo replace o append)."
351070
+ ]
351071
+ },
351119
351072
  {
351120
351073
  version: "v0.2.2",
351121
351074
  fecha: "2026-07-11",
@@ -351973,9 +351926,9 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
351973
351926
  return [];
351974
351927
  }
351975
351928
  }
351976
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
351929
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
351977
351930
  if (process.env.USER_TYPE === "ant") {
351978
- const changelog = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION_CHANGELOG;
351931
+ const changelog = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION_CHANGELOG;
351979
351932
  if (changelog) {
351980
351933
  const commits = changelog.trim().split(`
351981
351934
  `).filter(Boolean);
@@ -356197,7 +356150,7 @@ var init_Messages = __esm(() => {
356197
356150
  let t1;
356198
356151
  if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
356199
356152
  t1 = /* @__PURE__ */ jsx_runtime246.jsx(TheusSessionHeader, {
356200
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
356153
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
356201
356154
  });
356202
356155
  $2[0] = t1;
356203
356156
  } else {
@@ -383737,7 +383690,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
383737
383690
  smapsRollup,
383738
383691
  platform: process.platform,
383739
383692
  nodeVersion: process.version,
383740
- ccVersion: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
383693
+ ccVersion: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
383741
383694
  };
383742
383695
  }
383743
383696
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -384323,7 +384276,7 @@ var init_bridge_kick = __esm(() => {
384323
384276
  var call55 = async () => {
384324
384277
  return {
384325
384278
  type: "text",
384326
- value: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME ? `${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (built ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME})` : { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
384279
+ value: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME ? `${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (built ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME})` : { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
384327
384280
  };
384328
384281
  }, version2, version_default;
384329
384282
  var init_version = __esm(() => {
@@ -388168,13 +388121,13 @@ async function updateReleaseBundle() {
388168
388121
  await gracefulShutdown(1);
388169
388122
  return;
388170
388123
  }
388171
- if (gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388172
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388124
+ if (gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388125
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388173
388126
  `);
388174
388127
  await gracefulShutdown(0);
388175
388128
  return;
388176
388129
  }
388177
- writeToStdout(`New version available: ${latest} (current: ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
388130
+ writeToStdout(`New version available: ${latest} (current: ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
388178
388131
  `);
388179
388132
  writeToStdout(`Installing update from theus.pe/dl...
388180
388133
  `);
@@ -388208,7 +388161,7 @@ async function updateReleaseBundle() {
388208
388161
  return;
388209
388162
  }
388210
388163
  cpSync(staged, bundleDir, { recursive: true, force: true });
388211
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${latest}`) + `
388164
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${latest}`) + `
388212
388165
  `);
388213
388166
  await regenerateCompletionCache();
388214
388167
  } finally {
@@ -388221,7 +388174,7 @@ async function updateReleaseBundle() {
388221
388174
  async function update() {
388222
388175
  logEvent("tengu_update_check", {});
388223
388176
  await updateNaupa();
388224
- writeToStdout(`Current version: ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
388177
+ writeToStdout(`Current version: ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
388225
388178
  `);
388226
388179
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
388227
388180
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -388300,8 +388253,8 @@ async function update() {
388300
388253
  writeToStdout(`Theus is managed by Homebrew.
388301
388254
  `);
388302
388255
  const latest = await getLatestVersion(channel2);
388303
- if (latest && !gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388304
- writeToStdout(`Update available: ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388256
+ if (latest && !gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388257
+ writeToStdout(`Update available: ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388305
388258
  `);
388306
388259
  writeToStdout(`
388307
388260
  `);
@@ -388317,8 +388270,8 @@ async function update() {
388317
388270
  writeToStdout(`Theus is managed by winget.
388318
388271
  `);
388319
388272
  const latest = await getLatestVersion(channel2);
388320
- if (latest && !gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388321
- writeToStdout(`Update available: ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388273
+ if (latest && !gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388274
+ writeToStdout(`Update available: ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388322
388275
  `);
388323
388276
  writeToStdout(`
388324
388277
  `);
@@ -388334,8 +388287,8 @@ async function update() {
388334
388287
  writeToStdout(`Theus is managed by apk.
388335
388288
  `);
388336
388289
  const latest = await getLatestVersion(channel2);
388337
- if (latest && !gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388338
- writeToStdout(`Update available: ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388290
+ if (latest && !gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388291
+ writeToStdout(`Update available: ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388339
388292
  `);
388340
388293
  writeToStdout(`
388341
388294
  `);
@@ -388400,11 +388353,11 @@ async function update() {
388400
388353
  `);
388401
388354
  await gracefulShutdown(1);
388402
388355
  }
388403
- if (result.latestVersion === { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
388404
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388356
+ if (result.latestVersion === { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
388357
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388405
388358
  `);
388406
388359
  } else {
388407
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${result.latestVersion}`) + `
388360
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${result.latestVersion}`) + `
388408
388361
  `);
388409
388362
  await regenerateCompletionCache();
388410
388363
  }
@@ -388423,9 +388376,9 @@ async function update() {
388423
388376
  await removeInstalledSymlink();
388424
388377
  }
388425
388378
  logForDebugging("update: Checking npm registry for latest version");
388426
- logForDebugging(`update: Package URL: ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`);
388379
+ logForDebugging(`update: Package URL: ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`);
388427
388380
  const npmTag = channel2 === "stable" ? "stable" : "latest";
388428
- const npmCommand = `npm view ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag} version`;
388381
+ const npmCommand = `npm view ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag} version`;
388429
388382
  logForDebugging(`update: Running: ${npmCommand}`);
388430
388383
  const latestVersion = await getLatestVersion(channel2);
388431
388384
  logForDebugging(`update: Latest version from npm: ${latestVersion || "FAILED"}`);
@@ -388445,7 +388398,7 @@ async function update() {
388445
388398
  `);
388446
388399
  process.stderr.write(` \u2022 Corporate proxy/firewall blocking npm
388447
388400
  `);
388448
- if ({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && !{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL.startsWith("@theus")) {
388401
+ if ({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && !{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL.startsWith("@theus")) {
388449
388402
  process.stderr.write(` \u2022 Internal/development build not published to npm
388450
388403
  `);
388451
388404
  }
@@ -388457,19 +388410,19 @@ async function update() {
388457
388410
  `);
388458
388411
  process.stderr.write(` \u2022 Run with --debug flag for more details
388459
388412
  `);
388460
- const packageName = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL || (process.env.USER_TYPE === "ant" ? "@theus-ai/theus-cli" : "@theus-ai/theus-code");
388413
+ const packageName = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL || (process.env.USER_TYPE === "ant" ? "@theus-ai/theus-cli" : "@theus-ai/theus-code");
388461
388414
  process.stderr.write(` \u2022 Manually check: npm view ${packageName} version
388462
388415
  `);
388463
388416
  process.stderr.write(` \u2022 Check if you need to login: npm whoami
388464
388417
  `);
388465
388418
  await gracefulShutdown(1);
388466
388419
  }
388467
- if (gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latestVersion)) {
388468
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388420
+ if (gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latestVersion)) {
388421
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388469
388422
  `);
388470
388423
  await gracefulShutdown(0);
388471
388424
  }
388472
- writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
388425
+ writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
388473
388426
  `);
388474
388427
  writeToStdout(`Installing update...
388475
388428
  `);
@@ -388514,7 +388467,7 @@ async function update() {
388514
388467
  logForDebugging(`update: Installation status: ${status2}`);
388515
388468
  switch (status2) {
388516
388469
  case "success":
388517
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${latestVersion}`) + `
388470
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${latestVersion}`) + `
388518
388471
  `);
388519
388472
  await regenerateCompletionCache();
388520
388473
  break;
@@ -388524,7 +388477,7 @@ async function update() {
388524
388477
  if (useLocalUpdate) {
388525
388478
  process.stderr.write(`Try manually updating with:
388526
388479
  `);
388527
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
388480
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
388528
388481
  `);
388529
388482
  } else {
388530
388483
  process.stderr.write(`Try running with sudo or fix npm permissions
@@ -388540,7 +388493,7 @@ async function update() {
388540
388493
  if (useLocalUpdate) {
388541
388494
  process.stderr.write(`Try manually updating with:
388542
388495
  `);
388543
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
388496
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
388544
388497
  `);
388545
388498
  } else {
388546
388499
  process.stderr.write(`Or consider using native installation with: theus install
@@ -395441,7 +395394,7 @@ var init_sessionStorage = __esm(() => {
395441
395394
  init_settings2();
395442
395395
  init_slowOperations();
395443
395396
  init_uuid();
395444
- VERSION4 = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
395397
+ VERSION4 = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
395445
395398
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
395446
395399
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
395447
395400
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -396646,7 +396599,7 @@ var init_filesystem = __esm(() => {
396646
396599
  });
396647
396600
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
396648
396601
  const nonce = randomBytes21(16).toString("hex");
396649
- return join144(getTheusTempDir(), "bundled-skills", { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, nonce);
396602
+ return join144(getTheusTempDir(), "bundled-skills", { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, nonce);
396650
396603
  });
396651
396604
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
396652
396605
  });
@@ -401821,7 +401774,7 @@ function getSimpleDoingTasksSection() {
401821
401774
  ];
401822
401775
  const userHelpSubitems = [
401823
401776
  `/help: Get help with using Theus`,
401824
- `To give feedback, users should ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`
401777
+ `To give feedback, users should ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`
401825
401778
  ];
401826
401779
  const items = [
401827
401780
  `The user will primarily request you to perform software engineering tasks. These may include solving bugs, adding new functionality, refactoring code, explaining code, and more. When given an unclear or generic instruction, consider it in the context of these software engineering tasks and the current working directory. For example, if the user asks you to change "methodName" to snake case, do not reply with just "method_name", instead find the method in the code and modify the code.`,
@@ -402644,7 +402597,7 @@ function computeFingerprint(messageText, version3) {
402644
402597
  }
402645
402598
  function computeFingerprintFromMessages(messages) {
402646
402599
  const firstMessageText = extractFirstMessageText(messages);
402647
- return computeFingerprint(firstMessageText, { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
402600
+ return computeFingerprint(firstMessageText, { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
402648
402601
  }
402649
402602
  var FINGERPRINT_SALT = "59cf53e54c78";
402650
402603
  var init_fingerprint = () => {};
@@ -405168,7 +405121,7 @@ async function sideQuery(opts) {
405168
405121
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
405169
405122
  }
405170
405123
  const messageText = extractFirstUserMessageText(messages);
405171
- const fingerprint = computeFingerprint(messageText, { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
405124
+ const fingerprint = computeFingerprint(messageText, { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
405172
405125
  const attributionHeader = getAttributionHeader(fingerprint);
405173
405126
  const systemBlocks = [
405174
405127
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -406471,7 +406424,7 @@ async function handleMemories(state) {
406471
406424
  async function runProjectContextMcpServer() {
406472
406425
  const projectRoot = process.env.THEUS_PROJECT_ROOT || process.cwd();
406473
406426
  const state = new ProjectContextState(projectRoot);
406474
- const server = new Server({ name: SERVER_NAME, version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION }, { capabilities: { tools: {} } });
406427
+ const server = new Server({ name: SERVER_NAME, version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION }, { capabilities: { tools: {} } });
406475
406428
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
406476
406429
  tools: TOOL_DEFINITIONS.map((t) => ({
406477
406430
  name: t.name,
@@ -412148,7 +412101,7 @@ function buildSystemInitMessage(inputs) {
412148
412101
  slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
412149
412102
  apiKeySource: getTheusApiKeyWithSource().source,
412150
412103
  betas: getSdkBetas(),
412151
- theus_code_version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
412104
+ theus_code_version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
412152
412105
  output_style: outputStyle2,
412153
412106
  agents: inputs.agents.map((agent) => agent.agentType),
412154
412107
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -426782,7 +426735,7 @@ var init_useVoiceEnabled = __esm(() => {
426782
426735
  function getSemverPart(version3) {
426783
426736
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
426784
426737
  }
426785
- function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
426738
+ function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
426786
426739
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react215.useState(() => getSemverPart(initialVersion));
426787
426740
  if (!updatedVersion) {
426788
426741
  return null;
@@ -426822,7 +426775,7 @@ function AutoUpdater({
426822
426775
  return;
426823
426776
  }
426824
426777
  if (false) {}
426825
- const currentVersion = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
426778
+ const currentVersion = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
426826
426779
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
426827
426780
  let latestVersion = await getLatestVersion(channel2);
426828
426781
  const isDisabled2 = isAutoUpdaterDisabled();
@@ -426958,7 +426911,7 @@ function AutoUpdater({
426958
426911
  " ",
426959
426912
  /* @__PURE__ */ jsx_runtime384.jsx(ThemedText, {
426960
426913
  bold: true,
426961
- children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}` : `npm i -g ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`
426914
+ children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}` : `npm i -g ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`
426962
426915
  })
426963
426916
  ]
426964
426917
  })
@@ -427035,12 +426988,12 @@ function NativeAutoUpdater({
427035
426988
  logEvent("tengu_native_auto_updater_start", {});
427036
426989
  try {
427037
426990
  const maxVersion = await getMaxVersion();
427038
- if (maxVersion && gt({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
426991
+ if (maxVersion && gt({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
427039
426992
  const msg = await getMaxVersionMessage();
427040
426993
  setMaxVersionIssue(msg ?? "affects your version");
427041
426994
  }
427042
426995
  const result = await installLatest(channel2);
427043
- const currentVersion = { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
426996
+ const currentVersion = { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
427044
426997
  const latencyMs = Date.now() - startTime2;
427045
426998
  if (result.lockFailed) {
427046
426999
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -427177,17 +427130,17 @@ function PackageManagerAutoUpdater(t0) {
427177
427130
  const maxVersion = await getMaxVersion();
427178
427131
  if (maxVersion && latest && gt(latest, maxVersion)) {
427179
427132
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
427180
- if (gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
427181
- logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
427133
+ if (gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
427134
+ logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
427182
427135
  setUpdateAvailable(false);
427183
427136
  return;
427184
427137
  }
427185
427138
  latest = maxVersion;
427186
427139
  }
427187
- const hasUpdate = latest && !gte({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest) && !shouldSkipVersion(latest);
427140
+ const hasUpdate = latest && !gte({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest) && !shouldSkipVersion(latest);
427188
427141
  setUpdateAvailable(!!hasUpdate);
427189
427142
  if (hasUpdate) {
427190
- logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} -> ${latest}`);
427143
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} -> ${latest}`);
427191
427144
  }
427192
427145
  };
427193
427146
  $2[0] = t1;
@@ -427221,7 +427174,7 @@ function PackageManagerAutoUpdater(t0) {
427221
427174
  wrap: "truncate",
427222
427175
  children: [
427223
427176
  "currentVersion: ",
427224
- { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
427177
+ { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
427225
427178
  ]
427226
427179
  });
427227
427180
  $2[3] = verbose;
@@ -435094,7 +435047,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
435094
435047
  project_dir: getOriginalCwd(),
435095
435048
  added_dirs: addedDirs
435096
435049
  },
435097
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
435050
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
435098
435051
  output_style: {
435099
435052
  name: outputStyleName
435100
435053
  },
@@ -446657,7 +446610,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
446657
446610
  } catch {}
446658
446611
  const data = {
446659
446612
  trigger,
446660
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
446613
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
446661
446614
  platform: process.platform,
446662
446615
  transcript,
446663
446616
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -459602,7 +459555,7 @@ function Onboarding({
459602
459555
  flexDirection: "column",
459603
459556
  children: [
459604
459557
  /* @__PURE__ */ jsx_runtime459.jsx(TheusBanner, {
459605
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
459558
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
459606
459559
  }),
459607
459560
  /* @__PURE__ */ jsx_runtime459.jsxs(ThemedBox_default, {
459608
459561
  flexDirection: "column",
@@ -460473,7 +460426,7 @@ function completeOnboarding() {
460473
460426
  saveGlobalConfig((current) => ({
460474
460427
  ...current,
460475
460428
  hasCompletedOnboarding: true,
460476
- lastOnboardingVersion: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
460429
+ lastOnboardingVersion: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
460477
460430
  }));
460478
460431
  }
460479
460432
  function showDialog(root2, renderer) {
@@ -465409,7 +465362,7 @@ function appendToLog(path21, message) {
465409
465362
  cwd: getFsImplementation().cwd(),
465410
465363
  userType: process.env.USER_TYPE,
465411
465364
  sessionId: getSessionId(),
465412
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
465365
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
465413
465366
  };
465414
465367
  getLogWriter(path21).write(messageWithTimestamp);
465415
465368
  }
@@ -469543,8 +469496,8 @@ async function getEnvLessBridgeConfig() {
469543
469496
  }
469544
469497
  async function checkEnvLessBridgeMinVersion() {
469545
469498
  const cfg = await getEnvLessBridgeConfig();
469546
- if (cfg.min_version && lt({ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, cfg.min_version)) {
469547
- return `Your version of Theus (${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) is too old for Remote Control.
469499
+ if (cfg.min_version && lt({ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, cfg.min_version)) {
469500
+ return `Your version of Theus (${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) is too old for Remote Control.
469548
469501
  Version ${cfg.min_version} or higher is required. Run \`theus update\` to update.`;
469549
469502
  }
469550
469503
  return null;
@@ -470018,7 +469971,7 @@ async function initBridgeCore(params) {
470018
469971
  const rawApi = createBridgeApiClient({
470019
469972
  baseUrl,
470020
469973
  getAccessToken,
470021
- runnerVersion: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
469974
+ runnerVersion: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
470022
469975
  onDebug: logForDebugging,
470023
469976
  onAuth401,
470024
469977
  getTrustedDeviceToken
@@ -475284,7 +475237,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
475284
475237
  setCwd(cwd3);
475285
475238
  const server = new Server({
475286
475239
  name: "theus/tengu",
475287
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
475240
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
475288
475241
  }, {
475289
475242
  capabilities: {
475290
475243
  tools: {}
@@ -476726,7 +476679,7 @@ async function setupTokenHandler(root2) {
476726
476679
  gap: 1,
476727
476680
  children: [
476728
476681
  /* @__PURE__ */ jsx_runtime476.jsx(TheusBanner, {
476729
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
476682
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
476730
476683
  }),
476731
476684
  showAuthWarning && /* @__PURE__ */ jsx_runtime476.jsxs(ThemedBox_default, {
476732
476685
  flexDirection: "column",
@@ -478131,7 +478084,7 @@ ${customInstructions}` : customInstructions;
478131
478084
  }
478132
478085
  }
478133
478086
  logForDiagnosticsNoPII("info", "started", {
478134
- version: { VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
478087
+ version: { VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
478135
478088
  is_native_binary: isInBundledMode()
478136
478089
  });
478137
478090
  registerCleanup(async () => {
@@ -478915,7 +478868,7 @@ Usage: theus --remote "your task description"`, () => gracefulShutdown(1));
478915
478868
  pendingHookMessages
478916
478869
  }, renderAndRun);
478917
478870
  }
478918
- }).version(`${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`, "-v, --version", "Muestra el n\xFAmero de versi\xF3n");
478871
+ }).version(`${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`, "-v, --version", "Muestra el n\xFAmero de versi\xF3n");
478919
478872
  program2.option("-w, --worktree [name]", "Crea un nuevo worktree de git para esta sesi\xF3n (opcionalmente indica un nombre)");
478920
478873
  program2.option("--tmux", "Crea una sesi\xF3n de tmux para el worktree (requiere --worktree). Usa paneles nativos de iTerm2 cuando est\xE1n disponibles; usa --tmux=classic para tmux tradicional.");
478921
478874
  if (canUserConfigureAdvisor()) {
@@ -479429,7 +479382,7 @@ if (false) {}
479429
479382
  async function main2() {
479430
479383
  const args = process.argv.slice(2);
479431
479384
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
479432
- console.log(`${{ VERSION: "0.2.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`);
479385
+ console.log(`${{ VERSION: "0.2.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`);
479433
479386
  return;
479434
479387
  }
479435
479388
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theus-cli",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "Theus — multi-model agent for vibe coding, persistent memory, indexing graphs and visual databases",
5
5
  "type": "module",
6
6
  "bin": {