@rdmind/rdmind 0.2.1-alpha.3 → 0.2.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.
- package/cli.js +71 -41
- package/package.json +2 -2
package/cli.js
CHANGED
|
@@ -157200,7 +157200,7 @@ __export(geminiContentGenerator_exports2, {
|
|
|
157200
157200
|
createGeminiContentGenerator: () => createGeminiContentGenerator
|
|
157201
157201
|
});
|
|
157202
157202
|
function createGeminiContentGenerator(config2, gcConfig) {
|
|
157203
|
-
const version2 = "0.2.1
|
|
157203
|
+
const version2 = "0.2.1";
|
|
157204
157204
|
const userAgent2 = config2.userAgent || `QwenCode/${version2} (${process.platform}; ${process.arch})`;
|
|
157205
157205
|
const baseHeaders = {
|
|
157206
157206
|
"User-Agent": userAgent2
|
|
@@ -175006,11 +175006,11 @@ var init_constants4 = __esm({
|
|
|
175006
175006
|
init_esbuild_shims();
|
|
175007
175007
|
DEFAULT_MEMORY_FILE_FILTERING_OPTIONS = {
|
|
175008
175008
|
respectGitIgnore: false,
|
|
175009
|
-
|
|
175009
|
+
respectRdmindIgnore: true
|
|
175010
175010
|
};
|
|
175011
175011
|
DEFAULT_FILE_FILTERING_OPTIONS = {
|
|
175012
175012
|
respectGitIgnore: true,
|
|
175013
|
-
|
|
175013
|
+
respectRdmindIgnore: true
|
|
175014
175014
|
};
|
|
175015
175015
|
}
|
|
175016
175016
|
});
|
|
@@ -175069,7 +175069,7 @@ async function readFullStructure(rootPath, options2) {
|
|
|
175069
175069
|
const fileName = entry.name;
|
|
175070
175070
|
const filePath = path20.join(currentPath, fileName);
|
|
175071
175071
|
if (options2.fileService) {
|
|
175072
|
-
const shouldIgnore = options2.fileFilteringOptions.respectGitIgnore && options2.fileService.shouldGitIgnoreFile(filePath) || options2.fileFilteringOptions.
|
|
175072
|
+
const shouldIgnore = options2.fileFilteringOptions.respectGitIgnore && options2.fileService.shouldGitIgnoreFile(filePath) || options2.fileFilteringOptions.respectRdmindIgnore && options2.fileService.shouldQwenIgnoreFile(filePath);
|
|
175073
175073
|
if (shouldIgnore) {
|
|
175074
175074
|
continue;
|
|
175075
175075
|
}
|
|
@@ -175093,7 +175093,7 @@ async function readFullStructure(rootPath, options2) {
|
|
|
175093
175093
|
const subFolderPath = path20.join(currentPath, subFolderName);
|
|
175094
175094
|
let isIgnored = false;
|
|
175095
175095
|
if (options2.fileService) {
|
|
175096
|
-
isIgnored = options2.fileFilteringOptions.respectGitIgnore && options2.fileService.shouldGitIgnoreFile(subFolderPath) || options2.fileFilteringOptions.
|
|
175096
|
+
isIgnored = options2.fileFilteringOptions.respectGitIgnore && options2.fileService.shouldGitIgnoreFile(subFolderPath) || options2.fileFilteringOptions.respectRdmindIgnore && options2.fileService.shouldQwenIgnoreFile(subFolderPath);
|
|
175097
175097
|
}
|
|
175098
175098
|
if (options2.ignoredFolders.has(subFolderName) || isIgnored) {
|
|
175099
175099
|
const ignoredSubFolder = {
|
|
@@ -183179,13 +183179,13 @@ var init_fileDiscoveryService = __esm({
|
|
|
183179
183179
|
*/
|
|
183180
183180
|
filterFiles(filePaths, options2 = {
|
|
183181
183181
|
respectGitIgnore: true,
|
|
183182
|
-
|
|
183182
|
+
respectRdmindIgnore: true
|
|
183183
183183
|
}) {
|
|
183184
183184
|
return filePaths.filter((filePath) => {
|
|
183185
183185
|
if (options2.respectGitIgnore && this.shouldGitIgnoreFile(filePath)) {
|
|
183186
183186
|
return false;
|
|
183187
183187
|
}
|
|
183188
|
-
if (options2.
|
|
183188
|
+
if (options2.respectRdmindIgnore && this.shouldQwenIgnoreFile(filePath)) {
|
|
183189
183189
|
return false;
|
|
183190
183190
|
}
|
|
183191
183191
|
return true;
|
|
@@ -183197,7 +183197,7 @@ var init_fileDiscoveryService = __esm({
|
|
|
183197
183197
|
*/
|
|
183198
183198
|
filterFilesWithReport(filePaths, opts = {
|
|
183199
183199
|
respectGitIgnore: true,
|
|
183200
|
-
|
|
183200
|
+
respectRdmindIgnore: true
|
|
183201
183201
|
}) {
|
|
183202
183202
|
const filteredPaths = [];
|
|
183203
183203
|
let gitIgnoredCount = 0;
|
|
@@ -183207,7 +183207,7 @@ var init_fileDiscoveryService = __esm({
|
|
|
183207
183207
|
gitIgnoredCount++;
|
|
183208
183208
|
continue;
|
|
183209
183209
|
}
|
|
183210
|
-
if (opts.
|
|
183210
|
+
if (opts.respectRdmindIgnore && this.shouldQwenIgnoreFile(filePath)) {
|
|
183211
183211
|
qwenIgnoredCount++;
|
|
183212
183212
|
continue;
|
|
183213
183213
|
}
|
|
@@ -183243,12 +183243,12 @@ var init_fileDiscoveryService = __esm({
|
|
|
183243
183243
|
shouldIgnoreFile(filePath, options2 = {}) {
|
|
183244
183244
|
const {
|
|
183245
183245
|
respectGitIgnore = true,
|
|
183246
|
-
|
|
183246
|
+
respectRdmindIgnore = true
|
|
183247
183247
|
} = options2;
|
|
183248
183248
|
if (respectGitIgnore && this.shouldGitIgnoreFile(filePath)) {
|
|
183249
183249
|
return true;
|
|
183250
183250
|
}
|
|
183251
|
-
if (
|
|
183251
|
+
if (respectRdmindIgnore && this.shouldQwenIgnoreFile(filePath)) {
|
|
183252
183252
|
return true;
|
|
183253
183253
|
}
|
|
183254
183254
|
return false;
|
|
@@ -208707,7 +208707,7 @@ ${fileListDescription}`;
|
|
|
208707
208707
|
const options2 = this.config.getFileFilteringOptions?.();
|
|
208708
208708
|
return {
|
|
208709
208709
|
respectGitIgnore: options2?.respectGitIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectGitIgnore,
|
|
208710
|
-
|
|
208710
|
+
respectRdmindIgnore: options2?.respectRdmindIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectRdmindIgnore
|
|
208711
208711
|
};
|
|
208712
208712
|
}
|
|
208713
208713
|
};
|
|
@@ -209290,7 +209290,7 @@ var init_ls = __esm({
|
|
|
209290
209290
|
const fileDiscovery = this.config.getFileService();
|
|
209291
209291
|
const { filteredPaths, gitIgnoredCount, qwenIgnoredCount } = fileDiscovery.filterFilesWithReport(relativePaths, {
|
|
209292
209292
|
respectGitIgnore: this.params.file_filtering_options?.respect_git_ignore ?? this.config.getFileFilteringOptions().respectGitIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectGitIgnore,
|
|
209293
|
-
|
|
209293
|
+
respectRdmindIgnore: this.params.file_filtering_options?.respect_rdmind_ignore ?? this.config.getFileFilteringOptions().respectRdmindIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectRdmindIgnore
|
|
209294
209294
|
});
|
|
209295
209295
|
const entries = [];
|
|
209296
209296
|
for (const relativePath of filteredPaths) {
|
|
@@ -209378,7 +209378,7 @@ ${directoryContent}`;
|
|
|
209378
209378
|
description: "Optional: Whether to respect .gitignore patterns when listing files. Only available in git repositories. Defaults to true.",
|
|
209379
209379
|
type: "boolean"
|
|
209380
209380
|
},
|
|
209381
|
-
|
|
209381
|
+
respect_rdmind_ignore: {
|
|
209382
209382
|
description: "Optional: Whether to respect .rdmindignore patterns when listing files. Defaults to true.",
|
|
209383
209383
|
type: "boolean"
|
|
209384
209384
|
}
|
|
@@ -209533,7 +209533,7 @@ ${finalExclusionPatternsForDescription.slice(0, 2).join(
|
|
|
209533
209533
|
const fileDiscovery = this.config.getFileService();
|
|
209534
209534
|
const { filteredPaths, gitIgnoredCount, qwenIgnoredCount } = fileDiscovery.filterFilesWithReport(relativeEntries, {
|
|
209535
209535
|
respectGitIgnore: this.params.file_filtering_options?.respect_git_ignore ?? this.config.getFileFilteringOptions().respectGitIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectGitIgnore,
|
|
209536
|
-
|
|
209536
|
+
respectRdmindIgnore: this.params.file_filtering_options?.respect_rdmind_ignore ?? this.config.getFileFilteringOptions().respectRdmindIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectRdmindIgnore
|
|
209537
209537
|
});
|
|
209538
209538
|
for (const relativePath of filteredPaths) {
|
|
209539
209539
|
const fullPath = path39.resolve(this.config.getTargetDir(), relativePath);
|
|
@@ -209803,7 +209803,7 @@ ${fileContentForLlm}
|
|
|
209803
209803
|
description: "Optional: Whether to respect .gitignore patterns when listing files. Only available in git repositories. Defaults to true.",
|
|
209804
209804
|
type: "boolean"
|
|
209805
209805
|
},
|
|
209806
|
-
|
|
209806
|
+
respect_rdmind_ignore: {
|
|
209807
209807
|
description: "Optional: Whether to respect .rdmindignore patterns when listing files. Defaults to true.",
|
|
209808
209808
|
type: "boolean"
|
|
209809
209809
|
}
|
|
@@ -210169,7 +210169,7 @@ var init_ripGrep = __esm({
|
|
|
210169
210169
|
if (!filteringOptions.respectGitIgnore) {
|
|
210170
210170
|
rgArgs.push("--no-ignore-vcs");
|
|
210171
210171
|
}
|
|
210172
|
-
if (filteringOptions.
|
|
210172
|
+
if (filteringOptions.respectRdmindIgnore) {
|
|
210173
210173
|
const rdmindIgnorePath = path41.join(
|
|
210174
210174
|
this.config.getTargetDir(),
|
|
210175
210175
|
".rdmindignore"
|
|
@@ -210193,7 +210193,7 @@ var init_ripGrep = __esm({
|
|
|
210193
210193
|
const options2 = this.config.getFileFilteringOptions?.();
|
|
210194
210194
|
return {
|
|
210195
210195
|
respectGitIgnore: options2?.respectGitIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectGitIgnore,
|
|
210196
|
-
|
|
210196
|
+
respectRdmindIgnore: options2?.respectRdmindIgnore ?? DEFAULT_FILE_FILTERING_OPTIONS.respectRdmindIgnore
|
|
210197
210197
|
};
|
|
210198
210198
|
}
|
|
210199
210199
|
/**
|
|
@@ -227314,7 +227314,7 @@ var init_config3 = __esm({
|
|
|
227314
227314
|
this.usageStatisticsEnabled = params.usageStatisticsEnabled ?? true;
|
|
227315
227315
|
this.fileFiltering = {
|
|
227316
227316
|
respectGitIgnore: params.fileFiltering?.respectGitIgnore ?? true,
|
|
227317
|
-
|
|
227317
|
+
respectRdmindIgnore: params.fileFiltering?.respectRdmindIgnore ?? true,
|
|
227318
227318
|
enableRecursiveFileSearch: params.fileFiltering?.enableRecursiveFileSearch ?? true,
|
|
227319
227319
|
disableFuzzySearch: params.fileFiltering?.disableFuzzySearch ?? false
|
|
227320
227320
|
};
|
|
@@ -227744,13 +227744,13 @@ var init_config3 = __esm({
|
|
|
227744
227744
|
getFileFilteringRespectGitIgnore() {
|
|
227745
227745
|
return this.fileFiltering.respectGitIgnore;
|
|
227746
227746
|
}
|
|
227747
|
-
|
|
227748
|
-
return this.fileFiltering.
|
|
227747
|
+
getFileFilteringRespectRdmindIgnore() {
|
|
227748
|
+
return this.fileFiltering.respectRdmindIgnore;
|
|
227749
227749
|
}
|
|
227750
227750
|
getFileFilteringOptions() {
|
|
227751
227751
|
return {
|
|
227752
227752
|
respectGitIgnore: this.fileFiltering.respectGitIgnore,
|
|
227753
|
-
|
|
227753
|
+
respectRdmindIgnore: this.fileFiltering.respectRdmindIgnore
|
|
227754
227754
|
};
|
|
227755
227755
|
}
|
|
227756
227756
|
/**
|
|
@@ -237035,7 +237035,7 @@ async function readPathFromWorkspace(pathStr, config2) {
|
|
|
237035
237035
|
);
|
|
237036
237036
|
const filteredFiles = fileService.filterFiles(relativeFiles, {
|
|
237037
237037
|
respectGitIgnore: true,
|
|
237038
|
-
|
|
237038
|
+
respectRdmindIgnore: true
|
|
237039
237039
|
});
|
|
237040
237040
|
const finalFiles = filteredFiles.map(
|
|
237041
237041
|
(p2) => path64.resolve(config2.getTargetDir(), p2)
|
|
@@ -237054,7 +237054,7 @@ async function readPathFromWorkspace(pathStr, config2) {
|
|
|
237054
237054
|
const relativePath = path64.relative(config2.getTargetDir(), absolutePath);
|
|
237055
237055
|
const filtered = fileService.filterFiles([relativePath], {
|
|
237056
237056
|
respectGitIgnore: true,
|
|
237057
|
-
|
|
237057
|
+
respectRdmindIgnore: true
|
|
237058
237058
|
});
|
|
237059
237059
|
if (filtered.length === 0) {
|
|
237060
237060
|
return [];
|
|
@@ -237087,8 +237087,8 @@ var init_git_commit = __esm({
|
|
|
237087
237087
|
"packages/core/src/generated/git-commit.ts"() {
|
|
237088
237088
|
"use strict";
|
|
237089
237089
|
init_esbuild_shims();
|
|
237090
|
-
GIT_COMMIT_INFO = "
|
|
237091
|
-
CLI_VERSION = "0.2.1
|
|
237090
|
+
GIT_COMMIT_INFO = "6d8917db";
|
|
237091
|
+
CLI_VERSION = "0.2.1";
|
|
237092
237092
|
}
|
|
237093
237093
|
});
|
|
237094
237094
|
|
|
@@ -277572,7 +277572,7 @@ var init_settingsSchema = __esm({
|
|
|
277572
277572
|
description: "Respect .gitignore files when searching",
|
|
277573
277573
|
showInDialog: true
|
|
277574
277574
|
},
|
|
277575
|
-
|
|
277575
|
+
respectRdmindIgnore: {
|
|
277576
277576
|
type: "boolean",
|
|
277577
277577
|
label: "Respect .rdmindignore",
|
|
277578
277578
|
category: "Context",
|
|
@@ -296731,6 +296731,24 @@ function migrateDeprecatedSettings(loadedSettings, workspaceDir = process26.cwd(
|
|
|
296731
296731
|
);
|
|
296732
296732
|
loadedSettings.setValue(scope, "experimental.skills", legacySkills);
|
|
296733
296733
|
}
|
|
296734
|
+
const legacyRespectQwenIgnore = settings.context?.fileFiltering?.respectQwenIgnore;
|
|
296735
|
+
if (legacyRespectQwenIgnore !== void 0 && settings.context?.fileFiltering?.respectRdmindIgnore === void 0) {
|
|
296736
|
+
console.log(
|
|
296737
|
+
`Migrating deprecated context.fileFiltering.respectQwenIgnore setting from ${scope} settings...`
|
|
296738
|
+
);
|
|
296739
|
+
loadedSettings.setValue(
|
|
296740
|
+
scope,
|
|
296741
|
+
"context.fileFiltering.respectRdmindIgnore",
|
|
296742
|
+
legacyRespectQwenIgnore
|
|
296743
|
+
);
|
|
296744
|
+
if (settings.context?.fileFiltering) {
|
|
296745
|
+
const newFileFiltering = {
|
|
296746
|
+
...settings.context.fileFiltering
|
|
296747
|
+
};
|
|
296748
|
+
delete newFileFiltering.respectQwenIgnore;
|
|
296749
|
+
loadedSettings.setValue(scope, "context.fileFiltering", newFileFiltering);
|
|
296750
|
+
}
|
|
296751
|
+
}
|
|
296734
296752
|
}, "processScope");
|
|
296735
296753
|
processScope("User" /* User */);
|
|
296736
296754
|
processScope("Workspace" /* Workspace */);
|
|
@@ -347951,7 +347969,7 @@ __name(getPackageJson, "getPackageJson");
|
|
|
347951
347969
|
// packages/cli/src/utils/version.ts
|
|
347952
347970
|
async function getCliVersion() {
|
|
347953
347971
|
const pkgJson = await getPackageJson();
|
|
347954
|
-
return "0.2.1
|
|
347972
|
+
return "0.2.1";
|
|
347955
347973
|
}
|
|
347956
347974
|
__name(getCliVersion, "getCliVersion");
|
|
347957
347975
|
|
|
@@ -355863,7 +355881,7 @@ var formatDuration = /* @__PURE__ */ __name((milliseconds) => {
|
|
|
355863
355881
|
|
|
355864
355882
|
// packages/cli/src/generated/git-commit.ts
|
|
355865
355883
|
init_esbuild_shims();
|
|
355866
|
-
var GIT_COMMIT_INFO2 = "
|
|
355884
|
+
var GIT_COMMIT_INFO2 = "6d8917db";
|
|
355867
355885
|
|
|
355868
355886
|
// packages/cli/src/utils/systemInfo.ts
|
|
355869
355887
|
async function getNpmVersion() {
|
|
@@ -364983,11 +365001,11 @@ async function handleAtCommand({
|
|
|
364983
365001
|
}
|
|
364984
365002
|
const gitIgnored = respectFileIgnore.respectGitIgnore && fileDiscovery.shouldIgnoreFile(pathName, {
|
|
364985
365003
|
respectGitIgnore: true,
|
|
364986
|
-
|
|
365004
|
+
respectRdmindIgnore: false
|
|
364987
365005
|
});
|
|
364988
|
-
const qwenIgnored = respectFileIgnore.
|
|
365006
|
+
const qwenIgnored = respectFileIgnore.respectRdmindIgnore && fileDiscovery.shouldIgnoreFile(pathName, {
|
|
364989
365007
|
respectGitIgnore: false,
|
|
364990
|
-
|
|
365008
|
+
respectRdmindIgnore: true
|
|
364991
365009
|
});
|
|
364992
365010
|
if (gitIgnored || qwenIgnored) {
|
|
364993
365011
|
const reason = gitIgnored && qwenIgnored ? "both" : gitIgnored ? "git" : "rdmind";
|
|
@@ -365132,7 +365150,7 @@ ${messages.join("\n")}`;
|
|
|
365132
365150
|
paths: pathSpecsToRead,
|
|
365133
365151
|
file_filtering_options: {
|
|
365134
365152
|
respect_git_ignore: respectFileIgnore.respectGitIgnore,
|
|
365135
|
-
|
|
365153
|
+
respect_rdmind_ignore: respectFileIgnore.respectRdmindIgnore
|
|
365136
365154
|
}
|
|
365137
365155
|
// Use configuration setting
|
|
365138
365156
|
};
|
|
@@ -391561,7 +391579,6 @@ var startupTips = [
|
|
|
391561
391579
|
"Use /compress when the conversation gets long to summarize history and free up context.",
|
|
391562
391580
|
"Start a fresh idea with /clear or /new; the previous session stays available in history.",
|
|
391563
391581
|
"Use /doc to view documentation, changelog and practice sharing.",
|
|
391564
|
-
"Switch auth type quickly with /auth.",
|
|
391565
391582
|
"You can run any shell commands from RDMind using ! (e.g. !ls).",
|
|
391566
391583
|
"Type / to open the command popup; Tab autocompletes slash commands and saved prompts.",
|
|
391567
391584
|
"You can resume a previous conversation by running rdmind --continue or rdmind --resume.",
|
|
@@ -392125,7 +392142,7 @@ var SETTINGS_DIALOG_ORDER = [
|
|
|
392125
392142
|
"general.gitCoAuthor",
|
|
392126
392143
|
// File Filtering
|
|
392127
392144
|
"context.fileFiltering.respectGitIgnore",
|
|
392128
|
-
"context.fileFiltering.
|
|
392145
|
+
"context.fileFiltering.respectRdmindIgnore",
|
|
392129
392146
|
// System Settings - rarely changed
|
|
392130
392147
|
"general.disableAutoUpdate",
|
|
392131
392148
|
// Privacy
|
|
@@ -396721,7 +396738,7 @@ function useAtCompletion(props) {
|
|
|
396721
396738
|
projectRoot: cwd7,
|
|
396722
396739
|
ignoreDirs: [],
|
|
396723
396740
|
useGitignore: config2?.getFileFilteringOptions()?.respectGitIgnore ?? true,
|
|
396724
|
-
useQwenignore: config2?.getFileFilteringOptions()?.
|
|
396741
|
+
useQwenignore: config2?.getFileFilteringOptions()?.respectRdmindIgnore ?? true,
|
|
396725
396742
|
cache: true,
|
|
396726
396743
|
cacheTtl: 30,
|
|
396727
396744
|
// 30 seconds
|
|
@@ -399298,7 +399315,7 @@ var useQwenAuth = /* @__PURE__ */ __name((pendingAuthType, isAuthenticating) =>
|
|
|
399298
399315
|
}, "useQwenAuth");
|
|
399299
399316
|
|
|
399300
399317
|
// packages/cli/src/ui/auth/useAuth.ts
|
|
399301
|
-
var useAuthCommand = /* @__PURE__ */ __name((settings, config2, addItem) => {
|
|
399318
|
+
var useAuthCommand = /* @__PURE__ */ __name((settings, config2, addItem, refreshStatic) => {
|
|
399302
399319
|
const unAuthenticated = config2.getAuthType() === void 0;
|
|
399303
399320
|
const isSSOAutoAuthInProgress = shouldTriggerAutoSSOAuth(settings);
|
|
399304
399321
|
const [authState, setAuthState] = (0, import_react103.useState)(
|
|
@@ -399399,8 +399416,11 @@ var useAuthCommand = /* @__PURE__ */ __name((settings, config2, addItem) => {
|
|
|
399399
399416
|
},
|
|
399400
399417
|
Date.now()
|
|
399401
399418
|
);
|
|
399419
|
+
if (refreshStatic) {
|
|
399420
|
+
refreshStatic();
|
|
399421
|
+
}
|
|
399402
399422
|
},
|
|
399403
|
-
[settings, handleAuthFailure, config2, addItem]
|
|
399423
|
+
[settings, handleAuthFailure, config2, addItem, refreshStatic]
|
|
399404
399424
|
);
|
|
399405
399425
|
const performAuth = (0, import_react103.useCallback)(
|
|
399406
399426
|
async (authType, credentials) => {
|
|
@@ -399481,6 +399501,9 @@ var useAuthCommand = /* @__PURE__ */ __name((settings, config2, addItem) => {
|
|
|
399481
399501
|
},
|
|
399482
399502
|
Date.now()
|
|
399483
399503
|
);
|
|
399504
|
+
if (refreshStatic) {
|
|
399505
|
+
refreshStatic();
|
|
399506
|
+
}
|
|
399484
399507
|
}, "onSuccess")
|
|
399485
399508
|
});
|
|
399486
399509
|
} catch (error2) {
|
|
@@ -399523,6 +399546,9 @@ var useAuthCommand = /* @__PURE__ */ __name((settings, config2, addItem) => {
|
|
|
399523
399546
|
},
|
|
399524
399547
|
Date.now()
|
|
399525
399548
|
);
|
|
399549
|
+
if (refreshStatic) {
|
|
399550
|
+
refreshStatic();
|
|
399551
|
+
}
|
|
399526
399552
|
} catch (error2) {
|
|
399527
399553
|
handleAuthFailure(error2);
|
|
399528
399554
|
}
|
|
@@ -399579,7 +399605,10 @@ var useAuthCommand = /* @__PURE__ */ __name((settings, config2, addItem) => {
|
|
|
399579
399605
|
performAuth,
|
|
399580
399606
|
isProviderManagedModel,
|
|
399581
399607
|
onAuthError,
|
|
399582
|
-
settings.merged.model?.generationConfig
|
|
399608
|
+
settings.merged.model?.generationConfig,
|
|
399609
|
+
refreshStatic,
|
|
399610
|
+
addItem,
|
|
399611
|
+
settings
|
|
399583
399612
|
]
|
|
399584
399613
|
);
|
|
399585
399614
|
const openAuthDialog = (0, import_react103.useCallback)(() => {
|
|
@@ -408182,7 +408211,7 @@ var AppContainer = /* @__PURE__ */ __name((props) => {
|
|
|
408182
408211
|
handleAuthSelect,
|
|
408183
408212
|
openAuthDialog,
|
|
408184
408213
|
cancelAuthentication
|
|
408185
|
-
} = useAuthCommand(settings, config2, historyManager.addItem);
|
|
408214
|
+
} = useAuthCommand(settings, config2, historyManager.addItem, refreshStatic);
|
|
408186
408215
|
(0, import_react134.useEffect)(() => {
|
|
408187
408216
|
if (!shouldTriggerAutoSSOAuth(settings)) {
|
|
408188
408217
|
return;
|
|
@@ -408297,6 +408326,7 @@ var AppContainer = /* @__PURE__ */ __name((props) => {
|
|
|
408297
408326
|
"success"
|
|
408298
408327
|
);
|
|
408299
408328
|
logAuth(config2, successEvent);
|
|
408329
|
+
refreshStatic();
|
|
408300
408330
|
} catch (error2) {
|
|
408301
408331
|
if (config2.getDebugMode()) {
|
|
408302
408332
|
console.error("[AppContainer] \u274C SSO \u8BA4\u8BC1\u6D41\u7A0B\u5931\u8D25:", error2);
|
|
@@ -412832,7 +412862,7 @@ var GeminiAgent = class {
|
|
|
412832
412862
|
name: APPROVAL_MODE_INFO[mode].name,
|
|
412833
412863
|
description: APPROVAL_MODE_INFO[mode].description
|
|
412834
412864
|
}));
|
|
412835
|
-
const version2 = "0.2.1
|
|
412865
|
+
const version2 = "0.2.1";
|
|
412836
412866
|
return {
|
|
412837
412867
|
protocolVersion: PROTOCOL_VERSION,
|
|
412838
412868
|
agentInfo: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rdmind/rdmind",
|
|
3
|
-
"version": "0.2.1
|
|
3
|
+
"version": "0.2.1",
|
|
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.2.1
|
|
23
|
+
"sandboxImageUri": "ghcr.io/qwenlm/qwen-code:0.2.1"
|
|
24
24
|
},
|
|
25
25
|
"publishConfig": {
|
|
26
26
|
"access": "public"
|