rrce-workflow 0.2.6 → 0.2.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rrce-workflow",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "description": "RRCE-Workflow TUI - Agentic code workflow generator for AI-assisted development",
5
5
  "author": "RRCE Team",
6
6
  "license": "MIT",
@@ -250,12 +250,11 @@ async function generateConfiguration(
250
250
 
251
251
  for (const dataPath of dataPaths) {
252
252
  ensureDir(dataPath);
253
- // Create agent metadata subdirectories
253
+ // Create agent metadata subdirectories (data only, no prompts)
254
254
  ensureDir(path.join(dataPath, 'knowledge'));
255
255
  ensureDir(path.join(dataPath, 'refs'));
256
256
  ensureDir(path.join(dataPath, 'tasks'));
257
257
  ensureDir(path.join(dataPath, 'templates'));
258
- ensureDir(path.join(dataPath, 'prompts'));
259
258
  }
260
259
 
261
260
  // Get the agent-core directory path
@@ -267,16 +266,9 @@ async function generateConfiguration(
267
266
  // Also copy templates to all storage locations
268
267
  copyDirToAllStoragePaths(path.join(agentCoreDir, 'templates'), 'templates', dataPaths);
269
268
 
270
- // Load prompts
269
+ // Load prompts for IDE-specific locations
271
270
  const prompts = loadPromptsFromDir(getAgentCorePromptsDir());
272
271
 
273
- // Copy prompts to all storage locations (for cross-project access)
274
- for (const dataPath of dataPaths) {
275
- const promptsDir = path.join(dataPath, 'prompts');
276
- ensureDir(promptsDir);
277
- copyPromptsToDir(prompts, promptsDir, '.md');
278
- }
279
-
280
272
  // Copy prompts to tool-specific locations (for IDE integration)
281
273
  if (config.tools.includes('copilot')) {
282
274
  const copilotPath = getAgentPromptPath(workspacePath, 'copilot');
@@ -56,14 +56,9 @@ export async function runUpdateFlow(
56
56
 
57
57
  s.start('Updating from package');
58
58
 
59
- // Update prompts and templates in all storage locations
59
+ // Update templates in all storage locations (no prompts in data paths)
60
60
  for (const dataPath of dataPaths) {
61
- // Update prompts
62
- const promptsDir = path.join(dataPath, 'prompts');
63
- ensureDir(promptsDir);
64
- copyPromptsToDir(prompts, promptsDir, '.md');
65
-
66
- // Update templates
61
+ // Update templates only
67
62
  copyDirToAllStoragePaths(path.join(agentCoreDir, 'templates'), 'templates', [dataPath]);
68
63
  }
69
64
 
package/src/lib/paths.ts CHANGED
@@ -162,10 +162,14 @@ export function ensureDir(dirPath: string): void {
162
162
 
163
163
  /**
164
164
  * Get path for agent prompts based on tool
165
- * Now consolidated under .rrce-workflow/prompts/<tool>/
165
+ * IDE-specific locations so IDEs can auto-discover prompts
166
166
  */
167
167
  export function getAgentPromptPath(workspaceRoot: string, tool: 'copilot' | 'antigravity'): string {
168
- return path.join(workspaceRoot, '.rrce-workflow', 'prompts', tool);
168
+ if (tool === 'copilot') {
169
+ return path.join(workspaceRoot, '.github', 'agents');
170
+ } else {
171
+ return path.join(workspaceRoot, '.agent', 'workflows');
172
+ }
169
173
  }
170
174
 
171
175
  /**