@structured-vibe-coding/core 0.10.1 → 0.11.0

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.
Files changed (3) hide show
  1. package/README.md +6 -19
  2. package/dist/index.js +11 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # `@structured-vibe-coding/core`
2
2
 
3
- Core engine for **Structured Vibe Coding** — local-first Spec-Driven Development.
3
+ Core engine for **Structured Vibe Coding** — local Spec-Driven Development.
4
4
 
5
- Used by `@structured-vibe-coding/cli` (`sdd` command).
5
+ Used by `@structured-vibe-coding/cli` (`sdd`).
6
6
 
7
7
  ## Install
8
8
 
@@ -10,24 +10,11 @@ Used by `@structured-vibe-coding/cli` (`sdd` command).
10
10
  npm install @structured-vibe-coding/core
11
11
  ```
12
12
 
13
- ## Usage
14
-
15
- ```ts
16
- import { initProject, createChange, advanceStage, loadConfig } from "@structured-vibe-coding/core";
17
-
18
- const root = process.cwd();
19
- await initProject({ projectRoot: root });
20
- const config = await loadConfig(root);
21
- const change = await createChange({
22
- projectRoot: root,
23
- config,
24
- title: "Add feature X",
25
- workflowName: "feature",
26
- });
27
- await advanceStage(root, config, change.id);
28
- ```
13
+ ## Docs
29
14
 
30
- See the [docs hub](https://github.com/structured-vibe-coding/spec-driven-development/blob/main/docs/README.md) and [repository README](https://github.com/structured-vibe-coding/spec-driven-development) for workflows, customization, and CLI docs.
15
+ - [First change tutorial](https://github.com/harsha09/spec-driven-development/blob/main/docs/tutorials/first-change.md)
16
+ - [Docs site](https://harsha09.github.io/spec-driven-development/)
17
+ - [Repository](https://github.com/harsha09/spec-driven-development)
31
18
 
32
19
  ## License
33
20
 
package/dist/index.js CHANGED
@@ -106,7 +106,17 @@ function incompleteArtifactReason(path, content) {
106
106
  return `Missing required artifact: ${path}`;
107
107
  }
108
108
  if (!isSubstantiveArtifactContent(content)) {
109
- return `Required artifact still incomplete (looks like empty template/stub): ${path}. Fill it with real content, or skip this stage with \`sdd skip <stage> -r "\u2026"\` if optional.`;
109
+ return [
110
+ `Required artifact still incomplete (looks like empty template/stub): ${path}`,
111
+ ``,
112
+ `Open that file and replace the template with a few real sentences, for example:`,
113
+ ` - What is broken or missing?`,
114
+ ` - What will you change?`,
115
+ ` - How will you know it worked?`,
116
+ ``,
117
+ `Then run: sdd next`,
118
+ `Optional stages only: sdd skip <stage> -r "not needed"`
119
+ ].join("\n");
110
120
  }
111
121
  return null;
112
122
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@structured-vibe-coding/core",
3
- "version": "0.10.1",
3
+ "version": "0.11.0",
4
4
  "description": "Core engine for structured vibe coding (local-first Spec-Driven Development)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",