codexmate 0.0.50 → 0.0.51
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/agents-files.js
CHANGED
|
@@ -244,9 +244,6 @@ function createAgentsFileController(deps = {}) {
|
|
|
244
244
|
if (context === 'claude-md') {
|
|
245
245
|
readResult = readClaudeMdFile({ metaOnly });
|
|
246
246
|
} else if (context === 'claude-project') {
|
|
247
|
-
if (!params.baseDir || !String(params.baseDir).trim()) {
|
|
248
|
-
return { error: 'project path is required for claude-project context' };
|
|
249
|
-
}
|
|
250
247
|
readResult = readClaudeMdFile({ ...params, metaOnly });
|
|
251
248
|
} else if (context === 'openclaw') {
|
|
252
249
|
readResult = readOpenclawAgentsFile({ metaOnly });
|
package/package.json
CHANGED
package/web-ui/app.js
CHANGED
|
@@ -752,6 +752,9 @@ document.addEventListener('DOMContentLoaded', () => {
|
|
|
752
752
|
watch: {
|
|
753
753
|
mainTab(newTab) {
|
|
754
754
|
if (newTab === 'prompts' && typeof this.loadPromptsContent === 'function') {
|
|
755
|
+
if (this.promptsSubTab === 'claude-project' && !this.projectPathOptions.length && !this.projectPathOptionsLoading && typeof this.loadProjectPathOptions === 'function') {
|
|
756
|
+
this.loadProjectPathOptions();
|
|
757
|
+
}
|
|
755
758
|
this.loadPromptsContent();
|
|
756
759
|
}
|
|
757
760
|
},
|
|
@@ -727,6 +727,9 @@ export function createAgentsMethods(options = {}) {
|
|
|
727
727
|
const rpcParams = {};
|
|
728
728
|
if (subTab === 'claude-project') {
|
|
729
729
|
action = 'get-claude-md-file';
|
|
730
|
+
if (!this.projectPathOptions.length && !this.projectPathOptionsLoading && typeof this.loadProjectPathOptions === 'function') {
|
|
731
|
+
this.loadProjectPathOptions();
|
|
732
|
+
}
|
|
730
733
|
const projectPath = (this.projectClaudeMdPath || '').trim();
|
|
731
734
|
if (projectPath) {
|
|
732
735
|
rpcParams.baseDir = projectPath;
|