{ "name": "apicity", "version": "0.1.0", "private": true, "description": "Standalone AI provider packages — @apicity/openai, @apicity/xai, @apicity/fal, @apicity/google, @apicity/kimicoding, @apicity/kie, @apicity/anthropic, @apicity/fireworks, @apicity/alibaba, @apicity/binance, @apicity/dropbox, @apicity/elevenlabs, @apicity/s3, @apicity/b2, @apicity/free-media-upload, @apicity/x, @apicity/meta, @apicity/polymarket, @apicity/youtube, @apicity/dolthub, @apicity/simplefunctions, @apicity/telegram, @apicity/quo, @apicity/openligadb, @apicity/openf1, @apicity/thesportsdb, @apicity/endless, @apicity/tiktok-creative-center, @apicity/omkar, @apicity/cost, @apicity/machgen, @apicity/wavespeed, and @apicity/cli", "type": "module", "engines": { "node": ">=18.12.0", "pnpm": ">=10.0.0" }, "packageManager": "pnpm@10.30.3", "workspaces": [ "packages/*/*", "examples/*" ], "scripts": { "har:promote": "tsx scripts/har-promote.mjs", "build": "pnpm run gen:examples && pnpm run gen:call-shapes && pnpm run gen:frontier && pnpm -r --filter './packages/**' run build && pnpm run doc-gen", "build:dolthub": "pnpm --filter @apicity/dolthub run build", "build:dropbox": "pnpm --filter @apicity/dropbox run build", "build:google": "pnpm --filter @apicity/google run build", "build:googleflow": "pnpm --filter @apicity/googleflow run build", "build:openai": "pnpm --filter @apicity/openai run build", "build:kimicoding": "pnpm --filter @apicity/kimicoding run build", "build:zaicoding": "pnpm --filter @apicity/zaicoding run build", "build:kie": "pnpm --filter @apicity/kie run build", "build:xai": "pnpm --filter @apicity/xai run build", "build:fal": "pnpm --filter @apicity/fal run build", "build:fireworks": "pnpm --filter @apicity/fireworks run build", "build:anthropic": "pnpm --filter @apicity/anthropic run build", "build:alibaba": "pnpm --filter @apicity/alibaba run build", "build:binance": "pnpm --filter @apicity/binance run build", "build:openligadb": "pnpm --filter @apicity/openligadb run build", "build:openf1": "pnpm --filter @apicity/openf1 run build", "build:endless": "pnpm --filter @apicity/endless run build", "build:tiktok-creative-center": "pnpm --filter @apicity/tiktok-creative-center run build", "build:omkar": "pnpm --filter @apicity/omkar run build", "build:wavespeed": "pnpm --filter @apicity/wavespeed run build", "build:nunchux": "pnpm --filter @apicity/nunchux run build", "build:elevenlabs": "pnpm --filter @apicity/elevenlabs run build", "build:s3": "pnpm --filter @apicity/s3 run build", "build:b2": "pnpm --filter @apicity/b2 run build", "build:x": "pnpm --filter @apicity/x run build", "build:meta": "pnpm --filter @apicity/meta run build", "build:youtube": "pnpm --filter @apicity/youtube run build", "build:telegram": "pnpm --filter @apicity/telegram run build", "build:quo": "pnpm --filter @apicity/quo run build", "build:thesportsdb": "pnpm --filter @apicity/thesportsdb run build", "build:polymarket": "pnpm --filter @apicity/polymarket run build", "build:simplefunctions": "pnpm --filter @apicity/simplefunctions run build", "build:free-media-upload": "pnpm --filter @apicity/free-media-upload run build", "build:cli": "pnpm --filter @apicity/cli run build", "build:cost": "pnpm --filter @apicity/cost run build", "gen:examples": "node scripts/extract-har-examples.mjs", "gen:examples:check": "node scripts/extract-har-examples.mjs --check", "gen:examples:report": "node scripts/extract-har-examples.mjs --report", "gen:call-shapes": "node scripts/gen-call-shapes.mjs", "gen:call-shapes:check": "node scripts/gen-call-shapes.mjs --check", "gen:frontier": "node scripts/gen-frontier.mjs", "gen:frontier:check": "node scripts/gen-frontier.mjs --check", "fetch:frontier": "node scripts/fetch-frontier.mjs", "gen:kie-pricing-manifest": "node scripts/refresh-kie-pricing-manifest.mjs", "gen:kie-pricing-manifest:check": "node scripts/refresh-kie-pricing-manifest.mjs --check", "check:kie-feed-drift": "tsx scripts/kie-feed-drift.mjs", "gen:shared": "node scripts/sync-shared-src.mjs", "gen:shared:check": "node scripts/sync-shared-src.mjs --check", "doc-gen": "node scripts/doc-gen.mjs", "doc-gen:check": "node scripts/doc-gen.mjs --check", "check:readme-types": "node scripts/check-readme-types.mjs", "doc-gen:openai": "node scripts/doc-gen.mjs openai", "doc-gen:xai": "node scripts/doc-gen.mjs xai", "doc-gen:dolthub": "node scripts/doc-gen.mjs dolthub", "doc-gen:dropbox": "node scripts/doc-gen.mjs dropbox", "doc-gen:google": "node scripts/doc-gen.mjs google", "doc-gen:googleflow": "node scripts/doc-gen.mjs googleflow", "doc-gen:anthropic": "node scripts/doc-gen.mjs anthropic", "doc-gen:fireworks": "node scripts/doc-gen.mjs fireworks", "doc-gen:fal": "node scripts/doc-gen.mjs fal", "doc-gen:kimicoding": "node scripts/doc-gen.mjs kimicoding", "doc-gen:alibaba": "node scripts/doc-gen.mjs alibaba", "doc-gen:binance": "node scripts/doc-gen.mjs binance", "doc-gen:openligadb": "node scripts/doc-gen.mjs openligadb", "doc-gen:openf1": "node scripts/doc-gen.mjs openf1", "doc-gen:endless": "node scripts/doc-gen.mjs endless", "doc-gen:tiktok-creative-center": "node scripts/doc-gen.mjs tiktok-creative-center", "doc-gen:omkar": "node scripts/doc-gen.mjs omkar", "doc-gen:wavespeed": "node scripts/doc-gen.mjs wavespeed", "doc-gen:nunchux": "node scripts/doc-gen.mjs nunchux", "doc-gen:elevenlabs": "node scripts/doc-gen.mjs elevenlabs", "doc-gen:s3": "node scripts/doc-gen.mjs s3", "doc-gen:b2": "node scripts/doc-gen.mjs b2", "doc-gen:kie": "node scripts/doc-gen.mjs kie", "doc-gen:polymarket": "node scripts/doc-gen.mjs polymarket", "doc-gen:free-media-upload": "node scripts/doc-gen.mjs free-media-upload", "doc-gen:youtube": "node scripts/doc-gen.mjs youtube", "doc-gen:zaicoding": "node scripts/doc-gen.mjs zaicoding", "doc-gen:telegram": "node scripts/doc-gen.mjs telegram", "doc-gen:quo": "node scripts/doc-gen.mjs quo", "doc-gen:thesportsdb": "node scripts/doc-gen.mjs thesportsdb", "doc-gen:x": "node scripts/doc-gen.mjs x", "doc-gen:meta": "node scripts/doc-gen.mjs meta", "doc-gen:simplefunctions": "node scripts/doc-gen.mjs simplefunctions", "clean": "rm -rf packages/provider/*/dist", "typecheck": "pnpm -r --filter './packages/**' exec tsc --noEmit -p tsconfig.json && tsc --noEmit -p tests/tsconfig.json", "typecheck:tests": "tsc --noEmit -p tests/tsconfig.json", "typecheck:provider": "node scripts/typecheck-provider.mjs", "lint": "pnpm run format:check && pnpm run lint:full", "lint:full": "pnpm run lint:eslint && pnpm run lint:repo", "lint:after-format": "pnpm run lint:full", "lint:eslint": "node --max-old-space-size=4096 ./node_modules/eslint/bin/eslint.js . --cache --cache-location node_modules/.cache/eslint/", "lint:fix": "node --max-old-space-size=4096 ./node_modules/eslint/bin/eslint.js . --cache --cache-location node_modules/.cache/eslint/ --fix", "lint:provider": "node scripts/lint-provider.mjs", "lint:repo": "pnpm run lint:endpoints && pnpm run lint:signatures && pnpm run lint:factory && pnpm run lint:recordings && pnpm run lint:timers && pnpm run lint:file-url-entry-guards && pnpm run lint:ignores && pnpm run gen:shared:check && pnpm run lint:compare-payloads", "lint:compare-payloads": "pnpm run build:kie --silent && node scripts/check-compare-cost-payloads.mjs", "lint:endpoints": "node scripts/check-endpoint-comments.mjs", "lint:recordings": "node scripts/check-orphan-recordings.mjs && node scripts/check-recording-secrets.mjs", "lint:signatures": "node scripts/check-endpoint-signatures.mjs", "lint:signatures:fix": "node scripts/apply-sigok-comments.mjs", "lint:factory": "node scripts/check-factory-signatures.mjs", "lint:timers": "node scripts/check-test-timers.mjs", "lint:file-url-entry-guards": "node scripts/check-file-url-entry-guards.mjs", "lint:ignores": "node scripts/check-ignore-shadow.mjs", "endpoint-map": "node scripts/endpoint-map.mjs", "namespace-shapes": "node scripts/compare-namespace-shapes.mjs", "endpoint-comments:apply": "node scripts/apply-endpoint-comments.mjs", "format": "prettier --write .", "format:changed": "node scripts/format-changed.mjs", "format:check": "prettier --check .", "test": "vitest --config tests/vitest.integration.ts", "test:run": "vitest run --config tests/vitest.integration.ts", "test:affected": "node scripts/test-affected.mjs", "test:provider": "node scripts/test-provider.mjs", "test:ui": "vitest --ui --config tests/vitest.integration.ts", "test:integration": "vitest run --config tests/vitest.integration.ts", "test:integration:record-missing": "node tests/record.mjs --mode=record-missing", "test:integration:record": "node tests/record.mjs --mode=record", "test:coverage": "vitest run --config tests/vitest.integration.ts --coverage", "harness": "tsx tests/harness-serve.ts tests/recordings/", "harness:compare": "tsx tests/harness-serve.ts --compare tests/recordings/", "harness:report": "tsx tests/harness-report.ts", "harness:telegram": "tsx tests/harness-telegram.ts", "harness:screenshot": "mkdir -p tests/fixtures/harness-generated && tsx tests/harness-report.ts --out-dir tests/fixtures/harness-generated && tsx tests/harness-screenshot.ts tests/fixtures/harness-generated/harness-report.html tests/fixtures/harness-generated/harness-report.png", "harness:screenshot:media": "mkdir -p tests/fixtures/harness-generated && tsx tests/harness-report.ts --out-dir tests/fixtures/harness-generated --media-only && tsx tests/harness-screenshot.ts tests/fixtures/harness-generated/harness-report.html tests/fixtures/harness-generated/harness-report-media.png", "harness:voice": "op run --env-file=.env -- tsx tests/voice-harness.ts", "dev:record": "node tests/record.mjs --mode=record-missing", "dev:rerecord": "node tests/record.mjs --mode=record", "dev:preflight": "pnpm run format && pnpm run typecheck && pnpm run lint:after-format && pnpm run test:run", "dev:preflight:fast": "node scripts/preflight-provider.mjs", "dev:preflight:changed": "node scripts/preflight-changed.mjs", "dev:preflight:provider": "node scripts/preflight-provider.mjs", "ci:local": "pnpm run audit && pnpm run gen:examples:check && pnpm run gen:call-shapes:check && pnpm run gen:frontier:check && pnpm run gen:endpoint-pricing-keys:check && pnpm run doc-gen:check && pnpm run check:readme-types && pnpm run build && pnpm run check:packed-types && pnpm run typecheck:tests && pnpm run lint && pnpm run test:run", "audit": "node scripts/audit.mjs --audit-level=moderate", "audit:op-env": "node scripts/audit-op-env.mjs", "check:op": "op run --env-file=.env -- node scripts/check-op.mjs", "check:npm-auth": "node scripts/check-npm-auth.mjs", "check:pack-freshness": "node scripts/check-pack-freshness.mjs", "check:packed-types": "node scripts/check-packed-types.mjs", "compare:video": "pnpm run build:cost --silent && node scripts/compare-video-cost.mjs", "compare:image": "pnpm run build:cost --silent && node scripts/compare-image-cost.mjs", "build:machgen": "pnpm --filter @apicity/machgen build", "doc-gen:machgen": "node scripts/doc-gen.mjs machgen", "build:har": "pnpm --filter @apicity/har run build", "gen:endpoint-pricing-keys": "node scripts/gen-endpoint-pricing-keys.mjs", "gen:endpoint-pricing-keys:check": "node scripts/gen-endpoint-pricing-keys.mjs --check" }, "devDependencies": { "@eslint/js": "^9.39.4", "@pollyjs/adapter-fetch": "^6.0.6", "@pollyjs/core": "^6.0.6", "@pollyjs/persister-fs": "^6.0.6", "@types/node": "^20.19.42", "@types/ws": "^8.18.1", "@vitest/coverage-v8": "^4.1.12", "@vitest/ui": "^4.1.12", "eslint": "^9.39.4", "eslint-config-prettier": "^9.0.0", "eslint-plugin-prettier": "^5.5.6", "globals": "^14.0.0", "playwright": "^1.60.0", "prettier": "^3.8.4", "ts-morph": "^28.0.0", "tsx": "^4.23.15", "typescript": "^5.0.0", "typescript-eslint": "^8.61.0", "viem": "^2.52.2", "vitest": "^4.1.12", "ws": "^8.21.0", "zod": "^4.6.6" }, "overrides": { "glob": "13.0.6", "vite": "6.4.5" }, "pnpm": { "overrides": { "minimatch@<11.0.1": "11.0.1", "rollup@<4.59.0": "4.59.0", "esbuild@>=0.17.0 <0.28.1": "0.28.1", "flatted@<3.4.2": "3.4.2", "picomatch@<4.0.4": "4.0.4", "brace-expansion@<5.0.12": "5.0.12", "path-to-regexp@<0.1.13": "0.1.13", "lodash-es@<=4.17.23": "4.18.0", "glob@<=10.5.0": "13.0.6", "vite@<6.4.5": "6.4.5", "postcss@<8.5.23": "8.5.23", "ip-address@<10.3.1": "10.3.1", "fast-uri@<3.1.5": "3.1.5", "hono@<4.12.34": "4.12.34", "@hono/node-server@<2.0.10": "2.0.10", "js-yaml@<4.3.2": "4.3.2", "qs@<6.16.1": "6.16.1", "ws@>=8.0.0 <8.21.0": "8.21.0", "morgan@<1.12.1": "1.12.1", "fflate@<0.8.3": "0.8.3", "body-parser@<1.20.9": "1.20.9", "body-parser@>=2.0.0 <2.4.0": "2.4.0", "proxy-addr@<2.0.8": "2.0.8", "source-map-js@<1.2.2": "1.2.2" } }, "keywords": [ "ai", "kimicoding", "kimi", "k2p5", "anthropic", "chat", "streaming", "embeddings", "openai", "fal", "fal-ai", "google", "gemini", "alibaba", "dashscope", "qwen", "elevenlabs", "sound-effects", "tmpfiles", "typescript" ], "author": "Justin Tanner", "license": "MIT", "repository": "github:justintanner/apicity" }