theus-cli 0.2.28 → 0.2.29

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 +130 -122
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -58318,7 +58318,7 @@ async function _executeApiKeyHelper(isNonInteractiveSession) {
58318
58318
  if (isApiKeyHelperFromProjectOrLocalSettings()) {
58319
58319
  const hasTrust = checkHasTrustDialogAccepted();
58320
58320
  if (!hasTrust && !isNonInteractiveSession) {
58321
- const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58321
+ const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58322
58322
  logAntError("apiKeyHelper invoked before trust check", error40);
58323
58323
  logEvent("tengu_apiKeyHelper_missing_trust11", {});
58324
58324
  return null;
@@ -58362,7 +58362,7 @@ async function runAwsAuthRefresh() {
58362
58362
  if (isAwsAuthRefreshFromProjectSettings()) {
58363
58363
  const hasTrust = checkHasTrustDialogAccepted();
58364
58364
  if (!hasTrust && !getIsNonInteractiveSession()) {
58365
- const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58365
+ const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58366
58366
  logAntError("awsAuthRefresh invoked before trust check", error40);
58367
58367
  logEvent("tengu_awsAuthRefresh_missing_trust", {});
58368
58368
  return false;
@@ -58422,7 +58422,7 @@ async function getAwsCredsFromCredentialExport() {
58422
58422
  if (isAwsCredentialExportFromProjectSettings()) {
58423
58423
  const hasTrust = checkHasTrustDialogAccepted();
58424
58424
  if (!hasTrust && !getIsNonInteractiveSession()) {
58425
- const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58425
+ const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58426
58426
  logAntError("awsCredentialExport invoked before trust check", error40);
58427
58427
  logEvent("tengu_awsCredentialExport_missing_trust", {});
58428
58428
  return null;
@@ -58507,7 +58507,7 @@ async function runGcpAuthRefresh() {
58507
58507
  if (isGcpAuthRefreshFromProjectSettings()) {
58508
58508
  const hasTrust = checkHasTrustDialogAccepted();
58509
58509
  if (!hasTrust && !getIsNonInteractiveSession()) {
58510
- const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58510
+ const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58511
58511
  logAntError("gcpAuthRefresh invoked before trust check", error40);
58512
58512
  logEvent("tengu_gcpAuthRefresh_missing_trust", {});
58513
58513
  return false;
@@ -59202,7 +59202,7 @@ var init_auth = __esm(() => {
59202
59202
 
59203
59203
  // utils/userAgent.ts
59204
59204
  function getTheusCodeUserAgent() {
59205
- return `theus-code/${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`;
59205
+ return `theus-code/${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`;
59206
59206
  }
59207
59207
 
59208
59208
  // utils/workloadContext.ts
@@ -59224,7 +59224,7 @@ function getUserAgent() {
59224
59224
  const clientApp = process.env.THEUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}` : "";
59225
59225
  const workload = getWorkload();
59226
59226
  const workloadSuffix = workload ? `, workload/${workload}` : "";
59227
- return `theus-cli/${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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})`;
59227
+ return `theus-cli/${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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})`;
59228
59228
  }
59229
59229
  function getMCPUserAgent() {
59230
59230
  const parts = [];
@@ -59238,7 +59238,7 @@ function getMCPUserAgent() {
59238
59238
  parts.push(`client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}`);
59239
59239
  }
59240
59240
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
59241
- return `theus-code/${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`;
59241
+ return `theus-code/${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`;
59242
59242
  }
59243
59243
  function getWebFetchUserAgent() {
59244
59244
  return `Theus-User (${getTheusCodeUserAgent()}; +https://support.theus.pe/)`;
@@ -59376,7 +59376,7 @@ var init_user = __esm(() => {
59376
59376
  deviceId,
59377
59377
  sessionId: getSessionId(),
59378
59378
  email: getEmail(),
59379
- appVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
59379
+ appVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
59380
59380
  platform: getHostPlatformForAnalytics(),
59381
59381
  organizationUuid,
59382
59382
  accountUuid,
@@ -61091,7 +61091,7 @@ var init_metadata = __esm(() => {
61091
61091
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
61092
61092
  WHITESPACE_REGEX = /\s+/;
61093
61093
  getVersionBase = memoize_default(() => {
61094
- const match = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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]+)?/);
61094
+ const match = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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]+)?/);
61095
61095
  return match ? match[0] : undefined;
61096
61096
  });
61097
61097
  buildEnvContext = memoize_default(async () => {
@@ -61131,9 +61131,9 @@ var init_metadata = __esm(() => {
61131
61131
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
61132
61132
  isTheusCodeAction: isEnvTruthy(process.env.THEUS_CODE_ACTION),
61133
61133
  isTheusAiAuth: isTheusAISubscriber(),
61134
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
61134
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
61135
61135
  versionBase: getVersionBase(),
61136
- buildTime: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
61136
+ buildTime: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
61137
61137
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
61138
61138
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
61139
61139
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -61799,7 +61799,7 @@ function initialize1PEventLogging() {
61799
61799
  const platform2 = getPlatform();
61800
61800
  const attributes = {
61801
61801
  [ATTR_SERVICE_NAME]: "theus-code",
61802
- [ATTR_SERVICE_VERSION]: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
61802
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
61803
61803
  };
61804
61804
  if (platform2 === "wsl") {
61805
61805
  const wslVersion = getWslVersion();
@@ -61826,7 +61826,7 @@ function initialize1PEventLogging() {
61826
61826
  })
61827
61827
  ]
61828
61828
  });
61829
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
61829
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
61830
61830
  }
61831
61831
  async function reinitialize1PEventLoggingIfConfigChanged() {
61832
61832
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -63697,7 +63697,7 @@ function getAttributionHeader(fingerprint) {
63697
63697
  if (!isAttributionHeaderEnabled()) {
63698
63698
  return "";
63699
63699
  }
63700
- const version2 = `${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`;
63700
+ const version2 = `${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`;
63701
63701
  const entrypoint = process.env.THEUS_CODE_ENTRYPOINT ?? "unknown";
63702
63702
  const cch = "";
63703
63703
  const workload = getWorkload();
@@ -64401,7 +64401,7 @@ function isWorkflowsForced() {
64401
64401
  var WORKFLOWS_FORCED;
64402
64402
  var init_workflowsEnabled = __esm(() => {
64403
64403
  init_envUtils();
64404
- WORKFLOWS_FORCED = isEnvTruthy(process.env.THEUS_WORKFLOWS);
64404
+ WORKFLOWS_FORCED = process.env.THEUS_WORKFLOWS !== "0";
64405
64405
  });
64406
64406
 
64407
64407
  // node_modules/react/cjs/react.production.js
@@ -107807,7 +107807,7 @@ Complete the user's request by providing accurate, documentation-based guidance.
107807
107807
  }
107808
107808
  function getFeedbackGuideline() {
107809
107809
  if (isUsing3PServices()) {
107810
- return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`;
107810
+ return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`;
107811
107811
  }
107812
107812
  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";
107813
107813
  }
@@ -166516,7 +166516,7 @@ function getTelemetryAttributes() {
166516
166516
  attributes["session.id"] = sessionId;
166517
166517
  }
166518
166518
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
166519
- attributes["app.version"] = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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;
166519
+ attributes["app.version"] = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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;
166520
166520
  }
166521
166521
  const oauthAccount = getOauthAccountInfo();
166522
166522
  if (oauthAccount) {
@@ -202529,7 +202529,7 @@ function getInstallationEnv() {
202529
202529
  return;
202530
202530
  }
202531
202531
  function getTheusCodeVersion() {
202532
- return { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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;
202532
+ return { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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;
202533
202533
  }
202534
202534
  async function getInstalledVSCodeExtensionVersion(command) {
202535
202535
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -204047,7 +204047,7 @@ async function getMcpHeadersFromHelper(serverName, config2) {
204047
204047
  if ("scope" in config2 && isMcpServerFromProjectOrLocalSettings(config2) && !getIsNonInteractiveSession()) {
204048
204048
  const hasTrust = checkHasTrustDialogAccepted();
204049
204049
  if (!hasTrust) {
204050
- 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.28", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
204050
+ 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.29", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
204051
204051
  logAntError("MCP headersHelper invoked before trust check", error40);
204052
204052
  logEvent("tengu_mcp_headersHelper_missing_trust", {});
204053
204053
  return null;
@@ -205257,7 +205257,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
205257
205257
  const client2 = new Client({
205258
205258
  name: "theus-code",
205259
205259
  title: "Theus",
205260
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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",
205260
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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",
205261
205261
  description: "Theus's agentic coding tool",
205262
205262
  websiteUrl: PRODUCT_URL
205263
205263
  }, {
@@ -205611,7 +205611,7 @@ var init_client5 = __esm(() => {
205611
205611
  const client2 = new Client({
205612
205612
  name: "theus-code",
205613
205613
  title: "Theus",
205614
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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",
205614
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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",
205615
205615
  description: "Theus's agentic coding tool",
205616
205616
  websiteUrl: PRODUCT_URL
205617
205617
  }, {
@@ -216189,7 +216189,7 @@ async function initializeBetaTracing(resource) {
216189
216189
  });
216190
216190
  logs.setGlobalLoggerProvider(loggerProvider);
216191
216191
  setLoggerProvider(loggerProvider);
216192
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
216192
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
216193
216193
  setEventLogger(eventLogger);
216194
216194
  process.on("beforeExit", async () => {
216195
216195
  await loggerProvider?.forceFlush();
@@ -216229,7 +216229,7 @@ async function initializeTelemetry() {
216229
216229
  const platform4 = getPlatform();
216230
216230
  const baseAttributes = {
216231
216231
  [ATTR_SERVICE_NAME]: "theus-code",
216232
- [ATTR_SERVICE_VERSION]: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
216232
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
216233
216233
  };
216234
216234
  if (platform4 === "wsl") {
216235
216235
  const wslVersion = getWslVersion();
@@ -216274,7 +216274,7 @@ async function initializeTelemetry() {
216274
216274
  } catch {}
216275
216275
  };
216276
216276
  registerCleanup(shutdownTelemetry2);
216277
- return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
216277
+ return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
216278
216278
  }
216279
216279
  const meterProvider = new MeterProvider({
216280
216280
  resource,
@@ -216294,7 +216294,7 @@ async function initializeTelemetry() {
216294
216294
  });
216295
216295
  logs.setGlobalLoggerProvider(loggerProvider);
216296
216296
  setLoggerProvider(loggerProvider);
216297
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
216297
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
216298
216298
  setEventLogger(eventLogger);
216299
216299
  logForDebugging("[3P telemetry] Event logger set successfully");
216300
216300
  process.on("beforeExit", async () => {
@@ -216356,7 +216356,7 @@ Current timeout: ${timeoutMs}ms
216356
216356
  }
216357
216357
  };
216358
216358
  registerCleanup(shutdownTelemetry);
216359
- return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
216359
+ return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
216360
216360
  }
216361
216361
  async function flushTelemetry() {
216362
216362
  const meterProvider = getMeterProvider();
@@ -216896,7 +216896,7 @@ async function installOrUpdateTheusPackage(channel2, specificVersion) {
216896
216896
  return "install_failed";
216897
216897
  }
216898
216898
  const versionSpec = specificVersion ? specificVersion : channel2 === "stable" ? "stable" : "latest";
216899
- const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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 });
216899
+ const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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 });
216900
216900
  if (result.code !== 0) {
216901
216901
  const error40 = new Error(`Failed to install Theus CLI package: ${result.stderr}`);
216902
216902
  logError2(error40);
@@ -217042,9 +217042,9 @@ async function assertMinVersion() {
217042
217042
  if (false) {}
217043
217043
  try {
217044
217044
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
217045
- if (versionConfig.minVersion && lt({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
217045
+ if (versionConfig.minVersion && lt({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
217046
217046
  console.error(`
217047
- It looks like your version of Theus (${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.
217047
+ It looks like your version of Theus (${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.
217048
217048
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
217049
217049
 
217050
217050
  To update, please run:
@@ -217185,7 +217185,7 @@ async function getInstallationPrefix() {
217185
217185
  return prefixResult.stdout.trim();
217186
217186
  }
217187
217187
  function getGlobalInstallPackageManager() {
217188
- if ({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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") {
217188
+ if ({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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") {
217189
217189
  return "npm";
217190
217190
  }
217191
217191
  return env3.isRunningWithBun() ? "bun" : "npm";
@@ -217210,7 +217210,7 @@ async function checkGlobalInstallPermissions() {
217210
217210
  }
217211
217211
  async function getLatestVersion(channel2) {
217212
217212
  const npmTag = channel2 === "stable" ? "stable" : "latest";
217213
- const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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() });
217213
+ const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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() });
217214
217214
  if (result.code !== 0) {
217215
217215
  logForDebugging(`npm view failed with code ${result.code}`);
217216
217216
  if (result.stderr) {
@@ -217226,7 +217226,7 @@ async function getLatestVersion(channel2) {
217226
217226
  return result.stdout.trim();
217227
217227
  }
217228
217228
  async function getNpmDistTags() {
217229
- const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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() });
217229
+ const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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() });
217230
217230
  if (result.code !== 0) {
217231
217231
  logForDebugging(`npm view dist-tags failed with code ${result.code}`);
217232
217232
  return { latest: null, stable: null };
@@ -217266,7 +217266,7 @@ async function installGlobalPackage(specificVersion) {
217266
217266
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
217267
217267
  logEvent("tengu_auto_updater_lock_contention", {
217268
217268
  pid: process.pid,
217269
- currentVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
217269
+ currentVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
217270
217270
  });
217271
217271
  return "in_progress";
217272
217272
  }
@@ -217275,7 +217275,7 @@ async function installGlobalPackage(specificVersion) {
217275
217275
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
217276
217276
  logError2(new Error("Windows NPM detected in WSL environment"));
217277
217277
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
217278
- currentVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
217278
+ currentVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
217279
217279
  });
217280
217280
  console.error(`
217281
217281
  Error: Windows NPM detected in WSL
@@ -217294,7 +217294,7 @@ To fix this issue:
217294
217294
  if (!hasPermissions) {
217295
217295
  return "no_permissions";
217296
217296
  }
217297
- const packageSpec = specificVersion ? `${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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;
217297
+ const packageSpec = specificVersion ? `${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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;
217298
217298
  const packageManager = getGlobalInstallPackageManager();
217299
217299
  const installResult = await execFileNoThrowWithCwd(packageManager, ["install", "-g", packageSpec], { cwd: homedir18() });
217300
217300
  if (installResult.code !== 0) {
@@ -217622,8 +217622,8 @@ async function detectMultipleInstallations() {
217622
217622
  installations.push({ type: "npm-local", path: localPath });
217623
217623
  }
217624
217624
  const packagesToCheck = ["@theus-ai/theus-code"];
217625
- if ({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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") {
217626
- packagesToCheck.push({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
217625
+ if ({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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") {
217626
+ packagesToCheck.push({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
217627
217627
  }
217628
217628
  const npmResult = await execFileNoThrow("npm", [
217629
217629
  "-g",
@@ -217806,7 +217806,7 @@ function detectLinuxGlobPatternWarnings() {
217806
217806
  }
217807
217807
  async function getDoctorDiagnostic() {
217808
217808
  const installationType = await getCurrentInstallationType();
217809
- const version2 = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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";
217809
+ const version2 = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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";
217810
217810
  const installationPath = await getInstallationPath();
217811
217811
  const invokedBinary = getInvokedBinary();
217812
217812
  const multipleInstallations = await detectMultipleInstallations();
@@ -217818,8 +217818,8 @@ async function getDoctorDiagnostic() {
217818
217818
  for (const install of npmInstalls) {
217819
217819
  if (install.type === "npm-global") {
217820
217820
  let uninstallCmd = "npm -g uninstall @theus-ai/theus-code";
217821
- if ({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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") {
217822
- uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`;
217821
+ if ({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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") {
217822
+ uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`;
217823
217823
  }
217824
217824
  warnings.push({
217825
217825
  issue: `Leftover npm global installation at ${install.path}`,
@@ -217931,7 +217931,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
217931
217931
  const startTime2 = Date.now();
217932
217932
  const { stdout, code, stderr } = await execFileNoThrowWithCwd("npm", [
217933
217933
  "view",
217934
- `${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`,
217934
+ `${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`,
217935
217935
  "version",
217936
217936
  "--prefer-online",
217937
217937
  "--registry",
@@ -217955,7 +217955,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
217955
217955
  latency_ms: latencyMs,
217956
217956
  source_npm: true
217957
217957
  });
217958
- logForDebugging(`npm view ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`);
217958
+ logForDebugging(`npm view ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`);
217959
217959
  const latestVersion = stdout.trim();
217960
217960
  return latestVersion;
217961
217961
  }
@@ -218011,7 +218011,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218011
218011
  const fs3 = getFsImplementation();
218012
218012
  await fs3.rm(stagingPath, { recursive: true, force: true });
218013
218013
  const platform4 = getPlatform2();
218014
- const platformPackageName = `${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`;
218014
+ const platformPackageName = `${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`;
218015
218015
  logForDebugging(`Fetching integrity hash for ${platformPackageName}@${version2}`);
218016
218016
  const {
218017
218017
  stdout: integrityOutput,
@@ -218040,7 +218040,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218040
218040
  name: "theus-native-installer",
218041
218041
  version: "0.0.1",
218042
218042
  dependencies: {
218043
- [{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
218043
+ [{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
218044
218044
  }
218045
218045
  };
218046
218046
  const packageLock = {
@@ -218053,10 +218053,10 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218053
218053
  name: "theus-native-installer",
218054
218054
  version: "0.0.1",
218055
218055
  dependencies: {
218056
- [{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
218056
+ [{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
218057
218057
  }
218058
218058
  },
218059
- [`node_modules/${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`]: {
218059
+ [`node_modules/${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`]: {
218060
218060
  version: version2,
218061
218061
  optionalDependencies: {
218062
218062
  [platformPackageName]: version2
@@ -218078,7 +218078,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218078
218078
  if (result.code !== 0) {
218079
218079
  throw new Error(`npm ci failed with code ${result.code}: ${result.stderr}`);
218080
218080
  }
218081
- logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`);
218081
+ logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`);
218082
218082
  }
218083
218083
  function getStallTimeoutMs() {
218084
218084
  return Number(process.env.THEUS_CODE_STALL_TIMEOUT_MS_FOR_TESTING) || DEFAULT_STALL_TIMEOUT_MS;
@@ -218741,8 +218741,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
218741
218741
  const maxVersion = await getMaxVersion();
218742
218742
  if (maxVersion && gt(version2, maxVersion)) {
218743
218743
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
218744
- if (gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
218745
- logForDebugging(`Native installer: current version ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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`);
218744
+ if (gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
218745
+ logForDebugging(`Native installer: current version ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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`);
218746
218746
  logEvent("tengu_native_update_skipped_max_version", {
218747
218747
  latency_ms: Date.now() - startTime2,
218748
218748
  max_version: maxVersion,
@@ -218753,7 +218753,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
218753
218753
  version2 = maxVersion;
218754
218754
  }
218755
218755
  }
218756
- if (!forceReinstall && version2 === { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
218756
+ if (!forceReinstall && version2 === { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
218757
218757
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
218758
218758
  logEvent("tengu_native_update_complete", {
218759
218759
  latency_ms: Date.now() - startTime2,
@@ -219503,8 +219503,8 @@ async function cleanupNpmInstallations() {
219503
219503
  } else if (codePackageResult.error) {
219504
219504
  errors4.push(codePackageResult.error);
219505
219505
  }
219506
- if ({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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") {
219507
- const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
219506
+ if ({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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") {
219507
+ const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
219508
219508
  if (macroPackageResult.success) {
219509
219509
  removed++;
219510
219510
  if (macroPackageResult.warning) {
@@ -301780,9 +301780,9 @@ function getTheusEnvMetadata() {
301780
301780
  };
301781
301781
  }
301782
301782
  function getBuildAgeMinutes() {
301783
- if (!{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)
301783
+ if (!{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)
301784
301784
  return;
301785
- const buildTime = new Date({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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();
301785
+ const buildTime = new Date({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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();
301786
301786
  if (isNaN(buildTime))
301787
301787
  return;
301788
301788
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -318236,7 +318236,7 @@ function getAssistantMessageFromError(error40, model, options2) {
318236
318236
  if (process.env.USER_TYPE === "ant") {
318237
318237
  const baseMessage = `API Error: 400 ${error40.message}
318238
318238
 
318239
- Run /share and post the JSON file to ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}.`;
318239
+ Run /share and post the JSON file to ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}.`;
318240
318240
  const rewindInstruction = getIsNonInteractiveSession() ? "" : " Then, use /rewind to recover the conversation.";
318241
318241
  return createAssistantAPIErrorMessage({
318242
318242
  content: baseMessage + rewindInstruction,
@@ -318272,7 +318272,7 @@ Run /share and post the JSON file to ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01
318272
318272
  if (process.env.USER_TYPE === "ant" && !process.env.THEUS_MODEL && error40 instanceof Error && error40.message.toLowerCase().includes("invalid model name")) {
318273
318273
  const orgId = getOauthAccountInfo()?.organizationUuid;
318274
318274
  const baseMsg = `[THEUS-INTERNAL] Your org isn't gated into the \`${model}\` model. Either run \`theus\` with \`THEUS_MODEL=${getDefaultMainLoopModelSetting()}\``;
318275
- const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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.`;
318275
+ const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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.`;
318276
318276
  return createAssistantAPIErrorMessage({
318277
318277
  content: msg,
318278
318278
  error: "invalid_request"
@@ -328376,7 +328376,7 @@ function buildPrimarySection() {
328376
328376
  });
328377
328377
  return [{
328378
328378
  label: "Version",
328379
- value: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
328379
+ value: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
328380
328380
  }, {
328381
328381
  label: "Session name",
328382
328382
  value: nameValue
@@ -332192,7 +332192,7 @@ function Config({
332192
332192
  }
332193
332193
  })
332194
332194
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime185.jsx(ChannelDowngradeDialog, {
332195
- currentVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
332195
+ currentVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
332196
332196
  onChoice: (choice) => {
332197
332197
  setShowSubmenu(null);
332198
332198
  setTabsHidden(false);
@@ -332204,7 +332204,7 @@ function Config({
332204
332204
  autoUpdatesChannel: "stable"
332205
332205
  };
332206
332206
  if (choice === "stay") {
332207
- newSettings.minimumVersion = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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;
332207
+ newSettings.minimumVersion = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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;
332208
332208
  }
332209
332209
  updateSettingsForSource("userSettings", newSettings);
332210
332210
  setSettingsData((prev_27) => ({
@@ -340238,7 +340238,7 @@ function HelpV2(t0) {
340238
340238
  let t6;
340239
340239
  if ($2[31] !== tabs) {
340240
340240
  t6 = /* @__PURE__ */ jsx_runtime212.jsx(Tabs, {
340241
- title: `Theus v${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`,
340241
+ title: `Theus v${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`,
340242
340242
  color: "professionalBlue",
340243
340243
  defaultTab: "general",
340244
340244
  children: tabs
@@ -356959,6 +356959,14 @@ var init_mcp3 = __esm(() => {
356959
356959
  var NOVEDADES;
356960
356960
  var init_data = __esm(() => {
356961
356961
  NOVEDADES = [
356962
+ {
356963
+ version: "v0.2.29",
356964
+ fecha: "2026-07-13",
356965
+ titulo: "/multiplesagentes ahora aparece por defecto",
356966
+ puntos: [
356967
+ "El comando /multiplesagentes (orquestaci\xF3n multi-agente) ya viene encendido por defecto y aparece en la lista de comandos sin configurar nada, igual que /brief, /fork y /buddy. Para desactivarlo, arranca con THEUS_WORKFLOWS=0."
356968
+ ]
356969
+ },
356962
356970
  {
356963
356971
  version: "v0.2.28",
356964
356972
  fecha: "2026-07-13",
@@ -358637,7 +358645,7 @@ function Onboarding({
358637
358645
  flexDirection: "column",
358638
358646
  children: [
358639
358647
  /* @__PURE__ */ jsx_runtime245.jsx(TheusBanner, {
358640
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
358648
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
358641
358649
  }),
358642
358650
  /* @__PURE__ */ jsx_runtime245.jsxs(ThemedBox_default, {
358643
358651
  flexDirection: "column",
@@ -358982,9 +358990,9 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
358982
358990
  return [];
358983
358991
  }
358984
358992
  }
358985
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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) {
358993
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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) {
358986
358994
  if (process.env.USER_TYPE === "ant") {
358987
- const changelog = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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;
358995
+ const changelog = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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;
358988
358996
  if (changelog) {
358989
358997
  const commits = changelog.trim().split(`
358990
358998
  `).filter(Boolean);
@@ -363387,7 +363395,7 @@ var init_Messages = __esm(() => {
363387
363395
  let t1;
363388
363396
  if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
363389
363397
  t1 = /* @__PURE__ */ jsx_runtime258.jsx(TheusSessionHeader, {
363390
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
363398
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
363391
363399
  });
363392
363400
  $2[0] = t1;
363393
363401
  } else {
@@ -391431,7 +391439,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
391431
391439
  smapsRollup,
391432
391440
  platform: process.platform,
391433
391441
  nodeVersion: process.version,
391434
- ccVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
391442
+ ccVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
391435
391443
  };
391436
391444
  }
391437
391445
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -392017,7 +392025,7 @@ var init_bridge_kick = __esm(() => {
392017
392025
  var call57 = async () => {
392018
392026
  return {
392019
392027
  type: "text",
392020
- value: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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
392028
+ value: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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
392021
392029
  };
392022
392030
  }, version2, version_default;
392023
392031
  var init_version = __esm(() => {
@@ -396459,13 +396467,13 @@ async function updateReleaseBundle() {
396459
396467
  await gracefulShutdown(1);
396460
396468
  return;
396461
396469
  }
396462
- if (gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396463
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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})`) + `
396470
+ if (gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396471
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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})`) + `
396464
396472
  `);
396465
396473
  await gracefulShutdown(0);
396466
396474
  return;
396467
396475
  }
396468
- writeToStdout(`New version available: ${latest} (current: ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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})
396476
+ writeToStdout(`New version available: ${latest} (current: ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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})
396469
396477
  `);
396470
396478
  writeToStdout(`Installing update from theus.pe/dl...
396471
396479
  `);
@@ -396499,7 +396507,7 @@ async function updateReleaseBundle() {
396499
396507
  return;
396500
396508
  }
396501
396509
  cpSync(staged, bundleDir, { recursive: true, force: true });
396502
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`) + `
396510
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`) + `
396503
396511
  `);
396504
396512
  await regenerateCompletionCache();
396505
396513
  } finally {
@@ -396512,7 +396520,7 @@ async function updateReleaseBundle() {
396512
396520
  async function update() {
396513
396521
  logEvent("tengu_update_check", {});
396514
396522
  await updateNaupa();
396515
- writeToStdout(`Current version: ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}
396523
+ writeToStdout(`Current version: ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}
396516
396524
  `);
396517
396525
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
396518
396526
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -396591,8 +396599,8 @@ async function update() {
396591
396599
  writeToStdout(`Theus is managed by Homebrew.
396592
396600
  `);
396593
396601
  const latest = await getLatestVersion(channel2);
396594
- if (latest && !gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396595
- writeToStdout(`Update available: ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}
396602
+ if (latest && !gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396603
+ writeToStdout(`Update available: ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}
396596
396604
  `);
396597
396605
  writeToStdout(`
396598
396606
  `);
@@ -396608,8 +396616,8 @@ async function update() {
396608
396616
  writeToStdout(`Theus is managed by winget.
396609
396617
  `);
396610
396618
  const latest = await getLatestVersion(channel2);
396611
- if (latest && !gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396612
- writeToStdout(`Update available: ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}
396619
+ if (latest && !gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396620
+ writeToStdout(`Update available: ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}
396613
396621
  `);
396614
396622
  writeToStdout(`
396615
396623
  `);
@@ -396625,8 +396633,8 @@ async function update() {
396625
396633
  writeToStdout(`Theus is managed by apk.
396626
396634
  `);
396627
396635
  const latest = await getLatestVersion(channel2);
396628
- if (latest && !gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396629
- writeToStdout(`Update available: ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}
396636
+ if (latest && !gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396637
+ writeToStdout(`Update available: ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}
396630
396638
  `);
396631
396639
  writeToStdout(`
396632
396640
  `);
@@ -396691,11 +396699,11 @@ async function update() {
396691
396699
  `);
396692
396700
  await gracefulShutdown(1);
396693
396701
  }
396694
- if (result.latestVersion === { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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) {
396695
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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})`) + `
396702
+ if (result.latestVersion === { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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) {
396703
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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})`) + `
396696
396704
  `);
396697
396705
  } else {
396698
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`) + `
396706
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`) + `
396699
396707
  `);
396700
396708
  await regenerateCompletionCache();
396701
396709
  }
@@ -396714,9 +396722,9 @@ async function update() {
396714
396722
  await removeInstalledSymlink();
396715
396723
  }
396716
396724
  logForDebugging("update: Checking npm registry for latest version");
396717
- logForDebugging(`update: Package URL: ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`);
396725
+ logForDebugging(`update: Package URL: ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`);
396718
396726
  const npmTag = channel2 === "stable" ? "stable" : "latest";
396719
- const npmCommand = `npm view ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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`;
396727
+ const npmCommand = `npm view ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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`;
396720
396728
  logForDebugging(`update: Running: ${npmCommand}`);
396721
396729
  const latestVersion = await getLatestVersion(channel2);
396722
396730
  logForDebugging(`update: Latest version from npm: ${latestVersion || "FAILED"}`);
@@ -396736,7 +396744,7 @@ async function update() {
396736
396744
  `);
396737
396745
  process.stderr.write(` \u2022 Corporate proxy/firewall blocking npm
396738
396746
  `);
396739
- if ({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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")) {
396747
+ if ({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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")) {
396740
396748
  process.stderr.write(` \u2022 Internal/development build not published to npm
396741
396749
  `);
396742
396750
  }
@@ -396748,19 +396756,19 @@ async function update() {
396748
396756
  `);
396749
396757
  process.stderr.write(` \u2022 Run with --debug flag for more details
396750
396758
  `);
396751
- const packageName = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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");
396759
+ const packageName = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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");
396752
396760
  process.stderr.write(` \u2022 Manually check: npm view ${packageName} version
396753
396761
  `);
396754
396762
  process.stderr.write(` \u2022 Check if you need to login: npm whoami
396755
396763
  `);
396756
396764
  await gracefulShutdown(1);
396757
396765
  }
396758
- if (gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396759
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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})`) + `
396766
+ if (gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
396767
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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})`) + `
396760
396768
  `);
396761
396769
  await gracefulShutdown(0);
396762
396770
  }
396763
- writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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})
396771
+ writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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})
396764
396772
  `);
396765
396773
  writeToStdout(`Installing update...
396766
396774
  `);
@@ -396805,7 +396813,7 @@ async function update() {
396805
396813
  logForDebugging(`update: Installation status: ${status2}`);
396806
396814
  switch (status2) {
396807
396815
  case "success":
396808
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`) + `
396816
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`) + `
396809
396817
  `);
396810
396818
  await regenerateCompletionCache();
396811
396819
  break;
@@ -396815,7 +396823,7 @@ async function update() {
396815
396823
  if (useLocalUpdate) {
396816
396824
  process.stderr.write(`Try manually updating with:
396817
396825
  `);
396818
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}
396826
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}
396819
396827
  `);
396820
396828
  } else {
396821
396829
  process.stderr.write(`Try running with sudo or fix npm permissions
@@ -396831,7 +396839,7 @@ async function update() {
396831
396839
  if (useLocalUpdate) {
396832
396840
  process.stderr.write(`Try manually updating with:
396833
396841
  `);
396834
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}
396842
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}
396835
396843
  `);
396836
396844
  } else {
396837
396845
  process.stderr.write(`Or consider using native installation with: theus install
@@ -405811,7 +405819,7 @@ var init_sessionStorage = __esm(() => {
405811
405819
  init_settings2();
405812
405820
  init_slowOperations();
405813
405821
  init_uuid();
405814
- VERSION4 = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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;
405822
+ VERSION4 = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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;
405815
405823
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
405816
405824
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
405817
405825
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -407016,7 +407024,7 @@ var init_filesystem = __esm(() => {
407016
407024
  });
407017
407025
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
407018
407026
  const nonce = randomBytes21(16).toString("hex");
407019
- return join148(getTheusTempDir(), "bundled-skills", { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
407027
+ return join148(getTheusTempDir(), "bundled-skills", { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
407020
407028
  });
407021
407029
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
407022
407030
  });
@@ -412195,7 +412203,7 @@ function getSimpleDoingTasksSection() {
412195
412203
  ];
412196
412204
  const userHelpSubitems = [
412197
412205
  `/help: Get help with using Theus`,
412198
- `To give feedback, users should ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`
412206
+ `To give feedback, users should ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`
412199
412207
  ];
412200
412208
  const items = [
412201
412209
  `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.`,
@@ -413095,7 +413103,7 @@ function computeFingerprint(messageText, version3) {
413095
413103
  }
413096
413104
  function computeFingerprintFromMessages(messages) {
413097
413105
  const firstMessageText = extractFirstMessageText(messages);
413098
- return computeFingerprint(firstMessageText, { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
413106
+ return computeFingerprint(firstMessageText, { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
413099
413107
  }
413100
413108
  var FINGERPRINT_SALT = "59cf53e54c78";
413101
413109
  var init_fingerprint = () => {};
@@ -415643,7 +415651,7 @@ async function sideQuery(opts) {
415643
415651
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
415644
415652
  }
415645
415653
  const messageText = extractFirstUserMessageText(messages);
415646
- const fingerprint = computeFingerprint(messageText, { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
415654
+ const fingerprint = computeFingerprint(messageText, { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
415647
415655
  const attributionHeader = getAttributionHeader(fingerprint);
415648
415656
  const systemBlocks = [
415649
415657
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -416946,7 +416954,7 @@ async function handleMemories(state) {
416946
416954
  async function runProjectContextMcpServer() {
416947
416955
  const projectRoot = process.env.THEUS_PROJECT_ROOT || process.cwd();
416948
416956
  const state = new ProjectContextState(projectRoot);
416949
- const server2 = new Server({ name: SERVER_NAME, version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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: {} } });
416957
+ const server2 = new Server({ name: SERVER_NAME, version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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: {} } });
416950
416958
  server2.setRequestHandler(ListToolsRequestSchema, async () => ({
416951
416959
  tools: TOOL_DEFINITIONS.map((t) => ({
416952
416960
  name: t.name,
@@ -418926,7 +418934,7 @@ function createBridgeLogger(options2) {
418926
418934
  connectUrl = buildBridgeConnectUrl(environmentId, cachedIngressUrl);
418927
418935
  regenerateQr(connectUrl);
418928
418936
  if (verbose) {
418929
- write(source_default.dim(`Remote Control`) + ` v${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}
418937
+ write(source_default.dim(`Remote Control`) + ` v${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}
418930
418938
  `);
418931
418939
  }
418932
418940
  if (verbose) {
@@ -419899,7 +419907,7 @@ function appendToLog(path19, message) {
419899
419907
  cwd: getFsImplementation().cwd(),
419900
419908
  userType: process.env.USER_TYPE,
419901
419909
  sessionId: getSessionId(),
419902
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
419910
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
419903
419911
  };
419904
419912
  getLogWriter(path19).write(messageWithTimestamp);
419905
419913
  }
@@ -421169,7 +421177,7 @@ Spawn mode for this project:
421169
421177
  const api2 = createBridgeApiClient({
421170
421178
  baseUrl,
421171
421179
  getAccessToken: getBridgeAccessToken2,
421172
- runnerVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
421180
+ runnerVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
421173
421181
  onDebug: logForDebugging,
421174
421182
  onAuth401: handleOAuth401Error2,
421175
421183
  getTrustedDeviceToken
@@ -421407,7 +421415,7 @@ async function runBridgeHeadless(opts, signal) {
421407
421415
  const api2 = createBridgeApiClient({
421408
421416
  baseUrl,
421409
421417
  getAccessToken: opts.getAccessToken,
421410
- runnerVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
421418
+ runnerVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
421411
421419
  onDebug: log2,
421412
421420
  onAuth401: opts.onAuth401,
421413
421421
  getTrustedDeviceToken
@@ -425471,7 +425479,7 @@ function buildSystemInitMessage(inputs) {
425471
425479
  slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
425472
425480
  apiKeySource: getTheusApiKeyWithSource().source,
425473
425481
  betas: getSdkBetas(),
425474
- theus_code_version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
425482
+ theus_code_version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
425475
425483
  output_style: outputStyle2,
425476
425484
  agents: inputs.agents.map((agent) => agent.agentType),
425477
425485
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -425511,8 +425519,8 @@ async function getEnvLessBridgeConfig() {
425511
425519
  }
425512
425520
  async function checkEnvLessBridgeMinVersion() {
425513
425521
  const cfg = await getEnvLessBridgeConfig();
425514
- if (cfg.min_version && lt({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
425515
- return `Your version of Theus (${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.
425522
+ if (cfg.min_version && lt({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
425523
+ return `Your version of Theus (${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.
425516
425524
  Version ${cfg.min_version} or higher is required. Run \`theus update\` to update.`;
425517
425525
  }
425518
425526
  return null;
@@ -427835,7 +427843,7 @@ async function initBridgeCore(params) {
427835
427843
  const rawApi = createBridgeApiClient({
427836
427844
  baseUrl,
427837
427845
  getAccessToken,
427838
- runnerVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
427846
+ runnerVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
427839
427847
  onDebug: logForDebugging,
427840
427848
  onAuth401,
427841
427849
  getTrustedDeviceToken
@@ -444576,7 +444584,7 @@ var init_useVoiceEnabled = __esm(() => {
444576
444584
  function getSemverPart(version3) {
444577
444585
  return `${import_semver14.major(version3, { loose: true })}.${import_semver14.minor(version3, { loose: true })}.${import_semver14.patch(version3, { loose: true })}`;
444578
444586
  }
444579
- function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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) {
444587
+ function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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) {
444580
444588
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react230.useState(() => getSemverPart(initialVersion));
444581
444589
  if (!updatedVersion) {
444582
444590
  return null;
@@ -444616,7 +444624,7 @@ function AutoUpdater({
444616
444624
  return;
444617
444625
  }
444618
444626
  if (false) {}
444619
- const currentVersion = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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;
444627
+ const currentVersion = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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;
444620
444628
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
444621
444629
  let latestVersion = await getLatestVersion(channel2);
444622
444630
  const isDisabled2 = isAutoUpdaterDisabled();
@@ -444752,7 +444760,7 @@ function AutoUpdater({
444752
444760
  " ",
444753
444761
  /* @__PURE__ */ jsx_runtime403.jsx(ThemedText, {
444754
444762
  bold: true,
444755
- children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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.28", BUILD_TIME: "1970-01-01T00:00:00.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}`
444763
+ children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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.29", BUILD_TIME: "1970-01-01T00:00:00.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}`
444756
444764
  })
444757
444765
  ]
444758
444766
  })
@@ -444829,12 +444837,12 @@ function NativeAutoUpdater({
444829
444837
  logEvent("tengu_native_auto_updater_start", {});
444830
444838
  try {
444831
444839
  const maxVersion = await getMaxVersion();
444832
- if (maxVersion && gt({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
444840
+ if (maxVersion && gt({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
444833
444841
  const msg = await getMaxVersionMessage();
444834
444842
  setMaxVersionIssue(msg ?? "affects your version");
444835
444843
  }
444836
444844
  const result = await installLatest(channel2);
444837
- const currentVersion = { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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;
444845
+ const currentVersion = { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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;
444838
444846
  const latencyMs = Date.now() - startTime2;
444839
444847
  if (result.lockFailed) {
444840
444848
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -444971,17 +444979,17 @@ function PackageManagerAutoUpdater(t0) {
444971
444979
  const maxVersion = await getMaxVersion();
444972
444980
  if (maxVersion && latest && gt(latest, maxVersion)) {
444973
444981
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
444974
- if (gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)) {
444975
- logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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`);
444982
+ if (gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)) {
444983
+ logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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`);
444976
444984
  setUpdateAvailable(false);
444977
444985
  return;
444978
444986
  }
444979
444987
  latest = maxVersion;
444980
444988
  }
444981
- const hasUpdate = latest && !gte({ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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);
444989
+ const hasUpdate = latest && !gte({ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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);
444982
444990
  setUpdateAvailable(!!hasUpdate);
444983
444991
  if (hasUpdate) {
444984
- logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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}`);
444992
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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}`);
444985
444993
  }
444986
444994
  };
444987
444995
  $2[0] = t1;
@@ -445015,7 +445023,7 @@ function PackageManagerAutoUpdater(t0) {
445015
445023
  wrap: "truncate",
445016
445024
  children: [
445017
445025
  "currentVersion: ",
445018
- { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
445026
+ { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
445019
445027
  ]
445020
445028
  });
445021
445029
  $2[3] = verbose;
@@ -452888,7 +452896,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
452888
452896
  project_dir: getOriginalCwd(),
452889
452897
  added_dirs: addedDirs
452890
452898
  },
452891
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
452899
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
452892
452900
  output_style: {
452893
452901
  name: outputStyleName
452894
452902
  },
@@ -464300,7 +464308,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
464300
464308
  } catch {}
464301
464309
  const data = {
464302
464310
  trigger,
464303
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
464311
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
464304
464312
  platform: process.platform,
464305
464313
  transcript,
464306
464314
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -477324,7 +477332,7 @@ function completeOnboarding() {
477324
477332
  saveGlobalConfig((current) => ({
477325
477333
  ...current,
477326
477334
  hasCompletedOnboarding: true,
477327
- lastOnboardingVersion: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
477335
+ lastOnboardingVersion: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
477328
477336
  }));
477329
477337
  }
477330
477338
  function showDialog(root2, renderer) {
@@ -488183,7 +488191,7 @@ async function startMCPServer(cwd3, debug3, verbose) {
488183
488191
  setCwd(cwd3);
488184
488192
  const server2 = new Server({
488185
488193
  name: "theus/tengu",
488186
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
488194
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
488187
488195
  }, {
488188
488196
  capabilities: {
488189
488197
  tools: {}
@@ -489625,7 +489633,7 @@ async function setupTokenHandler(root2) {
489625
489633
  gap: 1,
489626
489634
  children: [
489627
489635
  /* @__PURE__ */ jsx_runtime489.jsx(TheusBanner, {
489628
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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
489636
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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
489629
489637
  }),
489630
489638
  showAuthWarning && /* @__PURE__ */ jsx_runtime489.jsxs(ThemedBox_default, {
489631
489639
  flexDirection: "column",
@@ -491094,7 +491102,7 @@ ${assistantAddendum}` : assistantAddendum;
491094
491102
  }
491095
491103
  }
491096
491104
  logForDiagnosticsNoPII("info", "started", {
491097
- version: { VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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,
491105
+ version: { VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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,
491098
491106
  is_native_binary: isInBundledMode()
491099
491107
  });
491100
491108
  registerCleanup(async () => {
@@ -491962,7 +491970,7 @@ Usage: theus --remote "your task description"`, () => gracefulShutdown(1));
491962
491970
  pendingHookMessages
491963
491971
  }, renderAndRun);
491964
491972
  }
491965
- }).version(`${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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");
491973
+ }).version(`${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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");
491966
491974
  program2.option("-w, --worktree [name]", "Crea un nuevo worktree de git para esta sesi\xF3n (opcionalmente indica un nombre)");
491967
491975
  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.");
491968
491976
  if (canUserConfigureAdvisor()) {
@@ -492514,7 +492522,7 @@ if (false) {}
492514
492522
  async function main2() {
492515
492523
  const args = process.argv.slice(2);
492516
492524
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
492517
- console.log(`${{ VERSION: "0.2.28", BUILD_TIME: "1970-01-01T00:00:00.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)`);
492525
+ console.log(`${{ VERSION: "0.2.29", BUILD_TIME: "1970-01-01T00:00:00.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)`);
492518
492526
  return;
492519
492527
  }
492520
492528
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theus-cli",
3
- "version": "0.2.28",
3
+ "version": "0.2.29",
4
4
  "description": "Theus — multi-model agent for vibe coding, persistent memory, indexing graphs and visual databases",
5
5
  "type": "module",
6
6
  "bin": {