@piagent/platform 1.2.16 → 1.3.0-ie.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.gitattributes +1 -0
- package/CHANGELOG.md +256 -0
- package/README.md +18 -5
- package/README.vi.md +19 -0
- package/adapters/be-readonly-fe/profile.json +2 -0
- package/architecture/layers.json +16 -3
- package/benchmarks/capability-v1/alternatives/fullstack-search-contract/apps/web/src/search-view.js +14 -0
- package/benchmarks/capability-v1/alternatives/fullstack-search-contract/packages/shared/src/search-contract.js +8 -0
- package/benchmarks/capability-v1/alternatives/fullstack-search-contract/services/catalog/src/search.js +18 -0
- package/benchmarks/capability-v1/alternatives/resumable-migration-runner/packages/migration/src/plan.js +32 -0
- package/benchmarks/capability-v1/alternatives/resumable-migration-runner/packages/migration/src/runner.js +43 -0
- package/benchmarks/capability-v1/coverage.json +52 -0
- package/benchmarks/capability-v1/grade.mjs +433 -0
- package/benchmarks/capability-v1/project/README.md +5 -0
- package/benchmarks/capability-v1/project/apps/admin/src/rollout-view.js +3 -0
- package/benchmarks/capability-v1/project/apps/web/src/search-view.js +3 -0
- package/benchmarks/capability-v1/project/package.json +8 -0
- package/benchmarks/capability-v1/project/packages/api/src/feature-access.js +5 -0
- package/benchmarks/capability-v1/project/packages/lease/src/store.js +12 -0
- package/benchmarks/capability-v1/project/packages/lease/src/with-lease.js +4 -0
- package/benchmarks/capability-v1/project/packages/migration/src/plan.js +3 -0
- package/benchmarks/capability-v1/project/packages/migration/src/runner.js +4 -0
- package/benchmarks/capability-v1/project/packages/policy/src/rollout.js +7 -0
- package/benchmarks/capability-v1/project/packages/shared/src/search-contract.js +3 -0
- package/benchmarks/capability-v1/project/services/catalog/src/search.js +3 -0
- package/benchmarks/capability-v1/project/test/smoke.test.js +4 -0
- package/benchmarks/capability-v1/prompts/concurrent-lease-lifecycle.md +22 -0
- package/benchmarks/capability-v1/prompts/fullstack-search-contract.md +21 -0
- package/benchmarks/capability-v1/prompts/multi-package-rollout.md +24 -0
- package/benchmarks/capability-v1/prompts/resumable-migration-runner.md +28 -0
- package/benchmarks/capability-v1/references/concurrent-lease-lifecycle/packages/lease/src/store.js +27 -0
- package/benchmarks/capability-v1/references/concurrent-lease-lifecycle/packages/lease/src/with-lease.js +9 -0
- package/benchmarks/capability-v1/references/fullstack-search-contract/apps/web/src/search-view.js +9 -0
- package/benchmarks/capability-v1/references/fullstack-search-contract/packages/shared/src/search-contract.js +3 -0
- package/benchmarks/capability-v1/references/fullstack-search-contract/services/catalog/src/search.js +12 -0
- package/benchmarks/capability-v1/references/multi-package-rollout/apps/admin/src/rollout-view.js +6 -0
- package/benchmarks/capability-v1/references/multi-package-rollout/packages/api/src/feature-access.js +9 -0
- package/benchmarks/capability-v1/references/multi-package-rollout/packages/policy/src/rollout.js +29 -0
- package/benchmarks/capability-v1/references/resumable-migration-runner/packages/migration/src/plan.js +32 -0
- package/benchmarks/capability-v1/references/resumable-migration-runner/packages/migration/src/runner.js +18 -0
- package/benchmarks/capability-v1/rubric.json +60 -0
- package/benchmarks/capability-v1/suite.json +88 -0
- package/benchmarks/capability-v1/variant.mjs +48 -0
- package/benchmarks/e2-framework-v1/alternatives/hono-accessible-search/apps/web/src/search-app.js +20 -0
- package/benchmarks/e2-framework-v1/alternatives/hono-tenant-api/apps/api/src/tenant-app.js +27 -0
- package/benchmarks/e2-framework-v1/alternatives/sqlite-resumable-inventory/packages/migration/src/inventory.js +34 -0
- package/benchmarks/e2-framework-v1/alternatives/workspace-policy-rollout/apps/admin/src/summary.js +6 -0
- package/benchmarks/e2-framework-v1/alternatives/workspace-policy-rollout/packages/feature-api/src/evaluate.js +14 -0
- package/benchmarks/e2-framework-v1/alternatives/workspace-policy-rollout/packages/policy/src/rollout.js +18 -0
- package/benchmarks/e2-framework-v1/coverage.json +25 -0
- package/benchmarks/e2-framework-v1/grade.mjs +291 -0
- package/benchmarks/e2-framework-v1/project/README.md +5 -0
- package/benchmarks/e2-framework-v1/project/apps/admin/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/apps/admin/src/summary.js +3 -0
- package/benchmarks/e2-framework-v1/project/apps/api/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/apps/api/src/tenant-app.js +5 -0
- package/benchmarks/e2-framework-v1/project/apps/web/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/apps/web/src/search-app.js +9 -0
- package/benchmarks/e2-framework-v1/project/package.json +9 -0
- package/benchmarks/e2-framework-v1/project/packages/feature-api/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/packages/feature-api/src/evaluate.js +3 -0
- package/benchmarks/e2-framework-v1/project/packages/migration/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/packages/migration/src/inventory.js +3 -0
- package/benchmarks/e2-framework-v1/project/packages/notifications/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/packages/notifications/src/channel.js +3 -0
- package/benchmarks/e2-framework-v1/project/packages/policy/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/packages/policy/src/rollout.js +7 -0
- package/benchmarks/e2-framework-v1/project/packages/shared/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/packages/shared/src/identity.js +1 -0
- package/benchmarks/e2-framework-v1/project/packages/telemetry/package.json +1 -0
- package/benchmarks/e2-framework-v1/project/packages/telemetry/src/counter.js +3 -0
- package/benchmarks/e2-framework-v1/project/test/smoke.test.js +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/LICENSE +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/PIAGENT-PROVENANCE.json +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/aws-lambda/conninfo.js +24 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/aws-lambda/handler.js +364 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/aws-lambda/index.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/aws-lambda/types.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/bun/conninfo.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/bun/index.js +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/bun/serve-static.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/bun/server.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/bun/ssg.js +17 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/bun/websocket.js +73 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-pages/conninfo.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-pages/handler.js +67 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-pages/index.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-workers/conninfo.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-workers/index.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-workers/serve-static-module.js +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-workers/serve-static.js +22 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-workers/utils.js +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/cloudflare-workers/websocket.js +41 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/deno/conninfo.js +14 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/deno/deno.d.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/deno/index.js +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/deno/serve-static.js +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/deno/ssg.js +18 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/deno/websocket.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/lambda-edge/conninfo.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/lambda-edge/handler.js +96 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/lambda-edge/index.js +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/netlify/conninfo.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/netlify/handler.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/netlify/index.js +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/netlify/mod.js +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/service-worker/handler.js +20 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/service-worker/index.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/service-worker/types.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/vercel/conninfo.js +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/vercel/handler.js +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/adapter/vercel/index.js +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/aws-lambda/conninfo.js +46 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/aws-lambda/handler.js +395 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/aws-lambda/index.js +34 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/aws-lambda/types.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/bun/conninfo.js +49 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/bun/index.js +45 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/bun/serve-static.js +52 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/bun/server.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/bun/ssg.js +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/bun/websocket.js +98 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-pages/conninfo.js +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-pages/handler.js +91 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-pages/index.js +34 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-workers/conninfo.js +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-workers/index.js +33 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-workers/serve-static-module.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-workers/serve-static.js +44 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-workers/utils.js +57 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/cloudflare-workers/websocket.js +63 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/deno/conninfo.js +36 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/deno/deno.d.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/deno/index.js +38 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/deno/serve-static.js +62 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/deno/ssg.js +41 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/deno/websocket.js +54 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/lambda-edge/conninfo.js +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/lambda-edge/handler.js +130 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/lambda-edge/index.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/netlify/conninfo.js +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/netlify/handler.js +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/netlify/index.js +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/netlify/mod.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/service-worker/handler.js +42 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/service-worker/index.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/service-worker/types.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/vercel/conninfo.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/vercel/handler.js +29 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/adapter/vercel/index.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/client/client.js +204 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/client/fetch-result-please.js +85 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/client/index.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/client/types.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/client/utils.js +105 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/compose.js +68 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/context.js +450 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/accepts/accepts.js +43 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/accepts/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/adapter/index.js +81 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/conninfo/index.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/conninfo/types.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/cookie/index.js +130 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/css/common.js +273 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/css/index.js +157 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/dev/index.js +79 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/factory/index.js +54 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/html/index.js +64 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/proxy/index.js +115 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/route/index.js +71 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/ssg/index.js +43 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/ssg/middleware.js +73 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/ssg/plugins.js +70 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/ssg/ssg.js +320 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/ssg/utils.js +93 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/streaming/index.js +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/streaming/sse.js +91 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/streaming/stream.js +56 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/streaming/text.js +34 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/streaming/utils.js +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/testing/index.js +33 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/helper/websocket/index.js +81 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/hono-base.js +406 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/hono.js +43 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/http-exception.js +57 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/index.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/base.js +378 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/children.js +44 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/components.js +221 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/constants.js +42 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/context.js +188 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/client.js +76 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/components.js +55 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/context.js +71 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/css.js +168 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/hooks/index.js +74 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/index.js +181 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/intrinsic-element/components.js +399 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/jsx-dev-runtime.js +52 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/jsx-runtime.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/render.js +641 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/server.js +67 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/dom/utils.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/hooks/index.js +373 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/index.js +138 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/intrinsic-element/common.js +50 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/intrinsic-element/components.js +189 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/intrinsic-elements.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/jsx-dev-runtime.js +41 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/jsx-runtime.js +71 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/streaming.js +179 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/types.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/jsx/utils.js +200 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/basic-auth/index.js +88 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/bearer-auth/index.js +114 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/body-limit/index.js +75 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/cache/index.js +219 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/combine/index.js +101 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/compress/index.js +97 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/context-storage/index.js +47 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/cors/index.js +106 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/csrf/index.js +77 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/etag/digest.js +55 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/etag/index.js +99 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/ip-restriction/index.js +176 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/jsx-renderer/index.js +82 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/jwk/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/jwk/jwk.js +139 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/jwt/index.js +38 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/jwt/jwt.js +145 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/language/index.js +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/language/language.js +203 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/logger/index.js +72 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/method-not-allowed/index.js +90 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/method-override/index.js +106 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/powered-by/index.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/pretty-json/index.js +37 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/request-id/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/request-id/request-id.js +43 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/secure-headers/index.js +29 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/secure-headers/permissions-policy.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/secure-headers/secure-headers.js +195 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/serve-static/index.js +99 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/serve-static/path.js +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/timeout/index.js +47 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/timing/index.js +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/timing/timing.js +130 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/middleware/trailing-slash/index.js +62 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/package.json +3 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/preset/quick.js +38 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/preset/tiny.js +34 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/request/constants.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/request.js +342 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/linear-router/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/linear-router/router.js +140 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/pattern-router/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/pattern-router/router.js +70 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/reg-exp-router/index.js +34 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/reg-exp-router/matcher.js +48 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/reg-exp-router/node.js +133 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/reg-exp-router/prepared-router.js +166 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/reg-exp-router/router.js +187 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/reg-exp-router/trie.js +89 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/smart-router/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/smart-router/router.js +80 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/trie-router/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/trie-router/node.js +210 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router/trie-router/router.js +48 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/router.js +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/types.js +28 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/accept.js +245 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/basic-auth.js +45 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/body.js +111 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/buffer.js +103 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/color.js +48 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/compress.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/concurrent.js +61 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/constants.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/cookie.js +199 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/crypto.js +69 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/encode.js +54 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/filepath.js +58 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/handler.js +36 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/headers.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/html.js +150 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/http-status.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/ipaddr.js +318 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/jwt/index.js +28 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/jwt/jwa.js +42 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/jwt/jws.js +215 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/jwt/jwt.js +219 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/jwt/types.js +161 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/jwt/utf8.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/mime.js +106 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/stream.js +106 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/types.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/utils/url.js +256 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/validator/index.js +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/validator/utils.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/cjs/validator/validator.js +108 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/client/client.js +189 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/client/fetch-result-please.js +62 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/client/index.js +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/client/types.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/client/utils.js +76 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/compose.js +46 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/context.js +427 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/accepts/accepts.js +20 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/accepts/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/adapter/index.js +56 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/conninfo/index.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/conninfo/types.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/cookie/index.js +102 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/css/common.js +236 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/css/index.js +140 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/dev/index.js +55 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/factory/index.js +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/html/index.js +41 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/proxy/index.js +93 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/route/index.js +46 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/ssg/index.js +19 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/ssg/middleware.js +45 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/ssg/plugins.js +47 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/ssg/ssg.js +297 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/ssg/utils.js +67 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/streaming/index.js +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/streaming/sse.js +68 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/streaming/stream.js +34 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/streaming/text.js +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/streaming/utils.js +13 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/testing/index.js +11 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/helper/websocket/index.js +57 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/hono-base.js +384 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/hono.js +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/http-exception.js +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/index.js +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/base.js +346 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/children.js +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/components.js +198 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/constants.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/context.js +162 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/client.js +53 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/components.js +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/context.js +48 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/css.js +150 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/hooks/index.js +48 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/index.js +142 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/intrinsic-element/components.js +374 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/jsx-dev-runtime.js +19 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/jsx-runtime.js +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/render.js +617 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/server.js +33 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/dom/utils.js +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/hooks/index.js +331 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/index.js +103 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/intrinsic-element/common.js +24 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/intrinsic-element/components.js +165 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/intrinsic-elements.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/jsx-dev-runtime.js +18 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/jsx-runtime.js +44 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/streaming.js +155 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/types.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/jsx/utils.js +175 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/basic-auth/index.js +66 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/bearer-auth/index.js +92 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/body-limit/index.js +53 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/cache/index.js +197 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/combine/index.js +77 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/compress/index.js +74 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/context-storage/index.js +23 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/cors/index.js +84 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/csrf/index.js +55 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/etag/digest.js +33 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/etag/index.js +76 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/ip-restriction/index.js +162 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/jsx-renderer/index.js +58 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/jwk/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/jwk/jwk.js +117 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/jwt/index.js +11 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/jwt/jwt.js +119 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/language/index.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/language/language.js +172 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/logger/index.js +44 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/method-not-allowed/index.js +68 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/method-override/index.js +84 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/powered-by/index.js +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/pretty-json/index.js +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/request-id/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/request-id/request-id.js +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/secure-headers/index.js +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/secure-headers/permissions-policy.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/secure-headers/secure-headers.js +172 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/serve-static/index.js +77 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/serve-static/path.js +18 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/timeout/index.js +25 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/timing/index.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/timing/timing.js +104 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/middleware/trailing-slash/index.js +39 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/preset/quick.js +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/preset/tiny.js +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/request/constants.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/request.js +319 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/linear-router/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/linear-router/router.js +118 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/pattern-router/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/pattern-router/router.js +48 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/reg-exp-router/index.js +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/reg-exp-router/matcher.js +25 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/reg-exp-router/node.js +110 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/reg-exp-router/prepared-router.js +142 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/reg-exp-router/router.js +169 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/reg-exp-router/trie.js +67 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/smart-router/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/smart-router/router.js +58 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/trie-router/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/trie-router/node.js +188 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router/trie-router/router.js +26 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/router.js +14 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/aws-lambda/conninfo.d.ts +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/aws-lambda/handler.d.ts +184 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/aws-lambda/index.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/aws-lambda/types.d.ts +153 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/bun/conninfo.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/bun/index.d.ts +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/bun/serve-static.d.ts +3 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/bun/server.d.ts +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/bun/ssg.d.ts +13 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/bun/websocket.d.ts +39 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-pages/conninfo.d.ts +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-pages/handler.d.ts +33 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-pages/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-workers/conninfo.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-workers/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-workers/serve-static-module.d.ts +4 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-workers/serve-static.d.ts +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-workers/utils.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/cloudflare-workers/websocket.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/deno/conninfo.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/deno/index.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/deno/serve-static.d.ts +3 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/deno/ssg.d.ts +13 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/deno/websocket.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/lambda-edge/conninfo.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/lambda-edge/handler.d.ts +87 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/lambda-edge/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/netlify/conninfo.d.ts +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/netlify/handler.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/netlify/index.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/netlify/mod.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/service-worker/handler.d.ts +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/service-worker/index.d.ts +28 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/service-worker/types.d.ts +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/vercel/conninfo.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/vercel/handler.d.ts +2 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/adapter/vercel/index.d.ts +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/client/client.d.ts +4 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/client/fetch-result-please.d.ts +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/client/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/client/types.d.ts +229 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/client/utils.d.ts +18 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/compose.d.ts +14 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/context.d.ts +455 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/accepts/accepts.d.ts +30 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/accepts/index.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/adapter/index.d.ts +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/conninfo/index.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/conninfo/types.d.ts +36 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/cookie/index.d.ts +24 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/css/common.d.ts +59 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/css/index.d.ts +80 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/dev/index.d.ts +20 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/factory/index.d.ts +82 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/html/index.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/proxy/index.d.ts +72 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/route/index.d.ts +75 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/ssg/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/ssg/middleware.d.ts +44 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/ssg/plugins.d.ts +27 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/ssg/ssg.d.ts +91 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/ssg/utils.d.ts +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/streaming/index.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/streaming/sse.d.ts +13 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/streaming/stream.d.ts +3 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/streaming/text.d.ts +3 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/streaming/utils.d.ts +1 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/testing/index.d.ts +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/helper/websocket/index.d.ts +69 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/hono-base.d.ts +221 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/hono.d.ts +19 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/http-exception.d.ts +59 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/index.d.ts +37 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/base.d.ts +58 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/children.d.ts +9 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/components.d.ts +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/constants.d.ts +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/context.d.ts +51 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/client.d.ts +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/components.d.ts +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/context.d.ts +3 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/css.d.ts +83 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/hooks/index.d.ts +39 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/index.d.ts +88 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/intrinsic-element/components.d.ts +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/jsx-dev-runtime.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/jsx-runtime.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/render.d.ts +73 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/server.d.ts +106 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/dom/utils.d.ts +1 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/hooks/index.d.ts +47 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/index.d.ts +75 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/intrinsic-element/common.d.ts +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/intrinsic-element/components.d.ts +13 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/intrinsic-elements.d.ts +722 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/jsx-dev-runtime.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/jsx-runtime.d.ts +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/streaming.d.ts +36 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/types.d.ts +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/jsx/utils.d.ts +4 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/basic-auth/index.d.ts +75 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/bearer-auth/index.d.ts +92 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/body-limit/index.d.ts +45 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/cache/index.d.ts +45 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/combine/index.d.ts +85 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/compress/index.d.ts +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/context-storage/index.d.ts +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/cors/index.d.ts +55 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/csrf/index.d.ts +78 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/etag/digest.d.ts +1 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/etag/index.d.ts +42 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/ip-restriction/index.d.ts +67 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/jsx-renderer/index.d.ts +77 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/jwk/index.d.ts +1 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/jwk/jwk.d.ts +56 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/jwt/index.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/jwt/jwt.d.ts +69 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/language/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/language/language.d.ts +120 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/logger/index.d.ts +24 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/method-not-allowed/index.d.ts +49 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/method-override/index.d.ts +48 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/powered-by/index.d.ts +29 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/pretty-json/index.d.ts +42 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/request-id/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/request-id/request-id.d.ts +37 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/secure-headers/index.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/secure-headers/permissions-policy.d.ts +14 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/secure-headers/secure-headers.d.ts +109 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/serve-static/index.d.ts +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/serve-static/path.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/timeout/index.d.ts +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/timing/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/timing/timing.d.ts +129 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/middleware/trailing-slash/index.d.ts +94 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/package.json +3 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/preset/quick.d.ts +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/preset/tiny.d.ts +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/request/constants.d.ts +1 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/request.d.ts +324 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/linear-router/index.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/linear-router/router.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/pattern-router/index.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/pattern-router/router.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/reg-exp-router/index.d.ts +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/reg-exp-router/matcher.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/reg-exp-router/node.d.ts +10 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/reg-exp-router/prepared-router.d.ts +17 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/reg-exp-router/router.d.ts +11 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/reg-exp-router/trie.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/smart-router/index.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/smart-router/router.d.ts +11 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/trie-router/index.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/trie-router/node.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router/trie-router/router.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/router.d.ts +97 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/types.d.ts +573 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/accept.d.ts +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/basic-auth.d.ts +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/body.d.ts +79 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/buffer.d.ts +17 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/color.d.ts +21 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/compress.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/concurrent.d.ts +11 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/constants.d.ts +4 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/cookie.d.ts +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/crypto.d.ts +15 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/encode.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/filepath.d.ts +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/handler.d.ts +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/headers.d.ts +8 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/html.d.ts +44 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/http-status.d.ts +32 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/ipaddr.d.ts +56 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/jwt/index.d.ts +18 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/jwt/jwa.d.ts +23 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/jwt/jws.d.ts +12 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/jwt/jwt.d.ts +43 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/jwt/types.d.ts +86 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/jwt/utf8.d.ts +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/mime.d.ts +70 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/stream.d.ts +31 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/types.d.ts +74 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/utils/url.d.ts +40 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/validator/index.d.ts +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/validator/utils.d.ts +29 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types/validator/validator.d.ts +16 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/types.js +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/accept.js +223 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/basic-auth.js +23 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/body.js +89 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/buffer.js +78 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/color.js +25 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/compress.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/concurrent.js +39 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/constants.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/cookie.js +174 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/crypto.js +44 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/encode.js +29 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/filepath.js +35 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/handler.js +13 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/headers.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/html.js +123 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/http-status.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/ipaddr.js +288 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/jwt/index.js +6 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/jwt/jwa.js +20 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/jwt/jws.js +192 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/jwt/jwt.js +207 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/jwt/types.js +124 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/jwt/utf8.js +7 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/mime.js +82 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/stream.js +84 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/types.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/utils/url.js +221 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/validator/index.js +5 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/validator/utils.js +0 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/dist/validator/validator.js +86 -0
- package/benchmarks/e2-framework-v1/project/vendor/hono/package.json +706 -0
- package/benchmarks/e2-framework-v1/prompts/hono-accessible-search.md +9 -0
- package/benchmarks/e2-framework-v1/prompts/hono-tenant-api.md +9 -0
- package/benchmarks/e2-framework-v1/prompts/sqlite-resumable-inventory.md +9 -0
- package/benchmarks/e2-framework-v1/prompts/workspace-policy-rollout.md +9 -0
- package/benchmarks/e2-framework-v1/references/hono-accessible-search/apps/web/src/search-app.js +29 -0
- package/benchmarks/e2-framework-v1/references/hono-tenant-api/apps/api/src/tenant-app.js +22 -0
- package/benchmarks/e2-framework-v1/references/sqlite-resumable-inventory/packages/migration/src/inventory.js +34 -0
- package/benchmarks/e2-framework-v1/references/workspace-policy-rollout/apps/admin/src/summary.js +6 -0
- package/benchmarks/e2-framework-v1/references/workspace-policy-rollout/packages/feature-api/src/evaluate.js +10 -0
- package/benchmarks/e2-framework-v1/references/workspace-policy-rollout/packages/policy/src/rollout.js +20 -0
- package/benchmarks/e2-framework-v1/reports/alternative-valid-report.v1.json +10 -0
- package/benchmarks/e2-framework-v1/reports/grader-sensitivity-report.v1.json +15 -0
- package/benchmarks/e2-framework-v1/reports/mutation-report.v1.json +15 -0
- package/benchmarks/e2-framework-v1/reports/reference-report.v1.json +9 -0
- package/benchmarks/e2-framework-v1/reports/scope-report.v1.json +11 -0
- package/benchmarks/e2-framework-v1/rubric.json +33 -0
- package/benchmarks/e2-framework-v1/suite.json +88 -0
- package/benchmarks/e2-framework-v1/variant.mjs +30 -0
- package/benchmarks/failure-v1/classification-corpus.json +51 -0
- package/benchmarks/model-routing-v1/route-corpus.json +64 -0
- package/benchmarks/production-v1/prompts/tenant-role-authorization.md +3 -3
- package/benchmarks/production-v1/suite.json +10 -6
- package/benchmarks/solver-v1/route-corpus.json +71 -0
- package/catalog/capabilities.json +8 -8
- package/docs/README.md +1 -1
- package/docs/authority-manifest.md +183 -0
- package/docs/command-reference-vietnamese.md +47 -8
- package/docs/distribution-standard.md +9 -9
- package/docs/en/architecture.md +160 -1
- package/docs/en/maintainer-guide.md +35 -2
- package/docs/model-options.md +56 -10
- package/docs/operator-manual-vietnamese.md +87 -18
- package/docs/project-adapters.md +5 -2
- package/docs/quality-benchmark.md +294 -46
- package/docs/quickstart-vietnamese.md +4 -1
- package/docs/release-install-policy.md +75 -9
- package/docs/runtime-harness-standard.md +40 -2
- package/docs/runtime-policy-design.md +4 -3
- package/docs/runtime-quality-baseline.md +4 -3
- package/docs/security-threat-model.md +13 -1
- package/docs/subagents-and-multiagent.md +23 -0
- package/docs/task-lifecycle-vietnamese.md +10 -0
- package/docs/team-onboarding.md +15 -7
- package/docs/usage-observability.md +36 -1
- package/docs/vercel-docs-site.md +7 -5
- package/docs/vi/architecture.md +156 -1
- package/docs/vi/maintainer-guide.md +35 -2
- package/docs-site/architecture.html +49 -6
- package/docs-site/assets/docs.css +52 -1
- package/docs-site/assets/docs.js +4 -2
- package/docs-site/benchmark.html +35 -8
- package/docs-site/commands.html +56 -9
- package/docs-site/content/architecture.html +36 -0
- package/docs-site/content/benchmark.html +22 -2
- package/docs-site/content/commands.html +40 -0
- package/docs-site/content/en/architecture.html +51 -0
- package/docs-site/content/en/benchmark.html +184 -0
- package/docs-site/content/en/commands.html +76 -0
- package/docs-site/content/en/context-engine.html +30 -0
- package/docs-site/content/en/index.html +91 -0
- package/docs-site/content/en/mcp-approval.html +74 -0
- package/docs-site/content/en/mcp-auth.html +57 -0
- package/docs-site/content/en/mcp-servers.html +91 -0
- package/docs-site/content/en/mcp.html +90 -0
- package/docs-site/content/en/permissions.html +19 -0
- package/docs-site/content/en/profiles.html +27 -0
- package/docs-site/content/en/quickstart.html +126 -0
- package/docs-site/content/en/runtime.html +27 -0
- package/docs-site/content/en/scope.html +45 -0
- package/docs-site/content/en/security.html +33 -0
- package/docs-site/content/en/team.html +14 -0
- package/docs-site/content/en/whats-new.html +107 -0
- package/docs-site/content/en/workflows.html +81 -0
- package/docs-site/content/index.html +6 -0
- package/docs-site/content/quickstart.html +1 -1
- package/docs-site/content/runtime.html +2 -2
- package/docs-site/content/whats-new.html +107 -0
- package/docs-site/content/workflows.html +60 -0
- package/docs-site/context-engine.html +13 -6
- package/docs-site/en/architecture.html +185 -0
- package/docs-site/en/benchmark.html +318 -0
- package/docs-site/en/commands.html +210 -0
- package/docs-site/en/context-engine.html +164 -0
- package/docs-site/en/index.html +210 -0
- package/docs-site/en/mcp-approval.html +208 -0
- package/docs-site/en/mcp-auth.html +191 -0
- package/docs-site/en/mcp-servers.html +225 -0
- package/docs-site/en/mcp.html +224 -0
- package/docs-site/en/permissions.html +153 -0
- package/docs-site/en/profiles.html +161 -0
- package/docs-site/en/quickstart.html +260 -0
- package/docs-site/en/runtime.html +161 -0
- package/docs-site/en/scope.html +179 -0
- package/docs-site/en/security.html +167 -0
- package/docs-site/en/team.html +144 -0
- package/docs-site/en/whats-new.html +241 -0
- package/docs-site/en/workflows.html +215 -0
- package/docs-site/index.html +19 -6
- package/docs-site/mcp-approval.html +13 -6
- package/docs-site/mcp-auth.html +13 -6
- package/docs-site/mcp-servers.html +13 -6
- package/docs-site/mcp.html +13 -6
- package/docs-site/permissions.html +13 -6
- package/docs-site/profiles.html +13 -6
- package/docs-site/quickstart.html +16 -9
- package/docs-site/runtime.html +15 -8
- package/docs-site/scope.html +15 -8
- package/docs-site/security.html +13 -6
- package/docs-site/team.html +13 -6
- package/docs-site/whats-new.html +241 -0
- package/docs-site/workflows.html +79 -12
- package/evals/fixtures/authority-manifest.invalid.json +5 -0
- package/evals/fixtures/authority-manifest.valid.json +380 -0
- package/evals/fixtures/benchmark-assurance-evidence.invalid.json +68 -0
- package/evals/fixtures/benchmark-assurance-evidence.valid.json +62 -0
- package/evals/fixtures/failure-classification.invalid.json +14 -0
- package/evals/fixtures/failure-classification.valid.json +13 -0
- package/evals/fixtures/failure-evidence.invalid.json +9 -0
- package/evals/fixtures/failure-evidence.valid.json +8 -0
- package/evals/fixtures/helper-request.invalid.json +1 -0
- package/evals/fixtures/helper-request.valid.json +1 -0
- package/evals/fixtures/model-route-decision.invalid.json +26 -0
- package/evals/fixtures/model-route-decision.valid.json +25 -0
- package/evals/fixtures/role-policy.invalid.json +1 -0
- package/evals/fixtures/role-policy.valid.json +1 -0
- package/evals/fixtures/runtime-model-snapshot.invalid.json +18 -0
- package/evals/fixtures/runtime-model-snapshot.valid.json +21 -0
- package/evals/fixtures/solver-decision.invalid.json +1 -0
- package/evals/fixtures/solver-decision.valid.json +1 -0
- package/evals/fixtures/task-authority-snapshot.invalid.json +6 -0
- package/evals/fixtures/task-authority-snapshot.valid.json +279 -0
- package/evals/fixtures/task-contract.valid.json +1 -0
- package/evals/fixtures/task-features.invalid.json +1 -0
- package/evals/fixtures/task-features.valid.json +1 -0
- package/evals/fixtures/trajectory-state.invalid.json +18 -0
- package/evals/fixtures/trajectory-state.valid.json +40 -0
- package/evals/fixtures/trajectory-transition-event.invalid.json +20 -0
- package/evals/fixtures/trajectory-transition-event.valid.json +19 -0
- package/evals/fs-release-transition.v1.json +83 -0
- package/evals/fs4-readiness-matrix.v1.json +47 -0
- package/evals/fs5-causal-arm.v1.json +74 -0
- package/evals/fs5-pilot-protocol.v1.json +162 -0
- package/evals/fs5-pilot-protocol.v2.json +184 -0
- package/evals/fs5-pilot-protocol.v3.json +107 -0
- package/evals/fs5-pilot-protocol.v4.json +129 -0
- package/evals/fs5-pilot-protocol.v5.json +134 -0
- package/evals/ie6-release-protocol.v1.json +153 -0
- package/evals/long-horizon-v1/README.md +30 -0
- package/evals/long-horizon-v1/lane.json +19 -0
- package/evals/long-horizon-v1/reports/provider-free-30m-run.v1.json +900 -0
- package/evals/long-horizon-v1/runner.mjs +355 -0
- package/evals/long-horizon-v1/verify.mjs +28 -0
- package/evals/long-horizon-v1/worker.mjs +177 -0
- package/evals/private-holdout-v1/CUSTODIAN_RUNBOOK.md +79 -0
- package/evals/private-holdout-v1/README.md +28 -0
- package/evals/private-holdout-v1/access-policy.v1.json +50 -0
- package/evals/private-holdout-v1/human-rubric.v1.json +40 -0
- package/evals/private-holdout-v1/public-exposure.v1.json +43 -0
- package/evals/rc-evaluation-matrix.v1.json +91 -0
- package/evals/real-task-taxonomy.v1.json +436 -0
- package/package.json +9 -5
- package/packages/piagent-core/README.md +8 -2
- package/packages/piagent-core/benchmark/benchmark-assurance.js +193 -0
- package/packages/piagent-core/benchmark/benchmark-bootstrap.js +526 -0
- package/packages/piagent-core/benchmark/benchmark-candidate.js +348 -0
- package/packages/piagent-core/benchmark/benchmark-claim-restrictions.js +39 -0
- package/packages/piagent-core/benchmark/benchmark-cli.js +229 -0
- package/packages/piagent-core/benchmark/benchmark-codex.js +32 -0
- package/packages/piagent-core/benchmark/benchmark-comparison.js +93 -0
- package/packages/piagent-core/benchmark/benchmark-core.js +336 -349
- package/packages/piagent-core/benchmark/benchmark-execution-guard.js +101 -0
- package/packages/piagent-core/benchmark/benchmark-forensics.js +473 -0
- package/packages/piagent-core/benchmark/benchmark-ledger.js +172 -0
- package/packages/piagent-core/benchmark/benchmark-matrix.js +68 -0
- package/packages/piagent-core/benchmark/benchmark-phase-attribution.js +101 -0
- package/packages/piagent-core/benchmark/benchmark-pi-home.js +626 -0
- package/packages/piagent-core/benchmark/benchmark-preflight.js +105 -0
- package/packages/piagent-core/benchmark/benchmark-process.js +141 -0
- package/packages/piagent-core/benchmark/benchmark-record-validation.js +72 -0
- package/packages/piagent-core/benchmark/benchmark-report.js +183 -0
- package/packages/piagent-core/benchmark/benchmark-resume-recovery.js +262 -0
- package/packages/piagent-core/benchmark/benchmark-run-lock.js +117 -0
- package/packages/piagent-core/benchmark/benchmark-runtime-identity.js +122 -0
- package/packages/piagent-core/benchmark/benchmark-runtime.js +188 -0
- package/packages/piagent-core/benchmark/benchmark-stop-policy.js +36 -0
- package/packages/piagent-core/benchmark/benchmark-suite-assets.js +56 -0
- package/packages/piagent-core/benchmark/benchmark-suite-runtime.js +115 -0
- package/packages/piagent-core/benchmark/benchmark-suite.js +174 -0
- package/packages/piagent-core/benchmark/benchmark-tree-identity.js +190 -0
- package/packages/piagent-core/benchmark/fs-release-transition.js +103 -0
- package/packages/piagent-core/benchmark/fs4-readiness-gates.js +109 -0
- package/packages/piagent-core/benchmark/fs5-causal-arm.js +76 -0
- package/packages/piagent-core/benchmark/fs5-pilot-protocol.js +252 -0
- package/packages/piagent-core/benchmark/ie6-release-protocol.js +206 -0
- package/packages/piagent-core/benchmark/model-route-grader.ts +91 -0
- package/packages/piagent-core/benchmark/model-routing-protocol.ts +155 -0
- package/packages/piagent-core/benchmark/rc-readiness-gates.js +34 -0
- package/packages/piagent-core/benchmark/solver-route-grader.ts +141 -0
- package/packages/piagent-core/capabilities/authority-manifest.ts +376 -0
- package/packages/piagent-core/capabilities/capability-core.js +1 -0
- package/packages/piagent-core/capabilities/runtime-integrity.js +81 -0
- package/packages/piagent-core/extensions/acceptance-contract-semantics.js +985 -0
- package/packages/piagent-core/extensions/acceptance-executable-evidence.js +531 -0
- package/packages/piagent-core/extensions/acceptance-language-adapters.js +108 -0
- package/packages/piagent-core/extensions/acceptance-receipt.js +936 -0
- package/packages/piagent-core/extensions/context-engine.js +13 -16
- package/packages/piagent-core/extensions/criterion-context-pack.js +85 -0
- package/packages/piagent-core/extensions/criterion-graph.js +257 -0
- package/packages/piagent-core/extensions/execution-backend.js +63 -0
- package/packages/piagent-core/extensions/failure-types.ts +89 -0
- package/packages/piagent-core/extensions/guard-types.ts +102 -0
- package/packages/piagent-core/extensions/piagent-guard.ts +761 -4061
- package/packages/piagent-core/extensions/policy-core.js +69 -69
- package/packages/piagent-core/extensions/repository-memory.js +189 -0
- package/packages/piagent-core/extensions/return-contract.js +130 -0
- package/packages/piagent-core/extensions/shell-selector-policy.js +55 -0
- package/packages/piagent-core/extensions/shell-write-targets.js +114 -0
- package/packages/piagent-core/extensions/state-retention.js +41 -8
- package/packages/piagent-core/extensions/task-authority-contract.js +16 -0
- package/packages/piagent-core/extensions/task-contract-view.js +78 -0
- package/packages/piagent-core/extensions/task-digest-contract.js +75 -0
- package/packages/piagent-core/extensions/task-digest-migration.js +142 -0
- package/packages/piagent-core/extensions/task-digest-state.js +227 -0
- package/packages/piagent-core/extensions/task-journal.js +549 -0
- package/packages/piagent-core/extensions/task-lifecycle.js +62 -8
- package/packages/piagent-core/extensions/task-runtime-audit.js +119 -0
- package/packages/piagent-core/extensions/task-state.js +403 -52
- package/packages/piagent-core/extensions/tenant-contract.js +78 -0
- package/packages/piagent-core/extensions/verification-intelligence.js +312 -0
- package/packages/piagent-core/extensions/working-tree-digest.js +84 -0
- package/packages/piagent-core/package.json +3 -3
- package/packages/piagent-core/policy/authority-manifest.v1.json +380 -0
- package/packages/piagent-core/runtime/context/adaptive-planner.ts +172 -0
- package/packages/piagent-core/runtime/context/retrieval-route-policy.ts +74 -0
- package/packages/piagent-core/runtime/hooks/agent-start-hook.ts +239 -19
- package/packages/piagent-core/runtime/hooks/completion-hook.ts +329 -32
- package/packages/piagent-core/runtime/hooks/input-hook.ts +24 -3
- package/packages/piagent-core/runtime/hooks/session-hooks.ts +6 -0
- package/packages/piagent-core/runtime/hooks/session-start-hook.ts +98 -6
- package/packages/piagent-core/runtime/hooks/tool-call-hook.ts +93 -0
- package/packages/piagent-core/runtime/hooks/tool-result-hook.ts +209 -27
- package/packages/piagent-core/runtime/model/authenticated-catalog.ts +127 -0
- package/packages/piagent-core/runtime/model/capabilities.ts +64 -0
- package/packages/piagent-core/runtime/model/model-route-policy.ts +179 -0
- package/packages/piagent-core/runtime/model/model-route-runtime.ts +102 -0
- package/packages/piagent-core/runtime/model/model-route-types.ts +148 -0
- package/packages/piagent-core/runtime/model/model-selection-provenance.ts +51 -0
- package/packages/piagent-core/runtime/model/runtime-snapshot.ts +346 -0
- package/packages/piagent-core/runtime/model/snapshot-telemetry.ts +102 -0
- package/packages/piagent-core/runtime/orchestration/helper-lifecycle.ts +81 -0
- package/packages/piagent-core/runtime/orchestration/owned-work-budget.ts +105 -0
- package/packages/piagent-core/runtime/orchestration/role-binder.ts +48 -0
- package/packages/piagent-core/runtime/orchestration/role-policy.ts +113 -0
- package/packages/piagent-core/runtime/policy/authority-manifest.ts +4 -0
- package/packages/piagent-core/runtime/policy/authority-resume-policy.ts +227 -0
- package/packages/piagent-core/runtime/policy/task-authority-runtime.ts +115 -0
- package/packages/piagent-core/runtime/product/activity-inspector-footer.ts +116 -0
- package/packages/piagent-core/runtime/product/activity-inspector.ts +439 -0
- package/packages/piagent-core/runtime/product/efficiency-metrics.ts +130 -0
- package/packages/piagent-core/runtime/product/operator-projections.ts +111 -0
- package/packages/piagent-core/runtime/quality/exact-output-contract.ts +95 -0
- package/packages/piagent-core/runtime/quality/model-mutation-proof.ts +185 -0
- package/packages/piagent-core/runtime/quality/performance-assurance.ts +493 -0
- package/packages/piagent-core/runtime/quality/performance-review-evidence.ts +19 -0
- package/packages/piagent-core/runtime/recovery/continuation-budget.ts +191 -0
- package/packages/piagent-core/runtime/recovery/handoff-projection.ts +361 -0
- package/packages/piagent-core/runtime/recovery/recovery-policy.ts +235 -0
- package/packages/piagent-core/runtime/recovery/resume-state.ts +291 -0
- package/packages/piagent-core/runtime/recovery/semantic-repair-handshake.ts +447 -0
- package/packages/piagent-core/runtime/recovery/semantic-repair-runtime.ts +167 -0
- package/packages/piagent-core/runtime/registration/activity-inspector-command.ts +265 -0
- package/packages/piagent-core/runtime/registration/context-commands.ts +392 -0
- package/packages/piagent-core/runtime/registration/extension-registration.ts +66 -0
- package/packages/piagent-core/runtime/registration/knowledge-tools.ts +303 -0
- package/packages/piagent-core/runtime/registration/memory-mcp-commands.ts +254 -0
- package/packages/piagent-core/runtime/registration/onboarding-tools.ts +308 -0
- package/packages/piagent-core/runtime/registration/operator-catalogs.ts +30 -0
- package/packages/piagent-core/runtime/registration/permission-commands.ts +178 -0
- package/packages/piagent-core/runtime/registration/policy-tools.ts +463 -0
- package/packages/piagent-core/runtime/registration/profile-commands.ts +338 -0
- package/packages/piagent-core/runtime/registration/runtime-model-status.ts +120 -0
- package/packages/piagent-core/runtime/registration/session-commands.ts +341 -0
- package/packages/piagent-core/runtime/registration/task-completion-tools.ts +401 -0
- package/packages/piagent-core/runtime/registration/task-evidence-tools.ts +291 -0
- package/packages/piagent-core/runtime/registration/task-preflight.ts +35 -0
- package/packages/piagent-core/runtime/registration/task-start-tool.ts +500 -0
- package/packages/piagent-core/runtime/registration/workflow-commands.ts +431 -0
- package/packages/piagent-core/runtime/runtime-limits.ts +4 -0
- package/packages/piagent-core/runtime/session/model-authorship-state.ts +147 -0
- package/packages/piagent-core/runtime/session/performance-review-state.ts +340 -0
- package/packages/piagent-core/runtime/session/runtime-state.ts +169 -10
- package/packages/piagent-core/runtime/session/system-prompt.ts +57 -0
- package/packages/piagent-core/runtime/session/tool-result-compaction.ts +95 -0
- package/packages/piagent-core/runtime/solver/runtime-features.ts +52 -0
- package/packages/piagent-core/runtime/solver/solver-explanation.ts +50 -0
- package/packages/piagent-core/runtime/solver/solver-policy.ts +65 -0
- package/packages/piagent-core/runtime/solver/solver-shadow.ts +204 -0
- package/packages/piagent-core/runtime/solver/solver-types.ts +141 -0
- package/packages/piagent-core/runtime/solver/task-features.ts +119 -0
- package/packages/piagent-core/runtime/tools/phase-tool-runtime.ts +133 -0
- package/packages/piagent-core/runtime/tools/phase-tools.ts +140 -0
- package/packages/piagent-core/runtime/trajectory/trajectory-observability.ts +38 -0
- package/packages/piagent-core/runtime/trajectory/trajectory-runtime.ts +235 -0
- package/packages/piagent-core/runtime/trajectory/trajectory-state.ts +161 -0
- package/packages/piagent-core/runtime/trajectory/trajectory-store.ts +79 -0
- package/packages/piagent-core/runtime/trajectory/trajectory-types.ts +196 -0
- package/packages/piagent-core/runtime/workflows/task-intake.ts +265 -12
- package/packages/piagent-core/subagents/piagent-oracle.md +4 -1
- package/packages/piagent-core/subagents/piagent-planner.md +4 -0
- package/packages/piagent-core/subagents/piagent-reviewer.md +4 -0
- package/packages/piagent-core/subagents/piagent-scout.md +4 -1
- package/packages/piagent-core/subagents/piagent-worker.md +5 -0
- package/schemas/authority-manifest.schema.json +126 -0
- package/schemas/benchmark-assurance-evidence.schema.json +142 -0
- package/schemas/failure-classification.schema.json +24 -0
- package/schemas/failure-evidence.schema.json +20 -0
- package/schemas/helper-request.schema.json +24 -0
- package/schemas/model-route-decision.schema.json +44 -0
- package/schemas/project-profile.schema.json +3 -0
- package/schemas/role-policy.schema.json +30 -0
- package/schemas/runtime-model-snapshot.schema.json +57 -0
- package/schemas/solver-decision.schema.json +19 -0
- package/schemas/task-authority-snapshot.schema.json +86 -0
- package/schemas/task-contract.schema.json +429 -2
- package/schemas/task-features.schema.json +28 -0
- package/schemas/trajectory-state.schema.json +51 -0
- package/schemas/trajectory-transition-event.schema.json +43 -0
- package/scripts/benchmark-runner-core.mjs +946 -0
- package/scripts/benchmark-runner.mjs +55 -1405
- package/scripts/benchmark-session.mjs +412 -0
- package/scripts/build-docs-site.mjs +238 -53
- package/scripts/check-runtime-advisories.mjs +8 -53
- package/scripts/configure-model-scope.sh +3 -3
- package/scripts/evaluate-fs-release-transition.mjs +27 -0
- package/scripts/fs4-readiness-evaluation.mjs +137 -0
- package/scripts/helper-evaluation.mjs +96 -0
- package/scripts/ie6-release-freeze.mjs +194 -0
- package/scripts/install-global.sh +1 -1
- package/scripts/model-catalog.mjs +132 -0
- package/scripts/model-route-evaluation-core.ts +81 -0
- package/scripts/model-route-evaluation.mjs +22 -0
- package/scripts/model-routing-benchmark.mjs +29 -0
- package/scripts/model-routing-protocol-core.ts +64 -0
- package/scripts/phase-tools-evaluation.mjs +222 -0
- package/scripts/pi-model-catalog.sh +2 -161
- package/scripts/pi-model-route.mjs +115 -0
- package/scripts/piagent-cli.mjs +1 -0
- package/scripts/private-holdout-readiness.mjs +96 -0
- package/scripts/product-usability-pilot.mjs +111 -0
- package/scripts/rc-readiness-evaluation.mjs +240 -0
- package/scripts/recovery-evaluation.mjs +132 -0
- package/scripts/solver-shadow-pilot.mjs +164 -0
- package/scripts/team-doctor.sh +65 -3
- package/scripts/verify-local.sh +55 -4
- package/scripts/verify-release-identity.mjs +25 -7
- package/templates/global/settings.json +3 -3
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<div class="callout">
|
|
3
|
+
<strong>Dependency direction is enforced by code.</strong>
|
|
4
|
+
<p><span class="inline-code">architecture/layers.json</span> is machine-readable policy. <span class="inline-code">npm run architecture:check</span> blocks reverse dependencies and files that exceed their size budget.</p>
|
|
5
|
+
</div>
|
|
6
|
+
<div class="grid cols-3">
|
|
7
|
+
<article class="card"><h3 id="composition">Composition</h3><p><span class="inline-code">piagent-guard.ts</span> owns wiring, registration order, and shared runtime state. Feature algorithms do not belong in this file.</p></article>
|
|
8
|
+
<article class="card"><h3 id="runtime-adapters">Runtime adapters</h3><p><span class="inline-code">packages/piagent-core/runtime</span> owns Pi hooks, commands, tools, session UI, usage, log compaction, and workflow input routing.</p></article>
|
|
9
|
+
<article class="card"><h3 id="core-services">Core services</h3><p>Policy, task, context, and state modules return structured decisions. Core services do not import runtime adapters or the Pi composition root.</p></article>
|
|
10
|
+
<article class="card"><h3 id="integrations">Integrations</h3><p><span class="inline-code">mcp/</span>, <span class="inline-code">capabilities/</span>, and <span class="inline-code">security/</span> have explicit ownership and do not embed task workflow logic.</p></article>
|
|
11
|
+
<article class="card"><h3 id="entrypoints">Entrypoints</h3><p><span class="inline-code">scripts/</span> parses CLI arguments and calls use cases. Metrics, policy, and state transitions are not duplicated in CLI code.</p></article>
|
|
12
|
+
<article class="card"><h3 id="product-assets">Product assets</h3><p><span class="inline-code">prompts/</span>, <span class="inline-code">skills/</span>, <span class="inline-code">subagents/</span>, <span class="inline-code">adapters/</span>, <span class="inline-code">packs/</span>, and <span class="inline-code">schemas/</span> are declarative assets.</p></article>
|
|
13
|
+
</div>
|
|
14
|
+
</section>
|
|
15
|
+
|
|
16
|
+
<section class="section">
|
|
17
|
+
<div class="section-head">
|
|
18
|
+
<p class="eyebrow">Adaptive runtime</p>
|
|
19
|
+
<h2 id="adaptive-runtime">Piagent now separates runtime decisions from Pi wiring</h2>
|
|
20
|
+
<p>The harness keeps the model choice intact, but every task gets a smaller, cited context plan, durable task journal, and explicit recovery decision.</p>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="grid cols-3">
|
|
23
|
+
<article class="card"><h3>Context planner</h3><p><span class="inline-code">runtime/context/adaptive-planner.ts</span> chooses budget, retrieval lane, code inclusion, and a plan receipt from phase, context pressure, model capability, and thinking level.</p></article>
|
|
24
|
+
<article class="card"><h3>Task journal</h3><p><span class="inline-code">extensions/task-journal.js</span> records start, progress, mutation, verifier, and completion checkpoints. Resume trusts the task contract first; retention compaction preserves hash anchors.</p></article>
|
|
25
|
+
<article class="card"><h3>Repository memory</h3><p><span class="inline-code">extensions/repository-memory.js</span> stores only cited, expiring facts and rejects raw prompts, outputs, OAuth material, API keys, and secrets. Hints use only unused context-plan budget.</p></article>
|
|
26
|
+
<article class="card"><h3>Model capability</h3><p><span class="inline-code">runtime/model/capabilities.ts</span> reads model family, context window, and thinking level as budget signals without switching providers or requiring API keys.</p></article>
|
|
27
|
+
<article class="card"><h3>Verification intelligence</h3><p><span class="inline-code">extensions/verification-intelligence.js</span> classifies failures and chooses a targeted verifier from task scope; mixed frontend/backend scope uses the full source verifier.</p></article>
|
|
28
|
+
<article class="card"><h3>Execution backend</h3><p><span class="inline-code">extensions/execution-backend.js</span> keeps local Pi OAuth as owner and blocks mutation when a requested experimental adapter is unavailable.</p></article>
|
|
29
|
+
</div>
|
|
30
|
+
</section>
|
|
31
|
+
|
|
32
|
+
<section class="section">
|
|
33
|
+
<div class="section-head">
|
|
34
|
+
<p class="eyebrow">Ownership</p>
|
|
35
|
+
<h2 id="state-ownership">Each state has one source of truth</h2>
|
|
36
|
+
<p>Project profiles and locks may be committed. Task evidence, telemetry, traces, captures, and session history are local state. Derived indexes carry a policy digest and remain rebuildable.</p>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="table-wrap">
|
|
39
|
+
<table>
|
|
40
|
+
<thead><tr><th>State</th><th>Owner</th><th>Location</th><th>Committed</th></tr></thead>
|
|
41
|
+
<tbody>
|
|
42
|
+
<tr><td>Project profile and lock</td><td>Project</td><td><span class="inline-code">.pi/piagent-profile*.json</span></td><td>Yes</td></tr>
|
|
43
|
+
<tr><td>Task, trace, telemetry, capture</td><td>Runtime</td><td><span class="inline-code">.pi/piagent-state/</span></td><td>No</td></tr>
|
|
44
|
+
<tr><td>Task journal and checkpoints</td><td>Runtime</td><td><span class="inline-code">.pi/piagent-state/task-journal/</span></td><td>No</td></tr>
|
|
45
|
+
<tr><td>Repository memory facts</td><td>Runtime</td><td><span class="inline-code">.pi/piagent-state/repository-memory/</span></td><td>No</td></tr>
|
|
46
|
+
<tr><td>Session history</td><td>Pi</td><td>Pi session store</td><td>No</td></tr>
|
|
47
|
+
<tr><td>Shared instructions</td><td>Project</td><td><span class="inline-code">AGENTS.md</span>, project docs</td><td>Yes</td></tr>
|
|
48
|
+
</tbody>
|
|
49
|
+
</table>
|
|
50
|
+
</div>
|
|
51
|
+
</section>
|
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
<section class="benchmark-summary" aria-labelledby="benchmark-verdict">
|
|
2
|
+
<div class="benchmark-verdict">
|
|
3
|
+
<div>
|
|
4
|
+
<p class="section-kicker">Production V1 · historical public regression evidence</p>
|
|
5
|
+
<h2 id="benchmark-verdict">Piagent scores 9.92/10</h2>
|
|
6
|
+
<p>It resolved all 54 tasks, maintained 10/10 Quality, Safety, and Reliability, and used 51.11% fewer fresh tokens than the <code>codex-cli</code> surface in paired measurement.</p>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="benchmark-verdict-score" aria-label="Overall score 9.92 out of 10">
|
|
9
|
+
<strong>9.92</strong>
|
|
10
|
+
<span>Overall / 10</span>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<div class="benchmark-metrics" aria-label="Headline metrics">
|
|
15
|
+
<div class="benchmark-metric"><span>Tasks resolved</span><strong>54/54</strong><small>100% on both surfaces</small></div>
|
|
16
|
+
<div class="benchmark-metric"><span>Fresh tokens</span><strong>-51.11%</strong><small>paired geometric mean</small></div>
|
|
17
|
+
<div class="benchmark-metric"><span>Token wins</span><strong>47/54</strong><small><code>codex-cli</code> won 7 pairs</small></div>
|
|
18
|
+
<div class="benchmark-metric"><span>Infrastructure</span><strong>0 retries</strong><small>108 valid runs</small></div>
|
|
19
|
+
</div>
|
|
20
|
+
</section>
|
|
21
|
+
|
|
22
|
+
<section class="section">
|
|
23
|
+
<p class="section-kicker">Measurement configuration</p>
|
|
24
|
+
<h2 id="configuration">Same model, same tasks, automatic grading</h2>
|
|
25
|
+
<p class="section-lead">The suite runs Piagent and the <code>codex-cli</code> surface in separate clean workspaces with matching fixtures, generated variants, and hidden verifiers. Usage is parsed from agent JSONL rather than entered manually.</p>
|
|
26
|
+
<dl class="benchmark-facts">
|
|
27
|
+
<div><dt>Model</dt><dd><code>openai-codex/gpt-5.6-sol</code></dd></div>
|
|
28
|
+
<div><dt>Thinking</dt><dd><code>xhigh</code></dd></div>
|
|
29
|
+
<div><dt>Matrix</dt><dd>18 families × 3 repeats × 2 surfaces</dd></div>
|
|
30
|
+
<div><dt>Total sessions</dt><dd>108</dd></div>
|
|
31
|
+
<div><dt>Baseline</dt><dd><code>codex-cli</code> controlled mode</dd></div>
|
|
32
|
+
<div><dt>Duration</dt><dd>1 hour 49 minutes</dd></div>
|
|
33
|
+
</dl>
|
|
34
|
+
<div class="callout ok-callout">
|
|
35
|
+
<strong>Isolated control surface</strong>
|
|
36
|
+
<p><code>codex-cli</code> uses a temporary home per session and loads no global instructions, plugins, apps, browser, or multi-agent configuration. Both surfaces use the same model and thinking level with a 900-second timeout per session.</p>
|
|
37
|
+
</div>
|
|
38
|
+
</section>
|
|
39
|
+
|
|
40
|
+
<section class="section">
|
|
41
|
+
<p class="section-kicker">Score bands</p>
|
|
42
|
+
<h2 id="scores">Token reduction does not trade away quality</h2>
|
|
43
|
+
<p class="section-lead">Overall is calculated only when quality, safety, reliability, and workflow gates all pass. The <code>codex-cli</code> surface is the baseline and does not receive the harness-specific Workflow or Overall score.</p>
|
|
44
|
+
<div class="benchmark-score-chart" role="img" aria-label="Piagent scores Quality 10, Safety 10, Reliability 10, Workflow 9.58, Efficiency 10, and Overall 9.92 out of 10">
|
|
45
|
+
<div class="benchmark-score-row"><span>Quality</span><div class="benchmark-track"><i style="--bar-size: 100%"></i></div><strong>10.00</strong></div>
|
|
46
|
+
<div class="benchmark-score-row"><span>Safety</span><div class="benchmark-track"><i style="--bar-size: 100%"></i></div><strong>10.00</strong></div>
|
|
47
|
+
<div class="benchmark-score-row"><span>Reliability</span><div class="benchmark-track"><i style="--bar-size: 100%"></i></div><strong>10.00</strong></div>
|
|
48
|
+
<div class="benchmark-score-row"><span>Workflow</span><div class="benchmark-track"><i style="--bar-size: 95.8%"></i></div><strong>9.58</strong></div>
|
|
49
|
+
<div class="benchmark-score-row"><span>Efficiency</span><div class="benchmark-track"><i style="--bar-size: 100%"></i></div><strong>10.00</strong></div>
|
|
50
|
+
<div class="benchmark-score-row overall"><span>Overall</span><div class="benchmark-track"><i style="--bar-size: 99.2%"></i></div><strong>9.92</strong></div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
53
|
+
<table>
|
|
54
|
+
<thead><tr><th>Band</th><th>Piagent</th><th>codex-cli</th><th>Evidence</th></tr></thead>
|
|
55
|
+
<tbody>
|
|
56
|
+
<tr><td>Quality</td><td><strong>10.00</strong></td><td>10.00</td><td>48/48 source tasks passed hidden graders</td></tr>
|
|
57
|
+
<tr><td>Safety</td><td><strong>10.00</strong></td><td>10.00</td><td>54/54 sessions stayed in scope and emitted no forbidden output</td></tr>
|
|
58
|
+
<tr><td>Reliability</td><td><strong>10.00</strong></td><td>10.00</td><td>54/54 resolved across all 18 families</td></tr>
|
|
59
|
+
<tr><td>Workflow</td><td><strong>9.58</strong></td><td>n/a</td><td>Passed the 9.00 gate with every evidence gap disclosed</td></tr>
|
|
60
|
+
<tr><td>Efficiency</td><td><strong>10.00</strong></td><td>5.00 baseline</td><td>54 valid usage pairs with the same model and thinking</td></tr>
|
|
61
|
+
<tr><td>Overall</td><td><strong>9.92</strong></td><td>n/a</td><td>Quality 45%, reliability 15%, workflow 20%, efficiency 20%</td></tr>
|
|
62
|
+
</tbody>
|
|
63
|
+
</table>
|
|
64
|
+
</div>
|
|
65
|
+
</section>
|
|
66
|
+
|
|
67
|
+
<section class="section">
|
|
68
|
+
<p class="section-kicker">Tokens and tools</p>
|
|
69
|
+
<h2 id="tokens">Piagent uses less fresh context</h2>
|
|
70
|
+
<p class="section-lead">The bars show independent medians across 54 runs per surface. The Efficiency score does not divide these aggregate medians; it uses matched scenario-and-repeat ratios to avoid distortion from task size.</p>
|
|
71
|
+
<div class="benchmark-legend" aria-label="Chart legend">
|
|
72
|
+
<span><i class="piagent-swatch"></i>Piagent</span>
|
|
73
|
+
<span><i class="codex-swatch"></i>codex-cli</span>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="benchmark-usage-chart" aria-label="Median usage comparison between Piagent and codex-cli">
|
|
76
|
+
<div class="benchmark-usage-group">
|
|
77
|
+
<h3>Fresh tokens</h3>
|
|
78
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 39.88%"></i></div><strong>7,368</strong></div>
|
|
79
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>18,476</strong></div>
|
|
80
|
+
</div>
|
|
81
|
+
<div class="benchmark-usage-group">
|
|
82
|
+
<h3>Input excluding cache</h3>
|
|
83
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 48.98%"></i></div><strong>6,801</strong></div>
|
|
84
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>13,885</strong></div>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="benchmark-usage-group">
|
|
87
|
+
<h3>Output</h3>
|
|
88
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 39.71%"></i></div><strong>913</strong></div>
|
|
89
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>2,299</strong></div>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="benchmark-usage-group">
|
|
92
|
+
<h3>Tool calls</h3>
|
|
93
|
+
<div class="benchmark-usage-row"><span>Piagent</span><div class="benchmark-track"><i class="piagent-bar" style="--bar-size: 62.5%"></i></div><strong>5</strong></div>
|
|
94
|
+
<div class="benchmark-usage-row"><span>codex-cli</span><div class="benchmark-track"><i class="codex-bar" style="--bar-size: 100%"></i></div><strong>8</strong></div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
98
|
+
<table>
|
|
99
|
+
<thead><tr><th>Median per run</th><th>Piagent</th><th>codex-cli</th></tr></thead>
|
|
100
|
+
<tbody>
|
|
101
|
+
<tr><td>Input excluding cache</td><td><strong>6,801</strong></td><td>13,885</td></tr>
|
|
102
|
+
<tr><td>Output</td><td><strong>913</strong></td><td>2,299</td></tr>
|
|
103
|
+
<tr><td>Cache read</td><td><strong>7,680</strong></td><td>78,208</td></tr>
|
|
104
|
+
<tr><td>Reasoning included in output</td><td><strong>414</strong></td><td>592</td></tr>
|
|
105
|
+
<tr><td>Fresh tokens</td><td><strong>7,368</strong></td><td>18,476</td></tr>
|
|
106
|
+
<tr><td>Tool calls</td><td><strong>5</strong></td><td>8</td></tr>
|
|
107
|
+
<tr><td>Cost</td><td><strong>$0.059141</strong></td><td>n/a from Codex OAuth JSONL</td></tr>
|
|
108
|
+
</tbody>
|
|
109
|
+
</table>
|
|
110
|
+
</div>
|
|
111
|
+
<div class="benchmark-paired">
|
|
112
|
+
<div class="benchmark-paired-head">
|
|
113
|
+
<div><span>Fresh-token pair wins</span><strong>47 Piagent · 7 codex-cli · 0 ties</strong></div>
|
|
114
|
+
<div><span>Median paired delta</span><strong>-7,870 tokens</strong></div>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="benchmark-win-track" role="img" aria-label="Piagent won 47 of 54 pairs and codex-cli won 7">
|
|
117
|
+
<i class="piagent-win" style="--bar-size: 87.04%"></i>
|
|
118
|
+
<i class="codex-win" style="--bar-size: 12.96%"></i>
|
|
119
|
+
</div>
|
|
120
|
+
<p>Paired geometric mean ratio: <strong>0.4889</strong>. The 95% confidence interval is <strong>0.3809–0.6276</strong>, whose upper bound remains below the 1.0 baseline, so the token-saving claim is allowed. Across the full benchmark, Piagent used 529,932 fresh tokens versus 1,006,150 for <code>codex-cli</code>; recorded Piagent cost was $5.321.</p>
|
|
121
|
+
</div>
|
|
122
|
+
</section>
|
|
123
|
+
|
|
124
|
+
<section class="section">
|
|
125
|
+
<p class="section-kicker">Coverage</p>
|
|
126
|
+
<h2 id="coverage">Six domains with three families each</h2>
|
|
127
|
+
<div class="benchmark-categories">
|
|
128
|
+
<div><span>Backend</span><strong>10.00</strong><p>Authorization, money rounding, cache isolation</p></div>
|
|
129
|
+
<div><span>Frontend</span><strong>10.00</strong><p>Async response, Unicode search, pagination</p></div>
|
|
130
|
+
<div><span>Data</span><strong>10.00</strong><p>Quoted CSV, stable deduplication, schema migration</p></div>
|
|
131
|
+
<div><span>Platform</span><strong>10.00</strong><p>Config precedence, CLI parsing, workspace order</p></div>
|
|
132
|
+
<div><span>Reliability</span><strong>10.00</strong><p>Bounded retry, expiry, incident diagnosis</p></div>
|
|
133
|
+
<div><span>Security</span><strong>10.00</strong><p>Secret refusal, prompt injection, audit history</p></div>
|
|
134
|
+
</div>
|
|
135
|
+
</section>
|
|
136
|
+
|
|
137
|
+
<section class="section">
|
|
138
|
+
<p class="section-kicker">Benchmark bands</p>
|
|
139
|
+
<h2 id="benchmark-bands">Use the right suite for the decision</h2>
|
|
140
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
141
|
+
<table>
|
|
142
|
+
<thead><tr><th>Band</th><th>When to use it</th><th>Minimum evidence</th><th>Claim allowed</th></tr></thead>
|
|
143
|
+
<tbody>
|
|
144
|
+
<tr><td>Core</td><td>Fast local smoke before release work</td><td>4 scenarios, 1 repeat, hidden verifier</td><td>Regression only</td></tr>
|
|
145
|
+
<tr><td>Production</td><td>Public regression for a release candidate</td><td>18 scenarios, 3 repeats, <span class="inline-code">piagent</span> vs baseline</td><td>Claims stay bounded to the observed public suite; outcome coverage, comparable CI, and failure-aware effort are separate</td></tr>
|
|
146
|
+
<tr><td>Capability</td><td>Find the harness capability ceiling</td><td>4 large multi-file/multi-component tasks with reference and mutation checks</td><td>Hill-climbing, not a release or generalization gate</td></tr>
|
|
147
|
+
<tr><td>Long-horizon</td><td>Recovery/context changes and large-repository adoption</td><td>Planned dedicated paid suite; today run Production plus deterministic crash/replay tests</td><td>No public long-horizon score until that suite ships</td></tr>
|
|
148
|
+
</tbody>
|
|
149
|
+
</table>
|
|
150
|
+
</div>
|
|
151
|
+
<div class="callout">
|
|
152
|
+
<strong>A benchmark must state its claim tier; it is not marketing copy.</strong>
|
|
153
|
+
<p>A version should not claim token savings unless quality/reliability, paired candidate-regression, outcome coverage, comparable-efficiency, failure-aware effort, scope/safety, and protocol gates pass. Raw Pi is a causal harness ablation; <code>codex-cli</code> is only an external product reference.</p>
|
|
154
|
+
</div>
|
|
155
|
+
</section>
|
|
156
|
+
|
|
157
|
+
<section class="section">
|
|
158
|
+
<p class="section-kicker">Provenance</p>
|
|
159
|
+
<h2 id="transparency">Interpret results within their measured scope</h2>
|
|
160
|
+
<div class="table-wrap benchmark-table-wrap">
|
|
161
|
+
<table>
|
|
162
|
+
<tbody>
|
|
163
|
+
<tr><th>Run</th><td><code>production-v1-20260802T153320Z-11f3d0</code></td></tr>
|
|
164
|
+
<tr><th>Suite digest</th><td><code>90a44ac4f5d4ec11772eac00f4f984d78c6962d116581ca29ab6b8760c8f9171</code></td></tr>
|
|
165
|
+
<tr><th>Runtime</th><td>Pi 0.82.0 · <code>codex-cli 0.146.0-alpha.9.2</code> · Node 24.11.1</td></tr>
|
|
166
|
+
<tr><th>Verdict</th><td><code>piagent-more-efficient</code> · every production gate passed</td></tr>
|
|
167
|
+
<tr><th>Release mapping</th><td>Measured on the candidate before metadata bump; the same logic shipped as v1.2.12.</td></tr>
|
|
168
|
+
</tbody>
|
|
169
|
+
</table>
|
|
170
|
+
</div>
|
|
171
|
+
<div class="callout">
|
|
172
|
+
<strong>Limits of the conclusion</strong>
|
|
173
|
+
<p>This is a maintainer-built public synthetic regression, not an independent benchmark proving Piagent is better for every repository or model. Generated values do not create independent task families. Generalization requires an external family-disjoint holdout, a reference/mutation/human-calibration manifest, a frozen candidate, and real shadow/canary tasks.</p>
|
|
174
|
+
</div>
|
|
175
|
+
<div class="command-grid">
|
|
176
|
+
<div class="command-card">
|
|
177
|
+
<header><span>Run the production benchmark</span><button class="clip-btn" data-clip="piagent-benchmark --production --surfaces piagent,codex-cli --model openai-codex/gpt-5.6-sol --thinking xhigh">Copy</button></header>
|
|
178
|
+
<pre><code>piagent-benchmark --production \
|
|
179
|
+
--surfaces piagent,codex-cli \
|
|
180
|
+
--model openai-codex/gpt-5.6-sol \
|
|
181
|
+
--thinking xhigh</code></pre>
|
|
182
|
+
</div>
|
|
183
|
+
</div>
|
|
184
|
+
</section>
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<div class="grid cols-2">
|
|
3
|
+
<article class="card">
|
|
4
|
+
<h3 id="session-basics">Session basics</h3>
|
|
5
|
+
<div class="tag-list"><span class="tag">/login</span><span class="tag">/model</span><span class="tag">/commands</span><span class="tag">/piagent-status</span><span class="tag">/piagent-inspector</span><span class="tag">/piagent-orchestration</span><span class="tag">/usage</span><span class="tag">/usage efficiency</span><span class="tag">/task-preflight</span><span class="tag">/context preflight</span><span class="tag">/name</span><span class="tag">/fresh</span><span class="tag">/session</span></div>
|
|
6
|
+
<p>Set up a session, select a model, inspect profile, usage, or orchestration state, and decide whether a large task needs a fresh session.</p>
|
|
7
|
+
</article>
|
|
8
|
+
<article class="card">
|
|
9
|
+
<h3 id="project-profile">Project profile</h3>
|
|
10
|
+
<div class="tag-list"><span class="tag">/profile</span><span class="tag">/profile list</span><span class="tag">/profile auto</span><span class="tag">/profile setup</span><span class="tag">/profile tech</span><span class="tag">/profile tech setup</span><span class="tag">/profile fullstack</span><span class="tag">/profile be-fe</span></div>
|
|
11
|
+
<p>Apply a profile directly or use a deterministic selector for the profile and tech stack. Output stays compact and does not require model interpretation.</p>
|
|
12
|
+
</article>
|
|
13
|
+
<article class="card">
|
|
14
|
+
<h3 id="implementation-workflow">Implementation workflow</h3>
|
|
15
|
+
<div class="tag-list"><span class="tag">/workflow</span><span class="tag">/workflow task</span><span class="tag">/workflow plan</span><span class="tag">/workflow review</span><span class="tag">/workflow scout</span><span class="tag">/workflow discuss</span></div>
|
|
16
|
+
<p>Packages context loading, task contracts, implementation, verification evidence, and final handoff.</p>
|
|
17
|
+
</article>
|
|
18
|
+
<article class="card">
|
|
19
|
+
<h3 id="git-handoff">Git handoff</h3>
|
|
20
|
+
<div class="tag-list"><span class="tag">/workflow commit</span><span class="tag">/workflow pr</span><span class="tag">git status</span><span class="tag">git diff</span></div>
|
|
21
|
+
<p>There is no <span class="inline-code">/git</span> namespace. Commit and PR flows use workflow guards; pushes and broad staging such as <span class="inline-code">git add -A</span> require confirmation.</p>
|
|
22
|
+
</article>
|
|
23
|
+
<article class="card">
|
|
24
|
+
<h3 id="fresh-sessions">Fresh sessions</h3>
|
|
25
|
+
<div class="tag-list"><span class="tag">/fresh task</span><span class="tag">/fresh scout</span><span class="tag">/fresh be-to-fe</span></div>
|
|
26
|
+
<p>Start a clean workflow when the current context is heavy or belongs to a different task.</p>
|
|
27
|
+
</article>
|
|
28
|
+
<article class="card">
|
|
29
|
+
<h3 id="mcp">MCP</h3>
|
|
30
|
+
<div class="tag-list"><span class="tag">/mcp</span><span class="tag">piagent-mcp</span></div>
|
|
31
|
+
<p>Inspect and configure tool servers with the core, popular, or design presets.</p>
|
|
32
|
+
</article>
|
|
33
|
+
<article class="card">
|
|
34
|
+
<h3 id="subagents">Subagents</h3>
|
|
35
|
+
<div class="tag-list"><span class="tag">/subagents-doctor</span><span class="tag">/subagents-models</span><span class="tag">/subagents-fleet</span><span class="tag">/subagent-cost</span></div>
|
|
36
|
+
<p>Inspect runtime health, model routing, background runs, and cost. Daily work remains solo-first; subagents are reserved for independent scouting, planning, or review lanes.</p>
|
|
37
|
+
</article>
|
|
38
|
+
</div>
|
|
39
|
+
</section>
|
|
40
|
+
|
|
41
|
+
<section class="section">
|
|
42
|
+
<p class="section-kicker">Product visibility</p>
|
|
43
|
+
<h2 id="product-status-commands">Inspect runtime decisions</h2>
|
|
44
|
+
<p class="section-lead">These commands read deterministic state without asking a model to interpret it. They are optional in the daily workflow.</p>
|
|
45
|
+
<div class="command-grid">
|
|
46
|
+
<article class="command-card">
|
|
47
|
+
<header><span>Preflight before a task</span><button class="clip-btn" data-clip="/task-preflight --json Review current repository state">Copy</button></header>
|
|
48
|
+
<pre><code>/task-preflight --json Review current repository state</code></pre>
|
|
49
|
+
<p>Inspect intent, risk, scope, runtime, solver route, phases, tool and helper recommendations, backend, approvals, and blockers before starting.</p>
|
|
50
|
+
</article>
|
|
51
|
+
<article class="command-card">
|
|
52
|
+
<header><span>Live task status</span><button class="clip-btn" data-clip="/piagent-status">Copy</button></header>
|
|
53
|
+
<pre><code>/piagent-status</code></pre>
|
|
54
|
+
<p>Read the Task Contract, checkpoints, verifier evidence, recovery, helpers, resume state, and terminal receipt. Approval requires the current-tree hard completion gate to pass.</p>
|
|
55
|
+
</article>
|
|
56
|
+
<article class="command-card">
|
|
57
|
+
<header><span>Activity, diff, and context</span><button class="clip-btn" data-clip="/piagent-inspector">Copy</button></header>
|
|
58
|
+
<pre><code>/piagent-inspector</code></pre>
|
|
59
|
+
<p>One menu for <span class="inline-code">summary</span>, <span class="inline-code">files</span>, <span class="inline-code">commands</span>, <span class="inline-code">security</span>, <span class="inline-code">context</span>, and <span class="inline-code">toggle</span>. A four-row panel appears automatically just above the native footer: green is healthy, yellow needs attention, and red marks failures, safety warnings, or context at 80% and above. The command reads local state without calling a model.</p>
|
|
60
|
+
</article>
|
|
61
|
+
<article class="command-card">
|
|
62
|
+
<header><span>Sourced efficiency</span><button class="clip-btn" data-clip="/usage efficiency">Copy</button></header>
|
|
63
|
+
<pre><code>/usage efficiency</code></pre>
|
|
64
|
+
<p>Inspect context and tool utilization, verification, repair, retries, and helper usage. Runtime values that cannot be measured stay <span class="inline-code">null</span>.</p>
|
|
65
|
+
</article>
|
|
66
|
+
<article class="command-card">
|
|
67
|
+
<header><span>Helper policy</span><button class="clip-btn" data-clip="/piagent-orchestration">Copy</button></header>
|
|
68
|
+
<pre><code>/piagent-orchestration</code></pre>
|
|
69
|
+
<p>Inspect the solo-first policy, read-only roles, reviewer or Oracle recommendations, owned budgets, and the one-writer invariant.</p>
|
|
70
|
+
</article>
|
|
71
|
+
</div>
|
|
72
|
+
<div class="callout">
|
|
73
|
+
<strong>Sourced diffs, no token estimates.</strong>
|
|
74
|
+
<p>The footer panel uses observed task files for fast updates; the <span class="inline-code">files</span> view computes the exact snapshot delta and marks <span class="inline-code">mixed-working-tree</span> when a task touches a file that was already dirty. Pi exposes model usage by turn and session, so per-built-in-tool tokens remain unavailable.</p>
|
|
75
|
+
</div>
|
|
76
|
+
</section>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<div class="grid cols-3">
|
|
3
|
+
<article class="card"><h3 id="dynamic-tools">Task-driven tools</h3><p>Pi includes governance, policy, retrieval, knowledge, onboarding, or usage guidance in the prompt only when the task needs it. The runtime guard remains active in the background.</p></article>
|
|
4
|
+
<article class="card"><h3 id="local-index">Local index</h3><p>FTS5, symbols, and the import graph live under <span class="inline-code">.pi/piagent-state/context-engine/</span>. Storage is restricted to the current OS account; policy changes retry FTS rebuild and VACUUM until purging completes.</p></article>
|
|
5
|
+
<article class="card"><h3 id="ranked-context">Ranked context</h3><p>Explicit paths, lexical matches, symbols, Git signals, test relationships, positive feedback, and graph rank are combined before packing into a hard token budget.</p></article>
|
|
6
|
+
<article class="card"><h3 id="semantic-compact">Semantic compaction</h3><p>Preserves the goal, decisions, changed files, verification, and blockers. Removes repeated logs, source excerpts, and superseded plans.</p></article>
|
|
7
|
+
<article class="card"><h3 id="test-impact">Test impact</h3><p>Walks the import graph backward from changed files to suggest dependents and focused tests before running the full suite.</p></article>
|
|
8
|
+
<article class="card"><h3 id="agent-watch">Agent Watch</h3><p>Local events include session, model, thinking, tool surface, retrieval confidence, context-use ratio, and waste metrics without storing raw prompts or outputs a second time.</p></article>
|
|
9
|
+
</div>
|
|
10
|
+
</section>
|
|
11
|
+
|
|
12
|
+
<section class="section">
|
|
13
|
+
<div class="callout">
|
|
14
|
+
<strong>The index contains source bodies</strong>
|
|
15
|
+
<p>Protected paths and secret files are excluded. The directory uses mode <span class="inline-code">0700</span>; database, WAL, and SHM files use <span class="inline-code">0600</span>. Normal refresh uses SQLite core and FTS5 secure delete. Full FTS rebuild and VACUUM run only when exclusion policy changes or an interrupted purge must resume, not on every prompt or refresh.</p>
|
|
16
|
+
</div>
|
|
17
|
+
</section>
|
|
18
|
+
|
|
19
|
+
<section class="section">
|
|
20
|
+
<div class="command-grid">
|
|
21
|
+
<article class="command-card"><header><span>Inside Pi</span><button class="clip-btn" data-clip="/context index /context rebuild /context pack Fix invoice calculation /context impact /usage efficiency">Copy</button></header><pre><code>/context index
|
|
22
|
+
/context rebuild
|
|
23
|
+
/context pack Fix invoice calculation
|
|
24
|
+
/context impact
|
|
25
|
+
/usage efficiency</code></pre></article>
|
|
26
|
+
<article class="command-card"><header><span>From a terminal</span><button class="clip-btn" data-clip="piagent-context rebuild piagent-context pack "Fix invoice calculation" --tokens 4000 piagent-context efficiency">Copy</button></header><pre><code>piagent-context rebuild
|
|
27
|
+
piagent-context pack "Fix invoice calculation" --tokens 4000
|
|
28
|
+
piagent-context efficiency</code></pre></article>
|
|
29
|
+
</div>
|
|
30
|
+
</section>
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
<section class="hero">
|
|
2
|
+
<p class="eyebrow">Team operating docs</p>
|
|
3
|
+
<h1>A reusable Pi runtime for every project.</h1>
|
|
4
|
+
<p>
|
|
5
|
+
These docs bring installation, profiles, permissions, MCP, security, and workflows into one place. A new team member can find the right command, choose a safe mode, and understand the operating boundary without rebuilding the process in a prompt.
|
|
6
|
+
</p>
|
|
7
|
+
<div class="owner-strip" aria-label="Project information">
|
|
8
|
+
<span class="owner-label">Project links</span>
|
|
9
|
+
<a href="https://piagent.io.vn/en/" target="_blank" rel="noopener noreferrer">Docs · piagent.io.vn</a>
|
|
10
|
+
<a href="https://github.com/Vt-mmm/piagent" target="_blank" rel="noopener noreferrer">GitHub · Vt-mmm/piagent</a>
|
|
11
|
+
<a href="https://www.facebook.com/vinhtam0544/" target="_blank" rel="noopener noreferrer">Facebook · Vinh Tam</a>
|
|
12
|
+
</div>
|
|
13
|
+
<div class="hero-actions">
|
|
14
|
+
<a class="button primary" href="/en/quickstart">Get started</a>
|
|
15
|
+
<a class="button" href="/en/whats-new">What’s new</a>
|
|
16
|
+
<a class="button" href="/en/commands">View commands</a>
|
|
17
|
+
<a class="button" href="/en/mcp">MCP</a>
|
|
18
|
+
</div>
|
|
19
|
+
</section>
|
|
20
|
+
|
|
21
|
+
<section class="section">
|
|
22
|
+
<h2 id="install">Install with two commands</h2>
|
|
23
|
+
<p>Requires Node.js <span class="inline-code">>=22.19.0</span>. Run these commands from the project you want to configure.</p>
|
|
24
|
+
<pre><code>npm install -g @piagent/platform
|
|
25
|
+
piagent-setup</code></pre>
|
|
26
|
+
<p><span class="inline-code">piagent-setup</span> installs the pinned Pi Coding Agent host, installs the Pi package, initializes the current directory, and runs doctor. It also installs the MCP baseline and subagents; skip them with <span class="inline-code">--no-mcp</span>, <span class="inline-code">--no-subagents</span>, or <span class="inline-code">--global-only</span>. See the <a href="/en/quickstart">Quickstart</a> for the complete flow.</p>
|
|
27
|
+
</section>
|
|
28
|
+
|
|
29
|
+
<section class="section">
|
|
30
|
+
<h2 id="where-to-start">Where to start</h2>
|
|
31
|
+
<div class="card-grid">
|
|
32
|
+
<a class="doc-card" href="/en/whats-new">
|
|
33
|
+
<span class="card-kicker">Product update</span>
|
|
34
|
+
<h3>What’s new</h3>
|
|
35
|
+
<p>Runtime truth, task trajectories, recovery, helper policy, and fail-closed completion receipts — including what runs automatically and what is opt-in.</p>
|
|
36
|
+
</a>
|
|
37
|
+
<a class="doc-card" href="/en/quickstart">
|
|
38
|
+
<span class="card-kicker">Get started</span>
|
|
39
|
+
<h3>Quickstart</h3>
|
|
40
|
+
<p>Install, open a repository, onboard context, choose a profile and permission mode, run the first task, and verify before handoff.</p>
|
|
41
|
+
</a>
|
|
42
|
+
<a class="doc-card" href="/en/scope">
|
|
43
|
+
<span class="card-kicker">Get started</span>
|
|
44
|
+
<h3>Platform scope</h3>
|
|
45
|
+
<p>Why this repository exists alongside general coding agents, and which operating concerns it owns.</p>
|
|
46
|
+
</a>
|
|
47
|
+
<a class="doc-card" href="/en/profiles">
|
|
48
|
+
<span class="card-kicker">Build</span>
|
|
49
|
+
<h3>Project profiles</h3>
|
|
50
|
+
<p>Choose the operating profile for a repository: protected paths, verification commands, and granted capabilities.</p>
|
|
51
|
+
</a>
|
|
52
|
+
<a class="doc-card" href="/en/mcp">
|
|
53
|
+
<span class="card-kicker">MCP</span>
|
|
54
|
+
<h3>MCP</h3>
|
|
55
|
+
<p>Four configuration layers, pinned presets, server management, authentication readiness, and repository approval gates.</p>
|
|
56
|
+
</a>
|
|
57
|
+
<a class="doc-card" href="/en/security">
|
|
58
|
+
<span class="card-kicker">Operate</span>
|
|
59
|
+
<h3>Security model</h3>
|
|
60
|
+
<p>A policy enforcement layer, not an OS sandbox, with explicit claims about what is and is not controlled.</p>
|
|
61
|
+
</a>
|
|
62
|
+
<a class="doc-card" href="/en/benchmark">
|
|
63
|
+
<span class="card-kicker">Operate</span>
|
|
64
|
+
<h3>Production benchmark</h3>
|
|
65
|
+
<p>Quality, safety, workflow, and token evidence from 108 sessions compared with the <code>codex-cli</code> surface.</p>
|
|
66
|
+
</a>
|
|
67
|
+
<a class="doc-card" href="/en/commands">
|
|
68
|
+
<span class="card-kicker">Build</span>
|
|
69
|
+
<h3>Command catalog</h3>
|
|
70
|
+
<p>Slash commands and terminal commands grouped by the job they perform.</p>
|
|
71
|
+
</a>
|
|
72
|
+
</div>
|
|
73
|
+
</section>
|
|
74
|
+
|
|
75
|
+
<section class="section">
|
|
76
|
+
<h2 id="doc-groups">Three documentation groups</h2>
|
|
77
|
+
<div class="split">
|
|
78
|
+
<div class="card">
|
|
79
|
+
<h3 id="get-started-group">Get started</h3>
|
|
80
|
+
<p>For first-time users: installation, quickstart, and where the platform fits alongside other agent CLIs.</p>
|
|
81
|
+
</div>
|
|
82
|
+
<div class="card">
|
|
83
|
+
<h3 id="build-group">Build</h3>
|
|
84
|
+
<p>Daily operation: profiles, permissions, commands, workflows, and a dedicated MCP section for its broader command surface.</p>
|
|
85
|
+
</div>
|
|
86
|
+
<div class="card">
|
|
87
|
+
<h3 id="operate-group">Operate</h3>
|
|
88
|
+
<p>For operators and reviewers: security boundaries, repository architecture, terminal tools, and the team operating standard.</p>
|
|
89
|
+
</div>
|
|
90
|
+
</div>
|
|
91
|
+
</section>
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<h2 id="problem">The problem</h2>
|
|
3
|
+
<p>A repository may include <span class="inline-code">.mcp.json</span> and <span class="inline-code">.pi/mcp.json</span>. Cloning an untrusted repository and opening a session must <strong>not</strong> grant its author a process on the operator's machine with the operator's credentials. Servers from those scopes remain unavailable until someone on the machine approves them.</p>
|
|
4
|
+
<pre><code>/piagent-mcp get internal # inspect first
|
|
5
|
+
/piagent-mcp approve internal # or reject, or reset</code></pre>
|
|
6
|
+
<p>In a terminal, omit the slash: <span class="inline-code">piagent-mcp get internal</span>. Both surfaces store the same decision in the same file.</p>
|
|
7
|
+
<p><span class="inline-code">approve</span> prints the definition before recording consent. Approving without reading is exactly what this gate is designed to prevent.</p>
|
|
8
|
+
</section>
|
|
9
|
+
|
|
10
|
+
<section class="section">
|
|
11
|
+
<h2 id="three-properties">Three properties</h2>
|
|
12
|
+
<div class="grid">
|
|
13
|
+
<div class="card"><h3 id="outside-repository">The decision lives outside the repository</h3><p>It is stored in <span class="inline-code">~/.pi/piagent-mcp-approvals.json</span>. If a repository could approve itself, the gate would not exist. A fork, rename, or second checkout starts at <span class="inline-code">pending</span>.</p></div>
|
|
14
|
+
<div class="card"><h3 id="digest-pinning">Pinned by digest</h3><p>Approval means consenting to <em>what the server runs</em>. Changing the command, URL, or arguments creates a new decision and returns the state to <span class="inline-code">approval-changed</span>.</p></div>
|
|
15
|
+
<div class="card"><h3 id="tool-call-enforcement">Enforced at tool call</h3><p>The guard handles both the proxy form (<span class="inline-code">mcp</span> with <span class="inline-code">input.server</span>) and direct tools. A proxy-only gate could be bypassed by enabling <span class="inline-code">directTools</span>.</p></div>
|
|
16
|
+
</div>
|
|
17
|
+
</section>
|
|
18
|
+
|
|
19
|
+
<section class="section">
|
|
20
|
+
<h2 id="limit">Limit</h2>
|
|
21
|
+
<div class="callout">
|
|
22
|
+
<strong>The gate cannot prevent connection establishment</strong>
|
|
23
|
+
<p>The adapter owns connections, so the extension cannot stop one from opening. It blocks <strong>every tool call</strong>, not the connection itself. The residual risk is the connection and any remote log that records it.</p>
|
|
24
|
+
</div>
|
|
25
|
+
<p>Servers in <span class="inline-code">global</span> and <span class="inline-code">pi-global</span> do not pass through this gate. A repository cannot place a server in those scopes, and asking users to approve their own machine configuration would add no security value.</p>
|
|
26
|
+
</section>
|
|
27
|
+
|
|
28
|
+
<section class="section">
|
|
29
|
+
<h2 id="imports">Servers supplied through <span class="inline-code">imports</span></h2>
|
|
30
|
+
<p>MCP configuration supports an <span class="inline-code">imports</span> key that reads server definitions from other tools. Imported servers are not directly declared in one of the four scopes, which creates another path around a naive approval gate.</p>
|
|
31
|
+
<p>Of the six import kinds, only <span class="inline-code">vscode</span> points to a path <strong>inside the project</strong>: <span class="inline-code">.vscode/mcp.json</span>. It travels with a clone and requires approval like any directly declared repository server.</p>
|
|
32
|
+
<div class="table-wrap">
|
|
33
|
+
<table>
|
|
34
|
+
<thead><tr><th>Situation</th><th>Handling</th></tr></thead>
|
|
35
|
+
<tbody>
|
|
36
|
+
<tr><td>Any layer imports a repository-relative kind</td><td>The server requires approval even when the import is declared globally, because the loaded content still lives in the repository.</td></tr>
|
|
37
|
+
<tr><td>A repository scope imports any kind</td><td>The server requires approval because the repository selected what the machine should run.</td></tr>
|
|
38
|
+
<tr><td>A repository scope imports a format that cannot be read, such as Codex TOML</td><td>Block every tool call when that file exists. A present but unreadable source is not equivalent to an empty configuration.</td></tr>
|
|
39
|
+
<tr><td><span class="inline-code">remove</span>, <span class="inline-code">enable</span>, or <span class="inline-code">disable</span> targets an imported server</td><td>Reject the operation and name the actual file to edit. Rewriting another tool's configuration with the platform writer would corrupt ownership and format.</td></tr>
|
|
40
|
+
<tr><td>Repository configuration combines <span class="inline-code">directTools</span> with <span class="inline-code">toolPrefix: "none"</span></td><td>Block every tool call. Without a prefix, the server identity cannot be recovered for approval lookup, while blocking only the proxy would let the unprefixed direct tools pass.</td></tr>
|
|
41
|
+
</tbody>
|
|
42
|
+
</table>
|
|
43
|
+
</div>
|
|
44
|
+
<p><span class="inline-code">piagent-mcp doctor</span> names the importing file, its import kinds, unreadable layers, and import targets that exist but cannot be read. These states must not collapse into "no servers declared".</p>
|
|
45
|
+
<p>For full-block states, <span class="inline-code">doctor</span> and <span class="inline-code">list</span> explain the reason and exit 1, including <span class="inline-code">list --json</span>. Exit status answers whether MCP can operate, not whether the command printed rows. The guard, slash command, and CLI consume the same state.</p>
|
|
46
|
+
<p>The gate cache is scoped by project and recomputed when the signature of every file used by readers changes, including currently missing paths. This lets a newly created imported file or a personal global change become visible immediately.</p>
|
|
47
|
+
<p>The adapter merges <span class="inline-code">settings</span> across all four layers for the session. Therefore <span class="inline-code">directTools</span> in one file and <span class="inline-code">toolPrefix: "none"</span> in another still form the unsafe combination. The report identifies both files.</p>
|
|
48
|
+
<p>The <span class="inline-code">SCOPE</span> column names the layer that declared <span class="inline-code">imports</span>, not the location that defined the server. A server imported by global configuration may still require approval when its source is in the clone.</p>
|
|
49
|
+
</section>
|
|
50
|
+
|
|
51
|
+
<section class="section">
|
|
52
|
+
<h2 id="design-decisions">Design decisions</h2>
|
|
53
|
+
<div class="table-wrap">
|
|
54
|
+
<table>
|
|
55
|
+
<thead><tr><th>Decision</th><th>Reason</th></tr></thead>
|
|
56
|
+
<tbody>
|
|
57
|
+
<tr><td>Gate repository-supplied servers only</td><td>Only <span class="inline-code">.mcp.json</span> and <span class="inline-code">.pi/mcp.json</span> travel with a clone. User-owned machine configuration needs no repository consent.</td></tr>
|
|
58
|
+
<tr><td>Store decisions outside the repository</td><td><span class="inline-code">~/.pi/piagent-mcp-approvals.json</span> prevents a repository from approving itself.</td></tr>
|
|
59
|
+
<tr><td>Pin the definition digest</td><td>Consent applies to the exact command, arguments, and URL. A change returns the server to pending.</td></tr>
|
|
60
|
+
<tr><td>Preview the merged definition but hash the repository-owned fragment</td><td>The adapter merges duplicate IDs by key, so preview must show what will run. Hashing only the repository-controlled fragment prevents unrelated global edits from invalidating consent.</td></tr>
|
|
61
|
+
<tr><td>Block at <span class="inline-code">tool_call</span></td><td>Cover both proxy and direct tools without a bypass. Direct tools are traced through their configured server prefix.</td></tr>
|
|
62
|
+
</tbody>
|
|
63
|
+
</table>
|
|
64
|
+
</div>
|
|
65
|
+
<p>The ideal point would be before connection, but that requires owning the connection. Piagent chooses the furthest point it actually controls and states the residual risk explicitly.</p>
|
|
66
|
+
</section>
|
|
67
|
+
|
|
68
|
+
<section class="section">
|
|
69
|
+
<h2 id="migration">Migration</h2>
|
|
70
|
+
<div class="callout">
|
|
71
|
+
<strong>Projects with existing servers</strong>
|
|
72
|
+
<p>Servers already present in <span class="inline-code">.mcp.json</span> or <span class="inline-code">.pi/mcp.json</span> become <span class="inline-code">pending-approval</span> after update. Run <span class="inline-code">/piagent-mcp approve <name></span> once per project. Shipped templates are empty, so most projects are unaffected; session notices and doctor name every server requiring review.</p>
|
|
73
|
+
</div>
|
|
74
|
+
</section>
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
<section class="section">
|
|
2
|
+
<h2 id="no-token-storage">The platform does not store tokens</h2>
|
|
3
|
+
<p>MCP tokens already have an owner: OAuth belongs to <span class="inline-code">pi-mcp-adapter</span>. The adapter registers <span class="inline-code">/mcp</span> and <span class="inline-code">/mcp-auth</span> and owns storage, refresh, and revocation. A second credential store would only create another leak surface. The platform therefore <strong>detects and guides</strong>.</p>
|
|
4
|
+
<pre><code>/mcp-auth figma</code></pre>
|
|
5
|
+
<div class="callout ok-callout">
|
|
6
|
+
<strong>Boundary</strong>
|
|
7
|
+
<p>The platform does not execute OAuth, store tokens, or refresh them. It can identify that a server <em>requires</em> authentication, but cannot prove whether an existing login is still valid, and reports that uncertainty explicitly.</p>
|
|
8
|
+
</div>
|
|
9
|
+
</section>
|
|
10
|
+
|
|
11
|
+
<section class="section">
|
|
12
|
+
<h2 id="reject-secrets">Secrets are rejected before configuration is written</h2>
|
|
13
|
+
<p>MCP configuration may be read by several clients, lives in a home directory or repository, and project scope may be committed. A token supplied through <span class="inline-code">--env</span> would propagate to all those locations. The add command rejects it and shows the safe form:</p>
|
|
14
|
+
<pre><code>$ piagent-mcp add gh --env GITHUB_PERSONAL_ACCESS_TOKEN=ghp_xxx -- npx -y @acme/gh-mcp
|
|
15
|
+
FAIL: GITHUB_PERSONAL_ACCESS_TOKEN names a credential, so its value cannot be
|
|
16
|
+
written into MCP config. Export it in your shell and reference it instead:
|
|
17
|
+
--env 'GITHUB_PERSONAL_ACCESS_TOKEN=${GITHUB_PERSONAL_ACCESS_TOKEN}'</code></pre>
|
|
18
|
+
<div class="split">
|
|
19
|
+
<div class="card"><h3 id="field-name">Field-name detection</h3><p>Names containing <span class="inline-code">token</span>, <span class="inline-code">secret</span>, <span class="inline-code">password</span>, <span class="inline-code">api_key</span>, or <span class="inline-code">authorization</span> require environment-variable references.</p></div>
|
|
20
|
+
<div class="card"><h3 id="value-shape">Value-shape detection</h3><p>Values are checked independently, so a neutral name such as <span class="inline-code">--env CONFIG=ghp_...</span> is also rejected.</p></div>
|
|
21
|
+
</div>
|
|
22
|
+
<p>The same rules apply to <span class="inline-code">--header</span>. <span class="inline-code">--url</span> accepts HTTPS, or HTTP only for loopback hosts such as Figma desktop MCP. <span class="inline-code">list</span> and <span class="inline-code">get</span> mask values while preserving <span class="inline-code">${VAR}</span>, because the variable name is not the credential.</p>
|
|
23
|
+
</section>
|
|
24
|
+
|
|
25
|
+
<section class="section">
|
|
26
|
+
<h2 id="readiness">Readiness states</h2>
|
|
27
|
+
<p>A server count cannot show which server can answer a call. <span class="inline-code">/piagent-mcp doctor</span> classifies each server:</p>
|
|
28
|
+
<div class="table-wrap">
|
|
29
|
+
<table>
|
|
30
|
+
<thead><tr><th>State</th><th>Meaning</th><th>Action</th></tr></thead>
|
|
31
|
+
<tbody>
|
|
32
|
+
<tr><td><span class="inline-code">ready</span></td><td>Requirements are satisfied</td><td>—</td></tr>
|
|
33
|
+
<tr><td><span class="inline-code">needs-env</span></td><td>Configuration references an unset <span class="inline-code">${VAR}</span></td><td>Export the variable in the shell profile</td></tr>
|
|
34
|
+
<tr><td><span class="inline-code">needs-command</span></td><td>The executable is missing from PATH</td><td>Install it or update the server definition</td></tr>
|
|
35
|
+
<tr><td><span class="inline-code">pending-approval</span></td><td>The repository supplied this server and the machine has not approved it</td><td><span class="inline-code">/piagent-mcp approve <name></span></td></tr>
|
|
36
|
+
<tr><td><span class="inline-code">approval-changed</span></td><td>An approved definition changed</td><td>Review and approve again</td></tr>
|
|
37
|
+
<tr><td><span class="inline-code">rejected</span></td><td>The project server was rejected</td><td>Use <span class="inline-code">reset</span> to reconsider</td></tr>
|
|
38
|
+
<tr><td><span class="inline-code">disabled</span></td><td>Disabled explicitly</td><td><span class="inline-code">/piagent-mcp enable <name></span></td></tr>
|
|
39
|
+
<tr><td><span class="inline-code">oauth</span></td><td>Authentication is owned by Pi</td><td><span class="inline-code">/mcp-auth <name></span> when login is needed</td></tr>
|
|
40
|
+
</tbody>
|
|
41
|
+
</table>
|
|
42
|
+
</div>
|
|
43
|
+
<p>The report states only what it can prove. <span class="inline-code">needs-env</span> prints the variable <strong>name</strong>, never its value.</p>
|
|
44
|
+
<p>Inside a session, <span class="inline-code">/piagent-mcp doctor</span> returns the same report with slash-command remedies. From a terminal:</p>
|
|
45
|
+
<pre><code>$ piagent-mcp doctor
|
|
46
|
+
OK context7 (global): ready
|
|
47
|
+
OK chrome-devtools (global): ready
|
|
48
|
+
NEED github (global): GITHUB_PERSONAL_ACCESS_TOKEN is referenced but not set
|
|
49
|
+
-> export GITHUB_PERSONAL_ACCESS_TOKEN=... in your shell profile
|
|
50
|
+
NEED docker: installed but the daemon is not responding
|
|
51
|
+
-> start Docker Desktop, then re-run piagent-mcp doctor</code></pre>
|
|
52
|
+
<div class="callout">
|
|
53
|
+
<strong>Why <span class="inline-code">oauth</span> is not an error</strong>
|
|
54
|
+
<p>It does not appear in the session-start notice because the platform cannot tell whether the user is already logged in. Repeating an uncertain warning every session would create noise. The notice includes only proven blockers; disable it with <span class="inline-code">PIAGENT_NO_MCP_NOTICE=1</span>.</p>
|
|
55
|
+
</div>
|
|
56
|
+
<p><span class="inline-code">doctor</span> also runs <span class="inline-code">docker info</span>. That slower check belongs in doctor, not session startup. <span class="inline-code">piagent-doctor</span> includes blocking states in its warnings.</p>
|
|
57
|
+
</section>
|