scene-capability-engine 3.6.14 → 3.6.15

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/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [3.6.15] - 2026-03-06
11
+
12
+ ### Added
13
+ - Capability plan apply result now includes preview lines + skipped titles for UI feedback.
14
+
10
15
  ## [3.6.14] - 2026-03-06
11
16
 
12
17
  ### Added
package/README.md CHANGED
@@ -218,5 +218,5 @@ MIT. See [LICENSE](LICENSE).
218
218
 
219
219
  ---
220
220
 
221
- **Version**: 3.6.14
221
+ **Version**: 3.6.15
222
222
  **Last Updated**: 2026-03-05
package/README.zh.md CHANGED
@@ -218,5 +218,5 @@ MIT,见 [LICENSE](LICENSE)。
218
218
 
219
219
  ---
220
220
 
221
- **版本**:3.6.14
221
+ **版本**:3.6.15
222
222
  **最后更新**:2026-03-05
@@ -245,6 +245,7 @@ async function appendCapabilityPlanToSpecTasks(options, plan, fileSystem = fs) {
245
245
 
246
246
  const lines = [];
247
247
  const addedTasks = [];
248
+ const skippedTitles = [];
248
249
  let nextTaskId = registry.maxTaskId + 1;
249
250
  let duplicateCount = 0;
250
251
 
@@ -256,6 +257,7 @@ async function appendCapabilityPlanToSpecTasks(options, plan, fileSystem = fs) {
256
257
  const titleKey = title.toLowerCase();
257
258
  if (registry.existingTitles.has(titleKey)) {
258
259
  duplicateCount += 1;
260
+ skippedTitles.push(title);
259
261
  continue;
260
262
  }
261
263
  registry.existingTitles.add(titleKey);
@@ -276,8 +278,11 @@ async function appendCapabilityPlanToSpecTasks(options, plan, fileSystem = fs) {
276
278
  if (addedTasks.length === 0) {
277
279
  return {
278
280
  tasks_path: tasksPath,
281
+ section_title: sectionTitle,
279
282
  added_count: 0,
280
283
  skipped_duplicates: duplicateCount,
284
+ skipped_titles: skippedTitles,
285
+ preview_lines: [],
281
286
  skipped_reason: recommended.length === 0
282
287
  ? 'no recommended tasks'
283
288
  : 'all recommended tasks already exist in tasks.md',
@@ -300,8 +305,11 @@ async function appendCapabilityPlanToSpecTasks(options, plan, fileSystem = fs) {
300
305
 
301
306
  return {
302
307
  tasks_path: tasksPath,
308
+ section_title: sectionTitle,
303
309
  added_count: addedTasks.length,
304
310
  skipped_duplicates: duplicateCount,
311
+ skipped_titles: skippedTitles,
312
+ preview_lines: lines,
305
313
  first_task_id: addedTasks[0].task_id,
306
314
  last_task_id: addedTasks[addedTasks.length - 1].task_id,
307
315
  added_tasks: addedTasks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "scene-capability-engine",
3
- "version": "3.6.14",
3
+ "version": "3.6.15",
4
4
  "description": "SCE (Scene Capability Engine) - A CLI tool and npm package for spec-driven development with AI coding assistants.",
5
5
  "main": "index.js",
6
6
  "bin": {