2026-04-30 13:01:15 +08:00
|
|
|
{
|
|
|
|
|
"name": "@open-design/contracts",
|
2026-10-16 02:06:03 +00:00
|
|
|
"version": "0.25.1",
|
2026-04-30 13:01:15 +08:00
|
|
|
"private": true,
|
|
|
|
|
"type": "module",
|
2026-08-18 07:09:45 +00:00
|
|
|
"description": "Shared pure TypeScript contracts for the OpenDesign web/daemon boundary.",
|
2026-05-06 03:11:35 +02:00
|
|
|
"main": "./dist/index.mjs",
|
|
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"files": [
|
|
|
|
|
"dist"
|
|
|
|
|
],
|
2026-04-30 13:01:15 +08:00
|
|
|
"exports": {
|
|
|
|
|
".": {
|
2026-05-06 03:11:35 +02:00
|
|
|
"types": "./dist/index.d.ts",
|
|
|
|
|
"default": "./dist/index.mjs"
|
2026-05-04 08:28:28 -04:00
|
|
|
},
|
2026-05-07 11:25:37 +08:00
|
|
|
"./api/connectionTest": {
|
|
|
|
|
"types": "./dist/api/connectionTest.d.ts",
|
|
|
|
|
"default": "./dist/api/connectionTest.mjs"
|
|
|
|
|
},
|
2026-06-24 11:58:49 +08:00
|
|
|
"./api/amrWallet": {
|
|
|
|
|
"types": "./dist/api/amrWallet.d.ts",
|
|
|
|
|
"default": "./dist/api/amrWallet.mjs"
|
|
|
|
|
},
|
2026-05-09 11:19:59 +08:00
|
|
|
"./api/orbit": {
|
|
|
|
|
"types": "./dist/api/orbit.d.ts",
|
|
|
|
|
"default": "./dist/api/orbit.mjs"
|
|
|
|
|
},
|
2026-05-08 07:52:11 -04:00
|
|
|
"./api/finalize": {
|
|
|
|
|
"types": "./dist/api/finalize.d.ts",
|
|
|
|
|
"default": "./dist/api/finalize.mjs"
|
|
|
|
|
},
|
2026-05-20 01:28:27 -04:00
|
|
|
"./api/handoff": {
|
|
|
|
|
"types": "./dist/api/handoff.d.ts",
|
|
|
|
|
"default": "./dist/api/handoff.mjs"
|
|
|
|
|
},
|
2026-05-09 10:28:03 -04:00
|
|
|
"./api/providerModels": {
|
|
|
|
|
"types": "./dist/api/providerModels.d.ts",
|
|
|
|
|
"default": "./dist/api/providerModels.mjs"
|
|
|
|
|
},
|
2026-06-19 05:20:18 +02:00
|
|
|
"./api/reasoningExecution": {
|
|
|
|
|
"types": "./dist/api/reasoningExecution.d.ts",
|
|
|
|
|
"default": "./dist/api/reasoningExecution.mjs"
|
|
|
|
|
},
|
2026-05-08 10:33:44 +08:00
|
|
|
"./api/research": {
|
|
|
|
|
"types": "./dist/api/research.d.ts",
|
|
|
|
|
"default": "./dist/api/research.mjs"
|
|
|
|
|
},
|
2026-09-23 09:22:48 +00:00
|
|
|
"./api/touchpointOffline": {
|
|
|
|
|
"types": "./dist/api/touchpointOffline.d.ts",
|
|
|
|
|
"default": "./dist/api/touchpointOffline.mjs"
|
|
|
|
|
},
|
2026-09-17 05:58:48 +00:00
|
|
|
"./api/touchpointTestRuntime": {
|
|
|
|
|
"types": "./dist/api/touchpointTestRuntime.d.ts",
|
|
|
|
|
"default": "./dist/api/touchpointTestRuntime.mjs"
|
|
|
|
|
},
|
2026-07-10 17:41:47 +08:00
|
|
|
"./runtime/deck-stage-fallback": {
|
|
|
|
|
"types": "./dist/runtime/deck-stage-fallback.d.ts",
|
|
|
|
|
"default": "./dist/runtime/deck-stage-fallback.mjs"
|
|
|
|
|
},
|
2026-08-29 07:27:29 +00:00
|
|
|
"./runtime/deck-protocol": {
|
|
|
|
|
"types": "./dist/runtime/deck-protocol.d.ts",
|
|
|
|
|
"default": "./dist/runtime/deck-protocol.mjs"
|
|
|
|
|
},
|
2026-08-10 14:08:40 +08:00
|
|
|
"./runtime/preview-observability": {
|
|
|
|
|
"types": "./dist/runtime/preview-observability.d.ts",
|
|
|
|
|
"default": "./dist/runtime/preview-observability.mjs"
|
|
|
|
|
},
|
2026-09-17 02:48:00 +00:00
|
|
|
"./runtime/preview-build-focus": {
|
|
|
|
|
"types": "./dist/runtime/preview-build-focus.d.ts",
|
|
|
|
|
"default": "./dist/runtime/preview-build-focus.mjs"
|
|
|
|
|
},
|
2026-08-31 01:32:49 +00:00
|
|
|
"./runtime/preview-runtime-state": {
|
|
|
|
|
"types": "./dist/runtime/preview-runtime-state.d.ts",
|
|
|
|
|
"default": "./dist/runtime/preview-runtime-state.mjs"
|
|
|
|
|
},
|
2026-08-24 14:12:03 +00:00
|
|
|
"./runtime/preview-guards": {
|
|
|
|
|
"types": "./dist/runtime/preview-guards.d.ts",
|
|
|
|
|
"default": "./dist/runtime/preview-guards.mjs"
|
|
|
|
|
},
|
2026-06-05 15:12:40 +08:00
|
|
|
"./design-systems/components-manifest": {
|
|
|
|
|
"types": "./dist/design-systems/components-manifest.d.ts",
|
|
|
|
|
"default": "./dist/design-systems/components-manifest.mjs"
|
|
|
|
|
},
|
2026-06-05 19:33:22 +08:00
|
|
|
"./design-systems/derived-token-outputs": {
|
|
|
|
|
"types": "./dist/design-systems/derived-token-outputs.d.ts",
|
|
|
|
|
"default": "./dist/design-systems/derived-token-outputs.mjs"
|
|
|
|
|
},
|
2026-06-05 15:12:40 +08:00
|
|
|
"./design-systems/token-schema": {
|
|
|
|
|
"types": "./dist/design-systems/token-schema.d.ts",
|
|
|
|
|
"default": "./dist/design-systems/token-schema.mjs"
|
|
|
|
|
},
|
2026-10-19 06:15:28 +00:00
|
|
|
"./prompts/comment-identity": {
|
|
|
|
|
"types": "./dist/prompts/comment-identity.d.ts",
|
|
|
|
|
"default": "./dist/prompts/comment-identity.mjs"
|
|
|
|
|
},
|
2026-05-04 08:28:28 -04:00
|
|
|
"./critique": {
|
2026-05-06 03:11:35 +02:00
|
|
|
"types": "./dist/critique.d.ts",
|
|
|
|
|
"default": "./dist/critique.mjs"
|
2026-05-12 22:32:42 +08:00
|
|
|
},
|
|
|
|
|
"./analytics": {
|
|
|
|
|
"types": "./dist/analytics/index.d.ts",
|
|
|
|
|
"default": "./dist/analytics/index.mjs"
|
2026-08-27 04:53:21 +00:00
|
|
|
},
|
|
|
|
|
"./runtime/html-injection-points": {
|
|
|
|
|
"types": "./dist/runtime/html-injection-points.d.ts",
|
|
|
|
|
"default": "./dist/runtime/html-injection-points.mjs"
|
2026-10-14 15:55:52 +00:00
|
|
|
},
|
|
|
|
|
"./runtime/motion-source-player": {
|
|
|
|
|
"types": "./dist/runtime/motion-source-player.d.ts",
|
|
|
|
|
"default": "./dist/runtime/motion-source-player.mjs"
|
2026-04-30 13:01:15 +08:00
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2026-05-06 03:11:35 +02:00
|
|
|
"build": "node ./esbuild.config.mjs && tsc -p tsconfig.json --emitDeclarationOnly",
|
2026-05-04 08:28:28 -04:00
|
|
|
"test": "vitest run",
|
2026-05-05 15:34:22 +08:00
|
|
|
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.tests.json --noEmit"
|
2026-04-30 13:01:15 +08:00
|
|
|
},
|
2026-05-04 08:28:28 -04:00
|
|
|
"dependencies": {
|
2026-06-23 14:13:21 +08:00
|
|
|
"@open-design/release": "workspace:*",
|
2026-05-19 13:58:27 +08:00
|
|
|
"zod": "3.25.76"
|
2026-05-04 08:28:28 -04:00
|
|
|
},
|
2026-04-30 13:01:15 +08:00
|
|
|
"devDependencies": {
|
2026-10-22 08:40:45 +00:00
|
|
|
"@typescript/native": "npm:typescript@7.0.2",
|
2026-05-19 13:58:27 +08:00
|
|
|
"esbuild": "0.28.0",
|
|
|
|
|
"vitest": "4.1.6"
|
2026-04-30 13:01:15 +08:00
|
|
|
}
|
|
|
|
|
}
|