@contractspec/lib.contracts 1.52.0 → 1.54.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 (124) hide show
  1. package/dist/app-config/{contracts.d.ts → app-config.contracts.d.ts} +51 -51
  2. package/dist/app-config/{contracts.js → app-config.contracts.js} +1 -1
  3. package/dist/app-config/events.d.ts +27 -27
  4. package/dist/app-config/lifecycle-contracts.d.ts +54 -54
  5. package/dist/app-config/runtime.d.ts +4 -4
  6. package/dist/app-config/spec.d.ts +3 -3
  7. package/dist/capabilities/guards.d.ts +1 -1
  8. package/dist/capabilities/validation.d.ts +1 -1
  9. package/dist/contract-registry/schemas.d.ts +4 -4
  10. package/dist/data-views/data-views.d.ts +1 -1
  11. package/dist/data-views/index.d.ts +1 -1
  12. package/dist/data-views/registry.d.ts +1 -1
  13. package/dist/data-views/report/contractVerificationTable.d.ts +10 -0
  14. package/dist/data-views/report/contractVerificationTable.js +95 -0
  15. package/dist/data-views/runtime.d.ts +2 -2
  16. package/dist/data-views/spec.d.ts +1 -1
  17. package/dist/data-views/types.d.ts +2 -2
  18. package/dist/docs/capabilities/documentationSystem.capability.d.ts +7 -0
  19. package/dist/docs/capabilities/documentationSystem.capability.js +71 -0
  20. package/dist/docs/capabilities/index.d.ts +2 -0
  21. package/dist/docs/capabilities/index.js +3 -0
  22. package/dist/docs/commands/docsGenerate.command.d.ts +95 -0
  23. package/dist/docs/commands/docsGenerate.command.js +142 -0
  24. package/dist/docs/commands/docsPublish.command.d.ts +64 -0
  25. package/dist/docs/commands/docsPublish.command.js +107 -0
  26. package/dist/docs/commands/index.d.ts +3 -0
  27. package/dist/docs/commands/index.js +4 -0
  28. package/dist/docs/constants.d.ts +7 -0
  29. package/dist/docs/constants.js +10 -0
  30. package/dist/docs/contracts.d.ts +442 -0
  31. package/dist/docs/contracts.js +58 -0
  32. package/dist/docs/ensure-docblocks.d.ts +1 -0
  33. package/dist/docs/ensure-docblocks.js +1 -0
  34. package/dist/docs/events/docsGenerated.event.d.ts +62 -0
  35. package/dist/docs/events/docsGenerated.event.js +53 -0
  36. package/dist/docs/events/docsPublished.event.d.ts +70 -0
  37. package/dist/docs/events/docsPublished.event.js +57 -0
  38. package/dist/docs/events/index.d.ts +3 -0
  39. package/dist/docs/events/index.js +4 -0
  40. package/dist/docs/forms/docsSearch.form.d.ts +22 -0
  41. package/dist/docs/forms/docsSearch.form.js +113 -0
  42. package/dist/docs/forms/index.d.ts +2 -0
  43. package/dist/docs/forms/index.js +3 -0
  44. package/dist/docs/index.d.ts +23 -1
  45. package/dist/docs/index.js +25 -1
  46. package/dist/docs/presentations/docsLayout.presentation.d.ts +7 -0
  47. package/dist/docs/presentations/docsLayout.presentation.js +35 -0
  48. package/dist/docs/presentations/docsReferencePage.presentation.d.ts +7 -0
  49. package/dist/docs/presentations/docsReferencePage.presentation.js +35 -0
  50. package/dist/docs/presentations/index.d.ts +3 -0
  51. package/dist/docs/presentations/index.js +4 -0
  52. package/dist/docs/queries/contractReference.query.d.ts +217 -0
  53. package/dist/docs/queries/contractReference.query.js +125 -0
  54. package/dist/docs/queries/docsIndex.query.d.ts +272 -0
  55. package/dist/docs/queries/docsIndex.query.js +133 -0
  56. package/dist/docs/queries/index.d.ts +3 -0
  57. package/dist/docs/queries/index.js +4 -0
  58. package/dist/docs/tech/cli.docblock.js +10 -0
  59. package/dist/docs/tech/docs-system.docblock.d.ts +1 -0
  60. package/dist/docs/tech/docs-system.docblock.js +128 -0
  61. package/dist/docs/tech/report-verification-table.docblock.d.ts +1 -0
  62. package/dist/docs/tech/report-verification-table.docblock.js +50 -0
  63. package/dist/docs/views/contractReference.dataView.d.ts +7 -0
  64. package/dist/docs/views/contractReference.dataView.js +81 -0
  65. package/dist/docs/views/docsIndex.dataView.d.ts +7 -0
  66. package/dist/docs/views/docsIndex.dataView.js +136 -0
  67. package/dist/docs/views/exampleCatalog.dataView.d.ts +7 -0
  68. package/dist/docs/views/exampleCatalog.dataView.js +91 -0
  69. package/dist/docs/views/index.d.ts +4 -0
  70. package/dist/docs/views/index.js +5 -0
  71. package/dist/events.d.ts +1 -1
  72. package/dist/examples/schema.d.ts +17 -17
  73. package/dist/examples/types.d.ts +1 -1
  74. package/dist/experiments/spec.d.ts +2 -2
  75. package/dist/features/install.d.ts +1 -1
  76. package/dist/features/types.d.ts +3 -3
  77. package/dist/forms/forms.d.ts +1 -1
  78. package/dist/index.d.ts +40 -22
  79. package/dist/index.js +20 -2
  80. package/dist/install.d.ts +1 -1
  81. package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
  82. package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
  83. package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
  84. package/dist/integrations/openbanking/models.d.ts +55 -55
  85. package/dist/integrations/operations.d.ts +102 -102
  86. package/dist/integrations/providers/impls/stripe-payments.js +1 -1
  87. package/dist/integrations/spec.d.ts +2 -2
  88. package/dist/jsonschema.d.ts +1 -1
  89. package/dist/knowledge/operations.d.ts +66 -66
  90. package/dist/knowledge/spec.d.ts +1 -1
  91. package/dist/llm/exporters.d.ts +3 -3
  92. package/dist/llm/types.d.ts +1 -1
  93. package/dist/markdown.d.ts +1 -1
  94. package/dist/onboarding-base.d.ts +29 -29
  95. package/dist/operations/index.d.ts +4 -1
  96. package/dist/operations/index.js +4 -1
  97. package/dist/operations/operation.d.ts +3 -3
  98. package/dist/operations/registry.d.ts +1 -1
  99. package/dist/operations/report/getContractVerificationStatus.d.ts +75 -0
  100. package/dist/operations/report/getContractVerificationStatus.js +96 -0
  101. package/dist/operations/report/index.d.ts +13 -0
  102. package/dist/operations/report/index.js +45 -0
  103. package/dist/policy/validation.d.ts +1 -1
  104. package/dist/presentations/registry.d.ts +1 -1
  105. package/dist/registry.d.ts +1 -1
  106. package/dist/serialization/serializers.d.ts +3 -3
  107. package/dist/server/rest-elysia.d.ts +1 -1
  108. package/dist/server/rest-express.d.ts +1 -1
  109. package/dist/server/rest-generic.d.ts +1 -1
  110. package/dist/server/rest-next-app.d.ts +1 -1
  111. package/dist/server/rest-next-mcp.d.ts +1 -1
  112. package/dist/server/rest-next-pages.d.ts +1 -1
  113. package/dist/telemetry/spec.d.ts +1 -1
  114. package/dist/telemetry/tracker.d.ts +3 -2
  115. package/dist/tests/runner.d.ts +1 -1
  116. package/dist/themes.d.ts +1 -1
  117. package/dist/types.d.ts +2 -2
  118. package/dist/workflow/spec.d.ts +2 -2
  119. package/dist/workflow/validation.d.ts +2 -2
  120. package/dist/workspace-config/contractsrc-schema.d.ts +3 -3
  121. package/dist/workspace-config/contractsrc-schema.js +1 -0
  122. package/dist/workspace-config/contractsrc-types.d.ts +7 -8
  123. package/dist/workspace-config/index.d.ts +2 -2
  124. package/package.json +38 -11
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.contracts",
3
- "version": "1.52.0",
3
+ "version": "1.54.0",
4
4
  "description": "Core contract specification definitions and runtime",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -14,7 +14,7 @@
14
14
  "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
15
15
  "publish:pkg:canary": "bun publish:pkg --tag canary",
16
16
  "build": "bun build:types && bun build:bundle",
17
- "build:bundle": "tsdown",
17
+ "build:bundle": "NODE_OPTIONS=--max-old-space-size=8192 tsdown",
18
18
  "build:types": "tsc --noEmit",
19
19
  "dev": "bun build:bundle --watch",
20
20
  "registry:build": "bun run scripts/build-registry.ts",
@@ -25,8 +25,8 @@
25
25
  "test": "bun test"
26
26
  },
27
27
  "devDependencies": {
28
- "@contractspec/tool.tsdown": "1.52.0",
29
- "@contractspec/tool.typescript": "1.52.0",
28
+ "@contractspec/tool.tsdown": "1.54.0",
29
+ "@contractspec/tool.typescript": "1.54.0",
30
30
  "@types/express": "^5.0.3",
31
31
  "@types/turndown": "^5.0.6",
32
32
  "tsdown": "^0.19.0",
@@ -36,8 +36,8 @@
36
36
  "dependencies": {
37
37
  "@aws-sdk/client-secrets-manager": "^3.966.0",
38
38
  "@aws-sdk/client-sqs": "^3.966.0",
39
- "@contractspec/lib.logger": "1.52.0",
40
- "@contractspec/lib.schema": "1.52.0",
39
+ "@contractspec/lib.logger": "1.54.0",
40
+ "@contractspec/lib.schema": "1.54.0",
41
41
  "@elevenlabs/elevenlabs-js": "^2.30.0",
42
42
  "@google-cloud/secret-manager": "^6.1.1",
43
43
  "@google-cloud/storage": "^7.18.0",
@@ -66,11 +66,11 @@
66
66
  "elysia": "^1.4.21",
67
67
  "express": "^5.2.1",
68
68
  "graphql-scalars": "^1.24.2",
69
- "next": "16.1.1",
69
+ "next": "16.1.6",
70
70
  "@blocknote/core": "^0.46.1",
71
71
  "@blocknote/react": "^0.46.1",
72
- "react": "^19.2.3",
73
- "react-dom": "^19.2.3",
72
+ "react": "^19.2.4",
73
+ "react-dom": "^19.2.4",
74
74
  "react-hook-form": "^7.70.0",
75
75
  "@hookform/resolvers": "^5.2.2"
76
76
  },
@@ -84,9 +84,9 @@
84
84
  ".": "./dist/index.js",
85
85
  "./app-config": "./dist/app-config/index.js",
86
86
  "./app-config/app-config.capability": "./dist/app-config/app-config.capability.js",
87
+ "./app-config/app-config.contracts": "./dist/app-config/app-config.contracts.js",
87
88
  "./app-config/app-config.feature": "./dist/app-config/app-config.feature.js",
88
89
  "./app-config/branding": "./dist/app-config/branding.js",
89
- "./app-config/contracts": "./dist/app-config/contracts.js",
90
90
  "./app-config/docs/app-config.docblock": "./dist/app-config/docs/app-config.docblock.js",
91
91
  "./app-config/events": "./dist/app-config/events.js",
92
92
  "./app-config/lifecycle": "./dist/app-config/lifecycle.js",
@@ -115,13 +115,32 @@
115
115
  "./data-views/docs/data-views.docblock": "./dist/data-views/docs/data-views.docblock.js",
116
116
  "./data-views/query-generator": "./dist/data-views/query-generator.js",
117
117
  "./data-views/registry": "./dist/data-views/registry.js",
118
+ "./data-views/report/contractVerificationTable": "./dist/data-views/report/contractVerificationTable.js",
118
119
  "./data-views/runtime": "./dist/data-views/runtime.js",
119
120
  "./data-views/spec": "./dist/data-views/spec.js",
120
121
  "./data-views/types": "./dist/data-views/types.js",
121
122
  "./docs": "./dist/docs/index.js",
122
123
  "./docs/accessibility_wcag_compliance_specs.docblock": "./dist/docs/accessibility_wcag_compliance_specs.docblock.js",
124
+ "./docs/capabilities": "./dist/docs/capabilities/index.js",
125
+ "./docs/capabilities/documentationSystem.capability": "./dist/docs/capabilities/documentationSystem.capability.js",
126
+ "./docs/commands": "./dist/docs/commands/index.js",
127
+ "./docs/commands/docsGenerate.command": "./dist/docs/commands/docsGenerate.command.js",
128
+ "./docs/commands/docsPublish.command": "./dist/docs/commands/docsPublish.command.js",
129
+ "./docs/constants": "./dist/docs/constants.js",
130
+ "./docs/contracts": "./dist/docs/contracts.js",
131
+ "./docs/ensure-docblocks": "./dist/docs/ensure-docblocks.js",
132
+ "./docs/events": "./dist/docs/events/index.js",
133
+ "./docs/events/docsGenerated.event": "./dist/docs/events/docsGenerated.event.js",
134
+ "./docs/events/docsPublished.event": "./dist/docs/events/docsPublished.event.js",
135
+ "./docs/forms": "./dist/docs/forms/index.js",
136
+ "./docs/forms/docsSearch.form": "./dist/docs/forms/docsSearch.form.js",
123
137
  "./docs/meta.docs": "./dist/docs/meta.docs.js",
124
- "./docs/presentations": "./dist/docs/presentations.js",
138
+ "./docs/presentations": "./dist/docs/presentations/index.js",
139
+ "./docs/presentations/docsLayout.presentation": "./dist/docs/presentations/docsLayout.presentation.js",
140
+ "./docs/presentations/docsReferencePage.presentation": "./dist/docs/presentations/docsReferencePage.presentation.js",
141
+ "./docs/queries": "./dist/docs/queries/index.js",
142
+ "./docs/queries/contractReference.query": "./dist/docs/queries/contractReference.query.js",
143
+ "./docs/queries/docsIndex.query": "./dist/docs/queries/docsIndex.query.js",
125
144
  "./docs/registry": "./dist/docs/registry.js",
126
145
  "./docs/tech-contracts.docs": "./dist/docs/tech-contracts.docs.js",
127
146
  "./docs/tech/auth/better-auth-nextjs.docblock": "./dist/docs/tech/auth/better-auth-nextjs.docblock.js",
@@ -135,10 +154,12 @@
135
154
  "./docs/tech/contracts/tests.docblock": "./dist/docs/tech/contracts/tests.docblock.js",
136
155
  "./docs/tech/contracts/themes.docblock": "./dist/docs/tech/contracts/themes.docblock.js",
137
156
  "./docs/tech/contracts/vertical-pocket-family-office.docblock": "./dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js",
157
+ "./docs/tech/docs-system.docblock": "./dist/docs/tech/docs-system.docblock.js",
138
158
  "./docs/tech/lifecycle-stage-system.docblock": "./dist/docs/tech/lifecycle-stage-system.docblock.js",
139
159
  "./docs/tech/llm/llm-integration.docblock": "./dist/docs/tech/llm/llm-integration.docblock.js",
140
160
  "./docs/tech/mcp-endpoints.docblock": "./dist/docs/tech/mcp-endpoints.docblock.js",
141
161
  "./docs/tech/presentation-runtime.docblock": "./dist/docs/tech/presentation-runtime.docblock.js",
162
+ "./docs/tech/report-verification-table.docblock": "./dist/docs/tech/report-verification-table.docblock.js",
142
163
  "./docs/tech/schema/README.docblock": "./dist/docs/tech/schema/README.docblock.js",
143
164
  "./docs/tech/studio/learning-events.docblock": "./dist/docs/tech/studio/learning-events.docblock.js",
144
165
  "./docs/tech/studio/learning-journeys.docblock": "./dist/docs/tech/studio/learning-journeys.docblock.js",
@@ -152,6 +173,10 @@
152
173
  "./docs/tech/telemetry-ingest.docblock": "./dist/docs/tech/telemetry-ingest.docblock.js",
153
174
  "./docs/tech/vscode-extension.docblock": "./dist/docs/tech/vscode-extension.docblock.js",
154
175
  "./docs/types": "./dist/docs/types.js",
176
+ "./docs/views": "./dist/docs/views/index.js",
177
+ "./docs/views/contractReference.dataView": "./dist/docs/views/contractReference.dataView.js",
178
+ "./docs/views/docsIndex.dataView": "./dist/docs/views/docsIndex.dataView.js",
179
+ "./docs/views/exampleCatalog.dataView": "./dist/docs/views/exampleCatalog.dataView.js",
155
180
  "./events": "./dist/events.js",
156
181
  "./examples": "./dist/examples/index.js",
157
182
  "./examples/docs/examples.docblock": "./dist/examples/docs/examples.docblock.js",
@@ -284,6 +309,8 @@
284
309
  "./operations": "./dist/operations/index.js",
285
310
  "./operations/operation": "./dist/operations/operation.js",
286
311
  "./operations/registry": "./dist/operations/registry.js",
312
+ "./operations/report": "./dist/operations/report/index.js",
313
+ "./operations/report/getContractVerificationStatus": "./dist/operations/report/getContractVerificationStatus.js",
287
314
  "./ownership": "./dist/ownership.js",
288
315
  "./policy": "./dist/policy/index.js",
289
316
  "./policy/context": "./dist/policy/context.js",