@rdmind/rdmind 0.1.4-alpha.1 → 0.1.4-alpha.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 +20 -9
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -160801,7 +160801,7 @@ function createContentGeneratorConfig(config2, authType, generationConfig) {
160801
160801
  };
160802
160802
  }
160803
160803
  async function createContentGenerator(config2, gcConfig, isInitialAuth) {
160804
- const version3 = "0.1.4-alpha.1";
160804
+ const version3 = "0.1.4-alpha.3";
160805
160805
  const userAgent2 = `QwenCode/${version3} (${process.platform}; ${process.arch})`;
160806
160806
  const baseHeaders = {
160807
160807
  "User-Agent": userAgent2
@@ -172624,6 +172624,12 @@ function getCachedEncodingForBuffer(buffer) {
172624
172624
  cachedSystemEncoding = getSystemEncoding();
172625
172625
  }
172626
172626
  if (cachedSystemEncoding) {
172627
+ if (cachedSystemEncoding !== "utf-8") {
172628
+ const detected = detectEncodingFromBuffer(buffer);
172629
+ if (detected === "utf-8") {
172630
+ return "utf-8";
172631
+ }
172632
+ }
172627
172633
  return cachedSystemEncoding;
172628
172634
  }
172629
172635
  return detectEncodingFromBuffer(buffer) || "utf-8";
@@ -235947,8 +235953,8 @@ var init_git_commit = __esm({
235947
235953
  "packages/core/src/generated/git-commit.ts"() {
235948
235954
  "use strict";
235949
235955
  init_esbuild_shims();
235950
- GIT_COMMIT_INFO = "4f0a7859";
235951
- CLI_VERSION = "0.1.4-alpha.1";
235956
+ GIT_COMMIT_INFO = "759dc243";
235957
+ CLI_VERSION = "0.1.4-alpha.3";
235952
235958
  }
235953
235959
  });
235954
235960
 
@@ -346302,7 +346308,7 @@ __name(getPackageJson, "getPackageJson");
346302
346308
  // packages/cli/src/utils/version.ts
346303
346309
  async function getCliVersion() {
346304
346310
  const pkgJson = await getPackageJson();
346305
- return "0.1.4-alpha.1";
346311
+ return "0.1.4-alpha.3";
346306
346312
  }
346307
346313
  __name(getCliVersion, "getCliVersion");
346308
346314
 
@@ -352832,7 +352838,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
352832
352838
 
352833
352839
  // packages/cli/src/generated/git-commit.ts
352834
352840
  init_esbuild_shims();
352835
- var GIT_COMMIT_INFO2 = "4f0a7859";
352841
+ var GIT_COMMIT_INFO2 = "759dc243";
352836
352842
 
352837
352843
  // packages/cli/src/utils/systemInfo.ts
352838
352844
  async function getNpmVersion() {
@@ -394072,12 +394078,17 @@ var InputPrompt = /* @__PURE__ */ __name(({
394072
394078
  statusColor = theme.status.warning;
394073
394079
  statusText = t3("Accepting edits");
394074
394080
  }
394081
+ const borderColor = isShellFocused && !isEmbeddedShellFocused ? statusColor ?? theme.border.focused : theme.border.default;
394075
394082
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
394076
394083
  /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
394077
394084
  Box_default,
394078
394085
  {
394079
- borderStyle: "round",
394080
- borderColor: isShellFocused && !isEmbeddedShellFocused ? statusColor ?? theme.border.focused : theme.border.default,
394086
+ borderStyle: "single",
394087
+ borderTop: true,
394088
+ borderBottom: true,
394089
+ borderLeft: false,
394090
+ borderRight: false,
394091
+ borderColor,
394081
394092
  paddingX: 1,
394082
394093
  children: [
394083
394094
  /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(
@@ -394156,7 +394167,7 @@ var InputPrompt = /* @__PURE__ */ __name(({
394156
394167
  });
394157
394168
  if (isOnCursorLine && cursorVisualColAbsolute === cpLen(lineText)) {
394158
394169
  renderedLine.push(
394159
- /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Text3, { children: showCursor ? import_chalk7.default.inverse(" ") : " " }, `cursor-end-${cursorVisualColAbsolute}`)
394170
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Text3, { children: showCursor ? import_chalk7.default.inverse(" ") + "\u200B" : " \u200B" }, `cursor-end-${cursorVisualColAbsolute}`)
394160
394171
  );
394161
394172
  }
394162
394173
  return /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Box_default, { height: 1, children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(Text3, { children: renderedLine }) }, `line-${visualIdxInRenderedSet}`);
@@ -408517,7 +408528,7 @@ var GeminiAgent = class {
408517
408528
  name: APPROVAL_MODE_INFO[mode].name,
408518
408529
  description: APPROVAL_MODE_INFO[mode].description
408519
408530
  }));
408520
- const version3 = "0.1.4-alpha.1";
408531
+ const version3 = "0.1.4-alpha.3";
408521
408532
  return {
408522
408533
  protocolVersion: PROTOCOL_VERSION,
408523
408534
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.1.4-alpha.1",
3
+ "version": "0.1.4-alpha.3",
4
4
  "description": "RDMind - AI-powered coding assistant",
5
5
  "type": "module",
6
6
  "main": "cli.js",
@@ -20,7 +20,7 @@
20
20
  "locales"
21
21
  ],
22
22
  "config": {
23
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.4-alpha.1"
23
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.1.4-alpha.3"
24
24
  },
25
25
  "publishConfig": {
26
26
  "access": "public"