theus-cli 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/cli.js +126 -120
  2. package/package.json +1 -1
package/cli.js CHANGED
@@ -58123,7 +58123,7 @@ async function _executeApiKeyHelper(isNonInteractiveSession) {
58123
58123
  if (isApiKeyHelperFromProjectOrLocalSettings()) {
58124
58124
  const hasTrust = checkHasTrustDialogAccepted();
58125
58125
  if (!hasTrust && !isNonInteractiveSession) {
58126
- const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58126
+ const error40 = new Error(`Security: apiKeyHelper executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58127
58127
  logAntError("apiKeyHelper invoked before trust check", error40);
58128
58128
  logEvent("tengu_apiKeyHelper_missing_trust11", {});
58129
58129
  return null;
@@ -58167,7 +58167,7 @@ async function runAwsAuthRefresh() {
58167
58167
  if (isAwsAuthRefreshFromProjectSettings()) {
58168
58168
  const hasTrust = checkHasTrustDialogAccepted();
58169
58169
  if (!hasTrust && !getIsNonInteractiveSession()) {
58170
- const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58170
+ const error40 = new Error(`Security: awsAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58171
58171
  logAntError("awsAuthRefresh invoked before trust check", error40);
58172
58172
  logEvent("tengu_awsAuthRefresh_missing_trust", {});
58173
58173
  return false;
@@ -58227,7 +58227,7 @@ async function getAwsCredsFromCredentialExport() {
58227
58227
  if (isAwsCredentialExportFromProjectSettings()) {
58228
58228
  const hasTrust = checkHasTrustDialogAccepted();
58229
58229
  if (!hasTrust && !getIsNonInteractiveSession()) {
58230
- const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58230
+ const error40 = new Error(`Security: awsCredentialExport executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58231
58231
  logAntError("awsCredentialExport invoked before trust check", error40);
58232
58232
  logEvent("tengu_awsCredentialExport_missing_trust", {});
58233
58233
  return null;
@@ -58312,7 +58312,7 @@ async function runGcpAuthRefresh() {
58312
58312
  if (isGcpAuthRefreshFromProjectSettings()) {
58313
58313
  const hasTrust = checkHasTrustDialogAccepted();
58314
58314
  if (!hasTrust && !getIsNonInteractiveSession()) {
58315
- const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58315
+ const error40 = new Error(`Security: gcpAuthRefresh executed before workspace trust is confirmed. If you see this message, post in ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
58316
58316
  logAntError("gcpAuthRefresh invoked before trust check", error40);
58317
58317
  logEvent("tengu_gcpAuthRefresh_missing_trust", {});
58318
58318
  return false;
@@ -59007,7 +59007,7 @@ var init_auth = __esm(() => {
59007
59007
 
59008
59008
  // utils/userAgent.ts
59009
59009
  function getTheusCodeUserAgent() {
59010
- return `theus-code/${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`;
59010
+ return `theus-code/${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`;
59011
59011
  }
59012
59012
 
59013
59013
  // utils/workloadContext.ts
@@ -59029,7 +59029,7 @@ function getUserAgent() {
59029
59029
  const clientApp = process.env.THEUS_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}` : "";
59030
59030
  const workload = getWorkload();
59031
59031
  const workloadSuffix = workload ? `, workload/${workload}` : "";
59032
- return `theus-cli/${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (${process.env.USER_TYPE}, ${process.env.THEUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
59032
+ return `theus-cli/${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (${process.env.USER_TYPE}, ${process.env.THEUS_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
59033
59033
  }
59034
59034
  function getMCPUserAgent() {
59035
59035
  const parts = [];
@@ -59043,7 +59043,7 @@ function getMCPUserAgent() {
59043
59043
  parts.push(`client-app/${process.env.THEUS_AGENT_SDK_CLIENT_APP}`);
59044
59044
  }
59045
59045
  const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
59046
- return `theus-code/${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}${suffix}`;
59046
+ return `theus-code/${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}${suffix}`;
59047
59047
  }
59048
59048
  function getWebFetchUserAgent() {
59049
59049
  return `Theus-User (${getTheusCodeUserAgent()}; +https://support.theus.pe/)`;
@@ -59181,7 +59181,7 @@ var init_user = __esm(() => {
59181
59181
  deviceId,
59182
59182
  sessionId: getSessionId(),
59183
59183
  email: getEmail(),
59184
- appVersion: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
59184
+ appVersion: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
59185
59185
  platform: getHostPlatformForAnalytics(),
59186
59186
  organizationUuid,
59187
59187
  accountUuid,
@@ -60892,7 +60892,7 @@ var init_metadata = __esm(() => {
60892
60892
  COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
60893
60893
  WHITESPACE_REGEX = /\s+/;
60894
60894
  getVersionBase = memoize_default(() => {
60895
- const match = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION.match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
60895
+ const match = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION.match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
60896
60896
  return match ? match[0] : undefined;
60897
60897
  });
60898
60898
  buildEnvContext = memoize_default(async () => {
@@ -60932,9 +60932,9 @@ var init_metadata = __esm(() => {
60932
60932
  isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
60933
60933
  isTheusCodeAction: isEnvTruthy(process.env.THEUS_CODE_ACTION),
60934
60934
  isTheusAiAuth: isTheusAISubscriber(),
60935
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
60935
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
60936
60936
  versionBase: getVersionBase(),
60937
- buildTime: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME,
60937
+ buildTime: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME,
60938
60938
  deploymentEnvironment: env3.detectDeploymentEnvironment(),
60939
60939
  ...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
60940
60940
  githubEventName: process.env.GITHUB_EVENT_NAME,
@@ -61600,7 +61600,7 @@ function initialize1PEventLogging() {
61600
61600
  const platform2 = getPlatform();
61601
61601
  const attributes = {
61602
61602
  [ATTR_SERVICE_NAME]: "theus-code",
61603
- [ATTR_SERVICE_VERSION]: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
61603
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
61604
61604
  };
61605
61605
  if (platform2 === "wsl") {
61606
61606
  const wslVersion = getWslVersion();
@@ -61627,7 +61627,7 @@ function initialize1PEventLogging() {
61627
61627
  })
61628
61628
  ]
61629
61629
  });
61630
- firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
61630
+ firstPartyEventLogger = firstPartyEventLoggerProvider.getLogger("com.theus.theus_code.events", { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
61631
61631
  }
61632
61632
  async function reinitialize1PEventLoggingIfConfigChanged() {
61633
61633
  if (!is1PEventLoggingEnabled() || !firstPartyEventLoggerProvider) {
@@ -63498,7 +63498,7 @@ function getAttributionHeader(fingerprint) {
63498
63498
  if (!isAttributionHeaderEnabled()) {
63499
63499
  return "";
63500
63500
  }
63501
- const version2 = `${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}.${fingerprint}`;
63501
+ const version2 = `${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}.${fingerprint}`;
63502
63502
  const entrypoint = process.env.THEUS_CODE_ENTRYPOINT ?? "unknown";
63503
63503
  const cch = "";
63504
63504
  const workload = getWorkload();
@@ -106940,7 +106940,7 @@ Complete the user's request by providing accurate, documentation-based guidance.
106940
106940
  }
106941
106941
  function getFeedbackGuideline() {
106942
106942
  if (isUsing3PServices()) {
106943
- return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`;
106943
+ return `- When you cannot find an answer or the feature doesn't exist, direct the user to ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`;
106944
106944
  }
106945
106945
  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";
106946
106946
  }
@@ -165556,7 +165556,7 @@ function getTelemetryAttributes() {
165556
165556
  attributes["session.id"] = sessionId;
165557
165557
  }
165558
165558
  if (shouldIncludeAttribute("OTEL_METRICS_INCLUDE_VERSION")) {
165559
- attributes["app.version"] = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
165559
+ attributes["app.version"] = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
165560
165560
  }
165561
165561
  const oauthAccount = getOauthAccountInfo();
165562
165562
  if (oauthAccount) {
@@ -201565,7 +201565,7 @@ function getInstallationEnv() {
201565
201565
  return;
201566
201566
  }
201567
201567
  function getTheusCodeVersion() {
201568
- return { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
201568
+ return { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
201569
201569
  }
201570
201570
  async function getInstalledVSCodeExtensionVersion(command) {
201571
201571
  const { stdout } = await execFileNoThrow(command, ["--list-extensions", "--show-versions"], {
@@ -203083,7 +203083,7 @@ async function getMcpHeadersFromHelper(serverName, config2) {
203083
203083
  if ("scope" in config2 && isMcpServerFromProjectOrLocalSettings(config2) && !getIsNonInteractiveSession()) {
203084
203084
  const hasTrust = checkHasTrustDialogAccepted();
203085
203085
  if (!hasTrust) {
203086
- 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.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
203086
+ 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.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`);
203087
203087
  logAntError("MCP headersHelper invoked before trust check", error40);
203088
203088
  logEvent("tengu_mcp_headersHelper_missing_trust", {});
203089
203089
  return null;
@@ -204293,7 +204293,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
204293
204293
  const client2 = new Client({
204294
204294
  name: "theus-code",
204295
204295
  title: "Theus",
204296
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
204296
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
204297
204297
  description: "Theus's agentic coding tool",
204298
204298
  websiteUrl: PRODUCT_URL
204299
204299
  }, {
@@ -204647,7 +204647,7 @@ var init_client5 = __esm(() => {
204647
204647
  const client2 = new Client({
204648
204648
  name: "theus-code",
204649
204649
  title: "Theus",
204650
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
204650
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ?? "unknown",
204651
204651
  description: "Theus's agentic coding tool",
204652
204652
  websiteUrl: PRODUCT_URL
204653
204653
  }, {
@@ -215203,7 +215203,7 @@ async function initializeBetaTracing(resource) {
215203
215203
  });
215204
215204
  logs.setGlobalLoggerProvider(loggerProvider);
215205
215205
  setLoggerProvider(loggerProvider);
215206
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215206
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215207
215207
  setEventLogger(eventLogger);
215208
215208
  process.on("beforeExit", async () => {
215209
215209
  await loggerProvider?.forceFlush();
@@ -215243,7 +215243,7 @@ async function initializeTelemetry() {
215243
215243
  const platform4 = getPlatform();
215244
215244
  const baseAttributes = {
215245
215245
  [ATTR_SERVICE_NAME]: "theus-code",
215246
- [ATTR_SERVICE_VERSION]: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
215246
+ [ATTR_SERVICE_VERSION]: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
215247
215247
  };
215248
215248
  if (platform4 === "wsl") {
215249
215249
  const wslVersion = getWslVersion();
@@ -215288,7 +215288,7 @@ async function initializeTelemetry() {
215288
215288
  } catch {}
215289
215289
  };
215290
215290
  registerCleanup(shutdownTelemetry2);
215291
- return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215291
+ return meterProvider2.getMeter("com.theus.theus_code", { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215292
215292
  }
215293
215293
  const meterProvider = new MeterProvider({
215294
215294
  resource,
@@ -215308,7 +215308,7 @@ async function initializeTelemetry() {
215308
215308
  });
215309
215309
  logs.setGlobalLoggerProvider(loggerProvider);
215310
215310
  setLoggerProvider(loggerProvider);
215311
- const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215311
+ const eventLogger = logs.getLogger("com.theus.theus_code.events", { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215312
215312
  setEventLogger(eventLogger);
215313
215313
  logForDebugging("[3P telemetry] Event logger set successfully");
215314
215314
  process.on("beforeExit", async () => {
@@ -215370,7 +215370,7 @@ Current timeout: ${timeoutMs}ms
215370
215370
  }
215371
215371
  };
215372
215372
  registerCleanup(shutdownTelemetry);
215373
- return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215373
+ return meterProvider.getMeter("com.theus.theus_code", { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
215374
215374
  }
215375
215375
  async function flushTelemetry() {
215376
215376
  const meterProvider = getMeterProvider();
@@ -215910,7 +215910,7 @@ async function installOrUpdateTheusPackage(channel2, specificVersion) {
215910
215910
  return "install_failed";
215911
215911
  }
215912
215912
  const versionSpec = specificVersion ? specificVersion : channel2 === "stable" ? "stable" : "latest";
215913
- const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${versionSpec}`], { cwd: getLocalInstallDir(), maxBuffer: 1e6 });
215913
+ const result = await execFileNoThrowWithCwd("npm", ["install", `${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${versionSpec}`], { cwd: getLocalInstallDir(), maxBuffer: 1e6 });
215914
215914
  if (result.code !== 0) {
215915
215915
  const error40 = new Error(`Failed to install Theus CLI package: ${result.stderr}`);
215916
215916
  logError2(error40);
@@ -216056,9 +216056,9 @@ async function assertMinVersion() {
216056
216056
  if (false) {}
216057
216057
  try {
216058
216058
  const versionConfig = await getDynamicConfig_BLOCKS_ON_INIT("tengu_version_config", { minVersion: "0.0.0" });
216059
- if (versionConfig.minVersion && lt({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, versionConfig.minVersion)) {
216059
+ if (versionConfig.minVersion && lt({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, versionConfig.minVersion)) {
216060
216060
  console.error(`
216061
- It looks like your version of Theus (${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) needs an update.
216061
+ It looks like your version of Theus (${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) needs an update.
216062
216062
  A newer version (${versionConfig.minVersion} or higher) is required to continue.
216063
216063
 
216064
216064
  To update, please run:
@@ -216183,9 +216183,9 @@ async function releaseLock() {
216183
216183
  }
216184
216184
  }
216185
216185
  async function getInstallationPrefix() {
216186
- const isBun = env3.isRunningWithBun();
216186
+ const packageManager = getGlobalInstallPackageManager();
216187
216187
  let prefixResult = null;
216188
- if (isBun) {
216188
+ if (packageManager === "bun") {
216189
216189
  prefixResult = await execFileNoThrowWithCwd("bun", ["pm", "bin", "-g"], {
216190
216190
  cwd: homedir18()
216191
216191
  });
@@ -216193,11 +216193,17 @@ async function getInstallationPrefix() {
216193
216193
  prefixResult = await execFileNoThrowWithCwd("npm", ["-g", "config", "get", "prefix"], { cwd: homedir18() });
216194
216194
  }
216195
216195
  if (prefixResult.code !== 0) {
216196
- logError2(new Error(`Failed to check ${isBun ? "bun" : "npm"} permissions`));
216196
+ logError2(new Error(`Failed to check ${packageManager} permissions`));
216197
216197
  return null;
216198
216198
  }
216199
216199
  return prefixResult.stdout.trim();
216200
216200
  }
216201
+ function getGlobalInstallPackageManager() {
216202
+ if ({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL === "theus-cli") {
216203
+ return "npm";
216204
+ }
216205
+ return env3.isRunningWithBun() ? "bun" : "npm";
216206
+ }
216201
216207
  async function checkGlobalInstallPermissions() {
216202
216208
  try {
216203
216209
  const prefix = await getInstallationPrefix();
@@ -216218,7 +216224,7 @@ async function checkGlobalInstallPermissions() {
216218
216224
  }
216219
216225
  async function getLatestVersion(channel2) {
216220
216226
  const npmTag = channel2 === "stable" ? "stable" : "latest";
216221
- const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag}`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216227
+ const result = await execFileNoThrowWithCwd("npm", ["view", `${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag}`, "version", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216222
216228
  if (result.code !== 0) {
216223
216229
  logForDebugging(`npm view failed with code ${result.code}`);
216224
216230
  if (result.stderr) {
@@ -216234,7 +216240,7 @@ async function getLatestVersion(channel2) {
216234
216240
  return result.stdout.trim();
216235
216241
  }
216236
216242
  async function getNpmDistTags() {
216237
- const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL, "dist-tags", "--json", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216243
+ const result = await execFileNoThrowWithCwd("npm", ["view", { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL, "dist-tags", "--json", "--prefer-online"], { abortSignal: AbortSignal.timeout(5000), cwd: homedir18() });
216238
216244
  if (result.code !== 0) {
216239
216245
  logForDebugging(`npm view dist-tags failed with code ${result.code}`);
216240
216246
  return { latest: null, stable: null };
@@ -216274,7 +216280,7 @@ async function installGlobalPackage(specificVersion) {
216274
216280
  logError2(new AutoUpdaterError("Another process is currently installing an update"));
216275
216281
  logEvent("tengu_auto_updater_lock_contention", {
216276
216282
  pid: process.pid,
216277
- currentVersion: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216283
+ currentVersion: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216278
216284
  });
216279
216285
  return "in_progress";
216280
216286
  }
@@ -216283,7 +216289,7 @@ async function installGlobalPackage(specificVersion) {
216283
216289
  if (!env3.isRunningWithBun() && env3.isNpmFromWindowsPath()) {
216284
216290
  logError2(new Error("Windows NPM detected in WSL environment"));
216285
216291
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
216286
- currentVersion: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216292
+ currentVersion: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
216287
216293
  });
216288
216294
  console.error(`
216289
216295
  Error: Windows NPM detected in WSL
@@ -216302,8 +216308,8 @@ To fix this issue:
216302
216308
  if (!hasPermissions) {
216303
216309
  return "no_permissions";
216304
216310
  }
216305
- const packageSpec = specificVersion ? `${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${specificVersion}` : { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL;
216306
- const packageManager = env3.isRunningWithBun() ? "bun" : "npm";
216311
+ const packageSpec = specificVersion ? `${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${specificVersion}` : { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL;
216312
+ const packageManager = getGlobalInstallPackageManager();
216307
216313
  const installResult = await execFileNoThrowWithCwd(packageManager, ["install", "-g", packageSpec], { cwd: homedir18() });
216308
216314
  if (installResult.code !== 0) {
216309
216315
  const error40 = new AutoUpdaterError(`Failed to install new version of theus: ${installResult.stdout} ${installResult.stderr}`);
@@ -216630,8 +216636,8 @@ async function detectMultipleInstallations() {
216630
216636
  installations.push({ type: "npm-local", path: localPath });
216631
216637
  }
216632
216638
  const packagesToCheck = ["@theus-ai/theus-code"];
216633
- if ({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
216634
- packagesToCheck.push({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
216639
+ if ({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
216640
+ packagesToCheck.push({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
216635
216641
  }
216636
216642
  const npmResult = await execFileNoThrow("npm", [
216637
216643
  "-g",
@@ -216814,7 +216820,7 @@ function detectLinuxGlobPatternWarnings() {
216814
216820
  }
216815
216821
  async function getDoctorDiagnostic() {
216816
216822
  const installationType = await getCurrentInstallationType();
216817
- const version2 = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ? { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION : "unknown";
216823
+ const version2 = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION ? { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION : "unknown";
216818
216824
  const installationPath = await getInstallationPath();
216819
216825
  const invokedBinary = getInvokedBinary();
216820
216826
  const multipleInstallations = await detectMultipleInstallations();
@@ -216826,8 +216832,8 @@ async function getDoctorDiagnostic() {
216826
216832
  for (const install of npmInstalls) {
216827
216833
  if (install.type === "npm-global") {
216828
216834
  let uninstallCmd = "npm -g uninstall @theus-ai/theus-code";
216829
- if ({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
216830
- uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`;
216835
+ if ({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
216836
+ uninstallCmd += ` && npm -g uninstall ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`;
216831
216837
  }
216832
216838
  warnings.push({
216833
216839
  issue: `Leftover npm global installation at ${install.path}`,
@@ -216939,7 +216945,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
216939
216945
  const startTime2 = Date.now();
216940
216946
  const { stdout, code, stderr } = await execFileNoThrowWithCwd("npm", [
216941
216947
  "view",
216942
- `${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2}`,
216948
+ `${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2}`,
216943
216949
  "version",
216944
216950
  "--prefer-online",
216945
216951
  "--registry",
@@ -216963,7 +216969,7 @@ async function getLatestVersionFromArtifactory(tag2 = "latest") {
216963
216969
  latency_ms: latencyMs,
216964
216970
  source_npm: true
216965
216971
  });
216966
- logForDebugging(`npm view ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2} version: ${stdout}`);
216972
+ logForDebugging(`npm view ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${tag2} version: ${stdout}`);
216967
216973
  const latestVersion = stdout.trim();
216968
216974
  return latestVersion;
216969
216975
  }
@@ -217019,7 +217025,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217019
217025
  const fs3 = getFsImplementation();
217020
217026
  await fs3.rm(stagingPath, { recursive: true, force: true });
217021
217027
  const platform4 = getPlatform2();
217022
- const platformPackageName = `${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}-${platform4}`;
217028
+ const platformPackageName = `${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}-${platform4}`;
217023
217029
  logForDebugging(`Fetching integrity hash for ${platformPackageName}@${version2}`);
217024
217030
  const {
217025
217031
  stdout: integrityOutput,
@@ -217048,7 +217054,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217048
217054
  name: "theus-native-installer",
217049
217055
  version: "0.0.1",
217050
217056
  dependencies: {
217051
- [{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217057
+ [{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217052
217058
  }
217053
217059
  };
217054
217060
  const packageLock = {
@@ -217061,10 +217067,10 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217061
217067
  name: "theus-native-installer",
217062
217068
  version: "0.0.1",
217063
217069
  dependencies: {
217064
- [{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217070
+ [{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL]: version2
217065
217071
  }
217066
217072
  },
217067
- [`node_modules/${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}`]: {
217073
+ [`node_modules/${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}`]: {
217068
217074
  version: version2,
217069
217075
  optionalDependencies: {
217070
217076
  [platformPackageName]: version2
@@ -217086,7 +217092,7 @@ async function downloadVersionFromArtifactory(version2, stagingPath) {
217086
217092
  if (result.code !== 0) {
217087
217093
  throw new Error(`npm ci failed with code ${result.code}: ${result.stderr}`);
217088
217094
  }
217089
- logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${version2}`);
217095
+ logForDebugging(`Successfully downloaded and verified ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.NATIVE_PACKAGE_URL}@${version2}`);
217090
217096
  }
217091
217097
  function getStallTimeoutMs() {
217092
217098
  return Number(process.env.THEUS_CODE_STALL_TIMEOUT_MS_FOR_TESTING) || DEFAULT_STALL_TIMEOUT_MS;
@@ -217749,8 +217755,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
217749
217755
  const maxVersion = await getMaxVersion();
217750
217756
  if (maxVersion && gt(version2, maxVersion)) {
217751
217757
  logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
217752
- if (gte({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
217753
- logForDebugging(`Native installer: current version ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
217758
+ if (gte({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
217759
+ logForDebugging(`Native installer: current version ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
217754
217760
  logEvent("tengu_native_update_skipped_max_version", {
217755
217761
  latency_ms: Date.now() - startTime2,
217756
217762
  max_version: maxVersion,
@@ -217761,7 +217767,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
217761
217767
  version2 = maxVersion;
217762
217768
  }
217763
217769
  }
217764
- if (!forceReinstall && version2 === { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION && await versionIsAvailable(version2) && await isPossibleTheusBinary(executablePath)) {
217770
+ if (!forceReinstall && version2 === { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION && await versionIsAvailable(version2) && await isPossibleTheusBinary(executablePath)) {
217765
217771
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
217766
217772
  logEvent("tengu_native_update_complete", {
217767
217773
  latency_ms: Date.now() - startTime2,
@@ -218503,8 +218509,8 @@ async function cleanupNpmInstallations() {
218503
218509
  } else if (codePackageResult.error) {
218504
218510
  errors4.push(codePackageResult.error);
218505
218511
  }
218506
- if ({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
218507
- const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
218512
+ if ({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL !== "@theus-ai/theus-code") {
218513
+ const macroPackageResult = await attemptNpmUninstall({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL);
218508
218514
  if (macroPackageResult.success) {
218509
218515
  removed++;
218510
218516
  if (macroPackageResult.warning) {
@@ -289811,9 +289817,9 @@ function getTheusEnvMetadata() {
289811
289817
  };
289812
289818
  }
289813
289819
  function getBuildAgeMinutes() {
289814
- if (!{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME)
289820
+ if (!{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME)
289815
289821
  return;
289816
- const buildTime = new Date({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME).getTime();
289822
+ const buildTime = new Date({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME).getTime();
289817
289823
  if (isNaN(buildTime))
289818
289824
  return;
289819
289825
  return Math.floor((Date.now() - buildTime) / 60000);
@@ -305974,7 +305980,7 @@ function getAssistantMessageFromError(error40, model, options2) {
305974
305980
  if (process.env.USER_TYPE === "ant") {
305975
305981
  const baseMessage = `API Error: 400 ${error40.message}
305976
305982
 
305977
- Run /share and post the JSON file to ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`;
305983
+ Run /share and post the JSON file to ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL}.`;
305978
305984
  const rewindInstruction = getIsNonInteractiveSession() ? "" : " Then, use /rewind to recover the conversation.";
305979
305985
  return createAssistantAPIErrorMessage({
305980
305986
  content: baseMessage + rewindInstruction,
@@ -306010,7 +306016,7 @@ Run /share and post the JSON file to ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-
306010
306016
  if (process.env.USER_TYPE === "ant" && !process.env.THEUS_MODEL && error40 instanceof Error && error40.message.toLowerCase().includes("invalid model name")) {
306011
306017
  const orgId = getOauthAccountInfo()?.organizationUuid;
306012
306018
  const baseMsg = `[THEUS-INTERNAL] Your org isn't gated into the \`${model}\` model. Either run \`theus\` with \`THEUS_MODEL=${getDefaultMainLoopModelSetting()}\``;
306013
- const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.` : `${baseMsg} or reach out in ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.`;
306019
+ const msg = orgId ? `${baseMsg} or share your orgId (${orgId}) in ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.` : `${baseMsg} or reach out in ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.FEEDBACK_CHANNEL} for help getting access.`;
306014
306020
  return createAssistantAPIErrorMessage({
306015
306021
  content: msg,
306016
306022
  error: "invalid_request"
@@ -313487,7 +313493,7 @@ function Feedback({
313487
313493
  platform: env3.platform,
313488
313494
  gitRepo: envInfo.isGit,
313489
313495
  terminal: env3.terminal,
313490
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
313496
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
313491
313497
  transcript: normalizeMessagesForAPI(messages),
313492
313498
  errors: sanitizedErrors,
313493
313499
  lastApiRequest: getLastAPIRequest(),
@@ -313679,7 +313685,7 @@ function Feedback({
313679
313685
  ", ",
313680
313686
  env3.terminal,
313681
313687
  ", v",
313682
- { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
313688
+ { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
313683
313689
  ]
313684
313690
  })
313685
313691
  ]
@@ -313785,7 +313791,7 @@ ${sanitizedDescription}
313785
313791
  ` + `**Environment Info**
313786
313792
  ` + `- Platform: ${env3.platform}
313787
313793
  ` + `- Terminal: ${env3.terminal}
313788
- ` + `- Version: ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION || "unknown"}
313794
+ ` + `- Version: ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION || "unknown"}
313789
313795
  ` + `- Feedback ID: ${feedbackId}
313790
313796
  ` + `
313791
313797
  **Errors**
@@ -319528,7 +319534,7 @@ function buildPrimarySection() {
319528
319534
  });
319529
319535
  return [{
319530
319536
  label: "Version",
319531
- value: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
319537
+ value: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
319532
319538
  }, {
319533
319539
  label: "Session name",
319534
319540
  value: nameValue
@@ -323279,7 +323285,7 @@ function Config({
323279
323285
  }
323280
323286
  })
323281
323287
  }) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsx_runtime182.jsx(ChannelDowngradeDialog, {
323282
- currentVersion: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
323288
+ currentVersion: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
323283
323289
  onChoice: (choice) => {
323284
323290
  setShowSubmenu(null);
323285
323291
  setTabsHidden(false);
@@ -323291,7 +323297,7 @@ function Config({
323291
323297
  autoUpdatesChannel: "stable"
323292
323298
  };
323293
323299
  if (choice === "stay") {
323294
- newSettings.minimumVersion = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
323300
+ newSettings.minimumVersion = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
323295
323301
  }
323296
323302
  updateSettingsForSource("userSettings", newSettings);
323297
323303
  setSettingsData((prev_27) => ({
@@ -331325,7 +331331,7 @@ function HelpV2(t0) {
331325
331331
  let t6;
331326
331332
  if ($2[31] !== tabs) {
331327
331333
  t6 = /* @__PURE__ */ jsx_runtime209.jsx(Tabs, {
331328
- title: `Theus v${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`,
331334
+ title: `Theus v${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}`,
331329
331335
  color: "professionalBlue",
331330
331336
  defaultTab: "general",
331331
331337
  children: tabs
@@ -356595,9 +356601,9 @@ function getAllReleaseNotes(changelogContent = getStoredChangelogFromMemory()) {
356595
356601
  return [];
356596
356602
  }
356597
356603
  }
356598
- async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
356604
+ async function checkForReleaseNotes(lastSeenVersion, currentVersion = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
356599
356605
  if (process.env.USER_TYPE === "ant") {
356600
- const changelog = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION_CHANGELOG;
356606
+ const changelog = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION_CHANGELOG;
356601
356607
  if (changelog) {
356602
356608
  const commits = changelog.trim().split(`
356603
356609
  `).filter(Boolean);
@@ -360816,7 +360822,7 @@ var init_Messages = __esm(() => {
360816
360822
  let t1;
360817
360823
  if ($2[0] === Symbol.for("react.memo_cache_sentinel")) {
360818
360824
  t1 = /* @__PURE__ */ jsx_runtime261.jsx(TheusBanner, {
360819
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
360825
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
360820
360826
  });
360821
360827
  $2[0] = t1;
360822
360828
  } else {
@@ -384123,7 +384129,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
384123
384129
  smapsRollup,
384124
384130
  platform: process.platform,
384125
384131
  nodeVersion: process.version,
384126
- ccVersion: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
384132
+ ccVersion: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
384127
384133
  };
384128
384134
  }
384129
384135
  async function performHeapDump(trigger = "manual", dumpNumber = 0) {
@@ -384709,7 +384715,7 @@ var init_bridge_kick = __esm(() => {
384709
384715
  var call58 = async () => {
384710
384716
  return {
384711
384717
  type: "text",
384712
- value: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME ? `${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (built ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME})` : { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
384718
+ value: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME ? `${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (built ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.BUILD_TIME})` : { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
384713
384719
  };
384714
384720
  }, version2, version_default;
384715
384721
  var init_version = __esm(() => {
@@ -388760,7 +388766,7 @@ __export(exports_update, {
388760
388766
  });
388761
388767
  async function update() {
388762
388768
  logEvent("tengu_update_check", {});
388763
- writeToStdout(`Current version: ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
388769
+ writeToStdout(`Current version: ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}
388764
388770
  `);
388765
388771
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
388766
388772
  writeToStdout(`Checking for updates to ${channel2} version...
@@ -388835,8 +388841,8 @@ async function update() {
388835
388841
  writeToStdout(`Theus is managed by Homebrew.
388836
388842
  `);
388837
388843
  const latest = await getLatestVersion(channel2);
388838
- if (latest && !gte({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388839
- writeToStdout(`Update available: ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388844
+ if (latest && !gte({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388845
+ writeToStdout(`Update available: ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388840
388846
  `);
388841
388847
  writeToStdout(`
388842
388848
  `);
@@ -388852,8 +388858,8 @@ async function update() {
388852
388858
  writeToStdout(`Theus is managed by winget.
388853
388859
  `);
388854
388860
  const latest = await getLatestVersion(channel2);
388855
- if (latest && !gte({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388856
- writeToStdout(`Update available: ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388861
+ if (latest && !gte({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388862
+ writeToStdout(`Update available: ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388857
388863
  `);
388858
388864
  writeToStdout(`
388859
388865
  `);
@@ -388869,8 +388875,8 @@ async function update() {
388869
388875
  writeToStdout(`Theus is managed by apk.
388870
388876
  `);
388871
388877
  const latest = await getLatestVersion(channel2);
388872
- if (latest && !gte({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388873
- writeToStdout(`Update available: ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388878
+ if (latest && !gte({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest)) {
388879
+ writeToStdout(`Update available: ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} \u2192 ${latest}
388874
388880
  `);
388875
388881
  writeToStdout(`
388876
388882
  `);
@@ -388935,11 +388941,11 @@ async function update() {
388935
388941
  `);
388936
388942
  await gracefulShutdown(1);
388937
388943
  }
388938
- if (result.latestVersion === { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
388939
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388944
+ if (result.latestVersion === { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
388945
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
388940
388946
  `);
388941
388947
  } else {
388942
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${result.latestVersion}`) + `
388948
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${result.latestVersion}`) + `
388943
388949
  `);
388944
388950
  await regenerateCompletionCache();
388945
388951
  }
@@ -388958,9 +388964,9 @@ async function update() {
388958
388964
  await removeInstalledSymlink();
388959
388965
  }
388960
388966
  logForDebugging("update: Checking npm registry for latest version");
388961
- logForDebugging(`update: Package URL: ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`);
388967
+ logForDebugging(`update: Package URL: ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`);
388962
388968
  const npmTag = channel2 === "stable" ? "stable" : "latest";
388963
- const npmCommand = `npm view ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag} version`;
388969
+ const npmCommand = `npm view ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}@${npmTag} version`;
388964
388970
  logForDebugging(`update: Running: ${npmCommand}`);
388965
388971
  const latestVersion = await getLatestVersion(channel2);
388966
388972
  logForDebugging(`update: Latest version from npm: ${latestVersion || "FAILED"}`);
@@ -388980,7 +388986,7 @@ async function update() {
388980
388986
  `);
388981
388987
  process.stderr.write(` \u2022 Corporate proxy/firewall blocking npm
388982
388988
  `);
388983
- if ({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && !{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL.startsWith("@theus")) {
388989
+ if ({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL && !{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL.startsWith("@theus")) {
388984
388990
  process.stderr.write(` \u2022 Internal/development build not published to npm
388985
388991
  `);
388986
388992
  }
@@ -388992,19 +388998,19 @@ async function update() {
388992
388998
  `);
388993
388999
  process.stderr.write(` \u2022 Run with --debug flag for more details
388994
389000
  `);
388995
- const packageName = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL || (process.env.USER_TYPE === "ant" ? "@theus-ai/theus-cli" : "@theus-ai/theus-code");
389001
+ const packageName = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL || (process.env.USER_TYPE === "ant" ? "@theus-ai/theus-cli" : "@theus-ai/theus-code");
388996
389002
  process.stderr.write(` \u2022 Manually check: npm view ${packageName} version
388997
389003
  `);
388998
389004
  process.stderr.write(` \u2022 Check if you need to login: npm whoami
388999
389005
  `);
389000
389006
  await gracefulShutdown(1);
389001
389007
  }
389002
- if (gte({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latestVersion)) {
389003
- writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
389008
+ if (gte({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latestVersion)) {
389009
+ writeToStdout(source_default.green(`Theus is up to date (${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})`) + `
389004
389010
  `);
389005
389011
  await gracefulShutdown(0);
389006
389012
  }
389007
- writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
389013
+ writeToStdout(`New version available: ${latestVersion} (current: ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION})
389008
389014
  `);
389009
389015
  writeToStdout(`Installing update...
389010
389016
  `);
@@ -389049,7 +389055,7 @@ async function update() {
389049
389055
  logForDebugging(`update: Installation status: ${status2}`);
389050
389056
  switch (status2) {
389051
389057
  case "success":
389052
- writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${latestVersion}`) + `
389058
+ writeToStdout(source_default.green(`Successfully updated from ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} to version ${latestVersion}`) + `
389053
389059
  `);
389054
389060
  await regenerateCompletionCache();
389055
389061
  break;
@@ -389059,7 +389065,7 @@ async function update() {
389059
389065
  if (useLocalUpdate) {
389060
389066
  process.stderr.write(`Try manually updating with:
389061
389067
  `);
389062
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
389068
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
389063
389069
  `);
389064
389070
  } else {
389065
389071
  process.stderr.write(`Try running with sudo or fix npm permissions
@@ -389075,7 +389081,7 @@ async function update() {
389075
389081
  if (useLocalUpdate) {
389076
389082
  process.stderr.write(`Try manually updating with:
389077
389083
  `);
389078
- process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
389084
+ process.stderr.write(` cd ~/.theus/local && npm update ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}
389079
389085
  `);
389080
389086
  } else {
389081
389087
  process.stderr.write(`Or consider using native installation with: theus install
@@ -394065,7 +394071,7 @@ function generateHtmlReport(data, insights) {
394065
394071
  </html>`;
394066
394072
  }
394067
394073
  function buildExportData(data, insights, facets, remoteStats) {
394068
- const version3 = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
394074
+ const version3 = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
394069
394075
  const remote_hosts_collected = remoteStats?.hosts.filter((h2) => h2.sessionCount > 0).map((h2) => h2.name);
394070
394076
  const facets_summary = {
394071
394077
  total: facets.size,
@@ -398180,7 +398186,7 @@ var init_sessionStorage = __esm(() => {
398180
398186
  init_settings2();
398181
398187
  init_slowOperations();
398182
398188
  init_uuid();
398183
- VERSION4 = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
398189
+ VERSION4 = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
398184
398190
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
398185
398191
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
398186
398192
  EPHEMERAL_PROGRESS_TYPES = new Set([
@@ -399385,7 +399391,7 @@ var init_filesystem = __esm(() => {
399385
399391
  });
399386
399392
  getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
399387
399393
  const nonce = randomBytes19(16).toString("hex");
399388
- return join140(getTheusTempDir(), "bundled-skills", { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, nonce);
399394
+ return join140(getTheusTempDir(), "bundled-skills", { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, nonce);
399389
399395
  });
399390
399396
  getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
399391
399397
  });
@@ -404560,7 +404566,7 @@ function getSimpleDoingTasksSection() {
404560
404566
  ];
404561
404567
  const userHelpSubitems = [
404562
404568
  `/help: Get help with using Theus`,
404563
- `To give feedback, users should ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`
404569
+ `To give feedback, users should ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.ISSUES_EXPLAINER}`
404564
404570
  ];
404565
404571
  const items = [
404566
404572
  `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.`,
@@ -405382,7 +405388,7 @@ function computeFingerprint(messageText, version3) {
405382
405388
  }
405383
405389
  function computeFingerprintFromMessages(messages) {
405384
405390
  const firstMessageText = extractFirstMessageText(messages);
405385
- return computeFingerprint(firstMessageText, { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
405391
+ return computeFingerprint(firstMessageText, { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
405386
405392
  }
405387
405393
  var FINGERPRINT_SALT = "59cf53e54c78";
405388
405394
  var init_fingerprint = () => {};
@@ -407572,7 +407578,7 @@ async function sideQuery(opts) {
407572
407578
  betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
407573
407579
  }
407574
407580
  const messageText = extractFirstUserMessageText(messages);
407575
- const fingerprint = computeFingerprint(messageText, { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
407581
+ const fingerprint = computeFingerprint(messageText, { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION);
407576
407582
  const attributionHeader = getAttributionHeader(fingerprint);
407577
407583
  const systemBlocks = [
407578
407584
  attributionHeader ? { type: "text", text: attributionHeader } : null,
@@ -413074,7 +413080,7 @@ function buildSystemInitMessage(inputs) {
413074
413080
  slash_commands: inputs.commands.filter((c5) => c5.userInvocable !== false).map((c5) => c5.name),
413075
413081
  apiKeySource: getTheusApiKeyWithSource().source,
413076
413082
  betas: getSdkBetas(),
413077
- theus_code_version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
413083
+ theus_code_version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
413078
413084
  output_style: outputStyle2,
413079
413085
  agents: inputs.agents.map((agent) => agent.agentType),
413080
413086
  skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
@@ -427702,7 +427708,7 @@ var init_useVoiceEnabled = __esm(() => {
427702
427708
  function getSemverPart(version3) {
427703
427709
  return `${import_semver13.major(version3, { loose: true })}.${import_semver13.minor(version3, { loose: true })}.${import_semver13.patch(version3, { loose: true })}`;
427704
427710
  }
427705
- function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
427711
+ function useUpdateNotification(updatedVersion, initialVersion = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION) {
427706
427712
  const [lastNotifiedSemver, setLastNotifiedSemver] = import_react221.useState(() => getSemverPart(initialVersion));
427707
427713
  if (!updatedVersion) {
427708
427714
  return null;
@@ -427742,7 +427748,7 @@ function AutoUpdater({
427742
427748
  return;
427743
427749
  }
427744
427750
  if (false) {}
427745
- const currentVersion = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
427751
+ const currentVersion = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
427746
427752
  const channel2 = getInitialSettings()?.autoUpdatesChannel ?? "latest";
427747
427753
  let latestVersion = await getLatestVersion(channel2);
427748
427754
  const isDisabled2 = isAutoUpdaterDisabled();
@@ -427878,7 +427884,7 @@ function AutoUpdater({
427878
427884
  " ",
427879
427885
  /* @__PURE__ */ jsx_runtime399.jsx(ThemedText, {
427880
427886
  bold: true,
427881
- children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}` : `npm i -g ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`
427887
+ children: hasLocalInstall ? `cd ~/.theus/local && npm update ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}` : `npm i -g ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.PACKAGE_URL}`
427882
427888
  })
427883
427889
  ]
427884
427890
  })
@@ -427955,12 +427961,12 @@ function NativeAutoUpdater({
427955
427961
  logEvent("tengu_native_auto_updater_start", {});
427956
427962
  try {
427957
427963
  const maxVersion = await getMaxVersion();
427958
- if (maxVersion && gt({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
427964
+ if (maxVersion && gt({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
427959
427965
  const msg = await getMaxVersionMessage();
427960
427966
  setMaxVersionIssue(msg ?? "affects your version");
427961
427967
  }
427962
427968
  const result = await installLatest(channel2);
427963
- const currentVersion = { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
427969
+ const currentVersion = { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION;
427964
427970
  const latencyMs = Date.now() - startTime2;
427965
427971
  if (result.lockFailed) {
427966
427972
  logEvent("tengu_native_auto_updater_lock_contention", {
@@ -428097,17 +428103,17 @@ function PackageManagerAutoUpdater(t0) {
428097
428103
  const maxVersion = await getMaxVersion();
428098
428104
  if (maxVersion && latest && gt(latest, maxVersion)) {
428099
428105
  logForDebugging(`PackageManagerAutoUpdater: maxVersion ${maxVersion} is set, capping update from ${latest} to ${maxVersion}`);
428100
- if (gte({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
428101
- logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
428106
+ if (gte({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, maxVersion)) {
428107
+ logForDebugging(`PackageManagerAutoUpdater: current version ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} is already at or above maxVersion ${maxVersion}, skipping update`);
428102
428108
  setUpdateAvailable(false);
428103
428109
  return;
428104
428110
  }
428105
428111
  latest = maxVersion;
428106
428112
  }
428107
- const hasUpdate = latest && !gte({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest) && !shouldSkipVersion(latest);
428113
+ const hasUpdate = latest && !gte({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, latest) && !shouldSkipVersion(latest);
428108
428114
  setUpdateAvailable(!!hasUpdate);
428109
428115
  if (hasUpdate) {
428110
- logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} -> ${latest}`);
428116
+ logForDebugging(`PackageManagerAutoUpdater: Update available ${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} -> ${latest}`);
428111
428117
  }
428112
428118
  };
428113
428119
  $2[0] = t1;
@@ -428141,7 +428147,7 @@ function PackageManagerAutoUpdater(t0) {
428141
428147
  wrap: "truncate",
428142
428148
  children: [
428143
428149
  "currentVersion: ",
428144
- { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
428150
+ { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
428145
428151
  ]
428146
428152
  });
428147
428153
  $2[3] = verbose;
@@ -436014,7 +436020,7 @@ function buildStatusLineCommandInput(permissionMode, exceeds200kTokens, settings
436014
436020
  project_dir: getOriginalCwd(),
436015
436021
  added_dirs: addedDirs
436016
436022
  },
436017
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
436023
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
436018
436024
  output_style: {
436019
436025
  name: outputStyleName
436020
436026
  },
@@ -447532,7 +447538,7 @@ async function submitTranscriptShare(messages, trigger, appearanceId) {
447532
447538
  } catch {}
447533
447539
  const data = {
447534
447540
  trigger,
447535
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
447541
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
447536
447542
  platform: process.platform,
447537
447543
  transcript,
447538
447544
  subagentTranscripts: Object.keys(subagentTranscripts).length > 0 ? subagentTranscripts : undefined,
@@ -460053,7 +460059,7 @@ function Onboarding({
460053
460059
  flexDirection: "column",
460054
460060
  children: [
460055
460061
  /* @__PURE__ */ jsx_runtime472.jsx(TheusBanner, {
460056
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
460062
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
460057
460063
  }),
460058
460064
  /* @__PURE__ */ jsx_runtime472.jsxs(ThemedBox_default, {
460059
460065
  flexDirection: "column",
@@ -460932,7 +460938,7 @@ function completeOnboarding() {
460932
460938
  saveGlobalConfig((current) => ({
460933
460939
  ...current,
460934
460940
  hasCompletedOnboarding: true,
460935
- lastOnboardingVersion: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
460941
+ lastOnboardingVersion: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
460936
460942
  }));
460937
460943
  }
460938
460944
  function showDialog(root2, renderer) {
@@ -465665,7 +465671,7 @@ function appendToLog(path21, message) {
465665
465671
  cwd: getFsImplementation().cwd(),
465666
465672
  userType: process.env.USER_TYPE,
465667
465673
  sessionId: getSessionId(),
465668
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
465674
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
465669
465675
  };
465670
465676
  getLogWriter(path21).write(messageWithTimestamp);
465671
465677
  }
@@ -469703,8 +469709,8 @@ async function getEnvLessBridgeConfig() {
469703
469709
  }
469704
469710
  async function checkEnvLessBridgeMinVersion() {
469705
469711
  const cfg = await getEnvLessBridgeConfig();
469706
- if (cfg.min_version && lt({ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, cfg.min_version)) {
469707
- return `Your version of Theus (${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) is too old for Remote Control.
469712
+ if (cfg.min_version && lt({ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION, cfg.min_version)) {
469713
+ return `Your version of Theus (${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION}) is too old for Remote Control.
469708
469714
  Version ${cfg.min_version} or higher is required. Run \`theus update\` to update.`;
469709
469715
  }
469710
469716
  return null;
@@ -470178,7 +470184,7 @@ async function initBridgeCore(params) {
470178
470184
  const rawApi = createBridgeApiClient({
470179
470185
  baseUrl,
470180
470186
  getAccessToken,
470181
- runnerVersion: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
470187
+ runnerVersion: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
470182
470188
  onDebug: logForDebugging,
470183
470189
  onAuth401,
470184
470190
  getTrustedDeviceToken
@@ -475866,7 +475872,7 @@ async function startMCPServer(cwd3, debug2, verbose) {
475866
475872
  setCwd(cwd3);
475867
475873
  const server = new Server({
475868
475874
  name: "theus/tengu",
475869
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
475875
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
475870
475876
  }, {
475871
475877
  capabilities: {
475872
475878
  tools: {}
@@ -477308,7 +477314,7 @@ async function setupTokenHandler(root2) {
477308
477314
  gap: 1,
477309
477315
  children: [
477310
477316
  /* @__PURE__ */ jsx_runtime488.jsx(TheusBanner, {
477311
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
477317
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION
477312
477318
  }),
477313
477319
  showAuthWarning && /* @__PURE__ */ jsx_runtime488.jsxs(ThemedBox_default, {
477314
477320
  flexDirection: "column",
@@ -478657,7 +478663,7 @@ ${customInstructions}` : customInstructions;
478657
478663
  }
478658
478664
  }
478659
478665
  logForDiagnosticsNoPII("info", "started", {
478660
- version: { VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
478666
+ version: { VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION,
478661
478667
  is_native_binary: isInBundledMode()
478662
478668
  });
478663
478669
  registerCleanup(async () => {
@@ -479441,7 +479447,7 @@ Usage: theus --remote "your task description"`, () => gracefulShutdown(1));
479441
479447
  pendingHookMessages
479442
479448
  }, renderAndRun);
479443
479449
  }
479444
- }).version(`${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`, "-v, --version", "Output the version number");
479450
+ }).version(`${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`, "-v, --version", "Output the version number");
479445
479451
  program2.option("-w, --worktree [name]", "Create a new git worktree for this session (optionally specify a name)");
479446
479452
  program2.option("--tmux", "Create a tmux session for the worktree (requires --worktree). Uses iTerm2 native panes when available; use --tmux=classic for traditional tmux.");
479447
479453
  if (canUserConfigureAdvisor()) {
@@ -479955,7 +479961,7 @@ if (false) {}
479955
479961
  async function main2() {
479956
479962
  const args = process.argv.slice(2);
479957
479963
  if (args.length === 1 && (args[0] === "--version" || args[0] === "-v" || args[0] === "-V")) {
479958
- console.log(`${{ VERSION: "0.1.2", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`);
479964
+ console.log(`${{ VERSION: "0.1.3", BUILD_TIME: "1970-01-01T00:00:00.000Z", PACKAGE_URL: "theus-cli", NATIVE_PACKAGE_URL: "theus-cli-native", FEEDBACK_CHANNEL: "theus", VERSION_CHANGELOG: "", ISSUES_EXPLAINER: "report issues to the Theus maintainers" }.VERSION} (Theus)`);
479959
479965
  return;
479960
479966
  }
479961
479967
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theus-cli",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Theus — multi-model agent for vibe coding, persistent memory, indexing graphs and visual databases",
5
5
  "type": "module",
6
6
  "bin": {