@contractspec/example.integration-hub 2.9.0 → 3.0.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 (2) hide show
  1. package/README.md +7 -0
  2. package/package.json +9 -9
package/README.md CHANGED
@@ -16,6 +16,7 @@ A comprehensive integration hub example demonstrating ContractSpec principles fo
16
16
  - **Feature Flag Integration**: Control integration availability
17
17
  - **Full Audit Trail**: Track all sync operations
18
18
  - **MCP-Ready Providers**: Supports provider configs that call remote MCP tools
19
+ - **Health Strategy Routing**: Supports `health.*` providers with official, aggregator, and gated unofficial fallback transports
19
20
 
20
21
  ## Entities
21
22
 
@@ -145,6 +146,12 @@ Provider adapters in this workspace can be configured to call MCP endpoints
145
146
  selection for meeting recorder providers). This example remains provider-agnostic,
146
147
  so MCP transport details stay in provider config rather than contract logic.
147
148
 
149
+ For health integrations, configure strategy routing at the connection level using
150
+ `defaultTransport`, `strategyOrder`, `allowUnofficial`, `unofficialAllowList`,
151
+ and optionally `oauthTokenUrl` for refresh-token flows.
152
+ This keeps official and aggregator transports deterministic while requiring
153
+ explicit opt-in before unofficial automation routes are used.
154
+
148
155
  ## Run MCP Example
149
156
 
150
157
  This package now includes a runnable MCP connectivity example:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.integration-hub",
3
- "version": "2.9.0",
3
+ "version": "3.0.0",
4
4
  "description": "Integration Hub example with sync engine and field mappings for ContractSpec",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",
@@ -21,21 +21,21 @@
21
21
  "typecheck": "tsc --noEmit"
22
22
  },
23
23
  "dependencies": {
24
- "@contractspec/lib.ai-agent": "2.9.0",
25
- "@contractspec/lib.schema": "2.9.0",
26
- "@contractspec/lib.contracts-spec": "2.9.0",
27
- "@contractspec/lib.example-shared-ui": "2.9.0",
28
- "@contractspec/lib.design-system": "2.9.0",
29
- "@contractspec/lib.runtime-sandbox": "1.9.0",
24
+ "@contractspec/lib.ai-agent": "3.0.0",
25
+ "@contractspec/lib.schema": "3.0.0",
26
+ "@contractspec/lib.contracts-spec": "3.0.0",
27
+ "@contractspec/lib.example-shared-ui": "3.0.0",
28
+ "@contractspec/lib.design-system": "3.0.0",
29
+ "@contractspec/lib.runtime-sandbox": "2.0.0",
30
30
  "react": "19.2.4",
31
31
  "react-dom": "19.2.4"
32
32
  },
33
33
  "devDependencies": {
34
- "@contractspec/tool.typescript": "2.9.0",
34
+ "@contractspec/tool.typescript": "3.0.0",
35
35
  "typescript": "^5.9.3",
36
36
  "@types/react": "^19.2.14",
37
37
  "@types/react-dom": "^19.2.2",
38
- "@contractspec/tool.bun": "2.9.0"
38
+ "@contractspec/tool.bun": "3.0.0"
39
39
  },
40
40
  "exports": {
41
41
  ".": {