@rdmind/rdmind 0.2.6 → 0.2.7-alpha.1

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 +27 -30
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -160756,7 +160756,7 @@ __export(geminiContentGenerator_exports2, {
160756
160756
  createGeminiContentGenerator: () => createGeminiContentGenerator
160757
160757
  });
160758
160758
  function createGeminiContentGenerator(config2, gcConfig) {
160759
- const version2 = "0.2.6";
160759
+ const version2 = "0.2.7-alpha.1";
160760
160760
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
160761
160761
  const baseHeaders = {
160762
160762
  "User-Agent": userAgent2
@@ -361095,7 +361095,7 @@ __name(getPackageJson, "getPackageJson");
361095
361095
  // packages/cli/src/utils/version.ts
361096
361096
  async function getCliVersion() {
361097
361097
  const pkgJson = await getPackageJson();
361098
- return "0.2.6";
361098
+ return "0.2.7-alpha.1";
361099
361099
  }
361100
361100
  __name(getCliVersion, "getCliVersion");
361101
361101
 
@@ -368843,7 +368843,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
368843
368843
 
368844
368844
  // packages/cli/src/generated/git-commit.ts
368845
368845
  init_esbuild_shims();
368846
- var GIT_COMMIT_INFO = "ede57b666";
368846
+ var GIT_COMMIT_INFO = "31c3bae99";
368847
368847
 
368848
368848
  // packages/cli/src/utils/systemInfo.ts
368849
368849
  async function getNpmVersion() {
@@ -409228,32 +409228,28 @@ var XHS_SSO_MODELS = [
409228
409228
  baseUrl: "https://runway.devops.xiaohongshu.com/openai/moonshot/v1",
409229
409229
  contextWindow: "256K",
409230
409230
  description: "\u5728 Agent\u3001\u4EE3\u7801\u3001\u89C6\u89C9\u7406\u89E3\u53CA\u4E00\u7CFB\u5217\u901A\u7528\u667A\u80FD\u4EFB\u52A1\u4E0A\u53D6\u5F97\u5F00\u6E90 SoTA \u8868\u73B0"
409231
+ },
409232
+ {
409233
+ id: "gpt-5-codex(low)",
409234
+ displayName: "GPT-5-Codex(low)",
409235
+ baseUrl: "https://runway.devops.rednote.life/openai/v1/responses?api-version=v1",
409236
+ contextWindow: "272K",
409237
+ description: "GPT-5 \u7684\u4E00\u4E2A\u7248\u672C\uFF0C\u4E13\u4E3A Codex \u4E2D\u7684\u667A\u80FD\u4F53\u7F16\u7A0B\u800C\u4F18\u5316 (\u63A8\u7406\u5F3A\u5EA6\u4F4E)"
409238
+ },
409239
+ {
409240
+ id: "gpt-5-codex(high)",
409241
+ displayName: "GPT-5-Codex(high)",
409242
+ baseUrl: "https://runway.devops.rednote.life/openai/v1/responses?api-version=v1",
409243
+ contextWindow: "272K",
409244
+ description: "GPT-5 \u7684\u4E00\u4E2A\u7248\u672C\uFF0C\u4E13\u4E3A Codex \u4E2D\u7684\u667A\u80FD\u4F53\u7F16\u7A0B\u800C\u4F18\u5316 (\u63A8\u7406\u5F3A\u5EA6\u9AD8)"
409245
+ },
409246
+ {
409247
+ id: "claude-opus-4-5@20251101",
409248
+ displayName: "Claude Opus 4.5",
409249
+ baseUrl: "https://runway.devops.rednote.life/openai/google/anthropic/v1",
409250
+ contextWindow: "200K",
409251
+ description: "Anthropic \u6700\u5F3A\u5927\u7684\u6A21\u578B\uFF0C\u64C5\u957F\u590D\u6742\u63A8\u7406\u548C\u4EE3\u7801\u751F\u6210"
409231
409252
  }
409232
- // {
409233
- // id: 'gpt-5-codex(low)',
409234
- // displayName: 'GPT-5-Codex(low)',
409235
- // baseUrl:
409236
- // 'https://runway.devops.rednote.life/openai/v1/responses?api-version=v1',
409237
- // contextWindow: '272K',
409238
- // description:
409239
- // 'GPT-5 的一个版本,专为 Codex 中的智能体编程而优化 (推理强度低)',
409240
- // },
409241
- // {
409242
- // id: 'gpt-5-codex(high)',
409243
- // displayName: 'GPT-5-Codex(high)',
409244
- // baseUrl:
409245
- // 'https://runway.devops.rednote.life/openai/v1/responses?api-version=v1',
409246
- // contextWindow: '272K',
409247
- // description:
409248
- // 'GPT-5 的一个版本,专为 Codex 中的智能体编程而优化 (推理强度高)',
409249
- // },
409250
- // {
409251
- // id: 'claude-opus-4-5@20251101',
409252
- // displayName: 'Claude Opus 4.5',
409253
- // baseUrl: 'https://runway.devops.rednote.life/openai/google/anthropic/v1',
409254
- // contextWindow: '200K',
409255
- // description: 'Anthropic 最强大的模型,擅长复杂推理和代码生成',
409256
- // },
409257
409253
  ];
409258
409254
 
409259
409255
  // packages/cli/src/ui/components/XhsSsoModelConfigFlow.tsx
@@ -413410,8 +413406,9 @@ function extractFunctionCalls(parts) {
413410
413406
  for (const part of parts) {
413411
413407
  if ("functionCall" in part && part.functionCall) {
413412
413408
  const fc = part.functionCall;
413409
+ const uniqueSuffix = Date.now().toString(36) + Math.random().toString(36).slice(2, 6);
413413
413410
  calls.push({
413414
- id: fc.id || `call-${calls.length}`,
413411
+ id: fc.id || `call-${calls.length}-${uniqueSuffix}`,
413415
413412
  name: fc.name || "unknown",
413416
413413
  args: fc.args || {}
413417
413414
  });
@@ -427536,7 +427533,7 @@ var GeminiAgent = class {
427536
427533
  name: APPROVAL_MODE_INFO[mode].name,
427537
427534
  description: APPROVAL_MODE_INFO[mode].description
427538
427535
  }));
427539
- const version2 = "0.2.6";
427536
+ const version2 = "0.2.7-alpha.1";
427540
427537
  return {
427541
427538
  protocolVersion: PROTOCOL_VERSION,
427542
427539
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.2.6",
3
+ "version": "0.2.7-alpha.1",
4
4
  "description": "RDMind - AI-powered coding assistant",
5
5
  "type": "module",
6
6
  "main": "cli.js",
@@ -19,7 +19,7 @@
19
19
  "locales"
20
20
  ],
21
21
  "config": {
22
- "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.6"
22
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.7-alpha.1"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"