@arokodev/cli 0.0.0-stage → 0.1.0-alpha.5
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/LICENSE +202 -0
- package/dist/args.d.ts +10 -0
- package/dist/args.d.ts.map +1 -0
- package/dist/args.js +76 -0
- package/dist/args.js.map +1 -0
- package/dist/cli-brand.d.ts +6 -0
- package/dist/cli-brand.d.ts.map +1 -0
- package/dist/cli-brand.js +39 -0
- package/dist/cli-brand.js.map +1 -0
- package/dist/commands/action.d.ts +2 -0
- package/dist/commands/action.d.ts.map +1 -0
- package/dist/commands/action.js +228 -0
- package/dist/commands/action.js.map +1 -0
- package/dist/commands/ask.d.ts +5 -0
- package/dist/commands/ask.d.ts.map +1 -0
- package/dist/commands/ask.js +118 -0
- package/dist/commands/ask.js.map +1 -0
- package/dist/commands/audit.d.ts +2 -0
- package/dist/commands/audit.d.ts.map +1 -0
- package/dist/commands/audit.js +25 -0
- package/dist/commands/audit.js.map +1 -0
- package/dist/commands/claude-setup.d.ts +2 -0
- package/dist/commands/claude-setup.d.ts.map +1 -0
- package/dist/commands/claude-setup.js +36 -0
- package/dist/commands/claude-setup.js.map +1 -0
- package/dist/commands/config.d.ts +5 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +186 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/connect.d.ts +6 -0
- package/dist/commands/connect.d.ts.map +1 -0
- package/dist/commands/connect.js +138 -0
- package/dist/commands/connect.js.map +1 -0
- package/dist/commands/control.d.ts +2 -0
- package/dist/commands/control.d.ts.map +1 -0
- package/dist/commands/control.js +123 -0
- package/dist/commands/control.js.map +1 -0
- package/dist/commands/cursor-setup.d.ts +2 -0
- package/dist/commands/cursor-setup.d.ts.map +1 -0
- package/dist/commands/cursor-setup.js +104 -0
- package/dist/commands/cursor-setup.js.map +1 -0
- package/dist/commands/doctor.d.ts +2 -0
- package/dist/commands/doctor.d.ts.map +1 -0
- package/dist/commands/doctor.js +345 -0
- package/dist/commands/doctor.js.map +1 -0
- package/dist/commands/init.d.ts +2 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +61 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/logs.d.ts +2 -0
- package/dist/commands/logs.d.ts.map +1 -0
- package/dist/commands/logs.js +24 -0
- package/dist/commands/logs.js.map +1 -0
- package/dist/commands/mcp.d.ts +2 -0
- package/dist/commands/mcp.d.ts.map +1 -0
- package/dist/commands/mcp.js +117 -0
- package/dist/commands/mcp.js.map +1 -0
- package/dist/commands/open.d.ts +3 -0
- package/dist/commands/open.d.ts.map +1 -0
- package/dist/commands/open.js +10 -0
- package/dist/commands/open.js.map +1 -0
- package/dist/commands/permissions.d.ts +2 -0
- package/dist/commands/permissions.d.ts.map +1 -0
- package/dist/commands/permissions.js +105 -0
- package/dist/commands/permissions.js.map +1 -0
- package/dist/commands/relay.d.ts +2 -0
- package/dist/commands/relay.d.ts.map +1 -0
- package/dist/commands/relay.js +44 -0
- package/dist/commands/relay.js.map +1 -0
- package/dist/commands/requests.d.ts +6 -0
- package/dist/commands/requests.d.ts.map +1 -0
- package/dist/commands/requests.js +124 -0
- package/dist/commands/requests.js.map +1 -0
- package/dist/commands/restart.d.ts +2 -0
- package/dist/commands/restart.d.ts.map +1 -0
- package/dist/commands/restart.js +48 -0
- package/dist/commands/restart.js.map +1 -0
- package/dist/commands/session.d.ts +9 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +395 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/commands/start.d.ts +2 -0
- package/dist/commands/start.d.ts.map +1 -0
- package/dist/commands/start.js +84 -0
- package/dist/commands/start.js.map +1 -0
- package/dist/commands/stop.d.ts +2 -0
- package/dist/commands/stop.d.ts.map +1 -0
- package/dist/commands/stop.js +18 -0
- package/dist/commands/stop.js.map +1 -0
- package/dist/commands/task.d.ts +2 -0
- package/dist/commands/task.d.ts.map +1 -0
- package/dist/commands/task.js +318 -0
- package/dist/commands/task.js.map +1 -0
- package/dist/commands/update.d.ts +5 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +169 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/version.d.ts +3 -0
- package/dist/commands/version.d.ts.map +1 -0
- package/dist/commands/version.js +40 -0
- package/dist/commands/version.js.map +1 -0
- package/dist/commands/watch.d.ts +2 -0
- package/dist/commands/watch.d.ts.map +1 -0
- package/dist/commands/watch.js +371 -0
- package/dist/commands/watch.js.map +1 -0
- package/dist/context.d.ts +4 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +11 -0
- package/dist/context.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +264 -0
- package/dist/index.js.map +1 -0
- package/dist/runtime/background-runtime.d.ts +21 -0
- package/dist/runtime/background-runtime.d.ts.map +1 -0
- package/dist/runtime/background-runtime.js +230 -0
- package/dist/runtime/background-runtime.js.map +1 -0
- package/dist/runtime/foreground-runtime.d.ts +15 -0
- package/dist/runtime/foreground-runtime.d.ts.map +1 -0
- package/dist/runtime/foreground-runtime.js +245 -0
- package/dist/runtime/foreground-runtime.js.map +1 -0
- package/dist/runtime/upgrade-handshake.d.ts +41 -0
- package/dist/runtime/upgrade-handshake.d.ts.map +1 -0
- package/dist/runtime/upgrade-handshake.js +221 -0
- package/dist/runtime/upgrade-handshake.js.map +1 -0
- package/dist/runtime/worker.d.ts +3 -0
- package/dist/runtime/worker.d.ts.map +1 -0
- package/dist/runtime/worker.js +25 -0
- package/dist/runtime/worker.js.map +1 -0
- package/dist/version.d.ts +8 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +66 -0
- package/dist/version.js.map +1 -0
- package/dist/workspace.d.ts +5 -0
- package/dist/workspace.d.ts.map +1 -0
- package/dist/workspace.js +17 -0
- package/dist/workspace.js.map +1 -0
- package/node_modules/@a2a-js/sdk/LICENSE +202 -0
- package/node_modules/@a2a-js/sdk/README.md +321 -0
- package/node_modules/@a2a-js/sdk/dist/a2a-CJdXl9vi.d.cts +830 -0
- package/node_modules/@a2a-js/sdk/dist/a2a-CJdXl9vi.d.ts +830 -0
- package/node_modules/@a2a-js/sdk/dist/a2a_request_handler-DYESfch9.d.ts +19 -0
- package/node_modules/@a2a-js/sdk/dist/a2a_request_handler-X6sphdno.d.cts +19 -0
- package/node_modules/@a2a-js/sdk/dist/agent_card_handler-DdsMrp1N.d.ts +57 -0
- package/node_modules/@a2a-js/sdk/dist/agent_card_handler-Hxgnif9P.d.cts +57 -0
- package/node_modules/@a2a-js/sdk/dist/base-BQdNEObP.d.cts +113 -0
- package/node_modules/@a2a-js/sdk/dist/base-BQdNEObP.d.ts +113 -0
- package/node_modules/@a2a-js/sdk/dist/cli/a2a_db.js +23 -0
- package/node_modules/@a2a-js/sdk/dist/cli/run.js +724 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.cjs +6709 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.d.cts +247 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.d.ts +247 -0
- package/node_modules/@a2a-js/sdk/dist/client/index.js +6659 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.cjs +9912 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.d.cts +37 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.d.ts +37 -0
- package/node_modules/@a2a-js/sdk/dist/client/transports/grpc/index.js +9879 -0
- package/node_modules/@a2a-js/sdk/dist/common-BBr9yk4y.d.cts +9 -0
- package/node_modules/@a2a-js/sdk/dist/common-_tbJ9jX2.d.ts +9 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.cjs +3856 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.d.cts +155 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.d.ts +155 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/index.js +3826 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.cjs +5988 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.d.cts +60 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.d.ts +60 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/client/transports/grpc/index.js +5953 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.cjs +857 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.d.cts +133 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.d.ts +133 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/index.js +808 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.cjs +3891 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.d.cts +83 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.d.ts +83 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/express/index.js +3853 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.cjs +6292 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.d.cts +1065 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.d.ts +1065 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/grpc/index.js +6256 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.cjs +2209 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.d.cts +1252 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.d.ts +1252 -0
- package/node_modules/@a2a-js/sdk/dist/compat/v0_3/server/index.js +2167 -0
- package/node_modules/@a2a-js/sdk/dist/constants-PdvgZRkF.d.cts +31 -0
- package/node_modules/@a2a-js/sdk/dist/constants-PdvgZRkF.d.ts +31 -0
- package/node_modules/@a2a-js/sdk/dist/context-BT-gNvOc.d.cts +110 -0
- package/node_modules/@a2a-js/sdk/dist/context-CI8-TqEC.d.ts +110 -0
- package/node_modules/@a2a-js/sdk/dist/core-2M_ZGi8t.d.cts +15 -0
- package/node_modules/@a2a-js/sdk/dist/core-2M_ZGi8t.d.ts +15 -0
- package/node_modules/@a2a-js/sdk/dist/default_push_notification_sender-B9XytetV.d.ts +107 -0
- package/node_modules/@a2a-js/sdk/dist/default_push_notification_sender-BLXGYWWX.d.cts +107 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.cjs +585 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.d.cts +239 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.d.ts +239 -0
- package/node_modules/@a2a-js/sdk/dist/errors/grpc/index.js +540 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.cjs +546 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.d.cts +197 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.d.ts +197 -0
- package/node_modules/@a2a-js/sdk/dist/errors/index.js +476 -0
- package/node_modules/@a2a-js/sdk/dist/extensions-DglIgEjg.d.ts +145 -0
- package/node_modules/@a2a-js/sdk/dist/extensions-JbNg_D8m.d.cts +145 -0
- package/node_modules/@a2a-js/sdk/dist/index.cjs +1933 -0
- package/node_modules/@a2a-js/sdk/dist/index.d.cts +65 -0
- package/node_modules/@a2a-js/sdk/dist/index.d.ts +65 -0
- package/node_modules/@a2a-js/sdk/dist/index.js +1826 -0
- package/node_modules/@a2a-js/sdk/dist/multitransport-client-Bq8elQ1W.d.ts +257 -0
- package/node_modules/@a2a-js/sdk/dist/multitransport-client-Co0-x8pk.d.cts +257 -0
- package/node_modules/@a2a-js/sdk/dist/push_notification_store-BS7Bm-Wx.d.cts +73 -0
- package/node_modules/@a2a-js/sdk/dist/push_notification_store-BqBwsxZu.d.ts +73 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.cjs +1074 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.d.cts +123 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.d.ts +123 -0
- package/node_modules/@a2a-js/sdk/dist/server/database/index.js +1034 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.cjs +6382 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.d.cts +73 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.d.ts +73 -0
- package/node_modules/@a2a-js/sdk/dist/server/express/index.js +6342 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.cjs +4670 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.d.cts +245 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.d.ts +245 -0
- package/node_modules/@a2a-js/sdk/dist/server/grpc/index.js +4633 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.cjs +3941 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.d.cts +521 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.d.ts +521 -0
- package/node_modules/@a2a-js/sdk/dist/server/index.js +3885 -0
- package/node_modules/@a2a-js/sdk/dist/signature-0lXTnH2m.d.ts +66 -0
- package/node_modules/@a2a-js/sdk/dist/signature-BteR1cTB.d.cts +66 -0
- package/node_modules/@a2a-js/sdk/dist/store-ITPVQgJ1.d.ts +51 -0
- package/node_modules/@a2a-js/sdk/dist/store-e4nvcBHL.d.cts +51 -0
- package/node_modules/@a2a-js/sdk/package.json +234 -0
- package/node_modules/@modelcontextprotocol/core/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/core/README.md +40 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-Anm-lwWi.d.mts +8507 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-Anm-lwWi.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs +1681 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-BNDyLTqp.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-D1CeV_Jr.cjs +2902 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-D1CeV_Jr.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-V9XJSCfa.d.cts +8507 -0
- package/node_modules/@modelcontextprotocol/core/dist/auth-V9XJSCfa.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.cjs +175 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/core/dist/index.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.cjs +201 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts +99 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/core/dist/internal.mjs +3 -0
- package/node_modules/@modelcontextprotocol/core/package.json +85 -0
- package/node_modules/@modelcontextprotocol/server/LICENSE +216 -0
- package/node_modules/@modelcontextprotocol/server/README.md +24 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs +7514 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CEoC__sr.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-CgI-5L6O.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts +1071 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-FOQRM7up.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs +7531 -0
- package/node_modules/@modelcontextprotocol/server/dist/ajvProvider-ZaoO9afR.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs +986 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-BwbPzsdI.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-C03CSigr.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts +74 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-doTkZbTr.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs +981 -0
- package/node_modules/@modelcontextprotocol/server/dist/cfWorkerProvider-p3WaZPqB.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Bnu9O96Y.cjs +60 -0
- package/node_modules/@modelcontextprotocol/server/dist/chunk-Br0eD_fh.mjs +42 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts +4168 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-D4NN8WsG.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-DZmmlN8e.d.cts +4170 -0
- package/node_modules/@modelcontextprotocol/server/dist/createMcpHandler-DZmmlN8e.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs +46 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-D8eXzoGv.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs +34 -0
- package/node_modules/@modelcontextprotocol/server/dist/dialects-DoSzNhcb.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs +1978 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts +810 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts +810 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs +1790 -0
- package/node_modules/@modelcontextprotocol/server/dist/index.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-BumlNux0.cjs +2477 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-BumlNux0.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DIH4cS6P.mjs +2326 -0
- package/node_modules/@modelcontextprotocol/server/dist/mcp-DIH4cS6P.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs +23 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts +11 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs +22 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsBrowser.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.cjs +12 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.cts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.d.mts +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsNode.mjs +4 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs +30 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts +10 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs +29 -0
- package/node_modules/@modelcontextprotocol/server/dist/shimsWorkerd.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-BhnGYybN.cjs +8200 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-BhnGYybN.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-Cqbh3MYc.mjs +7702 -0
- package/node_modules/@modelcontextprotocol/server/dist/src-Cqbh3MYc.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs +591 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.cjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts +115 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts +115 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs +589 -0
- package/node_modules/@modelcontextprotocol/server/dist/stdio.mjs.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DUs7mGBv.d.mts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts +1099 -0
- package/node_modules/@modelcontextprotocol/server/dist/types-DsbMXNFL.d.cts.map +1 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.cjs +5 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/ajv.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.cjs +3 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.cts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.d.mts +2 -0
- package/node_modules/@modelcontextprotocol/server/dist/validators/cfWorker.mjs +3 -0
- package/node_modules/@modelcontextprotocol/server/package.json +160 -0
- package/node_modules/@noble/ciphers/LICENSE +22 -0
- package/node_modules/@noble/ciphers/README.md +554 -0
- package/node_modules/@noble/ciphers/_arx.d.ts +145 -0
- package/node_modules/@noble/ciphers/_arx.js +379 -0
- package/node_modules/@noble/ciphers/_poly1305.d.ts +72 -0
- package/node_modules/@noble/ciphers/_poly1305.js +318 -0
- package/node_modules/@noble/ciphers/_polyval.d.ts +120 -0
- package/node_modules/@noble/ciphers/_polyval.js +331 -0
- package/node_modules/@noble/ciphers/aes.d.ts +472 -0
- package/node_modules/@noble/ciphers/aes.js +1823 -0
- package/node_modules/@noble/ciphers/chacha.d.ts +259 -0
- package/node_modules/@noble/ciphers/chacha.js +460 -0
- package/node_modules/@noble/ciphers/ff1.d.ts +44 -0
- package/node_modules/@noble/ciphers/ff1.js +279 -0
- package/node_modules/@noble/ciphers/index.d.ts +1 -0
- package/node_modules/@noble/ciphers/index.js +26 -0
- package/node_modules/@noble/ciphers/package.json +79 -0
- package/node_modules/@noble/ciphers/salsa.d.ts +133 -0
- package/node_modules/@noble/ciphers/salsa.js +300 -0
- package/node_modules/@noble/ciphers/src/_arx.ts +507 -0
- package/node_modules/@noble/ciphers/src/_poly1305.ts +350 -0
- package/node_modules/@noble/ciphers/src/_polyval.ts +383 -0
- package/node_modules/@noble/ciphers/src/aes.ts +2074 -0
- package/node_modules/@noble/ciphers/src/chacha.ts +483 -0
- package/node_modules/@noble/ciphers/src/ff1.ts +299 -0
- package/node_modules/@noble/ciphers/src/index.ts +25 -0
- package/node_modules/@noble/ciphers/src/salsa.ts +313 -0
- package/node_modules/@noble/ciphers/src/utils.ts +1295 -0
- package/node_modules/@noble/ciphers/src/webcrypto.ts +288 -0
- package/node_modules/@noble/ciphers/utils.d.ts +739 -0
- package/node_modules/@noble/ciphers/utils.js +896 -0
- package/node_modules/@noble/ciphers/webcrypto.d.ts +91 -0
- package/node_modules/@noble/ciphers/webcrypto.js +211 -0
- package/node_modules/@noble/curves/LICENSE +21 -0
- package/node_modules/@noble/curves/README.md +844 -0
- package/node_modules/@noble/curves/abstract/bls.d.ts +429 -0
- package/node_modules/@noble/curves/abstract/bls.js +568 -0
- package/node_modules/@noble/curves/abstract/curve.d.ts +497 -0
- package/node_modules/@noble/curves/abstract/curve.js +752 -0
- package/node_modules/@noble/curves/abstract/der.d.ts +97 -0
- package/node_modules/@noble/curves/abstract/der.js +168 -0
- package/node_modules/@noble/curves/abstract/edwards.d.ts +329 -0
- package/node_modules/@noble/curves/abstract/edwards.js +712 -0
- package/node_modules/@noble/curves/abstract/fft.d.ts +444 -0
- package/node_modules/@noble/curves/abstract/fft.js +644 -0
- package/node_modules/@noble/curves/abstract/frost.d.ts +471 -0
- package/node_modules/@noble/curves/abstract/frost.js +870 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +291 -0
- package/node_modules/@noble/curves/abstract/hash-to-curve.js +568 -0
- package/node_modules/@noble/curves/abstract/modular.d.ts +581 -0
- package/node_modules/@noble/curves/abstract/modular.js +972 -0
- package/node_modules/@noble/curves/abstract/montgomery.d.ts +185 -0
- package/node_modules/@noble/curves/abstract/montgomery.js +311 -0
- package/node_modules/@noble/curves/abstract/oprf.d.ts +354 -0
- package/node_modules/@noble/curves/abstract/oprf.js +370 -0
- package/node_modules/@noble/curves/abstract/poseidon.d.ts +198 -0
- package/node_modules/@noble/curves/abstract/poseidon.js +482 -0
- package/node_modules/@noble/curves/abstract/tower.d.ts +211 -0
- package/node_modules/@noble/curves/abstract/tower.js +949 -0
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts +455 -0
- package/node_modules/@noble/curves/abstract/weierstrass.js +1165 -0
- package/node_modules/@noble/curves/bls12-381.d.ts +23 -0
- package/node_modules/@noble/curves/bls12-381.js +753 -0
- package/node_modules/@noble/curves/bn254.d.ts +74 -0
- package/node_modules/@noble/curves/bn254.js +275 -0
- package/node_modules/@noble/curves/ed25519.d.ts +212 -0
- package/node_modules/@noble/curves/ed25519.js +649 -0
- package/node_modules/@noble/curves/ed448.d.ts +186 -0
- package/node_modules/@noble/curves/ed448.js +623 -0
- package/node_modules/@noble/curves/index.d.ts +1 -0
- package/node_modules/@noble/curves/index.js +38 -0
- package/node_modules/@noble/curves/misc.d.ts +113 -0
- package/node_modules/@noble/curves/misc.js +211 -0
- package/node_modules/@noble/curves/nist.d.ts +138 -0
- package/node_modules/@noble/curves/nist.js +270 -0
- package/node_modules/@noble/curves/package.json +98 -0
- package/node_modules/@noble/curves/secp256k1.d.ts +156 -0
- package/node_modules/@noble/curves/secp256k1.js +474 -0
- package/node_modules/@noble/curves/src/abstract/bls.ts +1063 -0
- package/node_modules/@noble/curves/src/abstract/curve.ts +1080 -0
- package/node_modules/@noble/curves/src/abstract/der.ts +223 -0
- package/node_modules/@noble/curves/src/abstract/edwards.ts +1045 -0
- package/node_modules/@noble/curves/src/abstract/fft.ts +926 -0
- package/node_modules/@noble/curves/src/abstract/frost.ts +1477 -0
- package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +717 -0
- package/node_modules/@noble/curves/src/abstract/modular.ts +1208 -0
- package/node_modules/@noble/curves/src/abstract/montgomery.ts +420 -0
- package/node_modules/@noble/curves/src/abstract/oprf.ts +805 -0
- package/node_modules/@noble/curves/src/abstract/poseidon.ts +556 -0
- package/node_modules/@noble/curves/src/abstract/tower.ts +1150 -0
- package/node_modules/@noble/curves/src/abstract/weierstrass.ts +1666 -0
- package/node_modules/@noble/curves/src/bls12-381.ts +862 -0
- package/node_modules/@noble/curves/src/bn254.ts +310 -0
- package/node_modules/@noble/curves/src/ed25519.ts +736 -0
- package/node_modules/@noble/curves/src/ed448.ts +743 -0
- package/node_modules/@noble/curves/src/index.ts +37 -0
- package/node_modules/@noble/curves/src/misc.ts +260 -0
- package/node_modules/@noble/curves/src/nist.ts +329 -0
- package/node_modules/@noble/curves/src/secp256k1.ts +591 -0
- package/node_modules/@noble/curves/src/utils.ts +930 -0
- package/node_modules/@noble/curves/src/webcrypto.ts +649 -0
- package/node_modules/@noble/curves/utils.d.ts +610 -0
- package/node_modules/@noble/curves/utils.js +710 -0
- package/node_modules/@noble/curves/webcrypto.d.ts +240 -0
- package/node_modules/@noble/curves/webcrypto.js +431 -0
- package/node_modules/@noble/hashes/LICENSE +21 -0
- package/node_modules/@noble/hashes/README.md +478 -0
- package/node_modules/@noble/hashes/_blake.d.ts +20 -0
- package/node_modules/@noble/hashes/_blake.js +59 -0
- package/node_modules/@noble/hashes/_md.d.ts +95 -0
- package/node_modules/@noble/hashes/_md.js +209 -0
- package/node_modules/@noble/hashes/_u64.d.ts +36 -0
- package/node_modules/@noble/hashes/_u64.js +77 -0
- package/node_modules/@noble/hashes/argon2.d.ts +148 -0
- package/node_modules/@noble/hashes/argon2.js +577 -0
- package/node_modules/@noble/hashes/blake1.d.ts +162 -0
- package/node_modules/@noble/hashes/blake1.js +630 -0
- package/node_modules/@noble/hashes/blake2.d.ts +203 -0
- package/node_modules/@noble/hashes/blake2.js +573 -0
- package/node_modules/@noble/hashes/blake3.d.ts +68 -0
- package/node_modules/@noble/hashes/blake3.js +310 -0
- package/node_modules/@noble/hashes/eskdf.d.ts +91 -0
- package/node_modules/@noble/hashes/eskdf.js +225 -0
- package/node_modules/@noble/hashes/hkdf.d.ts +70 -0
- package/node_modules/@noble/hashes/hkdf.js +152 -0
- package/node_modules/@noble/hashes/hmac.d.ts +50 -0
- package/node_modules/@noble/hashes/hmac.js +93 -0
- package/node_modules/@noble/hashes/index.d.ts +1 -0
- package/node_modules/@noble/hashes/index.js +34 -0
- package/node_modules/@noble/hashes/legacy.d.ts +107 -0
- package/node_modules/@noble/hashes/legacy.js +348 -0
- package/node_modules/@noble/hashes/package.json +91 -0
- package/node_modules/@noble/hashes/pbkdf2.d.ts +66 -0
- package/node_modules/@noble/hashes/pbkdf2.js +176 -0
- package/node_modules/@noble/hashes/scrypt.d.ts +98 -0
- package/node_modules/@noble/hashes/scrypt.js +304 -0
- package/node_modules/@noble/hashes/sha2.d.ts +176 -0
- package/node_modules/@noble/hashes/sha2.js +446 -0
- package/node_modules/@noble/hashes/sha3-addons.d.ts +533 -0
- package/node_modules/@noble/hashes/sha3-addons.js +973 -0
- package/node_modules/@noble/hashes/sha3.d.ts +208 -0
- package/node_modules/@noble/hashes/sha3.js +475 -0
- package/node_modules/@noble/hashes/src/_blake.ts +67 -0
- package/node_modules/@noble/hashes/src/_md.ts +227 -0
- package/node_modules/@noble/hashes/src/_u64.ts +111 -0
- package/node_modules/@noble/hashes/src/argon2.ts +693 -0
- package/node_modules/@noble/hashes/src/blake1.ts +677 -0
- package/node_modules/@noble/hashes/src/blake2.ts +648 -0
- package/node_modules/@noble/hashes/src/blake3.ts +344 -0
- package/node_modules/@noble/hashes/src/eskdf.ts +265 -0
- package/node_modules/@noble/hashes/src/hkdf.ts +161 -0
- package/node_modules/@noble/hashes/src/hmac.ts +130 -0
- package/node_modules/@noble/hashes/src/index.ts +33 -0
- package/node_modules/@noble/hashes/src/legacy.ts +361 -0
- package/node_modules/@noble/hashes/src/pbkdf2.ts +219 -0
- package/node_modules/@noble/hashes/src/scrypt.ts +375 -0
- package/node_modules/@noble/hashes/src/sha2.ts +486 -0
- package/node_modules/@noble/hashes/src/sha3-addons.ts +1157 -0
- package/node_modules/@noble/hashes/src/sha3.ts +525 -0
- package/node_modules/@noble/hashes/src/utils.ts +978 -0
- package/node_modules/@noble/hashes/src/webcrypto.ts +283 -0
- package/node_modules/@noble/hashes/utils.d.ts +560 -0
- package/node_modules/@noble/hashes/utils.js +687 -0
- package/node_modules/@noble/hashes/webcrypto.d.ts +121 -0
- package/node_modules/@noble/hashes/webcrypto.js +228 -0
- package/node_modules/@pairmesh/client/control-web/activity-present.js +238 -0
- package/node_modules/@pairmesh/client/control-web/app.css +1134 -0
- package/node_modules/@pairmesh/client/control-web/app.js +2744 -0
- package/node_modules/@pairmesh/client/control-web/history-present.js +510 -0
- package/node_modules/@pairmesh/client/control-web/home-present.js +395 -0
- package/node_modules/@pairmesh/client/control-web/index.html +170 -0
- package/node_modules/@pairmesh/client/control-web/live-present.js +628 -0
- package/node_modules/@pairmesh/client/control-web/people-present.js +244 -0
- package/node_modules/@pairmesh/client/control-web/settings-present.js +416 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.js +48 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.d.ts +11 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.js +41 -0
- package/node_modules/@pairmesh/client/dist/a2a/action-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.js +93 -0
- package/node_modules/@pairmesh/client/dist/a2a/adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.js +58 -0
- package/node_modules/@pairmesh/client/dist/a2a/client-factory.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.d.ts +50 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.js +431 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.js +48 -0
- package/node_modules/@pairmesh/client/dist/a2a/inspection-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.js +69 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.js +64 -0
- package/node_modules/@pairmesh/client/dist/a2a/pairing-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.js +48 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.js +124 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-lifecycle.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.d.ts +11 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.js +41 -0
- package/node_modules/@pairmesh/client/dist/a2a/task-messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.js +232 -0
- package/node_modules/@pairmesh/client/dist/action/apply/lifecycle-ops.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.d.ts +40 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.js +235 -0
- package/node_modules/@pairmesh/client/dist/action/apply/mutation-journal.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.d.ts +79 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.js +382 -0
- package/node_modules/@pairmesh/client/dist/action/apply/patch-applicator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.js +242 -0
- package/node_modules/@pairmesh/client/dist/action/apply/unified-diff-apply.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.js +22 -0
- package/node_modules/@pairmesh/client/dist/action/apply/workspace-lock.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.js +89 -0
- package/node_modules/@pairmesh/client/dist/action/artifacts.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.js +229 -0
- package/node_modules/@pairmesh/client/dist/action/change-propose-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/digest.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/action/digest.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/digest.js +25 -0
- package/node_modules/@pairmesh/client/dist/action/digest.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/executor.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/action/executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/executor.js +115 -0
- package/node_modules/@pairmesh/client/dist/action/executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/index.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/action/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/index.js +24 -0
- package/node_modules/@pairmesh/client/dist/action/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.js +20 -0
- package/node_modules/@pairmesh/client/dist/action/lifecycle.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.js +103 -0
- package/node_modules/@pairmesh/client/dist/action/owner-activity-summary.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.d.ts +31 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.js +55 -0
- package/node_modules/@pairmesh/client/dist/action/process/artifact.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.js +23 -0
- package/node_modules/@pairmesh/client/dist/action/process/concurrency.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.js +88 -0
- package/node_modules/@pairmesh/client/dist/action/process/owner-projection.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.d.ts +61 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.js +338 -0
- package/node_modules/@pairmesh/client/dist/action/process/resolve.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.d.ts +31 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.js +177 -0
- package/node_modules/@pairmesh/client/dist/action/process/runner.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.js +243 -0
- package/node_modules/@pairmesh/client/dist/action/process/shell-host-policy.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.js +39 -0
- package/node_modules/@pairmesh/client/dist/action/process/spawn-journal.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.js +242 -0
- package/node_modules/@pairmesh/client/dist/action/process-execute-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/progress.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/action/progress.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/progress.js +163 -0
- package/node_modules/@pairmesh/client/dist/action/progress.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.d.ts +21 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.js +66 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/coding-agent-generator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.js +2 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/generator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.js +7 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.js +12 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/limits.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.js +161 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/paths.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.d.ts +49 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.js +54 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/schema.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.d.ts +29 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.js +425 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/unified-diff.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.js +55 -0
- package/node_modules/@pairmesh/client/dist/action/proposal/working-tree.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.js +118 -0
- package/node_modules/@pairmesh/client/dist/action/provider-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/registry.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/action/registry.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/registry.js +92 -0
- package/node_modules/@pairmesh/client/dist/action/registry.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.d.ts +14 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.js +297 -0
- package/node_modules/@pairmesh/client/dist/action/remote-handler.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.js +400 -0
- package/node_modules/@pairmesh/client/dist/action/repository-edit-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/service.d.ts +160 -0
- package/node_modules/@pairmesh/client/dist/action/service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/service.js +975 -0
- package/node_modules/@pairmesh/client/dist/action/service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.d.ts +64 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.js +177 -0
- package/node_modules/@pairmesh/client/dist/action/session-bridge.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.js +26 -0
- package/node_modules/@pairmesh/client/dist/action/tests/concurrency.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.js +159 -0
- package/node_modules/@pairmesh/client/dist/action/tests/process-runner.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.d.ts +70 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.js +322 -0
- package/node_modules/@pairmesh/client/dist/action/tests/profile.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.d.ts +25 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.js +193 -0
- package/node_modules/@pairmesh/client/dist/action/tests-run-executor.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.d.ts +134 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.js +278 -0
- package/node_modules/@pairmesh/client/dist/action/watch-present.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/index.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/audit/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/index.js +2 -0
- package/node_modules/@pairmesh/client/dist/audit/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/log.d.ts +73 -0
- package/node_modules/@pairmesh/client/dist/audit/log.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/audit/log.js +298 -0
- package/node_modules/@pairmesh/client/dist/audit/log.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.js +25 -0
- package/node_modules/@pairmesh/client/dist/auth/bearer.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.d.ts +87 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.js +361 -0
- package/node_modules/@pairmesh/client/dist/auth/capabilities.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.js +54 -0
- package/node_modules/@pairmesh/client/dist/auth/credentials.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/index.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/auth/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/index.js +7 -0
- package/node_modules/@pairmesh/client/dist/auth/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.d.ts +38 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.js +119 -0
- package/node_modules/@pairmesh/client/dist/auth/invites.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.js +39 -0
- package/node_modules/@pairmesh/client/dist/auth/secrets.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.d.ts +25 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.js +68 -0
- package/node_modules/@pairmesh/client/dist/auth/session-security.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.js +8 -0
- package/node_modules/@pairmesh/client/dist/bootstrap.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.d.ts +21 -0
- package/node_modules/@pairmesh/client/dist/build-info.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.js +23 -0
- package/node_modules/@pairmesh/client/dist/build-info.generated.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/build-info.js +2 -0
- package/node_modules/@pairmesh/client/dist/build-info.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.js +2 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.js +139 -0
- package/node_modules/@pairmesh/client/dist/claude-code-session/setup.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.js +131 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/acp-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.js +108 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/availability.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.d.ts +64 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.js +474 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-code-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.d.ts +81 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.js +559 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/claude-stream-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.js +140 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/config.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.d.ts +77 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.js +437 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-acp-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.js +553 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/cursor-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.js +66 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/descriptors.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.js +528 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/fake-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.d.ts +55 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.js +337 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-cli-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.d.ts +69 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.js +500 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/gemini-stream-activity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.js +26 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.js +93 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/lazy-adapter.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.js +65 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/ndjson-line-buffer.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.d.ts +26 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.js +189 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/prompt.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.js +193 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/proposal-provider-response.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.d.ts +61 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.js +70 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/provider-visibility.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.js +66 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/registry.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.js +29 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/sanitize.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.d.ts +14 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.js +222 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/source-references.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.d.ts +32 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.js +115 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/streaming-process.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.d.ts +121 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.js +27 -0
- package/node_modules/@pairmesh/client/dist/coding-agent/types.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.d.ts +64 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.js +175 -0
- package/node_modules/@pairmesh/client/dist/collaboration/ask-intent.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.d.ts +38 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.js +461 -0
- package/node_modules/@pairmesh/client/dist/collaboration/collaborative-task-service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.d.ts +79 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.js +813 -0
- package/node_modules/@pairmesh/client/dist/collaboration/continuation-orchestrator.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.js +80 -0
- package/node_modules/@pairmesh/client/dist/collaboration/fake-task-worker.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.d.ts +42 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.js +320 -0
- package/node_modules/@pairmesh/client/dist/collaboration/gemini-goal-mcp-provision.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.d.ts +44 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.js +88 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-config.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.js +84 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-mcp-stdio.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.d.ts +31 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.js +210 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-host-tools.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.js +98 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-prompt.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.d.ts +94 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.js +745 -0
- package/node_modules/@pairmesh/client/dist/collaboration/goal-task-worker.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.d.ts +45 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.js +447 -0
- package/node_modules/@pairmesh/client/dist/collaboration/host-request-service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.js +17 -0
- package/node_modules/@pairmesh/client/dist/collaboration/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.d.ts +79 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.js +586 -0
- package/node_modules/@pairmesh/client/dist/collaboration/input-request-service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.d.ts +89 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.js +369 -0
- package/node_modules/@pairmesh/client/dist/collaboration/orchestrate.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.js +130 -0
- package/node_modules/@pairmesh/client/dist/collaboration/present.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.d.ts +26 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.js +202 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-action-mirror.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.js +39 -0
- package/node_modules/@pairmesh/client/dist/collaboration/requester-actions.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.d.ts +124 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.js +587 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-progress-present.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.js +351 -0
- package/node_modules/@pairmesh/client/dist/collaboration/task-remote-handler.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.d.ts +23 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.js +31 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/keys.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.js +84 -0
- package/node_modules/@pairmesh/client/dist/connectivity/e2e/session.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.js +33 -0
- package/node_modules/@pairmesh/client/dist/connectivity/hosted-relay-default.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.js +24 -0
- package/node_modules/@pairmesh/client/dist/connectivity/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.d.ts +27 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.js +32 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/access-token.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.js +9 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-id.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.d.ts +45 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.js +84 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/channel-manager.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.d.ts +125 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.js +480 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.js +58 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/frames.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.d.ts +162 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.js +901 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/hosted-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.d.ts +137 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.js +422 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/http-tunnel.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.d.ts +59 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.js +151 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/liveness.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.js +83 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/log-gate.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.d.ts +36 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.js +305 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/mock-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.d.ts +33 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.js +97 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/network-restore.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.js +56 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/reconnect-policy.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.js +88 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/rendezvous-http.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.d.ts +65 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.js +120 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/route-diagnostics.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.js +31 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/token-compare.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.d.ts +43 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.js +87 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay/traffic-trace.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.d.ts +133 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.js +1148 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bootstrap.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.d.ts +137 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.js +688 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-bridge.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.d.ts +101 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.js +138 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-route-store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.js +8 -0
- package/node_modules/@pairmesh/client/dist/connectivity/relay-runtime.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.js +13 -0
- package/node_modules/@pairmesh/client/dist/connectivity/rendezvous.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.d.ts +33 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.js +24 -0
- package/node_modules/@pairmesh/client/dist/connectivity/resolver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.js +95 -0
- package/node_modules/@pairmesh/client/dist/control/action-inbox.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.d.ts +21 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.js +62 -0
- package/node_modules/@pairmesh/client/dist/control/exchange.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.d.ts +108 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.js +156 -0
- package/node_modules/@pairmesh/client/dist/control/http-client.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.d.ts +34 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.js +480 -0
- package/node_modules/@pairmesh/client/dist/control/http-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/index.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/control/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/index.js +8 -0
- package/node_modules/@pairmesh/client/dist/control/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.d.ts +22 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.js +74 -0
- package/node_modules/@pairmesh/client/dist/control/open-inbox.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/service.d.ts +678 -0
- package/node_modules/@pairmesh/client/dist/control/service.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/service.js +639 -0
- package/node_modules/@pairmesh/client/dist/control/service.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/token.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/control/token.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/token.js +14 -0
- package/node_modules/@pairmesh/client/dist/control/token.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/types.d.ts +127 -0
- package/node_modules/@pairmesh/client/dist/control/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/types.js +2 -0
- package/node_modules/@pairmesh/client/dist/control/types.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.js +61 -0
- package/node_modules/@pairmesh/client/dist/control/web-static.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/control-web/activity-present.js +238 -0
- package/node_modules/@pairmesh/client/dist/control-web/app.css +1134 -0
- package/node_modules/@pairmesh/client/dist/control-web/app.js +2744 -0
- package/node_modules/@pairmesh/client/dist/control-web/history-present.js +510 -0
- package/node_modules/@pairmesh/client/dist/control-web/home-present.js +395 -0
- package/node_modules/@pairmesh/client/dist/control-web/index.html +170 -0
- package/node_modules/@pairmesh/client/dist/control-web/live-present.js +628 -0
- package/node_modules/@pairmesh/client/dist/control-web/people-present.js +244 -0
- package/node_modules/@pairmesh/client/dist/control-web/settings-present.js +416 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.d.ts +45 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.js +185 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/cursor-config.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.js +53 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/gitignore.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.js +4 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.d.ts +35 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.js +211 -0
- package/node_modules/@pairmesh/client/dist/cursor-mcp/mcp-launch.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.d.ts +14 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.js +17 -0
- package/node_modules/@pairmesh/client/dist/execution/provider-snapshot.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/cache.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/health/cache.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/cache.js +21 -0
- package/node_modules/@pairmesh/client/dist/health/cache.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/index.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/health/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/index.js +5 -0
- package/node_modules/@pairmesh/client/dist/health/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.d.ts +36 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.js +72 -0
- package/node_modules/@pairmesh/client/dist/health/peer-connectivity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.js +147 -0
- package/node_modules/@pairmesh/client/dist/health/peer-health.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.js +65 -0
- package/node_modules/@pairmesh/client/dist/health/runtime-health.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/identity.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/identity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/identity.js +44 -0
- package/node_modules/@pairmesh/client/dist/identity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/index.d.ts +47 -0
- package/node_modules/@pairmesh/client/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/index.js +45 -0
- package/node_modules/@pairmesh/client/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.js +26 -0
- package/node_modules/@pairmesh/client/dist/inspect/active-inspections.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.d.ts +52 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.js +271 -0
- package/node_modules/@pairmesh/client/dist/inspect/execution-store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.d.ts +13 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.js +350 -0
- package/node_modules/@pairmesh/client/dist/inspect/handler.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.js +67 -0
- package/node_modules/@pairmesh/client/dist/inspect/messages.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.d.ts +33 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.js +387 -0
- package/node_modules/@pairmesh/client/dist/inspect/remote-sync.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.js +44 -0
- package/node_modules/@pairmesh/client/dist/inspect/requester-progress.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.d.ts +28 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.js +132 -0
- package/node_modules/@pairmesh/client/dist/inspect/thread-store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.d.ts +30 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.js +51 -0
- package/node_modules/@pairmesh/client/dist/inspect/timing.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.d.ts +7 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.js +7 -0
- package/node_modules/@pairmesh/client/dist/local-config/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.js +88 -0
- package/node_modules/@pairmesh/client/dist/local-config/paths.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.js +25 -0
- package/node_modules/@pairmesh/client/dist/local-config/port.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.d.ts +40 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.js +116 -0
- package/node_modules/@pairmesh/client/dist/local-config/project-resolve.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.d.ts +48 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.js +156 -0
- package/node_modules/@pairmesh/client/dist/local-config/resolver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.js +34 -0
- package/node_modules/@pairmesh/client/dist/local-config/runtime-info.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.d.ts +131 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.js +84 -0
- package/node_modules/@pairmesh/client/dist/local-config/schema.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.js +32 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/build-compatibility.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.js +38 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/deferred-restart.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.js +8 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.js +26 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-identity.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.js +21 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-idle.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.d.ts +17 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.js +85 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-logs.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.d.ts +20 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.js +96 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/runtime-manager.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.js +98 -0
- package/node_modules/@pairmesh/client/dist/local-runtime/upgrade-restart-lock.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.d.ts +34 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.js +85 -0
- package/node_modules/@pairmesh/client/dist/notify/attention.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.d.ts +52 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.js +181 -0
- package/node_modules/@pairmesh/client/dist/notify/deliver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/index.d.ts +6 -0
- package/node_modules/@pairmesh/client/dist/notify/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/index.js +6 -0
- package/node_modules/@pairmesh/client/dist/notify/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.d.ts +16 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.js +50 -0
- package/node_modules/@pairmesh/client/dist/notify/onboarding-prefs.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.d.ts +41 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.js +124 -0
- package/node_modules/@pairmesh/client/dist/notify/owner-presence.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.d.ts +49 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.js +222 -0
- package/node_modules/@pairmesh/client/dist/notify/permission.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.d.ts +24 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.js +49 -0
- package/node_modules/@pairmesh/client/dist/pairing/active-runtime.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.js +50 -0
- package/node_modules/@pairmesh/client/dist/pairing/address.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.js +5 -0
- package/node_modules/@pairmesh/client/dist/pairing/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.d.ts +15 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.js +16 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-command.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.d.ts +2 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.js +42 -0
- package/node_modules/@pairmesh/client/dist/pairing/join-preflight.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.d.ts +60 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.js +491 -0
- package/node_modules/@pairmesh/client/dist/progress/activity-display.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.js +5 -0
- package/node_modules/@pairmesh/client/dist/reliability/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.js +93 -0
- package/node_modules/@pairmesh/client/dist/reliability/store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.d.ts +25 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.js +73 -0
- package/node_modules/@pairmesh/client/dist/reliability/summary.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.d.ts +61 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.js +174 -0
- package/node_modules/@pairmesh/client/dist/reliability/tracker.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.d.ts +44 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.js +60 -0
- package/node_modules/@pairmesh/client/dist/reliability/types.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.d.ts +32 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.js +421 -0
- package/node_modules/@pairmesh/client/dist/session/handshake-server.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/manager.d.ts +1599 -0
- package/node_modules/@pairmesh/client/dist/session/manager.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/manager.js +3127 -0
- package/node_modules/@pairmesh/client/dist/session/manager.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.d.ts +60 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.js +180 -0
- package/node_modules/@pairmesh/client/dist/session/peer-view.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.d.ts +5 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.js +38 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-actions.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.d.ts +38 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.js +104 -0
- package/node_modules/@pairmesh/client/dist/session/receiver-inspections.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.js +40 -0
- package/node_modules/@pairmesh/client/dist/session/relationship.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.d.ts +1826 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.js +152 -0
- package/node_modules/@pairmesh/client/dist/session/schemas.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.js +136 -0
- package/node_modules/@pairmesh/client/dist/state/state-lock.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/store.d.ts +72 -0
- package/node_modules/@pairmesh/client/dist/state/store.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/state/store.js +252 -0
- package/node_modules/@pairmesh/client/dist/state/store.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.d.ts +19 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.js +150 -0
- package/node_modules/@pairmesh/client/dist/update/artifact.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/channel.d.ts +12 -0
- package/node_modules/@pairmesh/client/dist/update/channel.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/channel.js +96 -0
- package/node_modules/@pairmesh/client/dist/update/channel.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/check.d.ts +11 -0
- package/node_modules/@pairmesh/client/dist/update/check.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/check.js +82 -0
- package/node_modules/@pairmesh/client/dist/update/check.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/constants.d.ts +9 -0
- package/node_modules/@pairmesh/client/dist/update/constants.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/constants.js +20 -0
- package/node_modules/@pairmesh/client/dist/update/constants.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/index.d.ts +10 -0
- package/node_modules/@pairmesh/client/dist/update/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/index.js +10 -0
- package/node_modules/@pairmesh/client/dist/update/index.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/install.d.ts +39 -0
- package/node_modules/@pairmesh/client/dist/update/install.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/install.js +114 -0
- package/node_modules/@pairmesh/client/dist/update/install.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.d.ts +8 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.js +100 -0
- package/node_modules/@pairmesh/client/dist/update/manifest.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.d.ts +4 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.js +14 -0
- package/node_modules/@pairmesh/client/dist/update/peer-boundary.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/semver.d.ts +18 -0
- package/node_modules/@pairmesh/client/dist/update/semver.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/semver.js +82 -0
- package/node_modules/@pairmesh/client/dist/update/semver.js.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/types.d.ts +57 -0
- package/node_modules/@pairmesh/client/dist/update/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/client/dist/update/types.js +2 -0
- package/node_modules/@pairmesh/client/dist/update/types.js.map +1 -0
- package/node_modules/@pairmesh/client/package.json +35 -0
- package/node_modules/@pairmesh/client/vendor/macos/LICENSE +18 -0
- package/node_modules/@pairmesh/client/vendor/macos/README.md +17 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/Info.plist +36 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/MacOS/terminal-notifier +0 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/PkgInfo +1 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/Resources/Terminal.icns +0 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/Resources/en.lproj/InfoPlist.strings +2 -0
- package/node_modules/@pairmesh/client/vendor/macos/terminal-notifier.app/Contents/_CodeSignature/CodeResources +146 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.d.ts +6 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.js +115 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/agent-card.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.d.ts +25 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.js +149 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/audit-hooks.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.d.ts +34 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.js +87 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/auth.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.d.ts +7 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.js +88 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/client.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.d.ts +20 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.js +542 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/executor.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.d.ts +3 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.js +3 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/identity.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.d.ts +8 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.js +8 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/index.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.d.ts +31 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.js +96 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/request-handler.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.d.ts +23 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.js +120 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/runtime.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.d.ts +18 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.js +48 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/test-ports.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.d.ts +19 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.js +14 -0
- package/node_modules/@pairmesh/coordination/dist/a2a/types.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.d.ts +2 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.js +4 -0
- package/node_modules/@pairmesh/coordination/dist/cli/agent.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.d.ts +2 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.js +24 -0
- package/node_modules/@pairmesh/coordination/dist/cli/send.js.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/index.d.ts +7 -0
- package/node_modules/@pairmesh/coordination/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/coordination/dist/index.js +10 -0
- package/node_modules/@pairmesh/coordination/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/coordination/package.json +43 -0
- package/node_modules/@pairmesh/mcp/dist/context.d.ts +9 -0
- package/node_modules/@pairmesh/mcp/dist/context.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/context.js +45 -0
- package/node_modules/@pairmesh/mcp/dist/context.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.d.ts +11 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.js +507 -0
- package/node_modules/@pairmesh/mcp/dist/create-server.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/errors.d.ts +8 -0
- package/node_modules/@pairmesh/mcp/dist/errors.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/errors.js +79 -0
- package/node_modules/@pairmesh/mcp/dist/errors.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/index.d.ts +3 -0
- package/node_modules/@pairmesh/mcp/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/index.js +5 -0
- package/node_modules/@pairmesh/mcp/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/progress.d.ts +7 -0
- package/node_modules/@pairmesh/mcp/dist/progress.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/progress.js +17 -0
- package/node_modules/@pairmesh/mcp/dist/progress.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.d.ts +6 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.js +217 -0
- package/node_modules/@pairmesh/mcp/dist/receiver-tools.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/server.d.ts +5 -0
- package/node_modules/@pairmesh/mcp/dist/server.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/server.js +5 -0
- package/node_modules/@pairmesh/mcp/dist/server.js.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.d.ts +148 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.d.ts.map +1 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.js +437 -0
- package/node_modules/@pairmesh/mcp/dist/tools/handlers.js.map +1 -0
- package/node_modules/@pairmesh/mcp/package.json +41 -0
- package/node_modules/@pairmesh/permissions/dist/index.d.ts +2 -0
- package/node_modules/@pairmesh/permissions/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/permissions/dist/index.js +2 -0
- package/node_modules/@pairmesh/permissions/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/permissions/package.json +22 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.d.ts +16 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.js +12 -0
- package/node_modules/@pairmesh/protocol/dist/a2a-references.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/action.d.ts +1089 -0
- package/node_modules/@pairmesh/protocol/dist/action.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/action.js +249 -0
- package/node_modules/@pairmesh/protocol/dist/action.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/agent.d.ts +14 -0
- package/node_modules/@pairmesh/protocol/dist/agent.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/agent.js +22 -0
- package/node_modules/@pairmesh/protocol/dist/agent.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/audit.d.ts +1080 -0
- package/node_modules/@pairmesh/protocol/dist/audit.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/audit.js +186 -0
- package/node_modules/@pairmesh/protocol/dist/audit.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/auth.d.ts +113 -0
- package/node_modules/@pairmesh/protocol/dist/auth.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/auth.js +83 -0
- package/node_modules/@pairmesh/protocol/dist/auth.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.d.ts +289 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.js +187 -0
- package/node_modules/@pairmesh/protocol/dist/collaborative-task.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/common.d.ts +4 -0
- package/node_modules/@pairmesh/protocol/dist/common.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/common.js +8 -0
- package/node_modules/@pairmesh/protocol/dist/common.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.d.ts +166 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.js +155 -0
- package/node_modules/@pairmesh/protocol/dist/continuation.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/developer.d.ts +10 -0
- package/node_modules/@pairmesh/protocol/dist/developer.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/developer.js +17 -0
- package/node_modules/@pairmesh/protocol/dist/developer.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/device.d.ts +9 -0
- package/node_modules/@pairmesh/protocol/dist/device.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/device.js +11 -0
- package/node_modules/@pairmesh/protocol/dist/device.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.d.ts +107 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.js +106 -0
- package/node_modules/@pairmesh/protocol/dist/errors/codes.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.d.ts +4 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.js +4 -0
- package/node_modules/@pairmesh/protocol/dist/errors/index.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.d.ts +131 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.js +40 -0
- package/node_modules/@pairmesh/protocol/dist/errors/schema.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.d.ts +13 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.js +57 -0
- package/node_modules/@pairmesh/protocol/dist/errors/validation.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/health.d.ts +109 -0
- package/node_modules/@pairmesh/protocol/dist/health.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/health.js +68 -0
- package/node_modules/@pairmesh/protocol/dist/health.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.d.ts +86 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.js +93 -0
- package/node_modules/@pairmesh/protocol/dist/host-request.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/ids.d.ts +39 -0
- package/node_modules/@pairmesh/protocol/dist/ids.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/ids.js +30 -0
- package/node_modules/@pairmesh/protocol/dist/ids.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/index.d.ts +28 -0
- package/node_modules/@pairmesh/protocol/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/index.js +28 -0
- package/node_modules/@pairmesh/protocol/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.d.ts +1024 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.js +167 -0
- package/node_modules/@pairmesh/protocol/dist/input-request.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.d.ts +241 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.js +94 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-execution.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts +77 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.js +43 -0
- package/node_modules/@pairmesh/protocol/dist/inspection-thread.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.d.ts +773 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.js +65 -0
- package/node_modules/@pairmesh/protocol/dist/inspection.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.d.ts +1905 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.js +111 -0
- package/node_modules/@pairmesh/protocol/dist/pairing.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.d.ts +158 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.js +141 -0
- package/node_modules/@pairmesh/protocol/dist/permissions.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts +253 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.js +619 -0
- package/node_modules/@pairmesh/protocol/dist/progress-event.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/project.d.ts +8 -0
- package/node_modules/@pairmesh/protocol/dist/project.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/project.js +18 -0
- package/node_modules/@pairmesh/protocol/dist/project.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.d.ts +34 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.js +81 -0
- package/node_modules/@pairmesh/protocol/dist/provider-message-aggregator.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.d.ts +5 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.js +20 -0
- package/node_modules/@pairmesh/protocol/dist/session-code.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session.d.ts +25 -0
- package/node_modules/@pairmesh/protocol/dist/session.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/session.js +22 -0
- package/node_modules/@pairmesh/protocol/dist/session.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.d.ts +50 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.js +33 -0
- package/node_modules/@pairmesh/protocol/dist/source-reference.js.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/version.d.ts +15 -0
- package/node_modules/@pairmesh/protocol/dist/version.d.ts.map +1 -0
- package/node_modules/@pairmesh/protocol/dist/version.js +14 -0
- package/node_modules/@pairmesh/protocol/dist/version.js.map +1 -0
- package/node_modules/@pairmesh/protocol/package.json +22 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.d.ts +37 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.d.ts.map +1 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.js +61 -0
- package/node_modules/@pairmesh/shared/dist/branded-env.js.map +1 -0
- package/node_modules/@pairmesh/shared/dist/index.d.ts +6 -0
- package/node_modules/@pairmesh/shared/dist/index.d.ts.map +1 -0
- package/node_modules/@pairmesh/shared/dist/index.js +5 -0
- package/node_modules/@pairmesh/shared/dist/index.js.map +1 -0
- package/node_modules/@pairmesh/shared/package.json +19 -0
- package/node_modules/accepts/HISTORY.md +250 -0
- package/node_modules/accepts/LICENSE +23 -0
- package/node_modules/accepts/README.md +140 -0
- package/node_modules/accepts/index.js +238 -0
- package/node_modules/accepts/package.json +47 -0
- package/node_modules/body-parser/LICENSE +23 -0
- package/node_modules/body-parser/README.md +509 -0
- package/node_modules/body-parser/index.js +55 -0
- package/node_modules/body-parser/lib/read.js +247 -0
- package/node_modules/body-parser/lib/types/json.js +186 -0
- package/node_modules/body-parser/lib/types/raw.js +42 -0
- package/node_modules/body-parser/lib/types/text.js +36 -0
- package/node_modules/body-parser/lib/types/urlencoded.js +138 -0
- package/node_modules/body-parser/lib/utils.js +100 -0
- package/node_modules/body-parser/package.json +65 -0
- package/node_modules/bytes/History.md +97 -0
- package/node_modules/bytes/LICENSE +23 -0
- package/node_modules/bytes/Readme.md +152 -0
- package/node_modules/bytes/index.js +170 -0
- package/node_modules/bytes/package.json +42 -0
- package/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/node_modules/call-bound/.eslintrc +13 -0
- package/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/node_modules/call-bound/.nycrc +9 -0
- package/node_modules/call-bound/CHANGELOG.md +42 -0
- package/node_modules/call-bound/LICENSE +21 -0
- package/node_modules/call-bound/README.md +53 -0
- package/node_modules/call-bound/index.d.ts +94 -0
- package/node_modules/call-bound/index.js +19 -0
- package/node_modules/call-bound/package.json +99 -0
- package/node_modules/call-bound/test/index.js +61 -0
- package/node_modules/call-bound/tsconfig.json +10 -0
- package/node_modules/content-disposition/LICENSE +22 -0
- package/node_modules/content-disposition/README.md +211 -0
- package/node_modules/content-disposition/dist/index.d.ts +72 -0
- package/node_modules/content-disposition/dist/index.js +388 -0
- package/node_modules/content-disposition/dist/index.js.map +1 -0
- package/node_modules/content-disposition/package.json +52 -0
- package/node_modules/content-type/LICENSE +22 -0
- package/node_modules/content-type/README.md +71 -0
- package/node_modules/content-type/dist/index.d.ts +46 -0
- package/node_modules/content-type/dist/index.js +176 -0
- package/node_modules/content-type/dist/index.js.map +1 -0
- package/node_modules/content-type/package.json +52 -0
- package/node_modules/cookie/LICENSE +24 -0
- package/node_modules/cookie/README.md +317 -0
- package/node_modules/cookie/SECURITY.md +25 -0
- package/node_modules/cookie/index.js +335 -0
- package/node_modules/cookie/package.json +44 -0
- package/node_modules/cookie-signature/History.md +70 -0
- package/node_modules/cookie-signature/LICENSE +22 -0
- package/node_modules/cookie-signature/Readme.md +23 -0
- package/node_modules/cookie-signature/index.js +47 -0
- package/node_modules/cookie-signature/package.json +24 -0
- package/node_modules/debug/LICENSE +20 -0
- package/node_modules/debug/README.md +481 -0
- package/node_modules/debug/package.json +64 -0
- package/node_modules/debug/src/browser.js +272 -0
- package/node_modules/debug/src/common.js +292 -0
- package/node_modules/debug/src/index.js +10 -0
- package/node_modules/debug/src/node.js +263 -0
- package/node_modules/depd/History.md +103 -0
- package/node_modules/depd/LICENSE +22 -0
- package/node_modules/depd/Readme.md +280 -0
- package/node_modules/depd/index.js +538 -0
- package/node_modules/depd/lib/browser/index.js +77 -0
- package/node_modules/depd/package.json +45 -0
- package/node_modules/dunder-proto/.eslintrc +5 -0
- package/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/node_modules/dunder-proto/.nycrc +13 -0
- package/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/node_modules/dunder-proto/LICENSE +21 -0
- package/node_modules/dunder-proto/README.md +54 -0
- package/node_modules/dunder-proto/get.d.ts +5 -0
- package/node_modules/dunder-proto/get.js +30 -0
- package/node_modules/dunder-proto/package.json +76 -0
- package/node_modules/dunder-proto/set.d.ts +5 -0
- package/node_modules/dunder-proto/set.js +35 -0
- package/node_modules/dunder-proto/test/get.js +34 -0
- package/node_modules/dunder-proto/test/index.js +4 -0
- package/node_modules/dunder-proto/test/set.js +50 -0
- package/node_modules/dunder-proto/tsconfig.json +9 -0
- package/node_modules/ee-first/LICENSE +22 -0
- package/node_modules/ee-first/README.md +80 -0
- package/node_modules/ee-first/index.js +95 -0
- package/node_modules/ee-first/package.json +29 -0
- package/node_modules/encodeurl/LICENSE +22 -0
- package/node_modules/encodeurl/README.md +109 -0
- package/node_modules/encodeurl/index.js +60 -0
- package/node_modules/encodeurl/package.json +40 -0
- package/node_modules/es-define-property/.eslintrc +13 -0
- package/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/node_modules/es-define-property/.nycrc +9 -0
- package/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/node_modules/es-define-property/LICENSE +21 -0
- package/node_modules/es-define-property/README.md +49 -0
- package/node_modules/es-define-property/index.d.ts +3 -0
- package/node_modules/es-define-property/index.js +14 -0
- package/node_modules/es-define-property/package.json +81 -0
- package/node_modules/es-define-property/test/index.js +56 -0
- package/node_modules/es-define-property/tsconfig.json +10 -0
- package/node_modules/es-errors/.eslintrc +5 -0
- package/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/node_modules/es-errors/CHANGELOG.md +40 -0
- package/node_modules/es-errors/LICENSE +21 -0
- package/node_modules/es-errors/README.md +55 -0
- package/node_modules/es-errors/eval.d.ts +3 -0
- package/node_modules/es-errors/eval.js +4 -0
- package/node_modules/es-errors/index.d.ts +3 -0
- package/node_modules/es-errors/index.js +4 -0
- package/node_modules/es-errors/package.json +80 -0
- package/node_modules/es-errors/range.d.ts +3 -0
- package/node_modules/es-errors/range.js +4 -0
- package/node_modules/es-errors/ref.d.ts +3 -0
- package/node_modules/es-errors/ref.js +4 -0
- package/node_modules/es-errors/syntax.d.ts +3 -0
- package/node_modules/es-errors/syntax.js +4 -0
- package/node_modules/es-errors/test/index.js +19 -0
- package/node_modules/es-errors/tsconfig.json +49 -0
- package/node_modules/es-errors/type.d.ts +3 -0
- package/node_modules/es-errors/type.js +4 -0
- package/node_modules/es-errors/uri.d.ts +3 -0
- package/node_modules/es-errors/uri.js +4 -0
- package/node_modules/es-object-atoms/.eslintrc +16 -0
- package/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/node_modules/es-object-atoms/CHANGELOG.md +44 -0
- package/node_modules/es-object-atoms/LICENSE +21 -0
- package/node_modules/es-object-atoms/README.md +63 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/node_modules/es-object-atoms/ToObject.js +10 -0
- package/node_modules/es-object-atoms/index.d.ts +3 -0
- package/node_modules/es-object-atoms/index.js +4 -0
- package/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/node_modules/es-object-atoms/isObject.js +6 -0
- package/node_modules/es-object-atoms/package.json +79 -0
- package/node_modules/es-object-atoms/test/index.js +38 -0
- package/node_modules/es-object-atoms/tsconfig.json +7 -0
- package/node_modules/escape-html/LICENSE +24 -0
- package/node_modules/escape-html/Readme.md +43 -0
- package/node_modules/escape-html/index.js +78 -0
- package/node_modules/escape-html/package.json +24 -0
- package/node_modules/etag/HISTORY.md +83 -0
- package/node_modules/etag/LICENSE +22 -0
- package/node_modules/etag/README.md +159 -0
- package/node_modules/etag/index.js +131 -0
- package/node_modules/etag/package.json +47 -0
- package/node_modules/express/LICENSE +24 -0
- package/node_modules/express/Readme.md +282 -0
- package/node_modules/express/index.js +11 -0
- package/node_modules/express/lib/application.js +631 -0
- package/node_modules/express/lib/express.js +81 -0
- package/node_modules/express/lib/request.js +527 -0
- package/node_modules/express/lib/response.js +1050 -0
- package/node_modules/express/lib/utils.js +271 -0
- package/node_modules/express/lib/view.js +205 -0
- package/node_modules/express/package.json +99 -0
- package/node_modules/finalhandler/HISTORY.md +239 -0
- package/node_modules/finalhandler/LICENSE +22 -0
- package/node_modules/finalhandler/README.md +150 -0
- package/node_modules/finalhandler/index.js +293 -0
- package/node_modules/finalhandler/package.json +47 -0
- package/node_modules/forwarded/HISTORY.md +21 -0
- package/node_modules/forwarded/LICENSE +22 -0
- package/node_modules/forwarded/README.md +57 -0
- package/node_modules/forwarded/index.js +90 -0
- package/node_modules/forwarded/package.json +45 -0
- package/node_modules/fresh/HISTORY.md +80 -0
- package/node_modules/fresh/LICENSE +23 -0
- package/node_modules/fresh/README.md +117 -0
- package/node_modules/fresh/index.js +136 -0
- package/node_modules/fresh/package.json +46 -0
- package/node_modules/function-bind/.eslintrc +21 -0
- package/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/node_modules/function-bind/.nycrc +13 -0
- package/node_modules/function-bind/CHANGELOG.md +136 -0
- package/node_modules/function-bind/LICENSE +20 -0
- package/node_modules/function-bind/README.md +46 -0
- package/node_modules/function-bind/implementation.js +84 -0
- package/node_modules/function-bind/index.js +5 -0
- package/node_modules/function-bind/package.json +87 -0
- package/node_modules/function-bind/test/.eslintrc +9 -0
- package/node_modules/function-bind/test/index.js +252 -0
- package/node_modules/get-intrinsic/.eslintrc +42 -0
- package/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/node_modules/get-intrinsic/.nycrc +9 -0
- package/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/node_modules/get-intrinsic/LICENSE +21 -0
- package/node_modules/get-intrinsic/README.md +71 -0
- package/node_modules/get-intrinsic/index.js +378 -0
- package/node_modules/get-intrinsic/package.json +97 -0
- package/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/node_modules/get-proto/.eslintrc +10 -0
- package/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/node_modules/get-proto/.nycrc +9 -0
- package/node_modules/get-proto/CHANGELOG.md +21 -0
- package/node_modules/get-proto/LICENSE +21 -0
- package/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/node_modules/get-proto/README.md +50 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/node_modules/get-proto/index.d.ts +5 -0
- package/node_modules/get-proto/index.js +27 -0
- package/node_modules/get-proto/package.json +81 -0
- package/node_modules/get-proto/test/index.js +68 -0
- package/node_modules/get-proto/tsconfig.json +9 -0
- package/node_modules/gopd/.eslintrc +16 -0
- package/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/node_modules/gopd/CHANGELOG.md +45 -0
- package/node_modules/gopd/LICENSE +21 -0
- package/node_modules/gopd/README.md +40 -0
- package/node_modules/gopd/gOPD.d.ts +1 -0
- package/node_modules/gopd/gOPD.js +4 -0
- package/node_modules/gopd/index.d.ts +5 -0
- package/node_modules/gopd/index.js +15 -0
- package/node_modules/gopd/package.json +77 -0
- package/node_modules/gopd/test/index.js +36 -0
- package/node_modules/gopd/tsconfig.json +9 -0
- package/node_modules/has-symbols/.eslintrc +11 -0
- package/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/node_modules/has-symbols/.nycrc +9 -0
- package/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/node_modules/has-symbols/LICENSE +21 -0
- package/node_modules/has-symbols/README.md +46 -0
- package/node_modules/has-symbols/index.d.ts +3 -0
- package/node_modules/has-symbols/index.js +14 -0
- package/node_modules/has-symbols/package.json +111 -0
- package/node_modules/has-symbols/shams.d.ts +3 -0
- package/node_modules/has-symbols/shams.js +45 -0
- package/node_modules/has-symbols/test/index.js +22 -0
- package/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/node_modules/has-symbols/test/tests.js +58 -0
- package/node_modules/has-symbols/tsconfig.json +10 -0
- package/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/node_modules/hasown/.nycrc +13 -0
- package/node_modules/hasown/CHANGELOG.md +58 -0
- package/node_modules/hasown/LICENSE +21 -0
- package/node_modules/hasown/README.md +40 -0
- package/node_modules/hasown/eslint.config.mjs +6 -0
- package/node_modules/hasown/index.d.ts +3 -0
- package/node_modules/hasown/index.js +8 -0
- package/node_modules/hasown/package.json +91 -0
- package/node_modules/hasown/tsconfig.json +6 -0
- package/node_modules/http-errors/HISTORY.md +186 -0
- package/node_modules/http-errors/LICENSE +23 -0
- package/node_modules/http-errors/README.md +169 -0
- package/node_modules/http-errors/index.js +290 -0
- package/node_modules/http-errors/package.json +54 -0
- package/node_modules/iconv-lite/LICENSE +21 -0
- package/node_modules/iconv-lite/README.md +138 -0
- package/node_modules/iconv-lite/encodings/dbcs-codec.js +532 -0
- package/node_modules/iconv-lite/encodings/dbcs-data.js +185 -0
- package/node_modules/iconv-lite/encodings/index.js +23 -0
- package/node_modules/iconv-lite/encodings/internal.js +218 -0
- package/node_modules/iconv-lite/encodings/sbcs-codec.js +75 -0
- package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
- package/node_modules/iconv-lite/encodings/sbcs-data.js +180 -0
- package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
- package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
- package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
- package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
- package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
- package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
- package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
- package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
- package/node_modules/iconv-lite/encodings/utf16.js +187 -0
- package/node_modules/iconv-lite/encodings/utf32.js +314 -0
- package/node_modules/iconv-lite/encodings/utf7.js +283 -0
- package/node_modules/iconv-lite/lib/bom-handling.js +48 -0
- package/node_modules/iconv-lite/lib/helpers/merge-exports.js +13 -0
- package/node_modules/iconv-lite/lib/index.d.ts +129 -0
- package/node_modules/iconv-lite/lib/index.js +182 -0
- package/node_modules/iconv-lite/lib/streams.js +105 -0
- package/node_modules/iconv-lite/package.json +70 -0
- package/node_modules/iconv-lite/types/encodings.d.ts +425 -0
- package/node_modules/inherits/LICENSE +16 -0
- package/node_modules/inherits/README.md +42 -0
- package/node_modules/inherits/inherits.js +9 -0
- package/node_modules/inherits/inherits_browser.js +27 -0
- package/node_modules/inherits/package.json +29 -0
- package/node_modules/ipaddr.js/LICENSE +19 -0
- package/node_modules/ipaddr.js/README.md +233 -0
- package/node_modules/ipaddr.js/ipaddr.min.js +1 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js +673 -0
- package/node_modules/ipaddr.js/lib/ipaddr.js.d.ts +68 -0
- package/node_modules/ipaddr.js/package.json +35 -0
- package/node_modules/is-promise/LICENSE +19 -0
- package/node_modules/is-promise/index.d.ts +2 -0
- package/node_modules/is-promise/index.js +6 -0
- package/node_modules/is-promise/index.mjs +3 -0
- package/node_modules/is-promise/package.json +30 -0
- package/node_modules/is-promise/readme.md +33 -0
- package/node_modules/jose/LICENSE.md +21 -0
- package/node_modules/jose/README.md +150 -0
- package/node_modules/jose/dist/types/index.d.ts +55 -0
- package/node_modules/jose/dist/types/jwe/compact/decrypt.d.ts +24 -0
- package/node_modules/jose/dist/types/jwe/compact/encrypt.d.ts +40 -0
- package/node_modules/jose/dist/types/jwe/flattened/decrypt.d.ts +24 -0
- package/node_modules/jose/dist/types/jwe/flattened/encrypt.d.ts +46 -0
- package/node_modules/jose/dist/types/jwe/general/decrypt.d.ts +28 -0
- package/node_modules/jose/dist/types/jwe/general/encrypt.d.ts +51 -0
- package/node_modules/jose/dist/types/jwk/embedded.d.ts +10 -0
- package/node_modules/jose/dist/types/jwk/thumbprint.d.ts +15 -0
- package/node_modules/jose/dist/types/jwks/local.d.ts +17 -0
- package/node_modules/jose/dist/types/jwks/remote.d.ts +94 -0
- package/node_modules/jose/dist/types/jws/compact/sign.d.ts +20 -0
- package/node_modules/jose/dist/types/jws/compact/verify.d.ts +25 -0
- package/node_modules/jose/dist/types/jws/flattened/sign.d.ts +22 -0
- package/node_modules/jose/dist/types/jws/flattened/verify.d.ts +25 -0
- package/node_modules/jose/dist/types/jws/general/sign.d.ts +38 -0
- package/node_modules/jose/dist/types/jws/general/verify.d.ts +29 -0
- package/node_modules/jose/dist/types/jwt/decrypt.d.ts +34 -0
- package/node_modules/jose/dist/types/jwt/encrypt.d.ts +57 -0
- package/node_modules/jose/dist/types/jwt/sign.d.ts +21 -0
- package/node_modules/jose/dist/types/jwt/unsecured.d.ts +19 -0
- package/node_modules/jose/dist/types/jwt/verify.d.ts +35 -0
- package/node_modules/jose/dist/types/key/export.d.ts +19 -0
- package/node_modules/jose/dist/types/key/generate_key_pair.d.ts +33 -0
- package/node_modules/jose/dist/types/key/generate_secret.d.ts +30 -0
- package/node_modules/jose/dist/types/key/import.d.ts +67 -0
- package/node_modules/jose/dist/types/types.d.ts +736 -0
- package/node_modules/jose/dist/types/util/base64url.d.ts +16 -0
- package/node_modules/jose/dist/types/util/decode_jwt.d.ts +8 -0
- package/node_modules/jose/dist/types/util/decode_protected_header.d.ts +10 -0
- package/node_modules/jose/dist/types/util/errors.d.ts +182 -0
- package/node_modules/jose/dist/webapi/index.js +70 -0
- package/node_modules/jose/dist/webapi/jwe/compact/decrypt.js +7 -0
- package/node_modules/jose/dist/webapi/jwe/compact/encrypt.js +26 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/decrypt.js +15 -0
- package/node_modules/jose/dist/webapi/jwe/flattened/encrypt.js +35 -0
- package/node_modules/jose/dist/webapi/jwe/general/decrypt.js +40 -0
- package/node_modules/jose/dist/webapi/jwe/general/encrypt.js +105 -0
- package/node_modules/jose/dist/webapi/jwk/embedded.js +30 -0
- package/node_modules/jose/dist/webapi/jwk/thumbprint.js +55 -0
- package/node_modules/jose/dist/webapi/jwks/local.js +59 -0
- package/node_modules/jose/dist/webapi/jwks/remote.js +101 -0
- package/node_modules/jose/dist/webapi/jws/compact/sign.js +20 -0
- package/node_modules/jose/dist/webapi/jws/compact/verify.js +8 -0
- package/node_modules/jose/dist/webapi/jws/flattened/sign.js +23 -0
- package/node_modules/jose/dist/webapi/jws/flattened/verify.js +12 -0
- package/node_modules/jose/dist/webapi/jws/general/sign.js +58 -0
- package/node_modules/jose/dist/webapi/jws/general/verify.js +48 -0
- package/node_modules/jose/dist/webapi/jwt/decrypt.js +13 -0
- package/node_modules/jose/dist/webapi/jwt/encrypt.js +45 -0
- package/node_modules/jose/dist/webapi/jwt/sign.js +19 -0
- package/node_modules/jose/dist/webapi/jwt/unsecured.js +34 -0
- package/node_modules/jose/dist/webapi/jwt/verify.js +13 -0
- package/node_modules/jose/dist/webapi/key/export.js +35 -0
- package/node_modules/jose/dist/webapi/key/generate_key_pair.js +35 -0
- package/node_modules/jose/dist/webapi/key/generate_secret.js +36 -0
- package/node_modules/jose/dist/webapi/key/import.js +53 -0
- package/node_modules/jose/dist/webapi/lib/asn1.js +138 -0
- package/node_modules/jose/dist/webapi/lib/buffer_utils.js +75 -0
- package/node_modules/jose/dist/webapi/lib/content_encryption.js +90 -0
- package/node_modules/jose/dist/webapi/lib/deflate.js +40 -0
- package/node_modules/jose/dist/webapi/lib/jwe_algorithms.js +116 -0
- package/node_modules/jose/dist/webapi/lib/jwe_decrypt.js +187 -0
- package/node_modules/jose/dist/webapi/lib/jwe_encrypt.js +75 -0
- package/node_modules/jose/dist/webapi/lib/jws_algorithms.js +74 -0
- package/node_modules/jose/dist/webapi/lib/jws_sign.js +46 -0
- package/node_modules/jose/dist/webapi/lib/jws_verify.js +86 -0
- package/node_modules/jose/dist/webapi/lib/jwt_claims_set.js +146 -0
- package/node_modules/jose/dist/webapi/lib/key.js +155 -0
- package/node_modules/jose/dist/webapi/lib/key_algorithm.js +15 -0
- package/node_modules/jose/dist/webapi/lib/key_descriptor.js +9 -0
- package/node_modules/jose/dist/webapi/lib/key_management.js +196 -0
- package/node_modules/jose/dist/webapi/lib/validate.js +122 -0
- package/node_modules/jose/dist/webapi/util/base64url.js +16 -0
- package/node_modules/jose/dist/webapi/util/decode_jwt.js +33 -0
- package/node_modules/jose/dist/webapi/util/decode_protected_header.js +19 -0
- package/node_modules/jose/dist/webapi/util/errors.js +109 -0
- package/node_modules/jose/package.json +134 -0
- package/node_modules/math-intrinsics/.eslintrc +16 -0
- package/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/node_modules/math-intrinsics/LICENSE +21 -0
- package/node_modules/math-intrinsics/README.md +50 -0
- package/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/node_modules/math-intrinsics/abs.js +4 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/node_modules/math-intrinsics/floor.js +4 -0
- package/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/node_modules/math-intrinsics/isFinite.js +12 -0
- package/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/node_modules/math-intrinsics/isInteger.js +16 -0
- package/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/node_modules/math-intrinsics/isNaN.js +6 -0
- package/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/node_modules/math-intrinsics/max.d.ts +1 -0
- package/node_modules/math-intrinsics/max.js +4 -0
- package/node_modules/math-intrinsics/min.d.ts +1 -0
- package/node_modules/math-intrinsics/min.js +4 -0
- package/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/node_modules/math-intrinsics/mod.js +9 -0
- package/node_modules/math-intrinsics/package.json +86 -0
- package/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/node_modules/math-intrinsics/pow.js +4 -0
- package/node_modules/math-intrinsics/round.d.ts +1 -0
- package/node_modules/math-intrinsics/round.js +4 -0
- package/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/node_modules/math-intrinsics/sign.js +11 -0
- package/node_modules/math-intrinsics/test/index.js +192 -0
- package/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/node_modules/media-typer/HISTORY.md +50 -0
- package/node_modules/media-typer/LICENSE +22 -0
- package/node_modules/media-typer/README.md +94 -0
- package/node_modules/media-typer/index.js +135 -0
- package/node_modules/media-typer/package.json +37 -0
- package/node_modules/merge-descriptors/index.d.ts +11 -0
- package/node_modules/merge-descriptors/index.js +26 -0
- package/node_modules/merge-descriptors/license +11 -0
- package/node_modules/merge-descriptors/package.json +50 -0
- package/node_modules/merge-descriptors/readme.md +55 -0
- package/node_modules/mime-db/HISTORY.md +541 -0
- package/node_modules/mime-db/LICENSE +23 -0
- package/node_modules/mime-db/README.md +109 -0
- package/node_modules/mime-db/db.json +9342 -0
- package/node_modules/mime-db/index.js +12 -0
- package/node_modules/mime-db/package.json +56 -0
- package/node_modules/mime-types/HISTORY.md +428 -0
- package/node_modules/mime-types/LICENSE +23 -0
- package/node_modules/mime-types/README.md +126 -0
- package/node_modules/mime-types/index.js +211 -0
- package/node_modules/mime-types/mimeScore.js +57 -0
- package/node_modules/mime-types/package.json +49 -0
- package/node_modules/ms/index.js +162 -0
- package/node_modules/ms/license.md +21 -0
- package/node_modules/ms/package.json +38 -0
- package/node_modules/ms/readme.md +59 -0
- package/node_modules/negotiator/LICENSE +24 -0
- package/node_modules/negotiator/README.md +212 -0
- package/node_modules/negotiator/index.js +83 -0
- package/node_modules/negotiator/lib/accept.js +54 -0
- package/node_modules/negotiator/lib/charset.js +145 -0
- package/node_modules/negotiator/lib/encoding.js +184 -0
- package/node_modules/negotiator/lib/language.js +158 -0
- package/node_modules/negotiator/lib/mediaType.js +176 -0
- package/node_modules/negotiator/package.json +49 -0
- package/node_modules/object-inspect/.eslintrc +53 -0
- package/node_modules/object-inspect/.github/FUNDING.yml +12 -0
- package/node_modules/object-inspect/.nycrc +13 -0
- package/node_modules/object-inspect/CHANGELOG.md +424 -0
- package/node_modules/object-inspect/LICENSE +21 -0
- package/node_modules/object-inspect/example/all.js +23 -0
- package/node_modules/object-inspect/example/circular.js +6 -0
- package/node_modules/object-inspect/example/fn.js +5 -0
- package/node_modules/object-inspect/example/inspect.js +10 -0
- package/node_modules/object-inspect/index.js +544 -0
- package/node_modules/object-inspect/package-support.json +20 -0
- package/node_modules/object-inspect/package.json +105 -0
- package/node_modules/object-inspect/readme.markdown +84 -0
- package/node_modules/object-inspect/test/bigint.js +58 -0
- package/node_modules/object-inspect/test/browser/dom.js +15 -0
- package/node_modules/object-inspect/test/circular.js +16 -0
- package/node_modules/object-inspect/test/deep.js +12 -0
- package/node_modules/object-inspect/test/element.js +53 -0
- package/node_modules/object-inspect/test/err.js +48 -0
- package/node_modules/object-inspect/test/fakes.js +29 -0
- package/node_modules/object-inspect/test/fn.js +76 -0
- package/node_modules/object-inspect/test/global.js +17 -0
- package/node_modules/object-inspect/test/has.js +15 -0
- package/node_modules/object-inspect/test/holes.js +15 -0
- package/node_modules/object-inspect/test/indent-option.js +271 -0
- package/node_modules/object-inspect/test/inspect.js +139 -0
- package/node_modules/object-inspect/test/lowbyte.js +12 -0
- package/node_modules/object-inspect/test/number.js +58 -0
- package/node_modules/object-inspect/test/quoteStyle.js +26 -0
- package/node_modules/object-inspect/test/toStringTag.js +40 -0
- package/node_modules/object-inspect/test/undef.js +12 -0
- package/node_modules/object-inspect/test/values.js +261 -0
- package/node_modules/object-inspect/test-core-js.js +26 -0
- package/node_modules/object-inspect/util.inspect.js +1 -0
- package/node_modules/on-finished/HISTORY.md +98 -0
- package/node_modules/on-finished/LICENSE +23 -0
- package/node_modules/on-finished/README.md +162 -0
- package/node_modules/on-finished/index.js +234 -0
- package/node_modules/on-finished/package.json +39 -0
- package/node_modules/once/LICENSE +15 -0
- package/node_modules/once/README.md +79 -0
- package/node_modules/once/once.js +42 -0
- package/node_modules/once/package.json +33 -0
- package/node_modules/parseurl/HISTORY.md +58 -0
- package/node_modules/parseurl/LICENSE +24 -0
- package/node_modules/parseurl/README.md +133 -0
- package/node_modules/parseurl/index.js +158 -0
- package/node_modules/parseurl/package.json +40 -0
- package/node_modules/path-to-regexp/LICENSE +21 -0
- package/node_modules/path-to-regexp/Readme.md +224 -0
- package/node_modules/path-to-regexp/dist/index.d.ts +147 -0
- package/node_modules/path-to-regexp/dist/index.js +431 -0
- package/node_modules/path-to-regexp/dist/index.js.map +1 -0
- package/node_modules/path-to-regexp/package.json +64 -0
- package/node_modules/proxy-addr/HISTORY.md +167 -0
- package/node_modules/proxy-addr/LICENSE +22 -0
- package/node_modules/proxy-addr/README.md +139 -0
- package/node_modules/proxy-addr/index.js +359 -0
- package/node_modules/proxy-addr/package.json +51 -0
- package/node_modules/qs/.editorconfig +46 -0
- package/node_modules/qs/.github/FUNDING.yml +12 -0
- package/node_modules/qs/.github/SECURITY.md +11 -0
- package/node_modules/qs/.github/THREAT_MODEL.md +78 -0
- package/node_modules/qs/.nycrc +13 -0
- package/node_modules/qs/CHANGELOG.md +848 -0
- package/node_modules/qs/LICENSE.md +29 -0
- package/node_modules/qs/README.md +776 -0
- package/node_modules/qs/dist/qs.js +141 -0
- package/node_modules/qs/eslint.config.mjs +57 -0
- package/node_modules/qs/lib/formats.js +23 -0
- package/node_modules/qs/lib/index.js +11 -0
- package/node_modules/qs/lib/parse.js +413 -0
- package/node_modules/qs/lib/stringify.js +378 -0
- package/node_modules/qs/lib/utils.js +388 -0
- package/node_modules/qs/package.json +95 -0
- package/node_modules/qs/test/empty-keys-cases.js +267 -0
- package/node_modules/qs/test/parse.js +2122 -0
- package/node_modules/qs/test/stringify.js +1765 -0
- package/node_modules/qs/test/utils.js +638 -0
- package/node_modules/range-parser/HISTORY.md +56 -0
- package/node_modules/range-parser/LICENSE +23 -0
- package/node_modules/range-parser/README.md +85 -0
- package/node_modules/range-parser/index.js +181 -0
- package/node_modules/range-parser/package.json +48 -0
- package/node_modules/raw-body/LICENSE +22 -0
- package/node_modules/raw-body/README.md +223 -0
- package/node_modules/raw-body/index.d.ts +85 -0
- package/node_modules/raw-body/index.js +336 -0
- package/node_modules/raw-body/package.json +46 -0
- package/node_modules/router/HISTORY.md +228 -0
- package/node_modules/router/LICENSE +23 -0
- package/node_modules/router/README.md +416 -0
- package/node_modules/router/index.js +748 -0
- package/node_modules/router/lib/layer.js +247 -0
- package/node_modules/router/lib/route.js +242 -0
- package/node_modules/router/package.json +44 -0
- package/node_modules/safer-buffer/LICENSE +21 -0
- package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
- package/node_modules/safer-buffer/Readme.md +156 -0
- package/node_modules/safer-buffer/dangerous.js +58 -0
- package/node_modules/safer-buffer/package.json +34 -0
- package/node_modules/safer-buffer/safer.js +77 -0
- package/node_modules/safer-buffer/tests.js +406 -0
- package/node_modules/send/LICENSE +23 -0
- package/node_modules/send/README.md +317 -0
- package/node_modules/send/index.js +997 -0
- package/node_modules/send/package.json +63 -0
- package/node_modules/serve-static/LICENSE +25 -0
- package/node_modules/serve-static/README.md +253 -0
- package/node_modules/serve-static/index.js +208 -0
- package/node_modules/serve-static/package.json +44 -0
- package/node_modules/setprototypeof/LICENSE +13 -0
- package/node_modules/setprototypeof/README.md +31 -0
- package/node_modules/setprototypeof/index.d.ts +2 -0
- package/node_modules/setprototypeof/index.js +17 -0
- package/node_modules/setprototypeof/package.json +38 -0
- package/node_modules/setprototypeof/test/index.js +24 -0
- package/node_modules/side-channel/.editorconfig +9 -0
- package/node_modules/side-channel/.eslintrc +12 -0
- package/node_modules/side-channel/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel/.nycrc +13 -0
- package/node_modules/side-channel/CHANGELOG.md +120 -0
- package/node_modules/side-channel/LICENSE +21 -0
- package/node_modules/side-channel/README.md +61 -0
- package/node_modules/side-channel/index.d.ts +14 -0
- package/node_modules/side-channel/index.js +46 -0
- package/node_modules/side-channel/package.json +85 -0
- package/node_modules/side-channel/test/index.js +120 -0
- package/node_modules/side-channel/tsconfig.json +9 -0
- package/node_modules/side-channel-list/.editorconfig +9 -0
- package/node_modules/side-channel-list/.eslintrc +11 -0
- package/node_modules/side-channel-list/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-list/.nycrc +13 -0
- package/node_modules/side-channel-list/CHANGELOG.md +36 -0
- package/node_modules/side-channel-list/LICENSE +21 -0
- package/node_modules/side-channel-list/README.md +62 -0
- package/node_modules/side-channel-list/index.d.ts +13 -0
- package/node_modules/side-channel-list/index.js +111 -0
- package/node_modules/side-channel-list/list.d.ts +14 -0
- package/node_modules/side-channel-list/package.json +77 -0
- package/node_modules/side-channel-list/test/index.js +154 -0
- package/node_modules/side-channel-list/tsconfig.json +9 -0
- package/node_modules/side-channel-map/.editorconfig +9 -0
- package/node_modules/side-channel-map/.eslintrc +11 -0
- package/node_modules/side-channel-map/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-map/.nycrc +13 -0
- package/node_modules/side-channel-map/CHANGELOG.md +22 -0
- package/node_modules/side-channel-map/LICENSE +21 -0
- package/node_modules/side-channel-map/README.md +62 -0
- package/node_modules/side-channel-map/index.d.ts +15 -0
- package/node_modules/side-channel-map/index.js +68 -0
- package/node_modules/side-channel-map/package.json +80 -0
- package/node_modules/side-channel-map/test/index.js +114 -0
- package/node_modules/side-channel-map/tsconfig.json +9 -0
- package/node_modules/side-channel-weakmap/.editorconfig +9 -0
- package/node_modules/side-channel-weakmap/.eslintrc +12 -0
- package/node_modules/side-channel-weakmap/.github/FUNDING.yml +12 -0
- package/node_modules/side-channel-weakmap/.nycrc +13 -0
- package/node_modules/side-channel-weakmap/CHANGELOG.md +28 -0
- package/node_modules/side-channel-weakmap/LICENSE +21 -0
- package/node_modules/side-channel-weakmap/README.md +62 -0
- package/node_modules/side-channel-weakmap/index.d.ts +15 -0
- package/node_modules/side-channel-weakmap/index.js +84 -0
- package/node_modules/side-channel-weakmap/package.json +87 -0
- package/node_modules/side-channel-weakmap/test/index.js +114 -0
- package/node_modules/side-channel-weakmap/tsconfig.json +9 -0
- package/node_modules/statuses/HISTORY.md +87 -0
- package/node_modules/statuses/LICENSE +23 -0
- package/node_modules/statuses/README.md +139 -0
- package/node_modules/statuses/codes.json +65 -0
- package/node_modules/statuses/index.js +146 -0
- package/node_modules/statuses/package.json +49 -0
- package/node_modules/toidentifier/HISTORY.md +9 -0
- package/node_modules/toidentifier/LICENSE +21 -0
- package/node_modules/toidentifier/README.md +61 -0
- package/node_modules/toidentifier/index.js +32 -0
- package/node_modules/toidentifier/package.json +38 -0
- package/node_modules/type-is/HISTORY.md +292 -0
- package/node_modules/type-is/LICENSE +23 -0
- package/node_modules/type-is/README.md +198 -0
- package/node_modules/type-is/index.js +240 -0
- package/node_modules/type-is/package.json +51 -0
- package/node_modules/unpipe/HISTORY.md +4 -0
- package/node_modules/unpipe/LICENSE +22 -0
- package/node_modules/unpipe/README.md +43 -0
- package/node_modules/unpipe/index.js +69 -0
- package/node_modules/unpipe/package.json +27 -0
- package/node_modules/vary/HISTORY.md +39 -0
- package/node_modules/vary/LICENSE +22 -0
- package/node_modules/vary/README.md +101 -0
- package/node_modules/vary/index.js +149 -0
- package/node_modules/vary/package.json +43 -0
- package/node_modules/wrappy/LICENSE +15 -0
- package/node_modules/wrappy/README.md +36 -0
- package/node_modules/wrappy/package.json +29 -0
- package/node_modules/wrappy/wrappy.js +33 -0
- package/node_modules/ws/LICENSE +20 -0
- package/node_modules/ws/README.md +548 -0
- package/node_modules/ws/browser.js +8 -0
- package/node_modules/ws/index.js +22 -0
- package/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/ws/lib/constants.js +19 -0
- package/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/node_modules/ws/lib/receiver.js +743 -0
- package/node_modules/ws/lib/sender.js +607 -0
- package/node_modules/ws/lib/stream.js +161 -0
- package/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/ws/lib/validation.js +152 -0
- package/node_modules/ws/lib/websocket-server.js +562 -0
- package/node_modules/ws/lib/websocket.js +1421 -0
- package/node_modules/ws/package.json +74 -0
- package/node_modules/ws/wrapper.mjs +21 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +218 -0
- package/node_modules/zod/compile.cjs +96 -0
- package/node_modules/zod/compile.d.cts +1 -0
- package/node_modules/zod/compile.d.ts +1 -0
- package/node_modules/zod/compile.js +52 -0
- package/node_modules/zod/index.cjs +52 -0
- package/node_modules/zod/index.d.cts +3 -0
- package/node_modules/zod/index.d.ts +3 -0
- package/node_modules/zod/index.js +7 -0
- package/node_modules/zod/locales/index.cjs +36 -0
- package/node_modules/zod/locales/index.d.cts +1 -0
- package/node_modules/zod/locales/index.d.ts +1 -0
- package/node_modules/zod/locales/index.js +1 -0
- package/node_modules/zod/locales/package.json +7 -0
- package/node_modules/zod/mini/index.cjs +51 -0
- package/node_modules/zod/mini/index.d.cts +3 -0
- package/node_modules/zod/mini/index.d.ts +3 -0
- package/node_modules/zod/mini/index.js +3 -0
- package/node_modules/zod/mini/package.json +7 -0
- package/node_modules/zod/package.json +147 -0
- package/node_modules/zod/src/compile.ts +56 -0
- package/node_modules/zod/src/index.ts +7 -0
- package/node_modules/zod/src/locales/index.ts +1 -0
- package/node_modules/zod/src/mini/index.ts +3 -0
- package/node_modules/zod/src/v3/ZodError.ts +340 -0
- package/node_modules/zod/src/v3/benchmarks/datetime.ts +58 -0
- package/node_modules/zod/src/v3/benchmarks/discriminatedUnion.ts +80 -0
- package/node_modules/zod/src/v3/benchmarks/index.ts +59 -0
- package/node_modules/zod/src/v3/benchmarks/ipv4.ts +57 -0
- package/node_modules/zod/src/v3/benchmarks/object.ts +69 -0
- package/node_modules/zod/src/v3/benchmarks/primitives.ts +162 -0
- package/node_modules/zod/src/v3/benchmarks/realworld.ts +63 -0
- package/node_modules/zod/src/v3/benchmarks/string.ts +55 -0
- package/node_modules/zod/src/v3/benchmarks/union.ts +80 -0
- package/node_modules/zod/src/v3/errors.ts +13 -0
- package/node_modules/zod/src/v3/external.ts +6 -0
- package/node_modules/zod/src/v3/helpers/enumUtil.ts +17 -0
- package/node_modules/zod/src/v3/helpers/errorUtil.ts +8 -0
- package/node_modules/zod/src/v3/helpers/parseUtil.ts +176 -0
- package/node_modules/zod/src/v3/helpers/partialUtil.ts +34 -0
- package/node_modules/zod/src/v3/helpers/typeAliases.ts +2 -0
- package/node_modules/zod/src/v3/helpers/util.ts +224 -0
- package/node_modules/zod/src/v3/index.ts +4 -0
- package/node_modules/zod/src/v3/locales/en.ts +124 -0
- package/node_modules/zod/src/v3/standard-schema.ts +113 -0
- package/node_modules/zod/src/v3/tests/Mocker.ts +54 -0
- package/node_modules/zod/src/v3/tests/all-errors.test.ts +157 -0
- package/node_modules/zod/src/v3/tests/anyunknown.test.ts +28 -0
- package/node_modules/zod/src/v3/tests/array.test.ts +71 -0
- package/node_modules/zod/src/v3/tests/async-parsing.test.ts +388 -0
- package/node_modules/zod/src/v3/tests/async-refinements.test.ts +46 -0
- package/node_modules/zod/src/v3/tests/base.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/bigint.test.ts +55 -0
- package/node_modules/zod/src/v3/tests/branded.test.ts +53 -0
- package/node_modules/zod/src/v3/tests/catch.test.ts +220 -0
- package/node_modules/zod/src/v3/tests/coerce.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/complex.test.ts +70 -0
- package/node_modules/zod/src/v3/tests/custom.test.ts +31 -0
- package/node_modules/zod/src/v3/tests/date.test.ts +32 -0
- package/node_modules/zod/src/v3/tests/deepmasking.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/default.test.ts +112 -0
- package/node_modules/zod/src/v3/tests/description.test.ts +33 -0
- package/node_modules/zod/src/v3/tests/discriminated-unions.test.ts +315 -0
- package/node_modules/zod/src/v3/tests/enum.test.ts +80 -0
- package/node_modules/zod/src/v3/tests/error.test.ts +586 -0
- package/node_modules/zod/src/v3/tests/firstparty.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/firstpartyschematypes.test.ts +21 -0
- package/node_modules/zod/src/v3/tests/function.test.ts +261 -0
- package/node_modules/zod/src/v3/tests/generics.test.ts +48 -0
- package/node_modules/zod/src/v3/tests/instanceof.test.ts +37 -0
- package/node_modules/zod/src/v3/tests/intersection.test.ts +128 -0
- package/node_modules/zod/src/v3/tests/language-server.source.ts +76 -0
- package/node_modules/zod/src/v3/tests/language-server.test.ts +206 -0
- package/node_modules/zod/src/v3/tests/literal.test.ts +36 -0
- package/node_modules/zod/src/v3/tests/map.test.ts +110 -0
- package/node_modules/zod/src/v3/tests/masking.test.ts +4 -0
- package/node_modules/zod/src/v3/tests/mocker.test.ts +19 -0
- package/node_modules/zod/src/v3/tests/nan.test.ts +24 -0
- package/node_modules/zod/src/v3/tests/nativeEnum.test.ts +87 -0
- package/node_modules/zod/src/v3/tests/nullable.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/number.test.ts +176 -0
- package/node_modules/zod/src/v3/tests/object-augmentation.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object-in-es5-env.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/object.test.ts +431 -0
- package/node_modules/zod/src/v3/tests/optional.test.ts +42 -0
- package/node_modules/zod/src/v3/tests/parseUtil.test.ts +23 -0
- package/node_modules/zod/src/v3/tests/parser.test.ts +41 -0
- package/node_modules/zod/src/v3/tests/partials.test.ts +243 -0
- package/node_modules/zod/src/v3/tests/pickomit.test.ts +111 -0
- package/node_modules/zod/src/v3/tests/pipeline.test.ts +29 -0
- package/node_modules/zod/src/v3/tests/preprocess.test.ts +186 -0
- package/node_modules/zod/src/v3/tests/primitive.test.ts +440 -0
- package/node_modules/zod/src/v3/tests/promise.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/readonly.test.ts +114 -0
- package/node_modules/zod/src/v3/tests/record.test.ts +171 -0
- package/node_modules/zod/src/v3/tests/recursive.test.ts +197 -0
- package/node_modules/zod/src/v3/tests/refine.test.ts +313 -0
- package/node_modules/zod/src/v3/tests/safeparse.test.ts +27 -0
- package/node_modules/zod/src/v3/tests/set.test.ts +142 -0
- package/node_modules/zod/src/v3/tests/standard-schema.test.ts +83 -0
- package/node_modules/zod/src/v3/tests/string.test.ts +922 -0
- package/node_modules/zod/src/v3/tests/transformer.test.ts +233 -0
- package/node_modules/zod/src/v3/tests/tuple.test.ts +90 -0
- package/node_modules/zod/src/v3/tests/unions.test.ts +57 -0
- package/node_modules/zod/src/v3/tests/validations.test.ts +133 -0
- package/node_modules/zod/src/v3/tests/void.test.ts +15 -0
- package/node_modules/zod/src/v3/types.ts +5138 -0
- package/node_modules/zod/src/v4/classic/checks.ts +33 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +78 -0
- package/node_modules/zod/src/v4/classic/deep-partial.ts +76 -0
- package/node_modules/zod/src/v4/classic/errors.ts +97 -0
- package/node_modules/zod/src/v4/classic/external.ts +57 -0
- package/node_modules/zod/src/v4/classic/from-json-schema.ts +944 -0
- package/node_modules/zod/src/v4/classic/in-out.ts +45 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +20 -0
- package/node_modules/zod/src/v4/classic/parse.ts +88 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2937 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/apply.test.ts +86 -0
- package/node_modules/zod/src/v4/classic/tests/array.test.ts +264 -0
- package/node_modules/zod/src/v4/classic/tests/assignability.test.ts +402 -0
- package/node_modules/zod/src/v4/classic/tests/async-parsing.test.ts +381 -0
- package/node_modules/zod/src/v4/classic/tests/async-refinements.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/base.test.ts +7 -0
- package/node_modules/zod/src/v4/classic/tests/bigint.test.ts +89 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +106 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +604 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -0
- package/node_modules/zod/src/v4/classic/tests/codec-examples.test.ts +572 -0
- package/node_modules/zod/src/v4/classic/tests/codec.test.ts +704 -0
- package/node_modules/zod/src/v4/classic/tests/coerce.test.ts +160 -0
- package/node_modules/zod/src/v4/classic/tests/continuability.test.ts +374 -0
- package/node_modules/zod/src/v4/classic/tests/credit-card.test.ts +76 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/cyclic-data.test.ts +985 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +316 -0
- package/node_modules/zod/src/v4/classic/tests/deep-partial.test.ts +380 -0
- package/node_modules/zod/src/v4/classic/tests/default-locale.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +455 -0
- package/node_modules/zod/src/v4/classic/tests/describe-meta-checks.test.ts +27 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/detached-methods.test.ts +221 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +942 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +305 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +917 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +1108 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +96 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/fix-json-issue.test.ts +26 -0
- package/node_modules/zod/src/v4/classic/tests/from-json-schema.test.ts +1467 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +391 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/global-config.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/hash.test.ts +67 -0
- package/node_modules/zod/src/v4/classic/tests/iban.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/in-out.test.ts +159 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +958 -0
- package/node_modules/zod/src/v4/classic/tests/instance-footprint.test.ts +319 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +334 -0
- package/node_modules/zod/src/v4/classic/tests/issue-schema.test.ts +215 -0
- package/node_modules/zod/src/v4/classic/tests/jitless-allows-eval.test.ts +39 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +262 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +128 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ka.test.ts +29 -0
- package/node_modules/zod/src/v4/classic/tests/locales_ro.test.ts +24 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/nan.test.ts +21 -0
- package/node_modules/zod/src/v4/classic/tests/nested-refine.test.ts +168 -0
- package/node_modules/zod/src/v4/classic/tests/nonoptional.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/nullable.test.ts +22 -0
- package/node_modules/zod/src/v4/classic/tests/number.test.ts +401 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +1006 -0
- package/node_modules/zod/src/v4/classic/tests/optin-ladder.test.ts +235 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +366 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +497 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +211 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +101 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +144 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess-types.test.ts +44 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +351 -0
- package/node_modules/zod/src/v4/classic/tests/primitive.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/promise.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/properties.test.ts +141 -0
- package/node_modules/zod/src/v4/classic/tests/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +184 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +885 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +707 -0
- package/node_modules/zod/src/v4/classic/tests/redos.test.ts +68 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +693 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +243 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +190 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +153 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +125 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +1440 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +124 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +812 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema-methods.test.ts +438 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +4733 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +378 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +511 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +310 -0
- package/node_modules/zod/src/v4/classic/tests/url.test.ts +13 -0
- package/node_modules/zod/src/v4/classic/tests/validate.test.ts +645 -0
- package/node_modules/zod/src/v4/classic/tests/validations.test.ts +283 -0
- package/node_modules/zod/src/v4/classic/tests/void.test.ts +12 -0
- package/node_modules/zod/src/v4/core/api.ts +1875 -0
- package/node_modules/zod/src/v4/core/checks.ts +1266 -0
- package/node_modules/zod/src/v4/core/compile.ts +2313 -0
- package/node_modules/zod/src/v4/core/core.ts +230 -0
- package/node_modules/zod/src/v4/core/doc.ts +52 -0
- package/node_modules/zod/src/v4/core/errors.ts +543 -0
- package/node_modules/zod/src/v4/core/index.ts +19 -0
- package/node_modules/zod/src/v4/core/json-schema-generator.ts +131 -0
- package/node_modules/zod/src/v4/core/json-schema-processors.ts +934 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +148 -0
- package/node_modules/zod/src/v4/core/memoizer.ts +331 -0
- package/node_modules/zod/src/v4/core/parse.ts +309 -0
- package/node_modules/zod/src/v4/core/regexes.ts +217 -0
- package/node_modules/zod/src/v4/core/registries.ts +105 -0
- package/node_modules/zod/src/v4/core/schemas.ts +5192 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +159 -0
- package/node_modules/zod/src/v4/core/tests/cached.test.ts +54 -0
- package/node_modules/zod/src/v4/core/tests/compile-differential.test.ts +1004 -0
- package/node_modules/zod/src/v4/core/tests/compile-generative.test.ts +445 -0
- package/node_modules/zod/src/v4/core/tests/compile-global.test.ts +89 -0
- package/node_modules/zod/src/v4/core/tests/compile-off-by-default.test.ts +26 -0
- package/node_modules/zod/src/v4/core/tests/compile-stats.test.ts +34 -0
- package/node_modules/zod/src/v4/core/tests/compile.test.ts +2036 -0
- package/node_modules/zod/src/v4/core/tests/email-regex.test.ts +140 -0
- package/node_modules/zod/src/v4/core/tests/extend.test.ts +59 -0
- package/node_modules/zod/src/v4/core/tests/index.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/be.test.ts +124 -0
- package/node_modules/zod/src/v4/core/tests/locales/el.test.ts +214 -0
- package/node_modules/zod/src/v4/core/tests/locales/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/es.test.ts +180 -0
- package/node_modules/zod/src/v4/core/tests/locales/fr.test.ts +72 -0
- package/node_modules/zod/src/v4/core/tests/locales/he.test.ts +379 -0
- package/node_modules/zod/src/v4/core/tests/locales/hr.test.ts +163 -0
- package/node_modules/zod/src/v4/core/tests/locales/nl.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/locales/parity.test.ts +42 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tg.test.ts +85 -0
- package/node_modules/zod/src/v4/core/tests/locales/tk.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/tests/locales/uz.test.ts +105 -0
- package/node_modules/zod/src/v4/core/tests/polyfill-collision.test.ts +46 -0
- package/node_modules/zod/src/v4/core/tests/record-constructor.test.ts +125 -0
- package/node_modules/zod/src/v4/core/tests/recursive-tuples.test.ts +45 -0
- package/node_modules/zod/src/v4/core/tests/treeshake.test.ts +51 -0
- package/node_modules/zod/src/v4/core/tests/url-no-canparse.test.ts +133 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +857 -0
- package/node_modules/zod/src/v4/core/util.ts +1280 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -0
- package/node_modules/zod/src/v4/core/visit.ts +193 -0
- package/node_modules/zod/src/v4/core/zsf.ts +323 -0
- package/node_modules/zod/src/v4/index.ts +4 -0
- package/node_modules/zod/src/v4/locales/ar.ts +120 -0
- package/node_modules/zod/src/v4/locales/az.ts +116 -0
- package/node_modules/zod/src/v4/locales/be.ts +188 -0
- package/node_modules/zod/src/v4/locales/bg.ts +133 -0
- package/node_modules/zod/src/v4/locales/bn.ts +123 -0
- package/node_modules/zod/src/v4/locales/ca.ts +121 -0
- package/node_modules/zod/src/v4/locales/ckb.ts +140 -0
- package/node_modules/zod/src/v4/locales/cs.ts +123 -0
- package/node_modules/zod/src/v4/locales/da.ts +128 -0
- package/node_modules/zod/src/v4/locales/de.ts +121 -0
- package/node_modules/zod/src/v4/locales/el.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +136 -0
- package/node_modules/zod/src/v4/locales/eo.ts +123 -0
- package/node_modules/zod/src/v4/locales/es.ts +145 -0
- package/node_modules/zod/src/v4/locales/fa.ts +131 -0
- package/node_modules/zod/src/v4/locales/fi.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +121 -0
- package/node_modules/zod/src/v4/locales/fr.ts +139 -0
- package/node_modules/zod/src/v4/locales/gu.ts +123 -0
- package/node_modules/zod/src/v4/locales/he.ts +253 -0
- package/node_modules/zod/src/v4/locales/hi.ts +126 -0
- package/node_modules/zod/src/v4/locales/hr.ts +135 -0
- package/node_modules/zod/src/v4/locales/hu.ts +122 -0
- package/node_modules/zod/src/v4/locales/hy.ts +175 -0
- package/node_modules/zod/src/v4/locales/id.ts +120 -0
- package/node_modules/zod/src/v4/locales/index.ts +63 -0
- package/node_modules/zod/src/v4/locales/is.ts +124 -0
- package/node_modules/zod/src/v4/locales/it.ts +121 -0
- package/node_modules/zod/src/v4/locales/ja.ts +119 -0
- package/node_modules/zod/src/v4/locales/ka.ts +128 -0
- package/node_modules/zod/src/v4/locales/kh.ts +7 -0
- package/node_modules/zod/src/v4/locales/km.ts +124 -0
- package/node_modules/zod/src/v4/locales/kn.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +126 -0
- package/node_modules/zod/src/v4/locales/lt.ts +243 -0
- package/node_modules/zod/src/v4/locales/mk.ts +123 -0
- package/node_modules/zod/src/v4/locales/ms.ts +120 -0
- package/node_modules/zod/src/v4/locales/ne.ts +128 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/nn.ts +121 -0
- package/node_modules/zod/src/v4/locales/no.ts +121 -0
- package/node_modules/zod/src/v4/locales/ota.ts +122 -0
- package/node_modules/zod/src/v4/locales/pl.ts +123 -0
- package/node_modules/zod/src/v4/locales/ps.ts +131 -0
- package/node_modules/zod/src/v4/locales/pt-BR.ts +161 -0
- package/node_modules/zod/src/v4/locales/pt.ts +159 -0
- package/node_modules/zod/src/v4/locales/ro.ts +132 -0
- package/node_modules/zod/src/v4/locales/ru.ts +188 -0
- package/node_modules/zod/src/v4/locales/sk.ts +123 -0
- package/node_modules/zod/src/v4/locales/sl.ts +123 -0
- package/node_modules/zod/src/v4/locales/sv.ts +124 -0
- package/node_modules/zod/src/v4/locales/ta.ts +123 -0
- package/node_modules/zod/src/v4/locales/tg.ts +135 -0
- package/node_modules/zod/src/v4/locales/th.ts +124 -0
- package/node_modules/zod/src/v4/locales/tk.ts +113 -0
- package/node_modules/zod/src/v4/locales/tr.ts +116 -0
- package/node_modules/zod/src/v4/locales/ua.ts +7 -0
- package/node_modules/zod/src/v4/locales/uk.ts +122 -0
- package/node_modules/zod/src/v4/locales/ur.ts +124 -0
- package/node_modules/zod/src/v4/locales/uz.ts +120 -0
- package/node_modules/zod/src/v4/locales/vi.ts +122 -0
- package/node_modules/zod/src/v4/locales/yo.ts +129 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +121 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +120 -0
- package/node_modules/zod/src/v4/mini/checks.ts +33 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +27 -0
- package/node_modules/zod/src/v4/mini/deep-partial.ts +73 -0
- package/node_modules/zod/src/v4/mini/external.ts +52 -0
- package/node_modules/zod/src/v4/mini/in-out.ts +45 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +66 -0
- package/node_modules/zod/src/v4/mini/parse.ts +16 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +2051 -0
- package/node_modules/zod/src/v4/mini/tests/apply.test.ts +57 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +190 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +94 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +158 -0
- package/node_modules/zod/src/v4/mini/tests/codec.test.ts +582 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +30 -0
- package/node_modules/zod/src/v4/mini/tests/cyclic-data.test.ts +84 -0
- package/node_modules/zod/src/v4/mini/tests/deep-partial.test.ts +54 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +41 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +14 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +1146 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +109 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +292 -0
- package/node_modules/zod/src/v4/mini/tests/prototypes.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/recursive-types.test.ts +341 -0
- package/node_modules/zod/src/v4/mini/tests/standard-schema.test.ts +50 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +396 -0
- package/node_modules/zod/src/v4-mini/index.ts +3 -0
- package/node_modules/zod/v3/ZodError.cjs +167 -0
- package/node_modules/zod/v3/ZodError.d.cts +164 -0
- package/node_modules/zod/v3/ZodError.d.ts +164 -0
- package/node_modules/zod/v3/ZodError.js +143 -0
- package/node_modules/zod/v3/errors.cjs +36 -0
- package/node_modules/zod/v3/errors.d.cts +5 -0
- package/node_modules/zod/v3/errors.d.ts +5 -0
- package/node_modules/zod/v3/errors.js +9 -0
- package/node_modules/zod/v3/external.cjs +41 -0
- package/node_modules/zod/v3/external.d.cts +6 -0
- package/node_modules/zod/v3/external.d.ts +6 -0
- package/node_modules/zod/v3/external.js +6 -0
- package/node_modules/zod/v3/helpers/enumUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/enumUtil.js +1 -0
- package/node_modules/zod/v3/helpers/errorUtil.cjs +28 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.cts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.d.ts +9 -0
- package/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/node_modules/zod/v3/helpers/parseUtil.cjs +143 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.cts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.d.ts +78 -0
- package/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/node_modules/zod/v3/helpers/partialUtil.cjs +21 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.cts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.d.ts +8 -0
- package/node_modules/zod/v3/helpers/partialUtil.js +1 -0
- package/node_modules/zod/v3/helpers/typeAliases.cjs +21 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.cts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.d.ts +2 -0
- package/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/node_modules/zod/v3/helpers/util.cjs +156 -0
- package/node_modules/zod/v3/helpers/util.d.cts +85 -0
- package/node_modules/zod/v3/helpers/util.d.ts +85 -0
- package/node_modules/zod/v3/helpers/util.js +133 -0
- package/node_modules/zod/v3/index.cjs +52 -0
- package/node_modules/zod/v3/index.d.cts +4 -0
- package/node_modules/zod/v3/index.d.ts +4 -0
- package/node_modules/zod/v3/index.js +4 -0
- package/node_modules/zod/v3/locales/en.cjs +112 -0
- package/node_modules/zod/v3/locales/en.d.cts +3 -0
- package/node_modules/zod/v3/locales/en.d.ts +3 -0
- package/node_modules/zod/v3/locales/en.js +109 -0
- package/node_modules/zod/v3/package.json +7 -0
- package/node_modules/zod/v3/standard-schema.cjs +21 -0
- package/node_modules/zod/v3/standard-schema.d.cts +102 -0
- package/node_modules/zod/v3/standard-schema.d.ts +102 -0
- package/node_modules/zod/v3/standard-schema.js +1 -0
- package/node_modules/zod/v3/types.cjs +3798 -0
- package/node_modules/zod/v3/types.d.cts +1034 -0
- package/node_modules/zod/v3/types.d.ts +1034 -0
- package/node_modules/zod/v3/types.js +3697 -0
- package/node_modules/zod/v4/classic/checks.cjs +53 -0
- package/node_modules/zod/v4/classic/checks.d.cts +1 -0
- package/node_modules/zod/v4/classic/checks.d.ts +1 -0
- package/node_modules/zod/v4/classic/checks.js +1 -0
- package/node_modules/zod/v4/classic/coerce.cjs +66 -0
- package/node_modules/zod/v4/classic/coerce.d.cts +17 -0
- package/node_modules/zod/v4/classic/coerce.d.ts +17 -0
- package/node_modules/zod/v4/classic/coerce.js +17 -0
- package/node_modules/zod/v4/classic/compat.cjs +80 -0
- package/node_modules/zod/v4/classic/compat.d.cts +48 -0
- package/node_modules/zod/v4/classic/compat.d.ts +48 -0
- package/node_modules/zod/v4/classic/compat.js +31 -0
- package/node_modules/zod/v4/classic/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/classic/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/classic/deep-partial.js +13 -0
- package/node_modules/zod/v4/classic/errors.cjs +102 -0
- package/node_modules/zod/v4/classic/errors.d.cts +29 -0
- package/node_modules/zod/v4/classic/errors.d.ts +29 -0
- package/node_modules/zod/v4/classic/errors.js +57 -0
- package/node_modules/zod/v4/classic/external.cjs +97 -0
- package/node_modules/zod/v4/classic/external.d.cts +19 -0
- package/node_modules/zod/v4/classic/external.d.ts +19 -0
- package/node_modules/zod/v4/classic/external.js +17 -0
- package/node_modules/zod/v4/classic/from-json-schema.cjs +926 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.cts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.d.ts +12 -0
- package/node_modules/zod/v4/classic/from-json-schema.js +881 -0
- package/node_modules/zod/v4/classic/in-out.cjs +82 -0
- package/node_modules/zod/v4/classic/in-out.d.cts +8 -0
- package/node_modules/zod/v4/classic/in-out.d.ts +8 -0
- package/node_modules/zod/v4/classic/in-out.js +36 -0
- package/node_modules/zod/v4/classic/index.cjs +52 -0
- package/node_modules/zod/v4/classic/index.d.cts +3 -0
- package/node_modules/zod/v4/classic/index.d.ts +3 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +68 -0
- package/node_modules/zod/v4/classic/iso.d.cts +7 -0
- package/node_modules/zod/v4/classic/iso.d.ts +7 -0
- package/node_modules/zod/v4/classic/iso.js +15 -0
- package/node_modules/zod/v4/classic/package.json +7 -0
- package/node_modules/zod/v4/classic/parse.cjs +63 -0
- package/node_modules/zod/v4/classic/parse.d.cts +44 -0
- package/node_modules/zod/v4/classic/parse.d.ts +44 -0
- package/node_modules/zod/v4/classic/parse.js +16 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1676 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +816 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +816 -0
- package/node_modules/zod/v4/classic/schemas.js +1535 -0
- package/node_modules/zod/v4/core/api.cjs +1269 -0
- package/node_modules/zod/v4/core/api.d.cts +335 -0
- package/node_modules/zod/v4/core/api.d.ts +335 -0
- package/node_modules/zod/v4/core/api.js +1107 -0
- package/node_modules/zod/v4/core/checks.cjs +561 -0
- package/node_modules/zod/v4/core/checks.d.cts +294 -0
- package/node_modules/zod/v4/core/checks.d.ts +294 -0
- package/node_modules/zod/v4/core/checks.js +516 -0
- package/node_modules/zod/v4/core/compile.cjs +1908 -0
- package/node_modules/zod/v4/core/compile.d.cts +65 -0
- package/node_modules/zod/v4/core/compile.d.ts +65 -0
- package/node_modules/zod/v4/core/compile.js +1858 -0
- package/node_modules/zod/v4/core/core.cjs +167 -0
- package/node_modules/zod/v4/core/core.d.cts +82 -0
- package/node_modules/zod/v4/core/core.d.ts +82 -0
- package/node_modules/zod/v4/core/core.js +141 -0
- package/node_modules/zod/v4/core/doc.cjs +61 -0
- package/node_modules/zod/v4/core/doc.d.cts +16 -0
- package/node_modules/zod/v4/core/doc.d.ts +16 -0
- package/node_modules/zod/v4/core/doc.js +38 -0
- package/node_modules/zod/v4/core/errors.cjs +317 -0
- package/node_modules/zod/v4/core/errors.d.cts +225 -0
- package/node_modules/zod/v4/core/errors.d.ts +225 -0
- package/node_modules/zod/v4/core/errors.js +267 -0
- package/node_modules/zod/v4/core/index.cjs +70 -0
- package/node_modules/zod/v4/core/index.d.cts +19 -0
- package/node_modules/zod/v4/core/index.d.ts +19 -0
- package/node_modules/zod/v4/core/index.js +19 -0
- package/node_modules/zod/v4/core/json-schema-generator.cjs +122 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-generator.js +99 -0
- package/node_modules/zod/v4/core/json-schema-processors.cjs +929 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.cts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.d.ts +65 -0
- package/node_modules/zod/v4/core/json-schema-processors.js +843 -0
- package/node_modules/zod/v4/core/json-schema.cjs +21 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +89 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +89 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/memoizer.cjs +360 -0
- package/node_modules/zod/v4/core/memoizer.d.cts +15 -0
- package/node_modules/zod/v4/core/memoizer.d.ts +15 -0
- package/node_modules/zod/v4/core/memoizer.js +311 -0
- package/node_modules/zod/v4/core/package.json +7 -0
- package/node_modules/zod/v4/core/parse.cjs +233 -0
- package/node_modules/zod/v4/core/parse.d.cts +52 -0
- package/node_modules/zod/v4/core/parse.d.ts +52 -0
- package/node_modules/zod/v4/core/parse.js +175 -0
- package/node_modules/zod/v4/core/regexes.cjs +209 -0
- package/node_modules/zod/v4/core/regexes.d.cts +90 -0
- package/node_modules/zod/v4/core/regexes.d.ts +90 -0
- package/node_modules/zod/v4/core/regexes.js +156 -0
- package/node_modules/zod/v4/core/registries.cjs +75 -0
- package/node_modules/zod/v4/core/registries.d.cts +35 -0
- package/node_modules/zod/v4/core/registries.d.ts +35 -0
- package/node_modules/zod/v4/core/registries.js +51 -0
- package/node_modules/zod/v4/core/schemas.cjs +2669 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1273 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1273 -0
- package/node_modules/zod/v4/core/schemas.js +2606 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +21 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +126 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +126 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +681 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +154 -0
- package/node_modules/zod/v4/core/to-json-schema.js +651 -0
- package/node_modules/zod/v4/core/util.cjs +949 -0
- package/node_modules/zod/v4/core/util.d.cts +278 -0
- package/node_modules/zod/v4/core/util.d.ts +278 -0
- package/node_modules/zod/v4/core/util.js +859 -0
- package/node_modules/zod/v4/core/versions.cjs +27 -0
- package/node_modules/zod/v4/core/versions.d.cts +5 -0
- package/node_modules/zod/v4/core/versions.d.ts +5 -0
- package/node_modules/zod/v4/core/versions.js +5 -0
- package/node_modules/zod/v4/core/visit.cjs +214 -0
- package/node_modules/zod/v4/core/visit.d.cts +30 -0
- package/node_modules/zod/v4/core/visit.d.ts +30 -0
- package/node_modules/zod/v4/core/visit.js +169 -0
- package/node_modules/zod/v4/index.cjs +51 -0
- package/node_modules/zod/v4/index.d.cts +3 -0
- package/node_modules/zod/v4/index.d.ts +3 -0
- package/node_modules/zod/v4/index.js +4 -0
- package/node_modules/zod/v4/locales/ar.cjs +138 -0
- package/node_modules/zod/v4/locales/ar.d.cts +5 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +111 -0
- package/node_modules/zod/v4/locales/az.cjs +137 -0
- package/node_modules/zod/v4/locales/az.d.cts +5 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +110 -0
- package/node_modules/zod/v4/locales/be.cjs +195 -0
- package/node_modules/zod/v4/locales/be.d.cts +5 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +168 -0
- package/node_modules/zod/v4/locales/bg.cjs +152 -0
- package/node_modules/zod/v4/locales/bg.d.cts +5 -0
- package/node_modules/zod/v4/locales/bg.d.ts +4 -0
- package/node_modules/zod/v4/locales/bg.js +125 -0
- package/node_modules/zod/v4/locales/bn.cjs +140 -0
- package/node_modules/zod/v4/locales/bn.d.cts +5 -0
- package/node_modules/zod/v4/locales/bn.d.ts +4 -0
- package/node_modules/zod/v4/locales/bn.js +113 -0
- package/node_modules/zod/v4/locales/ca.cjs +139 -0
- package/node_modules/zod/v4/locales/ca.d.cts +5 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +112 -0
- package/node_modules/zod/v4/locales/ckb.cjs +160 -0
- package/node_modules/zod/v4/locales/ckb.d.cts +5 -0
- package/node_modules/zod/v4/locales/ckb.d.ts +4 -0
- package/node_modules/zod/v4/locales/ckb.js +133 -0
- package/node_modules/zod/v4/locales/cs.cjs +143 -0
- package/node_modules/zod/v4/locales/cs.d.cts +5 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +116 -0
- package/node_modules/zod/v4/locales/da.cjs +147 -0
- package/node_modules/zod/v4/locales/da.d.cts +5 -0
- package/node_modules/zod/v4/locales/da.d.ts +4 -0
- package/node_modules/zod/v4/locales/da.js +120 -0
- package/node_modules/zod/v4/locales/de.cjs +140 -0
- package/node_modules/zod/v4/locales/de.d.cts +5 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +113 -0
- package/node_modules/zod/v4/locales/el.cjs +139 -0
- package/node_modules/zod/v4/locales/el.d.cts +5 -0
- package/node_modules/zod/v4/locales/el.d.ts +4 -0
- package/node_modules/zod/v4/locales/el.js +112 -0
- package/node_modules/zod/v4/locales/en.cjs +152 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +4 -0
- package/node_modules/zod/v4/locales/en.js +125 -0
- package/node_modules/zod/v4/locales/eo.cjs +141 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +4 -0
- package/node_modules/zod/v4/locales/eo.js +114 -0
- package/node_modules/zod/v4/locales/es.cjs +163 -0
- package/node_modules/zod/v4/locales/es.d.cts +5 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +136 -0
- package/node_modules/zod/v4/locales/fa.cjs +146 -0
- package/node_modules/zod/v4/locales/fa.d.cts +5 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +119 -0
- package/node_modules/zod/v4/locales/fi.cjs +144 -0
- package/node_modules/zod/v4/locales/fi.d.cts +5 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +117 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +139 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +112 -0
- package/node_modules/zod/v4/locales/fr.cjs +156 -0
- package/node_modules/zod/v4/locales/fr.d.cts +5 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +129 -0
- package/node_modules/zod/v4/locales/gu.cjs +140 -0
- package/node_modules/zod/v4/locales/gu.d.cts +5 -0
- package/node_modules/zod/v4/locales/gu.d.ts +4 -0
- package/node_modules/zod/v4/locales/gu.js +113 -0
- package/node_modules/zod/v4/locales/he.cjs +248 -0
- package/node_modules/zod/v4/locales/he.d.cts +5 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +221 -0
- package/node_modules/zod/v4/locales/hi.cjs +138 -0
- package/node_modules/zod/v4/locales/hi.d.cts +5 -0
- package/node_modules/zod/v4/locales/hi.d.ts +4 -0
- package/node_modules/zod/v4/locales/hi.js +111 -0
- package/node_modules/zod/v4/locales/hr.cjs +153 -0
- package/node_modules/zod/v4/locales/hr.d.cts +5 -0
- package/node_modules/zod/v4/locales/hr.d.ts +4 -0
- package/node_modules/zod/v4/locales/hr.js +126 -0
- package/node_modules/zod/v4/locales/hu.cjs +140 -0
- package/node_modules/zod/v4/locales/hu.d.cts +5 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +113 -0
- package/node_modules/zod/v4/locales/hy.cjs +185 -0
- package/node_modules/zod/v4/locales/hy.d.cts +5 -0
- package/node_modules/zod/v4/locales/hy.d.ts +4 -0
- package/node_modules/zod/v4/locales/hy.js +158 -0
- package/node_modules/zod/v4/locales/id.cjs +138 -0
- package/node_modules/zod/v4/locales/id.d.cts +5 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +111 -0
- package/node_modules/zod/v4/locales/index.cjs +152 -0
- package/node_modules/zod/v4/locales/index.d.cts +63 -0
- package/node_modules/zod/v4/locales/index.d.ts +63 -0
- package/node_modules/zod/v4/locales/index.js +63 -0
- package/node_modules/zod/v4/locales/is.cjs +141 -0
- package/node_modules/zod/v4/locales/is.d.cts +5 -0
- package/node_modules/zod/v4/locales/is.d.ts +4 -0
- package/node_modules/zod/v4/locales/is.js +114 -0
- package/node_modules/zod/v4/locales/it.cjs +140 -0
- package/node_modules/zod/v4/locales/it.d.cts +5 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +113 -0
- package/node_modules/zod/v4/locales/ja.cjs +139 -0
- package/node_modules/zod/v4/locales/ja.d.cts +5 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +112 -0
- package/node_modules/zod/v4/locales/ka.cjs +144 -0
- package/node_modules/zod/v4/locales/ka.d.cts +5 -0
- package/node_modules/zod/v4/locales/ka.d.ts +4 -0
- package/node_modules/zod/v4/locales/ka.js +117 -0
- package/node_modules/zod/v4/locales/kh.cjs +12 -0
- package/node_modules/zod/v4/locales/kh.d.cts +5 -0
- package/node_modules/zod/v4/locales/kh.d.ts +5 -0
- package/node_modules/zod/v4/locales/kh.js +5 -0
- package/node_modules/zod/v4/locales/km.cjs +142 -0
- package/node_modules/zod/v4/locales/km.d.cts +5 -0
- package/node_modules/zod/v4/locales/km.d.ts +4 -0
- package/node_modules/zod/v4/locales/km.js +115 -0
- package/node_modules/zod/v4/locales/kn.cjs +143 -0
- package/node_modules/zod/v4/locales/kn.d.cts +5 -0
- package/node_modules/zod/v4/locales/kn.d.ts +4 -0
- package/node_modules/zod/v4/locales/kn.js +116 -0
- package/node_modules/zod/v4/locales/ko.cjs +143 -0
- package/node_modules/zod/v4/locales/ko.d.cts +5 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +116 -0
- package/node_modules/zod/v4/locales/lt.cjs +234 -0
- package/node_modules/zod/v4/locales/lt.d.cts +5 -0
- package/node_modules/zod/v4/locales/lt.d.ts +4 -0
- package/node_modules/zod/v4/locales/lt.js +207 -0
- package/node_modules/zod/v4/locales/mk.cjs +141 -0
- package/node_modules/zod/v4/locales/mk.d.cts +5 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +114 -0
- package/node_modules/zod/v4/locales/ms.cjs +139 -0
- package/node_modules/zod/v4/locales/ms.d.cts +5 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +112 -0
- package/node_modules/zod/v4/locales/ne.cjs +138 -0
- package/node_modules/zod/v4/locales/ne.d.cts +5 -0
- package/node_modules/zod/v4/locales/ne.d.ts +4 -0
- package/node_modules/zod/v4/locales/ne.js +111 -0
- package/node_modules/zod/v4/locales/nl.cjs +142 -0
- package/node_modules/zod/v4/locales/nl.d.cts +5 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +115 -0
- package/node_modules/zod/v4/locales/nn.cjs +140 -0
- package/node_modules/zod/v4/locales/nn.d.cts +5 -0
- package/node_modules/zod/v4/locales/nn.d.ts +4 -0
- package/node_modules/zod/v4/locales/nn.js +113 -0
- package/node_modules/zod/v4/locales/no.cjs +140 -0
- package/node_modules/zod/v4/locales/no.d.cts +5 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +113 -0
- package/node_modules/zod/v4/locales/ota.cjs +141 -0
- package/node_modules/zod/v4/locales/ota.d.cts +5 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +114 -0
- package/node_modules/zod/v4/locales/package.json +7 -0
- package/node_modules/zod/v4/locales/pl.cjs +141 -0
- package/node_modules/zod/v4/locales/pl.d.cts +5 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +114 -0
- package/node_modules/zod/v4/locales/ps.cjs +146 -0
- package/node_modules/zod/v4/locales/ps.d.cts +5 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +119 -0
- package/node_modules/zod/v4/locales/pt-BR.cjs +170 -0
- package/node_modules/zod/v4/locales/pt-BR.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt-BR.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt-BR.js +143 -0
- package/node_modules/zod/v4/locales/pt.cjs +169 -0
- package/node_modules/zod/v4/locales/pt.d.cts +5 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +142 -0
- package/node_modules/zod/v4/locales/ro.cjs +149 -0
- package/node_modules/zod/v4/locales/ro.d.cts +5 -0
- package/node_modules/zod/v4/locales/ro.d.ts +4 -0
- package/node_modules/zod/v4/locales/ro.js +122 -0
- package/node_modules/zod/v4/locales/ru.cjs +195 -0
- package/node_modules/zod/v4/locales/ru.d.cts +5 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +168 -0
- package/node_modules/zod/v4/locales/sk.cjs +143 -0
- package/node_modules/zod/v4/locales/sk.d.cts +5 -0
- package/node_modules/zod/v4/locales/sk.d.ts +4 -0
- package/node_modules/zod/v4/locales/sk.js +116 -0
- package/node_modules/zod/v4/locales/sl.cjs +141 -0
- package/node_modules/zod/v4/locales/sl.d.cts +5 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +114 -0
- package/node_modules/zod/v4/locales/sv.cjs +142 -0
- package/node_modules/zod/v4/locales/sv.d.cts +5 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +115 -0
- package/node_modules/zod/v4/locales/ta.cjs +142 -0
- package/node_modules/zod/v4/locales/ta.d.cts +5 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +115 -0
- package/node_modules/zod/v4/locales/tg.cjs +144 -0
- package/node_modules/zod/v4/locales/tg.d.cts +5 -0
- package/node_modules/zod/v4/locales/tg.d.ts +4 -0
- package/node_modules/zod/v4/locales/tg.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +142 -0
- package/node_modules/zod/v4/locales/th.d.cts +5 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +115 -0
- package/node_modules/zod/v4/locales/tk.cjs +134 -0
- package/node_modules/zod/v4/locales/tk.d.cts +5 -0
- package/node_modules/zod/v4/locales/tk.d.ts +4 -0
- package/node_modules/zod/v4/locales/tk.js +107 -0
- package/node_modules/zod/v4/locales/tr.cjs +137 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +4 -0
- package/node_modules/zod/v4/locales/tr.js +110 -0
- package/node_modules/zod/v4/locales/ua.cjs +12 -0
- package/node_modules/zod/v4/locales/ua.d.cts +5 -0
- package/node_modules/zod/v4/locales/ua.d.ts +5 -0
- package/node_modules/zod/v4/locales/ua.js +5 -0
- package/node_modules/zod/v4/locales/uk.cjs +140 -0
- package/node_modules/zod/v4/locales/uk.d.cts +5 -0
- package/node_modules/zod/v4/locales/uk.d.ts +4 -0
- package/node_modules/zod/v4/locales/uk.js +113 -0
- package/node_modules/zod/v4/locales/ur.cjs +142 -0
- package/node_modules/zod/v4/locales/ur.d.cts +5 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +115 -0
- package/node_modules/zod/v4/locales/uz.cjs +140 -0
- package/node_modules/zod/v4/locales/uz.d.cts +5 -0
- package/node_modules/zod/v4/locales/uz.d.ts +4 -0
- package/node_modules/zod/v4/locales/uz.js +113 -0
- package/node_modules/zod/v4/locales/vi.cjs +140 -0
- package/node_modules/zod/v4/locales/vi.d.cts +5 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +113 -0
- package/node_modules/zod/v4/locales/yo.cjs +139 -0
- package/node_modules/zod/v4/locales/yo.d.cts +5 -0
- package/node_modules/zod/v4/locales/yo.d.ts +4 -0
- package/node_modules/zod/v4/locales/yo.js +112 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +141 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +114 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +139 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +5 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +112 -0
- package/node_modules/zod/v4/mini/checks.cjs +54 -0
- package/node_modules/zod/v4/mini/checks.d.cts +1 -0
- package/node_modules/zod/v4/mini/checks.d.ts +1 -0
- package/node_modules/zod/v4/mini/checks.js +1 -0
- package/node_modules/zod/v4/mini/coerce.cjs +71 -0
- package/node_modules/zod/v4/mini/coerce.d.cts +7 -0
- package/node_modules/zod/v4/mini/coerce.d.ts +7 -0
- package/node_modules/zod/v4/mini/coerce.js +22 -0
- package/node_modules/zod/v4/mini/deep-partial.cjs +58 -0
- package/node_modules/zod/v4/mini/deep-partial.d.cts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.d.ts +14 -0
- package/node_modules/zod/v4/mini/deep-partial.js +13 -0
- package/node_modules/zod/v4/mini/external.cjs +95 -0
- package/node_modules/zod/v4/mini/external.d.cts +16 -0
- package/node_modules/zod/v4/mini/external.d.ts +16 -0
- package/node_modules/zod/v4/mini/external.js +16 -0
- package/node_modules/zod/v4/mini/in-out.cjs +82 -0
- package/node_modules/zod/v4/mini/in-out.d.cts +8 -0
- package/node_modules/zod/v4/mini/in-out.d.ts +8 -0
- package/node_modules/zod/v4/mini/in-out.js +36 -0
- package/node_modules/zod/v4/mini/index.cjs +51 -0
- package/node_modules/zod/v4/mini/index.d.cts +3 -0
- package/node_modules/zod/v4/mini/index.d.ts +3 -0
- package/node_modules/zod/v4/mini/index.js +3 -0
- package/node_modules/zod/v4/mini/iso.cjs +83 -0
- package/node_modules/zod/v4/mini/iso.d.cts +22 -0
- package/node_modules/zod/v4/mini/iso.d.ts +22 -0
- package/node_modules/zod/v4/mini/iso.js +34 -0
- package/node_modules/zod/v4/mini/package.json +7 -0
- package/node_modules/zod/v4/mini/parse.cjs +37 -0
- package/node_modules/zod/v4/mini/parse.d.cts +1 -0
- package/node_modules/zod/v4/mini/parse.d.ts +1 -0
- package/node_modules/zod/v4/mini/parse.js +1 -0
- package/node_modules/zod/v4/mini/schemas.cjs +1147 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +480 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +480 -0
- package/node_modules/zod/v4/mini/schemas.js +1002 -0
- package/node_modules/zod/v4/package.json +7 -0
- package/node_modules/zod/v4-mini/index.cjs +51 -0
- package/node_modules/zod/v4-mini/index.d.cts +3 -0
- package/node_modules/zod/v4-mini/index.d.ts +3 -0
- package/node_modules/zod/v4-mini/index.js +3 -0
- package/node_modules/zod/v4-mini/package.json +7 -0
- package/package.json +41 -4
- package/README.md +0 -3
|
@@ -0,0 +1,2744 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ACTIVITY_POLL_MS,
|
|
3
|
+
coarseStateLabel,
|
|
4
|
+
formatActivityLabel,
|
|
5
|
+
formatApprovedMetadataChips,
|
|
6
|
+
isActionReviewable,
|
|
7
|
+
prepareProgressTimeline
|
|
8
|
+
} from "./activity-present.js";
|
|
9
|
+
import {
|
|
10
|
+
buildHomeModel,
|
|
11
|
+
formatProviderDisplayName,
|
|
12
|
+
homeHtmlContainsForbiddenTech,
|
|
13
|
+
mapRuntimeConnectionLabel,
|
|
14
|
+
normalizeControlCenterView,
|
|
15
|
+
personDisplayName
|
|
16
|
+
} from "./home-present.js";
|
|
17
|
+
import {
|
|
18
|
+
buildInviteShareModel,
|
|
19
|
+
buildPeopleListModel,
|
|
20
|
+
buildPersonDetailModel,
|
|
21
|
+
findPeerBySelection,
|
|
22
|
+
humanizeJoinError,
|
|
23
|
+
humanizePermissionError,
|
|
24
|
+
humanizeRemoveError,
|
|
25
|
+
isAllowSessionForbidden,
|
|
26
|
+
isActiveCollaborator,
|
|
27
|
+
peopleHtmlContainsForbiddenTech
|
|
28
|
+
} from "./people-present.js";
|
|
29
|
+
import {
|
|
30
|
+
buildHistoryCardModel,
|
|
31
|
+
buildHistoryDetailSections,
|
|
32
|
+
buildHistoryEmptyCopy,
|
|
33
|
+
findHistoryItem,
|
|
34
|
+
groupHistoryItems,
|
|
35
|
+
historyCategoryFilter,
|
|
36
|
+
historyHtmlContainsForbiddenTech,
|
|
37
|
+
mergeHistoryItems,
|
|
38
|
+
sanitizeHistoryCardModel,
|
|
39
|
+
sanitizeHistoryDetailSections
|
|
40
|
+
} from "./history-present.js";
|
|
41
|
+
import {
|
|
42
|
+
buildLiveCardModel,
|
|
43
|
+
buildLiveEmptyCopy,
|
|
44
|
+
buildNeedsYouCardModel,
|
|
45
|
+
capabilityApprovalCopy,
|
|
46
|
+
findWorkItem,
|
|
47
|
+
humanizeDecisionError,
|
|
48
|
+
humanizeDecisionSuccess,
|
|
49
|
+
liveHtmlContainsForbiddenTech,
|
|
50
|
+
mergeLiveWorkItems,
|
|
51
|
+
mergeNeedsYouItems,
|
|
52
|
+
resolveLivePollIntervalMs,
|
|
53
|
+
workItemKey
|
|
54
|
+
} from "./live-present.js";
|
|
55
|
+
import { buildSettingsModel, settingsHtmlContainsForbiddenTech } from "./settings-present.js";
|
|
56
|
+
|
|
57
|
+
const API_PREFIX = "/control/v1";
|
|
58
|
+
|
|
59
|
+
const PAGE_COPY = {
|
|
60
|
+
home: { title: "Home", subtitle: "Your collaboration overview" },
|
|
61
|
+
people: {
|
|
62
|
+
title: "People",
|
|
63
|
+
subtitle: "Who you're connected to"
|
|
64
|
+
},
|
|
65
|
+
live: { title: "Live", subtitle: "Work in progress" },
|
|
66
|
+
"needs-you": { title: "Needs you", subtitle: "Approvals and decisions" },
|
|
67
|
+
history: { title: "History", subtitle: "Past collaboration" },
|
|
68
|
+
settings: { title: "Settings", subtitle: "Agent, connection, and diagnostics" }
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
const state = {
|
|
72
|
+
token: "",
|
|
73
|
+
baseUrl: "",
|
|
74
|
+
view: "home",
|
|
75
|
+
actions: [],
|
|
76
|
+
workItems: [],
|
|
77
|
+
peers: [],
|
|
78
|
+
pendingPermissions: [],
|
|
79
|
+
pendingInputs: [],
|
|
80
|
+
collaborativeTasks: [],
|
|
81
|
+
activeInspections: [],
|
|
82
|
+
homeModel: null,
|
|
83
|
+
selectedKind: null, // action | inspection | permission | collaborative_task | input_request
|
|
84
|
+
selectedId: null,
|
|
85
|
+
selectedWork: null,
|
|
86
|
+
selectedAction: null, // legacy alias for action detail / poll helpers
|
|
87
|
+
selectedPersonId: null,
|
|
88
|
+
peoplePanel: "list", // list | connect | remove
|
|
89
|
+
inviteShare: null,
|
|
90
|
+
permissionBusy: null,
|
|
91
|
+
deciding: false,
|
|
92
|
+
historyFilter: "all",
|
|
93
|
+
status: null,
|
|
94
|
+
relayStatus: null,
|
|
95
|
+
notify: null,
|
|
96
|
+
settingsModel: null,
|
|
97
|
+
settingsPanel: "main", // main | leave-confirm
|
|
98
|
+
pollTimer: null,
|
|
99
|
+
loadError: null,
|
|
100
|
+
loadingHome: false,
|
|
101
|
+
loadingSettings: false,
|
|
102
|
+
leavingSession: false
|
|
103
|
+
};
|
|
104
|
+
|
|
105
|
+
const appEl = document.getElementById("app");
|
|
106
|
+
const authGate = document.getElementById("auth-gate");
|
|
107
|
+
const actionList = document.getElementById("action-list");
|
|
108
|
+
const listMeta = document.getElementById("list-meta");
|
|
109
|
+
const detailPanel = document.getElementById("detail-panel");
|
|
110
|
+
const detailContent = document.getElementById("detail-content");
|
|
111
|
+
const layoutEl = document.querySelector(".layout");
|
|
112
|
+
const notifyBanner = document.getElementById("notify-banner");
|
|
113
|
+
const notifyHeadline = document.getElementById("notify-headline");
|
|
114
|
+
const notifyBody = document.getElementById("notify-body");
|
|
115
|
+
const notifyPrimary = document.getElementById("notify-primary");
|
|
116
|
+
const notifyDismiss = document.getElementById("notify-dismiss");
|
|
117
|
+
const pageTitle = document.getElementById("page-title");
|
|
118
|
+
const pageSubtitle = document.getElementById("page-subtitle");
|
|
119
|
+
const providerBadge = document.getElementById("provider-badge");
|
|
120
|
+
const shellConnection = document.getElementById("shell-connection");
|
|
121
|
+
const viewFlash = document.getElementById("view-flash");
|
|
122
|
+
const viewHome = document.getElementById("view-home");
|
|
123
|
+
const viewPeople = document.getElementById("view-people");
|
|
124
|
+
const viewSettings = document.getElementById("view-settings");
|
|
125
|
+
const viewWork = document.getElementById("view-work");
|
|
126
|
+
|
|
127
|
+
function isWorkView(view) {
|
|
128
|
+
return view === "live" || view === "needs-you" || view === "history";
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
function bootstrapDeepLink() {
|
|
132
|
+
const hash = window.location.hash.replace(/^#/, "");
|
|
133
|
+
const params = new URLSearchParams(hash);
|
|
134
|
+
const fromCode = params.get("code");
|
|
135
|
+
const fromHashToken = params.get("token");
|
|
136
|
+
const actionId = params.get("action");
|
|
137
|
+
const view = params.get("view");
|
|
138
|
+
if (fromCode) {
|
|
139
|
+
sessionStorage.setItem("pairmeshControlExchangeCode", fromCode);
|
|
140
|
+
}
|
|
141
|
+
// Legacy deep-links still accepted once for migration; prefer exchange code.
|
|
142
|
+
if (fromHashToken && !fromCode) {
|
|
143
|
+
sessionStorage.setItem("pairmeshControlToken", fromHashToken);
|
|
144
|
+
}
|
|
145
|
+
if (actionId) {
|
|
146
|
+
sessionStorage.setItem("pairmeshDeepLinkAction", actionId);
|
|
147
|
+
}
|
|
148
|
+
if (view) {
|
|
149
|
+
sessionStorage.setItem("pairmeshDeepLinkView", normalizeControlCenterView(view));
|
|
150
|
+
}
|
|
151
|
+
const person = params.get("person");
|
|
152
|
+
if (person) {
|
|
153
|
+
sessionStorage.setItem("arokoSelectedPerson", person);
|
|
154
|
+
}
|
|
155
|
+
// Strip secrets from URL immediately — keep only optional view/person.
|
|
156
|
+
if (fromCode || fromHashToken || actionId || view || person) {
|
|
157
|
+
const safeView = view ? normalizeControlCenterView(view) : null;
|
|
158
|
+
const keep = new URLSearchParams();
|
|
159
|
+
if (safeView) keep.set("view", safeView);
|
|
160
|
+
if (person && (!safeView || safeView === "people")) keep.set("person", person);
|
|
161
|
+
const nextHash = keep.toString() ? `#${keep.toString()}` : "";
|
|
162
|
+
history.replaceState(null, "", `${window.location.pathname}${nextHash}`);
|
|
163
|
+
}
|
|
164
|
+
return sessionStorage.getItem("pairmeshControlToken") ?? "";
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
async function redeemExchangeCodeIfNeeded() {
|
|
168
|
+
const code = sessionStorage.getItem("pairmeshControlExchangeCode");
|
|
169
|
+
if (!code) {
|
|
170
|
+
return;
|
|
171
|
+
}
|
|
172
|
+
sessionStorage.removeItem("pairmeshControlExchangeCode");
|
|
173
|
+
try {
|
|
174
|
+
const response = await fetch(`${state.baseUrl}/control/v1/auth/exchange`, {
|
|
175
|
+
method: "POST",
|
|
176
|
+
headers: { "Content-Type": "application/json" },
|
|
177
|
+
body: JSON.stringify({ code })
|
|
178
|
+
});
|
|
179
|
+
const text = await response.text();
|
|
180
|
+
let body;
|
|
181
|
+
try {
|
|
182
|
+
body = text ? JSON.parse(text) : undefined;
|
|
183
|
+
} catch {
|
|
184
|
+
body = undefined;
|
|
185
|
+
}
|
|
186
|
+
if (!response.ok || !body?.controlToken) {
|
|
187
|
+
throw new Error(body?.error || "Exchange failed");
|
|
188
|
+
}
|
|
189
|
+
const token = normalizeControlToken(body.controlToken);
|
|
190
|
+
sessionStorage.setItem("pairmeshControlToken", token);
|
|
191
|
+
state.token = token;
|
|
192
|
+
} catch (error) {
|
|
193
|
+
sessionStorage.removeItem("pairmeshControlToken");
|
|
194
|
+
state.token = "";
|
|
195
|
+
throw error;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
function persistViewInUrl(view, personId) {
|
|
200
|
+
const params = new URLSearchParams();
|
|
201
|
+
params.set("view", view);
|
|
202
|
+
if (personId && view === "people") {
|
|
203
|
+
params.set("person", personId);
|
|
204
|
+
}
|
|
205
|
+
const nextHash = `#${params.toString()}`;
|
|
206
|
+
if (window.location.hash !== nextHash) {
|
|
207
|
+
history.replaceState(null, "", `${window.location.pathname}${nextHash}`);
|
|
208
|
+
}
|
|
209
|
+
sessionStorage.setItem("arokoControlView", view);
|
|
210
|
+
if (personId && view === "people") {
|
|
211
|
+
sessionStorage.setItem("arokoSelectedPerson", personId);
|
|
212
|
+
} else if (view !== "people") {
|
|
213
|
+
sessionStorage.removeItem("arokoSelectedPerson");
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
function showAuth(errorMessage) {
|
|
218
|
+
authGate.classList.remove("hidden");
|
|
219
|
+
appEl.classList.add("hidden");
|
|
220
|
+
const err = document.getElementById("auth-error");
|
|
221
|
+
const input = document.getElementById("token-input");
|
|
222
|
+
if (input && state.token && !input.value) {
|
|
223
|
+
input.value = state.token;
|
|
224
|
+
}
|
|
225
|
+
if (errorMessage) {
|
|
226
|
+
err.textContent = errorMessage;
|
|
227
|
+
err.classList.remove("hidden");
|
|
228
|
+
} else {
|
|
229
|
+
err.classList.add("hidden");
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
function showApp() {
|
|
234
|
+
authGate.classList.add("hidden");
|
|
235
|
+
appEl.classList.remove("hidden");
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
function normalizeControlToken(raw) {
|
|
239
|
+
let token = String(raw ?? "").trim();
|
|
240
|
+
if (/^Bearer\s+/i.test(token)) {
|
|
241
|
+
token = token.replace(/^Bearer\s+/i, "").trim();
|
|
242
|
+
}
|
|
243
|
+
return token;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
async function api(path, options = {}) {
|
|
247
|
+
const response = await fetch(`${state.baseUrl}${path}`, {
|
|
248
|
+
...options,
|
|
249
|
+
headers: {
|
|
250
|
+
Authorization: `Bearer ${state.token}`,
|
|
251
|
+
...(options.body ? { "Content-Type": "application/json" } : {}),
|
|
252
|
+
...(options.headers ?? {})
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
const text = await response.text();
|
|
256
|
+
let body;
|
|
257
|
+
try {
|
|
258
|
+
body = text ? JSON.parse(text) : undefined;
|
|
259
|
+
} catch {
|
|
260
|
+
body = { error: text };
|
|
261
|
+
}
|
|
262
|
+
if (!response.ok) {
|
|
263
|
+
throw new Error(
|
|
264
|
+
body?.error ? JSON.stringify(body.error) : `Request failed (${response.status})`
|
|
265
|
+
);
|
|
266
|
+
}
|
|
267
|
+
return body;
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
function formatAge(iso) {
|
|
271
|
+
if (!iso) return "";
|
|
272
|
+
const ms = Date.now() - new Date(iso).getTime();
|
|
273
|
+
if (!Number.isFinite(ms) || ms < 0) return "";
|
|
274
|
+
if (ms < 60_000) return `${Math.max(1, Math.round(ms / 1000))}s ago`;
|
|
275
|
+
if (ms < 3_600_000) return `${Math.round(ms / 60_000)}m ago`;
|
|
276
|
+
return `${Math.round(ms / 3_600_000)}h ago`;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
function escapeHtml(value) {
|
|
280
|
+
return String(value)
|
|
281
|
+
.replace(/&/g, "&")
|
|
282
|
+
.replace(/</g, "<")
|
|
283
|
+
.replace(/>/g, ">")
|
|
284
|
+
.replace(/"/g, """);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
function setFlash(message, tone = "info") {
|
|
288
|
+
if (!message) {
|
|
289
|
+
viewFlash.classList.add("hidden");
|
|
290
|
+
viewFlash.textContent = "";
|
|
291
|
+
return;
|
|
292
|
+
}
|
|
293
|
+
viewFlash.textContent = message;
|
|
294
|
+
viewFlash.dataset.tone = tone;
|
|
295
|
+
viewFlash.classList.remove("hidden");
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
function clearFlash() {
|
|
299
|
+
setFlash("");
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
function statusBadge(status) {
|
|
303
|
+
const cls =
|
|
304
|
+
status === "approval_required"
|
|
305
|
+
? "pending"
|
|
306
|
+
: status === "executing" || status === "approved"
|
|
307
|
+
? "executing"
|
|
308
|
+
: status === "completed"
|
|
309
|
+
? "completed"
|
|
310
|
+
: ["failed", "denied", "cancelled", "expired"].includes(status)
|
|
311
|
+
? status
|
|
312
|
+
: "executing";
|
|
313
|
+
const label =
|
|
314
|
+
status === "approval_required"
|
|
315
|
+
? "needs approval"
|
|
316
|
+
: String(status ?? "").replace(/_/g, " ") || "unknown";
|
|
317
|
+
return `<span class="badge ${cls}">${escapeHtml(label)}</span>`;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
function peerLabel(action) {
|
|
321
|
+
const peer = action.peer;
|
|
322
|
+
if (!peer) return "Someone";
|
|
323
|
+
const service = peer.service ? ` · ${peer.service}` : "";
|
|
324
|
+
return `${peer.displayName}${service}`;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
function workListLabel(view) {
|
|
328
|
+
if (view === "needs-you") return "Needs your attention";
|
|
329
|
+
if (view === "live") return "In progress";
|
|
330
|
+
return "Recent completed";
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
function updateShellChrome() {
|
|
334
|
+
const copy = PAGE_COPY[state.view] ?? PAGE_COPY.home;
|
|
335
|
+
pageTitle.textContent = copy.title;
|
|
336
|
+
pageSubtitle.textContent = copy.subtitle;
|
|
337
|
+
|
|
338
|
+
const connection = mapRuntimeConnectionLabel(state.status, state.relayStatus);
|
|
339
|
+
shellConnection.textContent = connection.label;
|
|
340
|
+
shellConnection.dataset.tone = connection.tone;
|
|
341
|
+
|
|
342
|
+
const provider = formatProviderDisplayName(state.status?.codingAgent?.provider);
|
|
343
|
+
providerBadge.textContent = provider ? `Your agent · ${provider}` : "Your agent · not configured";
|
|
344
|
+
|
|
345
|
+
document.querySelectorAll(".nav-item[data-view]").forEach((btn) => {
|
|
346
|
+
const view = btn.getAttribute("data-view");
|
|
347
|
+
const active = view === state.view;
|
|
348
|
+
btn.classList.toggle("active", active);
|
|
349
|
+
if (active) {
|
|
350
|
+
btn.setAttribute("aria-current", "page");
|
|
351
|
+
} else {
|
|
352
|
+
btn.removeAttribute("aria-current");
|
|
353
|
+
}
|
|
354
|
+
});
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
function showPanelForView(view) {
|
|
358
|
+
viewHome.hidden = view !== "home";
|
|
359
|
+
viewPeople.hidden = view !== "people";
|
|
360
|
+
viewSettings.hidden = view !== "settings";
|
|
361
|
+
viewWork.hidden = !isWorkView(view);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
async function setView(view, options = {}) {
|
|
365
|
+
const next = normalizeControlCenterView(view);
|
|
366
|
+
state.view = next;
|
|
367
|
+
if (options.personId) {
|
|
368
|
+
state.selectedPersonId = options.personId;
|
|
369
|
+
}
|
|
370
|
+
if (next !== "people") {
|
|
371
|
+
state.peoplePanel = "list";
|
|
372
|
+
state.inviteShare = null;
|
|
373
|
+
} else if (options.connect) {
|
|
374
|
+
state.peoplePanel = "connect";
|
|
375
|
+
} else if (options.personId || state.selectedPersonId) {
|
|
376
|
+
state.peoplePanel = "list";
|
|
377
|
+
}
|
|
378
|
+
if (next !== "settings") {
|
|
379
|
+
state.settingsPanel = "main";
|
|
380
|
+
}
|
|
381
|
+
if (!options.skipUrl) {
|
|
382
|
+
persistViewInUrl(next, next === "people" ? state.selectedPersonId : null);
|
|
383
|
+
}
|
|
384
|
+
if (!options.keepDetail && !options.selectActionId && !options.selectWorkId) {
|
|
385
|
+
closeDetail();
|
|
386
|
+
}
|
|
387
|
+
updateShellChrome();
|
|
388
|
+
showPanelForView(next);
|
|
389
|
+
clearFlash();
|
|
390
|
+
|
|
391
|
+
try {
|
|
392
|
+
if (next === "home") {
|
|
393
|
+
await loadHome();
|
|
394
|
+
renderHome();
|
|
395
|
+
} else if (next === "people") {
|
|
396
|
+
await loadPeers();
|
|
397
|
+
renderPeople();
|
|
398
|
+
} else if (next === "settings") {
|
|
399
|
+
await loadSettings();
|
|
400
|
+
renderSettings();
|
|
401
|
+
} else if (isWorkView(next)) {
|
|
402
|
+
await loadWorkFeed();
|
|
403
|
+
renderList();
|
|
404
|
+
const selectKind = options.selectWorkKind ?? (options.selectActionId ? "action" : null);
|
|
405
|
+
const selectId = options.selectWorkId ?? options.selectActionId ?? null;
|
|
406
|
+
if (selectKind && selectId) {
|
|
407
|
+
await selectWork(selectKind, selectId);
|
|
408
|
+
}
|
|
409
|
+
}
|
|
410
|
+
} catch (error) {
|
|
411
|
+
const message = error instanceof Error ? error.message : "Aroko couldn't refresh this view.";
|
|
412
|
+
setFlash(humanizeLoadError(message), "error");
|
|
413
|
+
} finally {
|
|
414
|
+
restartPolling();
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
function humanizeLoadError(raw) {
|
|
419
|
+
const text = String(raw ?? "");
|
|
420
|
+
if (text.includes("401") || /unauthorized/i.test(text)) {
|
|
421
|
+
return "Aroko couldn't authorize this view. Open again with aroko open, or paste a fresh control token.";
|
|
422
|
+
}
|
|
423
|
+
if (/failed to fetch|networkerror|load failed/i.test(text)) {
|
|
424
|
+
return "Aroko couldn't reach the local runtime. Check that aroko start is running, then try again.";
|
|
425
|
+
}
|
|
426
|
+
return "Aroko couldn't refresh this view. Check that the local runtime is running, then try again.";
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
async function loadStatus() {
|
|
430
|
+
state.status = await api(`${API_PREFIX}/status`);
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
async function loadRelayStatus() {
|
|
434
|
+
try {
|
|
435
|
+
state.relayStatus = await api(`${API_PREFIX}/relay`);
|
|
436
|
+
} catch {
|
|
437
|
+
state.relayStatus = null;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
async function loadNotificationStatus() {
|
|
442
|
+
try {
|
|
443
|
+
state.notify = await api(`${API_PREFIX}/notifications/status`);
|
|
444
|
+
renderNotifyBanner();
|
|
445
|
+
} catch {
|
|
446
|
+
notifyBanner.classList.add("hidden");
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
async function loadPeers() {
|
|
451
|
+
const data = await api(`${API_PREFIX}/peers`);
|
|
452
|
+
state.peers = data.peers ?? [];
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
async function loadPendingPermissions() {
|
|
456
|
+
try {
|
|
457
|
+
const data = await api(`${API_PREFIX}/permissions`);
|
|
458
|
+
state.pendingPermissions = data.pending ?? [];
|
|
459
|
+
} catch {
|
|
460
|
+
state.pendingPermissions = [];
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
async function loadActiveInspections() {
|
|
465
|
+
try {
|
|
466
|
+
const data = await api(`${API_PREFIX}/inspections?filter=active&limit=20`);
|
|
467
|
+
state.activeInspections = data.inspections ?? [];
|
|
468
|
+
} catch {
|
|
469
|
+
state.activeInspections = [];
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
async function loadSettings() {
|
|
474
|
+
state.loadingSettings = true;
|
|
475
|
+
try {
|
|
476
|
+
await Promise.all([
|
|
477
|
+
loadRelayStatus(),
|
|
478
|
+
loadNotificationStatus().catch(() => undefined),
|
|
479
|
+
loadPeers().catch(() => {
|
|
480
|
+
state.peers = [];
|
|
481
|
+
})
|
|
482
|
+
]);
|
|
483
|
+
const activePeerCount = state.peers.filter(
|
|
484
|
+
(peer) => peer?.relationship === "paired" || (!peer?.relationship && peer?.participantId)
|
|
485
|
+
).length;
|
|
486
|
+
state.settingsModel = buildSettingsModel({
|
|
487
|
+
status: state.status,
|
|
488
|
+
relay: state.relayStatus,
|
|
489
|
+
notify: state.notify,
|
|
490
|
+
peerCount: activePeerCount
|
|
491
|
+
});
|
|
492
|
+
} finally {
|
|
493
|
+
state.loadingSettings = false;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
async function loadHome() {
|
|
498
|
+
state.loadingHome = true;
|
|
499
|
+
try {
|
|
500
|
+
const [pending, active, tasksRes, inputsRes] = await Promise.all([
|
|
501
|
+
api(`${API_PREFIX}/actions?filter=pending&limit=20`).catch(() => ({ actions: [] })),
|
|
502
|
+
api(`${API_PREFIX}/actions?filter=active&limit=20`).catch(() => ({ actions: [] })),
|
|
503
|
+
api(`${API_PREFIX}/tasks?filter=active&limit=20`).catch(() => ({ tasks: [] })),
|
|
504
|
+
api(`${API_PREFIX}/tasks/pending-inputs`).catch(() => ({ inputs: [] }))
|
|
505
|
+
]);
|
|
506
|
+
await Promise.all([
|
|
507
|
+
loadPeers().catch(() => {
|
|
508
|
+
state.peers = [];
|
|
509
|
+
}),
|
|
510
|
+
loadActiveInspections(),
|
|
511
|
+
loadPendingPermissions()
|
|
512
|
+
]);
|
|
513
|
+
state.collaborativeTasks = tasksRes.tasks ?? [];
|
|
514
|
+
state.pendingInputs = inputsRes.inputs ?? [];
|
|
515
|
+
state.homeModel = buildHomeModel({
|
|
516
|
+
status: state.status,
|
|
517
|
+
relay: state.relayStatus,
|
|
518
|
+
peers: state.peers,
|
|
519
|
+
activeActions: active.actions ?? [],
|
|
520
|
+
activeInspections: state.activeInspections,
|
|
521
|
+
activeTasks: state.collaborativeTasks,
|
|
522
|
+
pendingActions: pending.actions ?? [],
|
|
523
|
+
pendingPermissions: state.pendingPermissions,
|
|
524
|
+
pendingInputs: state.pendingInputs
|
|
525
|
+
});
|
|
526
|
+
state.loadError = null;
|
|
527
|
+
} finally {
|
|
528
|
+
state.loadingHome = false;
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
function renderHome() {
|
|
533
|
+
if (state.loadingHome && !state.homeModel) {
|
|
534
|
+
viewHome.innerHTML = `<div class="state-block" data-tone="loading">Loading your overview…</div>`;
|
|
535
|
+
return;
|
|
536
|
+
}
|
|
537
|
+
if (!state.homeModel) {
|
|
538
|
+
viewHome.innerHTML = `<div class="state-block" data-tone="error">Aroko couldn't load Home.</div>`;
|
|
539
|
+
return;
|
|
540
|
+
}
|
|
541
|
+
const model = state.homeModel;
|
|
542
|
+
const agent = model.yourAgent;
|
|
543
|
+
const agentMeta = [agent.agentName, agent.projectLabel].filter(Boolean).join(" · ");
|
|
544
|
+
|
|
545
|
+
const peopleHtml = model.emptyPeople
|
|
546
|
+
? `<div class="empty-state">
|
|
547
|
+
<p>Connect with someone to let your agents work together.</p>
|
|
548
|
+
<button type="button" class="primary-btn" data-go="people" data-connect="1" style="margin-top:0.75rem">Connect someone</button>
|
|
549
|
+
</div>`
|
|
550
|
+
: `<ul class="people-list">${model.people
|
|
551
|
+
.map(
|
|
552
|
+
(person) => `
|
|
553
|
+
<li class="interactive" tabindex="0" data-go="people" data-person="${escapeHtml(person.participantId)}">
|
|
554
|
+
<div>
|
|
555
|
+
<p class="name">${escapeHtml(person.name)}</p>
|
|
556
|
+
<p class="meta">${escapeHtml(person.meta)}${person.service ? ` · ${escapeHtml(person.service)}` : ""}</p>
|
|
557
|
+
</div>
|
|
558
|
+
<span class="status-pill" data-tone="${escapeHtml(person.connection.tone)}">${escapeHtml(person.connection.label)}</span>
|
|
559
|
+
</li>`
|
|
560
|
+
)
|
|
561
|
+
.join("")}</ul>
|
|
562
|
+
<div class="home-people-actions">
|
|
563
|
+
<button type="button" class="ghost-btn" data-go="people" data-connect="1">Connect someone</button>
|
|
564
|
+
</div>`;
|
|
565
|
+
|
|
566
|
+
const activeHtml = model.emptyActive
|
|
567
|
+
? `<div class="empty-state">Nothing is running right now.</div>`
|
|
568
|
+
: `<ul class="overview-list">${model.active
|
|
569
|
+
.map((item) => {
|
|
570
|
+
const interactive = Boolean(
|
|
571
|
+
item.id &&
|
|
572
|
+
(item.kind === "action" ||
|
|
573
|
+
item.kind === "inspection" ||
|
|
574
|
+
item.kind === "collaborative_task")
|
|
575
|
+
);
|
|
576
|
+
const attrs = interactive
|
|
577
|
+
? `tabindex="0" data-go="live" data-work-kind="${escapeHtml(item.kind)}" data-work-id="${escapeHtml(item.id)}"`
|
|
578
|
+
: "";
|
|
579
|
+
return `
|
|
580
|
+
<li class="${interactive ? "interactive" : ""}" ${attrs}>
|
|
581
|
+
<div>
|
|
582
|
+
<p class="title">${escapeHtml(item.title)}</p>
|
|
583
|
+
<p class="subtitle">${escapeHtml(item.subtitle)}</p>
|
|
584
|
+
</div>
|
|
585
|
+
</li>`;
|
|
586
|
+
})
|
|
587
|
+
.join("")}</ul>`;
|
|
588
|
+
|
|
589
|
+
const needsHtml = model.emptyNeedsYou
|
|
590
|
+
? `<div class="empty-state">You're all caught up.</div>`
|
|
591
|
+
: `<ul class="overview-list">${model.needsYou
|
|
592
|
+
.map((item) => {
|
|
593
|
+
const interactive = Boolean(
|
|
594
|
+
item.id &&
|
|
595
|
+
(item.kind === "action" || item.kind === "permission" || item.kind === "input_request")
|
|
596
|
+
);
|
|
597
|
+
const attrs = interactive
|
|
598
|
+
? `tabindex="0" data-go="needs-you" data-work-kind="${escapeHtml(item.kind)}" data-work-id="${escapeHtml(item.id)}"`
|
|
599
|
+
: `data-go="needs-you"`;
|
|
600
|
+
return `
|
|
601
|
+
<li class="${interactive ? "interactive" : ""}" ${attrs}>
|
|
602
|
+
<div>
|
|
603
|
+
<p class="title">${escapeHtml(item.title)}</p>
|
|
604
|
+
<p class="subtitle">${escapeHtml(item.subtitle)}</p>
|
|
605
|
+
</div>
|
|
606
|
+
${interactive ? `<span class="subtle">${escapeHtml(item.cta ?? (item.kind === "input_request" ? "Answer" : "Review"))}</span>` : ""}
|
|
607
|
+
</li>`;
|
|
608
|
+
})
|
|
609
|
+
.join("")}</ul>`;
|
|
610
|
+
|
|
611
|
+
const detailLine = model.connection.detail
|
|
612
|
+
? `<p class="subtle">${escapeHtml(model.connection.detail)}</p>`
|
|
613
|
+
: `<p class="subtle">Calm overview of who you're connected to and what needs attention.</p>`;
|
|
614
|
+
|
|
615
|
+
const onboarding = model.onboarding?.show
|
|
616
|
+
? `<section class="home-card home-onboarding home-span-2" data-tone="${escapeHtml(model.onboarding.tone ?? "ok")}">
|
|
617
|
+
<h2>${escapeHtml(model.onboarding.headline ?? "Getting started")}</h2>
|
|
618
|
+
<p class="subtle">${escapeHtml(model.onboarding.body ?? "")}</p>
|
|
619
|
+
${model.onboarding.cliHint ? `<p class="settings-cli-hint"><code>${escapeHtml(model.onboarding.cliHint)}</code></p>` : ""}
|
|
620
|
+
${model.onboarding.cta ? `<button type="button" class="primary-btn" data-go="people" data-connect="1" style="margin-top:0.75rem">${escapeHtml(model.onboarding.cta)}</button>` : ""}
|
|
621
|
+
</section>`
|
|
622
|
+
: "";
|
|
623
|
+
|
|
624
|
+
const html = `
|
|
625
|
+
<div class="home-grid">
|
|
626
|
+
${onboarding}
|
|
627
|
+
<section class="home-card home-hero ${onboarding ? "" : "home-span-2"}">
|
|
628
|
+
<span class="status-pill" data-tone="${escapeHtml(model.connection.tone)}">${escapeHtml(model.connection.label)}</span>
|
|
629
|
+
${detailLine}
|
|
630
|
+
</section>
|
|
631
|
+
<section class="home-card">
|
|
632
|
+
<h2>Your agent</h2>
|
|
633
|
+
<ul class="agent-lines">
|
|
634
|
+
<li class="provider">${escapeHtml(agent.provider)}</li>
|
|
635
|
+
${agentMeta ? `<li class="meta">${escapeHtml(agentMeta)}</li>` : `<li class="meta">Project not set</li>`}
|
|
636
|
+
</ul>
|
|
637
|
+
</section>
|
|
638
|
+
<section class="home-card">
|
|
639
|
+
<h2>People</h2>
|
|
640
|
+
${peopleHtml}
|
|
641
|
+
</section>
|
|
642
|
+
<section class="home-card">
|
|
643
|
+
<h2>Active</h2>
|
|
644
|
+
${activeHtml}
|
|
645
|
+
</section>
|
|
646
|
+
<section class="home-card">
|
|
647
|
+
<h2>Needs you</h2>
|
|
648
|
+
${needsHtml}
|
|
649
|
+
</section>
|
|
650
|
+
</div>`;
|
|
651
|
+
|
|
652
|
+
if (homeHtmlContainsForbiddenTech(html)) {
|
|
653
|
+
viewHome.innerHTML = `<div class="state-block" data-tone="error">Home refused to render technical connection details.</div>`;
|
|
654
|
+
return;
|
|
655
|
+
}
|
|
656
|
+
viewHome.innerHTML = html;
|
|
657
|
+
bindHomeInteractions(viewHome);
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
function bindHomeInteractions(root) {
|
|
661
|
+
root.querySelectorAll("[data-go]").forEach((el) => {
|
|
662
|
+
const activate = () => {
|
|
663
|
+
const go = el.getAttribute("data-go");
|
|
664
|
+
const workKind = el.getAttribute("data-work-kind");
|
|
665
|
+
const workId = el.getAttribute("data-work-id");
|
|
666
|
+
const actionId = el.getAttribute("data-action");
|
|
667
|
+
const personId = el.getAttribute("data-person");
|
|
668
|
+
const connect = el.getAttribute("data-connect") === "1";
|
|
669
|
+
if (!go) return;
|
|
670
|
+
if (workKind && workId) {
|
|
671
|
+
void setView(go, { selectWorkKind: workKind, selectWorkId: workId, keepDetail: true });
|
|
672
|
+
return;
|
|
673
|
+
}
|
|
674
|
+
if (actionId) {
|
|
675
|
+
void setView(go, {
|
|
676
|
+
selectWorkKind: "action",
|
|
677
|
+
selectWorkId: actionId,
|
|
678
|
+
keepDetail: true
|
|
679
|
+
});
|
|
680
|
+
return;
|
|
681
|
+
}
|
|
682
|
+
void setView(go, {
|
|
683
|
+
...(personId ? { personId } : {}),
|
|
684
|
+
...(connect ? { connect: true } : {})
|
|
685
|
+
});
|
|
686
|
+
};
|
|
687
|
+
el.addEventListener("click", activate);
|
|
688
|
+
el.addEventListener("keydown", (event) => {
|
|
689
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
690
|
+
event.preventDefault();
|
|
691
|
+
activate();
|
|
692
|
+
}
|
|
693
|
+
});
|
|
694
|
+
});
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
function renderPeople() {
|
|
698
|
+
const listModel = buildPeopleListModel(state.peers);
|
|
699
|
+
if (state.peoplePanel === "connect") {
|
|
700
|
+
viewPeople.innerHTML = renderConnectPanelHtml();
|
|
701
|
+
bindPeopleInteractions(viewPeople);
|
|
702
|
+
return;
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
const selected = findPeerBySelection(state.peers, state.selectedPersonId);
|
|
706
|
+
if (state.selectedPersonId && !selected) {
|
|
707
|
+
state.selectedPersonId = null;
|
|
708
|
+
}
|
|
709
|
+
if (!state.selectedPersonId && listModel.people[0]) {
|
|
710
|
+
// keep selection empty until user picks — show placeholder in detail
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
let detailHtml = "";
|
|
714
|
+
if (state.peoplePanel === "remove" && selected) {
|
|
715
|
+
detailHtml = renderRemoveConfirmHtml(selected);
|
|
716
|
+
} else if (selected && isActiveCollaborator(selected)) {
|
|
717
|
+
detailHtml = renderPersonDetailHtml(selected);
|
|
718
|
+
} else if (listModel.empty) {
|
|
719
|
+
detailHtml = "";
|
|
720
|
+
} else {
|
|
721
|
+
detailHtml = `<div class="empty-state">Select someone to see what they can ask your agent to do.</div>`;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
const listHtml = listModel.empty
|
|
725
|
+
? `<div class="empty-state">
|
|
726
|
+
<p>Your agents work better when they can reach the people you trust.</p>
|
|
727
|
+
<button type="button" class="primary-btn" data-people-connect="1" style="margin-top:0.75rem">Connect someone</button>
|
|
728
|
+
</div>`
|
|
729
|
+
: `<ul class="people-list people-master-list">${listModel.people
|
|
730
|
+
.map((person) => {
|
|
731
|
+
const selectedCls = person.participantId === state.selectedPersonId ? "selected" : "";
|
|
732
|
+
return `
|
|
733
|
+
<li class="interactive ${selectedCls}" tabindex="0" data-select-person="${escapeHtml(person.participantId)}">
|
|
734
|
+
<div>
|
|
735
|
+
<p class="name">${escapeHtml(person.name)}</p>
|
|
736
|
+
<p class="meta">${escapeHtml(person.agentLine)}${person.service ? ` · ${escapeHtml(person.service)}` : ""}</p>
|
|
737
|
+
<p class="meta">Can ask your agent: ${escapeHtml(person.permissionSummary)}</p>
|
|
738
|
+
</div>
|
|
739
|
+
<span class="status-pill" data-tone="${escapeHtml(person.connection.tone)}">${escapeHtml(person.connection.label)}</span>
|
|
740
|
+
</li>`;
|
|
741
|
+
})
|
|
742
|
+
.join("")}</ul>
|
|
743
|
+
<div class="home-people-actions">
|
|
744
|
+
<button type="button" class="primary-btn" data-people-connect="1">Connect someone</button>
|
|
745
|
+
</div>`;
|
|
746
|
+
|
|
747
|
+
const html = `
|
|
748
|
+
<div class="people-layout">
|
|
749
|
+
<section class="people-master home-card">
|
|
750
|
+
<div class="people-master-head">
|
|
751
|
+
<h2>People</h2>
|
|
752
|
+
</div>
|
|
753
|
+
${listHtml}
|
|
754
|
+
</section>
|
|
755
|
+
<section class="people-detail home-card" id="people-detail-root">
|
|
756
|
+
${detailHtml}
|
|
757
|
+
</section>
|
|
758
|
+
</div>`;
|
|
759
|
+
|
|
760
|
+
if (peopleHtmlContainsForbiddenTech(html)) {
|
|
761
|
+
viewPeople.innerHTML = `<div class="state-block" data-tone="error">People refused to render technical connection details.</div>`;
|
|
762
|
+
return;
|
|
763
|
+
}
|
|
764
|
+
viewPeople.innerHTML = html;
|
|
765
|
+
bindPeopleInteractions(viewPeople);
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
function renderPersonDetailHtml(peer) {
|
|
769
|
+
const detail = buildPersonDetailModel(peer);
|
|
770
|
+
if (!detail) return "";
|
|
771
|
+
const service = detail.service ? ` · ${escapeHtml(detail.service)}` : "";
|
|
772
|
+
const permissionsHtml = detail.permissions
|
|
773
|
+
.map((cap) => {
|
|
774
|
+
const busy = state.permissionBusy === `${detail.peerRef}:${cap.id}`;
|
|
775
|
+
const options = cap.options
|
|
776
|
+
.map(
|
|
777
|
+
(opt) => `
|
|
778
|
+
<label class="policy-option">
|
|
779
|
+
<input
|
|
780
|
+
type="radio"
|
|
781
|
+
name="perm-${escapeHtml(cap.id)}"
|
|
782
|
+
value="${escapeHtml(opt.policy)}"
|
|
783
|
+
data-cap="${escapeHtml(cap.id)}"
|
|
784
|
+
data-peer="${escapeHtml(detail.peerRef)}"
|
|
785
|
+
${cap.policy === opt.policy ? "checked" : ""}
|
|
786
|
+
${busy ? "disabled" : ""}
|
|
787
|
+
/>
|
|
788
|
+
<span>${escapeHtml(opt.label)}</span>
|
|
789
|
+
</label>`
|
|
790
|
+
)
|
|
791
|
+
.join("");
|
|
792
|
+
return `
|
|
793
|
+
<fieldset class="perm-block" data-cap-block="${escapeHtml(cap.id)}">
|
|
794
|
+
<legend>${escapeHtml(cap.label)}</legend>
|
|
795
|
+
<p class="perm-helper subtle">${escapeHtml(cap.helper)}</p>
|
|
796
|
+
<div class="policy-group" role="radiogroup" aria-label="${escapeHtml(cap.label)}">
|
|
797
|
+
${options}
|
|
798
|
+
</div>
|
|
799
|
+
${busy ? `<p class="subtle" data-perm-status>Saving…</p>` : `<p class="subtle" data-perm-status></p>`}
|
|
800
|
+
</fieldset>`;
|
|
801
|
+
})
|
|
802
|
+
.join("");
|
|
803
|
+
|
|
804
|
+
return `
|
|
805
|
+
<div class="person-detail">
|
|
806
|
+
<header class="person-detail-head">
|
|
807
|
+
<h2>${escapeHtml(detail.name)}</h2>
|
|
808
|
+
<p class="subtle">
|
|
809
|
+
<span class="status-pill" data-tone="${escapeHtml(detail.connection.tone)}">${escapeHtml(detail.connection.label)}</span>
|
|
810
|
+
${service}
|
|
811
|
+
</p>
|
|
812
|
+
</header>
|
|
813
|
+
<section>
|
|
814
|
+
<h3>What ${escapeHtml(detail.name)} can ask your agent</h3>
|
|
815
|
+
${permissionsHtml}
|
|
816
|
+
</section>
|
|
817
|
+
<section class="detail-section">
|
|
818
|
+
<h3>What you can ask ${escapeHtml(detail.name)}'s agent</h3>
|
|
819
|
+
<p class="subtle">${escapeHtml(detail.reciprocalNote)}</p>
|
|
820
|
+
</section>
|
|
821
|
+
<section class="detail-section">
|
|
822
|
+
<h3>Connection</h3>
|
|
823
|
+
<p><span class="status-pill" data-tone="${escapeHtml(detail.connection.tone)}">${escapeHtml(detail.connection.label)}</span></p>
|
|
824
|
+
</section>
|
|
825
|
+
<div class="actions-row">
|
|
826
|
+
<button type="button" class="danger-btn" data-people-remove-start="1">${escapeHtml(detail.removeLabel)}</button>
|
|
827
|
+
</div>
|
|
828
|
+
</div>`;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
function renderRemoveConfirmHtml(peer) {
|
|
832
|
+
const name = personDisplayName(peer);
|
|
833
|
+
return `
|
|
834
|
+
<div class="confirm-panel" role="dialog" aria-modal="true" aria-labelledby="remove-title">
|
|
835
|
+
<h2 id="remove-title">Remove ${escapeHtml(name)}?</h2>
|
|
836
|
+
<p>${escapeHtml(name)} will no longer be connected to this Aroko session. Their credentials and grants on your side will be cleared. Collaboration history already stored locally may still remain.</p>
|
|
837
|
+
<div class="actions-row">
|
|
838
|
+
<button type="button" class="ghost-btn" data-people-remove-cancel="1">Cancel</button>
|
|
839
|
+
<button type="button" class="danger-btn" data-people-remove-confirm="1" data-peer="${escapeHtml(peer.peer)}">Remove ${escapeHtml(name)}</button>
|
|
840
|
+
</div>
|
|
841
|
+
</div>`;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
function renderConnectPanelHtml() {
|
|
845
|
+
const invite = state.inviteShare;
|
|
846
|
+
const inviteBlock = invite
|
|
847
|
+
? `<div class="invite-result">
|
|
848
|
+
<h3>Invite created</h3>
|
|
849
|
+
<p class="subtle">Send this invite to the person you want to connect with.</p>
|
|
850
|
+
<pre class="invite-value" id="invite-command-text">${escapeHtml(invite.joinCommand)}</pre>
|
|
851
|
+
<div class="actions-row">
|
|
852
|
+
<button type="button" class="primary-btn" data-copy-invite="1">Copy invite</button>
|
|
853
|
+
<button type="button" class="ghost-btn" data-clear-invite="1">Done</button>
|
|
854
|
+
</div>
|
|
855
|
+
<p class="subtle">This invite can be used once.${invite.expiresLabel ? ` Expires ${escapeHtml(invite.expiresLabel)}.` : ""}</p>
|
|
856
|
+
</div>`
|
|
857
|
+
: `<div class="actions-row">
|
|
858
|
+
<button type="button" class="primary-btn" data-create-invite="1">Create invite</button>
|
|
859
|
+
</div>`;
|
|
860
|
+
|
|
861
|
+
return `
|
|
862
|
+
<div class="connect-panel home-card">
|
|
863
|
+
<div class="people-master-head">
|
|
864
|
+
<h2>Connect someone</h2>
|
|
865
|
+
<button type="button" class="ghost-btn" data-people-back="1">← People</button>
|
|
866
|
+
</div>
|
|
867
|
+
<section class="detail-section">
|
|
868
|
+
<h3>Invite someone</h3>
|
|
869
|
+
<p class="subtle">Create an invite you can send to a teammate.</p>
|
|
870
|
+
${inviteBlock}
|
|
871
|
+
</section>
|
|
872
|
+
<section class="detail-section">
|
|
873
|
+
<h3>Have an invite?</h3>
|
|
874
|
+
<label class="field" for="join-invite-input">
|
|
875
|
+
<span>Paste invite</span>
|
|
876
|
+
<textarea id="join-invite-input" rows="3" placeholder="aroko join …" spellcheck="false"></textarea>
|
|
877
|
+
</label>
|
|
878
|
+
<div class="actions-row">
|
|
879
|
+
<button type="button" class="primary-btn" data-join-invite="1">Connect</button>
|
|
880
|
+
</div>
|
|
881
|
+
<p class="subtle" id="join-status" role="status"></p>
|
|
882
|
+
</section>
|
|
883
|
+
</div>`;
|
|
884
|
+
}
|
|
885
|
+
|
|
886
|
+
function bindPeopleInteractions(root) {
|
|
887
|
+
root.querySelectorAll("[data-select-person]").forEach((el) => {
|
|
888
|
+
const activate = () => {
|
|
889
|
+
state.selectedPersonId = el.getAttribute("data-select-person");
|
|
890
|
+
state.peoplePanel = "list";
|
|
891
|
+
persistViewInUrl("people", state.selectedPersonId);
|
|
892
|
+
renderPeople();
|
|
893
|
+
};
|
|
894
|
+
el.addEventListener("click", activate);
|
|
895
|
+
el.addEventListener("keydown", (event) => {
|
|
896
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
897
|
+
event.preventDefault();
|
|
898
|
+
activate();
|
|
899
|
+
}
|
|
900
|
+
});
|
|
901
|
+
});
|
|
902
|
+
|
|
903
|
+
root.querySelectorAll("[data-people-connect]").forEach((btn) => {
|
|
904
|
+
btn.addEventListener("click", () => {
|
|
905
|
+
state.peoplePanel = "connect";
|
|
906
|
+
state.inviteShare = null;
|
|
907
|
+
renderPeople();
|
|
908
|
+
});
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
root.querySelectorAll("[data-people-back]").forEach((btn) => {
|
|
912
|
+
btn.addEventListener("click", () => {
|
|
913
|
+
state.peoplePanel = "list";
|
|
914
|
+
state.inviteShare = null;
|
|
915
|
+
renderPeople();
|
|
916
|
+
});
|
|
917
|
+
});
|
|
918
|
+
|
|
919
|
+
root.querySelectorAll("[data-create-invite]").forEach((btn) => {
|
|
920
|
+
btn.addEventListener("click", () => {
|
|
921
|
+
void createInviteFlow(btn);
|
|
922
|
+
});
|
|
923
|
+
});
|
|
924
|
+
|
|
925
|
+
root.querySelectorAll("[data-copy-invite]").forEach((btn) => {
|
|
926
|
+
btn.addEventListener("click", async () => {
|
|
927
|
+
const text = state.inviteShare?.joinCommand ?? "";
|
|
928
|
+
try {
|
|
929
|
+
await navigator.clipboard.writeText(text);
|
|
930
|
+
setFlash(
|
|
931
|
+
"Invite copied. Send it to your teammate, then clear this screen when done.",
|
|
932
|
+
"info"
|
|
933
|
+
);
|
|
934
|
+
} catch {
|
|
935
|
+
setFlash(
|
|
936
|
+
"Could not copy automatically — select the invite text and copy it manually.",
|
|
937
|
+
"error"
|
|
938
|
+
);
|
|
939
|
+
}
|
|
940
|
+
});
|
|
941
|
+
});
|
|
942
|
+
|
|
943
|
+
root.querySelectorAll("[data-clear-invite]").forEach((btn) => {
|
|
944
|
+
btn.addEventListener("click", () => {
|
|
945
|
+
state.inviteShare = null;
|
|
946
|
+
state.peoplePanel = "list";
|
|
947
|
+
renderPeople();
|
|
948
|
+
});
|
|
949
|
+
});
|
|
950
|
+
|
|
951
|
+
root.querySelectorAll("[data-join-invite]").forEach((btn) => {
|
|
952
|
+
btn.addEventListener("click", () => {
|
|
953
|
+
void joinInviteFlow(btn);
|
|
954
|
+
});
|
|
955
|
+
});
|
|
956
|
+
|
|
957
|
+
root.querySelectorAll("[data-people-remove-start]").forEach((btn) => {
|
|
958
|
+
btn.addEventListener("click", () => {
|
|
959
|
+
state.peoplePanel = "remove";
|
|
960
|
+
renderPeople();
|
|
961
|
+
const confirmBtn = viewPeople.querySelector("[data-people-remove-confirm]");
|
|
962
|
+
confirmBtn?.focus();
|
|
963
|
+
});
|
|
964
|
+
});
|
|
965
|
+
|
|
966
|
+
root.querySelectorAll("[data-people-remove-cancel]").forEach((btn) => {
|
|
967
|
+
btn.addEventListener("click", () => {
|
|
968
|
+
state.peoplePanel = "list";
|
|
969
|
+
renderPeople();
|
|
970
|
+
});
|
|
971
|
+
});
|
|
972
|
+
|
|
973
|
+
if (state.peoplePanel === "remove") {
|
|
974
|
+
const onKey = (event) => {
|
|
975
|
+
if (event.key === "Escape") {
|
|
976
|
+
document.removeEventListener("keydown", onKey);
|
|
977
|
+
state.peoplePanel = "list";
|
|
978
|
+
renderPeople();
|
|
979
|
+
}
|
|
980
|
+
};
|
|
981
|
+
document.addEventListener("keydown", onKey);
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
root.querySelectorAll("[data-people-remove-confirm]").forEach((btn) => {
|
|
985
|
+
btn.addEventListener("click", () => {
|
|
986
|
+
void removePersonFlow(btn);
|
|
987
|
+
});
|
|
988
|
+
});
|
|
989
|
+
|
|
990
|
+
root.querySelectorAll('input[type="radio"][data-cap]').forEach((input) => {
|
|
991
|
+
input.addEventListener("change", () => {
|
|
992
|
+
if (!input.checked) return;
|
|
993
|
+
void savePermissionFlow(input);
|
|
994
|
+
});
|
|
995
|
+
});
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
async function createInviteFlow(button) {
|
|
999
|
+
button.disabled = true;
|
|
1000
|
+
button.textContent = "Creating…";
|
|
1001
|
+
try {
|
|
1002
|
+
const invite = await api(`${API_PREFIX}/invite`, { method: "POST", body: "{}" });
|
|
1003
|
+
state.inviteShare = buildInviteShareModel(invite);
|
|
1004
|
+
// Do not put invite secret in URL/history.
|
|
1005
|
+
renderPeople();
|
|
1006
|
+
setFlash("Invite created. Copy it and send it privately.", "info");
|
|
1007
|
+
} catch (error) {
|
|
1008
|
+
setFlash(humanizeLoadError(error instanceof Error ? error.message : String(error)), "error");
|
|
1009
|
+
button.disabled = false;
|
|
1010
|
+
button.textContent = "Create invite";
|
|
1011
|
+
}
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
async function joinInviteFlow(button) {
|
|
1015
|
+
const input = document.getElementById("join-invite-input");
|
|
1016
|
+
const statusEl = document.getElementById("join-status");
|
|
1017
|
+
const raw = String(input?.value ?? "").trim();
|
|
1018
|
+
if (!raw) {
|
|
1019
|
+
if (statusEl) statusEl.textContent = "Paste an invite first.";
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
button.disabled = true;
|
|
1023
|
+
button.textContent = "Connecting…";
|
|
1024
|
+
if (statusEl) statusEl.textContent = "Connecting…";
|
|
1025
|
+
try {
|
|
1026
|
+
await api(`${API_PREFIX}/join`, {
|
|
1027
|
+
method: "POST",
|
|
1028
|
+
body: JSON.stringify({ joinCommand: raw })
|
|
1029
|
+
});
|
|
1030
|
+
if (input) input.value = "";
|
|
1031
|
+
state.inviteShare = null;
|
|
1032
|
+
state.peoplePanel = "list";
|
|
1033
|
+
await loadPeers();
|
|
1034
|
+
await loadStatus();
|
|
1035
|
+
const newest = buildPeopleListModel(state.peers).people.at(-1);
|
|
1036
|
+
if (newest) {
|
|
1037
|
+
state.selectedPersonId = newest.participantId;
|
|
1038
|
+
persistViewInUrl("people", state.selectedPersonId);
|
|
1039
|
+
}
|
|
1040
|
+
renderPeople();
|
|
1041
|
+
updateShellChrome();
|
|
1042
|
+
setFlash(
|
|
1043
|
+
newest
|
|
1044
|
+
? `Connected to ${newest.name}. Review what they can ask your agent to do.`
|
|
1045
|
+
: "Connected. Review permissions for your new collaborator.",
|
|
1046
|
+
"info"
|
|
1047
|
+
);
|
|
1048
|
+
} catch (error) {
|
|
1049
|
+
const message = humanizeJoinError(error instanceof Error ? error.message : String(error));
|
|
1050
|
+
if (statusEl) statusEl.textContent = message;
|
|
1051
|
+
setFlash(message, "error");
|
|
1052
|
+
} finally {
|
|
1053
|
+
button.disabled = false;
|
|
1054
|
+
button.textContent = "Connect";
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
async function savePermissionFlow(input) {
|
|
1059
|
+
const capabilityId = input.getAttribute("data-cap");
|
|
1060
|
+
const peerRef = input.getAttribute("data-peer");
|
|
1061
|
+
const policy = input.value;
|
|
1062
|
+
if (!capabilityId || !peerRef || !policy) return;
|
|
1063
|
+
|
|
1064
|
+
if (isAllowSessionForbidden(capabilityId, policy)) {
|
|
1065
|
+
setFlash(
|
|
1066
|
+
"Apply approved code changes cannot be set to Allow. Every change still needs Approve once.",
|
|
1067
|
+
"error"
|
|
1068
|
+
);
|
|
1069
|
+
await loadPeers();
|
|
1070
|
+
renderPeople();
|
|
1071
|
+
return;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
const block = input.closest("[data-cap-block]");
|
|
1075
|
+
const statusEl = block?.querySelector("[data-perm-status]");
|
|
1076
|
+
const previousPeer = findPeerBySelection(state.peers, state.selectedPersonId);
|
|
1077
|
+
state.permissionBusy = `${peerRef}:${capabilityId}`;
|
|
1078
|
+
if (statusEl) statusEl.textContent = "Saving…";
|
|
1079
|
+
input
|
|
1080
|
+
.closest(".policy-group")
|
|
1081
|
+
?.querySelectorAll("input")
|
|
1082
|
+
.forEach((el) => {
|
|
1083
|
+
el.disabled = true;
|
|
1084
|
+
});
|
|
1085
|
+
|
|
1086
|
+
try {
|
|
1087
|
+
await api(
|
|
1088
|
+
`${API_PREFIX}/peers/${encodeURIComponent(peerRef)}/capabilities/${encodeURIComponent(capabilityId)}`,
|
|
1089
|
+
{
|
|
1090
|
+
method: "PUT",
|
|
1091
|
+
body: JSON.stringify({ policy })
|
|
1092
|
+
}
|
|
1093
|
+
);
|
|
1094
|
+
await loadPeers();
|
|
1095
|
+
state.permissionBusy = null;
|
|
1096
|
+
renderPeople();
|
|
1097
|
+
if (statusEl) {
|
|
1098
|
+
// re-query after re-render
|
|
1099
|
+
}
|
|
1100
|
+
setFlash("Permission updated.", "info");
|
|
1101
|
+
} catch (error) {
|
|
1102
|
+
state.permissionBusy = null;
|
|
1103
|
+
await loadPeers();
|
|
1104
|
+
renderPeople();
|
|
1105
|
+
setFlash(
|
|
1106
|
+
humanizePermissionError(error instanceof Error ? error.message : String(error)),
|
|
1107
|
+
"error"
|
|
1108
|
+
);
|
|
1109
|
+
// Ensure UI shows previous authoritative state
|
|
1110
|
+
if (previousPeer) {
|
|
1111
|
+
state.selectedPersonId = previousPeer.participantId;
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
async function removePersonFlow(button) {
|
|
1117
|
+
const peerRef = button.getAttribute("data-peer");
|
|
1118
|
+
if (!peerRef) return;
|
|
1119
|
+
button.disabled = true;
|
|
1120
|
+
try {
|
|
1121
|
+
await api(`${API_PREFIX}/peers/${encodeURIComponent(peerRef)}/remove`, {
|
|
1122
|
+
method: "POST",
|
|
1123
|
+
body: "{}"
|
|
1124
|
+
});
|
|
1125
|
+
state.selectedPersonId = null;
|
|
1126
|
+
state.peoplePanel = "list";
|
|
1127
|
+
sessionStorage.removeItem("arokoSelectedPerson");
|
|
1128
|
+
await loadPeers();
|
|
1129
|
+
persistViewInUrl("people", null);
|
|
1130
|
+
renderPeople();
|
|
1131
|
+
setFlash("Removed from this session.", "info");
|
|
1132
|
+
} catch (error) {
|
|
1133
|
+
setFlash(humanizeRemoveError(error instanceof Error ? error.message : String(error)), "error");
|
|
1134
|
+
state.peoplePanel = "list";
|
|
1135
|
+
renderPeople();
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
|
|
1139
|
+
function renderSettings() {
|
|
1140
|
+
if (state.loadingSettings && !state.settingsModel) {
|
|
1141
|
+
viewSettings.innerHTML = `<div class="state-block" data-tone="loading">Loading settings…</div>`;
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
if (!state.settingsModel) {
|
|
1145
|
+
viewSettings.innerHTML = `<div class="state-block" data-tone="error">Aroko couldn't load Settings. Check that the local runtime is running, then try again.</div>`;
|
|
1146
|
+
return;
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1149
|
+
if (state.settingsPanel === "leave-confirm" && state.settingsModel.leave.available) {
|
|
1150
|
+
const copy = state.settingsModel.leave.copy;
|
|
1151
|
+
viewSettings.innerHTML = `
|
|
1152
|
+
<div class="settings-leave-confirm home-card">
|
|
1153
|
+
<h2>${escapeHtml(copy.title)}</h2>
|
|
1154
|
+
<p class="subtle">${escapeHtml(copy.body)}</p>
|
|
1155
|
+
<div class="actions-row">
|
|
1156
|
+
<button type="button" class="danger-btn" data-settings-leave="confirm" ${state.leavingSession ? "disabled" : ""}>${escapeHtml(copy.confirm)}</button>
|
|
1157
|
+
<button type="button" class="ghost-btn" data-settings-leave="cancel" ${state.leavingSession ? "disabled" : ""}>${escapeHtml(copy.cancel)}</button>
|
|
1158
|
+
</div>
|
|
1159
|
+
</div>`;
|
|
1160
|
+
bindSettingsInteractions(viewSettings);
|
|
1161
|
+
return;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
const m = state.settingsModel;
|
|
1165
|
+
const agent = m.agent;
|
|
1166
|
+
const notif = m.notifications;
|
|
1167
|
+
|
|
1168
|
+
const notifActions =
|
|
1169
|
+
notif.primaryAction === "enable"
|
|
1170
|
+
? `<button type="button" class="ghost-btn" data-settings-notify="enable">Enable notifications</button>`
|
|
1171
|
+
: notif.primaryAction === "open_settings"
|
|
1172
|
+
? `<button type="button" class="ghost-btn" data-settings-notify="open_settings">Open notification settings</button>`
|
|
1173
|
+
: "";
|
|
1174
|
+
|
|
1175
|
+
const advancedRows = m.advanced
|
|
1176
|
+
.map(
|
|
1177
|
+
(row) => `
|
|
1178
|
+
<div class="settings-kv">
|
|
1179
|
+
<span class="settings-k">${escapeHtml(row.label)}</span>
|
|
1180
|
+
<span class="settings-v">${escapeHtml(row.value)}</span>
|
|
1181
|
+
</div>`
|
|
1182
|
+
)
|
|
1183
|
+
.join("");
|
|
1184
|
+
|
|
1185
|
+
const html = `
|
|
1186
|
+
<div class="settings-grid">
|
|
1187
|
+
<section class="home-card settings-card" aria-labelledby="settings-agent-heading">
|
|
1188
|
+
<h2 id="settings-agent-heading">Your agent</h2>
|
|
1189
|
+
<div class="settings-row">
|
|
1190
|
+
<p class="settings-primary">${escapeHtml(agent.displayName)}</p>
|
|
1191
|
+
<span class="status-pill" data-tone="${escapeHtml(agent.health.tone)}">${escapeHtml(agent.health.label)}</span>
|
|
1192
|
+
</div>
|
|
1193
|
+
${agent.agentName ? `<p class="subtle">${escapeHtml(agent.agentName)}</p>` : ""}
|
|
1194
|
+
${agent.health.detail ? `<p class="subtle">${escapeHtml(agent.health.detail)}</p>` : ""}
|
|
1195
|
+
<p class="subtle settings-hint">${escapeHtml(agent.changeHint.message)}</p>
|
|
1196
|
+
<p class="settings-cli-hint"><code>${escapeHtml(agent.changeHint.command)}</code></p>
|
|
1197
|
+
</section>
|
|
1198
|
+
|
|
1199
|
+
<section class="home-card settings-card" aria-labelledby="settings-project-heading">
|
|
1200
|
+
<h2 id="settings-project-heading">Project</h2>
|
|
1201
|
+
<p class="settings-primary">${escapeHtml(m.project.label)}</p>
|
|
1202
|
+
${m.project.cliHint ? `<p class="subtle">Project setup uses the CLI:</p><p class="settings-cli-hint"><code>${escapeHtml(m.project.cliHint)}</code></p>` : `<p class="subtle">Project changes are currently made from the Aroko CLI.</p>`}
|
|
1203
|
+
</section>
|
|
1204
|
+
|
|
1205
|
+
<section class="home-card settings-card" aria-labelledby="settings-notify-heading">
|
|
1206
|
+
<h2 id="settings-notify-heading">Notifications</h2>
|
|
1207
|
+
<div class="settings-row">
|
|
1208
|
+
<span class="status-pill" data-tone="${escapeHtml(notif.tone)}">${escapeHtml(notif.label)}</span>
|
|
1209
|
+
</div>
|
|
1210
|
+
${notif.detail ? `<p class="subtle">${escapeHtml(notif.detail)}</p>` : ""}
|
|
1211
|
+
${notifActions ? `<div class="settings-inline-actions">${notifActions}</div>` : ""}
|
|
1212
|
+
</section>
|
|
1213
|
+
|
|
1214
|
+
<section class="home-card settings-card" aria-labelledby="settings-connection-heading">
|
|
1215
|
+
<h2 id="settings-connection-heading">Connection</h2>
|
|
1216
|
+
<div class="settings-row">
|
|
1217
|
+
<p class="settings-primary">${escapeHtml(m.connection.label)}</p>
|
|
1218
|
+
<span class="status-pill" data-tone="${escapeHtml(m.connection.tone)}">${escapeHtml(m.connection.label)}</span>
|
|
1219
|
+
</div>
|
|
1220
|
+
${m.connection.helper ? `<p class="subtle">${escapeHtml(m.connection.helper)}</p>` : ""}
|
|
1221
|
+
</section>
|
|
1222
|
+
|
|
1223
|
+
<section class="home-card settings-card" aria-labelledby="settings-about-heading">
|
|
1224
|
+
<h2 id="settings-about-heading">About</h2>
|
|
1225
|
+
<p class="settings-primary">${escapeHtml(m.about.productName)}</p>
|
|
1226
|
+
<p class="subtle">${escapeHtml(m.about.versionLine)}</p>
|
|
1227
|
+
${m.about.buildLine ? `<p class="subtle">${escapeHtml(m.about.buildLine)}</p>` : ""}
|
|
1228
|
+
<div class="settings-updates" data-tone="${escapeHtml(m.updates.tone)}">
|
|
1229
|
+
<p class="settings-updates-head">${escapeHtml(m.updates.headline)}</p>
|
|
1230
|
+
<p class="subtle">${escapeHtml(m.updates.body)}</p>
|
|
1231
|
+
</div>
|
|
1232
|
+
</section>
|
|
1233
|
+
|
|
1234
|
+
<section class="home-card settings-card settings-advanced" aria-labelledby="settings-advanced-heading">
|
|
1235
|
+
<h2 id="settings-advanced-heading">Advanced</h2>
|
|
1236
|
+
<p class="subtle">Technical diagnostics for troubleshooting. Normal use doesn't require these details.</p>
|
|
1237
|
+
<div class="settings-kv-list" role="list">${advancedRows}</div>
|
|
1238
|
+
<div class="settings-inline-actions">
|
|
1239
|
+
<button type="button" class="ghost-btn" data-settings-copy-diagnostics>Copy diagnostics</button>
|
|
1240
|
+
</div>
|
|
1241
|
+
</section>
|
|
1242
|
+
|
|
1243
|
+
${
|
|
1244
|
+
m.leave.available
|
|
1245
|
+
? `<section class="home-card settings-card settings-danger" aria-labelledby="settings-session-heading">
|
|
1246
|
+
<h2 id="settings-session-heading">Session</h2>
|
|
1247
|
+
<p class="subtle">Leave clears this machine's local session. Collaborators won't reach you here until you connect again.</p>
|
|
1248
|
+
<button type="button" class="danger-btn" data-settings-leave="prompt">Leave session</button>
|
|
1249
|
+
</section>`
|
|
1250
|
+
: ""
|
|
1251
|
+
}
|
|
1252
|
+
</div>`;
|
|
1253
|
+
|
|
1254
|
+
if (settingsHtmlContainsForbiddenTech(html)) {
|
|
1255
|
+
viewSettings.innerHTML = `<div class="state-block" data-tone="error">Settings refused to render technical details.</div>`;
|
|
1256
|
+
return;
|
|
1257
|
+
}
|
|
1258
|
+
viewSettings.innerHTML = html;
|
|
1259
|
+
bindSettingsInteractions(viewSettings);
|
|
1260
|
+
}
|
|
1261
|
+
|
|
1262
|
+
function bindSettingsInteractions(root) {
|
|
1263
|
+
root.querySelectorAll("[data-settings-leave]").forEach((btn) => {
|
|
1264
|
+
btn.addEventListener("click", () => {
|
|
1265
|
+
const action = btn.getAttribute("data-settings-leave");
|
|
1266
|
+
if (action === "prompt") {
|
|
1267
|
+
state.settingsPanel = "leave-confirm";
|
|
1268
|
+
renderSettings();
|
|
1269
|
+
return;
|
|
1270
|
+
}
|
|
1271
|
+
if (action === "cancel") {
|
|
1272
|
+
state.settingsPanel = "main";
|
|
1273
|
+
renderSettings();
|
|
1274
|
+
return;
|
|
1275
|
+
}
|
|
1276
|
+
if (action === "confirm") {
|
|
1277
|
+
void confirmLeaveSession();
|
|
1278
|
+
}
|
|
1279
|
+
});
|
|
1280
|
+
});
|
|
1281
|
+
|
|
1282
|
+
root.querySelectorAll("[data-settings-notify]").forEach((btn) => {
|
|
1283
|
+
btn.addEventListener("click", () => {
|
|
1284
|
+
const action = btn.getAttribute("data-settings-notify");
|
|
1285
|
+
void handleSettingsNotificationAction(action);
|
|
1286
|
+
});
|
|
1287
|
+
});
|
|
1288
|
+
|
|
1289
|
+
const copyBtn = root.querySelector("[data-settings-copy-diagnostics]");
|
|
1290
|
+
if (copyBtn) {
|
|
1291
|
+
copyBtn.addEventListener("click", () => {
|
|
1292
|
+
void copyDiagnostics();
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
async function handleSettingsNotificationAction(action) {
|
|
1298
|
+
try {
|
|
1299
|
+
if (action === "enable") {
|
|
1300
|
+
state.notify = await api(`${API_PREFIX}/notifications/enable`, {
|
|
1301
|
+
method: "POST",
|
|
1302
|
+
body: "{}"
|
|
1303
|
+
});
|
|
1304
|
+
} else if (action === "open_settings") {
|
|
1305
|
+
state.notify = await api(`${API_PREFIX}/notifications/open-settings`, {
|
|
1306
|
+
method: "POST",
|
|
1307
|
+
body: "{}"
|
|
1308
|
+
});
|
|
1309
|
+
}
|
|
1310
|
+
renderNotifyBanner();
|
|
1311
|
+
await loadSettings();
|
|
1312
|
+
renderSettings();
|
|
1313
|
+
} catch (error) {
|
|
1314
|
+
setFlash("Aroko couldn't update notification settings right now.", "error");
|
|
1315
|
+
console.error(error);
|
|
1316
|
+
}
|
|
1317
|
+
}
|
|
1318
|
+
|
|
1319
|
+
async function copyDiagnostics() {
|
|
1320
|
+
const summary = state.settingsModel?.diagnostics;
|
|
1321
|
+
if (!summary?.safe || !summary.text) {
|
|
1322
|
+
setFlash("Diagnostics aren't available to copy right now.", "error");
|
|
1323
|
+
return;
|
|
1324
|
+
}
|
|
1325
|
+
try {
|
|
1326
|
+
await navigator.clipboard.writeText(summary.text);
|
|
1327
|
+
setFlash("Diagnostics copied.", "info");
|
|
1328
|
+
} catch {
|
|
1329
|
+
setFlash("Couldn't copy diagnostics — your browser may block clipboard access.", "error");
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
|
|
1333
|
+
async function confirmLeaveSession() {
|
|
1334
|
+
if (state.leavingSession) return;
|
|
1335
|
+
state.leavingSession = true;
|
|
1336
|
+
renderSettings();
|
|
1337
|
+
try {
|
|
1338
|
+
await api(`${API_PREFIX}/leave`, { method: "POST", body: "{}" });
|
|
1339
|
+
state.settingsPanel = "main";
|
|
1340
|
+
state.leavingSession = false;
|
|
1341
|
+
setFlash("You left this session on this machine.", "info");
|
|
1342
|
+
await refresh();
|
|
1343
|
+
void setView("home");
|
|
1344
|
+
} catch (error) {
|
|
1345
|
+
state.leavingSession = false;
|
|
1346
|
+
setFlash(
|
|
1347
|
+
error instanceof Error && error.message
|
|
1348
|
+
? `Aroko couldn't leave the session. ${error.message}`
|
|
1349
|
+
: "Aroko couldn't leave the session right now.",
|
|
1350
|
+
"error"
|
|
1351
|
+
);
|
|
1352
|
+
renderSettings();
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
function renderNotifyBanner() {
|
|
1357
|
+
const snap = state.notify;
|
|
1358
|
+
if (!snap || !snap.shouldPrompt) {
|
|
1359
|
+
notifyBanner.classList.add("hidden");
|
|
1360
|
+
return;
|
|
1361
|
+
}
|
|
1362
|
+
notifyBanner.classList.remove("hidden");
|
|
1363
|
+
notifyBanner.dataset.auth = snap.authorization ?? "";
|
|
1364
|
+
notifyHeadline.textContent = snap.headline ?? "Enable notifications";
|
|
1365
|
+
notifyBody.textContent =
|
|
1366
|
+
snap.body ?? "Enable notifications so you know when a collaborator needs your approval.";
|
|
1367
|
+
if (snap.primaryAction === "open_settings") {
|
|
1368
|
+
notifyPrimary.textContent = "Open Notification Settings";
|
|
1369
|
+
notifyPrimary.disabled = !snap.canOpenSettings;
|
|
1370
|
+
} else if (snap.primaryAction === "enable") {
|
|
1371
|
+
notifyPrimary.textContent = "Enable Notifications";
|
|
1372
|
+
notifyPrimary.disabled = !snap.canRequestPermission;
|
|
1373
|
+
} else {
|
|
1374
|
+
notifyPrimary.textContent = "OK";
|
|
1375
|
+
notifyPrimary.disabled = true;
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
|
|
1379
|
+
async function onNotifyPrimary() {
|
|
1380
|
+
const snap = state.notify;
|
|
1381
|
+
if (!snap) return;
|
|
1382
|
+
notifyPrimary.disabled = true;
|
|
1383
|
+
try {
|
|
1384
|
+
if (snap.primaryAction === "open_settings") {
|
|
1385
|
+
state.notify = await api(`${API_PREFIX}/notifications/open-settings`, {
|
|
1386
|
+
method: "POST",
|
|
1387
|
+
body: "{}"
|
|
1388
|
+
});
|
|
1389
|
+
} else if (snap.primaryAction === "enable") {
|
|
1390
|
+
state.notify = await api(`${API_PREFIX}/notifications/enable`, {
|
|
1391
|
+
method: "POST",
|
|
1392
|
+
body: "{}"
|
|
1393
|
+
});
|
|
1394
|
+
}
|
|
1395
|
+
renderNotifyBanner();
|
|
1396
|
+
} catch (error) {
|
|
1397
|
+
console.error(error);
|
|
1398
|
+
notifyPrimary.disabled = false;
|
|
1399
|
+
}
|
|
1400
|
+
}
|
|
1401
|
+
|
|
1402
|
+
async function onNotifyDismiss() {
|
|
1403
|
+
try {
|
|
1404
|
+
state.notify = await api(`${API_PREFIX}/notifications/dismiss`, {
|
|
1405
|
+
method: "POST",
|
|
1406
|
+
body: "{}"
|
|
1407
|
+
});
|
|
1408
|
+
renderNotifyBanner();
|
|
1409
|
+
} catch (error) {
|
|
1410
|
+
console.error(error);
|
|
1411
|
+
}
|
|
1412
|
+
}
|
|
1413
|
+
|
|
1414
|
+
async function loadWorkFeed() {
|
|
1415
|
+
if (state.view === "history") {
|
|
1416
|
+
const [actionsRes, inspectionsRes, tasksRes] = await Promise.all([
|
|
1417
|
+
api(`${API_PREFIX}/actions?filter=recent&limit=50`),
|
|
1418
|
+
api(`${API_PREFIX}/inspections?filter=recent&limit=50`),
|
|
1419
|
+
api(`${API_PREFIX}/tasks?filter=recent&limit=50`).catch(() => ({ tasks: [] }))
|
|
1420
|
+
]);
|
|
1421
|
+
state.actions = actionsRes.actions ?? [];
|
|
1422
|
+
state.activeInspections = inspectionsRes.inspections ?? [];
|
|
1423
|
+
state.collaborativeTasks = tasksRes.tasks ?? [];
|
|
1424
|
+
state.workItems = mergeHistoryItems({
|
|
1425
|
+
actions: state.actions,
|
|
1426
|
+
inspections: state.activeInspections,
|
|
1427
|
+
tasks: state.collaborativeTasks
|
|
1428
|
+
}).filter((item) => historyCategoryFilter(item, state.historyFilter));
|
|
1429
|
+
} else if (state.view === "live") {
|
|
1430
|
+
const [actionsRes, inspectionsRes, tasksRes] = await Promise.all([
|
|
1431
|
+
api(`${API_PREFIX}/actions?filter=active&limit=50`),
|
|
1432
|
+
api(`${API_PREFIX}/inspections?filter=active&limit=50`),
|
|
1433
|
+
api(`${API_PREFIX}/tasks?filter=active&limit=50`).catch(() => ({ tasks: [] }))
|
|
1434
|
+
]);
|
|
1435
|
+
state.actions = actionsRes.actions ?? [];
|
|
1436
|
+
state.activeInspections = inspectionsRes.inspections ?? [];
|
|
1437
|
+
state.collaborativeTasks = tasksRes.tasks ?? [];
|
|
1438
|
+
state.workItems = mergeLiveWorkItems({
|
|
1439
|
+
actions: state.actions,
|
|
1440
|
+
inspections: state.activeInspections,
|
|
1441
|
+
tasks: state.collaborativeTasks
|
|
1442
|
+
});
|
|
1443
|
+
} else if (state.view === "needs-you") {
|
|
1444
|
+
const [actionsRes, permissionsRes, inputsRes] = await Promise.all([
|
|
1445
|
+
api(`${API_PREFIX}/actions?filter=pending&limit=50`),
|
|
1446
|
+
api(`${API_PREFIX}/permissions`),
|
|
1447
|
+
api(`${API_PREFIX}/tasks/pending-inputs`).catch(() => ({ inputs: [] }))
|
|
1448
|
+
]);
|
|
1449
|
+
state.actions = actionsRes.actions ?? [];
|
|
1450
|
+
state.pendingPermissions = permissionsRes.pending ?? [];
|
|
1451
|
+
state.pendingInputs = inputsRes.inputs ?? [];
|
|
1452
|
+
state.workItems = mergeNeedsYouItems({
|
|
1453
|
+
actions: state.actions,
|
|
1454
|
+
permissions: state.pendingPermissions,
|
|
1455
|
+
pendingInputs: state.pendingInputs
|
|
1456
|
+
});
|
|
1457
|
+
} else {
|
|
1458
|
+
state.actions = [];
|
|
1459
|
+
state.workItems = [];
|
|
1460
|
+
}
|
|
1461
|
+
|
|
1462
|
+
if (state.selectedKind && state.selectedId) {
|
|
1463
|
+
const finder = state.view === "history" ? findHistoryItem : findWorkItem;
|
|
1464
|
+
const still = finder(state.workItems, state.selectedKind, state.selectedId);
|
|
1465
|
+
if (still) {
|
|
1466
|
+
state.selectedWork = still;
|
|
1467
|
+
state.selectedAction = still.kind === "action" ? still : null;
|
|
1468
|
+
await renderWorkDetail(still);
|
|
1469
|
+
} else {
|
|
1470
|
+
try {
|
|
1471
|
+
const detail = await fetchWorkDetail(state.selectedKind, state.selectedId);
|
|
1472
|
+
state.selectedWork = detail;
|
|
1473
|
+
state.selectedAction = detail?.kind === "action" ? detail : null;
|
|
1474
|
+
await renderWorkDetail(detail);
|
|
1475
|
+
} catch {
|
|
1476
|
+
state.selectedWork = null;
|
|
1477
|
+
state.selectedAction = null;
|
|
1478
|
+
state.selectedKind = null;
|
|
1479
|
+
state.selectedId = null;
|
|
1480
|
+
}
|
|
1481
|
+
}
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
async function fetchWorkDetail(kind, id) {
|
|
1486
|
+
if (kind === "inspection") {
|
|
1487
|
+
const detail = await api(`${API_PREFIX}/inspections/${encodeURIComponent(id)}`);
|
|
1488
|
+
return {
|
|
1489
|
+
...detail,
|
|
1490
|
+
kind: "inspection",
|
|
1491
|
+
id: detail.requestId,
|
|
1492
|
+
workKey: workItemKey("inspection", detail.requestId),
|
|
1493
|
+
actionLabel: detail.actionLabel ?? "Inspection"
|
|
1494
|
+
};
|
|
1495
|
+
}
|
|
1496
|
+
if (kind === "permission") {
|
|
1497
|
+
const data = await api(`${API_PREFIX}/permissions`);
|
|
1498
|
+
const pending = (data.pending ?? []).find((p) => p.permissionRequestId === id);
|
|
1499
|
+
if (!pending) {
|
|
1500
|
+
throw new Error("permission_not_found");
|
|
1501
|
+
}
|
|
1502
|
+
return {
|
|
1503
|
+
...pending,
|
|
1504
|
+
kind: "permission",
|
|
1505
|
+
id: pending.permissionRequestId,
|
|
1506
|
+
workKey: workItemKey("permission", pending.permissionRequestId)
|
|
1507
|
+
};
|
|
1508
|
+
}
|
|
1509
|
+
if (kind === "collaborative_task") {
|
|
1510
|
+
const path =
|
|
1511
|
+
state.view === "history"
|
|
1512
|
+
? `${API_PREFIX}/tasks/${encodeURIComponent(id)}/history`
|
|
1513
|
+
: `${API_PREFIX}/tasks/${encodeURIComponent(id)}`;
|
|
1514
|
+
const detail = await api(path);
|
|
1515
|
+
return {
|
|
1516
|
+
...detail,
|
|
1517
|
+
kind: "collaborative_task",
|
|
1518
|
+
id: detail.taskId ?? id,
|
|
1519
|
+
workKey: workItemKey("collaborative_task", detail.taskId ?? id)
|
|
1520
|
+
};
|
|
1521
|
+
}
|
|
1522
|
+
if (kind === "input_request") {
|
|
1523
|
+
const data = await api(`${API_PREFIX}/tasks/pending-inputs`).catch(() => ({ inputs: [] }));
|
|
1524
|
+
const pending = (data.inputs ?? []).find((p) => p.inputRequestId === id);
|
|
1525
|
+
if (!pending) {
|
|
1526
|
+
throw new Error("input_request_not_found");
|
|
1527
|
+
}
|
|
1528
|
+
return {
|
|
1529
|
+
...pending,
|
|
1530
|
+
kind: "input_request",
|
|
1531
|
+
id: pending.inputRequestId,
|
|
1532
|
+
workKey: workItemKey("input_request", pending.inputRequestId),
|
|
1533
|
+
interaction: "answer",
|
|
1534
|
+
collaborativeInteraction: "answer"
|
|
1535
|
+
};
|
|
1536
|
+
}
|
|
1537
|
+
const detail = await api(`${API_PREFIX}/actions/${encodeURIComponent(id)}`);
|
|
1538
|
+
return {
|
|
1539
|
+
...detail,
|
|
1540
|
+
kind: "action",
|
|
1541
|
+
id: detail.actionId,
|
|
1542
|
+
workKey: workItemKey("action", detail.actionId)
|
|
1543
|
+
};
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
function renderHistoryFilterBar() {
|
|
1547
|
+
const filters = [
|
|
1548
|
+
{ id: "all", label: "All" },
|
|
1549
|
+
{ id: "question", label: "Questions" },
|
|
1550
|
+
{ id: "change", label: "Changes" },
|
|
1551
|
+
{ id: "tests", label: "Tests" }
|
|
1552
|
+
];
|
|
1553
|
+
return `<div class="history-filter-bar" role="toolbar" aria-label="Filter history">
|
|
1554
|
+
${filters
|
|
1555
|
+
.map(
|
|
1556
|
+
(f) =>
|
|
1557
|
+
`<button type="button" class="ghost-btn history-filter-btn${state.historyFilter === f.id ? " active" : ""}" data-history-filter="${escapeHtml(f.id)}">${escapeHtml(f.label)}</button>`
|
|
1558
|
+
)
|
|
1559
|
+
.join("")}
|
|
1560
|
+
</div>`;
|
|
1561
|
+
}
|
|
1562
|
+
|
|
1563
|
+
function renderList() {
|
|
1564
|
+
const items = state.workItems;
|
|
1565
|
+
listMeta.textContent = `${workListLabel(state.view)} · ${items.length} item(s)`;
|
|
1566
|
+
if (items.length === 0) {
|
|
1567
|
+
if (state.view === "live") {
|
|
1568
|
+
const empty = buildLiveEmptyCopy();
|
|
1569
|
+
actionList.innerHTML = `<li class="empty-state"><p>${empty.title}</p><p class="subtle">${empty.detail}</p></li>`;
|
|
1570
|
+
return;
|
|
1571
|
+
}
|
|
1572
|
+
if (state.view === "history") {
|
|
1573
|
+
const empty = buildHistoryEmptyCopy();
|
|
1574
|
+
actionList.innerHTML = `${renderHistoryFilterBar()}<li class="empty-state"><p>${empty.title}</p><p class="subtle">${empty.detail}</p><p class="subtle">${empty.retention}</p></li>`;
|
|
1575
|
+
bindHistoryFilterButtons(actionList);
|
|
1576
|
+
return;
|
|
1577
|
+
}
|
|
1578
|
+
const empty =
|
|
1579
|
+
state.view === "needs-you" ? "You're all caught up." : "No recent completed work yet.";
|
|
1580
|
+
actionList.innerHTML = `<li class="empty-state">${empty}</li>`;
|
|
1581
|
+
return;
|
|
1582
|
+
}
|
|
1583
|
+
|
|
1584
|
+
const fallbackProvider =
|
|
1585
|
+
formatProviderDisplayName(state.status?.codingAgent?.provider) ?? "your coding agent";
|
|
1586
|
+
|
|
1587
|
+
if (state.view === "history") {
|
|
1588
|
+
const groups = groupHistoryItems(items);
|
|
1589
|
+
actionList.innerHTML =
|
|
1590
|
+
renderHistoryFilterBar() +
|
|
1591
|
+
groups
|
|
1592
|
+
.map(
|
|
1593
|
+
(group) => `
|
|
1594
|
+
<li class="history-group" aria-hidden="false">
|
|
1595
|
+
<h3 class="history-group-title">${escapeHtml(group.label)}</h3>
|
|
1596
|
+
<ul class="history-group-list">
|
|
1597
|
+
${group.items
|
|
1598
|
+
.map((item) => {
|
|
1599
|
+
const selected =
|
|
1600
|
+
item.kind === state.selectedKind && item.id === state.selectedId ? "selected" : "";
|
|
1601
|
+
const card = sanitizeHistoryCardModel(buildHistoryCardModel(item));
|
|
1602
|
+
const cardHtml = `
|
|
1603
|
+
<li class="action-item ${selected}" data-work-kind="${escapeHtml(item.kind)}" data-work-id="${escapeHtml(item.id)}" tabindex="0" role="button">
|
|
1604
|
+
<h3>${escapeHtml(card.headline)}</h3>
|
|
1605
|
+
<p class="subtle">${escapeHtml(card.question)}</p>
|
|
1606
|
+
<div class="meta">
|
|
1607
|
+
${statusBadge(item.status)}
|
|
1608
|
+
<span>${escapeHtml(card.workType)}</span>
|
|
1609
|
+
<span>${escapeHtml(card.statusLine)}</span>
|
|
1610
|
+
${card.decisionHint ? `<span>${escapeHtml(card.decisionHint)}</span>` : ""}
|
|
1611
|
+
</div>
|
|
1612
|
+
<p class="subtle history-when">${escapeHtml(card.whenLabel)}</p>
|
|
1613
|
+
</li>`;
|
|
1614
|
+
// Per-item fail-closed: if a card still trips the filter, replace only that card.
|
|
1615
|
+
if (historyHtmlContainsForbiddenTech(cardHtml)) {
|
|
1616
|
+
return `
|
|
1617
|
+
<li class="action-item ${selected}" data-work-kind="${escapeHtml(item.kind)}" data-work-id="${escapeHtml(item.id)}" tabindex="0" role="button">
|
|
1618
|
+
<h3>History item</h3>
|
|
1619
|
+
<p class="subtle">Technical detail hidden for safety.</p>
|
|
1620
|
+
</li>`;
|
|
1621
|
+
}
|
|
1622
|
+
return cardHtml;
|
|
1623
|
+
})
|
|
1624
|
+
.join("")}
|
|
1625
|
+
</ul>
|
|
1626
|
+
</li>`
|
|
1627
|
+
)
|
|
1628
|
+
.join("");
|
|
1629
|
+
bindHistoryFilterButtons(actionList);
|
|
1630
|
+
bindWorkListItems(actionList);
|
|
1631
|
+
return;
|
|
1632
|
+
}
|
|
1633
|
+
|
|
1634
|
+
actionList.innerHTML = items
|
|
1635
|
+
.map((item) => {
|
|
1636
|
+
const selected =
|
|
1637
|
+
item.kind === state.selectedKind && item.id === state.selectedId ? "selected" : "";
|
|
1638
|
+
if (state.view === "live" || item.kind === "inspection") {
|
|
1639
|
+
const card = buildLiveCardModel(item, { fallbackProvider });
|
|
1640
|
+
const liveHint = card.live
|
|
1641
|
+
? `<span class="live-dot" title="Updating live">Live</span>`
|
|
1642
|
+
: "";
|
|
1643
|
+
return `
|
|
1644
|
+
<li class="action-item ${selected}" data-work-kind="${escapeHtml(item.kind)}" data-work-id="${escapeHtml(item.id)}" tabindex="0" role="button">
|
|
1645
|
+
<h3>${escapeHtml(card.headline)} ${liveHint}</h3>
|
|
1646
|
+
<p class="subtle">${escapeHtml(card.question)}</p>
|
|
1647
|
+
<div class="meta">
|
|
1648
|
+
${statusBadge(item.status)}
|
|
1649
|
+
<span>${escapeHtml(card.workType)}</span>
|
|
1650
|
+
<span>${escapeHtml(card.recentActivity)}</span>
|
|
1651
|
+
<span>${escapeHtml(card.elapsedLabel)}</span>
|
|
1652
|
+
</div>
|
|
1653
|
+
</li>`;
|
|
1654
|
+
}
|
|
1655
|
+
if (item.kind === "permission") {
|
|
1656
|
+
const card = buildNeedsYouCardModel(item);
|
|
1657
|
+
return `
|
|
1658
|
+
<li class="action-item ${selected}" data-work-kind="permission" data-work-id="${escapeHtml(item.id)}" tabindex="0" role="button">
|
|
1659
|
+
<h3>${escapeHtml(card.title)}</h3>
|
|
1660
|
+
<p class="subtle">${escapeHtml(card.subtitle)}</p>
|
|
1661
|
+
<div class="meta">
|
|
1662
|
+
${statusBadge(item.status)}
|
|
1663
|
+
<span>${escapeHtml(card.cta)}</span>
|
|
1664
|
+
</div>
|
|
1665
|
+
</li>`;
|
|
1666
|
+
}
|
|
1667
|
+
if (item.kind === "input_request") {
|
|
1668
|
+
const card = buildNeedsYouCardModel(item);
|
|
1669
|
+
return `
|
|
1670
|
+
<li class="action-item ${selected}" data-work-kind="input_request" data-work-id="${escapeHtml(item.id)}" tabindex="0" role="button">
|
|
1671
|
+
<h3>${escapeHtml(card?.title ?? "Answer needed")}</h3>
|
|
1672
|
+
<p class="subtle">${escapeHtml(card?.subtitle ?? "")}</p>
|
|
1673
|
+
<div class="meta">
|
|
1674
|
+
${statusBadge(item.status ?? "pending")}
|
|
1675
|
+
<span>${escapeHtml(card?.cta ?? "Answer")}</span>
|
|
1676
|
+
</div>
|
|
1677
|
+
</li>`;
|
|
1678
|
+
}
|
|
1679
|
+
const card = buildNeedsYouCardModel(item);
|
|
1680
|
+
const summary = item.requestSummary ?? item.summary ?? item.actionLabel;
|
|
1681
|
+
const provenance =
|
|
1682
|
+
typeof item.collaborativeProvenanceLabel === "string" &&
|
|
1683
|
+
item.collaborativeProvenanceLabel.trim()
|
|
1684
|
+
? `<p class="subtle">${escapeHtml(item.collaborativeProvenanceLabel.trim())}</p>`
|
|
1685
|
+
: card?.provenance
|
|
1686
|
+
? `<p class="subtle">${escapeHtml(card.provenance)}</p>`
|
|
1687
|
+
: "";
|
|
1688
|
+
const provider = item.providerDisplayName
|
|
1689
|
+
? `<span>${escapeHtml(item.providerDisplayName)}</span>`
|
|
1690
|
+
: "";
|
|
1691
|
+
return `
|
|
1692
|
+
<li class="action-item ${selected}" data-work-kind="action" data-work-id="${escapeHtml(item.id)}" tabindex="0" role="button">
|
|
1693
|
+
<h3>${escapeHtml(card?.title ?? peerLabel(item))}</h3>
|
|
1694
|
+
<p class="subtle">${escapeHtml(summary ?? "")}</p>
|
|
1695
|
+
${provenance}
|
|
1696
|
+
<div class="meta">
|
|
1697
|
+
${statusBadge(item.status)}
|
|
1698
|
+
<span>${escapeHtml(item.actionLabel ?? "Request")}</span>
|
|
1699
|
+
${provider}
|
|
1700
|
+
<span>${escapeHtml(coarseStateLabel(item))}</span>
|
|
1701
|
+
<span>${formatAge(item.updatedAt)}</span>
|
|
1702
|
+
</div>
|
|
1703
|
+
</li>`;
|
|
1704
|
+
})
|
|
1705
|
+
.join("");
|
|
1706
|
+
|
|
1707
|
+
if (liveHtmlContainsForbiddenTech(actionList.innerHTML)) {
|
|
1708
|
+
actionList.innerHTML = `<li class="empty-state">Aroko refused to render technical connection details.</li>`;
|
|
1709
|
+
return;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
bindWorkListItems(actionList);
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
function bindHistoryFilterButtons(root) {
|
|
1716
|
+
root.querySelectorAll("[data-history-filter]").forEach((btn) => {
|
|
1717
|
+
btn.addEventListener("click", () => {
|
|
1718
|
+
const filter = btn.getAttribute("data-history-filter") ?? "all";
|
|
1719
|
+
state.historyFilter = filter;
|
|
1720
|
+
void loadWorkFeed().then(() => renderList());
|
|
1721
|
+
});
|
|
1722
|
+
});
|
|
1723
|
+
}
|
|
1724
|
+
|
|
1725
|
+
function bindWorkListItems(root) {
|
|
1726
|
+
root.querySelectorAll(".action-item").forEach((el) => {
|
|
1727
|
+
const activate = () => {
|
|
1728
|
+
const kind = el.getAttribute("data-work-kind");
|
|
1729
|
+
const id = el.getAttribute("data-work-id");
|
|
1730
|
+
if (kind && id) void selectWork(kind, id);
|
|
1731
|
+
};
|
|
1732
|
+
el.addEventListener("click", activate);
|
|
1733
|
+
el.addEventListener("keydown", (event) => {
|
|
1734
|
+
if (event.key === "Enter" || event.key === " ") {
|
|
1735
|
+
event.preventDefault();
|
|
1736
|
+
activate();
|
|
1737
|
+
}
|
|
1738
|
+
});
|
|
1739
|
+
});
|
|
1740
|
+
}
|
|
1741
|
+
|
|
1742
|
+
async function selectWork(kind, id) {
|
|
1743
|
+
state.selectedKind = kind;
|
|
1744
|
+
state.selectedId = id;
|
|
1745
|
+
detailPanel.classList.remove("hidden");
|
|
1746
|
+
layoutEl.classList.add("has-detail");
|
|
1747
|
+
renderList();
|
|
1748
|
+
const item = findWorkItem(state.workItems, kind, id);
|
|
1749
|
+
if (item) {
|
|
1750
|
+
state.selectedWork = item;
|
|
1751
|
+
state.selectedAction = kind === "action" ? item : null;
|
|
1752
|
+
await renderWorkDetail(item);
|
|
1753
|
+
detailPanel.focus?.();
|
|
1754
|
+
return;
|
|
1755
|
+
}
|
|
1756
|
+
const detail = await fetchWorkDetail(kind, id);
|
|
1757
|
+
state.selectedWork = detail;
|
|
1758
|
+
state.selectedAction = kind === "action" ? detail : null;
|
|
1759
|
+
await renderWorkDetail(detail);
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
function closeDetail() {
|
|
1763
|
+
state.selectedId = null;
|
|
1764
|
+
state.selectedKind = null;
|
|
1765
|
+
state.selectedWork = null;
|
|
1766
|
+
state.selectedAction = null;
|
|
1767
|
+
state.deciding = false;
|
|
1768
|
+
detailPanel.classList.add("hidden");
|
|
1769
|
+
layoutEl?.classList.remove("has-detail");
|
|
1770
|
+
if (isWorkView(state.view)) {
|
|
1771
|
+
renderList();
|
|
1772
|
+
}
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
function renderActivityTimeline(progress) {
|
|
1776
|
+
const timeline = prepareProgressTimeline(progress);
|
|
1777
|
+
if (timeline.length === 0) {
|
|
1778
|
+
return `<p class="subtle">No progress recorded yet.</p>`;
|
|
1779
|
+
}
|
|
1780
|
+
return `<ol class="activity-timeline">${timeline
|
|
1781
|
+
.map((event, index) => {
|
|
1782
|
+
const label = formatActivityLabel(event);
|
|
1783
|
+
const chips = formatApprovedMetadataChips(event.safeMetadata)
|
|
1784
|
+
.filter((chip) => {
|
|
1785
|
+
if (chip.key === "path" && label.includes(chip.label)) return false;
|
|
1786
|
+
if (chip.key === "query" && label.includes(chip.label)) return false;
|
|
1787
|
+
if (chip.key === "tool" && label.includes(chip.label)) return false;
|
|
1788
|
+
return true;
|
|
1789
|
+
})
|
|
1790
|
+
.map(
|
|
1791
|
+
(chip) =>
|
|
1792
|
+
`<span class="activity-chip">${escapeHtml(chip.key)}: ${escapeHtml(chip.label)}</span>`
|
|
1793
|
+
)
|
|
1794
|
+
.join("");
|
|
1795
|
+
const isLast = index === timeline.length - 1;
|
|
1796
|
+
return `
|
|
1797
|
+
<li class="activity-step${isLast ? " current" : ""}">
|
|
1798
|
+
<div class="activity-rail" aria-hidden="true">
|
|
1799
|
+
<span class="activity-dot"></span>
|
|
1800
|
+
${isLast ? "" : `<span class="activity-line"></span>`}
|
|
1801
|
+
</div>
|
|
1802
|
+
<div class="activity-body">
|
|
1803
|
+
<div class="activity-label">${escapeHtml(label)}</div>
|
|
1804
|
+
${chips ? `<div class="activity-chips">${chips}</div>` : ""}
|
|
1805
|
+
<div class="subtle">${formatAge(event.timestamp)}</div>
|
|
1806
|
+
</div>
|
|
1807
|
+
</li>`;
|
|
1808
|
+
})
|
|
1809
|
+
.join("")}</ol>`;
|
|
1810
|
+
}
|
|
1811
|
+
|
|
1812
|
+
async function openReview(actionId) {
|
|
1813
|
+
await setView("needs-you", {
|
|
1814
|
+
selectWorkKind: "action",
|
|
1815
|
+
selectWorkId: actionId,
|
|
1816
|
+
keepDetail: true
|
|
1817
|
+
});
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
async function renderWorkDetail(item) {
|
|
1821
|
+
if (!item) {
|
|
1822
|
+
detailContent.innerHTML = `<p class="subtle">Select an item to see details.</p>`;
|
|
1823
|
+
return;
|
|
1824
|
+
}
|
|
1825
|
+
if (state.view === "history") {
|
|
1826
|
+
await renderHistoryDetail(item);
|
|
1827
|
+
return;
|
|
1828
|
+
}
|
|
1829
|
+
if (item.kind === "permission") {
|
|
1830
|
+
await renderPermissionDetail(item);
|
|
1831
|
+
return;
|
|
1832
|
+
}
|
|
1833
|
+
if (item.kind === "inspection") {
|
|
1834
|
+
await renderInspectionDetail(item);
|
|
1835
|
+
return;
|
|
1836
|
+
}
|
|
1837
|
+
if (item.kind === "collaborative_task") {
|
|
1838
|
+
await renderCollaborativeTaskDetail(item);
|
|
1839
|
+
return;
|
|
1840
|
+
}
|
|
1841
|
+
if (item.kind === "input_request") {
|
|
1842
|
+
await renderInputRequestDetail(item);
|
|
1843
|
+
return;
|
|
1844
|
+
}
|
|
1845
|
+
await renderActionDetail(item);
|
|
1846
|
+
}
|
|
1847
|
+
|
|
1848
|
+
async function renderHistoryDetail(item) {
|
|
1849
|
+
let detailItem = item;
|
|
1850
|
+
if (item.kind === "collaborative_task" && !Array.isArray(item.timeline)) {
|
|
1851
|
+
try {
|
|
1852
|
+
detailItem = await fetchWorkDetail("collaborative_task", item.id ?? item.taskId);
|
|
1853
|
+
} catch {
|
|
1854
|
+
detailItem = item;
|
|
1855
|
+
}
|
|
1856
|
+
}
|
|
1857
|
+
const sections = sanitizeHistoryDetailSections(buildHistoryDetailSections(detailItem));
|
|
1858
|
+
const taskTimeline = Array.isArray(sections.timelineLabels) ? sections.timelineLabels : null;
|
|
1859
|
+
const progressHtml = taskTimeline
|
|
1860
|
+
? taskTimeline.length
|
|
1861
|
+
? `<ol class="activity-timeline">${taskTimeline
|
|
1862
|
+
.map(
|
|
1863
|
+
(label) =>
|
|
1864
|
+
`<li class="activity-item"><div class="activity-label">${escapeHtml(label)}</div></li>`
|
|
1865
|
+
)
|
|
1866
|
+
.join("")}</ol>`
|
|
1867
|
+
: `<p class="subtle">No timeline events recorded.</p>`
|
|
1868
|
+
: renderActivityTimeline(detailItem.progress ?? []);
|
|
1869
|
+
let proposalHtml = "";
|
|
1870
|
+
if (
|
|
1871
|
+
detailItem.kind === "action" &&
|
|
1872
|
+
(detailItem.actionType === "repository.edit" ||
|
|
1873
|
+
detailItem.actionType === "change.propose" ||
|
|
1874
|
+
detailItem.artifactRefs?.length)
|
|
1875
|
+
) {
|
|
1876
|
+
try {
|
|
1877
|
+
const proposal = await api(
|
|
1878
|
+
`${API_PREFIX}/actions/${encodeURIComponent(detailItem.actionId)}/proposal`
|
|
1879
|
+
);
|
|
1880
|
+
proposalHtml = `
|
|
1881
|
+
<div class="detail-section">
|
|
1882
|
+
<h3>Change</h3>
|
|
1883
|
+
<p>${escapeHtml(proposal.summary)}</p>
|
|
1884
|
+
<p class="subtle">${proposal.stats.filesChanged} file(s) · +${proposal.stats.additions} / −${proposal.stats.deletions}</p>
|
|
1885
|
+
${
|
|
1886
|
+
detailItem.actionType === "repository.edit"
|
|
1887
|
+
? `<p class="subtle">This is the exact change that was reviewed. Aroko applies only the approved MODIFY / CREATE / DELETE / RENAME operations.</p>
|
|
1888
|
+
${formatLifecycleOpList(proposal.unifiedDiff)}`
|
|
1889
|
+
: `<p class="subtle">Proposal only — applying a change requires separate approval.</p>
|
|
1890
|
+
${formatLifecycleOpList(proposal.unifiedDiff)}`
|
|
1891
|
+
}
|
|
1892
|
+
<div class="diff-box" role="region" aria-label="Historical diff (read only)">${formatDiff(proposal.unifiedDiff)}</div>
|
|
1893
|
+
</div>`;
|
|
1894
|
+
} catch {
|
|
1895
|
+
proposalHtml = `<p class="subtle">Change details are no longer available for this record.</p>`;
|
|
1896
|
+
}
|
|
1897
|
+
}
|
|
1898
|
+
const decisionHtml = sections.decision
|
|
1899
|
+
? `<div class="detail-section"><h3>Decision</h3><p>${escapeHtml(sections.decision)}</p></div>`
|
|
1900
|
+
: "";
|
|
1901
|
+
const testsHtml = sections.tests
|
|
1902
|
+
? `<div class="detail-section"><h3>Tests</h3><p>${escapeHtml(sections.tests)}</p></div>`
|
|
1903
|
+
: "";
|
|
1904
|
+
const resultHtml =
|
|
1905
|
+
sections.result || sections.error
|
|
1906
|
+
? `<div class="detail-section"><h3>Result</h3>${
|
|
1907
|
+
sections.result ? `<p>${escapeHtml(sections.result)}</p>` : ""
|
|
1908
|
+
}${sections.error ? `<p class="error">${escapeHtml(sections.error)}</p>` : ""}</div>`
|
|
1909
|
+
: "";
|
|
1910
|
+
const agentLine = sections.providerUnavailable
|
|
1911
|
+
? `<p class="subtle">${escapeHtml(sections.provider)}</p>`
|
|
1912
|
+
: `<p>${escapeHtml(sections.provider)}</p>`;
|
|
1913
|
+
const whenLine = [
|
|
1914
|
+
sections.whenLabel,
|
|
1915
|
+
sections.durationLabel ? `Completed in ${sections.durationLabel}` : null,
|
|
1916
|
+
sections.status
|
|
1917
|
+
]
|
|
1918
|
+
.filter(Boolean)
|
|
1919
|
+
.join(" · ");
|
|
1920
|
+
const requestHeading = detailItem.kind === "collaborative_task" ? "Goal" : "Request";
|
|
1921
|
+
const html = `
|
|
1922
|
+
<h2>${escapeHtml(sections.who)}</h2>
|
|
1923
|
+
<div class="detail-section">
|
|
1924
|
+
<h3>${requestHeading}</h3>
|
|
1925
|
+
<p class="question-block">${escapeHtml(sections.request)}</p>
|
|
1926
|
+
</div>
|
|
1927
|
+
<div class="detail-section">
|
|
1928
|
+
<h3>Agent</h3>
|
|
1929
|
+
${agentLine}
|
|
1930
|
+
</div>
|
|
1931
|
+
<div class="detail-section">
|
|
1932
|
+
<h3>When</h3>
|
|
1933
|
+
<p>${escapeHtml(whenLine)}</p>
|
|
1934
|
+
</div>
|
|
1935
|
+
<div class="detail-section">
|
|
1936
|
+
<h3>Activity</h3>
|
|
1937
|
+
${progressHtml}
|
|
1938
|
+
</div>
|
|
1939
|
+
${resultHtml}
|
|
1940
|
+
${proposalHtml}
|
|
1941
|
+
${decisionHtml}
|
|
1942
|
+
${testsHtml}
|
|
1943
|
+
<details class="technical-details">
|
|
1944
|
+
<summary>Technical details</summary>
|
|
1945
|
+
<dl class="technical-dl">
|
|
1946
|
+
<dt>Record</dt><dd>${escapeHtml(String(sections.technical.kind ?? ""))}</dd>
|
|
1947
|
+
<dt>ID</dt><dd><code>${escapeHtml(String(sections.technical.id ?? ""))}</code></dd>
|
|
1948
|
+
<dt>Status</dt><dd>${escapeHtml(String(sections.technical.status ?? ""))}</dd>
|
|
1949
|
+
${sections.technical.createdAt ? `<dt>Created</dt><dd>${escapeHtml(sections.technical.createdAt)}</dd>` : ""}
|
|
1950
|
+
${sections.technical.completedAt ? `<dt>Completed</dt><dd>${escapeHtml(sections.technical.completedAt)}</dd>` : ""}
|
|
1951
|
+
</dl>
|
|
1952
|
+
</details>
|
|
1953
|
+
<p class="subtle">${escapeHtml(buildHistoryEmptyCopy().retention)}</p>
|
|
1954
|
+
`;
|
|
1955
|
+
if (historyHtmlContainsForbiddenTech(html)) {
|
|
1956
|
+
detailContent.innerHTML = `<p class="error">Technical detail hidden for safety.</p>`;
|
|
1957
|
+
return;
|
|
1958
|
+
}
|
|
1959
|
+
detailContent.innerHTML = html;
|
|
1960
|
+
}
|
|
1961
|
+
|
|
1962
|
+
async function renderInspectionDetail(inspection) {
|
|
1963
|
+
const fallbackProvider =
|
|
1964
|
+
formatProviderDisplayName(state.status?.codingAgent?.provider) ?? "Coding agent";
|
|
1965
|
+
const card = buildLiveCardModel(inspection, { fallbackProvider });
|
|
1966
|
+
const who = card.who;
|
|
1967
|
+
const provider = card.provider;
|
|
1968
|
+
const service =
|
|
1969
|
+
typeof inspection.peer?.service === "string" && inspection.peer.service.trim()
|
|
1970
|
+
? inspection.peer.service.trim()
|
|
1971
|
+
: null;
|
|
1972
|
+
const started = inspection.createdAt
|
|
1973
|
+
? new Date(inspection.createdAt).toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })
|
|
1974
|
+
: null;
|
|
1975
|
+
const progressHtml = renderActivityTimeline(inspection.progress ?? []);
|
|
1976
|
+
const result =
|
|
1977
|
+
inspection.terminal && (inspection.summary || inspection.message)
|
|
1978
|
+
? `<div class="detail-section"><h3>Result</h3><p>${escapeHtml(inspection.summary ?? inspection.message)}</p></div>`
|
|
1979
|
+
: "";
|
|
1980
|
+
const html = `
|
|
1981
|
+
<h2>${escapeHtml(who)} asked</h2>
|
|
1982
|
+
<p class="question-block">${escapeHtml(card.question)}</p>
|
|
1983
|
+
<div class="meta">
|
|
1984
|
+
${statusBadge(inspection.status)}
|
|
1985
|
+
<span>${escapeHtml(provider)}</span>
|
|
1986
|
+
${service ? `<span>${escapeHtml(service)}</span>` : ""}
|
|
1987
|
+
${started ? `<span>Started ${escapeHtml(started)}</span>` : ""}
|
|
1988
|
+
<span>${escapeHtml(card.elapsedLabel)}</span>
|
|
1989
|
+
</div>
|
|
1990
|
+
<p class="subtle live-caption">Live timeline · updates while active</p>
|
|
1991
|
+
<div class="detail-section">
|
|
1992
|
+
<h3>Activity</h3>
|
|
1993
|
+
${progressHtml}
|
|
1994
|
+
</div>
|
|
1995
|
+
${result}
|
|
1996
|
+
`;
|
|
1997
|
+
if (liveHtmlContainsForbiddenTech(html)) {
|
|
1998
|
+
detailContent.innerHTML = `<p class="error">Aroko refused to render unsafe technical detail.</p>`;
|
|
1999
|
+
return;
|
|
2000
|
+
}
|
|
2001
|
+
detailContent.innerHTML = html;
|
|
2002
|
+
}
|
|
2003
|
+
|
|
2004
|
+
async function renderCollaborativeTaskDetail(task) {
|
|
2005
|
+
const fallbackProvider =
|
|
2006
|
+
formatProviderDisplayName(state.status?.codingAgent?.provider) ?? "Coding agent";
|
|
2007
|
+
const card = buildLiveCardModel({ ...task, kind: "collaborative_task" }, { fallbackProvider });
|
|
2008
|
+
const waiting =
|
|
2009
|
+
typeof task.waitingOnLabel === "string" && task.waitingOnLabel.trim()
|
|
2010
|
+
? task.waitingOnLabel.trim()
|
|
2011
|
+
: card?.recentActivity;
|
|
2012
|
+
const html = `
|
|
2013
|
+
<h2>${escapeHtml(card?.headline ?? "Goal")}</h2>
|
|
2014
|
+
<p class="question-block">${escapeHtml(card?.question ?? "")}</p>
|
|
2015
|
+
<div class="meta">
|
|
2016
|
+
${statusBadge(task.status)}
|
|
2017
|
+
<span>${escapeHtml(card?.workType ?? "Goal")}</span>
|
|
2018
|
+
<span>${escapeHtml(card?.elapsedLabel ?? card?.statusLabel ?? "")}</span>
|
|
2019
|
+
</div>
|
|
2020
|
+
${waiting ? `<p class="subtle">Waiting on: ${escapeHtml(waiting)}</p>` : ""}
|
|
2021
|
+
<p class="subtle live-caption">Task progress · separate from route health</p>
|
|
2022
|
+
${task.ownerWaitSummary ? `<p class="subtle">${escapeHtml(task.ownerWaitSummary)}</p>` : ""}
|
|
2023
|
+
<p class="subtle">Approvals for linked commands appear under Needs you. This goal card does not approve.</p>
|
|
2024
|
+
`;
|
|
2025
|
+
if (liveHtmlContainsForbiddenTech(html)) {
|
|
2026
|
+
detailContent.innerHTML = `<p class="error">Aroko refused to render unsafe technical detail.</p>`;
|
|
2027
|
+
return;
|
|
2028
|
+
}
|
|
2029
|
+
detailContent.innerHTML = html;
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
async function renderInputRequestDetail(pending) {
|
|
2033
|
+
const card = buildNeedsYouCardModel({ ...pending, kind: "input_request" });
|
|
2034
|
+
const busy = state.deciding;
|
|
2035
|
+
const cliHint = card?.cliHint
|
|
2036
|
+
? `<p class="subtle settings-cli-hint"><code>${escapeHtml(card.cliHint)}</code></p>`
|
|
2037
|
+
: "";
|
|
2038
|
+
detailContent.innerHTML = `
|
|
2039
|
+
<h2>${escapeHtml(card?.title ?? "Answer needed")}</h2>
|
|
2040
|
+
<p class="subtle">${escapeHtml(card?.helper ?? "Answer this question to continue the goal.")}</p>
|
|
2041
|
+
<div class="detail-section">
|
|
2042
|
+
<h3>Question</h3>
|
|
2043
|
+
<p class="question-block">${escapeHtml(card?.question ?? pending.question ?? "")}</p>
|
|
2044
|
+
</div>
|
|
2045
|
+
<div class="meta">
|
|
2046
|
+
${statusBadge(pending.status ?? "pending")}
|
|
2047
|
+
<span>Answer</span>
|
|
2048
|
+
</div>
|
|
2049
|
+
<label class="subtle" for="input-request-answer">Your answer</label>
|
|
2050
|
+
<textarea id="input-request-answer" class="answer-input" rows="4" ${busy ? "disabled" : ""} placeholder="Type your answer"></textarea>
|
|
2051
|
+
<div class="actions-row">
|
|
2052
|
+
<button type="button" class="primary-btn" data-input-answer="1" ${busy ? "disabled" : ""}>Answer</button>
|
|
2053
|
+
</div>
|
|
2054
|
+
${cliHint}
|
|
2055
|
+
<p class="subtle">This is an Answer — not Approve or Deny. Owner command approvals stay on Action cards.</p>
|
|
2056
|
+
`;
|
|
2057
|
+
const answerBtn = detailContent.querySelector("[data-input-answer]");
|
|
2058
|
+
answerBtn?.addEventListener("click", async () => {
|
|
2059
|
+
if (state.deciding) return;
|
|
2060
|
+
const textarea = detailContent.querySelector("#input-request-answer");
|
|
2061
|
+
const answer = String(textarea?.value ?? "").trim();
|
|
2062
|
+
if (!answer) {
|
|
2063
|
+
setFlash("Enter an answer before submitting.", "error");
|
|
2064
|
+
return;
|
|
2065
|
+
}
|
|
2066
|
+
state.deciding = true;
|
|
2067
|
+
try {
|
|
2068
|
+
await api(
|
|
2069
|
+
`${API_PREFIX}/tasks/inputs/${encodeURIComponent(pending.id ?? pending.inputRequestId)}/answer`,
|
|
2070
|
+
{
|
|
2071
|
+
method: "POST",
|
|
2072
|
+
body: JSON.stringify({
|
|
2073
|
+
answer,
|
|
2074
|
+
...(pending.taskId ? { taskId: pending.taskId } : {})
|
|
2075
|
+
})
|
|
2076
|
+
}
|
|
2077
|
+
);
|
|
2078
|
+
setFlash("Answer sent.", "ok");
|
|
2079
|
+
await loadWorkFeed();
|
|
2080
|
+
renderList();
|
|
2081
|
+
const refreshed = findWorkItem(
|
|
2082
|
+
state.workItems,
|
|
2083
|
+
"input_request",
|
|
2084
|
+
pending.id ?? pending.inputRequestId
|
|
2085
|
+
);
|
|
2086
|
+
if (refreshed) {
|
|
2087
|
+
await renderWorkDetail(refreshed);
|
|
2088
|
+
} else {
|
|
2089
|
+
closeDetail();
|
|
2090
|
+
}
|
|
2091
|
+
} catch (error) {
|
|
2092
|
+
setFlash(
|
|
2093
|
+
humanizeDecisionError(error instanceof Error ? error.message : String(error)),
|
|
2094
|
+
"error"
|
|
2095
|
+
);
|
|
2096
|
+
await loadWorkFeed();
|
|
2097
|
+
renderList();
|
|
2098
|
+
} finally {
|
|
2099
|
+
state.deciding = false;
|
|
2100
|
+
}
|
|
2101
|
+
});
|
|
2102
|
+
}
|
|
2103
|
+
|
|
2104
|
+
async function renderPermissionDetail(pending) {
|
|
2105
|
+
const card = buildNeedsYouCardModel(pending);
|
|
2106
|
+
const copy = capabilityApprovalCopy(pending.capabilityId);
|
|
2107
|
+
const expiresHint = pending.expiresAt
|
|
2108
|
+
? `<p class="subtle">Approval window ends ${escapeHtml(new Date(pending.expiresAt).toLocaleString())}.</p>`
|
|
2109
|
+
: "";
|
|
2110
|
+
const busy = state.deciding;
|
|
2111
|
+
detailContent.innerHTML = `
|
|
2112
|
+
<h2>${escapeHtml(card.title)}</h2>
|
|
2113
|
+
<p class="subtle">${escapeHtml(copy.helper)}</p>
|
|
2114
|
+
<div class="meta">
|
|
2115
|
+
${statusBadge(pending.status)}
|
|
2116
|
+
<span>Permission request</span>
|
|
2117
|
+
</div>
|
|
2118
|
+
<div class="actions-row">
|
|
2119
|
+
<button type="button" class="primary-btn" data-perm-decide="allow-once" ${busy ? "disabled" : ""}>${escapeHtml(card.allowOnceLabel)}</button>
|
|
2120
|
+
<button type="button" class="danger-btn" data-perm-decide="deny" ${busy ? "disabled" : ""}>${escapeHtml(card.denyLabel)}</button>
|
|
2121
|
+
</div>
|
|
2122
|
+
${expiresHint}
|
|
2123
|
+
<p class="subtle">Persistent access still lives under People. This decision covers this request only.</p>
|
|
2124
|
+
`;
|
|
2125
|
+
detailContent.querySelectorAll("[data-perm-decide]").forEach((btn) => {
|
|
2126
|
+
btn.addEventListener("click", async () => {
|
|
2127
|
+
const decision = btn.getAttribute("data-perm-decide");
|
|
2128
|
+
if (!decision || state.deciding) return;
|
|
2129
|
+
if (
|
|
2130
|
+
decision === "allow-session" &&
|
|
2131
|
+
(pending.capabilityId === "repository.edit" ||
|
|
2132
|
+
pending.actionType === "repository.edit" ||
|
|
2133
|
+
pending.capabilityId === "process.execute" ||
|
|
2134
|
+
pending.actionType === "process.execute")
|
|
2135
|
+
) {
|
|
2136
|
+
setFlash("This permission only supports Approve once / Ask me each time.", "error");
|
|
2137
|
+
return;
|
|
2138
|
+
}
|
|
2139
|
+
state.deciding = true;
|
|
2140
|
+
detailContent.querySelectorAll("button").forEach((b) => {
|
|
2141
|
+
b.disabled = true;
|
|
2142
|
+
});
|
|
2143
|
+
try {
|
|
2144
|
+
await api(
|
|
2145
|
+
`${API_PREFIX}/permissions/${encodeURIComponent(pending.permissionRequestId)}/decide`,
|
|
2146
|
+
{
|
|
2147
|
+
method: "POST",
|
|
2148
|
+
body: JSON.stringify({ decision })
|
|
2149
|
+
}
|
|
2150
|
+
);
|
|
2151
|
+
const flash = humanizeDecisionSuccess(decision, {
|
|
2152
|
+
status: decision === "deny" ? "denied" : "approved"
|
|
2153
|
+
});
|
|
2154
|
+
setFlash(flash.message, flash.tone);
|
|
2155
|
+
closeDetail();
|
|
2156
|
+
await loadWorkFeed();
|
|
2157
|
+
renderList();
|
|
2158
|
+
} catch (error) {
|
|
2159
|
+
setFlash(
|
|
2160
|
+
humanizeDecisionError(error instanceof Error ? error.message : String(error)),
|
|
2161
|
+
"error"
|
|
2162
|
+
);
|
|
2163
|
+
state.deciding = false;
|
|
2164
|
+
await loadWorkFeed();
|
|
2165
|
+
renderList();
|
|
2166
|
+
const refreshed = findWorkItem(state.workItems, "permission", pending.permissionRequestId);
|
|
2167
|
+
if (refreshed) {
|
|
2168
|
+
await renderPermissionDetail(refreshed);
|
|
2169
|
+
} else {
|
|
2170
|
+
closeDetail();
|
|
2171
|
+
}
|
|
2172
|
+
} finally {
|
|
2173
|
+
state.deciding = false;
|
|
2174
|
+
}
|
|
2175
|
+
});
|
|
2176
|
+
});
|
|
2177
|
+
}
|
|
2178
|
+
|
|
2179
|
+
async function renderActionDetail(action) {
|
|
2180
|
+
const summary = action.requestSummary ?? action.summary ?? action.actionLabel;
|
|
2181
|
+
const providerName =
|
|
2182
|
+
action.providerDisplayName ??
|
|
2183
|
+
formatProviderDisplayName(state.status?.codingAgent?.provider) ??
|
|
2184
|
+
"Coding agent";
|
|
2185
|
+
const onLiveTab = state.view === "live";
|
|
2186
|
+
const needsCard = buildNeedsYouCardModel({ ...action, kind: "action" });
|
|
2187
|
+
|
|
2188
|
+
let proposalHtml = "";
|
|
2189
|
+
const showProposal =
|
|
2190
|
+
state.view === "needs-you" ||
|
|
2191
|
+
action.status === "approval_required" ||
|
|
2192
|
+
(!onLiveTab &&
|
|
2193
|
+
(action.actionType === "repository.edit" ||
|
|
2194
|
+
action.actionType === "change.propose" ||
|
|
2195
|
+
(action.artifactRefs?.length && action.actionType !== "process.execute")));
|
|
2196
|
+
|
|
2197
|
+
let processHtml = "";
|
|
2198
|
+
if (action.actionType === "process.execute" && !onLiveTab) {
|
|
2199
|
+
const proc = action.processExecution;
|
|
2200
|
+
if (!proc || action.processApprovalDisplayUnavailable || action.approvalUnavailableReason) {
|
|
2201
|
+
processHtml = `
|
|
2202
|
+
<section class="proposal-panel">
|
|
2203
|
+
<h3>Command</h3>
|
|
2204
|
+
<p class="flash error">${escapeHtml(
|
|
2205
|
+
action.approvalUnavailableReason ||
|
|
2206
|
+
"Unable to display command details. Approval unavailable."
|
|
2207
|
+
)}</p>
|
|
2208
|
+
<p class="subtle">Aroko will not offer Approve once until the exact command can be shown.</p>
|
|
2209
|
+
</section>
|
|
2210
|
+
`;
|
|
2211
|
+
} else {
|
|
2212
|
+
const exe = escapeHtml(String(proc.executable ?? ""));
|
|
2213
|
+
const args = Array.isArray(proc.args)
|
|
2214
|
+
? proc.args.map((a) => `<li><code>${escapeHtml(String(a))}</code></li>`).join("")
|
|
2215
|
+
: "";
|
|
2216
|
+
const cwd = escapeHtml(String(proc.cwd ?? "."));
|
|
2217
|
+
const timeoutMs = Number(proc.timeoutMs);
|
|
2218
|
+
const timeout =
|
|
2219
|
+
Number.isFinite(timeoutMs) && timeoutMs > 0
|
|
2220
|
+
? timeoutMs % 60000 === 0 && timeoutMs >= 60000
|
|
2221
|
+
? `${timeoutMs / 60000} minute${timeoutMs / 60000 === 1 ? "" : "s"}`
|
|
2222
|
+
: timeoutMs % 1000 === 0
|
|
2223
|
+
? `${timeoutMs / 1000} second${timeoutMs / 1000 === 1 ? "" : "s"}`
|
|
2224
|
+
: `${timeoutMs} ms`
|
|
2225
|
+
: "—";
|
|
2226
|
+
const display = escapeHtml(String(proc.commandDisplay ?? ""));
|
|
2227
|
+
processHtml = `
|
|
2228
|
+
<section class="proposal-panel">
|
|
2229
|
+
<h3>Command</h3>
|
|
2230
|
+
<pre class="diff-block">${display}</pre>
|
|
2231
|
+
<p><strong>Executable</strong> <code>${exe}</code></p>
|
|
2232
|
+
<p><strong>Arguments</strong> <span class="subtle">(exact argv — not a shell string)</span></p>
|
|
2233
|
+
<ul>${args || "<li><em>(none)</em></li>"}</ul>
|
|
2234
|
+
<p><strong>Working directory</strong> <code>${cwd}</code></p>
|
|
2235
|
+
<p><strong>Timeout</strong> ${escapeHtml(String(timeout))}</p>
|
|
2236
|
+
<p class="subtle">This command runs with your user privileges and may modify files, your repository, machine state, or external services.</p>
|
|
2237
|
+
</section>
|
|
2238
|
+
`;
|
|
2239
|
+
}
|
|
2240
|
+
}
|
|
2241
|
+
|
|
2242
|
+
if (showProposal && !onLiveTab && action.actionType !== "process.execute") {
|
|
2243
|
+
try {
|
|
2244
|
+
const proposal = await api(
|
|
2245
|
+
`${API_PREFIX}/actions/${encodeURIComponent(action.actionId)}/proposal`
|
|
2246
|
+
);
|
|
2247
|
+
const proposalProvider =
|
|
2248
|
+
formatProviderDisplayName(proposal.provider?.id) ?? action.providerDisplayName;
|
|
2249
|
+
const editNotes =
|
|
2250
|
+
action.actionType === "repository.edit"
|
|
2251
|
+
? `<p class="subtle">If you approve, Aroko applies this exact reviewed change once (MODIFY / CREATE / DELETE / RENAME).</p>
|
|
2252
|
+
${formatLifecycleOpList(proposal.unifiedDiff)}`
|
|
2253
|
+
: action.actionType === "change.propose"
|
|
2254
|
+
? `<p class="subtle">This is a proposal only — it does not change your repository by itself.</p>
|
|
2255
|
+
${formatLifecycleOpList(proposal.unifiedDiff)}`
|
|
2256
|
+
: "";
|
|
2257
|
+
proposalHtml = `
|
|
2258
|
+
<div class="detail-section">
|
|
2259
|
+
<h3>Proposed change</h3>
|
|
2260
|
+
<p>${escapeHtml(proposal.summary)}</p>
|
|
2261
|
+
<p class="subtle">${proposal.stats.filesChanged} file(s) · +${proposal.stats.additions} / −${proposal.stats.deletions}${proposalProvider ? ` · ${escapeHtml(proposalProvider)}` : ""}</p>
|
|
2262
|
+
${editNotes}
|
|
2263
|
+
<div class="diff-box" role="region" aria-label="Exact proposed diff">${formatDiff(proposal.unifiedDiff)}</div>
|
|
2264
|
+
</div>`;
|
|
2265
|
+
} catch {
|
|
2266
|
+
proposalHtml = `<p class="subtle">Proposal preview not available for this request.</p>`;
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
|
|
2270
|
+
const progressHtml = renderActivityTimeline(action.progress ?? []);
|
|
2271
|
+
|
|
2272
|
+
let actionsHtml = "";
|
|
2273
|
+
if (onLiveTab) {
|
|
2274
|
+
if (isActionReviewable(action)) {
|
|
2275
|
+
actionsHtml = `
|
|
2276
|
+
<div class="actions-row">
|
|
2277
|
+
<button type="button" class="primary-btn" data-review="1">Review →</button>
|
|
2278
|
+
</div>
|
|
2279
|
+
<p class="subtle">Opens Needs you for exact-diff Approve once / Deny. Live does not approve.</p>`;
|
|
2280
|
+
}
|
|
2281
|
+
} else if (action.status === "approval_required" && action.needsApproval) {
|
|
2282
|
+
const approveOnce = action.canApproveOnce;
|
|
2283
|
+
const approveSession =
|
|
2284
|
+
action.canApproveSession &&
|
|
2285
|
+
!approveOnce &&
|
|
2286
|
+
action.actionType !== "repository.edit" &&
|
|
2287
|
+
action.capabilityId !== "repository.edit" &&
|
|
2288
|
+
action.actionType !== "process.execute" &&
|
|
2289
|
+
action.capabilityId !== "process.execute";
|
|
2290
|
+
const expiresHint = action.expiresAt
|
|
2291
|
+
? `<p class="subtle">Approval window ends ${escapeHtml(new Date(action.expiresAt).toLocaleString())}.</p>`
|
|
2292
|
+
: "";
|
|
2293
|
+
const editHint =
|
|
2294
|
+
action.actionType === "repository.edit"
|
|
2295
|
+
? `<p class="subtle">Approve once applies this exact change. There is no approve-forever or Allow for session for edits.</p>`
|
|
2296
|
+
: action.actionType === "process.execute"
|
|
2297
|
+
? `<p class="subtle">${escapeHtml(
|
|
2298
|
+
action.approvalUnavailableReason ||
|
|
2299
|
+
needsCard?.helper ||
|
|
2300
|
+
"Approve once runs this exact command. There is no Allow for session."
|
|
2301
|
+
)}</p>`
|
|
2302
|
+
: needsCard?.helper
|
|
2303
|
+
? `<p class="subtle">${escapeHtml(needsCard.helper)}</p>`
|
|
2304
|
+
: "";
|
|
2305
|
+
const busy = state.deciding;
|
|
2306
|
+
const processApproveBlocked =
|
|
2307
|
+
action.actionType === "process.execute" &&
|
|
2308
|
+
(!action.processExecution ||
|
|
2309
|
+
action.processApprovalDisplayUnavailable ||
|
|
2310
|
+
Boolean(action.approvalUnavailableReason) ||
|
|
2311
|
+
!approveOnce);
|
|
2312
|
+
actionsHtml = `
|
|
2313
|
+
<div class="actions-row">
|
|
2314
|
+
${
|
|
2315
|
+
approveOnce && !processApproveBlocked
|
|
2316
|
+
? `<button type="button" class="primary-btn" data-decide="allow-once" ${busy ? "disabled" : ""}>${escapeHtml(needsCard?.allowOnceLabel ?? "Approve once")}</button>`
|
|
2317
|
+
: action.actionType === "process.execute"
|
|
2318
|
+
? `<p class="flash error">Approve once unavailable — command details missing.</p>`
|
|
2319
|
+
: ""
|
|
2320
|
+
}
|
|
2321
|
+
${approveSession ? `<button type="button" class="ghost-btn" data-decide="allow-session" ${busy ? "disabled" : ""}>Allow for this session</button>` : ""}
|
|
2322
|
+
<button type="button" class="danger-btn" data-decide="deny" ${busy ? "disabled" : ""}>Deny</button>
|
|
2323
|
+
</div>
|
|
2324
|
+
${editHint}
|
|
2325
|
+
${expiresHint}`;
|
|
2326
|
+
} else if (action.status === "expired") {
|
|
2327
|
+
actionsHtml = `<p class="error">Expired — not applied. Ask them to send a fresh request.</p>`;
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
const html = `
|
|
2331
|
+
<h2>${escapeHtml(peerLabel(action))}</h2>
|
|
2332
|
+
<p class="subtle">${escapeHtml(summary ?? "")}</p>
|
|
2333
|
+
${
|
|
2334
|
+
typeof action.collaborativeProvenanceLabel === "string" &&
|
|
2335
|
+
action.collaborativeProvenanceLabel.trim()
|
|
2336
|
+
? `<p class="subtle">${escapeHtml(action.collaborativeProvenanceLabel.trim())}</p>`
|
|
2337
|
+
: needsCard?.provenance
|
|
2338
|
+
? `<p class="subtle">${escapeHtml(needsCard.provenance)}</p>`
|
|
2339
|
+
: ""
|
|
2340
|
+
}
|
|
2341
|
+
<div class="meta">
|
|
2342
|
+
${statusBadge(action.status)}
|
|
2343
|
+
<span>${escapeHtml(action.actionLabel)}</span>
|
|
2344
|
+
<span>${escapeHtml(providerName)}</span>
|
|
2345
|
+
<span>${escapeHtml(coarseStateLabel(action))}</span>
|
|
2346
|
+
</div>
|
|
2347
|
+
${
|
|
2348
|
+
onLiveTab
|
|
2349
|
+
? `<p class="subtle live-caption">Live timeline · updates while active · no manual refresh</p>`
|
|
2350
|
+
: ""
|
|
2351
|
+
}
|
|
2352
|
+
<div class="detail-section">
|
|
2353
|
+
<h3>Activity</h3>
|
|
2354
|
+
${progressHtml}
|
|
2355
|
+
</div>
|
|
2356
|
+
${proposalHtml}
|
|
2357
|
+
${processHtml}
|
|
2358
|
+
${actionsHtml}
|
|
2359
|
+
`;
|
|
2360
|
+
if (liveHtmlContainsForbiddenTech(html)) {
|
|
2361
|
+
detailContent.innerHTML = `<p class="error">Aroko refused to render unsafe technical detail.</p>`;
|
|
2362
|
+
return;
|
|
2363
|
+
}
|
|
2364
|
+
detailContent.innerHTML = html;
|
|
2365
|
+
|
|
2366
|
+
detailContent.querySelectorAll("[data-review]").forEach((btn) => {
|
|
2367
|
+
btn.addEventListener("click", () => {
|
|
2368
|
+
void openReview(action.actionId);
|
|
2369
|
+
});
|
|
2370
|
+
});
|
|
2371
|
+
|
|
2372
|
+
detailContent.querySelectorAll("[data-decide]").forEach((btn) => {
|
|
2373
|
+
btn.addEventListener("click", async () => {
|
|
2374
|
+
const decision = btn.getAttribute("data-decide");
|
|
2375
|
+
if (!decision || state.deciding) return;
|
|
2376
|
+
if (
|
|
2377
|
+
decision === "allow-session" &&
|
|
2378
|
+
(action.actionType === "repository.edit" ||
|
|
2379
|
+
action.capabilityId === "repository.edit" ||
|
|
2380
|
+
action.actionType === "process.execute" ||
|
|
2381
|
+
action.capabilityId === "process.execute")
|
|
2382
|
+
) {
|
|
2383
|
+
setFlash("This action only supports Approve once.", "error");
|
|
2384
|
+
return;
|
|
2385
|
+
}
|
|
2386
|
+
if (
|
|
2387
|
+
decision === "allow-once" &&
|
|
2388
|
+
action.actionType === "process.execute" &&
|
|
2389
|
+
(!action.processExecution ||
|
|
2390
|
+
action.processApprovalDisplayUnavailable ||
|
|
2391
|
+
action.approvalUnavailableReason)
|
|
2392
|
+
) {
|
|
2393
|
+
setFlash("Unable to display command details. Approval unavailable.", "error");
|
|
2394
|
+
return;
|
|
2395
|
+
}
|
|
2396
|
+
state.deciding = true;
|
|
2397
|
+
detailContent.querySelectorAll("button").forEach((b) => {
|
|
2398
|
+
b.disabled = true;
|
|
2399
|
+
});
|
|
2400
|
+
try {
|
|
2401
|
+
const result = await api(
|
|
2402
|
+
`${API_PREFIX}/actions/${encodeURIComponent(action.actionId)}/decide`,
|
|
2403
|
+
{
|
|
2404
|
+
method: "POST",
|
|
2405
|
+
body: JSON.stringify({ decision })
|
|
2406
|
+
}
|
|
2407
|
+
);
|
|
2408
|
+
const flash = humanizeDecisionSuccess(decision, result);
|
|
2409
|
+
setFlash(flash.message, flash.tone);
|
|
2410
|
+
closeDetail();
|
|
2411
|
+
await loadWorkFeed();
|
|
2412
|
+
renderList();
|
|
2413
|
+
} catch (error) {
|
|
2414
|
+
setFlash(
|
|
2415
|
+
humanizeDecisionError(error instanceof Error ? error.message : String(error)),
|
|
2416
|
+
"error"
|
|
2417
|
+
);
|
|
2418
|
+
state.deciding = false;
|
|
2419
|
+
await loadWorkFeed();
|
|
2420
|
+
renderList();
|
|
2421
|
+
const refreshed = findWorkItem(state.workItems, "action", action.actionId);
|
|
2422
|
+
if (refreshed) {
|
|
2423
|
+
await renderActionDetail(refreshed);
|
|
2424
|
+
} else {
|
|
2425
|
+
closeDetail();
|
|
2426
|
+
}
|
|
2427
|
+
} finally {
|
|
2428
|
+
state.deciding = false;
|
|
2429
|
+
}
|
|
2430
|
+
});
|
|
2431
|
+
});
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
function formatLifecycleOpList(unifiedDiff) {
|
|
2435
|
+
const ops = summarizeLifecycleOps(unifiedDiff);
|
|
2436
|
+
if (ops.length === 0) {
|
|
2437
|
+
return "";
|
|
2438
|
+
}
|
|
2439
|
+
const items = ops
|
|
2440
|
+
.map((op) => {
|
|
2441
|
+
if (op.kind === "create") {
|
|
2442
|
+
return `<li><strong>NEW FILE</strong> ${escapeHtml(op.path)}</li>`;
|
|
2443
|
+
}
|
|
2444
|
+
if (op.kind === "delete") {
|
|
2445
|
+
return `<li><strong>DELETED</strong> ${escapeHtml(op.path)}</li>`;
|
|
2446
|
+
}
|
|
2447
|
+
if (op.kind === "rename") {
|
|
2448
|
+
return `<li><strong>RENAMED</strong> ${escapeHtml(op.source)} → ${escapeHtml(op.dest)}</li>`;
|
|
2449
|
+
}
|
|
2450
|
+
return `<li><strong>MODIFIED</strong> ${escapeHtml(op.path)}</li>`;
|
|
2451
|
+
})
|
|
2452
|
+
.join("");
|
|
2453
|
+
return `<ul class="lifecycle-ops" aria-label="Filesystem operations">${items}</ul>`;
|
|
2454
|
+
}
|
|
2455
|
+
|
|
2456
|
+
function summarizeLifecycleOps(unifiedDiff) {
|
|
2457
|
+
if (!unifiedDiff) {
|
|
2458
|
+
return [];
|
|
2459
|
+
}
|
|
2460
|
+
const ops = [];
|
|
2461
|
+
const lines = String(unifiedDiff).replace(/\r\n/g, "\n").split("\n");
|
|
2462
|
+
let gitA;
|
|
2463
|
+
let gitB;
|
|
2464
|
+
let renameFrom;
|
|
2465
|
+
let renameTo;
|
|
2466
|
+
let minus;
|
|
2467
|
+
for (const line of lines) {
|
|
2468
|
+
const git = /^diff --git a\/(.+) b\/(.+)$/.exec(line);
|
|
2469
|
+
if (git) {
|
|
2470
|
+
gitA = git[1];
|
|
2471
|
+
gitB = git[2];
|
|
2472
|
+
renameFrom = undefined;
|
|
2473
|
+
renameTo = undefined;
|
|
2474
|
+
minus = undefined;
|
|
2475
|
+
continue;
|
|
2476
|
+
}
|
|
2477
|
+
if (line.startsWith("rename from ")) {
|
|
2478
|
+
renameFrom = line.slice("rename from ".length).trim();
|
|
2479
|
+
continue;
|
|
2480
|
+
}
|
|
2481
|
+
if (line.startsWith("rename to ")) {
|
|
2482
|
+
renameTo = line.slice("rename to ".length).trim();
|
|
2483
|
+
continue;
|
|
2484
|
+
}
|
|
2485
|
+
if (line.startsWith("--- ")) {
|
|
2486
|
+
minus = line.slice(4).trim().split("\t")[0] ?? "";
|
|
2487
|
+
continue;
|
|
2488
|
+
}
|
|
2489
|
+
if (line.startsWith("+++ ")) {
|
|
2490
|
+
const plus = line.slice(4).trim().split("\t")[0] ?? "";
|
|
2491
|
+
if (minus === "/dev/null") {
|
|
2492
|
+
ops.push({ kind: "create", path: plus.replace(/^b\//, "") });
|
|
2493
|
+
} else if (plus === "/dev/null") {
|
|
2494
|
+
ops.push({
|
|
2495
|
+
kind: "delete",
|
|
2496
|
+
path: (minus || "").replace(/^a\//, "") || gitA
|
|
2497
|
+
});
|
|
2498
|
+
} else if ((renameFrom && renameTo) || (gitA && gitB && gitA !== gitB)) {
|
|
2499
|
+
ops.push({
|
|
2500
|
+
kind: "rename",
|
|
2501
|
+
source: renameFrom || gitA,
|
|
2502
|
+
dest: renameTo || gitB || plus.replace(/^b\//, "")
|
|
2503
|
+
});
|
|
2504
|
+
} else {
|
|
2505
|
+
ops.push({ kind: "modify", path: plus.replace(/^b\//, "") || gitB || gitA });
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
}
|
|
2509
|
+
return ops;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
function formatDiff(diff) {
|
|
2513
|
+
if (!diff) return "";
|
|
2514
|
+
return diff
|
|
2515
|
+
.split("\n")
|
|
2516
|
+
.map((line) => {
|
|
2517
|
+
let cls = "";
|
|
2518
|
+
let meaning = "";
|
|
2519
|
+
if (line.startsWith("+") && !line.startsWith("+++")) {
|
|
2520
|
+
cls = "add";
|
|
2521
|
+
meaning = ' data-diff="added" aria-label="added line"';
|
|
2522
|
+
} else if (line.startsWith("-") && !line.startsWith("---")) {
|
|
2523
|
+
cls = "del";
|
|
2524
|
+
meaning = ' data-diff="removed" aria-label="removed line"';
|
|
2525
|
+
}
|
|
2526
|
+
// Preserve exact proposal text (including leading +/−) for hash-bound review.
|
|
2527
|
+
return `<div class="diff-line ${cls}"${meaning}>${escapeHtml(line)}</div>`;
|
|
2528
|
+
})
|
|
2529
|
+
.join("");
|
|
2530
|
+
}
|
|
2531
|
+
|
|
2532
|
+
async function refresh() {
|
|
2533
|
+
await loadStatus();
|
|
2534
|
+
await loadRelayStatus();
|
|
2535
|
+
updateShellChrome();
|
|
2536
|
+
await loadNotificationStatus();
|
|
2537
|
+
if (state.view === "home") {
|
|
2538
|
+
await loadHome();
|
|
2539
|
+
renderHome();
|
|
2540
|
+
} else if (state.view === "people") {
|
|
2541
|
+
await loadPeers();
|
|
2542
|
+
renderPeople();
|
|
2543
|
+
} else if (state.view === "settings") {
|
|
2544
|
+
await loadSettings();
|
|
2545
|
+
renderSettings();
|
|
2546
|
+
} else if (isWorkView(state.view)) {
|
|
2547
|
+
await loadWorkFeed();
|
|
2548
|
+
renderList();
|
|
2549
|
+
}
|
|
2550
|
+
}
|
|
2551
|
+
|
|
2552
|
+
function restartPolling() {
|
|
2553
|
+
startPolling();
|
|
2554
|
+
}
|
|
2555
|
+
|
|
2556
|
+
function startPolling() {
|
|
2557
|
+
stopPolling();
|
|
2558
|
+
const tick = () => {
|
|
2559
|
+
refresh()
|
|
2560
|
+
.catch(() => undefined)
|
|
2561
|
+
.finally(() => {
|
|
2562
|
+
const ms = resolveLivePollIntervalMs({
|
|
2563
|
+
view: state.view,
|
|
2564
|
+
tab: state.view,
|
|
2565
|
+
liveItems: state.view === "live" ? state.workItems : [],
|
|
2566
|
+
actions: state.actions,
|
|
2567
|
+
selectedAction: state.selectedAction
|
|
2568
|
+
});
|
|
2569
|
+
state.pollTimer = window.setTimeout(tick, ms);
|
|
2570
|
+
});
|
|
2571
|
+
};
|
|
2572
|
+
const initial = resolveLivePollIntervalMs({
|
|
2573
|
+
view: state.view,
|
|
2574
|
+
tab: state.view,
|
|
2575
|
+
liveItems: state.view === "live" ? state.workItems : [],
|
|
2576
|
+
actions: state.actions,
|
|
2577
|
+
selectedAction: state.selectedAction
|
|
2578
|
+
});
|
|
2579
|
+
state.pollTimer = window.setTimeout(tick, initial);
|
|
2580
|
+
}
|
|
2581
|
+
|
|
2582
|
+
function stopPolling() {
|
|
2583
|
+
if (state.pollTimer) {
|
|
2584
|
+
window.clearTimeout(state.pollTimer);
|
|
2585
|
+
state.pollTimer = null;
|
|
2586
|
+
}
|
|
2587
|
+
}
|
|
2588
|
+
|
|
2589
|
+
function bindUi() {
|
|
2590
|
+
document.querySelectorAll(".nav-item[data-view]").forEach((btn) => {
|
|
2591
|
+
btn.addEventListener("click", () => {
|
|
2592
|
+
const view = btn.getAttribute("data-view") ?? "home";
|
|
2593
|
+
void setView(view);
|
|
2594
|
+
});
|
|
2595
|
+
});
|
|
2596
|
+
|
|
2597
|
+
document.getElementById("detail-close").addEventListener("click", closeDetail);
|
|
2598
|
+
notifyPrimary.addEventListener("click", () => {
|
|
2599
|
+
void onNotifyPrimary();
|
|
2600
|
+
});
|
|
2601
|
+
notifyDismiss.addEventListener("click", () => {
|
|
2602
|
+
void onNotifyDismiss();
|
|
2603
|
+
});
|
|
2604
|
+
|
|
2605
|
+
window.addEventListener("hashchange", () => {
|
|
2606
|
+
const hash = window.location.hash.replace(/^#/, "");
|
|
2607
|
+
const params = new URLSearchParams(hash);
|
|
2608
|
+
if (params.get("token")) {
|
|
2609
|
+
bootstrapDeepLink();
|
|
2610
|
+
return;
|
|
2611
|
+
}
|
|
2612
|
+
const view = params.get("view");
|
|
2613
|
+
const person = params.get("person");
|
|
2614
|
+
if (view) {
|
|
2615
|
+
const normalized = normalizeControlCenterView(view);
|
|
2616
|
+
if (normalized !== state.view || (person && person !== state.selectedPersonId)) {
|
|
2617
|
+
void setView(normalized, {
|
|
2618
|
+
skipUrl: true,
|
|
2619
|
+
...(person ? { personId: person } : {})
|
|
2620
|
+
});
|
|
2621
|
+
}
|
|
2622
|
+
}
|
|
2623
|
+
});
|
|
2624
|
+
|
|
2625
|
+
const tokenInput = document.getElementById("token-input");
|
|
2626
|
+
const tokenSubmit = document.getElementById("token-submit");
|
|
2627
|
+
|
|
2628
|
+
async function connectWithToken() {
|
|
2629
|
+
const token = normalizeControlToken(tokenInput.value);
|
|
2630
|
+
if (!token) {
|
|
2631
|
+
showAuth("Paste the control token from aroko control status --show-token.");
|
|
2632
|
+
return;
|
|
2633
|
+
}
|
|
2634
|
+
tokenInput.value = "";
|
|
2635
|
+
sessionStorage.setItem("pairmeshControlToken", token);
|
|
2636
|
+
state.token = token;
|
|
2637
|
+
tokenSubmit.disabled = true;
|
|
2638
|
+
tokenSubmit.textContent = "Opening…";
|
|
2639
|
+
try {
|
|
2640
|
+
await loadStatus();
|
|
2641
|
+
showApp();
|
|
2642
|
+
await setView(state.view || "home");
|
|
2643
|
+
startPolling();
|
|
2644
|
+
} catch (error) {
|
|
2645
|
+
sessionStorage.removeItem("pairmeshControlToken");
|
|
2646
|
+
state.token = "";
|
|
2647
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
2648
|
+
const hint =
|
|
2649
|
+
message.includes("401") || message.toLowerCase().includes("unauthorized")
|
|
2650
|
+
? "Wrong or stale token (tokens change after aroko restart). Run aroko control status --show-token again, or use aroko open."
|
|
2651
|
+
: humanizeLoadError(message);
|
|
2652
|
+
showAuth(hint);
|
|
2653
|
+
} finally {
|
|
2654
|
+
tokenSubmit.disabled = false;
|
|
2655
|
+
tokenSubmit.textContent = "Open Aroko";
|
|
2656
|
+
}
|
|
2657
|
+
}
|
|
2658
|
+
|
|
2659
|
+
tokenSubmit.addEventListener("click", () => {
|
|
2660
|
+
void connectWithToken();
|
|
2661
|
+
});
|
|
2662
|
+
tokenInput.addEventListener("keydown", (event) => {
|
|
2663
|
+
if (event.key === "Enter") {
|
|
2664
|
+
event.preventDefault();
|
|
2665
|
+
void connectWithToken();
|
|
2666
|
+
}
|
|
2667
|
+
});
|
|
2668
|
+
}
|
|
2669
|
+
|
|
2670
|
+
async function init() {
|
|
2671
|
+
state.baseUrl = window.location.origin;
|
|
2672
|
+
state.token = bootstrapDeepLink();
|
|
2673
|
+
bindUi();
|
|
2674
|
+
|
|
2675
|
+
const deepView =
|
|
2676
|
+
sessionStorage.getItem("pairmeshDeepLinkView") ||
|
|
2677
|
+
sessionStorage.getItem("arokoControlView") ||
|
|
2678
|
+
"home";
|
|
2679
|
+
const deepAction = sessionStorage.getItem("pairmeshDeepLinkAction");
|
|
2680
|
+
const deepPerson = sessionStorage.getItem("arokoSelectedPerson");
|
|
2681
|
+
sessionStorage.removeItem("pairmeshDeepLinkView");
|
|
2682
|
+
sessionStorage.removeItem("pairmeshDeepLinkAction");
|
|
2683
|
+
|
|
2684
|
+
state.view = normalizeControlCenterView(deepView);
|
|
2685
|
+
if (deepPerson) {
|
|
2686
|
+
state.selectedPersonId = deepPerson;
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
try {
|
|
2690
|
+
if (sessionStorage.getItem("pairmeshControlExchangeCode")) {
|
|
2691
|
+
await redeemExchangeCodeIfNeeded();
|
|
2692
|
+
}
|
|
2693
|
+
} catch (error) {
|
|
2694
|
+
showAuth(
|
|
2695
|
+
humanizeLoadError(error instanceof Error ? error.message : "Exchange code failed")
|
|
2696
|
+
);
|
|
2697
|
+
return;
|
|
2698
|
+
}
|
|
2699
|
+
|
|
2700
|
+
if (state.token) {
|
|
2701
|
+
try {
|
|
2702
|
+
await loadStatus();
|
|
2703
|
+
showApp();
|
|
2704
|
+
if (deepAction) {
|
|
2705
|
+
await setView("needs-you", { selectActionId: deepAction, keepDetail: true });
|
|
2706
|
+
} else {
|
|
2707
|
+
await setView(state.view, {
|
|
2708
|
+
...(state.view === "people" && state.selectedPersonId
|
|
2709
|
+
? { personId: state.selectedPersonId }
|
|
2710
|
+
: {})
|
|
2711
|
+
});
|
|
2712
|
+
}
|
|
2713
|
+
startPolling();
|
|
2714
|
+
} catch (error) {
|
|
2715
|
+
showAuth(humanizeLoadError(error instanceof Error ? error.message : String(error)));
|
|
2716
|
+
}
|
|
2717
|
+
} else {
|
|
2718
|
+
showAuth();
|
|
2719
|
+
}
|
|
2720
|
+
}
|
|
2721
|
+
|
|
2722
|
+
void init();
|
|
2723
|
+
|
|
2724
|
+
export const __pairmeshActivityUi = {
|
|
2725
|
+
ACTIVITY_POLL_MS,
|
|
2726
|
+
formatActivityLabel,
|
|
2727
|
+
prepareProgressTimeline,
|
|
2728
|
+
resolveLivePollIntervalMs
|
|
2729
|
+
};
|
|
2730
|
+
|
|
2731
|
+
export const __arokoControlCenter = {
|
|
2732
|
+
normalizeControlCenterView,
|
|
2733
|
+
buildHomeModel,
|
|
2734
|
+
homeHtmlContainsForbiddenTech,
|
|
2735
|
+
buildPeopleListModel,
|
|
2736
|
+
buildPersonDetailModel,
|
|
2737
|
+
isAllowSessionForbidden,
|
|
2738
|
+
mergeLiveWorkItems,
|
|
2739
|
+
mergeNeedsYouItems,
|
|
2740
|
+
mergeHistoryItems,
|
|
2741
|
+
buildLiveCardModel,
|
|
2742
|
+
buildNeedsYouCardModel,
|
|
2743
|
+
buildHistoryCardModel
|
|
2744
|
+
};
|