@rdmind/rdmind 0.2.8-alpha.0 → 0.2.8-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 +34 -4
  2. package/package.json +2 -2
package/cli.js CHANGED
@@ -160844,7 +160844,7 @@ __export(geminiContentGenerator_exports2, {
160844
160844
  createGeminiContentGenerator: () => createGeminiContentGenerator
160845
160845
  });
160846
160846
  function createGeminiContentGenerator(config2, gcConfig) {
160847
- const version2 = "0.2.8-alpha.0";
160847
+ const version2 = "0.2.8-alpha.1";
160848
160848
  const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
160849
160849
  const baseHeaders = {
160850
160850
  "User-Agent": userAgent2
@@ -164241,9 +164241,36 @@ function getCoreSystemPrompt(userMemory, model) {
164241
164241
  }
164242
164242
  }
164243
164243
  const isGemini3 = model?.toLowerCase().includes("gemini-3-pro-preview") || model?.toLowerCase().includes("gemini-3.1-pro-preview") || model?.toLowerCase().includes("gemini-3-flash-preview");
164244
+ const isGpt53Codex = model?.toLowerCase().includes("gpt-5.3-codex");
164244
164245
  const mandatesVariant = isGemini3 ? `
164245
164246
 
164246
164247
  - **Do not call tools in silence:** You must provide to the user very short and concise natural explanation (one sentence) before calling tools.` : ``;
164248
+ const codexFinalAnswerInstructionsVariant = isGpt53Codex ? `
164249
+
164250
+ ## Final answer instructions
164251
+ - Balance conciseness to not overwhelm the user with appropriate detail for the request. Do not narrate abstractly; explain what you are doing and why.
164252
+ - Do not begin responses with conversational interjections or meta commentary. Avoid openers such as acknowledgements (\u201CDone \u2014\u201D, \u201CGot it\u201D, \u201CGreat question, \u201D) or framing phrases.
164253
+ - The user does not see command execution outputs. When asked to show the output of a command (e.g. \`git show\`), relay the important details in your answer or summarize the key lines so the user understands the result.
164254
+ - Never tell the user to "save/copy this file", the user is on the same machine and has access to the same files as you have.
164255
+ - If the user asks for a code explanation, structure your answer with code references.
164256
+ - When given a simple task, just provide the outcome in a short answer without strong formatting.
164257
+ - When you make big or complex changes, state the solution first, then walk the user through what you did and why.
164258
+ - For casual chit-chat, just chat.
164259
+ - If you weren't able to do something, for example run tests, tell the user.
164260
+ - If there are natural next steps the user may want to take, suggest them at the end of your response. Do not make suggestions if there are no natural next steps. When suggesting multiple options, use numeric lists for the suggestions so the user can quickly respond with a single number.` : ``;
164261
+ const codexIntermediaryUpdatesVariant = isGpt53Codex ? `
164262
+
164263
+ ## Intermediary updates
164264
+ - User updates are short updates while you are working, they are NOT final answers.
164265
+ - You use 1-2 sentence user updates to communicated progress and new information to the user as you are doing work.
164266
+ - Do not begin responses with conversational interjections or meta commentary. Avoid openers such as acknowledgements (\u201CDone \u2014\u201D, \u201CGot it\u201D, \u201CGreat question, \u201D) or framing phrases.
164267
+ - You provide user updates frequently, every 20s.
164268
+ - Before exploring or doing substantial work, you start with a user update acknowledging the request and explaining your first step. You should include your understanding of the user request and explain what you will do. Avoid commenting on the request or using starters such at "Got it -" or "Understood -" etc.
164269
+ - When exploring, e.g. searching, reading files you provide user updates as you go, every 20s, explaining what context you are gathering and what you've learned. Vary your sentence structure when providing these updates to avoid sounding repetitive - in particular, don't start each sentence the same way.
164270
+ - After you have sufficient context, and the work is substantial you provide a longer plan (this is the only user update that may be longer than 2 sentences and can contain formatting).
164271
+ - Before performing file edits of any kind, you provide updates explaining what edits you are making.
164272
+ - As you are thinking, you very frequently provide updates even if not taking any actions, informing the user of your progress. You interrupt your thinking and send multiple updates in a row if thinking for more than 100 words.
164273
+ - Tone of your updates MUST match your personality.` : ``;
164247
164274
  const basePrompt = systemMdEnabled ? fs23.readFileSync(systemMdPath, "utf8") : `
164248
164275
  You are RDMind, an interactive CLI agent, specializing in software engineering tasks. Your primary goal is to help users safely and efficiently, adhering strictly to the following instructions and utilizing your available tools.
164249
164276
 
@@ -164379,6 +164406,9 @@ IMPORTANT: Always use the ${ToolNames.TODO_WRITE} tool to plan and track tasks t
164379
164406
  - **Help Command:** The user can use '/help' to display help information.
164380
164407
  - **Feedback:** To report a bug or provide feedback, please use the /bug command.
164381
164408
 
164409
+ ${codexFinalAnswerInstructionsVariant}
164410
+ ${codexIntermediaryUpdatesVariant}
164411
+
164382
164412
  ${function() {
164383
164413
  const isSandboxExec = process9.env["SANDBOX"] === "sandbox-exec";
164384
164414
  const isGenericSandbox = !!process9.env["SANDBOX"];
@@ -361620,7 +361650,7 @@ __name(getPackageJson, "getPackageJson");
361620
361650
  // packages/cli/src/utils/version.ts
361621
361651
  async function getCliVersion() {
361622
361652
  const pkgJson = await getPackageJson();
361623
- return "0.2.8-alpha.0";
361653
+ return "0.2.8-alpha.1";
361624
361654
  }
361625
361655
  __name(getCliVersion, "getCliVersion");
361626
361656
 
@@ -407680,7 +407710,7 @@ function getAuthDisplayType(authType, baseUrl, apiKeyEnvKey) {
407680
407710
  }
407681
407711
  switch (authType) {
407682
407712
  case "xhs-sso" /* XHS_SSO */:
407683
- return "XHS SSO" /* XHS_SSO */;
407713
+ return "xhs-sso" /* XHS_SSO */;
407684
407714
  case "qwen-oauth" /* QWEN_OAUTH */:
407685
407715
  return "Qwen OAuth" /* QWEN_OAUTH */;
407686
407716
  default:
@@ -429288,7 +429318,7 @@ var GeminiAgent = class {
429288
429318
  name: APPROVAL_MODE_INFO[mode].name,
429289
429319
  description: APPROVAL_MODE_INFO[mode].description
429290
429320
  }));
429291
- const version2 = "0.2.8-alpha.0";
429321
+ const version2 = "0.2.8-alpha.1";
429292
429322
  return {
429293
429323
  protocolVersion: PROTOCOL_VERSION,
429294
429324
  agentInfo: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rdmind/rdmind",
3
- "version": "0.2.8-alpha.0",
3
+ "version": "0.2.8-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.8-alpha.0"
22
+ "sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.8-alpha.1"
23
23
  },
24
24
  "publishConfig": {
25
25
  "access": "public"