@structured-vibe-coding/core 0.20.0 → 0.22.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@structured-vibe-coding/core",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "Core engine for sdd — Spec-Driven Development workflows, change packs, greenfield, and AI agent handoff (used by the sdd CLI)",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -1,26 +0,0 @@
1
- // src/errors.ts
2
- var SddError = class extends Error {
3
- code;
4
- hint;
5
- exitCode;
6
- constructor(message, options) {
7
- super(message, options?.cause !== void 0 ? { cause: options.cause } : void 0);
8
- this.name = "SddError";
9
- this.code = options?.code ?? "SDD_ERROR";
10
- this.hint = options?.hint;
11
- this.exitCode = options?.exitCode ?? 1;
12
- }
13
- };
14
- function isSddError(err) {
15
- return err instanceof SddError;
16
- }
17
- function errorMessage(err) {
18
- if (err instanceof Error) return err.message;
19
- return String(err);
20
- }
21
-
22
- export {
23
- SddError,
24
- isSddError,
25
- errorMessage
26
- };