diff --git a/package.json b/package.json index 1184e58..bc17b56 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,10 @@ "@radix-ui/react-toggle": "1.1.18", "@radix-ui/react-toggle-group": "1.1.19", "@radix-ui/react-tooltip": "1.2.16", + "@siax/0pt-decision": "workspace:*", + "@siax/config": "^0.2.1", + "@siax/tokens": "^0.1.2", + "@siax/ui": "^0.4.1", "autoprefixer": "^10.4.20", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", @@ -72,10 +76,7 @@ "tailwind-merge": "^3.3.1", "tailwindcss-animate": "^1.0.7", "vaul": "^1.1.2", - "zod": "3.25.76", - "@siax/ui": "^0.4.1", - "@siax/config": "^0.2.1", - "@siax/tokens": "^0.1.2" + "zod": "3.25.76" }, "devDependencies": { "@eslint/js": "^9.15.0", @@ -99,4 +100,4 @@ "esbuild" ] } -} \ No newline at end of file +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dde8cf3..7eeb8f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -98,6 +98,9 @@ importers: '@radix-ui/react-tooltip': specifier: 1.2.16 version: 1.2.16(@types/react-dom@19.2.7(@types/react@19.2.18))(@types/react@19.2.18)(react-dom@19.2.8(react@19.2.8))(react@19.2.8) + '@siax/0pt-decision': + specifier: workspace:* + version: link:packages/decision '@siax/config': specifier: ^0.2.1 version: 0.2.1(tailwindcss@4.3.3) diff --git a/siax.repo.json b/siax.repo.json index aa1cf06..dab1f70 100644 --- a/siax.repo.json +++ b/siax.repo.json @@ -1,16 +1,13 @@ { - "$schema": "https://git.siax.io/sax3l/siax-standard/raw/branch/main/schema/siax.repo.schema.json", - "repo": "0pt", - "standardVersion": "2.0", + "$schema": "https://git.siax.io/sax3l/siax-standard/raw/branch/main/schema/siax.repo.v3.schema.json", + "repo": "0PT", + "standardVersion": "3.0", "category": "platform", "subcategory": "data-os", "appId": "0PT", "capabilityPrefix": "0pt", "packageName": "@siax/0pt", "owner": "SIAX Technology AB", - "codeowners": [ - "@sax3l" - ], "lifecycle": "active", "operationalState": "running", "gitHost": "git.siax.io", @@ -68,5 +65,80 @@ "contracts": { "openapi": "contracts/openapi.yaml" }, - "decoupled": false + "decoupled": false, + "tier": "core-platform", + "canonical": true, + "parentRepo": null, + "capabilities": [ + "0pt.enrich_company_list", + "0pt.query_source", + "0pt.write_iceberg_table" + ], + "surfaces": [ + "api" + ], + "identity": { + "workloadIdentity": true, + "tenantScoped": true + }, + "persistence": { + "stateful": true, + "database": "postgres", + "storage": "none" + }, + "deployment": { + "node": null, + "dedicated": false + }, + "observability": { + "health": true, + "ready": true, + "metrics": true + }, + "reliability": { + "backupFrequency": "daily", + "provenRestore": false + }, + "engines": [], + "licenses": { + "spdx": "LicenseRef-SIAX-Proprietary", + "approved": true + }, + "productionEvidence": { + "verified": false + }, + "runtime": { + "language": "node-esm", + "packageManager": "pnpm" + }, + "discovery": { + "enabled": true, + "profile": "FULL_DISCOVERY", + "changeCapture": { + "strategy": "transactional_outbox" + }, + "classification": { + "default": "internal", + "failClosed": true + }, + "pii": { + "detectionRequired": false + }, + "lineage": { + "required": true + }, + "deletion": { + "propagationRequired": true + }, + "projections": [] + }, + "decision": { + "policies": [], + "consumes": [ + "decision.boolean", + "decision.choice", + "decision.score" + ], + "deterministicOnly": false + } } diff --git a/src/er/entity-resolution-service.ts b/src/er/entity-resolution-service.ts index cc3b2cd..34d332e 100644 --- a/src/er/entity-resolution-service.ts +++ b/src/er/entity-resolution-service.ts @@ -9,7 +9,7 @@ * an adapter to this canonical decision engine. */ import crypto from "crypto"; -import { erMatchDecision, erDecisionEnabled } from "../../packages/decision/src/index.js"; +import { erMatchDecision, erDecisionEnabled } from "@siax/0pt-decision"; import type { N0dClient, N0dJob } from "../clients/n0d-client"; import { SiaxError } from "../platform/errors"; import { isResourceRef } from "../platform/resource-ref";