theus-cli 0.2.32 → 0.2.33

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 +197 -159
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -58324,7 +58324,7 @@ async function _executeApiKeyHelper(isNonInteractiveSession) {
58324
58324
  if (isApiKeyHelperFromProjectOrLocalSettings()) {
58325
58325
  const hasTrust = checkHasTrustDialogAccepted();
58326
58326
  if (!hasTrust && !isNonInteractiveSession) {
58327
- const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58327
+ const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58328
58328
  logAntError("apiKeyHelper invoked before trust check", error40);
58329
58329
  logEvent("tengu_apiKeyHelper_missing_trust11", {});
58330
58330
  return null;
@@ -58368,7 +58368,7 @@ async function runAwsAuthRefresh() {
58368
58368
  if (isAwsAuthRefreshFromProjectSettings()) {
58369
58369
  const hasTrust = checkHasTrustDialogAccepted();
58370
58370
  if (!hasTrust && !getIsNonInteractiveSession()) {
58371
- const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58371
+ const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58372
58372
  logAntError("awsAuthRefresh invoked before trust check", error40);
58373
58373
  logEvent("tengu_awsAuthRefresh_missing_trust", {});
58374
58374
  return false;
@@ -58428,7 +58428,7 @@ async function getAwsCredsFromCredentialExport() {
58428
58428
  if (isAwsCredentialExportFromProjectSettings()) {
58429
58429
  const hasTrust = checkHasTrustDialogAccepted();
58430
58430
  if (!hasTrust && !getIsNonInteractiveSession()) {
58431
- const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58431
+ const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58432
58432
  logAntError("awsCredentialExport invoked before trust check", error40);
58433
58433
  logEvent("tengu_awsCredentialExport_missing_trust", {});
58434
58434
  return null;
@@ -58513,7 +58513,7 @@ async function runGcpAuthRefresh() {
58513
58513
  if (isGcpAuthRefreshFromProjectSettings()) {
58514
58514
  const hasTrust = checkHasTrustDialogAccepted();
58515
58515
  if (!hasTrust && !getIsNonInteractiveSession()) {
58516
- const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58516
+ const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
58517
58517
  logAntError("gcpAuthRefresh invoked before trust check", error40);
58518
58518
  logEvent("tengu_gcpAuthRefresh_missing_trust", {});
58519
58519
  return false;
@@ -59208,7 +59208,7 @@ var init_auth = __esm(() => {
59208
59208
 
59209
59209
  // utils/userAgent.ts
59210
59210
  function getTheusCodeUserAgent() {
59211
- return `theus-code/${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`;
59211
+ return `theus-code/${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`;
59212
59212
  }
59213
59213
 
59214
59214
  // utils/workloadContext.ts
@@ -59230,7 +59230,7 @@ function getUserAgent() {
59230
59230
  const clientApp = process.env.THEUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}` : "";
59231
59231
  const workload = getWorkload();
59232
59232
  const workloadSuffix = workload ? `, workload/${workload}` : "";
59233
- return `theus-cli/${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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})`;
59233
+ return `theus-cli/${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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})`;
59234
59234
  }
59235
59235
  function getMCPUserAgent() {
59236
59236
  const parts = [];
@@ -59244,7 +59244,7 @@ function getMCPUserAgent() {
59244
59244
  parts.push(`client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}`);
59245
59245
  }
59246
59246
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
59247
- return `theus-code/${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`;
59247
+ return `theus-code/${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`;
59248
59248
  }
59249
59249
  function getWebFetchUserAgent() {
59250
59250
  return `Theus-User (${getTheusCodeUserAgent()}; +https://support.theus.pe/)`;
@@ -59382,7 +59382,7 @@ var init_user = __esm(() => {
59382
59382
  deviceId,
59383
59383
  sessionId: getSessionId(),
59384
59384
  email: getEmail(),
59385
- appVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
59385
+ appVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
59386
59386
  platform: getHostPlatformForAnalytics(),
59387
59387
  organizationUuid,
59388
59388
  accountUuid,
@@ -61097,7 +61097,7 @@ var init_metadata = __esm(() => {
61097
61097
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
61098
61098
  WHITESPACE_REGEX = /\s+/;
61099
61099
  getVersionBase = memoize_default(() => {
61100
- const match = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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]+)?/);
61100
+ const match = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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]+)?/);
61101
61101
  return match ? match[0] : undefined;
61102
61102
  });
61103
61103
  buildEnvContext = memoize_default(async () => {
@@ -61137,9 +61137,9 @@ var init_metadata = __esm(() => {
61137
61137
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
61138
61138
  isTheusCodeAction: isEnvTruthy(process.env.THEUS_CODE_ACTION),
61139
61139
  isTheusAiAuth: isTheusAISubscriber(),
61140
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
61140
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
61141
61141
  versionBase: getVersionBase(),
61142
- buildTime: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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,
61142
+ buildTime: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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,
61143
61143
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
61144
61144
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
61145
61145
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -61805,7 +61805,7 @@ function initialize1PEventLogging() {
61805
61805
  const platform2 = getPlatform();
61806
61806
  const attributes = {
61807
61807
  [ATTR_SERVICE_NAME]: "theus-code",
61808
- [ATTR_SERVICE_VERSION]: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
61808
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
61809
61809
  };
61810
61810
  if (platform2 === "wsl") {
61811
61811
  const wslVersion = getWslVersion();
@@ -61832,7 +61832,7 @@ function initialize1PEventLogging() {
61832
61832
  })
61833
61833
  ]
61834
61834
  });
61835
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
61835
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
61836
61836
  }
61837
61837
  async function reinitialize1PEventLoggingIfConfigChanged() {
61838
61838
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -63703,7 +63703,7 @@ function getAttributionHeader(fingerprint) {
63703
63703
  if (!isAttributionHeaderEnabled()) {
63704
63704
  return "";
63705
63705
  }
63706
- const version2 = `${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`;
63706
+ const version2 = `${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`;
63707
63707
  const entrypoint = process.env.THEUS_CODE_ENTRYPOINT ?? "unknown";
63708
63708
  const cch = "";
63709
63709
  const workload = getWorkload();
@@ -107813,7 +107813,7 @@ Complete the user's request by providing accurate, documentation-based guidance.
107813
107813
  }
107814
107814
  function getFeedbackGuideline() {
107815
107815
  if (isUsing3PServices()) {
107816
- return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`;
107816
+ return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`;
107817
107817
  }
107818
107818
  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";
107819
107819
  }
@@ -166522,7 +166522,7 @@ function getTelemetryAttributes() {
166522
166522
  attributes["session.id"] = sessionId;
166523
166523
  }
166524
166524
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
166525
- attributes["app.version"] = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
166525
+ attributes["app.version"] = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
166526
166526
  }
166527
166527
  const oauthAccount = getOauthAccountInfo();
166528
166528
  if (oauthAccount) {
@@ -202535,7 +202535,7 @@ function getInstallationEnv() {
202535
202535
  return;
202536
202536
  }
202537
202537
  function getTheusCodeVersion() {
202538
- return { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
202538
+ return { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
202539
202539
  }
202540
202540
  async function getInstalledVSCodeExtensionVersion(command) {
202541
202541
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -204053,7 +204053,7 @@ async function getMcpHeadersFromHelper(serverName, config2) {
204053
204053
  if ("scope" in config2 && isMcpServerFromProjectOrLocalSettings(config2) && !getIsNonInteractiveSession()) {
204054
204054
  const hasTrust = checkHasTrustDialogAccepted();
204055
204055
  if (!hasTrust) {
204056
- 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.32", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
204056
+ 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.33", BUILD_TIME: "1970-01-01T00:00:00.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}.`);
204057
204057
  logAntError("MCP headersHelper invoked before trust check", error40);
204058
204058
  logEvent("tengu_mcp_headersHelper_missing_trust", {});
204059
204059
  return null;
@@ -205263,7 +205263,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
205263
205263
  const client2 = new Client({
205264
205264
  name: "theus-code",
205265
205265
  title: "Theus",
205266
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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",
205266
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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",
205267
205267
  description: "Theus's agentic coding tool",
205268
205268
  websiteUrl: PRODUCT_URL
205269
205269
  }, {
@@ -205617,7 +205617,7 @@ var init_client5 = __esm(() => {
205617
205617
  const client2 = new Client({
205618
205618
  name: "theus-code",
205619
205619
  title: "Theus",
205620
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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",
205620
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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",
205621
205621
  description: "Theus's agentic coding tool",
205622
205622
  websiteUrl: PRODUCT_URL
205623
205623
  }, {
@@ -216195,7 +216195,7 @@ async function initializeBetaTracing(resource) {
216195
216195
  });
216196
216196
  logs.setGlobalLoggerProvider(loggerProvider);
216197
216197
  setLoggerProvider(loggerProvider);
216198
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216198
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216199
216199
  setEventLogger(eventLogger);
216200
216200
  process.on("beforeExit", async () => {
216201
216201
  await loggerProvider?.forceFlush();
@@ -216235,7 +216235,7 @@ async function initializeTelemetry() {
216235
216235
  const platform4 = getPlatform();
216236
216236
  const baseAttributes = {
216237
216237
  [ATTR_SERVICE_NAME]: "theus-code",
216238
- [ATTR_SERVICE_VERSION]: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216238
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216239
216239
  };
216240
216240
  if (platform4 === "wsl") {
216241
216241
  const wslVersion = getWslVersion();
@@ -216280,7 +216280,7 @@ async function initializeTelemetry() {
216280
216280
  } catch {}
216281
216281
  };
216282
216282
  registerCleanup(shutdownTelemetry2);
216283
- return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216283
+ return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216284
216284
  }
216285
216285
  const meterProvider = new MeterProvider({
216286
216286
  resource,
@@ -216300,7 +216300,7 @@ async function initializeTelemetry() {
216300
216300
  });
216301
216301
  logs.setGlobalLoggerProvider(loggerProvider);
216302
216302
  setLoggerProvider(loggerProvider);
216303
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216303
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216304
216304
  setEventLogger(eventLogger);
216305
216305
  logForDebugging("[3P telemetry] Event logger set successfully");
216306
216306
  process.on("beforeExit", async () => {
@@ -216362,7 +216362,7 @@ Current timeout: ${timeoutMs}ms
216362
216362
  }
216363
216363
  };
216364
216364
  registerCleanup(shutdownTelemetry);
216365
- return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216365
+ return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
216366
216366
  }
216367
216367
  async function flushTelemetry() {
216368
216368
  const meterProvider = getMeterProvider();
@@ -216902,7 +216902,7 @@ async function installOrUpdateTheusPackage(channel2, specificVersion) {
216902
216902
  return "install_failed";
216903
216903
  }
216904
216904
  const versionSpec = specificVersion ? specificVersion : channel2 === "stable" ? "stable" : "latest";
216905
- const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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 });
216905
+ const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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 });
216906
216906
  if (result.code !== 0) {
216907
216907
  const error40 = new Error(`Failed to install Theus CLI package: ${result.stderr}`);
216908
216908
  logError2(error40);
@@ -217048,9 +217048,9 @@ async function assertMinVersion() {
217048
217048
  if (false) {}
217049
217049
  try {
217050
217050
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
217051
- if (versionConfig.minVersion && lt({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
217051
+ if (versionConfig.minVersion && lt({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
217052
217052
  console.error(`
217053
- It looks like your version of Theus (${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.
217053
+ It looks like your version of Theus (${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.
217054
217054
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
217055
217055
 
217056
217056
  To update, please run:
@@ -217191,7 +217191,7 @@ async function getInstallationPrefix() {
217191
217191
  return prefixResult.stdout.trim();
217192
217192
  }
217193
217193
  function getGlobalInstallPackageManager() {
217194
- if ({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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") {
217194
+ if ({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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") {
217195
217195
  return "npm";
217196
217196
  }
217197
217197
  return env3.isRunningWithBun() ? "bun" : "npm";
@@ -217216,7 +217216,7 @@ async function checkGlobalInstallPermissions() {
217216
217216
  }
217217
217217
  async function getLatestVersion(channel2) {
217218
217218
  const npmTag = channel2 === "stable" ? "stable" : "latest";
217219
- const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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() });
217219
+ const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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() });
217220
217220
  if (result.code !== 0) {
217221
217221
  logForDebugging(`npm view failed with code ${result.code}`);
217222
217222
  if (result.stderr) {
@@ -217232,7 +217232,7 @@ async function getLatestVersion(channel2) {
217232
217232
  return result.stdout.trim();
217233
217233
  }
217234
217234
  async function getNpmDistTags() {
217235
- const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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() });
217235
+ const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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() });
217236
217236
  if (result.code !== 0) {
217237
217237
  logForDebugging(`npm view dist-tags failed with code ${result.code}`);
217238
217238
  return { latest: null, stable: null };
@@ -217272,7 +217272,7 @@ async function installGlobalPackage(specificVersion) {
217272
217272
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
217273
217273
  logEvent("tengu_auto_updater_lock_contention", {
217274
217274
  pid: process.pid,
217275
- currentVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
217275
+ currentVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
217276
217276
  });
217277
217277
  return "in_progress";
217278
217278
  }
@@ -217281,7 +217281,7 @@ async function installGlobalPackage(specificVersion) {
217281
217281
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
217282
217282
  logError2(new Error("Windows NPM detected in WSL environment"));
217283
217283
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
217284
- currentVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
217284
+ currentVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
217285
217285
  });
217286
217286
  console.error(`
217287
217287
  Error: Windows NPM detected in WSL
@@ -217300,7 +217300,7 @@ To fix this issue:
217300
217300
  if (!hasPermissions) {
217301
217301
  return "no_permissions";
217302
217302
  }
217303
- const packageSpec = specificVersion ? `${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.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;
217303
+ const packageSpec = specificVersion ? `${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.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;
217304
217304
  const packageManager = getGlobalInstallPackageManager();
217305
217305
  const installResult = await execFileNoThrowWithCwd(packageManager, ["install", "-g", packageSpec], { cwd: homedir18() });
217306
217306
  if (installResult.code !== 0) {
@@ -217628,8 +217628,8 @@ async function detectMultipleInstallations() {
217628
217628
  installations.push({ type: "npm-local", path: localPath });
217629
217629
  }
217630
217630
  const packagesToCheck = ["@theus-ai/theus-code"];
217631
- if ({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.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") {
217632
- packagesToCheck.push({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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);
217631
+ if ({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.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") {
217632
+ packagesToCheck.push({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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);
217633
217633
  }
217634
217634
  const npmResult = await execFileNoThrow("npm", [
217635
217635
  "-g",
@@ -217812,7 +217812,7 @@ function detectLinuxGlobPatternWarnings() {
217812
217812
  }
217813
217813
  async function getDoctorDiagnostic() {
217814
217814
  const installationType = await getCurrentInstallationType();
217815
- const version2 = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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";
217815
+ const version2 = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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";
217816
217816
  const installationPath = await getInstallationPath();
217817
217817
  const invokedBinary = getInvokedBinary();
217818
217818
  const multipleInstallations = await detectMultipleInstallations();
@@ -217824,8 +217824,8 @@ async function getDoctorDiagnostic() {
217824
217824
  for (const install of npmInstalls) {
217825
217825
  if (install.type === "npm-global") {
217826
217826
  let uninstallCmd = "npm -g uninstall @theus-ai/theus-code";
217827
- if ({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.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") {
217828
- uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`;
217827
+ if ({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.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") {
217828
+ uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`;
217829
217829
  }
217830
217830
  warnings.push({
217831
217831
  issue: `Leftover npm global installation at ${install.path}`,
@@ -217937,7 +217937,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
217937
217937
  const startTime2 = Date.now();
217938
217938
  const { stdout, code, stderr } = await execFileNoThrowWithCwd("npm", [
217939
217939
  "view",
217940
- `${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`,
217940
+ `${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`,
217941
217941
  "version",
217942
217942
  "--prefer-online",
217943
217943
  "--registry",
@@ -217961,7 +217961,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
217961
217961
  latency_ms: latencyMs,
217962
217962
  source_npm: true
217963
217963
  });
217964
- logForDebugging(`npm view ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`);
217964
+ logForDebugging(`npm view ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`);
217965
217965
  const latestVersion = stdout.trim();
217966
217966
  return latestVersion;
217967
217967
  }
@@ -218017,7 +218017,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218017
218017
  const fs3 = getFsImplementation();
218018
218018
  await fs3.rm(stagingPath, { recursive: true, force: true });
218019
218019
  const platform4 = getPlatform2();
218020
- const platformPackageName = `${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`;
218020
+ const platformPackageName = `${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`;
218021
218021
  logForDebugging(`Fetching integrity hash for ${platformPackageName}@${version2}`);
218022
218022
  const {
218023
218023
  stdout: integrityOutput,
@@ -218046,7 +218046,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218046
218046
  name: "theus-native-installer",
218047
218047
  version: "0.0.1",
218048
218048
  dependencies: {
218049
- [{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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
218049
+ [{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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
218050
218050
  }
218051
218051
  };
218052
218052
  const packageLock = {
@@ -218059,10 +218059,10 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218059
218059
  name: "theus-native-installer",
218060
218060
  version: "0.0.1",
218061
218061
  dependencies: {
218062
- [{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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
218062
+ [{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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
218063
218063
  }
218064
218064
  },
218065
- [`node_modules/${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`]: {
218065
+ [`node_modules/${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`]: {
218066
218066
  version: version2,
218067
218067
  optionalDependencies: {
218068
218068
  [platformPackageName]: version2
@@ -218084,7 +218084,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
218084
218084
  if (result.code !== 0) {
218085
218085
  throw new Error(`npm ci failed with code ${result.code}: ${result.stderr}`);
218086
218086
  }
218087
- logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`);
218087
+ logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`);
218088
218088
  }
218089
218089
  function getStallTimeoutMs() {
218090
218090
  return Number(process.env.THEUS_CODE_STALL_TIMEOUT_MS_FOR_TESTING) || DEFAULT_STALL_TIMEOUT_MS;
@@ -218747,8 +218747,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
218747
218747
  const maxVersion = await getMaxVersion();
218748
218748
  if (maxVersion && gt(version2, maxVersion)) {
218749
218749
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
218750
- if (gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
218751
- logForDebugging(`Native installer: current version ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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`);
218750
+ if (gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
218751
+ logForDebugging(`Native installer: current version ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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`);
218752
218752
  logEvent("tengu_native_update_skipped_max_version", {
218753
218753
  latency_ms: Date.now() - startTime2,
218754
218754
  max_version: maxVersion,
@@ -218759,7 +218759,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
218759
218759
  version2 = maxVersion;
218760
218760
  }
218761
218761
  }
218762
- if (!forceReinstall && version2 === { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
218762
+ if (!forceReinstall && version2 === { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
218763
218763
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
218764
218764
  logEvent("tengu_native_update_complete", {
218765
218765
  latency_ms: Date.now() - startTime2,
@@ -219509,8 +219509,8 @@ async function cleanupNpmInstallations() {
219509
219509
  } else if (codePackageResult.error) {
219510
219510
  errors4.push(codePackageResult.error);
219511
219511
  }
219512
- if ({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.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") {
219513
- const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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);
219512
+ if ({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.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") {
219513
+ const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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);
219514
219514
  if (macroPackageResult.success) {
219515
219515
  removed++;
219516
219516
  if (macroPackageResult.warning) {
@@ -275789,7 +275789,9 @@ function createRunAgentSpawner(deps = {}) {
275789
275789
  const makeUserMessage = makeUserMessageOverride ?? lazyCreateUserMessage();
275790
275790
  const resolveAgent = resolveAgentOverride ?? defaultResolveAgent;
275791
275791
  const agentDefinition = resolveAgent(norm.tipo, toolUseContext);
275792
- const promptMessages = [makeUserMessage({ content: norm.prompt })];
275792
+ const promptMessages = [
275793
+ makeUserMessage({ content: WORKFLOW_AGENT_PREAMBLE + norm.prompt })
275794
+ ];
275793
275795
  let workerTools = availableTools;
275794
275796
  if (!workerTools) {
275795
275797
  const appState = toolUseContext && typeof toolUseContext.getAppState === "function" ? toolUseContext.getAppState() : undefined;
@@ -275997,7 +275999,7 @@ async function executeWorkflow(opts = {}) {
275997
275999
  ...error40 ? { error: toErr(error40) } : {}
275998
276000
  });
275999
276001
  }
276000
- var WorkflowError, WorkflowAbortError, REGISTRY, WORKFLOW_FILE_EXTS, _runAgentCached, _createUserMessageCached, _assembleToolPoolCached, _worktreeCached, _runWithCwdOverrideCached;
276002
+ var WorkflowError, WorkflowAbortError, REGISTRY, WORKFLOW_FILE_EXTS, _runAgentCached, _createUserMessageCached, _assembleToolPoolCached, _worktreeCached, _runWithCwdOverrideCached, WORKFLOW_AGENT_PREAMBLE;
276001
276003
  var init_runtime = __esm(() => {
276002
276004
  WorkflowError = class WorkflowError extends Error {
276003
276005
  constructor(message) {
@@ -276013,6 +276015,21 @@ var init_runtime = __esm(() => {
276013
276015
  };
276014
276016
  REGISTRY = new Map;
276015
276017
  WORKFLOW_FILE_EXTS = [".js", ".ts", ".mjs", ".cjs"];
276018
+ WORKFLOW_AGENT_PREAMBLE = [
276019
+ "Eres un subagente dentro de una orquestaci\xF3n de Theus. Reglas estrictas:",
276020
+ "1) Completa tu tarea con las herramientas que TENGAS disponibles. Si una",
276021
+ " herramienta falla, no existe o no est\xE1 lista (p. ej. el grafo de \xD1aupa no",
276022
+ " est\xE1 indexado), cambia de inmediato a Grep, Glob, Read o Bash y sigue \u2014",
276023
+ " NUNCA te detienes ni pides permiso por eso.",
276024
+ "2) NUNCA respondas con una disculpa ni menciones \xABproblema t\xE9cnico\xBB,",
276025
+ " \xABno puedo\xBB o \xABherramientas no disponibles\xBB. Tu salida es SIEMPRE el",
276026
+ " trabajo pedido (el resultado o la estructura solicitada), jam\xE1s una excusa.",
276027
+ "3) S\xE9 conciso y ve directo al resultado.",
276028
+ "",
276029
+ "--- TAREA ---",
276030
+ ""
276031
+ ].join(`
276032
+ `);
276016
276033
  });
276017
276034
 
276018
276035
  // tasks/LocalWorkflowTask/LocalWorkflowTask.js
@@ -303594,9 +303611,9 @@ function getTheusEnvMetadata() {
303594
303611
  };
303595
303612
  }
303596
303613
  function getBuildAgeMinutes() {
303597
- if (!{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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)
303614
+ if (!{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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)
303598
303615
  return;
303599
- const buildTime = new Date({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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();
303616
+ const buildTime = new Date({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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();
303600
303617
  if (isNaN(buildTime))
303601
303618
  return;
303602
303619
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -320050,7 +320067,7 @@ function getAssistantMessageFromError(error40, model, options2) {
320050
320067
  if (process.env.USER_TYPE === "ant") {
320051
320068
  const baseMessage = `API Error: 400 ${error40.message}
320052
320069
 
320053
- Run /share and post the JSON file to ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}.`;
320070
+ Run /share and post the JSON file to ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}.`;
320054
320071
  const rewindInstruction = getIsNonInteractiveSession() ? "" : " Then, use /rewind to recover the conversation.";
320055
320072
  return createAssistantAPIErrorMessage({
320056
320073
  content: baseMessage + rewindInstruction,
@@ -320086,7 +320103,7 @@ Run /share and post the JSON file to ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01
320086
320103
  if (process.env.USER_TYPE === "ant" && !process.env.THEUS_MODEL && error40 instanceof Error && error40.message.toLowerCase().includes("invalid model name")) {
320087
320104
  const orgId = getOauthAccountInfo()?.organizationUuid;
320088
320105
  const baseMsg = `[THEUS-INTERNAL] Your org isn't gated into the \`${model}\` model. Either run \`theus\` with \`THEUS_MODEL=${getDefaultMainLoopModelSetting()}\``;
320089
- const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.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.`;
320106
+ const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.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.`;
320090
320107
  return createAssistantAPIErrorMessage({
320091
320108
  content: msg,
320092
320109
  error: "invalid_request"
@@ -330190,7 +330207,7 @@ function buildPrimarySection() {
330190
330207
  });
330191
330208
  return [{
330192
330209
  label: "Version",
330193
- value: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
330210
+ value: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
330194
330211
  }, {
330195
330212
  label: "Session name",
330196
330213
  value: nameValue
@@ -334006,7 +334023,7 @@ function Config({
334006
334023
  }
334007
334024
  })
334008
334025
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime185.jsx(ChannelDowngradeDialog, {
334009
- currentVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
334026
+ currentVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
334010
334027
  onChoice: (choice) => {
334011
334028
  setShowSubmenu(null);
334012
334029
  setTabsHidden(false);
@@ -334018,7 +334035,7 @@ function Config({
334018
334035
  autoUpdatesChannel: "stable"
334019
334036
  };
334020
334037
  if (choice === "stay") {
334021
- newSettings.minimumVersion = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
334038
+ newSettings.minimumVersion = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
334022
334039
  }
334023
334040
  updateSettingsForSource("userSettings", newSettings);
334024
334041
  setSettingsData((prev_27) => ({
@@ -342052,7 +342069,7 @@ function HelpV2(t0) {
342052
342069
  let t6;
342053
342070
  if ($2[31] !== tabs) {
342054
342071
  t6 = /* @__PURE__ */ jsx_runtime212.jsx(Tabs, {
342055
- title: `Theus v${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`,
342072
+ title: `Theus v${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`,
342056
342073
  color: "professionalBlue",
342057
342074
  defaultTab: "general",
342058
342075
  children: tabs
@@ -358773,6 +358790,15 @@ var init_mcp3 = __esm(() => {
358773
358790
  var NOVEDADES;
358774
358791
  var init_data = __esm(() => {
358775
358792
  NOVEDADES = [
358793
+ {
358794
+ version: "v0.2.33",
358795
+ fecha: "2026-07-13",
358796
+ titulo: "Constelaci\xF3n en morado ne\xF3n + recetas que no se rinden",
358797
+ puntos: [
358798
+ "La Constelaci\xF3n (Shift+\u2193) ahora resalta en cualquier terminal: acento morado ne\xF3n con estrellas que respiran (brillo que sube y baja), completadas en dorado \u2605, y las etiquetas en el color por defecto (legibles en terminal clara u oscura). Barra de progreso morada.",
358799
+ "Arreglado: los subagentes de las recetas ya no se rinden con \xABproblema t\xE9cnico con las herramientas\xBB; si el grafo de \xD1aupa no est\xE1 disponible, degradan solos a Grep/Read/Bash y completan el trabajo."
358800
+ ]
358801
+ },
358776
358802
  {
358777
358803
  version: "v0.2.32",
358778
358804
  fecha: "2026-07-13",
@@ -360486,7 +360512,7 @@ function Onboarding({
360486
360512
  flexDirection: "column",
360487
360513
  children: [
360488
360514
  /* @__PURE__ */ jsx_runtime245.jsx(TheusBanner, {
360489
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
360515
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
360490
360516
  }),
360491
360517
  /* @__PURE__ */ jsx_runtime245.jsxs(ThemedBox_default, {
360492
360518
  flexDirection: "column",
@@ -360831,9 +360857,9 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
360831
360857
  return [];
360832
360858
  }
360833
360859
  }
360834
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
360860
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
360835
360861
  if (process.env.USER_TYPE === "ant") {
360836
- const changelog = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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;
360862
+ const changelog = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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;
360837
360863
  if (changelog) {
360838
360864
  const commits = changelog.trim().split(`
360839
360865
  `).filter(Boolean);
@@ -365236,7 +365262,7 @@ var init_Messages = __esm(() => {
365236
365262
  let t1;
365237
365263
  if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
365238
365264
  t1 = /* @__PURE__ */ jsx_runtime258.jsx(TheusSessionHeader, {
365239
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
365265
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
365240
365266
  });
365241
365267
  $2[0] = t1;
365242
365268
  } else {
@@ -378301,6 +378327,7 @@ var exports_WorkflowDetailDialog = {};
378301
378327
  __export(exports_WorkflowDetailDialog, {
378302
378328
  statusColor: () => statusColor2,
378303
378329
  seedOf: () => seedOf,
378330
+ runningColor: () => runningColor,
378304
378331
  progressBarString: () => progressBarString,
378305
378332
  phaseCounts: () => phaseCounts,
378306
378333
  nodeGlyph: () => nodeGlyph,
@@ -378313,6 +378340,11 @@ __export(exports_WorkflowDetailDialog, {
378313
378340
  brailleFrame: () => brailleFrame,
378314
378341
  WorkflowDetailDialog: () => WorkflowDetailDialog
378315
378342
  });
378343
+ function runningColor(frame, seed = 0) {
378344
+ if (REDUCE_MOTION)
378345
+ return NEON;
378346
+ return TWINKLE_COLORS[modIndex(frame + seed, TWINKLE_COLORS.length)];
378347
+ }
378316
378348
  function truncate5(text, n2) {
378317
378349
  const s = typeof text === "string" ? text : String(text ?? "");
378318
378350
  if (n2 <= 1)
@@ -378368,13 +378400,13 @@ function nodeGlyph(status2, frame, seed = 0) {
378368
378400
  function statusColor2(status2) {
378369
378401
  switch (status2) {
378370
378402
  case "completed":
378371
- return "success";
378403
+ return DONE;
378372
378404
  case "failed":
378373
- return "error";
378405
+ return FAIL;
378374
378406
  case "running":
378375
- return "background";
378407
+ return NEON;
378376
378408
  default:
378377
- return;
378409
+ return MUTE;
378378
378410
  }
378379
378411
  }
378380
378412
  function isDimStatus(status2) {
@@ -378509,7 +378541,7 @@ function PhaseColumn({ phase, rows, frame, selectedId }) {
378509
378541
  }
378510
378542
  const sel = selectedId != null && a2.id === selectedId;
378511
378543
  const glyph = nodeGlyph(a2.status, frame, seedOf(a2));
378512
- const color3 = statusColor2(a2.status);
378544
+ const color3 = a2.status === "running" ? runningColor(frame, seedOf(a2)) : statusColor2(a2.status);
378513
378545
  const dim2 = isDimStatus(a2.status);
378514
378546
  const label = truncate5(a2.descripcion || a2.tipo || "agente", COL_W - 4);
378515
378547
  const meta5 = nodeMeta(a2);
@@ -378518,7 +378550,7 @@ function PhaseColumn({ phase, rows, frame, selectedId }) {
378518
378550
  wrap: "truncate-end",
378519
378551
  children: [
378520
378552
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378521
- color: sel ? "background" : undefined,
378553
+ color: sel ? NEON : undefined,
378522
378554
  bold: sel,
378523
378555
  children: sel ? "\u276F" : " "
378524
378556
  }),
@@ -378534,7 +378566,7 @@ function PhaseColumn({ phase, rows, frame, selectedId }) {
378534
378566
  }),
378535
378567
  " ",
378536
378568
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378537
- color: sel ? "background" : undefined,
378569
+ color: sel ? NEON : undefined,
378538
378570
  dimColor: dim2 && !sel,
378539
378571
  children: label
378540
378572
  }),
@@ -378554,7 +378586,7 @@ function PhaseColumn({ phase, rows, frame, selectedId }) {
378554
378586
  children: [
378555
378587
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378556
378588
  bold: true,
378557
- color: phase.isGeneral ? undefined : "background",
378589
+ color: phase.isGeneral ? undefined : NEON,
378558
378590
  wrap: "truncate-end",
378559
378591
  children: truncate5(phase.fase, COL_W)
378560
378592
  }),
@@ -378609,11 +378641,11 @@ function CompactPhases({ phases, frame, width }) {
378609
378641
  children: [
378610
378642
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378611
378643
  bold: true,
378612
- color: phase.isGeneral ? undefined : "background",
378644
+ color: phase.isGeneral ? undefined : NEON,
378613
378645
  children: truncate5(phase.fase, Math.max(8, Math.min(20, width - 24)))
378614
378646
  }),
378615
378647
  running2 && !REDUCE_MOTION ? /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378616
- color: "background",
378648
+ color: NEON,
378617
378649
  children: [
378618
378650
  " ",
378619
378651
  brailleFrame(frame)
@@ -378621,7 +378653,7 @@ function CompactPhases({ phases, frame, width }) {
378621
378653
  }) : null,
378622
378654
  " ",
378623
378655
  c5.running > 0 && /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378624
- color: "background",
378656
+ color: NEON,
378625
378657
  children: [
378626
378658
  nodeGlyph("running", frame),
378627
378659
  c5.running,
@@ -378629,15 +378661,15 @@ function CompactPhases({ phases, frame, width }) {
378629
378661
  ]
378630
378662
  }),
378631
378663
  c5.completed > 0 && /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378632
- color: "success",
378664
+ color: DONE,
378633
378665
  children: [
378634
- "\u25CF",
378666
+ "\u2605",
378635
378667
  c5.completed,
378636
378668
  " "
378637
378669
  ]
378638
378670
  }),
378639
378671
  c5.failed > 0 && /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378640
- color: "error",
378672
+ color: FAIL,
378641
378673
  children: [
378642
378674
  "\u2717",
378643
378675
  c5.failed,
@@ -378735,7 +378767,7 @@ function WorkflowDetailDialog({
378735
378767
  const title = /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378736
378768
  children: [
378737
378769
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378738
- color: "background",
378770
+ color: NEON,
378739
378771
  bold: true,
378740
378772
  children: "\u2726"
378741
378773
  }),
@@ -378750,7 +378782,7 @@ function WorkflowDetailDialog({
378750
378782
  dimColor: true,
378751
378783
  children: [
378752
378784
  isRunning && activeCount > 0 ? /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378753
- color: "background",
378785
+ color: NEON,
378754
378786
  children: [
378755
378787
  spinner,
378756
378788
  " "
@@ -378762,16 +378794,16 @@ function WorkflowDetailDialog({
378762
378794
  ]
378763
378795
  });
378764
378796
  const statusNode = task.status === "running" ? /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378765
- color: "background",
378797
+ color: NEON,
378766
378798
  children: "en curso"
378767
378799
  }) : task.status === "completed" ? /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378768
- color: "success",
378800
+ color: DONE,
378769
378801
  children: "completado"
378770
378802
  }) : task.status === "killed" ? /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378771
- color: "error",
378803
+ color: FAIL,
378772
378804
  children: "detenido"
378773
378805
  }) : /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378774
- color: "error",
378806
+ color: FAIL,
378775
378807
  children: "fall\xF3"
378776
378808
  });
378777
378809
  const canSkip = !!(selected && selected.status === "running" && onSkipAgent);
@@ -378787,7 +378819,7 @@ function WorkflowDetailDialog({
378787
378819
  title,
378788
378820
  subtitle,
378789
378821
  onCancel: onDone,
378790
- color: "background",
378822
+ color: NEON,
378791
378823
  inputGuide: (exitState) => exitState.pending ? /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378792
378824
  children: [
378793
378825
  "Pulsa ",
@@ -378852,7 +378884,7 @@ function WorkflowDetailDialog({
378852
378884
  width: innerWidth
378853
378885
  }),
378854
378886
  agents.length > 0 && /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378855
- color: "background",
378887
+ color: NEON,
378856
378888
  wrap: "truncate-end",
378857
378889
  children: flowingDotsLine(flowWidth, frame, REDUCE_MOTION)
378858
378890
  }),
@@ -378860,12 +378892,17 @@ function WorkflowDetailDialog({
378860
378892
  wrap: "truncate-end",
378861
378893
  children: [
378862
378894
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378863
- color: "background",
378864
- children: progressBarString(progress.fraction, barWidth)
378895
+ color: NEON,
378896
+ children: progressBarString(progress.fraction, barWidth).replace(/\u2591+$/, "")
378897
+ }),
378898
+ /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378899
+ color: MUTE,
378900
+ children: (progressBarString(progress.fraction, barWidth).match(/\u2591+$/) || [""])[0]
378865
378901
  }),
378866
378902
  " ",
378867
378903
  /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378868
378904
  bold: true,
378905
+ color: NEON,
378869
378906
  children: [
378870
378907
  progress.pct,
378871
378908
  "%"
@@ -378894,7 +378931,7 @@ function WorkflowDetailDialog({
378894
378931
  }),
378895
378932
  statusNode,
378896
378933
  task.error ? /* @__PURE__ */ jsx_runtime279.jsxs(ThemedText, {
378897
- color: "error",
378934
+ color: FAIL,
378898
378935
  children: [
378899
378936
  " \u2014 ",
378900
378937
  truncate5(task.error, 70)
@@ -378909,9 +378946,9 @@ function WorkflowDetailDialog({
378909
378946
  wrap: "truncate-end",
378910
378947
  children: [
378911
378948
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378912
- color: statusColor2(selected.status),
378949
+ color: selected.status === "running" ? runningColor(frame, seedOf(selected)) : statusColor2(selected.status),
378913
378950
  bold: true,
378914
- children: nodeGlyph(selected.status, frame)
378951
+ children: nodeGlyph(selected.status, frame, seedOf(selected))
378915
378952
  }),
378916
378953
  " ",
378917
378954
  /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
@@ -378946,7 +378983,7 @@ function WorkflowDetailDialog({
378946
378983
  ]
378947
378984
  }),
378948
378985
  selected.error ? /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
378949
- color: "error",
378986
+ color: FAIL,
378950
378987
  wrap: "truncate-end",
378951
378988
  children: truncate5(selected.error, 90)
378952
378989
  }) : selected.text ? /* @__PURE__ */ jsx_runtime279.jsx(ThemedText, {
@@ -378969,7 +379006,7 @@ function WorkflowDetailDialog({
378969
379006
  })
378970
379007
  });
378971
379008
  }
378972
- var import_react161, jsx_runtime279, REDUCE_MOTION, FRAME_MS = 100, PULSE_FRAMES, BRAILLE_FRAMES, FLOW_MARKERS, MAX_NODES_PER_PHASE = 6, VISIBLE_LOGS = 3, COL_W = 18, CONN_W = 3, MIN_COLUMNS_WIDTH = 64, GENERAL_KEY = "__general__", WorkflowDetailDialog_default;
379009
+ var import_react161, jsx_runtime279, REDUCE_MOTION, FRAME_MS = 100, NEON = "#b026ff", NEON_HI = "#e0aaff", NEON_MID = "#c77dff", NEON_LO = "#7b2fbf", DONE = "#ffb020", FAIL = "#ff3b6b", MUTE = "#8b8b9a", TWINKLE_COLORS, PULSE_FRAMES, BRAILLE_FRAMES, FLOW_MARKERS, MAX_NODES_PER_PHASE = 6, VISIBLE_LOGS = 3, COL_W = 18, CONN_W = 3, MIN_COLUMNS_WIDTH = 64, GENERAL_KEY = "__general__", WorkflowDetailDialog_default;
378973
379010
  var init_WorkflowDetailDialog = __esm(() => {
378974
379011
  init_useElapsedTime();
378975
379012
  init_useTerminalSize();
@@ -378983,6 +379020,7 @@ var init_WorkflowDetailDialog = __esm(() => {
378983
379020
  import_react161 = __toESM(require_react(), 1);
378984
379021
  jsx_runtime279 = __toESM(require_jsx_runtime(), 1);
378985
379022
  REDUCE_MOTION = isEnvTruthy(process.env.THEUS_CODE_REDUCE_MOTION);
379023
+ TWINKLE_COLORS = [NEON_HI, NEON, NEON_MID, NEON_LO, NEON_MID, NEON];
378986
379024
  PULSE_FRAMES = ["\u2726", "\u2737", "\u2727", "\u22C6", "\u2727", "\u2737"];
378987
379025
  BRAILLE_FRAMES = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827"];
378988
379026
  FLOW_MARKERS = ["\u2726", "\u2727", "\u22C6", "\xB7"];
@@ -393690,7 +393728,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
393690
393728
  smapsRollup,
393691
393729
  platform: process.platform,
393692
393730
  nodeVersion: process.version,
393693
- ccVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
393731
+ ccVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
393694
393732
  };
393695
393733
  }
393696
393734
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -394276,7 +394314,7 @@ var init_bridge_kick = __esm(() => {
394276
394314
  var call57 = async () => {
394277
394315
  return {
394278
394316
  type: "text",
394279
- value: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
394317
+ value: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
394280
394318
  };
394281
394319
  }, version2, version_default;
394282
394320
  var init_version = __esm(() => {
@@ -394753,7 +394791,7 @@ function IntelligenceBar({ onDone }) {
394753
394791
  });
394754
394792
  const fill = Math.round((index + 1) / LEVELS.length * BAR_W);
394755
394793
  const pulsePos = REDUCE_MOTION2 ? -10 : frame % (BAR_W + 8);
394756
- const baseColor = isMax ? MAX_CYCLE[frame % MAX_CYCLE.length] : NEON;
394794
+ const baseColor = isMax ? MAX_CYCLE[frame % MAX_CYCLE.length] : NEON2;
394757
394795
  const cells = [];
394758
394796
  for (let c5 = 0;c5 < BAR_W; c5++) {
394759
394797
  const filled = c5 < fill;
@@ -394776,7 +394814,7 @@ function IntelligenceBar({ onDone }) {
394776
394814
  const active2 = i3 === index;
394777
394815
  return /* @__PURE__ */ jsx_runtime332.jsxs(ThemedText, {
394778
394816
  bold: active2,
394779
- color: active2 ? isMax ? baseColor : NEON : undefined,
394817
+ color: active2 ? isMax ? baseColor : NEON2 : undefined,
394780
394818
  dimColor: !active2,
394781
394819
  children: [
394782
394820
  active2 ? `\u25B8 ${l.label}` : ` ${l.label}`,
@@ -394792,7 +394830,7 @@ function IntelligenceBar({ onDone }) {
394792
394830
  /* @__PURE__ */ jsx_runtime332.jsxs(ThemedBox_default, {
394793
394831
  children: [
394794
394832
  /* @__PURE__ */ jsx_runtime332.jsx(ThemedText, {
394795
- color: isMax ? baseColor : NEON,
394833
+ color: isMax ? baseColor : NEON2,
394796
394834
  bold: true,
394797
394835
  children: isMax && !REDUCE_MOTION2 ? "\u26A1 " : "\uD83E\uDDE0 "
394798
394836
  }),
@@ -394815,13 +394853,13 @@ function IntelligenceBar({ onDone }) {
394815
394853
  /* @__PURE__ */ jsx_runtime332.jsxs(ThemedBox_default, {
394816
394854
  children: [
394817
394855
  /* @__PURE__ */ jsx_runtime332.jsx(ThemedText, {
394818
- color: isMax ? baseColor : NEON,
394856
+ color: isMax ? baseColor : NEON2,
394819
394857
  bold: true,
394820
394858
  children: "["
394821
394859
  }),
394822
394860
  cells,
394823
394861
  /* @__PURE__ */ jsx_runtime332.jsx(ThemedText, {
394824
- color: isMax ? baseColor : NEON,
394862
+ color: isMax ? baseColor : NEON2,
394825
394863
  bold: true,
394826
394864
  children: "]"
394827
394865
  })
@@ -394832,7 +394870,7 @@ function IntelligenceBar({ onDone }) {
394832
394870
  children: /* @__PURE__ */ jsx_runtime332.jsxs(ThemedText, {
394833
394871
  children: [
394834
394872
  /* @__PURE__ */ jsx_runtime332.jsx(ThemedText, {
394835
- color: isMax ? baseColor : NEON,
394873
+ color: isMax ? baseColor : NEON2,
394836
394874
  bold: true,
394837
394875
  children: LEVELS[index].label
394838
394876
  }),
@@ -394856,7 +394894,7 @@ function IntelligenceBar({ onDone }) {
394856
394894
  ]
394857
394895
  });
394858
394896
  }
394859
- var import_react185, jsx_runtime332, REDUCE_MOTION2, FRAME_MS2 = 90, BAR_W = 34, LEVELS, NEON = "#39ff14", NEON_DIM = "#1f7a10", PULSE = "#d6ffc2", MAX_CYCLE, call60 = async (onDone) => {
394897
+ var import_react185, jsx_runtime332, REDUCE_MOTION2, FRAME_MS2 = 90, BAR_W = 34, LEVELS, NEON2 = "#39ff14", NEON_DIM = "#1f7a10", PULSE = "#d6ffc2", MAX_CYCLE, call60 = async (onDone) => {
394860
394898
  return /* @__PURE__ */ jsx_runtime332.jsx(IntelligenceBar, {
394861
394899
  onDone
394862
394900
  });
@@ -398718,13 +398756,13 @@ async function updateReleaseBundle() {
398718
398756
  await gracefulShutdown(1);
398719
398757
  return;
398720
398758
  }
398721
- if (gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398722
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
398759
+ if (gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398760
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
398723
398761
  `);
398724
398762
  await gracefulShutdown(0);
398725
398763
  return;
398726
398764
  }
398727
- writeToStdout(`New version available: ${latest} (current: ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
398765
+ writeToStdout(`New version available: ${latest} (current: ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
398728
398766
  `);
398729
398767
  writeToStdout(`Installing update from theus.pe/dl...
398730
398768
  `);
@@ -398758,7 +398796,7 @@ async function updateReleaseBundle() {
398758
398796
  return;
398759
398797
  }
398760
398798
  cpSync(staged, bundleDir, { recursive: true, force: true });
398761
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`) + `
398799
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`) + `
398762
398800
  `);
398763
398801
  await regenerateCompletionCache();
398764
398802
  } finally {
@@ -398771,7 +398809,7 @@ async function updateReleaseBundle() {
398771
398809
  async function update() {
398772
398810
  logEvent("tengu_update_check", {});
398773
398811
  await updateNaupa();
398774
- writeToStdout(`Current version: ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
398812
+ writeToStdout(`Current version: ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
398775
398813
  `);
398776
398814
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
398777
398815
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -398850,8 +398888,8 @@ async function update() {
398850
398888
  writeToStdout(`Theus is managed by Homebrew.
398851
398889
  `);
398852
398890
  const latest = await getLatestVersion(channel2);
398853
- if (latest && !gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398854
- writeToStdout(`Update available: ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}
398891
+ if (latest && !gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398892
+ writeToStdout(`Update available: ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}
398855
398893
  `);
398856
398894
  writeToStdout(`
398857
398895
  `);
@@ -398867,8 +398905,8 @@ async function update() {
398867
398905
  writeToStdout(`Theus is managed by winget.
398868
398906
  `);
398869
398907
  const latest = await getLatestVersion(channel2);
398870
- if (latest && !gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398871
- writeToStdout(`Update available: ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}
398908
+ if (latest && !gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398909
+ writeToStdout(`Update available: ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}
398872
398910
  `);
398873
398911
  writeToStdout(`
398874
398912
  `);
@@ -398884,8 +398922,8 @@ async function update() {
398884
398922
  writeToStdout(`Theus is managed by apk.
398885
398923
  `);
398886
398924
  const latest = await getLatestVersion(channel2);
398887
- if (latest && !gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398888
- writeToStdout(`Update available: ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}
398925
+ if (latest && !gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
398926
+ writeToStdout(`Update available: ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}
398889
398927
  `);
398890
398928
  writeToStdout(`
398891
398929
  `);
@@ -398950,11 +398988,11 @@ async function update() {
398950
398988
  `);
398951
398989
  await gracefulShutdown(1);
398952
398990
  }
398953
- if (result.latestVersion === { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
398954
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
398991
+ if (result.latestVersion === { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
398992
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
398955
398993
  `);
398956
398994
  } else {
398957
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`) + `
398995
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`) + `
398958
398996
  `);
398959
398997
  await regenerateCompletionCache();
398960
398998
  }
@@ -398973,9 +399011,9 @@ async function update() {
398973
399011
  await removeInstalledSymlink();
398974
399012
  }
398975
399013
  logForDebugging("update: Checking npm registry for latest version");
398976
- logForDebugging(`update: Package URL: ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`);
399014
+ logForDebugging(`update: Package URL: ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`);
398977
399015
  const npmTag = channel2 === "stable" ? "stable" : "latest";
398978
- const npmCommand = `npm view ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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`;
399016
+ const npmCommand = `npm view ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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`;
398979
399017
  logForDebugging(`update: Running: ${npmCommand}`);
398980
399018
  const latestVersion = await getLatestVersion(channel2);
398981
399019
  logForDebugging(`update: Latest version from npm: ${latestVersion || "FAILED"}`);
@@ -398995,7 +399033,7 @@ async function update() {
398995
399033
  `);
398996
399034
  process.stderr.write(` \u2022 Corporate proxy/firewall blocking npm
398997
399035
  `);
398998
- if ({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.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")) {
399036
+ if ({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.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")) {
398999
399037
  process.stderr.write(` \u2022 Internal/development build not published to npm
399000
399038
  `);
399001
399039
  }
@@ -399007,19 +399045,19 @@ async function update() {
399007
399045
  `);
399008
399046
  process.stderr.write(` \u2022 Run with --debug flag for more details
399009
399047
  `);
399010
- const packageName = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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");
399048
+ const packageName = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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");
399011
399049
  process.stderr.write(` \u2022 Manually check: npm view ${packageName} version
399012
399050
  `);
399013
399051
  process.stderr.write(` \u2022 Check if you need to login: npm whoami
399014
399052
  `);
399015
399053
  await gracefulShutdown(1);
399016
399054
  }
399017
- if (gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
399018
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
399055
+ if (gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
399056
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
399019
399057
  `);
399020
399058
  await gracefulShutdown(0);
399021
399059
  }
399022
- writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
399060
+ writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
399023
399061
  `);
399024
399062
  writeToStdout(`Installing update...
399025
399063
  `);
@@ -399064,7 +399102,7 @@ async function update() {
399064
399102
  logForDebugging(`update: Installation status: ${status2}`);
399065
399103
  switch (status2) {
399066
399104
  case "success":
399067
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`) + `
399105
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`) + `
399068
399106
  `);
399069
399107
  await regenerateCompletionCache();
399070
399108
  break;
@@ -399074,7 +399112,7 @@ async function update() {
399074
399112
  if (useLocalUpdate) {
399075
399113
  process.stderr.write(`Try manually updating with:
399076
399114
  `);
399077
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}
399115
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}
399078
399116
  `);
399079
399117
  } else {
399080
399118
  process.stderr.write(`Try running with sudo or fix npm permissions
@@ -399090,7 +399128,7 @@ async function update() {
399090
399128
  if (useLocalUpdate) {
399091
399129
  process.stderr.write(`Try manually updating with:
399092
399130
  `);
399093
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}
399131
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}
399094
399132
  `);
399095
399133
  } else {
399096
399134
  process.stderr.write(`Or consider using native installation with: theus install
@@ -408167,7 +408205,7 @@ var init_sessionStorage = __esm(() => {
408167
408205
  init_settings2();
408168
408206
  init_slowOperations();
408169
408207
  init_uuid();
408170
- VERSION4 = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
408208
+ VERSION4 = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
408171
408209
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
408172
408210
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
408173
408211
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -409372,7 +409410,7 @@ var init_filesystem = __esm(() => {
409372
409410
  });
409373
409411
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
409374
409412
  const nonce = randomBytes21(16).toString("hex");
409375
- return join148(getTheusTempDir(), "bundled-skills", { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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);
409413
+ return join148(getTheusTempDir(), "bundled-skills", { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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);
409376
409414
  });
409377
409415
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
409378
409416
  });
@@ -414551,7 +414589,7 @@ function getSimpleDoingTasksSection() {
414551
414589
  ];
414552
414590
  const userHelpSubitems = [
414553
414591
  `/help: Get help with using Theus`,
414554
- `To give feedback, users should ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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}`
414592
+ `To give feedback, users should ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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}`
414555
414593
  ];
414556
414594
  const items = [
414557
414595
  `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.`,
@@ -415451,7 +415489,7 @@ function computeFingerprint(messageText, version3) {
415451
415489
  }
415452
415490
  function computeFingerprintFromMessages(messages) {
415453
415491
  const firstMessageText = extractFirstMessageText(messages);
415454
- return computeFingerprint(firstMessageText, { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
415492
+ return computeFingerprint(firstMessageText, { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
415455
415493
  }
415456
415494
  var FINGERPRINT_SALT = "59cf53e54c78";
415457
415495
  var init_fingerprint = () => {};
@@ -417999,7 +418037,7 @@ async function sideQuery(opts) {
417999
418037
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
418000
418038
  }
418001
418039
  const messageText = extractFirstUserMessageText(messages);
418002
- const fingerprint = computeFingerprint(messageText, { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
418040
+ const fingerprint = computeFingerprint(messageText, { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
418003
418041
  const attributionHeader = getAttributionHeader(fingerprint);
418004
418042
  const systemBlocks = [
418005
418043
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -419302,7 +419340,7 @@ async function handleMemories(state) {
419302
419340
  async function runProjectContextMcpServer() {
419303
419341
  const projectRoot = process.env.THEUS_PROJECT_ROOT || process.cwd();
419304
419342
  const state = new ProjectContextState(projectRoot);
419305
- const server2 = new Server({ name: SERVER_NAME, version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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: {} } });
419343
+ const server2 = new Server({ name: SERVER_NAME, version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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: {} } });
419306
419344
  server2.setRequestHandler(ListToolsRequestSchema, async () => ({
419307
419345
  tools: TOOL_DEFINITIONS.map((t) => ({
419308
419346
  name: t.name,
@@ -421282,7 +421320,7 @@ function createBridgeLogger(options2) {
421282
421320
  connectUrl = buildBridgeConnectUrl(environmentId, cachedIngressUrl);
421283
421321
  regenerateQr(connectUrl);
421284
421322
  if (verbose) {
421285
- write(source_default.dim(`Remote Control`) + ` v${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
421323
+ write(source_default.dim(`Remote Control`) + ` v${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
421286
421324
  `);
421287
421325
  }
421288
421326
  if (verbose) {
@@ -422255,7 +422293,7 @@ function appendToLog(path19, message) {
422255
422293
  cwd: getFsImplementation().cwd(),
422256
422294
  userType: process.env.USER_TYPE,
422257
422295
  sessionId: getSessionId(),
422258
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
422296
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
422259
422297
  };
422260
422298
  getLogWriter(path19).write(messageWithTimestamp);
422261
422299
  }
@@ -423525,7 +423563,7 @@ Spawn mode for this project:
423525
423563
  const api2 = createBridgeApiClient({
423526
423564
  baseUrl,
423527
423565
  getAccessToken: getBridgeAccessToken2,
423528
- runnerVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
423566
+ runnerVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
423529
423567
  onDebug: logForDebugging,
423530
423568
  onAuth401: handleOAuth401Error2,
423531
423569
  getTrustedDeviceToken
@@ -423763,7 +423801,7 @@ async function runBridgeHeadless(opts, signal) {
423763
423801
  const api2 = createBridgeApiClient({
423764
423802
  baseUrl,
423765
423803
  getAccessToken: opts.getAccessToken,
423766
- runnerVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
423804
+ runnerVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
423767
423805
  onDebug: log2,
423768
423806
  onAuth401: opts.onAuth401,
423769
423807
  getTrustedDeviceToken
@@ -427827,7 +427865,7 @@ function buildSystemInitMessage(inputs) {
427827
427865
  slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
427828
427866
  apiKeySource: getTheusApiKeyWithSource().source,
427829
427867
  betas: getSdkBetas(),
427830
- theus_code_version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
427868
+ theus_code_version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
427831
427869
  output_style: outputStyle2,
427832
427870
  agents: inputs.agents.map((agent) => agent.agentType),
427833
427871
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -427867,8 +427905,8 @@ async function getEnvLessBridgeConfig() {
427867
427905
  }
427868
427906
  async function checkEnvLessBridgeMinVersion() {
427869
427907
  const cfg = await getEnvLessBridgeConfig();
427870
- if (cfg.min_version && lt({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
427871
- return `Your version of Theus (${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.
427908
+ if (cfg.min_version && lt({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
427909
+ return `Your version of Theus (${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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.
427872
427910
  Version ${cfg.min_version} or higher is required. Run \`theus update\` to update.`;
427873
427911
  }
427874
427912
  return null;
@@ -430191,7 +430229,7 @@ async function initBridgeCore(params) {
430191
430229
  const rawApi = createBridgeApiClient({
430192
430230
  baseUrl,
430193
430231
  getAccessToken,
430194
- runnerVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
430232
+ runnerVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
430195
430233
  onDebug: logForDebugging,
430196
430234
  onAuth401,
430197
430235
  getTrustedDeviceToken
@@ -446932,7 +446970,7 @@ var init_useVoiceEnabled = __esm(() => {
446932
446970
  function getSemverPart(version3) {
446933
446971
  return `${import_semver14.major(version3, { loose: true })}.${import_semver14.minor(version3, { loose: true })}.${import_semver14.patch(version3, { loose: true })}`;
446934
446972
  }
446935
- function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
446973
+ function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
446936
446974
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react230.useState(() => getSemverPart(initialVersion));
446937
446975
  if (!updatedVersion) {
446938
446976
  return null;
@@ -446972,7 +447010,7 @@ function AutoUpdater({
446972
447010
  return;
446973
447011
  }
446974
447012
  if (false) {}
446975
- const currentVersion = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
447013
+ const currentVersion = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
446976
447014
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
446977
447015
  let latestVersion = await getLatestVersion(channel2);
446978
447016
  const isDisabled2 = isAutoUpdaterDisabled();
@@ -447108,7 +447146,7 @@ function AutoUpdater({
447108
447146
  " ",
447109
447147
  /* @__PURE__ */ jsx_runtime403.jsx(ThemedText, {
447110
447148
  bold: true,
447111
- children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.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.32", BUILD_TIME: "1970-01-01T00:00:00.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}`
447149
+ children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.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.33", BUILD_TIME: "1970-01-01T00:00:00.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}`
447112
447150
  })
447113
447151
  ]
447114
447152
  })
@@ -447185,12 +447223,12 @@ function NativeAutoUpdater({
447185
447223
  logEvent("tengu_native_auto_updater_start", {});
447186
447224
  try {
447187
447225
  const maxVersion = await getMaxVersion();
447188
- if (maxVersion && gt({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
447226
+ if (maxVersion && gt({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
447189
447227
  const msg = await getMaxVersionMessage();
447190
447228
  setMaxVersionIssue(msg ?? "affects your version");
447191
447229
  }
447192
447230
  const result = await installLatest(channel2);
447193
- const currentVersion = { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
447231
+ const currentVersion = { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
447194
447232
  const latencyMs = Date.now() - startTime2;
447195
447233
  if (result.lockFailed) {
447196
447234
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -447327,17 +447365,17 @@ function PackageManagerAutoUpdater(t0) {
447327
447365
  const maxVersion = await getMaxVersion();
447328
447366
  if (maxVersion && latest && gt(latest, maxVersion)) {
447329
447367
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
447330
- if (gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
447331
- logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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`);
447368
+ if (gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)) {
447369
+ logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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`);
447332
447370
  setUpdateAvailable(false);
447333
447371
  return;
447334
447372
  }
447335
447373
  latest = maxVersion;
447336
447374
  }
447337
- const hasUpdate = latest && !gte({ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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);
447375
+ const hasUpdate = latest && !gte({ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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);
447338
447376
  setUpdateAvailable(!!hasUpdate);
447339
447377
  if (hasUpdate) {
447340
- logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`);
447378
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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}`);
447341
447379
  }
447342
447380
  };
447343
447381
  $2[0] = t1;
@@ -447371,7 +447409,7 @@ function PackageManagerAutoUpdater(t0) {
447371
447409
  wrap: "truncate",
447372
447410
  children: [
447373
447411
  "currentVersion: ",
447374
- { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
447412
+ { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
447375
447413
  ]
447376
447414
  });
447377
447415
  $2[3] = verbose;
@@ -455244,7 +455282,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
455244
455282
  project_dir: getOriginalCwd(),
455245
455283
  added_dirs: addedDirs
455246
455284
  },
455247
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
455285
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
455248
455286
  output_style: {
455249
455287
  name: outputStyleName
455250
455288
  },
@@ -466656,7 +466694,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
466656
466694
  } catch {}
466657
466695
  const data = {
466658
466696
  trigger,
466659
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
466697
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
466660
466698
  platform: process.platform,
466661
466699
  transcript,
466662
466700
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -479680,7 +479718,7 @@ function completeOnboarding() {
479680
479718
  saveGlobalConfig((current) => ({
479681
479719
  ...current,
479682
479720
  hasCompletedOnboarding: true,
479683
- lastOnboardingVersion: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
479721
+ lastOnboardingVersion: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
479684
479722
  }));
479685
479723
  }
479686
479724
  function showDialog(root2, renderer) {
@@ -490539,7 +490577,7 @@ async function startMCPServer(cwd3, debug3, verbose) {
490539
490577
  setCwd(cwd3);
490540
490578
  const server2 = new Server({
490541
490579
  name: "theus/tengu",
490542
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
490580
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
490543
490581
  }, {
490544
490582
  capabilities: {
490545
490583
  tools: {}
@@ -491981,7 +492019,7 @@ async function setupTokenHandler(root2) {
491981
492019
  gap: 1,
491982
492020
  children: [
491983
492021
  /* @__PURE__ */ jsx_runtime489.jsx(TheusBanner, {
491984
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
492022
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
491985
492023
  }),
491986
492024
  showAuthWarning && /* @__PURE__ */ jsx_runtime489.jsxs(ThemedBox_default, {
491987
492025
  flexDirection: "column",
@@ -493450,7 +493488,7 @@ ${assistantAddendum}` : assistantAddendum;
493450
493488
  }
493451
493489
  }
493452
493490
  logForDiagnosticsNoPII("info", "started", {
493453
- version: { VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
493491
+ version: { VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
493454
493492
  is_native_binary: isInBundledMode()
493455
493493
  });
493456
493494
  registerCleanup(async () => {
@@ -494318,7 +494356,7 @@ Usage: theus --remote "your task description"`, () => gracefulShutdown(1));
494318
494356
  pendingHookMessages
494319
494357
  }, renderAndRun);
494320
494358
  }
494321
- }).version(`${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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");
494359
+ }).version(`${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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");
494322
494360
  program2.option("-w, --worktree [name]", "Crea un nuevo worktree de git para esta sesi\xF3n (opcionalmente indica un nombre)");
494323
494361
  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.");
494324
494362
  if (canUserConfigureAdvisor()) {
@@ -494870,7 +494908,7 @@ if (false) {}
494870
494908
  async function main2() {
494871
494909
  const args = process.argv.slice(2);
494872
494910
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
494873
- console.log(`${{ VERSION: "0.2.32", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)`);
494911
+ console.log(`${{ VERSION: "0.2.33", BUILD_TIME: "1970-01-01T00:00:00.000Z", 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)`);
494874
494912
  return;
494875
494913
  }
494876
494914
  const {