@contractspec/bundle.library 3.9.5 → 3.9.7

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 (122) hide show
  1. package/.turbo/turbo-build.log +154 -150
  2. package/CHANGELOG.md +85 -0
  3. package/dist/components/docs/DocsIndexPage.js +2 -2
  4. package/dist/components/docs/docsManifest.js +1 -1
  5. package/dist/components/docs/guides/GuideContractDrivenFormsPage.content.d.ts +3 -0
  6. package/dist/components/docs/guides/GuideContractDrivenFormsPage.content.js +95 -0
  7. package/dist/components/docs/guides/GuideContractDrivenFormsPage.d.ts +1 -0
  8. package/dist/components/docs/guides/GuideContractDrivenFormsPage.js +95 -0
  9. package/dist/components/docs/guides/GuideSpecValidationTypingPage.js +1 -1
  10. package/dist/components/docs/guides/GuidesIndexPage.js +2 -2
  11. package/dist/components/docs/guides/guides.docblocks.js +3 -1
  12. package/dist/components/docs/guides/index.d.ts +1 -0
  13. package/dist/components/docs/guides/index.js +139 -44
  14. package/dist/components/docs/index.js +352 -257
  15. package/dist/index.js +363 -268
  16. package/dist/libs/posthog/client.js +1 -1
  17. package/dist/node/components/docs/DocsIndexPage.js +2 -2
  18. package/dist/node/components/docs/docsManifest.js +1 -1
  19. package/dist/node/components/docs/guides/GuideContractDrivenFormsPage.content.js +94 -0
  20. package/dist/node/components/docs/guides/GuideContractDrivenFormsPage.js +94 -0
  21. package/dist/node/components/docs/guides/GuideSpecValidationTypingPage.js +1 -1
  22. package/dist/node/components/docs/guides/GuidesIndexPage.js +2 -2
  23. package/dist/node/components/docs/guides/guides.docblocks.js +3 -1
  24. package/dist/node/components/docs/guides/index.js +139 -44
  25. package/dist/node/components/docs/index.js +352 -257
  26. package/dist/node/index.js +363 -268
  27. package/dist/node/libs/posthog/client.js +1 -1
  28. package/package.json +47 -23
  29. package/src/components/docs/docsManifest.ts +12 -0
  30. package/src/components/docs/generated/docs-index._common.json +2008 -1699
  31. package/src/components/docs/generated/docs-index.agent-console.json +377 -377
  32. package/src/components/docs/generated/docs-index.ai-chat-assistant.json +17 -17
  33. package/src/components/docs/generated/docs-index.ai-chat.json +105 -105
  34. package/src/components/docs/generated/docs-index.ai-support-bot.json +9 -9
  35. package/src/components/docs/generated/docs-index.analytics-dashboard.json +169 -169
  36. package/src/components/docs/generated/docs-index.app-config.json +137 -137
  37. package/src/components/docs/generated/docs-index.artisan-knowledge-product.json +17 -17
  38. package/src/components/docs/generated/docs-index.artisan-payments-stripe.json +33 -33
  39. package/src/components/docs/generated/docs-index.audit-trail.json +49 -49
  40. package/src/components/docs/generated/docs-index.calendar-google.json +9 -9
  41. package/src/components/docs/generated/docs-index.content-generation.json +9 -9
  42. package/src/components/docs/generated/docs-index.control-plane.json +17 -17
  43. package/src/components/docs/generated/docs-index.crm-pipeline.json +161 -161
  44. package/src/components/docs/generated/docs-index.data-grid-showcase.json +25 -25
  45. package/src/components/docs/generated/docs-index.defineExample.json +9 -9
  46. package/src/components/docs/generated/docs-index.email-gmail.json +9 -9
  47. package/src/components/docs/generated/docs-index.feature-flags.json +217 -217
  48. package/src/components/docs/generated/docs-index.files.json +177 -177
  49. package/src/components/docs/generated/docs-index.generated.ts +20 -20
  50. package/src/components/docs/generated/docs-index.harness-lab.json +9 -9
  51. package/src/components/docs/generated/docs-index.health.json +97 -97
  52. package/src/components/docs/generated/docs-index.identity-rbac.json +313 -313
  53. package/src/components/docs/generated/docs-index.in-app-docs.json +9 -9
  54. package/src/components/docs/generated/docs-index.integration-hub.json +265 -265
  55. package/src/components/docs/generated/docs-index.integration-posthog.json +9 -9
  56. package/src/components/docs/generated/docs-index.integration-stripe.json +9 -9
  57. package/src/components/docs/generated/docs-index.integration-supabase.json +9 -9
  58. package/src/components/docs/generated/docs-index.jobs.json +137 -137
  59. package/src/components/docs/generated/docs-index.kb-update-pipeline.json +129 -129
  60. package/src/components/docs/generated/docs-index.knowledge-canon.json +9 -9
  61. package/src/components/docs/generated/docs-index.learning-journey-ambient-coach.json +9 -9
  62. package/src/components/docs/generated/docs-index.learning-journey-crm-onboarding.json +49 -49
  63. package/src/components/docs/generated/docs-index.learning-journey-duo-drills.json +9 -9
  64. package/src/components/docs/generated/docs-index.learning-journey-platform-tour.json +49 -49
  65. package/src/components/docs/generated/docs-index.learning-journey-quest-challenges.json +9 -9
  66. package/src/components/docs/generated/docs-index.learning-journey-registry.json +33 -33
  67. package/src/components/docs/generated/docs-index.learning-journey-studio-onboarding.json +49 -49
  68. package/src/components/docs/generated/docs-index.learning-journey-ui-coaching.json +9 -9
  69. package/src/components/docs/generated/docs-index.learning-journey-ui-gamified.json +9 -9
  70. package/src/components/docs/generated/docs-index.learning-journey-ui-onboarding.json +9 -9
  71. package/src/components/docs/generated/docs-index.learning-journey-ui-shared.json +9 -9
  72. package/src/components/docs/generated/docs-index.learning-journey.json +241 -241
  73. package/src/components/docs/generated/docs-index.learning-patterns.json +9 -9
  74. package/src/components/docs/generated/docs-index.lifecycle-cli.json +9 -9
  75. package/src/components/docs/generated/docs-index.lifecycle-dashboard.json +9 -9
  76. package/src/components/docs/generated/docs-index.locale-jurisdiction-gate.json +65 -65
  77. package/src/components/docs/generated/docs-index.marketplace.json +337 -337
  78. package/src/components/docs/generated/docs-index.meeting-recorder-providers.json +9 -9
  79. package/src/components/docs/generated/docs-index.meeting-recorder.json +49 -49
  80. package/src/components/docs/generated/docs-index.messaging-agent-actions.json +17 -17
  81. package/src/components/docs/generated/docs-index.metrics.json +201 -201
  82. package/src/components/docs/generated/docs-index.minimal.json +17 -17
  83. package/src/components/docs/generated/docs-index.mobile-demo-landing.json +41 -41
  84. package/src/components/docs/generated/docs-index.notifications.json +65 -65
  85. package/src/components/docs/generated/docs-index.openbanking-powens.json +9 -9
  86. package/src/components/docs/generated/docs-index.openbanking.json +65 -65
  87. package/src/components/docs/generated/docs-index.opencode-cli.json +17 -17
  88. package/src/components/docs/generated/docs-index.personalization.json +9 -9
  89. package/src/components/docs/generated/docs-index.platform-acp.json +137 -137
  90. package/src/components/docs/generated/docs-index.platform-agent.json +201 -201
  91. package/src/components/docs/generated/docs-index.platform-context.json +121 -121
  92. package/src/components/docs/generated/docs-index.platform-control-plane.json +321 -321
  93. package/src/components/docs/generated/docs-index.platform-database.json +89 -89
  94. package/src/components/docs/generated/docs-index.platform-docs.json +161 -161
  95. package/src/components/docs/generated/docs-index.platform-harness.json +177 -177
  96. package/src/components/docs/generated/docs-index.platform-integrations.json +329 -329
  97. package/src/components/docs/generated/docs-index.platform-knowledge.json +57 -57
  98. package/src/components/docs/generated/docs-index.platform-provider-ranking.json +217 -217
  99. package/src/components/docs/generated/docs-index.pocket-family-office.json +129 -129
  100. package/src/components/docs/generated/docs-index.policy-safe-knowledge-assistant.json +9 -9
  101. package/src/components/docs/generated/docs-index.product-intent.json +9 -9
  102. package/src/components/docs/generated/docs-index.project-management-sync.json +9 -9
  103. package/src/components/docs/generated/docs-index.saas-boilerplate.json +209 -209
  104. package/src/components/docs/generated/docs-index.service-business-os.json +193 -193
  105. package/src/components/docs/generated/docs-index.team-hub.json +185 -185
  106. package/src/components/docs/generated/docs-index.unknown.json +521 -521
  107. package/src/components/docs/generated/docs-index.versioned-knowledge-base.json +81 -81
  108. package/src/components/docs/generated/docs-index.video-api-showcase.json +33 -33
  109. package/src/components/docs/generated/docs-index.video-docs-terminal.json +9 -9
  110. package/src/components/docs/generated/docs-index.video-marketing-clip.json +9 -9
  111. package/src/components/docs/generated/docs-index.visualization-showcase.json +17 -17
  112. package/src/components/docs/generated/docs-index.voice-providers.json +9 -9
  113. package/src/components/docs/generated/docs-index.wealth-snapshot.json +153 -153
  114. package/src/components/docs/generated/docs-index.workflow-system.json +433 -433
  115. package/src/components/docs/generated/docs-index.workspace-cli.json +9 -9
  116. package/src/components/docs/guides/GuideContractDrivenFormsPage.content.ts +98 -0
  117. package/src/components/docs/guides/GuideContractDrivenFormsPage.tsx +143 -0
  118. package/src/components/docs/guides/GuideSpecValidationTypingPage.tsx +2 -2
  119. package/src/components/docs/guides/GuidesIndexPage.tsx +7 -0
  120. package/src/components/docs/guides/guides.docblocks.ts +12 -0
  121. package/src/components/docs/guides/index.ts +1 -0
  122. package/src/libs/posthog/client.ts +11 -9
@@ -1,6 +1,6 @@
1
1
  // @bun
2
- var r=Object.defineProperty;var s=(t)=>t;function o(t,a){this[t]=s.bind(null,a)}var u=(t,a)=>{for(var n in a)r(t,n,{get:a[n],enumerable:!0,configurable:!0,set:o.bind(a,n)})};var f=(t,a)=>()=>(t&&(a=t(t=0)),a);import{CodeBlock as d}from"@contractspec/lib.design-system";import c from"@contractspec/lib.ui-link";import{ArrowRight as l,CheckCircle2 as m,GitBranch as p}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=[{title:"Adopt one endpoint in Next.js",description:"Start inside a live app with one operation, one generated surface, and one clearly bounded change.",href:"/docs/guides/nextjs-one-endpoint",time:"25 min"},{title:"Import an existing codebase",description:"Stabilize what already exists instead of treating adoption as a rewrite project.",href:"/docs/guides/import-existing-codebases",time:"20 min"},{title:"Validation and typing",description:"Keep runtime validation and TypeScript behavior aligned from the same source definitions.",href:"/docs/guides/spec-validation-and-typing",time:"20 min"},{title:"Generate docs and clients",description:"Publish stable docs, schemas, and client-facing artifacts from the contract layer.",href:"/docs/guides/generate-docs-clients-schemas",time:"20 min"},{title:"Docs pipeline",description:"Feed generated reference material into the docs site without confusing ownership.",href:"/docs/guides/docs-generation-pipeline",time:"20 min"},{title:"Build a first module bundle",description:"Define one bundle spec, resolve a surface plan, and render it through the React host layer.",href:"/docs/guides/first-module-bundle",time:"20 min"},{title:"Host the Builder workbench",description:"Wire a Builder workspace snapshot, common commands, runtime modes, and mobile review links into the reusable host.",href:"/docs/guides/host-builder-workbench",time:"20 min"},{title:"Use Connect in a repo",description:"Enable Connect, verify agent actions locally, and inspect the resulting review and replay artifacts.",href:"/docs/guides/connect-in-a-repo",time:"15 min"},{title:"Author release capsules",description:"Pair changesets with structured release capsules and generate the artifacts that changelog and upgrade flows consume.",href:"/docs/guides/release-capsules",time:"15 min"},{title:"CI diff gating",description:"Use deterministic checks to catch drift and risky changes before they ship.",href:"/docs/guides/ci-contract-diff-gating",time:"15 min"}];function w(){return i("div",{className:"space-y-10",children:[i("div",{className:"space-y-3",children:[e("p",{className:"editorial-kicker",children:"Build"}),e("h1",{className:"font-serif text-4xl tracking-[-0.04em] md:text-5xl",children:"Adoption guides for teams that want to keep their code."}),e("p",{className:"max-w-3xl text-lg text-muted-foreground leading-8",children:"These guides assume you are introducing ContractSpec into a real code base. Start with a narrow surface, verify the generated outputs, and expand only after the contract loop feels trustworthy."})]}),e("div",{className:"grid gap-4 md:grid-cols-2",children:h.map((t)=>i(c,{href:t.href,className:"editorial-panel",children:[i("div",{className:"flex items-start justify-between gap-4",children:[i("div",{children:[e("h2",{className:"font-semibold text-xl",children:t.title}),e("p",{className:"mt-2 text-muted-foreground text-sm leading-7",children:t.description})]}),e(l,{className:"mt-1 shrink-0",size:18})]}),i("div",{className:"mt-4 flex items-center gap-2 text-muted-foreground text-xs",children:[e(m,{size:14}),i("span",{children:["Target time: ",t.time]})]})]},t.href))}),i("div",{className:"editorial-panel space-y-4",children:[i("div",{className:"flex items-center gap-2 font-semibold text-[color:var(--rust)] text-sm uppercase tracking-[0.2em]",children:[e(p,{size:16}),"Working style"]}),i("ul",{className:"editorial-list",children:[i("li",{children:[e("span",{className:"editorial-list-marker"}),e("span",{children:"Run each guide in a branch or sandboxed workspace."})]}),i("li",{children:[e("span",{className:"editorial-list-marker"}),e("span",{children:"Prefer one bounded surface at a time: one endpoint, one workflow, one integration, one unsafe module."})]}),i("li",{children:[e("span",{className:"editorial-list-marker"}),e("span",{children:"Use the example and reference outputs to verify what changed, not just the narrative page."})]})]}),e(d,{language:"bash",filename:"guides-quickstart",code:`# list example systems
2
+ var r=Object.defineProperty;var s=(t)=>t;function o(t,a){this[t]=s.bind(null,a)}var u=(t,a)=>{for(var n in a)r(t,n,{get:a[n],enumerable:!0,configurable:!0,set:o.bind(a,n)})};var f=(t,a)=>()=>(t&&(a=t(t=0)),a);import{CodeBlock as d}from"@contractspec/lib.design-system";import c from"@contractspec/lib.ui-link";import{ArrowRight as l,CheckCircle2 as m,GitBranch as p}from"lucide-react";import{jsx as e,jsxs as i}from"react/jsx-runtime";var h=[{title:"Adopt one endpoint in Next.js",description:"Start inside a live app with one operation, one generated surface, and one clearly bounded change.",href:"/docs/guides/nextjs-one-endpoint",time:"25 min"},{title:"Import an existing codebase",description:"Stabilize what already exists instead of treating adoption as a rewrite project.",href:"/docs/guides/import-existing-codebases",time:"20 min"},{title:"Validation and typing",description:"Keep runtime validation and TypeScript behavior aligned from the same source definitions.",href:"/docs/guides/spec-validation-and-typing",time:"20 min"},{title:"Build a contract-driven form",description:"Use FormSpec to keep data shape, fields, layout, policy, and submit behavior aligned.",href:"/docs/guides/contract-driven-forms",time:"25 min"},{title:"Generate docs and clients",description:"Publish stable docs, schemas, and client-facing artifacts from the contract layer.",href:"/docs/guides/generate-docs-clients-schemas",time:"20 min"},{title:"Docs pipeline",description:"Feed generated reference material into the docs site without confusing ownership.",href:"/docs/guides/docs-generation-pipeline",time:"20 min"},{title:"Build a first module bundle",description:"Define one bundle spec, resolve a surface plan, and render it through the React host layer.",href:"/docs/guides/first-module-bundle",time:"20 min"},{title:"Host the Builder workbench",description:"Wire a Builder workspace snapshot, common commands, runtime modes, and mobile review links into the reusable host.",href:"/docs/guides/host-builder-workbench",time:"20 min"},{title:"Use Connect in a repo",description:"Enable Connect, verify agent actions locally, and inspect the resulting review and replay artifacts.",href:"/docs/guides/connect-in-a-repo",time:"15 min"},{title:"Author release capsules",description:"Pair changesets with structured release capsules and generate the artifacts that changelog and upgrade flows consume.",href:"/docs/guides/release-capsules",time:"15 min"},{title:"CI diff gating",description:"Use deterministic checks to catch drift and risky changes before they ship.",href:"/docs/guides/ci-contract-diff-gating",time:"15 min"}];function y(){return i("div",{className:"space-y-10",children:[i("div",{className:"space-y-3",children:[e("p",{className:"editorial-kicker",children:"Build"}),e("h1",{className:"font-serif text-4xl tracking-[-0.04em] md:text-5xl",children:"Adoption guides for teams that want to keep their code."}),e("p",{className:"max-w-3xl text-lg text-muted-foreground leading-8",children:"These guides assume you are introducing ContractSpec into a real code base. Start with a narrow surface, verify the generated outputs, and expand only after the contract loop feels trustworthy."})]}),e("div",{className:"grid gap-4 md:grid-cols-2",children:h.map((t)=>i(c,{href:t.href,className:"editorial-panel",children:[i("div",{className:"flex items-start justify-between gap-4",children:[i("div",{children:[e("h2",{className:"font-semibold text-xl",children:t.title}),e("p",{className:"mt-2 text-muted-foreground text-sm leading-7",children:t.description})]}),e(l,{className:"mt-1 shrink-0",size:18})]}),i("div",{className:"mt-4 flex items-center gap-2 text-muted-foreground text-xs",children:[e(m,{size:14}),i("span",{children:["Target time: ",t.time]})]})]},t.href))}),i("div",{className:"editorial-panel space-y-4",children:[i("div",{className:"flex items-center gap-2 font-semibold text-[color:var(--rust)] text-sm uppercase tracking-[0.2em]",children:[e(p,{size:16}),"Working style"]}),i("ul",{className:"editorial-list",children:[i("li",{children:[e("span",{className:"editorial-list-marker"}),e("span",{children:"Run each guide in a branch or sandboxed workspace."})]}),i("li",{children:[e("span",{className:"editorial-list-marker"}),e("span",{children:"Prefer one bounded surface at a time: one endpoint, one workflow, one integration, one unsafe module."})]}),i("li",{children:[e("span",{className:"editorial-list-marker"}),e("span",{children:"Use the example and reference outputs to verify what changed, not just the narrative page."})]})]}),e(d,{language:"bash",filename:"guides-quickstart",code:`# list example systems
3
3
  contractspec examples list
4
4
 
5
5
  # validate the examples in this workspace
6
- contractspec examples validate --repo-root .`})]})]})}export{w as GuidesIndexPage};
6
+ contractspec examples validate --repo-root .`})]})]})}export{y as GuidesIndexPage};
@@ -5,7 +5,9 @@ Hands-on, runnable guides that map to real adoption scenarios. Each guide includ
5
5
 
6
6
  Create a single OperationSpec, register it, and expose it through a Next.js App Router handler.`},{id:"docs.guides.spec-validation-typing",title:"Spec validation and typing",summary:"Define an operation spec with validation and types, no rewrites.",kind:"usage",visibility:"public",route:"/docs/guides/spec-validation-and-typing",tags:["guides","validation","typing"],body:`# Spec-driven validation and typing
7
7
 
8
- Define command/query specs that enforce validation and generate types without rewriting your app.`},{id:"docs.guides.docs-clients-schemas",title:"Generate docs, clients, schemas",summary:"Generate docs and OpenAPI for client SDKs from specs.",kind:"usage",visibility:"public",route:"/docs/guides/generate-docs-clients-schemas",tags:["guides","docs","openapi"],body:`# Generate docs and client schemas
8
+ Define command/query specs that enforce validation and generate types without rewriting your app.`},{id:"docs.guides.contract-driven-forms",title:"Contract-driven forms",summary:"Define schema-backed FormSpec surfaces and render them safely.",kind:"usage",visibility:"public",route:"/docs/guides/contract-driven-forms",tags:["guides","forms","ui"],body:`# Build a contract-driven form
9
+
10
+ Define a FormSpec with model, fields, layout, policy, and actions, then render it through a shared or app-specific renderer.`},{id:"docs.guides.docs-clients-schemas",title:"Generate docs, clients, schemas",summary:"Generate docs and OpenAPI for client SDKs from specs.",kind:"usage",visibility:"public",route:"/docs/guides/generate-docs-clients-schemas",tags:["guides","docs","openapi"],body:`# Generate docs and client schemas
9
11
 
10
12
  Use ContractSpec to generate documentation and OpenAPI exports for client SDKs.
11
13
 
@@ -1,6 +1,7 @@
1
1
  import './guides.docblocks';
2
2
  export { GuideCIDiffGatingPage } from './GuideCIDiffGatingPage';
3
3
  export { GuideConnectInRepoPage } from './GuideConnectInRepoPage';
4
+ export { GuideContractDrivenFormsPage } from './GuideContractDrivenFormsPage';
4
5
  export { GuideContractTypesPage } from './GuideContractTypesPage';
5
6
  export { GuideDocsPipelinePage } from './GuideDocsPipelinePage';
6
7
  export { GuideFirstModuleBundlePage } from './GuideFirstModuleBundlePage';