@contractspec/bundle.library 3.7.7 → 3.8.4
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 +150 -146
- package/CHANGELOG.md +130 -0
- package/dist/components/docs/examples/DocsExamplesPage.js +55 -2
- package/dist/components/docs/examples/ExampleShowcasePage.d.ts +5 -0
- package/dist/components/docs/examples/ExampleShowcasePage.js +258 -0
- package/dist/components/docs/examples/exampleShowcaseData.d.ts +10 -0
- package/dist/components/docs/examples/exampleShowcaseData.js +53 -0
- package/dist/components/docs/examples/index.d.ts +1 -0
- package/dist/components/docs/examples/index.js +261 -2
- package/dist/components/docs/generated/docs-index.generated.d.ts +6 -6
- package/dist/components/docs/index.js +4372 -4114
- package/dist/components/docs/libraries/LibrariesAiAgentPage.js +22 -22
- package/dist/components/docs/libraries/LibrariesSupportBotPage.js +1 -2
- package/dist/components/docs/libraries/index.js +23 -24
- package/dist/components/templates/engine/index.d.ts +1 -1
- package/dist/components/templates/engine/index.js +1 -1
- package/dist/index.js +5132 -4874
- package/dist/node/components/docs/examples/DocsExamplesPage.js +55 -2
- package/dist/node/components/docs/examples/ExampleShowcasePage.js +257 -0
- package/dist/node/components/docs/examples/exampleShowcaseData.js +52 -0
- package/dist/node/components/docs/examples/index.js +261 -2
- package/dist/node/components/docs/index.js +4372 -4114
- package/dist/node/components/docs/libraries/LibrariesAiAgentPage.js +22 -22
- package/dist/node/components/docs/libraries/LibrariesSupportBotPage.js +1 -2
- package/dist/node/components/docs/libraries/index.js +23 -24
- package/dist/node/components/templates/engine/index.js +1 -1
- package/dist/node/index.js +5132 -4874
- package/package.json +48 -23
- package/src/components/docs/examples/DocsExamplesPage.tsx +13 -2
- package/src/components/docs/examples/ExampleShowcasePage.tsx +122 -0
- package/src/components/docs/examples/exampleShowcaseData.ts +65 -0
- package/src/components/docs/examples/index.ts +1 -0
- package/src/components/docs/generated/docs-index._common.json +1 -1
- package/src/components/docs/generated/docs-index.ai-chat-assistant.json +8 -0
- package/src/components/docs/generated/docs-index.artisan-knowledge-product.json +18 -0
- package/src/components/docs/generated/docs-index.artisan-payments-stripe.json +34 -0
- package/src/components/docs/generated/docs-index.data-grid-showcase.json +18 -0
- package/src/components/docs/generated/docs-index.generated.ts +6 -6
- package/src/components/docs/generated/docs-index.harness-lab.json +10 -0
- package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +8 -0
- package/src/components/docs/generated/docs-index.manifest.json +50 -5
- package/src/components/docs/generated/docs-index.messaging-agent-actions.json +18 -0
- package/src/components/docs/generated/docs-index.mobile-demo-tasks.json +34 -0
- package/src/components/docs/generated/docs-index.opencode-cli.json +2 -2
- package/src/components/docs/generated/docs-index.platform-control-plane.json +250 -0
- package/src/components/docs/generated/docs-index.platform-harness.json +178 -0
- package/src/components/docs/generated/docs-index.platform-integrations.json +22 -14
- package/src/components/docs/generated/docs-index.visualization-showcase.json +18 -0
- package/src/components/docs/libraries/LibrariesAiAgentPage.tsx +20 -17
- package/src/components/docs/libraries/LibrariesSupportBotPage.tsx +1 -2
- package/src/components/templates/engine/index.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/bundle.library",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.8.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf dist",
|
|
@@ -300,6 +300,18 @@
|
|
|
300
300
|
"node": "./dist/node/components/docs/examples/DocsExamplesPage.js",
|
|
301
301
|
"default": "./dist/components/docs/examples/DocsExamplesPage.js"
|
|
302
302
|
},
|
|
303
|
+
"./components/docs/examples/exampleShowcaseData": {
|
|
304
|
+
"types": "./dist/components/docs/examples/exampleShowcaseData.d.ts",
|
|
305
|
+
"bun": "./dist/components/docs/examples/exampleShowcaseData.js",
|
|
306
|
+
"node": "./dist/node/components/docs/examples/exampleShowcaseData.js",
|
|
307
|
+
"default": "./dist/components/docs/examples/exampleShowcaseData.js"
|
|
308
|
+
},
|
|
309
|
+
"./components/docs/examples/ExampleShowcasePage": {
|
|
310
|
+
"types": "./dist/components/docs/examples/ExampleShowcasePage.d.ts",
|
|
311
|
+
"bun": "./dist/components/docs/examples/ExampleShowcasePage.js",
|
|
312
|
+
"node": "./dist/node/components/docs/examples/ExampleShowcasePage.js",
|
|
313
|
+
"default": "./dist/components/docs/examples/ExampleShowcasePage.js"
|
|
314
|
+
},
|
|
303
315
|
"./components/docs/generated": {
|
|
304
316
|
"types": "./dist/components/docs/generated/index.d.ts",
|
|
305
317
|
"bun": "./dist/components/docs/generated/index.js",
|
|
@@ -1814,23 +1826,23 @@
|
|
|
1814
1826
|
"dependencies": {
|
|
1815
1827
|
"@apollo/client": "^4.1.6",
|
|
1816
1828
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
1817
|
-
"@contractspec/lib.ai-providers": "3.7.
|
|
1818
|
-
"@contractspec/lib.contracts-spec": "
|
|
1819
|
-
"@contractspec/lib.contracts-library": "3.7.
|
|
1820
|
-
"@contractspec/lib.content-gen": "3.7.
|
|
1821
|
-
"@contractspec/lib.contracts-runtime-server-mcp": "3.7.
|
|
1822
|
-
"@contractspec/lib.design-system": "3.8.
|
|
1823
|
-
"@contractspec/lib.surface-runtime": "0.5.
|
|
1824
|
-
"@contractspec/lib.provider-ranking": "0.7.
|
|
1825
|
-
"@contractspec/lib.example-shared-ui": "6.0.
|
|
1826
|
-
"@contractspec/lib.knowledge": "3.7.
|
|
1827
|
-
"@contractspec/lib.logger": "3.7.
|
|
1828
|
-
"@contractspec/lib.runtime-sandbox": "2.7.
|
|
1829
|
-
"@contractspec/lib.schema": "3.7.
|
|
1830
|
-
"@contractspec/lib.ui-kit-web": "3.
|
|
1831
|
-
"@contractspec/lib.ui-link": "3.7.
|
|
1832
|
-
"@contractspec/module.context-storage": "0.7.
|
|
1833
|
-
"@contractspec/module.examples": "3.
|
|
1829
|
+
"@contractspec/lib.ai-providers": "3.7.9",
|
|
1830
|
+
"@contractspec/lib.contracts-spec": "5.0.0",
|
|
1831
|
+
"@contractspec/lib.contracts-library": "3.7.12",
|
|
1832
|
+
"@contractspec/lib.content-gen": "3.7.12",
|
|
1833
|
+
"@contractspec/lib.contracts-runtime-server-mcp": "3.7.12",
|
|
1834
|
+
"@contractspec/lib.design-system": "3.8.5",
|
|
1835
|
+
"@contractspec/lib.surface-runtime": "0.5.12",
|
|
1836
|
+
"@contractspec/lib.provider-ranking": "0.7.9",
|
|
1837
|
+
"@contractspec/lib.example-shared-ui": "6.0.12",
|
|
1838
|
+
"@contractspec/lib.knowledge": "3.7.12",
|
|
1839
|
+
"@contractspec/lib.logger": "3.7.9",
|
|
1840
|
+
"@contractspec/lib.runtime-sandbox": "2.7.10",
|
|
1841
|
+
"@contractspec/lib.schema": "3.7.10",
|
|
1842
|
+
"@contractspec/lib.ui-kit-web": "3.9.4",
|
|
1843
|
+
"@contractspec/lib.ui-link": "3.7.9",
|
|
1844
|
+
"@contractspec/module.context-storage": "0.7.12",
|
|
1845
|
+
"@contractspec/module.examples": "3.8.4",
|
|
1834
1846
|
"@dnd-kit/core": "^6.1.0",
|
|
1835
1847
|
"@dnd-kit/sortable": "^10.0.0",
|
|
1836
1848
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -1846,16 +1858,17 @@
|
|
|
1846
1858
|
"posthog-react-native": "^4.37.4",
|
|
1847
1859
|
"react-hook-form": "^7.71.2",
|
|
1848
1860
|
"zod": "^4.3.5",
|
|
1849
|
-
"@contractspec/lib.contracts-integrations": "3.
|
|
1850
|
-
"@contractspec/lib.contracts-runtime-server-rest": "3.7.
|
|
1851
|
-
"@contractspec/lib.contracts-runtime-server-graphql": "3.7.
|
|
1861
|
+
"@contractspec/lib.contracts-integrations": "3.8.4",
|
|
1862
|
+
"@contractspec/lib.contracts-runtime-server-rest": "3.7.12",
|
|
1863
|
+
"@contractspec/lib.contracts-runtime-server-graphql": "3.7.12",
|
|
1864
|
+
"@contractspec/lib.contracts-runtime-client-react": "3.8.0"
|
|
1852
1865
|
},
|
|
1853
1866
|
"devDependencies": {
|
|
1854
1867
|
"@types/react": "~19.2.14",
|
|
1855
|
-
"@contractspec/tool.typescript": "3.7.
|
|
1868
|
+
"@contractspec/tool.typescript": "3.7.9",
|
|
1856
1869
|
"typescript": "^5.9.3",
|
|
1857
1870
|
"@types/bun": "~1.3.11",
|
|
1858
|
-
"@contractspec/tool.bun": "3.7.
|
|
1871
|
+
"@contractspec/tool.bun": "3.7.9"
|
|
1859
1872
|
},
|
|
1860
1873
|
"repository": {
|
|
1861
1874
|
"type": "git",
|
|
@@ -2148,6 +2161,18 @@
|
|
|
2148
2161
|
"node": "./dist/node/components/docs/examples/DocsExamplesPage.js",
|
|
2149
2162
|
"default": "./dist/components/docs/examples/DocsExamplesPage.js"
|
|
2150
2163
|
},
|
|
2164
|
+
"./components/docs/examples/exampleShowcaseData": {
|
|
2165
|
+
"types": "./dist/components/docs/examples/exampleShowcaseData.d.ts",
|
|
2166
|
+
"bun": "./dist/components/docs/examples/exampleShowcaseData.js",
|
|
2167
|
+
"node": "./dist/node/components/docs/examples/exampleShowcaseData.js",
|
|
2168
|
+
"default": "./dist/components/docs/examples/exampleShowcaseData.js"
|
|
2169
|
+
},
|
|
2170
|
+
"./components/docs/examples/ExampleShowcasePage": {
|
|
2171
|
+
"types": "./dist/components/docs/examples/ExampleShowcasePage.d.ts",
|
|
2172
|
+
"bun": "./dist/components/docs/examples/ExampleShowcasePage.js",
|
|
2173
|
+
"node": "./dist/node/components/docs/examples/ExampleShowcasePage.js",
|
|
2174
|
+
"default": "./dist/components/docs/examples/ExampleShowcasePage.js"
|
|
2175
|
+
},
|
|
2151
2176
|
"./components/docs/generated": {
|
|
2152
2177
|
"types": "./dist/components/docs/generated/index.d.ts",
|
|
2153
2178
|
"bun": "./dist/components/docs/generated/index.js",
|
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
import { HStack, VStack } from '@contractspec/lib.ui-kit-web/ui/stack';
|
|
10
10
|
import { H1, Muted } from '@contractspec/lib.ui-kit-web/ui/typography';
|
|
11
11
|
import { listExamples } from '@contractspec/module.examples';
|
|
12
|
+
import { getExampleShowcaseData } from './exampleShowcaseData';
|
|
12
13
|
|
|
13
14
|
interface ExampleItem extends Record<string, unknown> {
|
|
14
15
|
id: string;
|
|
@@ -23,6 +24,12 @@ function buildReferenceRoute(key: string) {
|
|
|
23
24
|
return `/docs/reference/${key}/${key}`;
|
|
24
25
|
}
|
|
25
26
|
|
|
27
|
+
function buildDocsRoute(key: string) {
|
|
28
|
+
return getExampleShowcaseData(key)?.sandboxHref
|
|
29
|
+
? `/docs/examples/${key}`
|
|
30
|
+
: buildReferenceRoute(key);
|
|
31
|
+
}
|
|
32
|
+
|
|
26
33
|
export function DocsExamplesPage() {
|
|
27
34
|
const items: ExampleItem[] = listExamples()
|
|
28
35
|
.map((example) => {
|
|
@@ -31,7 +38,7 @@ export function DocsExamplesPage() {
|
|
|
31
38
|
id: example.meta.key,
|
|
32
39
|
title,
|
|
33
40
|
summary: example.meta.summary ?? example.meta.description,
|
|
34
|
-
route:
|
|
41
|
+
route: buildDocsRoute(example.meta.key),
|
|
35
42
|
tags: example.meta.tags,
|
|
36
43
|
sandboxEnabled: example.surfaces.sandbox.enabled,
|
|
37
44
|
};
|
|
@@ -65,7 +72,11 @@ export function DocsExamplesPage() {
|
|
|
65
72
|
return (
|
|
66
73
|
<HStack gap="xs" justify="end">
|
|
67
74
|
{example.sandboxEnabled ? (
|
|
68
|
-
<ButtonLink
|
|
75
|
+
<ButtonLink
|
|
76
|
+
href={`/sandbox?template=${example.id}`}
|
|
77
|
+
size="sm"
|
|
78
|
+
variant="outline"
|
|
79
|
+
>
|
|
69
80
|
Sandbox
|
|
70
81
|
</ButtonLink>
|
|
71
82
|
) : null}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ButtonLink, CodeBlock } from '@contractspec/lib.design-system';
|
|
2
|
+
import Link from '@contractspec/lib.ui-link';
|
|
3
|
+
import { getExample } from '@contractspec/module.examples';
|
|
4
|
+
import { FileCode2, Play, TerminalSquare } from 'lucide-react';
|
|
5
|
+
import { getExampleShowcaseData } from './exampleShowcaseData';
|
|
6
|
+
|
|
7
|
+
interface ExampleShowcasePageProps {
|
|
8
|
+
exampleKey: 'agent-console' | 'ai-chat-assistant' | 'messaging-agent-actions';
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export function ExampleShowcasePage({ exampleKey }: ExampleShowcasePageProps) {
|
|
12
|
+
const showcase = getExampleShowcaseData(exampleKey);
|
|
13
|
+
const example = getExample(exampleKey);
|
|
14
|
+
|
|
15
|
+
if (!showcase || !example) {
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const title = example.meta.title ?? example.meta.key;
|
|
20
|
+
const summary = example.meta.summary ?? example.meta.description ?? '';
|
|
21
|
+
const packageName = example.entrypoints.packageName;
|
|
22
|
+
|
|
23
|
+
return (
|
|
24
|
+
<div className="space-y-10">
|
|
25
|
+
<section className="space-y-5">
|
|
26
|
+
<p className="editorial-kicker">Meetup-ready example</p>
|
|
27
|
+
<h1 className="editorial-title max-w-5xl">{title}</h1>
|
|
28
|
+
<p className="editorial-subtitle">{showcase.lead}</p>
|
|
29
|
+
<p className="editorial-copy max-w-4xl">{summary}</p>
|
|
30
|
+
<div className="flex flex-wrap gap-3">
|
|
31
|
+
<ButtonLink href={showcase.sandboxHref}>Open sandbox</ButtonLink>
|
|
32
|
+
<ButtonLink href={showcase.referenceHref} variant="outline">
|
|
33
|
+
Generated reference
|
|
34
|
+
</ButtonLink>
|
|
35
|
+
</div>
|
|
36
|
+
</section>
|
|
37
|
+
|
|
38
|
+
<section className="grid gap-5 lg:grid-cols-3">
|
|
39
|
+
<article className="editorial-panel space-y-4">
|
|
40
|
+
<div className="flex items-center gap-3">
|
|
41
|
+
<div className="rounded-full border border-border/80 bg-background/85 p-2">
|
|
42
|
+
<Play size={18} />
|
|
43
|
+
</div>
|
|
44
|
+
<h2 className="font-semibold text-xl">Sandbox preview</h2>
|
|
45
|
+
</div>
|
|
46
|
+
<p className="editorial-copy text-sm">
|
|
47
|
+
Load the same public browser surface used for the prepared live
|
|
48
|
+
demo.
|
|
49
|
+
</p>
|
|
50
|
+
<ButtonLink href={showcase.sandboxHref} size="sm">
|
|
51
|
+
Open preview
|
|
52
|
+
</ButtonLink>
|
|
53
|
+
</article>
|
|
54
|
+
|
|
55
|
+
<article className="editorial-panel space-y-4">
|
|
56
|
+
<div className="flex items-center gap-3">
|
|
57
|
+
<div className="rounded-full border border-border/80 bg-background/85 p-2">
|
|
58
|
+
<FileCode2 size={18} />
|
|
59
|
+
</div>
|
|
60
|
+
<h2 className="font-semibold text-xl">Reference docs</h2>
|
|
61
|
+
</div>
|
|
62
|
+
<p className="editorial-copy text-sm">
|
|
63
|
+
Inspect the generated contract-facing material instead of relying on
|
|
64
|
+
marketing summaries.
|
|
65
|
+
</p>
|
|
66
|
+
<ButtonLink href={showcase.referenceHref} size="sm" variant="outline">
|
|
67
|
+
Open reference
|
|
68
|
+
</ButtonLink>
|
|
69
|
+
</article>
|
|
70
|
+
|
|
71
|
+
<article className="editorial-panel space-y-4">
|
|
72
|
+
<div className="flex items-center gap-3">
|
|
73
|
+
<div className="rounded-full border border-border/80 bg-background/85 p-2">
|
|
74
|
+
<TerminalSquare size={18} />
|
|
75
|
+
</div>
|
|
76
|
+
<h2 className="font-semibold text-xl">Package context</h2>
|
|
77
|
+
</div>
|
|
78
|
+
<p className="editorial-copy text-sm">
|
|
79
|
+
Use the agent-facing package page for fast repo orientation, then
|
|
80
|
+
jump to the source directory.
|
|
81
|
+
</p>
|
|
82
|
+
<p className="rounded-[18px] border border-border/70 bg-background/75 px-4 py-3 font-mono text-sm">
|
|
83
|
+
{packageName}
|
|
84
|
+
</p>
|
|
85
|
+
<div className="flex flex-wrap gap-2">
|
|
86
|
+
<ButtonLink href={showcase.llmsHref} size="sm" variant="outline">
|
|
87
|
+
LLMS page
|
|
88
|
+
</ButtonLink>
|
|
89
|
+
<ButtonLink href={showcase.repoHref} size="sm" variant="outline">
|
|
90
|
+
GitHub source
|
|
91
|
+
</ButtonLink>
|
|
92
|
+
</div>
|
|
93
|
+
</article>
|
|
94
|
+
</section>
|
|
95
|
+
|
|
96
|
+
<section className="editorial-panel space-y-5">
|
|
97
|
+
<div className="space-y-2">
|
|
98
|
+
<p className="editorial-kicker">Talk commands</p>
|
|
99
|
+
<h2 className="editorial-panel-title">
|
|
100
|
+
Exact local commands for the meetup lane
|
|
101
|
+
</h2>
|
|
102
|
+
<p className="editorial-copy text-sm">
|
|
103
|
+
Use the package build and test first, then launch the web shell and
|
|
104
|
+
open the prepared sandbox route.
|
|
105
|
+
</p>
|
|
106
|
+
</div>
|
|
107
|
+
<CodeBlock
|
|
108
|
+
language="bash"
|
|
109
|
+
filename={`${exampleKey}-meetup-runbook`}
|
|
110
|
+
code={showcase.localCommands}
|
|
111
|
+
/>
|
|
112
|
+
<p className="text-muted-foreground text-sm">
|
|
113
|
+
For the full fallback order and safe live-edit workflow, use{' '}
|
|
114
|
+
<Link href="https://github.com/lssm-tech/contractspec/blob/main/docs/meetup-agent-examples-runbook.md">
|
|
115
|
+
the meetup runbook
|
|
116
|
+
</Link>
|
|
117
|
+
.
|
|
118
|
+
</p>
|
|
119
|
+
</section>
|
|
120
|
+
</div>
|
|
121
|
+
);
|
|
122
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export interface ExampleShowcaseData {
|
|
2
|
+
key: 'agent-console' | 'ai-chat-assistant' | 'messaging-agent-actions';
|
|
3
|
+
lead: string;
|
|
4
|
+
sandboxHref: string;
|
|
5
|
+
referenceHref: string;
|
|
6
|
+
llmsHref: string;
|
|
7
|
+
repoHref: string;
|
|
8
|
+
localCommands: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const EXAMPLE_SHOWCASES: Record<string, ExampleShowcaseData> = {
|
|
12
|
+
'agent-console': {
|
|
13
|
+
key: 'agent-console',
|
|
14
|
+
lead: 'Primary meetup path for autonomous agents: typed tools, agent configs, run history, and execution logs in one regenerable surface.',
|
|
15
|
+
sandboxHref: '/sandbox?template=agent-console',
|
|
16
|
+
referenceHref: '/docs/reference/agent-console/agent-console',
|
|
17
|
+
llmsHref: '/llms/example.agent-console',
|
|
18
|
+
repoHref:
|
|
19
|
+
'https://github.com/lssm-tech/contractspec/tree/main/packages/examples/agent-console',
|
|
20
|
+
localCommands: `bun run --cwd packages/examples/agent-console build
|
|
21
|
+
bun run --cwd packages/examples/agent-console test
|
|
22
|
+
bun run --cwd packages/apps/web-landing dev
|
|
23
|
+
|
|
24
|
+
# Open in the browser
|
|
25
|
+
# http://localhost:3000/sandbox?template=agent-console`,
|
|
26
|
+
},
|
|
27
|
+
'ai-chat-assistant': {
|
|
28
|
+
key: 'ai-chat-assistant',
|
|
29
|
+
lead: 'Secondary meetup path for MCP-aware assistants: reasoning, sources, suggestions, and a minimal contract-backed search tool.',
|
|
30
|
+
sandboxHref: '/sandbox?template=ai-chat-assistant',
|
|
31
|
+
referenceHref: '/docs/reference/ai-chat-assistant/assistant.search',
|
|
32
|
+
llmsHref: '/llms/example.ai-chat-assistant',
|
|
33
|
+
repoHref:
|
|
34
|
+
'https://github.com/lssm-tech/contractspec/tree/main/packages/examples/ai-chat-assistant',
|
|
35
|
+
localCommands: `bun run --cwd packages/examples/ai-chat-assistant build
|
|
36
|
+
bun run --cwd packages/examples/ai-chat-assistant test
|
|
37
|
+
bun run --cwd packages/apps/web-landing dev
|
|
38
|
+
|
|
39
|
+
# Open in the browser
|
|
40
|
+
# http://localhost:3000/sandbox?template=ai-chat-assistant`,
|
|
41
|
+
},
|
|
42
|
+
'messaging-agent-actions': {
|
|
43
|
+
key: 'messaging-agent-actions',
|
|
44
|
+
lead: 'Live messaging lane for the meetup: inbound Slack, WhatsApp, or Telegram messages route through fixed intents, allowlisted actions, and deterministic confirmations.',
|
|
45
|
+
sandboxHref: '/sandbox?template=messaging-agent-actions',
|
|
46
|
+
referenceHref:
|
|
47
|
+
'/docs/reference/messaging-agent-actions/messaging.agentActions.process',
|
|
48
|
+
llmsHref: '/llms/example.messaging-agent-actions',
|
|
49
|
+
repoHref:
|
|
50
|
+
'https://github.com/lssm-tech/contractspec/tree/main/packages/examples/messaging-agent-actions',
|
|
51
|
+
localCommands: `bun run --cwd packages/examples/messaging-agent-actions build
|
|
52
|
+
bun run --cwd packages/examples/messaging-agent-actions test
|
|
53
|
+
bun run --cwd packages/examples/messaging-agent-actions proof
|
|
54
|
+
bun run --cwd packages/apps/web-landing dev
|
|
55
|
+
|
|
56
|
+
# Open in the browser
|
|
57
|
+
# http://localhost:3000/sandbox?template=messaging-agent-actions`,
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export function getExampleShowcaseData(
|
|
62
|
+
key: string
|
|
63
|
+
): ExampleShowcaseData | undefined {
|
|
64
|
+
return EXAMPLE_SHOWCASES[key];
|
|
65
|
+
}
|
|
@@ -1399,7 +1399,7 @@
|
|
|
1399
1399
|
{
|
|
1400
1400
|
"id": "docs.tech.presentation-runtime",
|
|
1401
1401
|
"title": "Presentation Runtime",
|
|
1402
|
-
"summary": "Cross-platform runtime for list pages and
|
|
1402
|
+
"summary": "Cross-platform runtime for list pages, presentation flows, and headless ContractSpec tables.",
|
|
1403
1403
|
"route": "/docs/tech/presentation-runtime",
|
|
1404
1404
|
"source": "docblock",
|
|
1405
1405
|
"contentPath": "docblocks/docs/tech/presentation-runtime.md",
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"id": "ai-chat-assistant/ai-chat-assistant",
|
|
4
|
+
"title": "ai-chat-assistant",
|
|
5
|
+
"summary": "Focused assistant example with chat UX and search-backed retrieval.\n- **Type**: feature\n- **Version**: 1.0.0\n- **Stability**: beta\n- **Owners**: @platform.core\n- **Tags**: ai, chat, assistant, example\n- **File**: `packages/examples/ai-chat-assistant/src/ai-chat-assistant.feature.ts`",
|
|
6
|
+
"route": "/docs/reference/ai-chat-assistant/ai-chat-assistant",
|
|
7
|
+
"source": "generated",
|
|
8
|
+
"contentPath": "ai-chat-assistant/ai-chat-assistant.md"
|
|
9
|
+
},
|
|
2
10
|
{
|
|
3
11
|
"id": "ai-chat-assistant/assistant.search",
|
|
4
12
|
"title": "assistant.search",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "artisan.knowledge.product/artisan.knowledge.product",
|
|
4
|
+
"title": "artisan.knowledge.product",
|
|
5
|
+
"summary": "Blueprint that surfaces canonical product knowledge to agents and workflows.\n- **Type**: app-config (app-config)\n- **Version**: 1.0.0\n- **Tags**: knowledge, product-canon\n- **File**: `packages/examples/knowledge-canon/src/blueprint.ts`",
|
|
6
|
+
"route": "/docs/reference/artisan.knowledge.product/artisan.knowledge.product",
|
|
7
|
+
"source": "generated",
|
|
8
|
+
"contentPath": "artisan.knowledge.product/artisan.knowledge.product.md"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "artisan.knowledge.product/knowledge-canon",
|
|
12
|
+
"title": "knowledge-canon",
|
|
13
|
+
"summary": "Curated product knowledge space with blueprint, tenant config, and FAQ workflow\n- **Type**: feature\n- **Version**: 1.0.0\n- **Stability**: experimental\n- **Owners**: @examples\n- **Tags**: knowledge, canon, faq",
|
|
14
|
+
"route": "/docs/reference/artisan.knowledge.product/knowledge-canon",
|
|
15
|
+
"source": "generated",
|
|
16
|
+
"contentPath": "artisan.knowledge.product/knowledge-canon.md"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "artisan.payments.stripe/artisan.payments.stripe",
|
|
4
|
+
"title": "artisan.payments.stripe",
|
|
5
|
+
"summary": "Blueprint enabling card payments for ArtisanOS merchants via the Stripe integration.\n- **Type**: app-config (app-config)\n- **Version**: 1.0.0\n- **Tags**: stripe, payments\n- **File**: `packages/examples/integration-stripe/src/blueprint.ts`",
|
|
6
|
+
"route": "/docs/reference/artisan.payments.stripe/artisan.payments.stripe",
|
|
7
|
+
"source": "generated",
|
|
8
|
+
"contentPath": "artisan.payments.stripe/artisan.payments.stripe.md"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "artisan.payments.stripe/integration-stripe",
|
|
12
|
+
"title": "integration-stripe",
|
|
13
|
+
"summary": "Stripe payments integration with blueprint, workflow, and tenant configuration\n- **Type**: feature\n- **Version**: 1.0.0\n- **Stability**: experimental\n- **Owners**: @integration-team\n- **Tags**: integration, stripe, payments",
|
|
14
|
+
"route": "/docs/reference/artisan.payments.stripe/integration-stripe",
|
|
15
|
+
"source": "generated",
|
|
16
|
+
"contentPath": "artisan.payments.stripe/integration-stripe.md"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "artisan.payments.stripe/integration-stripe.integration.psp",
|
|
20
|
+
"title": "integration-stripe.integration.psp",
|
|
21
|
+
"summary": "Integration contract for managed or BYOK Stripe card processing.\n- **Type**: integration (integration)\n- **Version**: 1.0.0\n- **Tags**: stripe, payments\n- **File**: `packages/examples/integration-stripe/src/integration.ts`",
|
|
22
|
+
"route": "/docs/reference/artisan.payments.stripe/integration-stripe.integration.psp",
|
|
23
|
+
"source": "generated",
|
|
24
|
+
"contentPath": "artisan.payments.stripe/integration-stripe.integration.psp.md"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "artisan.payments.stripe/integration-stripe.workflow.payment",
|
|
28
|
+
"title": "integration-stripe.workflow.payment",
|
|
29
|
+
"summary": "Charge a customer using the tenant Stripe connection and record settlement details.\n- **Type**: workflow (workflow)\n- **Version**: 1.0.0\n- **Tags**: stripe\n- **File**: `packages/examples/integration-stripe/src/workflow.ts`",
|
|
30
|
+
"route": "/docs/reference/artisan.payments.stripe/integration-stripe.workflow.payment",
|
|
31
|
+
"source": "generated",
|
|
32
|
+
"contentPath": "artisan.payments.stripe/integration-stripe.workflow.payment.md"
|
|
33
|
+
}
|
|
34
|
+
]
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "data-grid-showcase/data-grid-showcase",
|
|
4
|
+
"title": "data-grid-showcase",
|
|
5
|
+
"summary": "Focused ContractSpec table example covering client mode, server mode, and DataView adapter paths.\n- **Type**: feature\n- **Version**: 1.0.0\n- **Stability**: experimental\n- **Owners**: @platform.core\n- **Tags**: table, data-grid, ui, tanstack",
|
|
6
|
+
"route": "/docs/reference/data-grid-showcase/data-grid-showcase",
|
|
7
|
+
"source": "generated",
|
|
8
|
+
"contentPath": "data-grid-showcase/data-grid-showcase.md"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "data-grid-showcase/examples.data-grid-showcase.rows.list",
|
|
12
|
+
"title": "examples.data-grid-showcase.rows.list",
|
|
13
|
+
"summary": "Lists the demo rows used by the data-grid showcase.\n- **Type**: operation (query)\n- **Version**: 1.0.0\n- **Stability**: experimental\n- **Owners**: @platform.core\n- **Tags**: examples, table, data-grid\n- **File**: `packages/examples/data-grid-showcase/src/contracts/data-grid-showcase.operation.ts`",
|
|
14
|
+
"route": "/docs/reference/data-grid-showcase/examples.data-grid-showcase.rows.list",
|
|
15
|
+
"source": "generated",
|
|
16
|
+
"contentPath": "data-grid-showcase/examples.data-grid-showcase.rows.list.md"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export type DocsIndexSource = 'generated' | 'docblock';
|
|
2
2
|
|
|
3
|
-
export
|
|
3
|
+
export type DocsIndexEntry = {
|
|
4
4
|
id: string;
|
|
5
5
|
title: string;
|
|
6
6
|
summary?: string;
|
|
@@ -12,20 +12,20 @@ export interface DocsIndexEntry {
|
|
|
12
12
|
visibility?: string;
|
|
13
13
|
version?: string;
|
|
14
14
|
owners?: string[];
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
|
|
17
|
-
export
|
|
17
|
+
export type DocsIndexChunk = {
|
|
18
18
|
key: string;
|
|
19
19
|
file: string;
|
|
20
20
|
total: number;
|
|
21
|
-
}
|
|
21
|
+
};
|
|
22
22
|
|
|
23
|
-
export
|
|
23
|
+
export type DocsIndexManifest = {
|
|
24
24
|
generatedAt: string;
|
|
25
25
|
total: number;
|
|
26
26
|
version: string | null;
|
|
27
27
|
contentRoot: string | null;
|
|
28
28
|
chunks: DocsIndexChunk[];
|
|
29
|
-
}
|
|
29
|
+
};
|
|
30
30
|
|
|
31
31
|
export const DOCS_INDEX_MANIFEST = 'docs-index.manifest.json';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "harness-lab/harness-lab",
|
|
4
|
+
"title": "harness-lab",
|
|
5
|
+
"summary": "Focused harness example for deterministic sandbox and browser evaluation flows.\n- **Type**: feature\n- **Version**: 1.0.0\n- **Stability**: experimental\n- **Owners**: @examples\n- **Tags**: harness, runtime, evaluation",
|
|
6
|
+
"route": "/docs/reference/harness-lab/harness-lab",
|
|
7
|
+
"source": "generated",
|
|
8
|
+
"contentPath": "harness-lab/harness-lab.md"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
@@ -46,5 +46,13 @@
|
|
|
46
46
|
"route": "/docs/reference/locale-jurisdiction-gate/locale-jurisdiction-gate",
|
|
47
47
|
"source": "generated",
|
|
48
48
|
"contentPath": "locale-jurisdiction-gate/locale-jurisdiction-gate.md"
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "locale-jurisdiction-gate/locale-jurisdiction-gate.policy.gate",
|
|
52
|
+
"title": "locale-jurisdiction-gate.policy.gate",
|
|
53
|
+
"summary": "Requires explicit locale, jurisdiction, knowledge snapshot, and allowed scope before assistant requests may proceed.\n- **Type**: policy (policy)\n- **Version**: 1.0.0\n- **Tags**: assistant, policy, jurisdiction",
|
|
54
|
+
"route": "/docs/reference/locale-jurisdiction-gate/locale-jurisdiction-gate.policy.gate",
|
|
55
|
+
"source": "generated",
|
|
56
|
+
"contentPath": "locale-jurisdiction-gate/locale-jurisdiction-gate.policy.gate.md"
|
|
49
57
|
}
|
|
50
58
|
]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generatedAt": "2026-03-
|
|
3
|
-
"total":
|
|
2
|
+
"generatedAt": "2026-03-21T22:41:08.515Z",
|
|
3
|
+
"total": 1068,
|
|
4
4
|
"version": null,
|
|
5
5
|
"contentRoot": "../../../../../../../generated/docs",
|
|
6
6
|
"chunks": [
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
{
|
|
23
23
|
"key": "ai-chat-assistant",
|
|
24
24
|
"file": "docs-index.ai-chat-assistant.json",
|
|
25
|
-
"total":
|
|
25
|
+
"total": 2
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"key": "ai-support-bot",
|
|
@@ -39,6 +39,16 @@
|
|
|
39
39
|
"file": "docs-index.app-config.json",
|
|
40
40
|
"total": 17
|
|
41
41
|
},
|
|
42
|
+
{
|
|
43
|
+
"key": "artisan.knowledge.product",
|
|
44
|
+
"file": "docs-index.artisan-knowledge-product.json",
|
|
45
|
+
"total": 2
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"key": "artisan.payments.stripe",
|
|
49
|
+
"file": "docs-index.artisan-payments-stripe.json",
|
|
50
|
+
"total": 4
|
|
51
|
+
},
|
|
42
52
|
{
|
|
43
53
|
"key": "audit-trail",
|
|
44
54
|
"file": "docs-index.audit-trail.json",
|
|
@@ -59,6 +69,11 @@
|
|
|
59
69
|
"file": "docs-index.crm-pipeline.json",
|
|
60
70
|
"total": 20
|
|
61
71
|
},
|
|
72
|
+
{
|
|
73
|
+
"key": "data-grid-showcase",
|
|
74
|
+
"file": "docs-index.data-grid-showcase.json",
|
|
75
|
+
"total": 2
|
|
76
|
+
},
|
|
62
77
|
{
|
|
63
78
|
"key": "email-gmail",
|
|
64
79
|
"file": "docs-index.email-gmail.json",
|
|
@@ -74,6 +89,11 @@
|
|
|
74
89
|
"file": "docs-index.files.json",
|
|
75
90
|
"total": 22
|
|
76
91
|
},
|
|
92
|
+
{
|
|
93
|
+
"key": "harness-lab",
|
|
94
|
+
"file": "docs-index.harness-lab.json",
|
|
95
|
+
"total": 1
|
|
96
|
+
},
|
|
77
97
|
{
|
|
78
98
|
"key": "health",
|
|
79
99
|
"file": "docs-index.health.json",
|
|
@@ -202,7 +222,7 @@
|
|
|
202
222
|
{
|
|
203
223
|
"key": "locale-jurisdiction-gate",
|
|
204
224
|
"file": "docs-index.locale-jurisdiction-gate.json",
|
|
205
|
-
"total":
|
|
225
|
+
"total": 7
|
|
206
226
|
},
|
|
207
227
|
{
|
|
208
228
|
"key": "marketplace",
|
|
@@ -219,6 +239,11 @@
|
|
|
219
239
|
"file": "docs-index.meeting-recorder-providers.json",
|
|
220
240
|
"total": 1
|
|
221
241
|
},
|
|
242
|
+
{
|
|
243
|
+
"key": "messaging-agent-actions",
|
|
244
|
+
"file": "docs-index.messaging-agent-actions.json",
|
|
245
|
+
"total": 2
|
|
246
|
+
},
|
|
222
247
|
{
|
|
223
248
|
"key": "metrics",
|
|
224
249
|
"file": "docs-index.metrics.json",
|
|
@@ -229,6 +254,11 @@
|
|
|
229
254
|
"file": "docs-index.minimal.json",
|
|
230
255
|
"total": 2
|
|
231
256
|
},
|
|
257
|
+
{
|
|
258
|
+
"key": "mobile-demo.tasks",
|
|
259
|
+
"file": "docs-index.mobile-demo-tasks.json",
|
|
260
|
+
"total": 4
|
|
261
|
+
},
|
|
232
262
|
{
|
|
233
263
|
"key": "notifications",
|
|
234
264
|
"file": "docs-index.notifications.json",
|
|
@@ -269,6 +299,11 @@
|
|
|
269
299
|
"file": "docs-index.platform-context.json",
|
|
270
300
|
"total": 7
|
|
271
301
|
},
|
|
302
|
+
{
|
|
303
|
+
"key": "platform.control-plane",
|
|
304
|
+
"file": "docs-index.platform-control-plane.json",
|
|
305
|
+
"total": 31
|
|
306
|
+
},
|
|
272
307
|
{
|
|
273
308
|
"key": "platform.database",
|
|
274
309
|
"file": "docs-index.platform-database.json",
|
|
@@ -279,10 +314,15 @@
|
|
|
279
314
|
"file": "docs-index.platform-docs.json",
|
|
280
315
|
"total": 11
|
|
281
316
|
},
|
|
317
|
+
{
|
|
318
|
+
"key": "platform.harness",
|
|
319
|
+
"file": "docs-index.platform-harness.json",
|
|
320
|
+
"total": 22
|
|
321
|
+
},
|
|
282
322
|
{
|
|
283
323
|
"key": "platform.integrations",
|
|
284
324
|
"file": "docs-index.platform-integrations.json",
|
|
285
|
-
"total":
|
|
325
|
+
"total": 41
|
|
286
326
|
},
|
|
287
327
|
{
|
|
288
328
|
"key": "platform.knowledge",
|
|
@@ -354,6 +394,11 @@
|
|
|
354
394
|
"file": "docs-index.video-marketing-clip.json",
|
|
355
395
|
"total": 1
|
|
356
396
|
},
|
|
397
|
+
{
|
|
398
|
+
"key": "visualization-showcase",
|
|
399
|
+
"file": "docs-index.visualization-showcase.json",
|
|
400
|
+
"total": 2
|
|
401
|
+
},
|
|
357
402
|
{
|
|
358
403
|
"key": "voice-providers",
|
|
359
404
|
"file": "docs-index.voice-providers.json",
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "messaging-agent-actions/messaging-agent-actions",
|
|
4
|
+
"title": "messaging-agent-actions",
|
|
5
|
+
"summary": "Safe messaging automation with fixed intents, allowlisted actions, and workflow dispatch.\n- **Type**: feature\n- **Version**: 1.0.0\n- **Stability**: beta\n- **Owners**: @platform.messaging\n- **Tags**: messaging, agents, actions, workflow",
|
|
6
|
+
"route": "/docs/reference/messaging-agent-actions/messaging-agent-actions",
|
|
7
|
+
"source": "generated",
|
|
8
|
+
"contentPath": "messaging-agent-actions/messaging-agent-actions.md"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "messaging-agent-actions/messaging.agentActions.process",
|
|
12
|
+
"title": "messaging.agentActions.process",
|
|
13
|
+
"summary": "Classify an inbound message into a fixed allowlisted action or workflow path and return a safe confirmation reply.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: beta\n- **Owners**: @platform.messaging",
|
|
14
|
+
"route": "/docs/reference/messaging-agent-actions/messaging.agentActions.process",
|
|
15
|
+
"source": "generated",
|
|
16
|
+
"contentPath": "messaging-agent-actions/messaging.agentActions.process.md"
|
|
17
|
+
}
|
|
18
|
+
]
|