-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathpackage.json
More file actions
189 lines (189 loc) · 12.2 KB
/
package.json
File metadata and controls
189 lines (189 loc) · 12.2 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
{
"name": "adcontextprotocol",
"version": "3.0.3",
"private": true,
"type": "module",
"scripts": {
"start": "bash -c 'source <(grep CONDUCTOR_PORT .env.local | sed \"s/^/export /\") && DOTENV_CONFIG_PATH=.env.local PORT=${CONDUCTOR_PORT:-3000} tsx watch server/src/index.ts'",
"start:mintlify": "bash scripts/start-mintlify.sh",
"sync:docs": "bash scripts/sync-versioned-docs.sh",
"start:stripe": "bash -c 'source <(grep CONDUCTOR_PORT .env.local | sed \"s/^/export /\") && PORT=${CONDUCTOR_PORT:-3000} && stripe listen --forward-to localhost:$PORT/api/webhooks/stripe'",
"dev": "echo 'Use docker compose up --build for local development' && exit 1",
"db:migrate": "DOTENV_CONFIG_PATH=.env.local tsx --import dotenv/config server/src/db/migrate.ts",
"build": "tsc --project server/tsconfig.json && mkdir -p dist/addie/rules && cp server/src/addie/rules/*.md dist/addie/rules/ && npm run build:schemas && npm run build:compliance && npm run build:protocol-tarball",
"build:openapi": "tsx scripts/generate-openapi.ts",
"build:addie-tools": "tsx scripts/build-addie-tool-reference.ts",
"test:addie-tools": "tsx scripts/build-addie-tool-reference.ts --check",
"build:schemas": "node scripts/build-schemas.cjs",
"build:compliance": "node scripts/build-compliance.cjs",
"build:protocol-tarball": "node scripts/build-protocol-tarball.cjs",
"build:mintlify": "cd mintlify-docs && mintlify build",
"deploy:mintlify": "mintlify deploy",
"typecheck": "tsc --project server/tsconfig.json --noEmit",
"test:schemas": "node tests/schema-validation.test.cjs",
"test:examples": "node tests/example-validation-simple.test.cjs",
"test:extensions": "node tests/extension-fields.test.cjs",
"test:extension-schemas": "node tests/extension-schemas.test.cjs",
"test:snippets": "node tests/snippet-validation.test.cjs",
"test:json-schema": "node tests/json-schema-validation.test.cjs",
"test:error-handling": "node tests/check-error-handling.cjs",
"test:composed": "node tests/composed-schema-validation.test.cjs",
"test:rejection-arm-mutex": "node tests/rejection-arm-mutual-exclusion.test.cjs",
"test:migrations": "node tests/migration-validation.test.cjs",
"test:hmac-vectors": "node --test --test-force-exit --test-timeout=30000 tests/webhook-hmac-vectors.test.cjs",
"test:hmac-signer-conformance": "node --test --test-force-exit --test-timeout=30000 tests/webhook-hmac-signer-conformance.test.cjs",
"test:transport-errors": "node --test --test-force-exit --test-timeout=30000 tests/transport-error-mapping.test.cjs",
"test:targeting-overlay-vectors": "node --test --test-force-exit --test-timeout=30000 tests/media-buy-targeting-overlay-vectors.test.cjs",
"test:storyboard-scoping": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-scoping.test.cjs",
"test:storyboard-branch-sets": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-branch-sets.test.cjs",
"test:storyboard-provides-state-for": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-provides-state-for.test.cjs",
"test:storyboard-contradictions": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-contradictions.test.cjs",
"test:storyboard-context-entity": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-context-entity.test.cjs",
"test:storyboard-auth-shape": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-auth-shape.test.cjs",
"test:storyboard-test-kits": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-test-kits.test.cjs",
"test:storyboard-sample-request-schema": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-sample-request-schema.test.cjs",
"test:storyboard-response-schema": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-response-schema.test.cjs",
"test:storyboard-context-output-paths": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-context-output-paths.test.cjs",
"test:storyboard-validations-paths": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-validations-paths.test.cjs",
"test:storyboard-check-enum": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-check-enum.test.cjs",
"test:storyboard-advisory-expiry": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-advisory-expiry.test.cjs",
"test:storyboard-raw-mode-required": "node --test --test-force-exit --test-timeout=30000 tests/lint-storyboard-raw-mode-required.test.cjs",
"test:storyboard-doc-parity": "node --test --test-force-exit --test-timeout=30000 tests/lint-universal-storyboard-doc-parity.test.cjs",
"test:pagination-invariant": "node --test --test-force-exit --test-timeout=30000 tests/lint-pagination-invariant.test.cjs",
"test:version-envelope": "node --test --test-force-exit --test-timeout=30000 tests/lint-version-envelope.test.cjs",
"test:test-dynamic-imports": "node --test --test-force-exit --test-timeout=30000 tests/lint-test-dynamic-imports.test.cjs",
"test:callapi-state-change": "node --test --test-force-exit --test-timeout=30000 tests/lint-callapi-state-change.test.cjs",
"test:build-schemas-hoist-enums": "node --test --test-force-exit --test-timeout=30000 tests/build-schemas-hoist-enums.test.cjs",
"test:error-codes": "node scripts/lint-error-codes.cjs",
"test:substitution-vector-names": "node scripts/lint-substitution-vector-names.cjs",
"test:unit": "vitest run --dir tests/ --pool=threads",
"test:redteam": "tsx server/src/addie/testing/redteam-cli.ts",
"test:server-unit": "vitest run server/tests/unit/",
"test:server-integration": "vitest run server/tests/integration --config server/vitest.config.ts",
"test:openapi": "tsx scripts/generate-openapi.ts && git diff --exit-code static/openapi/registry.yaml || (echo 'OpenAPI spec is out of date. Run: npm run build:openapi' && exit 1)",
"test:registry": "vitest run server/tests --exclude 'server/tests/simulation/**'",
"test:simulation": "vitest run server/tests/simulation/scenarios --pool forks --poolOptions.forks.singleFork --testTimeout 120000",
"test:docker": "docker compose -f docker-compose.test.yml up --build --abort-on-container-exit",
"test:docs-nav": "node tests/docs-nav-validation.test.cjs",
"test:platform-agnostic": "node tests/check-platform-agnostic.cjs",
"test:oneof-discriminators": "node scripts/audit-oneof.mjs --check",
"audit:oneof": "node scripts/audit-oneof.mjs",
"test": "npm run test:docs-nav && npm run test:schemas && npm run test:examples && npm run test:extensions && npm run test:extension-schemas && npm run test:error-handling && npm run test:json-schema && npm run test:composed && npm run test:rejection-arm-mutex && npm run test:migrations && npm run test:hmac-vectors && npm run test:hmac-signer-conformance && npm run test:transport-errors && npm run test:targeting-overlay-vectors && npm run test:storyboard-scoping && npm run test:storyboard-branch-sets && npm run test:storyboard-provides-state-for && npm run test:storyboard-contradictions && npm run test:storyboard-context-entity && npm run test:storyboard-auth-shape && npm run test:storyboard-test-kits && npm run test:storyboard-sample-request-schema && npm run test:storyboard-response-schema && npm run test:storyboard-context-output-paths && npm run test:storyboard-validations-paths && npm run test:storyboard-check-enum && npm run test:storyboard-advisory-expiry && npm run test:storyboard-raw-mode-required && npm run test:storyboard-doc-parity && npm run test:pagination-invariant && npm run test:version-envelope && npm run test:test-dynamic-imports && npm run test:callapi-state-change && npm run test:build-schemas-hoist-enums && npm run test:error-codes && npm run test:substitution-vector-names && npm run test:platform-agnostic && npm run test:oneof-discriminators && npm run test:unit && npm run test:server-unit && npm run test:openapi && npm run typecheck",
"test:all": "npm run test:schemas && npm run test:examples && npm run test:extensions && npm run test:error-handling && npm run test:snippets && npm run typecheck",
"precommit": "bash scripts/with-timeout.sh 60 npm run test:unit && npm run test:test-dynamic-imports && npm run test:callapi-state-change && npm run typecheck",
"test:storyboards": "bash scripts/run-storyboards-matrix.sh",
"prepare": "husky",
"changeset": "changeset",
"version": "changeset version && npm run build:schemas -- --release && npm run build:compliance -- --release && npm run build:protocol-tarball -- --release && npm run sign:protocol-tarball",
"sign:protocol-tarball": "bash scripts/sign-protocol-tarball.sh",
"update-schema-versions": "echo 'Schema versioning is now handled by build:schemas script'",
"release": "npm run version && npm test && npm run build && git add -A && git commit -m 'Version packages' && git push",
"verify-version-sync": "node scripts/verify-version-sync.cjs",
"check:registry": "node scripts/check-registry-completeness.cjs",
"check:x-entity-gaps": "node scripts/check-x-entity-gaps.cjs",
"check:seo": "node scripts/check-seo-metadata.cjs",
"check:owned-links": "node scripts/check-owned-links.js",
"check:images": "bash scripts/check-image-quality.sh",
"lint:schema-links": "node scripts/lint-schema-links.mjs --check",
"fix:schema-links": "node scripts/lint-schema-links.mjs",
"test:schema-links": "node scripts/remark-schema-links/test.mjs",
"dev:docs": "node scripts/dev-docs.mjs"
},
"dependencies": {
"@adcp/sdk": "^6.11.0",
"@anthropic-ai/sdk": "^0.91.1",
"@asteasolutions/zod-to-openapi": "^8.5.0",
"@contentauth/c2pa-node": "^0.5.4",
"@google-cloud/kms": "^5.4.0",
"@google/generative-ai": "^0.24.1",
"@modelcontextprotocol/sdk": "^1.28.0",
"@mozilla/readability": "^0.6.0",
"@opentelemetry/api-logs": "^0.215.0",
"@opentelemetry/exporter-logs-otlp-http": "^0.215.0",
"@opentelemetry/resources": "^2.7.0",
"@opentelemetry/sdk-logs": "^0.215.0",
"@opentelemetry/semantic-conventions": "^1.40.0",
"@slack/bolt": "^4.7.1",
"@slack/web-api": "^7.15.1",
"@types/jsonwebtoken": "^9.0.10",
"@workos-inc/node": "^9.1.1",
"@workos-inc/widgets": "^1.10.2",
"axios": "^1.13.6",
"canonicalize": "3.0.0",
"cookie-parser": "^1.4.7",
"csv-parse": "^6.2.1",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"express-rate-limit": "^8.4.1",
"file-type": "^22.0.1",
"free-email-domains": "^1.2.26",
"googleapis": "^171.4.0",
"isomorphic-dompurify": "^3.10.0",
"jose": "^6.2.2",
"jsonwebtoken": "^9.0.3",
"linkedom": "^0.18.12",
"mammoth": "^1.12.0",
"marked": "^18.0.2",
"multer": "^2.1.1",
"pdf-parse": "^2.4.5",
"pg": "^8.20.0",
"pino": "^10.3.1",
"pino-pretty": "^13.1.3",
"posthog-node": "^5.30.4",
"resend": "^6.12.2",
"rss-parser": "^3.13.0",
"semver": "^7.7.2",
"sharp": "^0.34.5",
"stripe": "^22.1.0",
"svix": "^1.92.2",
"undici": "^7.24.5",
"whoiser": "^2.0.0-beta.10",
"ws": "^8.20.0",
"yaml": "^2.8.3",
"yauzl": "^3.2.1",
"zod": "^4.3.6"
},
"devDependencies": {
"@changesets/cli": "^2.31.0",
"@types/cookie-parser": "^1.4.10",
"@types/dompurify": "^3.2.0",
"@types/escape-html": "^1.0.4",
"@types/express": "^5.0.6",
"@types/multer": "^2.1.0",
"@types/node": "^22.15.0",
"@types/pg": "^8.20.0",
"@types/semver": "^7.7.1",
"@types/supertest": "^7.2.0",
"@types/ws": "^8.18.1",
"@types/yauzl": "^2.10.3",
"ajv": "^8.20.0",
"ajv-formats": "^3.0.1",
"c8": "^11.0.0",
"concurrently": "^9.2.1",
"glob": "^13.0.6",
"husky": "^9.1.7",
"jsdom": "^29.0.1",
"mintlify": "^4.2.531",
"msw": "^2.13.6",
"puppeteer": "^24.42.0",
"supertest": "^7.2.2",
"tar": "^6.2.1",
"tsx": "^4.21.0",
"typescript": "~5.9.3",
"vitest": "^4.1.5"
},
"engines": {
"node": ">=22.22.0"
},
"overrides": {
"webpack-dev-server": "^5.2.2",
"cookie": "^0.7.2",
"tar": "^6.2.1",
"js-yaml": "^4.1.1",
"axios": "^1.13.6",
"@types/express-serve-static-core": "5.1.0",
"zod": "$zod",
"react": "^19.2.0",
"react-dom": "^19.2.0"
}
}