@structured-vibe-coding/core 0.17.2 → 0.18.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 (31) hide show
  1. package/defaults/prices.yaml +9 -0
  2. package/defaults/search.yaml +18 -0
  3. package/dist/{agents-RWYBLZQE.js → agents-AKSUXQHN.js} +18 -7
  4. package/dist/{change-context-W4HDO2IK.js → change-context-REE7UKU7.js} +2 -4
  5. package/dist/chunk-44LQ5BKZ.js +2628 -0
  6. package/dist/{chunk-KYWETNFU.js → chunk-4BRO7BOJ.js} +2 -4
  7. package/dist/chunk-4PIRWYRA.js +1125 -0
  8. package/dist/{chunk-7JLDL2OK.js → chunk-LHSR7JG2.js} +569 -39
  9. package/dist/{chunk-EPFURATC.js → chunk-O5SP6X5R.js} +89 -0
  10. package/dist/{chunk-74OGSVJZ.js → chunk-QGP43XCN.js} +2 -2
  11. package/dist/{chunk-A752UVPF.js → chunk-QHV5KZKX.js} +193 -28
  12. package/dist/{gather-BZDW4EN4.js → gather-ZNV2NAUN.js} +3 -4
  13. package/dist/{greenfield-Z425JOMP.js → greenfield-I5S5OS2D.js} +5 -6
  14. package/dist/index.d.ts +1034 -40
  15. package/dist/index.js +2927 -988
  16. package/dist/{sources-PF45EUH2.js → sources-3TXUPU6V.js} +2 -3
  17. package/package.json +11 -3
  18. package/vendor/tree-sitter/NOTICE +29 -0
  19. package/vendor/tree-sitter/tree-sitter-javascript.wasm +0 -0
  20. package/vendor/tree-sitter/tree-sitter-python.wasm +0 -0
  21. package/vendor/tree-sitter/tree-sitter-rust.wasm +0 -0
  22. package/vendor/tree-sitter/tree-sitter-tsx.wasm +0 -0
  23. package/vendor/tree-sitter/tree-sitter-typescript.wasm +0 -0
  24. package/dist/chunk-67AUAGNV.js +0 -150
  25. package/dist/chunk-7MJYPJMR.js +0 -51
  26. package/dist/chunk-P3N67UEZ.js +0 -538
  27. package/dist/chunk-R5WQN4HA.js +0 -139
  28. package/dist/chunk-WHDG6OTG.js +0 -46
  29. package/dist/config-X5VDBVR4.js +0 -16
  30. package/dist/fs-J6DIV6CX.js +0 -28
  31. package/dist/paths-64GA32IZ.js +0 -28
@@ -1,46 +0,0 @@
1
- import {
2
- ConfigSchema
3
- } from "./chunk-67AUAGNV.js";
4
- import {
5
- SddError
6
- } from "./chunk-MHODNFIL.js";
7
- import {
8
- configPath,
9
- sddRoot
10
- } from "./chunk-7MJYPJMR.js";
11
- import {
12
- ensureDir,
13
- pathExists,
14
- readYaml,
15
- writeYaml
16
- } from "./chunk-EPFURATC.js";
17
-
18
- // src/config.ts
19
- async function isInitialized(projectRoot) {
20
- return pathExists(configPath(projectRoot));
21
- }
22
- async function loadConfig(projectRoot) {
23
- const path = configPath(projectRoot);
24
- if (!await pathExists(path)) {
25
- throw new SddError(`SDD is not initialized in ${projectRoot}. Run \`sdd init\` first.`, {
26
- code: "NOT_INITIALIZED",
27
- hint: "cd into your app and run: sdd init --here --ai copilot"
28
- });
29
- }
30
- const raw = await readYaml(path);
31
- return ConfigSchema.parse(raw);
32
- }
33
- async function saveConfig(projectRoot, config) {
34
- await ensureDir(sddRoot(projectRoot));
35
- await writeYaml(configPath(projectRoot), ConfigSchema.parse(config));
36
- }
37
- function defaultConfig() {
38
- return ConfigSchema.parse({});
39
- }
40
-
41
- export {
42
- isInitialized,
43
- loadConfig,
44
- saveConfig,
45
- defaultConfig
46
- };
@@ -1,16 +0,0 @@
1
- import {
2
- defaultConfig,
3
- isInitialized,
4
- loadConfig,
5
- saveConfig
6
- } from "./chunk-WHDG6OTG.js";
7
- import "./chunk-67AUAGNV.js";
8
- import "./chunk-MHODNFIL.js";
9
- import "./chunk-7MJYPJMR.js";
10
- import "./chunk-EPFURATC.js";
11
- export {
12
- defaultConfig,
13
- isInitialized,
14
- loadConfig,
15
- saveConfig
16
- };
@@ -1,28 +0,0 @@
1
- import {
2
- copyDir,
3
- copyDirSkipExisting,
4
- ensureDir,
5
- listDirs,
6
- listFiles,
7
- pathExists,
8
- readText,
9
- readYaml,
10
- removePath,
11
- writeText,
12
- writeTextIfMissing,
13
- writeYaml
14
- } from "./chunk-EPFURATC.js";
15
- export {
16
- copyDir,
17
- copyDirSkipExisting,
18
- ensureDir,
19
- listDirs,
20
- listFiles,
21
- pathExists,
22
- readText,
23
- readYaml,
24
- removePath,
25
- writeText,
26
- writeTextIfMissing,
27
- writeYaml
28
- };
@@ -1,28 +0,0 @@
1
- import {
2
- SDD_DIR,
3
- activePointerPath,
4
- archiveDir,
5
- changeMetaPath,
6
- changePath,
7
- changesDir,
8
- configPath,
9
- domainsDir,
10
- memoryDir,
11
- sddRoot,
12
- templatesDir,
13
- workflowsDir
14
- } from "./chunk-7MJYPJMR.js";
15
- export {
16
- SDD_DIR,
17
- activePointerPath,
18
- archiveDir,
19
- changeMetaPath,
20
- changePath,
21
- changesDir,
22
- configPath,
23
- domainsDir,
24
- memoryDir,
25
- sddRoot,
26
- templatesDir,
27
- workflowsDir
28
- };