@contractspec/bundle.library 3.8.5 → 3.8.8
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/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +81 -0
- package/package.json +30 -30
- package/src/components/docs/generated/loader.ts +13 -8
package/.turbo/turbo-build.log
CHANGED
|
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
|
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
5
|
[contractspec-bun-build] transpile target=bun root=src entries=307 noBundle=false
|
|
6
|
-
Bundled 307 modules in
|
|
6
|
+
Bundled 307 modules in 178ms
|
|
7
7
|
|
|
8
8
|
application/context-storage/index.js 1.0 KB (entry point)
|
|
9
9
|
presentation/features/templates/types.js 8 bytes (entry point)
|
|
@@ -314,7 +314,7 @@ Bundled 307 modules in 59ms
|
|
|
314
314
|
application/mcp/contractsMcpTypes.js 8 bytes (entry point)
|
|
315
315
|
|
|
316
316
|
[contractspec-bun-build] transpile target=node root=src entries=307 noBundle=false
|
|
317
|
-
Bundled 307 modules in
|
|
317
|
+
Bundled 307 modules in 129ms
|
|
318
318
|
|
|
319
319
|
application/context-storage/index.js 0.99 KB (entry point)
|
|
320
320
|
presentation/features/templates/types.js 0 KB (entry point)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,86 @@
|
|
|
1
1
|
# @contractspec/bundle.library
|
|
2
2
|
|
|
3
|
+
## 3.8.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- cce2b13: Add first-class Workflow DevKit support for `WorkflowSpec`, including new runtime metadata, stricter validation for Workflow-backed workflows, a dedicated Workflow DevKit integration package, CLI artifact generation, and Workflow-aware chat route helpers exposed from `@contractspec/module.ai-chat/core/workflow` so standard chat imports do not pull Workflow-only runtime assets into non-Workflow builds.
|
|
8
|
+
|
|
9
|
+
Also harden supporting runtime surfaces by reusing Playwright browser instances in the harness runtime, mapping design-system button `onPress` handlers correctly to DOM clicks, and switching the workspace git adapter to argument-safe subprocess calls while tightening slow test coverage around those flows.
|
|
10
|
+
|
|
11
|
+
- Updated dependencies [cce2b13]
|
|
12
|
+
- @contractspec/lib.contracts-runtime-server-graphql@3.7.15
|
|
13
|
+
- @contractspec/lib.contracts-runtime-client-react@3.8.3
|
|
14
|
+
- @contractspec/lib.contracts-runtime-server-rest@3.7.15
|
|
15
|
+
- @contractspec/lib.contracts-runtime-server-mcp@3.7.15
|
|
16
|
+
- @contractspec/lib.contracts-integrations@3.8.7
|
|
17
|
+
- @contractspec/module.context-storage@0.7.14
|
|
18
|
+
- @contractspec/lib.contracts-library@3.7.15
|
|
19
|
+
- @contractspec/lib.example-shared-ui@6.0.15
|
|
20
|
+
- @contractspec/lib.provider-ranking@0.7.11
|
|
21
|
+
- @contractspec/lib.runtime-sandbox@2.7.12
|
|
22
|
+
- @contractspec/lib.surface-runtime@0.5.15
|
|
23
|
+
- @contractspec/lib.contracts-spec@5.0.3
|
|
24
|
+
- @contractspec/lib.design-system@3.8.8
|
|
25
|
+
- @contractspec/lib.ai-providers@3.7.11
|
|
26
|
+
- @contractspec/lib.content-gen@3.7.15
|
|
27
|
+
- @contractspec/module.examples@3.8.7
|
|
28
|
+
- @contractspec/lib.ui-kit-web@3.9.7
|
|
29
|
+
- @contractspec/lib.knowledge@3.7.15
|
|
30
|
+
- @contractspec/lib.ui-link@3.7.11
|
|
31
|
+
- @contractspec/lib.logger@3.7.11
|
|
32
|
+
- @contractspec/lib.schema@3.7.12
|
|
33
|
+
|
|
34
|
+
## 3.8.7
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- chore: stability & release
|
|
39
|
+
- Updated dependencies
|
|
40
|
+
- Updated dependencies [dd6e074]
|
|
41
|
+
- @contractspec/lib.contracts-runtime-server-graphql@3.7.14
|
|
42
|
+
- @contractspec/lib.contracts-runtime-client-react@3.8.2
|
|
43
|
+
- @contractspec/lib.contracts-runtime-server-rest@3.7.14
|
|
44
|
+
- @contractspec/lib.contracts-runtime-server-mcp@3.7.14
|
|
45
|
+
- @contractspec/lib.contracts-integrations@3.8.6
|
|
46
|
+
- @contractspec/module.context-storage@0.7.13
|
|
47
|
+
- @contractspec/lib.contracts-library@3.7.14
|
|
48
|
+
- @contractspec/lib.example-shared-ui@6.0.14
|
|
49
|
+
- @contractspec/lib.provider-ranking@0.7.10
|
|
50
|
+
- @contractspec/lib.runtime-sandbox@2.7.11
|
|
51
|
+
- @contractspec/lib.surface-runtime@0.5.14
|
|
52
|
+
- @contractspec/lib.contracts-spec@5.0.2
|
|
53
|
+
- @contractspec/lib.design-system@3.8.7
|
|
54
|
+
- @contractspec/lib.ai-providers@3.7.10
|
|
55
|
+
- @contractspec/lib.content-gen@3.7.14
|
|
56
|
+
- @contractspec/module.examples@3.8.6
|
|
57
|
+
- @contractspec/lib.ui-kit-web@3.9.6
|
|
58
|
+
- @contractspec/lib.knowledge@3.7.14
|
|
59
|
+
- @contractspec/lib.ui-link@3.7.10
|
|
60
|
+
- @contractspec/lib.logger@3.7.10
|
|
61
|
+
- @contractspec/lib.schema@3.7.11
|
|
62
|
+
|
|
63
|
+
## 3.8.6
|
|
64
|
+
|
|
65
|
+
### Patch Changes
|
|
66
|
+
|
|
67
|
+
- Updated dependencies [dd6e074]
|
|
68
|
+
- @contractspec/lib.contracts-spec@5.0.1
|
|
69
|
+
- @contractspec/lib.content-gen@3.7.13
|
|
70
|
+
- @contractspec/lib.contracts-integrations@3.8.5
|
|
71
|
+
- @contractspec/lib.contracts-library@3.7.13
|
|
72
|
+
- @contractspec/lib.contracts-runtime-client-react@3.8.1
|
|
73
|
+
- @contractspec/lib.contracts-runtime-server-graphql@3.7.13
|
|
74
|
+
- @contractspec/lib.contracts-runtime-server-mcp@3.7.13
|
|
75
|
+
- @contractspec/lib.contracts-runtime-server-rest@3.7.13
|
|
76
|
+
- @contractspec/lib.design-system@3.8.6
|
|
77
|
+
- @contractspec/lib.example-shared-ui@6.0.13
|
|
78
|
+
- @contractspec/lib.knowledge@3.7.13
|
|
79
|
+
- @contractspec/lib.surface-runtime@0.5.13
|
|
80
|
+
- @contractspec/lib.ui-kit-web@3.9.5
|
|
81
|
+
- @contractspec/module.examples@3.8.5
|
|
82
|
+
- @contractspec/module.context-storage@0.7.13
|
|
83
|
+
|
|
3
84
|
## 3.8.5
|
|
4
85
|
|
|
5
86
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/bundle.library",
|
|
3
|
-
"version": "3.8.
|
|
3
|
+
"version": "3.8.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf dist",
|
|
@@ -1867,50 +1867,50 @@
|
|
|
1867
1867
|
},
|
|
1868
1868
|
"dependencies": {
|
|
1869
1869
|
"@apollo/client": "^4.1.6",
|
|
1870
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
1871
|
-
"@contractspec/lib.ai-providers": "3.7.
|
|
1872
|
-
"@contractspec/lib.contracts-spec": "5.0.
|
|
1873
|
-
"@contractspec/lib.contracts-library": "3.7.
|
|
1874
|
-
"@contractspec/lib.content-gen": "3.7.
|
|
1875
|
-
"@contractspec/lib.contracts-runtime-server-mcp": "3.7.
|
|
1876
|
-
"@contractspec/lib.design-system": "3.8.
|
|
1877
|
-
"@contractspec/lib.surface-runtime": "0.5.
|
|
1878
|
-
"@contractspec/lib.provider-ranking": "0.7.
|
|
1879
|
-
"@contractspec/lib.example-shared-ui": "6.0.
|
|
1880
|
-
"@contractspec/lib.knowledge": "3.7.
|
|
1881
|
-
"@contractspec/lib.logger": "3.7.
|
|
1882
|
-
"@contractspec/lib.runtime-sandbox": "2.7.
|
|
1883
|
-
"@contractspec/lib.schema": "3.7.
|
|
1884
|
-
"@contractspec/lib.ui-kit-web": "3.9.
|
|
1885
|
-
"@contractspec/lib.ui-link": "3.7.
|
|
1886
|
-
"@contractspec/module.context-storage": "0.7.
|
|
1887
|
-
"@contractspec/module.examples": "3.8.
|
|
1870
|
+
"@modelcontextprotocol/sdk": "^1.28.0",
|
|
1871
|
+
"@contractspec/lib.ai-providers": "3.7.11",
|
|
1872
|
+
"@contractspec/lib.contracts-spec": "5.0.3",
|
|
1873
|
+
"@contractspec/lib.contracts-library": "3.7.15",
|
|
1874
|
+
"@contractspec/lib.content-gen": "3.7.15",
|
|
1875
|
+
"@contractspec/lib.contracts-runtime-server-mcp": "3.7.15",
|
|
1876
|
+
"@contractspec/lib.design-system": "3.8.8",
|
|
1877
|
+
"@contractspec/lib.surface-runtime": "0.5.15",
|
|
1878
|
+
"@contractspec/lib.provider-ranking": "0.7.11",
|
|
1879
|
+
"@contractspec/lib.example-shared-ui": "6.0.15",
|
|
1880
|
+
"@contractspec/lib.knowledge": "3.7.15",
|
|
1881
|
+
"@contractspec/lib.logger": "3.7.11",
|
|
1882
|
+
"@contractspec/lib.runtime-sandbox": "2.7.12",
|
|
1883
|
+
"@contractspec/lib.schema": "3.7.12",
|
|
1884
|
+
"@contractspec/lib.ui-kit-web": "3.9.7",
|
|
1885
|
+
"@contractspec/lib.ui-link": "3.7.11",
|
|
1886
|
+
"@contractspec/module.context-storage": "0.7.14",
|
|
1887
|
+
"@contractspec/module.examples": "3.8.7",
|
|
1888
1888
|
"@dnd-kit/core": "^6.1.0",
|
|
1889
1889
|
"@dnd-kit/sortable": "^10.0.0",
|
|
1890
1890
|
"@dnd-kit/utilities": "^3.2.2",
|
|
1891
|
-
"@electric-sql/pglite": "^0.4.
|
|
1891
|
+
"@electric-sql/pglite": "^0.4.2",
|
|
1892
1892
|
"@scaleway/sdk": "^3.4.1",
|
|
1893
1893
|
"@scaleway/sdk-client": "^2.2.1",
|
|
1894
1894
|
"drizzle-orm": "^0.45.1",
|
|
1895
1895
|
"elysia": "^1.4.28",
|
|
1896
1896
|
"framer-motion": "^12.38.0",
|
|
1897
|
-
"lucide-react": "^
|
|
1898
|
-
"posthog-js": "^1.
|
|
1897
|
+
"lucide-react": "^1.6.0",
|
|
1898
|
+
"posthog-js": "^1.363.5",
|
|
1899
1899
|
"posthog-node": "^5.28.4",
|
|
1900
|
-
"posthog-react-native": "^4.37.
|
|
1901
|
-
"react-hook-form": "^7.
|
|
1900
|
+
"posthog-react-native": "^4.37.6",
|
|
1901
|
+
"react-hook-form": "^7.72.0",
|
|
1902
1902
|
"zod": "^4.3.5",
|
|
1903
|
-
"@contractspec/lib.contracts-integrations": "3.8.
|
|
1904
|
-
"@contractspec/lib.contracts-runtime-server-rest": "3.7.
|
|
1905
|
-
"@contractspec/lib.contracts-runtime-server-graphql": "3.7.
|
|
1906
|
-
"@contractspec/lib.contracts-runtime-client-react": "3.8.
|
|
1903
|
+
"@contractspec/lib.contracts-integrations": "3.8.7",
|
|
1904
|
+
"@contractspec/lib.contracts-runtime-server-rest": "3.7.15",
|
|
1905
|
+
"@contractspec/lib.contracts-runtime-server-graphql": "3.7.15",
|
|
1906
|
+
"@contractspec/lib.contracts-runtime-client-react": "3.8.3"
|
|
1907
1907
|
},
|
|
1908
1908
|
"devDependencies": {
|
|
1909
1909
|
"@types/react": "~19.2.14",
|
|
1910
|
-
"@contractspec/tool.typescript": "3.7.
|
|
1910
|
+
"@contractspec/tool.typescript": "3.7.11",
|
|
1911
1911
|
"typescript": "^5.9.3",
|
|
1912
1912
|
"@types/bun": "~1.3.11",
|
|
1913
|
-
"@contractspec/tool.bun": "3.7.
|
|
1913
|
+
"@contractspec/tool.bun": "3.7.11"
|
|
1914
1914
|
},
|
|
1915
1915
|
"repository": {
|
|
1916
1916
|
"type": "git",
|
|
@@ -20,25 +20,27 @@ function chunkKeyForId(id: string): string {
|
|
|
20
20
|
|
|
21
21
|
async function loadManifest(): Promise<DocsIndexManifest> {
|
|
22
22
|
if (!manifestPromise) {
|
|
23
|
-
manifestPromise = readFile(
|
|
24
|
-
(
|
|
25
|
-
|
|
23
|
+
manifestPromise = readFile(
|
|
24
|
+
join(baseDir, /* turbopackIgnore: true */ DOCS_INDEX_MANIFEST),
|
|
25
|
+
'utf8'
|
|
26
|
+
).then((content) => JSON.parse(content) as DocsIndexManifest);
|
|
26
27
|
}
|
|
27
28
|
return manifestPromise;
|
|
28
29
|
}
|
|
29
30
|
|
|
30
31
|
function resolveContentRoot(manifest: DocsIndexManifest): string {
|
|
31
32
|
const root = manifest.contentRoot ?? '.';
|
|
32
|
-
return join(baseDir, root);
|
|
33
|
+
return join(baseDir, /* turbopackIgnore: true */ root);
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
async function loadChunk(fileName: string): Promise<DocsIndexEntry[]> {
|
|
36
37
|
const cached = chunkCache.get(fileName);
|
|
37
38
|
if (cached) return cached;
|
|
38
39
|
|
|
39
|
-
const load = readFile(
|
|
40
|
-
(
|
|
41
|
-
|
|
40
|
+
const load = readFile(
|
|
41
|
+
join(baseDir, /* turbopackIgnore: true */ fileName),
|
|
42
|
+
'utf8'
|
|
43
|
+
).then((content) => JSON.parse(content) as DocsIndexEntry[]);
|
|
42
44
|
chunkCache.set(fileName, load);
|
|
43
45
|
return load;
|
|
44
46
|
}
|
|
@@ -74,7 +76,10 @@ export async function getGeneratedDocById(id: string): Promise<{
|
|
|
74
76
|
const entry = entries.find((doc) => doc.id === id);
|
|
75
77
|
if (!entry || !entry.contentPath) return null;
|
|
76
78
|
|
|
77
|
-
const contentPath = join(
|
|
79
|
+
const contentPath = join(
|
|
80
|
+
resolveContentRoot(manifest),
|
|
81
|
+
/* turbopackIgnore: true */ entry.contentPath
|
|
82
|
+
);
|
|
78
83
|
try {
|
|
79
84
|
const content = await readFile(contentPath, 'utf8');
|
|
80
85
|
return { entry, content };
|