mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 04:36:26 +00:00
* perf(cli): cut CLI startup overhead with lean client, lazy dispatch, and esbuild bundling - Add lean protocol codec and @getpaseo/client/node/lean entry that skip ws-outbound.aot.js and full Zod message schemas, and dynamically import @getpaseo/relay only for pairing-offer/E2EE targets - Replace eager command imports in packages/cli/src/cli.ts with a static command manifest + lazy dynamic imports, remove duplicate createCli() in run.ts, and lazy-load yaml/chalk in output rendering - Extract zero-Zod PID, home, and credential helpers to @getpaseo/server/daemon-files - Bundle @getpaseo/cli with esbuild code splitting (--splitting --format=esm --minify) and update scripts/trace-daemon.mjs - Fast-path complete agent UUIDs in resolveAgentEntry() via fetchAgent() without paginating archived agents * fix(client): generate zero-Zod schema defaults for lean protocol codec - Generate message-defaults.ts from Zod protocol schemas inside generate-validation-aot.mjs (50 outbound + 11 inbound tables, agent snapshot defaults, legacy transform fallbacks, and hello.rejected reasons) - Apply generated defaults in leanProtocolCodec so older daemons get the same defaulted fields as strictProtocolCodec without loading Zod or ws-outbound.aot.js - Add strict-vs-lean parity tests across legacy outbound, inbound, and status payloads - Deduplicate sync/async CLI renderer dispatch between render.ts and render-async.ts - Switch startup-boundary runtime hook test to module.registerHooks + synchronous stderr flush and it.skipIf for missing dist * fix(protocol): support prefault and reject unlisted non-pure schemas in defaults generator - Support Zod .prefault() nodes directly in message-defaults.ts (e.g., pull_request_timeline_response with omitted payload) - Fail generate:validators loudly if any new .catch() or .transform()/.preprocess() schema is added without a lean rule or explicit legacy allowlist entry - Add pull_request_timeline_response omitted-payload parity test to lean.test.ts
71 lines
2.1 KiB
JSON
71 lines
2.1 KiB
JSON
{
|
|
"name": "@getpaseo/client",
|
|
"version": "0.18.1",
|
|
"description": "Paseo client SDK package",
|
|
"license": "Apache-2.0",
|
|
"files": [
|
|
"dist",
|
|
"!dist/**/*.map",
|
|
"README.md"
|
|
],
|
|
"type": "module",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./internal/daemon-client": {
|
|
"types": "./dist/daemon-client.d.ts",
|
|
"default": "./dist/daemon-client.js"
|
|
},
|
|
"./internal/daemon-client-core": {
|
|
"types": "./dist/daemon-client-core.d.ts",
|
|
"default": "./dist/daemon-client-core.js"
|
|
},
|
|
"./internal/daemon-client-transport-types": {
|
|
"types": "./dist/daemon-client-transport-types.d.ts",
|
|
"default": "./dist/daemon-client-transport-types.js"
|
|
},
|
|
"./internal/daemon-client-websocket-transport": {
|
|
"types": "./dist/daemon-client-websocket-transport.d.ts",
|
|
"default": "./dist/daemon-client-websocket-transport.js"
|
|
},
|
|
"./node": {
|
|
"types": "./dist/node/index.d.ts",
|
|
"default": "./dist/node/index.js"
|
|
},
|
|
"./node/lean": {
|
|
"types": "./dist/node/lean.d.ts",
|
|
"default": "./dist/node/lean.js"
|
|
},
|
|
"./internal/hosts": {
|
|
"types": "./dist/hosts/index.d.ts",
|
|
"default": "./dist/hosts/index.js"
|
|
}
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"clean": "node ../../scripts/clean-package-dist.mjs",
|
|
"build": "npm run build --workspace=@getpaseo/protocol && npm run build --workspace=@getpaseo/relay && tsc -p tsconfig.json --incremental false",
|
|
"build:clean": "npm run clean && npm run build",
|
|
"prepack": "npm run build:clean",
|
|
"typecheck": "tsgo --noEmit",
|
|
"typecheck:examples": "tsgo -p tsconfig.examples.json --noEmit",
|
|
"test": "vitest run",
|
|
"measure:diff-materialization": "tsx scripts/measure-diff-materialization.ts"
|
|
},
|
|
"dependencies": {
|
|
"@getpaseo/protocol": "0.18.1",
|
|
"@getpaseo/relay": "0.18.1",
|
|
"ws": "^8.20.0",
|
|
"zod": "^4.4.3"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^20.9.0",
|
|
"typescript": "^5.2.2",
|
|
"vitest": "^4.1.6"
|
|
}
|
|
}
|