diff --git a/@platform/codebase/@features/bookings-tryst/ai-core/package.json b/@platform/codebase/@features/bookings-tryst/ai-core/package.json new file mode 100644 index 0000000..668f25c --- /dev/null +++ b/@platform/codebase/@features/bookings-tryst/ai-core/package.json @@ -0,0 +1,44 @@ +{ + "name": "@cocottetech/bookings-tryst", + "version": "0.1.0", + "private": true, + "type": "module", + "description": "V4 bookings-tryst — Tryst escort-directory specialist @ai instance (NestJS on black:3796). Forks the ai-copilot/ai-core shape; collects surface-adapter actions via the data-driven registry and dispatches them behind the K-gate safety contract. P0 foundation: skeleton + registry only; parallel agents add the bump/profile/reply/metrics actions.", + "scripts": { + "build": "nest build", + "start": "node dist/main.js", + "start:dev": "nest start --watch", + "start:debug": "nest start --debug --watch", + "typecheck": "tsc --noEmit", + "test": "vitest run", + "test:unit": "vitest run --dir src", + "test:watch": "vitest" + }, + "dependencies": { + "@cocottetech/surface-adapter-contracts": "workspace:*", + "@lilith/nestjs-health": "^1.1.1", + "@lilith/service-nestjs-bootstrap": "^2.2.8", + "@nestjs/axios": "^4.0.0", + "@nestjs/common": "11.1.11", + "@nestjs/config": "^4.0.2", + "@nestjs/core": "11.1.11", + "@nestjs/platform-express": "11.1.11", + "@nestjs/swagger": "^11.2.5", + "axios": "^1.7.0", + "class-transformer": "^0.5.1", + "class-validator": "^0.14.3", + "reflect-metadata": "^0.2.2", + "rxjs": "^7.8.2", + "zod": "^3.23.8" + }, + "devDependencies": { + "@nestjs/cli": "^11.0.16", + "@nestjs/schematics": "11.0.9", + "@nestjs/testing": "^11.1.12", + "@swc/core": "^1.15.8", + "@types/node": "^20.19.30", + "tsconfig-paths": "^4.2.0", + "typescript": "^5.9.3", + "vitest": "^3.2.4" + } +} diff --git a/@platform/codebase/@features/bookings-tryst/package.json b/@platform/codebase/@features/bookings-tryst/package.json index 80dc286..82066dd 100644 --- a/@platform/codebase/@features/bookings-tryst/package.json +++ b/@platform/codebase/@features/bookings-tryst/package.json @@ -1,5 +1,5 @@ { - "name": "@cocottetech/bookings-tryst", + "name": "@cocottetech/bookings-tryst-adapter", "version": "0.1.0", "private": true, "type": "module", diff --git a/@platform/codebase/@packages/surface-adapter-contracts/package.json b/@platform/codebase/@packages/surface-adapter-contracts/package.json new file mode 100644 index 0000000..b5064ad --- /dev/null +++ b/@platform/codebase/@packages/surface-adapter-contracts/package.json @@ -0,0 +1,31 @@ +{ + "name": "@cocottetech/surface-adapter-contracts", + "version": "0.1.0", + "private": true, + "type": "module", + "description": "Canonical surface-adapter action contract + K-gate safety primitives + data-driven action registry. Imported by every bookings-*/content-* ai-core specialist and by each adapter action. No I/O, no Playwright, no NestJS — pure contract types + deterministic gate functions.", + "main": "./dist/index.js", + "types": "./dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "default": "./dist/index.js" + } + }, + "files": ["dist"], + "scripts": { + "build": "tsc", + "typecheck": "tsc --noEmit", + "test": "vitest run", + "test:unit": "vitest run --dir src", + "test:watch": "vitest" + }, + "dependencies": { + "zod": "^3.23.8" + }, + "devDependencies": { + "@types/node": "^20.19.30", + "typescript": "^5.9.3", + "vitest": "^3.2.4" + } +}