Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
205 lines (205 loc) · 20.7 KB
/
Copy pathpackage.json
File metadata and controls
205 lines (205 loc) · 20.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
{
"$schema": "https://www.schemastore.org/package.json",
"name": "@openmeld/root",
"description": "OpenMeld - Root",
"private": true,
"scripts": {
"brand:generate": "node packages/ui/scripts/brand-assets.mjs && node clients/web/scripts/generate-favicon.mjs && node clients/desktop/scripts/generate-icons.mjs",
"brand:preview": "node packages/ui/scripts/brand-preview.mjs",
"pg": "pnpm --filter @openmeld/postgresql pg",
"pg:local": "node tooling/postgresql/local.mjs",
"pg:check": "pnpm --filter @openmeld/postgresql test",
"pretest": "node scripts/dev/require-node-major.mjs 24",
"build": "node scripts/dev/run-local-heavy.mjs pnpm exec turbo run build --concurrency=2",
"deploy": "node scripts/release/deploy.mjs",
"deploy:cloud": "node scripts/release/deploy.mjs --scope cloud",
"release:cli:seed-manifest": "node scripts/release/publish-cli.mjs seed-manifest",
"deploy:openconnector:production": "node scripts/cloudflare/deploy-openconnector.mjs --environment production",
"deploy:openconnector:staging": "node scripts/dev/doppler-environment.mjs component:stg open-connector -- node scripts/cloudflare/deploy-openconnector.mjs --environment staging",
"cloudflare:bootstrap:worker-identities": "node scripts/cloudflare/bootstrap-openmeld-worker-identities.mjs",
"changelog:build": "node scripts/changelog/build.mjs",
"changelog:check": "node scripts/changelog/check.mjs",
"setup:dev": "pnpm build && pnpm openmeld:dev:install",
"dev": "node scripts/dev/doppler-environment.mjs worktree --no-sandbox",
"dev:doctor": "node scripts/dev/doppler-environment.mjs doctor",
"dev:help": "node scripts/dev/doppler-environment.mjs help",
"dev:worktree": "node scripts/dev/doppler-environment.mjs worktree --no-sandbox",
"dev:worktree:sandbox": "node scripts/dev/doppler-environment.mjs worktree",
"dev:web:worktree": "node scripts/dev/doppler-environment.mjs web:worktree",
"dev:isolated": "node scripts/dev/dev-isolated.mjs",
"dev:postgresql": "node scripts/dev/doppler-environment.mjs worktree --postgresql --no-sandbox",
"dev:isolated:no-sandbox": "node scripts/dev/dev-isolated.mjs --no-sandbox",
"dev:web": "pnpm --filter openmeld-web run dev",
"dev:web:isolated": "node scripts/dev/dev-isolated-web.mjs",
"env:doctor": "node scripts/dev/doppler-environment.mjs doctor",
"env:doctor:prod": "node scripts/dev/doppler-environment.mjs doctor:prod",
"env:doctor:stg": "node scripts/dev/doppler-environment.mjs doctor:stg",
"dev:remote-agent": "pnpm --filter @openmeld/remote-agent run dev",
"dev:desktop": "pnpm run desktop:dev",
"dev:raw": "turbo run dev",
"dev:status": "node scripts/dev/dev-status.mjs",
"dev:run": "node scripts/dev/run-local-heavy.mjs",
"verify:dev-lifecycle": "node --test --test-concurrency=1 scripts/dev/registry-lock.test.mjs scripts/dev/local-resources.test.mjs scripts/dev/process-rows.test.mjs scripts/dev/dev-stop.test.mjs scripts/dev/dev-status.test.mjs",
"dev:seed": "python3 scripts/dev/dev-seed.py",
"dev:account": "python3 scripts/dev/dev-account.py",
"dev:stop": "node scripts/dev/dev-stop.mjs",
"dev:clean": "node scripts/dev/dev-clean.mjs",
"dev:fresh": "node --experimental-strip-types scripts/dev/prepare-fresh-web-start-cli.mts --clear-auth-sessions --print-shell-export",
"dev:prepare:fresh-web-start": "node --experimental-strip-types scripts/dev/prepare-fresh-web-start-cli.mts",
"desktop:start:dev": "node scripts/dev/desktop-pilot.mjs",
"desktop:dev": "pnpm run desktop:start:dev",
"desktop:prepare": "node scripts/dev/desktop-pilot.mjs prepare",
"desktop:doctor": "node scripts/dev/desktop-pilot.mjs doctor",
"desktop:status": "node scripts/dev/desktop-pilot.mjs status",
"desktop:stop": "node scripts/dev/desktop-pilot.mjs stop",
"desktop:web": "node scripts/dev/desktop-web.mjs",
"desktop:renderer:production": "node scripts/release/production-artifact-check.mjs --scope desktop",
"test:cli-skill": "node scripts/release/cli-skill-test.mjs",
"desktop:start:prod": "OPENMELD_ENV_PRESET=prod OPENMELD_USER_FACING_CLI_COMMAND=openmeld OPENMELD_BIN=openmeld OPENMELD_GATEWAY_URL=https://gateway.openmeld.ai OPENMELD_AUTH_URL=https://auth.openmeld.ai WEB_APP_URL=https://openmeld.ai pnpm -C clients/desktop dev",
"desktop:start:canary": "node scripts/dev/desktop-pilot.mjs canary",
"desktop:canary": "pnpm run desktop:start:canary",
"desktop:package:private": "pnpm --dir clients/desktop build:contract-deps && node scripts/desktop/private-package.mjs",
"desktop:package:installed": "pnpm --dir clients/desktop build:contract-deps && node scripts/desktop/installed-package.mjs",
"desktop:package:acceptance": "node scripts/desktop/package-mode.mjs acceptance",
"desktop:package:internal-preview": "node scripts/desktop/package-mode.mjs internal-preview",
"desktop:package:production-preview": "node scripts/desktop/package-mode.mjs production-preview",
"release:desktop-preview:upload-candidate": "pnpm --filter @openmeld/schemas build && node scripts/release/desktop-preview.mjs upload-candidate",
"desktop:start:package": "node scripts/dev/desktop-pilot.mjs --app",
"openmeld:dev": "node scripts/dev/openmeld-dev.mjs",
"openmeld:dev:install": "node scripts/dev/openmeld-dev-shortcut.mjs install",
"openmeld:dev:remove": "node scripts/dev/openmeld-dev-shortcut.mjs remove",
"db:check": "pnpm --filter @openmeld/db run db:check",
"db:inspect:dev": "pnpm --filter @openmeld/db run db:inspect:dev",
"db:generate": "pnpm --filter @openmeld/db run db:generate",
"db:migrate:dev": "pnpm --filter @openmeld/db run db:migrate:dev",
"db:migrate:prod": "pnpm --filter @openmeld/db run db:migrate:prod",
"db:verify:dev": "pnpm --filter @openmeld/db run db:verify:dev",
"db:verify:prod": "pnpm --filter @openmeld/db run db:verify:prod",
"db:optimize:dev": "pnpm --filter @openmeld/db run db:optimize:dev",
"db:optimize:prod": "pnpm --filter @openmeld/db run db:optimize:prod",
"db:studio": "pnpm --filter @openmeld/db run db:studio",
"openmeld:canary:install": "node scripts/dev/openmeld-canary.mjs install",
"openmeld:canary:remove": "node scripts/dev/openmeld-canary.mjs remove",
"openmeld:canary:cleanup": "node scripts/dev/verify-openmeld-canary-service.mjs --cleanup",
"openmeld:canary:verify-service": "node scripts/dev/verify-openmeld-canary-service.mjs",
"openmeld:canary:verify-journey": "node scripts/dev/verify-openmeld-canary-journey.mjs",
"openmeld:canary:verify-release": "node scripts/dev/verify-openmeld-canary-release.mjs",
"release:desktop-preview:build": "pnpm --filter @openmeld/schemas build && node scripts/release/desktop-preview.mjs build",
"release:desktop-preview:upload": "pnpm --filter @openmeld/schemas build && node scripts/release/desktop-preview.mjs upload",
"cli:binary:serve": "node scripts/dev/serve-cli-binary.mjs",
"cli:binary:serve:worktree": "node scripts/dev/serve-cli-binary.mjs --worktree",
"cli:binary:smoke": "node --experimental-strip-types scripts/e2e/cli-binary-smoke.mjs",
"cli:binary:prod-smoke": "pnpm --filter @openmeld/schemas build && node --experimental-strip-types scripts/e2e/cli-binary-prod-setup-smoke.mjs",
"verify:release-ready": "node scripts/release/verify-release-ready.mjs",
"verify:cli-skill": "node scripts/release/cli-skill-check.mjs",
"sync:theme-background": "node scripts/ui/sync-theme-background.mjs",
"verify:theme-background": "node --test scripts/ui/sync-theme-background.test.mjs && node scripts/ui/sync-theme-background.mjs --check",
"verify:worker-zod-imports": "node --test scripts/cloudflare/worker-zod-import-contract.test.mjs && node scripts/cloudflare/worker-zod-import-contract.mjs",
"verify:release-workflows": "pnpm --filter @openmeld/schemas build && node --test scripts/ci/check-candidate-code-quality.test.mjs scripts/ci/download-prior-final-candidate-evidence.test.mjs scripts/ci/final-candidate-bootstrap.test.mjs scripts/ci/final-candidate-handoff.test.mjs scripts/ci/final-candidate-merge-group-control.test.mjs scripts/ci/final-candidate-observer.test.mjs scripts/ci/final-candidate-policy.test.mjs scripts/ci/final-candidate-publisher.test.mjs scripts/ci/final-candidate-resource-policy.test.mjs scripts/ci/final-candidate-reuse.test.mjs scripts/ci/final-candidate-workflow.test.mjs scripts/ci/final-candidate-run-context.test.mjs scripts/ci/final-candidate.test.mjs scripts/ci/install-isolated-candidate-dependencies.test.mjs scripts/ci/local-final-candidate-readiness.test.mjs scripts/ci/merge-group-final-candidate-workflow.test.mjs scripts/ci/resolve-approved-native-builds.test.mjs scripts/ci/trusted-final-candidate-entrypoint.test.mjs scripts/ci/trusted-git-network.test.mjs scripts/ci/verify-trusted-candidate-entrypoints.test.mjs scripts/dev/affected-workspaces.test.mjs scripts/dev/verify-pr.test.mjs scripts/dev/dev-status.test.mjs scripts/dev/run-isolated-worker-dev.test.mjs scripts/release/deploy.test.mjs scripts/release/deploy-workflow.test.mjs scripts/release/deploy-core-worker.test.mjs scripts/release/publish-cli.test.mjs scripts/release/pre-push-release-ready.test.mjs scripts/release/postgresql-cutover-config.test.mjs scripts/release/cli-skill-check.test.mjs scripts/release/cli-skill-history.test.mjs scripts/release/cli-skill-test.test.mjs scripts/release/production-artifact-check.test.mjs scripts/release/renderer-build.test.mjs scripts/release/npm-cli-artifact.test.mjs scripts/release/upload-cli-binary.test.mjs scripts/release/staging-release.test.mjs scripts/release/website-domain-migration.test.mjs scripts/cloudflare/core-startup-admission.test.mjs",
"verify:doppler-environment": "node --test scripts/dev/doppler-environment.test.mjs scripts/dev/dev-isolated.test.mjs",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"typecheck": "turbo run typecheck",
"test": "node scripts/dev/run-local-heavy.mjs pnpm exec turbo run test --filter=!// --concurrency=2",
"test:affected": "node scripts/dev/turbo-affected.mjs test",
"test:integration": "node scripts/dev/run-local-heavy.mjs pnpm exec turbo run test:integration --filter=!// --concurrency=1",
"test:integration:affected": "node scripts/dev/turbo-affected.mjs test:integration",
"test:runtime": "node scripts/dev/run-local-heavy.mjs pnpm exec turbo run test:runtime --filter=!// --concurrency=1",
"test:full": "pnpm test && pnpm run test:integration && pnpm run test:runtime",
"check:affected": "node scripts/dev/turbo-affected.mjs check",
"verify:changelog": "node --test scripts/changelog/changelog.test.mjs && pnpm run changelog:check",
"verify:model-catalog": "node --test scripts/model-catalog/*.test.mjs",
"verify:pre-push:checks": "pnpm sherif && pnpm run verify:changelog && pnpm run verify:docs -- --strict && pnpm run verify:release-workflows && pnpm run verify:doppler-environment && pnpm run verify:cloudflare:env-contract && pnpm run verify:theme-background && pnpm run verify:worker-zod-imports && bash scripts/ci/check-retired-identifiers.sh",
"verify:pre-push": "pnpm run verify:pre-push:checks && pnpm run verify:release-ready",
"verify:pre-push:full": "node scripts/dev/turbo-affected.mjs check -- --concurrency=2 && node scripts/dev/turbo-affected.mjs test -- --concurrency=2 && pnpm run verify:release-ready",
"verify:pr": "node scripts/dev/verify-pr.mjs",
"verify:pr:full": "node scripts/dev/turbo-affected.mjs check -- --concurrency=2 && node scripts/dev/turbo-affected.mjs test -- --concurrency=2 && node scripts/dev/turbo-affected.mjs test:integration -- --concurrency=1",
"verify:docs": "node --test scripts/agents/claude-bash-guard.test.mjs scripts/docs/verify-docs-lifecycle.test.mjs && node scripts/docs/verify-docs-lifecycle.mjs",
"test:e2e:auth:http": "bash scripts/e2e/auth-profile-http-smoke.sh",
"test:e2e:gateway:cli": "bash scripts/e2e/gateway-http-smoke.sh",
"test:e2e:gateway:http": "bash scripts/e2e/gateway-http-smoke.sh",
"test:e2e:journeys:cli": "bash scripts/e2e/openmeld-main-journeys-smoke.sh",
"test:e2e:service-readiness:cli": "node scripts/e2e/service-readiness-smoke.mjs",
"test:local-execution:decision-matrix": "node --test scripts/local-execution/test/**/*.test.mjs",
"verify:local-execution:decision-matrix": "pnpm run test:local-execution:decision-matrix && turbo run test --filter=@openmeld/local-execution --filter=@openmeld/adapter-core --filter=@openmeld/adapter-codex",
"verify:local-execution:control-plane": "turbo run test check --filter=@openmeld/schemas --filter=@openmeld/local-execution && turbo run test:daemon --filter=openmeld",
"verify:local-execution:scheduler-fairness": "turbo run test:scheduler:policy --filter=@openmeld/local-execution",
"verify:local-execution:runtime-integration": "turbo run test:runtime:multi-binding --filter=@openmeld/local-execution",
"verify:local-execution:runtime-replay-proof": "turbo run test:runtime:replay-proof --filter=@openmeld/local-execution",
"verify:local-execution:runtime-observability-proof": "turbo run test:runtime:observability-proof --filter=@openmeld/local-execution",
"verify:local-execution:data-plane": "pnpm run verify:local-execution:scheduler-fairness && pnpm run verify:local-execution:runtime-integration && pnpm run verify:local-execution:runtime-replay-proof && pnpm run verify:local-execution:runtime-observability-proof && turbo run test:data-plane:contract --filter=@openmeld/local-execution && turbo run test:data-plane:dedupe-pre-adapter --filter=@openmeld/local-execution && pnpm --filter @openmeld/schemas exec vitest run tests/daemon/task-result.test.ts && turbo run test:data-plane:result-envelope check --filter=@openmeld/local-execution",
"verify:local-execution:ledger-and-runtime": "turbo run test:ledger-recovery:boundary --filter=@openmeld/local-execution && turbo run test:runtime:task-orchestrator --filter=@openmeld/local-execution && turbo run test check --filter=@openmeld/local-execution",
"verify:local-execution:adapter-and-mention-dispatch": "turbo run check test --filter=@openmeld/adapter-core --filter=@openmeld/adapter-codex && turbo run test:mention-dispatch --filter=@openmeld/local-execution && turbo run test:runtime:task-orchestrator check --filter=@openmeld/local-execution",
"verify:local-execution:service-lifecycle": "turbo run build --filter=openmeld && turbo run test:daemon --filter=openmeld && node scripts/local-execution/verify-service-lifecycle.mjs",
"verify:local-execution:liveness-guardrails": "node scripts/local-execution/verify-liveness-guardrails.mjs",
"verify:local-execution:real-dogfooding": "node scripts/local-execution/verify-real-dogfooding.mjs",
"verify:runtime-token-contract": "node scripts/local-execution/verify-runtime-token-contract.mjs",
"verify:cloudflare:env-contract": "pnpm --dir services/auth run build:workspace-dependencies && node --test scripts/cloudflare/bootstrap-openmeld-worker-identities.test.mjs scripts/cloudflare/provision-openmeld-resources.test.mjs scripts/cloudflare/staging-worker-config.test.mjs scripts/cloudflare/sync-worker-secrets.test.mjs services/auth/scripts/build-lazy-runtime-modules.test.mjs services/remote-agent/scripts/write-flue-wrangler-env-config.test.mjs && node --experimental-strip-types scripts/cloudflare/verify-worker-env-contract.mjs",
"staging:plan": "node scripts/release/staging-release.mjs plan",
"staging:deploy": "node scripts/release/staging-release.mjs deploy",
"staging:verify": "node scripts/release/staging-release.mjs verify",
"staging:cli:plan": "node scripts/release/staging-cli-channel.mjs plan",
"staging:cli:publish": "node scripts/release/staging-cli-channel.mjs publish",
"staging:cli:verify": "node scripts/release/staging-cli-channel.mjs verify",
"staging:smoke:computer": "node scripts/e2e/staging-computer-update-smoke.mjs",
"staging:work-coordinator:prepare-identities": "doppler run --project openmeld-staging-smoke --config stg_smoke -- node scripts/e2e/staging-work-coordinator-fixture.mjs prepare-identities",
"staging:work-coordinator:summary": "node scripts/e2e/staging-work-coordinator-fixture.mjs summary",
"verify:cloudflare:production-queues": "node --experimental-strip-types scripts/cloudflare/verify-production-queues.mjs",
"verify:observability": "node scripts/cloudflare/verify-observability-contract.mjs && node --test scripts/cloudflare/runtime-evidence-contract.test.mjs scripts/cloudflare/query-runtime-evidence.test.mjs scripts/cloudflare/query-center-agent-performance.test.mjs scripts/cloudflare/tail-runtime-evidence.test.mjs scripts/cloudflare/verify-observability-contract.test.mjs scripts/ops/trace.test.mjs scripts/ops/diagnostic-report.test.mjs scripts/ops/remote-agent-guardrails.test.mjs && pnpm --filter @openmeld/schemas exec vitest run tests/http/http-schemas.test.ts tests/http/center-agent-performance.test.ts && pnpm --filter @openmeld/core exec vitest run --config vitest.config.ts src/__tests__/final-visible-outcome-runtime-evidence.test.ts src/__tests__/daemon-runtime-evidence.test.ts && pnpm --filter openmeld-web exec vitest run src/lib/openmeld-api/proxy.test.ts && pnpm --filter @openmeld/gateway exec vitest run tests/http-forwarding.test.ts",
"evidence:bundle:auth": "pnpm --filter @openmeld/auth-worker run build:workspace-dependencies && node scripts/cloudflare/worker-bundle-evidence.mjs --worker auth --config services/auth/wrangler.jsonc --env prod --output dev-tmp/auth-bundle-evidence.json --forbid mailchecker --forbid better-auth-harmony",
"evidence:bundle:core": "pnpm --filter @openmeld/core run build:workspace-dependencies && node scripts/cloudflare/worker-bundle-evidence.mjs --worker core --config services/core/wrangler.jsonc --env prod --output dev-tmp/core-bundle-evidence.json --forbid mailchecker --forbid better-auth-harmony --forbid auth.config --forbid @getzep/zep-cloud --forbid @js-temporal/polyfill --forbid node_modules/croner --forbid packages/routine-schedule/dist/index.js --forbid node_modules/.pnpm/yaml@ --forbid node_modules/.pnpm/slackify-markdown@5.0.0",
"evidence:startup:core": "node scripts/cloudflare/worker-startup-evidence.mjs --worker core --config services/core/wrangler.jsonc --env prod --output dev-tmp/core-startup-evidence.json --profile-output dev-tmp/core-startup.cpuprofile",
"verify:lark-platform-provider": "node scripts/lark-platform/provider-gate.mjs",
"verify:lark-platform-sdk-bundle": "wrangler deploy scripts/lark-platform/sdk-worker-spike.ts --dry-run --outdir dev-tmp/lark-platform-sdk-worker-dist --name openmeld-lark-sdk-spike --compatibility-date 2026-02-03 --compatibility-flags nodejs_compat",
"test:lark-platform-provider": "node --test scripts/lark-platform/provider-gate.test.mjs",
"ops:trace": "node scripts/ops/trace.mjs",
"ops:diagnostic-report": "node scripts/ops/diagnostic-report.mjs",
"ops:wake-failures": "node scripts/ops/wake-failures.mjs",
"ops:feedback-inbox": "node scripts/ops/feedback-inbox.mjs",
"ops:agent-activity-duration-backfill": "node scripts/ops/agent-activity-duration-backfill.mjs",
"ops:remote-agent": "node scripts/ops/remote-agent-guardrails.mjs",
"ops:remote-agent-slack": "node scripts/ops/remote-agent-slack-bindings.mjs",
"ops:cf:tail": "node scripts/cloudflare/tail-runtime-evidence.mjs",
"ops:cf:query": "node scripts/cloudflare/query-runtime-evidence.mjs",
"ops:cf:center-agent-performance": "node scripts/cloudflare/query-center-agent-performance.mjs",
"eval:center-agent-tool-choice": "node --test scripts/evals/center-agent-tool-choice.test.mjs",
"cf-typegen": "turbo run cf-typegen",
"check": "node scripts/dev/run-local-heavy.mjs pnpm run check:workspace",
"check:workspace": "pnpm sherif && biome check --no-errors-on-unmatched ./ && pnpm run verify:cloudflare:env-contract && pnpm run verify:runtime-token-contract && pnpm run verify:theme-background && turbo run check --concurrency=2",
"sherif": "sherif",
"sherif:fix": "sherif --fix -i @types/node",
"fix": "pnpm sherif:fix && biome check --write --no-errors-on-unmatched ./",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "2.3.13",
"@larksuiteoapi/node-sdk": "1.71.1",
"@typescript/native": "npm:typescript@7.0.2",
"@typescript/typescript6": "6.0.2",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"prettier": "^3.7.4",
"sherif": "1.13.0",
"turbo": "2.10.12",
"typescript": "npm:@typescript/typescript6@6.0.2",
"ultracite": "7.1.5",
"wrangler": "catalog:",
"yaml": "2.9.1"
},
"packageManager": "pnpm@10.30.0",
"sherif": {
"ignoreDependency": [
"better-sqlite3",
"vite@7.3.7",
"vite@8.1.6"
]
},
"engines": {
"node": "24.x"
},
"lint-staged": {
"*.{js,jsx,mjs,cjs,ts,tsx,json,jsonc,css,scss,md,mdx}": [
"pnpm exec biome check --write --no-errors-on-unmatched"
]
}
}