@iruidong/code 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/QUICKSTART.md CHANGED
@@ -10,7 +10,7 @@ ruidong --version
10
10
  Expected output:
11
11
 
12
12
  ```bash
13
- Ruidong Code v0.1.1
13
+ Ruidong Code v0.1.2
14
14
  ```
15
15
 
16
16
  ## 2. Initialize provider config
package/dist/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // ruidong v0.1.1 (built from source)
2
+ // ruidong v0.1.2 (built from source)
3
3
  // Copyright (c) Anthropic PBC. All rights reserved.
4
4
  import { createRequire as __createRequire } from "module";const require=__createRequire(import.meta.url);
5
5
  var __defProp = Object.defineProperty;
@@ -81,7 +81,7 @@ var __callDispose = (stack, error, hasError) => {
81
81
  var PUBLIC_CLI_VERSION, BUILD_TIME, API_COMPAT_VERSION, API_COMPAT_VERSION_BASE;
82
82
  var init_version = __esm({
83
83
  "build-src/src/constants/version.ts"() {
84
- PUBLIC_CLI_VERSION = "0.1.1";
84
+ PUBLIC_CLI_VERSION = "0.1.2";
85
85
  BUILD_TIME = "2026-04-01T06:00:31.912Z";
86
86
  API_COMPAT_VERSION = "2.1.88";
87
87
  API_COMPAT_VERSION_BASE = API_COMPAT_VERSION.match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/)?.[0];
@@ -75104,7 +75104,7 @@ async function setupSdkMcpClients(sdkMcpConfigs, sendMcpMessage) {
75104
75104
  {
75105
75105
  name: "ruidong-code",
75106
75106
  title: "ruidong",
75107
- version: "0.1.1",
75107
+ version: "0.1.2",
75108
75108
  description: "Ruidong Code agentic coding tool",
75109
75109
  websiteUrl: PRODUCT_URL
75110
75110
  },
@@ -75527,7 +75527,7 @@ var init_client3 = __esm({
75527
75527
  {
75528
75528
  name: "ruidong-code",
75529
75529
  title: "ruidong",
75530
- version: "0.1.1",
75530
+ version: "0.1.2",
75531
75531
  description: "Ruidong Code agentic coding tool",
75532
75532
  websiteUrl: PRODUCT_URL
75533
75533
  },
@@ -86817,12 +86817,12 @@ async function installOrUpdateClaudePackage(channel, specificVersion) {
86817
86817
  const versionSpec = specificVersion ? specificVersion : channel === "stable" ? "stable" : "latest";
86818
86818
  const result = await execFileNoThrowWithCwd(
86819
86819
  "npm",
86820
- ["install", `${"@ruidong/code"}@${versionSpec}`],
86820
+ ["install", `${"@iruidong/code"}@${versionSpec}`],
86821
86821
  { cwd: getLocalInstallDir(), maxBuffer: 1e6 }
86822
86822
  );
86823
86823
  if (result.code !== 0) {
86824
86824
  const error = new Error(
86825
- `Failed to install Claude CLI package: ${result.stderr}`
86825
+ `Failed to install Ruidong Code package: ${result.stderr}`
86826
86826
  );
86827
86827
  logError(error);
86828
86828
  return result.code === 190 ? "in_progress" : "install_failed";
@@ -87209,7 +87209,7 @@ async function installGlobalPackage(specificVersion) {
87209
87209
  );
87210
87210
  logEvent("tengu_auto_updater_lock_contention", {
87211
87211
  pid: process.pid,
87212
- currentVersion: "0.1.1"
87212
+ currentVersion: "0.1.2"
87213
87213
  });
87214
87214
  return "in_progress";
87215
87215
  }
@@ -87218,7 +87218,7 @@ async function installGlobalPackage(specificVersion) {
87218
87218
  if (!env.isRunningWithBun() && env.isNpmFromWindowsPath()) {
87219
87219
  logError(new Error("Windows NPM detected in WSL environment"));
87220
87220
  logEvent("tengu_auto_updater_windows_npm_in_wsl", {
87221
- currentVersion: "0.1.1"
87221
+ currentVersion: "0.1.2"
87222
87222
  });
87223
87223
  console.error(`
87224
87224
  Error: Windows NPM detected in WSL
@@ -87299,7 +87299,7 @@ var init_autoUpdater = __esm({
87299
87299
  init_slowOperations();
87300
87300
  GCS_BUCKET_URL = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases";
87301
87301
  CLI_COMMAND = "ruidong";
87302
- PACKAGE_NAME = "@ruidong/code";
87302
+ PACKAGE_NAME = "@iruidong/code";
87303
87303
  AutoUpdaterError = class extends ClaudeError {
87304
87304
  };
87305
87305
  LOCK_TIMEOUT_MS = 5 * 60 * 1e3;
@@ -87885,7 +87885,7 @@ function detectLinuxGlobPatternWarnings() {
87885
87885
  }
87886
87886
  async function getDoctorDiagnostic() {
87887
87887
  const installationType = await getCurrentInstallationType();
87888
- const version2 = typeof MACRO !== "undefined" && "0.1.1" ? "0.1.1" : "unknown";
87888
+ const version2 = typeof MACRO !== "undefined" && "0.1.2" ? "0.1.2" : "unknown";
87889
87889
  const installationPath = await getInstallationPath();
87890
87890
  const invokedBinary = getInvokedBinary();
87891
87891
  const multipleInstallations = await detectMultipleInstallations();
@@ -87978,7 +87978,7 @@ var init_doctorDiagnostic = __esm({
87978
87978
  init_slowOperations();
87979
87979
  init_which();
87980
87980
  CLI_COMMAND2 = "ruidong";
87981
- PACKAGE_NAME2 = "@ruidong/code";
87981
+ PACKAGE_NAME2 = "@iruidong/code";
87982
87982
  }
87983
87983
  });
87984
87984
 
@@ -88380,7 +88380,7 @@ var init_download = __esm({
88380
88380
  init_installer();
88381
88381
  GCS_BUCKET_URL2 = "https://storage.googleapis.com/claude-code-dist-86c565f3-f756-42ad-8dfa-d59b1c096819/claude-code-releases";
88382
88382
  ARTIFACTORY_REGISTRY_URL = "https://artifactory.infra.ant.dev/artifactory/api/npm/npm-all/";
88383
- PACKAGE_NAME3 = "@ruidong/code";
88383
+ PACKAGE_NAME3 = "@iruidong/code";
88384
88384
  DEFAULT_STALL_TIMEOUT_MS = 6e4;
88385
88385
  MAX_DOWNLOAD_RETRIES = 3;
88386
88386
  StallTimeoutError = class extends Error {
@@ -88965,7 +88965,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
88965
88965
  version2 = maxVersion;
88966
88966
  }
88967
88967
  }
88968
- if (!forceReinstall && version2 === "0.1.1" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
88968
+ if (!forceReinstall && version2 === "0.1.2" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
88969
88969
  logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
88970
88970
  logEvent("tengu_native_update_complete", {
88971
88971
  latency_ms: Date.now() - startTime,
@@ -89836,7 +89836,7 @@ var init_installer = __esm({
89836
89836
  init_download();
89837
89837
  init_pidLock();
89838
89838
  VERSION_RETENTION_COUNT = 2;
89839
- PACKAGE_NAME4 = "@ruidong/code";
89839
+ PACKAGE_NAME4 = "@iruidong/code";
89840
89840
  LOCK_STALE_MS = 7 * 24 * 60 * 60 * 1e3;
89841
89841
  inFlightInstall = null;
89842
89842
  }
@@ -187817,7 +187817,7 @@ ${sanitizedDescription}
187817
187817
  **Environment Info**
187818
187818
  - Platform: ${env.platform}
187819
187819
  - Terminal: ${env.terminal}
187820
- - Version: ${"0.1.1"}
187820
+ - Version: ${"0.1.2"}
187821
187821
  - Feedback ID: ${feedbackId}
187822
187822
 
187823
187823
  **Errors**
@@ -254125,7 +254125,7 @@ function generateHtmlReport(data, insights) {
254125
254125
  </html>`;
254126
254126
  }
254127
254127
  function buildExportData(data, insights, facets, remoteStats) {
254128
- const version2 = typeof MACRO !== "undefined" ? "0.1.1" : "unknown";
254128
+ const version2 = typeof MACRO !== "undefined" ? "0.1.2" : "unknown";
254129
254129
  const remote_hosts_collected = remoteStats?.hosts.filter((h) => h.sessionCount > 0).map((h) => h.name);
254130
254130
  const facets_summary = {
254131
254131
  total: facets.size,
@@ -257889,7 +257889,7 @@ var init_sessionStorage = __esm({
257889
257889
  init_settings2();
257890
257890
  init_slowOperations();
257891
257891
  init_uuid();
257892
- VERSION2 = typeof MACRO !== "undefined" ? "0.1.1" : "unknown";
257892
+ VERSION2 = typeof MACRO !== "undefined" ? "0.1.2" : "unknown";
257893
257893
  MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
257894
257894
  SKIP_FIRST_PROMPT_PATTERN = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
257895
257895
  EPHEMERAL_PROGRESS_TYPES = /* @__PURE__ */ new Set([
@@ -285261,7 +285261,7 @@ function AutoUpdater({
285261
285261
  /* @__PURE__ */ jsx401(ThemedText, { bold: true, children: "ruidong doctor" }),
285262
285262
  " or",
285263
285263
  " ",
285264
- /* @__PURE__ */ jsx401(ThemedText, { bold: true, children: hasLocalInstall ? "cd ~/.ruidong-code/local && npm update @ruidong/code" : "npm i -g @ruidong/code" })
285264
+ /* @__PURE__ */ jsx401(ThemedText, { bold: true, children: hasLocalInstall ? "cd ~/.ruidong-code/local && npm update @iruidong/code" : "npm i -g @iruidong/code" })
285265
285265
  ] })
285266
285266
  ] });
285267
285267
  }
@@ -337347,7 +337347,7 @@ var init_update = __esm({
337347
337347
  init_settings2();
337348
337348
  PRODUCT_NAME = "Ruidong Code";
337349
337349
  CLI_COMMAND3 = "ruidong";
337350
- PACKAGE_NAME5 = "@ruidong/code";
337350
+ PACKAGE_NAME5 = "@iruidong/code";
337351
337351
  LOCAL_INSTALL_DIR = "~/.ruidong-code/local";
337352
337352
  }
337353
337353
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iruidong/code",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Ruidong Code CLI for anthropic-compatible coding workflows",
5
5
  "type": "module",
6
6
  "private": false,