specsmd 0.1.63 → 0.1.64

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.
@@ -180,7 +180,6 @@ function mergeRunWorkItems(primaryItems, fallbackItems) {
180
180
  function scanWorkItems(intentPath, intentId, stateWorkItems, warnings) {
181
181
  const workItemsPath = path.join(intentPath, 'work-items');
182
182
  const fileWorkItemIds = listMarkdownFiles(workItemsPath)
183
- .filter((file) => !file.endsWith('-design.md'))
184
183
  .map((file) => file.replace(/\.md$/, ''));
185
184
 
186
185
  const stateWorkItemIds = (stateWorkItems || []).map((item) => item.id).filter(Boolean);
@@ -104,10 +104,11 @@ function collectFireRunFiles(run) {
104
104
  return [];
105
105
  }
106
106
 
107
- const names = ['run.md'];
108
- if (run.hasPlan) names.push('plan.md');
109
- if (run.hasTestReport) names.push('test-report.md');
110
- if (run.hasWalkthrough) names.push('walkthrough.md');
107
+ const names = listMarkdownFiles(run.folderPath).sort((a, b) => {
108
+ if (a === 'run.md') return -1;
109
+ if (b === 'run.md') return 1;
110
+ return a.localeCompare(b);
111
+ });
111
112
 
112
113
  return names.map((fileName) => ({
113
114
  label: `${run.id}/${fileName}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "specsmd",
3
- "version": "0.1.63",
3
+ "version": "0.1.64",
4
4
  "description": "Multi-agent orchestration system for AI-native software development. Delivers AI-DLC, Agile, and custom SDLC flows as markdown-based agent systems.",
5
5
  "main": "lib/installer.js",
6
6
  "bin": {