byterover-cli 1.7.0 → 1.7.2
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/README.md +7 -5
- package/dist/agent/infra/sandbox/local-sandbox.js +9 -2
- package/node_modules/@campfirein/brv-transport-client/README.md +409 -0
- package/node_modules/@campfirein/brv-transport-client/dist/constants.d.ts +19 -0
- package/node_modules/@campfirein/brv-transport-client/dist/constants.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/constants.js +24 -0
- package/node_modules/@campfirein/brv-transport-client/dist/constants.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.d.ts +77 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.js +135 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/entities/instance-info.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.d.ts +63 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.js +104 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/connection-error.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.d.ts +177 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.js +319 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/errors/transport-error.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.d.ts +216 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.js +172 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/event-names.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.d.ts +22 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.js +23 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/events/index.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.d.ts +47 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.js +7 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/types.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/common.d.ts +31 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/common.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/common.js +49 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/common.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/event-name-validator.d.ts +21 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/event-name-validator.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/event-name-validator.js +30 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/event-name-validator.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/index.d.ts +9 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/index.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/index.js +9 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/index.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/room-name-validator.d.ts +21 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/room-name-validator.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/room-name-validator.js +30 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/room-name-validator.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/url-validator.d.ts +29 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/url-validator.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/url-validator.js +61 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/domain/validators/url-validator.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.d.ts +44 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.d.ts +45 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client.d.ts +170 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.d.ts +78 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.d.ts +33 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-force-reconnect-manager.d.ts +42 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-force-reconnect-manager.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-force-reconnect-manager.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-force-reconnect-manager.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.d.ts +45 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.d.ts +19 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-reconnection-strategy.d.ts +27 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-reconnection-strategy.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-reconnection-strategy.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-reconnection-strategy.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-room-manager.d.ts +32 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-room-manager.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-room-manager.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-room-manager.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket-provider.d.ts +45 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket-provider.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket-provider.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket-provider.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket.d.ts +56 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-socket.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-wake-detector.d.ts +35 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-wake-detector.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-wake-detector.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-wake-detector.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/index.d.ts +65 -0
- package/node_modules/@campfirein/brv-transport-client/dist/index.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/index.js +73 -0
- package/node_modules/@campfirein/brv-transport-client/dist/index.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.d.ts +283 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.js +451 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/client-factory.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/connection-state-manager.d.ts +90 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/connection-state-manager.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/connection-state-manager.js +142 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/connection-state-manager.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/event-dispatcher.d.ts +168 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/event-dispatcher.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/event-dispatcher.js +265 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/event-dispatcher.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.d.ts +32 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.js +85 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-discovery.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.d.ts +16 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.js +47 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/file-instance-reader.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.d.ts +102 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.js +161 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/force-reconnect-manager.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/no-op-client-logger.d.ts +17 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/no-op-client-logger.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/no-op-client-logger.js +24 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/no-op-client-logger.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/process-utils.d.ts +17 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/process-utils.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/process-utils.js +40 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/process-utils.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/reconnection-strategy.d.ts +136 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/reconnection-strategy.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/reconnection-strategy.js +174 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/reconnection-strategy.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/room-manager.d.ts +122 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/room-manager.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/room-manager.js +306 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/room-manager.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.d.ts +14 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.js +28 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/index.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.d.ts +953 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.js +476 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/schemas.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/types.d.ts +221 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/types.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/types.js +2 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/schemas/types.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.d.ts +283 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.js +668 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/socket-io-client.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/utils/deep-freeze.d.ts +25 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/utils/deep-freeze.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/utils/deep-freeze.js +54 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/utils/deep-freeze.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/wake-detector.d.ts +72 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/wake-detector.d.ts.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/wake-detector.js +130 -0
- package/node_modules/@campfirein/brv-transport-client/dist/infra/wake-detector.js.map +1 -0
- package/node_modules/@campfirein/brv-transport-client/package.json +62 -0
- package/node_modules/@socket.io/component-emitter/LICENSE +24 -0
- package/node_modules/@socket.io/component-emitter/Readme.md +79 -0
- package/node_modules/@socket.io/component-emitter/lib/cjs/index.d.ts +179 -0
- package/node_modules/@socket.io/component-emitter/lib/cjs/index.js +176 -0
- package/node_modules/@socket.io/component-emitter/lib/cjs/package.json +4 -0
- package/node_modules/@socket.io/component-emitter/lib/esm/index.d.ts +179 -0
- package/node_modules/@socket.io/component-emitter/lib/esm/index.js +169 -0
- package/node_modules/@socket.io/component-emitter/lib/esm/package.json +4 -0
- package/node_modules/@socket.io/component-emitter/package.json +28 -0
- package/node_modules/engine.io-client/LICENSE +22 -0
- package/node_modules/engine.io-client/README.md +331 -0
- package/node_modules/engine.io-client/build/cjs/browser-entrypoint.d.ts +3 -0
- package/node_modules/engine.io-client/build/cjs/browser-entrypoint.js +4 -0
- package/node_modules/engine.io-client/build/cjs/contrib/has-cors.d.ts +1 -0
- package/node_modules/engine.io-client/build/cjs/contrib/has-cors.js +14 -0
- package/node_modules/engine.io-client/build/cjs/contrib/parseqs.d.ts +15 -0
- package/node_modules/engine.io-client/build/cjs/contrib/parseqs.js +38 -0
- package/node_modules/engine.io-client/build/cjs/contrib/parseuri.d.ts +1 -0
- package/node_modules/engine.io-client/build/cjs/contrib/parseuri.js +67 -0
- package/node_modules/engine.io-client/build/cjs/globals.d.ts +4 -0
- package/node_modules/engine.io-client/build/cjs/globals.js +26 -0
- package/node_modules/engine.io-client/build/cjs/globals.node.d.ts +21 -0
- package/node_modules/engine.io-client/build/cjs/globals.node.js +97 -0
- package/node_modules/engine.io-client/build/cjs/index.d.ts +15 -0
- package/node_modules/engine.io-client/build/cjs/index.js +32 -0
- package/node_modules/engine.io-client/build/cjs/package.json +10 -0
- package/node_modules/engine.io-client/build/cjs/socket.d.ts +482 -0
- package/node_modules/engine.io-client/build/cjs/socket.js +765 -0
- package/node_modules/engine.io-client/build/cjs/transport.d.ts +106 -0
- package/node_modules/engine.io-client/build/cjs/transport.js +153 -0
- package/node_modules/engine.io-client/build/cjs/transports/index.d.ts +8 -0
- package/node_modules/engine.io-client/build/cjs/transports/index.js +11 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling-fetch.d.ts +15 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling-fetch.js +60 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling-xhr.d.ts +108 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling-xhr.js +285 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling-xhr.node.d.ts +11 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling-xhr.node.js +44 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling.d.ts +52 -0
- package/node_modules/engine.io-client/build/cjs/transports/polling.js +165 -0
- package/node_modules/engine.io-client/build/cjs/transports/websocket.d.ts +36 -0
- package/node_modules/engine.io-client/build/cjs/transports/websocket.js +136 -0
- package/node_modules/engine.io-client/build/cjs/transports/websocket.node.d.ts +14 -0
- package/node_modules/engine.io-client/build/cjs/transports/websocket.node.js +68 -0
- package/node_modules/engine.io-client/build/cjs/transports/webtransport.d.ts +18 -0
- package/node_modules/engine.io-client/build/cjs/transports/webtransport.js +94 -0
- package/node_modules/engine.io-client/build/cjs/util.d.ts +7 -0
- package/node_modules/engine.io-client/build/cjs/util.js +65 -0
- package/node_modules/engine.io-client/build/esm/browser-entrypoint.d.ts +3 -0
- package/node_modules/engine.io-client/build/esm/browser-entrypoint.js +2 -0
- package/node_modules/engine.io-client/build/esm/contrib/has-cors.d.ts +1 -0
- package/node_modules/engine.io-client/build/esm/contrib/has-cors.js +11 -0
- package/node_modules/engine.io-client/build/esm/contrib/parseqs.d.ts +15 -0
- package/node_modules/engine.io-client/build/esm/contrib/parseqs.js +34 -0
- package/node_modules/engine.io-client/build/esm/contrib/parseuri.d.ts +1 -0
- package/node_modules/engine.io-client/build/esm/contrib/parseuri.js +64 -0
- package/node_modules/engine.io-client/build/esm/globals.d.ts +4 -0
- package/node_modules/engine.io-client/build/esm/globals.js +22 -0
- package/node_modules/engine.io-client/build/esm/globals.node.d.ts +21 -0
- package/node_modules/engine.io-client/build/esm/globals.node.js +91 -0
- package/node_modules/engine.io-client/build/esm/index.d.ts +15 -0
- package/node_modules/engine.io-client/build/esm/index.js +15 -0
- package/node_modules/engine.io-client/build/esm/package.json +10 -0
- package/node_modules/engine.io-client/build/esm/socket.d.ts +482 -0
- package/node_modules/engine.io-client/build/esm/socket.js +727 -0
- package/node_modules/engine.io-client/build/esm/transport.d.ts +106 -0
- package/node_modules/engine.io-client/build/esm/transport.js +142 -0
- package/node_modules/engine.io-client/build/esm/transports/index.d.ts +8 -0
- package/node_modules/engine.io-client/build/esm/transports/index.js +8 -0
- package/node_modules/engine.io-client/build/esm/transports/polling-fetch.d.ts +15 -0
- package/node_modules/engine.io-client/build/esm/transports/polling-fetch.js +56 -0
- package/node_modules/engine.io-client/build/esm/transports/polling-xhr.d.ts +108 -0
- package/node_modules/engine.io-client/build/esm/transports/polling-xhr.js +271 -0
- package/node_modules/engine.io-client/build/esm/transports/polling-xhr.node.d.ts +11 -0
- package/node_modules/engine.io-client/build/esm/transports/polling-xhr.node.js +17 -0
- package/node_modules/engine.io-client/build/esm/transports/polling.d.ts +52 -0
- package/node_modules/engine.io-client/build/esm/transports/polling.js +145 -0
- package/node_modules/engine.io-client/build/esm/transports/websocket.d.ts +36 -0
- package/node_modules/engine.io-client/build/esm/transports/websocket.js +125 -0
- package/node_modules/engine.io-client/build/esm/transports/websocket.node.d.ts +14 -0
- package/node_modules/engine.io-client/build/esm/transports/websocket.node.js +41 -0
- package/node_modules/engine.io-client/build/esm/transports/webtransport.d.ts +18 -0
- package/node_modules/engine.io-client/build/esm/transports/webtransport.js +80 -0
- package/node_modules/engine.io-client/build/esm/util.d.ts +7 -0
- package/node_modules/engine.io-client/build/esm/util.js +59 -0
- package/node_modules/engine.io-client/build/esm-debug/browser-entrypoint.d.ts +3 -0
- package/node_modules/engine.io-client/build/esm-debug/browser-entrypoint.js +2 -0
- package/node_modules/engine.io-client/build/esm-debug/contrib/has-cors.d.ts +1 -0
- package/node_modules/engine.io-client/build/esm-debug/contrib/has-cors.js +11 -0
- package/node_modules/engine.io-client/build/esm-debug/contrib/parseqs.d.ts +15 -0
- package/node_modules/engine.io-client/build/esm-debug/contrib/parseqs.js +34 -0
- package/node_modules/engine.io-client/build/esm-debug/contrib/parseuri.d.ts +1 -0
- package/node_modules/engine.io-client/build/esm-debug/contrib/parseuri.js +64 -0
- package/node_modules/engine.io-client/build/esm-debug/globals.d.ts +4 -0
- package/node_modules/engine.io-client/build/esm-debug/globals.js +22 -0
- package/node_modules/engine.io-client/build/esm-debug/globals.node.d.ts +21 -0
- package/node_modules/engine.io-client/build/esm-debug/globals.node.js +91 -0
- package/node_modules/engine.io-client/build/esm-debug/index.d.ts +15 -0
- package/node_modules/engine.io-client/build/esm-debug/index.js +15 -0
- package/node_modules/engine.io-client/build/esm-debug/package.json +10 -0
- package/node_modules/engine.io-client/build/esm-debug/socket.d.ts +482 -0
- package/node_modules/engine.io-client/build/esm-debug/socket.js +756 -0
- package/node_modules/engine.io-client/build/esm-debug/transport.d.ts +106 -0
- package/node_modules/engine.io-client/build/esm-debug/transport.js +145 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/index.d.ts +8 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/index.js +8 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling-fetch.d.ts +15 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling-fetch.js +56 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.d.ts +108 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.js +276 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.node.d.ts +11 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling-xhr.node.js +17 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling.d.ts +52 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/polling.js +158 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/websocket.d.ts +36 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/websocket.js +128 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/websocket.node.d.ts +14 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/websocket.node.js +41 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/webtransport.d.ts +18 -0
- package/node_modules/engine.io-client/build/esm-debug/transports/webtransport.js +87 -0
- package/node_modules/engine.io-client/build/esm-debug/util.d.ts +7 -0
- package/node_modules/engine.io-client/build/esm-debug/util.js +59 -0
- package/node_modules/engine.io-client/dist/engine.io.esm.min.js +7 -0
- package/node_modules/engine.io-client/dist/engine.io.esm.min.js.map +1 -0
- package/node_modules/engine.io-client/dist/engine.io.js +2968 -0
- package/node_modules/engine.io-client/dist/engine.io.js.map +1 -0
- package/node_modules/engine.io-client/dist/engine.io.min.js +7 -0
- package/node_modules/engine.io-client/dist/engine.io.min.js.map +1 -0
- package/node_modules/engine.io-client/node_modules/debug/LICENSE +20 -0
- package/node_modules/engine.io-client/node_modules/debug/README.md +481 -0
- package/node_modules/engine.io-client/node_modules/debug/package.json +60 -0
- package/node_modules/engine.io-client/node_modules/debug/src/browser.js +271 -0
- package/node_modules/engine.io-client/node_modules/debug/src/common.js +274 -0
- package/node_modules/engine.io-client/node_modules/debug/src/index.js +10 -0
- package/node_modules/engine.io-client/node_modules/debug/src/node.js +263 -0
- package/node_modules/engine.io-client/node_modules/ws/LICENSE +20 -0
- package/node_modules/engine.io-client/node_modules/ws/README.md +548 -0
- package/node_modules/engine.io-client/node_modules/ws/browser.js +8 -0
- package/node_modules/engine.io-client/node_modules/ws/index.js +13 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/buffer-util.js +131 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/constants.js +12 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/event-target.js +292 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/extension.js +203 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/limiter.js +55 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/permessage-deflate.js +514 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/receiver.js +704 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/sender.js +497 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/stream.js +159 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/subprotocol.js +62 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/validation.js +130 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/websocket-server.js +540 -0
- package/node_modules/engine.io-client/node_modules/ws/lib/websocket.js +1338 -0
- package/node_modules/engine.io-client/node_modules/ws/package.json +69 -0
- package/node_modules/engine.io-client/node_modules/ws/wrapper.mjs +8 -0
- package/node_modules/engine.io-client/package.json +95 -0
- package/node_modules/engine.io-parser/LICENSE +22 -0
- package/node_modules/engine.io-parser/Readme.md +158 -0
- package/node_modules/engine.io-parser/build/cjs/commons.d.ts +14 -0
- package/node_modules/engine.io-parser/build/cjs/commons.js +19 -0
- package/node_modules/engine.io-parser/build/cjs/contrib/base64-arraybuffer.d.ts +2 -0
- package/node_modules/engine.io-parser/build/cjs/contrib/base64-arraybuffer.js +48 -0
- package/node_modules/engine.io-parser/build/cjs/decodePacket.browser.d.ts +2 -0
- package/node_modules/engine.io-parser/build/cjs/decodePacket.browser.js +66 -0
- package/node_modules/engine.io-parser/build/cjs/decodePacket.d.ts +2 -0
- package/node_modules/engine.io-parser/build/cjs/decodePacket.js +59 -0
- package/node_modules/engine.io-parser/build/cjs/encodePacket.browser.d.ts +4 -0
- package/node_modules/engine.io-parser/build/cjs/encodePacket.browser.js +72 -0
- package/node_modules/engine.io-parser/build/cjs/encodePacket.d.ts +3 -0
- package/node_modules/engine.io-parser/build/cjs/encodePacket.js +38 -0
- package/node_modules/engine.io-parser/build/cjs/index.d.ts +9 -0
- package/node_modules/engine.io-parser/build/cjs/index.js +164 -0
- package/node_modules/engine.io-parser/build/cjs/package.json +8 -0
- package/node_modules/engine.io-parser/build/esm/commons.d.ts +14 -0
- package/node_modules/engine.io-parser/build/esm/commons.js +14 -0
- package/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.d.ts +2 -0
- package/node_modules/engine.io-parser/build/esm/contrib/base64-arraybuffer.js +43 -0
- package/node_modules/engine.io-parser/build/esm/decodePacket.browser.d.ts +2 -0
- package/node_modules/engine.io-parser/build/esm/decodePacket.browser.js +62 -0
- package/node_modules/engine.io-parser/build/esm/decodePacket.d.ts +2 -0
- package/node_modules/engine.io-parser/build/esm/decodePacket.js +55 -0
- package/node_modules/engine.io-parser/build/esm/encodePacket.browser.d.ts +4 -0
- package/node_modules/engine.io-parser/build/esm/encodePacket.browser.js +68 -0
- package/node_modules/engine.io-parser/build/esm/encodePacket.d.ts +3 -0
- package/node_modules/engine.io-parser/build/esm/encodePacket.js +33 -0
- package/node_modules/engine.io-parser/build/esm/index.d.ts +9 -0
- package/node_modules/engine.io-parser/build/esm/index.js +156 -0
- package/node_modules/engine.io-parser/build/esm/package.json +8 -0
- package/node_modules/engine.io-parser/package.json +46 -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/socket.io-client/LICENSE +21 -0
- package/node_modules/socket.io-client/README.md +29 -0
- package/node_modules/socket.io-client/build/cjs/browser-entrypoint.d.ts +2 -0
- package/node_modules/socket.io-client/build/cjs/browser-entrypoint.js +4 -0
- package/node_modules/socket.io-client/build/cjs/contrib/backo2.d.ts +12 -0
- package/node_modules/socket.io-client/build/cjs/contrib/backo2.js +69 -0
- package/node_modules/socket.io-client/build/cjs/index.d.ts +29 -0
- package/node_modules/socket.io-client/build/cjs/index.js +76 -0
- package/node_modules/socket.io-client/build/cjs/manager.d.ts +295 -0
- package/node_modules/socket.io-client/build/cjs/manager.js +416 -0
- package/node_modules/socket.io-client/build/cjs/on.d.ts +2 -0
- package/node_modules/socket.io-client/build/cjs/on.js +9 -0
- package/node_modules/socket.io-client/build/cjs/socket.d.ts +593 -0
- package/node_modules/socket.io-client/build/cjs/socket.js +910 -0
- package/node_modules/socket.io-client/build/cjs/url.d.ts +33 -0
- package/node_modules/socket.io-client/build/cjs/url.js +69 -0
- package/node_modules/socket.io-client/build/esm/browser-entrypoint.d.ts +2 -0
- package/node_modules/socket.io-client/build/esm/browser-entrypoint.js +2 -0
- package/node_modules/socket.io-client/build/esm/contrib/backo2.d.ts +12 -0
- package/node_modules/socket.io-client/build/esm/contrib/backo2.js +66 -0
- package/node_modules/socket.io-client/build/esm/index.d.ts +29 -0
- package/node_modules/socket.io-client/build/esm/index.js +58 -0
- package/node_modules/socket.io-client/build/esm/manager.d.ts +295 -0
- package/node_modules/socket.io-client/build/esm/manager.js +367 -0
- package/node_modules/socket.io-client/build/esm/on.d.ts +2 -0
- package/node_modules/socket.io-client/build/esm/on.js +6 -0
- package/node_modules/socket.io-client/build/esm/package.json +5 -0
- package/node_modules/socket.io-client/build/esm/socket.d.ts +593 -0
- package/node_modules/socket.io-client/build/esm/socket.js +882 -0
- package/node_modules/socket.io-client/build/esm/url.d.ts +33 -0
- package/node_modules/socket.io-client/build/esm/url.js +59 -0
- package/node_modules/socket.io-client/build/esm-debug/browser-entrypoint.d.ts +2 -0
- package/node_modules/socket.io-client/build/esm-debug/browser-entrypoint.js +2 -0
- package/node_modules/socket.io-client/build/esm-debug/contrib/backo2.d.ts +12 -0
- package/node_modules/socket.io-client/build/esm-debug/contrib/backo2.js +66 -0
- package/node_modules/socket.io-client/build/esm-debug/index.d.ts +29 -0
- package/node_modules/socket.io-client/build/esm-debug/index.js +62 -0
- package/node_modules/socket.io-client/build/esm-debug/manager.d.ts +295 -0
- package/node_modules/socket.io-client/build/esm-debug/manager.js +386 -0
- package/node_modules/socket.io-client/build/esm-debug/on.d.ts +2 -0
- package/node_modules/socket.io-client/build/esm-debug/on.js +6 -0
- package/node_modules/socket.io-client/build/esm-debug/package.json +5 -0
- package/node_modules/socket.io-client/build/esm-debug/socket.d.ts +593 -0
- package/node_modules/socket.io-client/build/esm-debug/socket.js +903 -0
- package/node_modules/socket.io-client/build/esm-debug/url.d.ts +33 -0
- package/node_modules/socket.io-client/build/esm-debug/url.js +63 -0
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js +7 -0
- package/node_modules/socket.io-client/dist/socket.io.esm.min.js.map +1 -0
- package/node_modules/socket.io-client/dist/socket.io.js +4908 -0
- package/node_modules/socket.io-client/dist/socket.io.js.map +1 -0
- package/node_modules/socket.io-client/dist/socket.io.min.js +7 -0
- package/node_modules/socket.io-client/dist/socket.io.min.js.map +1 -0
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js +7 -0
- package/node_modules/socket.io-client/dist/socket.io.msgpack.min.js.map +1 -0
- package/node_modules/socket.io-client/node_modules/debug/LICENSE +20 -0
- package/node_modules/socket.io-client/node_modules/debug/README.md +481 -0
- package/node_modules/socket.io-client/node_modules/debug/package.json +60 -0
- package/node_modules/socket.io-client/node_modules/debug/src/browser.js +271 -0
- package/node_modules/socket.io-client/node_modules/debug/src/common.js +274 -0
- package/node_modules/socket.io-client/node_modules/debug/src/index.js +10 -0
- package/node_modules/socket.io-client/node_modules/debug/src/node.js +263 -0
- package/node_modules/socket.io-client/package.json +101 -0
- package/node_modules/socket.io-parser/LICENSE +20 -0
- package/node_modules/socket.io-parser/Readme.md +81 -0
- package/node_modules/socket.io-parser/build/cjs/binary.d.ts +20 -0
- package/node_modules/socket.io-parser/build/cjs/binary.js +88 -0
- package/node_modules/socket.io-parser/build/cjs/index.d.ts +90 -0
- package/node_modules/socket.io-parser/build/cjs/index.js +321 -0
- package/node_modules/socket.io-parser/build/cjs/is-binary.d.ts +7 -0
- package/node_modules/socket.io-parser/build/cjs/is-binary.js +55 -0
- package/node_modules/socket.io-parser/build/cjs/package.json +3 -0
- package/node_modules/socket.io-parser/build/esm/binary.d.ts +20 -0
- package/node_modules/socket.io-parser/build/esm/binary.js +83 -0
- package/node_modules/socket.io-parser/build/esm/index.d.ts +90 -0
- package/node_modules/socket.io-parser/build/esm/index.js +311 -0
- package/node_modules/socket.io-parser/build/esm/is-binary.d.ts +7 -0
- package/node_modules/socket.io-parser/build/esm/is-binary.js +50 -0
- package/node_modules/socket.io-parser/build/esm/package.json +3 -0
- package/node_modules/socket.io-parser/build/esm-debug/binary.d.ts +20 -0
- package/node_modules/socket.io-parser/build/esm-debug/binary.js +83 -0
- package/node_modules/socket.io-parser/build/esm-debug/index.d.ts +90 -0
- package/node_modules/socket.io-parser/build/esm-debug/index.js +316 -0
- package/node_modules/socket.io-parser/build/esm-debug/is-binary.d.ts +7 -0
- package/node_modules/socket.io-parser/build/esm-debug/is-binary.js +50 -0
- package/node_modules/socket.io-parser/build/esm-debug/package.json +3 -0
- package/node_modules/socket.io-parser/node_modules/debug/LICENSE +20 -0
- package/node_modules/socket.io-parser/node_modules/debug/README.md +481 -0
- package/node_modules/socket.io-parser/node_modules/debug/package.json +60 -0
- package/node_modules/socket.io-parser/node_modules/debug/src/browser.js +271 -0
- package/node_modules/socket.io-parser/node_modules/debug/src/common.js +274 -0
- package/node_modules/socket.io-parser/node_modules/debug/src/index.js +10 -0
- package/node_modules/socket.io-parser/node_modules/debug/src/node.js +263 -0
- package/node_modules/socket.io-parser/package.json +58 -0
- package/node_modules/xmlhttprequest-ssl/LICENSE +22 -0
- package/node_modules/xmlhttprequest-ssl/README.md +67 -0
- package/node_modules/xmlhttprequest-ssl/lib/XMLHttpRequest.js +689 -0
- package/node_modules/xmlhttprequest-ssl/package.json +40 -0
- package/node_modules/zod/LICENSE +21 -0
- package/node_modules/zod/README.md +208 -0
- package/node_modules/zod/index.cjs +33 -0
- package/node_modules/zod/index.d.cts +4 -0
- package/node_modules/zod/index.d.ts +4 -0
- package/node_modules/zod/index.js +4 -0
- package/node_modules/zod/package.json +118 -0
- package/node_modules/zod/src/index.ts +4 -0
- package/node_modules/zod/src/v3/ZodError.ts +330 -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 +56 -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 +551 -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 +257 -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 +110 -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 +207 -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 +21 -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 +434 -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 +194 -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 +916 -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 +5136 -0
- package/node_modules/zod/src/v4/classic/checks.ts +30 -0
- package/node_modules/zod/src/v4/classic/coerce.ts +27 -0
- package/node_modules/zod/src/v4/classic/compat.ts +66 -0
- package/node_modules/zod/src/v4/classic/errors.ts +75 -0
- package/node_modules/zod/src/v4/classic/external.ts +50 -0
- package/node_modules/zod/src/v4/classic/index.ts +5 -0
- package/node_modules/zod/src/v4/classic/iso.ts +90 -0
- package/node_modules/zod/src/v4/classic/parse.ts +33 -0
- package/node_modules/zod/src/v4/classic/schemas.ts +2054 -0
- package/node_modules/zod/src/v4/classic/tests/anyunknown.test.ts +26 -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 +210 -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 +54 -0
- package/node_modules/zod/src/v4/classic/tests/brand.test.ts +63 -0
- package/node_modules/zod/src/v4/classic/tests/catch.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/coalesce.test.ts +20 -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 +352 -0
- package/node_modules/zod/src/v4/classic/tests/custom.test.ts +40 -0
- package/node_modules/zod/src/v4/classic/tests/date.test.ts +31 -0
- package/node_modules/zod/src/v4/classic/tests/datetime.test.ts +296 -0
- package/node_modules/zod/src/v4/classic/tests/default.test.ts +313 -0
- package/node_modules/zod/src/v4/classic/tests/description.test.ts +32 -0
- package/node_modules/zod/src/v4/classic/tests/discriminated-unions.test.ts +619 -0
- package/node_modules/zod/src/v4/classic/tests/enum.test.ts +285 -0
- package/node_modules/zod/src/v4/classic/tests/error-utils.test.ts +527 -0
- package/node_modules/zod/src/v4/classic/tests/error.test.ts +711 -0
- package/node_modules/zod/src/v4/classic/tests/file.test.ts +91 -0
- package/node_modules/zod/src/v4/classic/tests/firstparty.test.ts +175 -0
- package/node_modules/zod/src/v4/classic/tests/function.test.ts +268 -0
- package/node_modules/zod/src/v4/classic/tests/generics.test.ts +72 -0
- package/node_modules/zod/src/v4/classic/tests/index.test.ts +829 -0
- package/node_modules/zod/src/v4/classic/tests/instanceof.test.ts +34 -0
- package/node_modules/zod/src/v4/classic/tests/intersection.test.ts +171 -0
- package/node_modules/zod/src/v4/classic/tests/json.test.ts +108 -0
- package/node_modules/zod/src/v4/classic/tests/lazy.test.ts +227 -0
- package/node_modules/zod/src/v4/classic/tests/literal.test.ts +92 -0
- package/node_modules/zod/src/v4/classic/tests/map.test.ts +196 -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 +86 -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 +247 -0
- package/node_modules/zod/src/v4/classic/tests/object.test.ts +563 -0
- package/node_modules/zod/src/v4/classic/tests/optional.test.ts +123 -0
- package/node_modules/zod/src/v4/classic/tests/partial.test.ts +147 -0
- package/node_modules/zod/src/v4/classic/tests/pickomit.test.ts +127 -0
- package/node_modules/zod/src/v4/classic/tests/pipe.test.ts +81 -0
- package/node_modules/zod/src/v4/classic/tests/prefault.test.ts +37 -0
- package/node_modules/zod/src/v4/classic/tests/preprocess.test.ts +298 -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/prototypes.test.ts +23 -0
- package/node_modules/zod/src/v4/classic/tests/readonly.test.ts +252 -0
- package/node_modules/zod/src/v4/classic/tests/record.test.ts +342 -0
- package/node_modules/zod/src/v4/classic/tests/recursive-types.test.ts +356 -0
- package/node_modules/zod/src/v4/classic/tests/refine.test.ts +532 -0
- package/node_modules/zod/src/v4/classic/tests/registries.test.ts +204 -0
- package/node_modules/zod/src/v4/classic/tests/set.test.ts +179 -0
- package/node_modules/zod/src/v4/classic/tests/standard-schema.test.ts +57 -0
- package/node_modules/zod/src/v4/classic/tests/string-formats.test.ts +109 -0
- package/node_modules/zod/src/v4/classic/tests/string.test.ts +881 -0
- package/node_modules/zod/src/v4/classic/tests/stringbool.test.ts +66 -0
- package/node_modules/zod/src/v4/classic/tests/template-literal.test.ts +758 -0
- package/node_modules/zod/src/v4/classic/tests/to-json-schema.test.ts +2314 -0
- package/node_modules/zod/src/v4/classic/tests/transform.test.ts +250 -0
- package/node_modules/zod/src/v4/classic/tests/tuple.test.ts +163 -0
- package/node_modules/zod/src/v4/classic/tests/union.test.ts +94 -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 +1594 -0
- package/node_modules/zod/src/v4/core/checks.ts +1283 -0
- package/node_modules/zod/src/v4/core/config.ts +15 -0
- package/node_modules/zod/src/v4/core/core.ts +134 -0
- package/node_modules/zod/src/v4/core/doc.ts +44 -0
- package/node_modules/zod/src/v4/core/errors.ts +424 -0
- package/node_modules/zod/src/v4/core/function.ts +176 -0
- package/node_modules/zod/src/v4/core/index.ts +15 -0
- package/node_modules/zod/src/v4/core/json-schema.ts +143 -0
- package/node_modules/zod/src/v4/core/parse.ts +94 -0
- package/node_modules/zod/src/v4/core/regexes.ts +135 -0
- package/node_modules/zod/src/v4/core/registries.ts +96 -0
- package/node_modules/zod/src/v4/core/schemas.ts +3842 -0
- package/node_modules/zod/src/v4/core/standard-schema.ts +64 -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/en.test.ts +22 -0
- package/node_modules/zod/src/v4/core/tests/locales/ru.test.ts +128 -0
- package/node_modules/zod/src/v4/core/tests/locales/tr.test.ts +69 -0
- package/node_modules/zod/src/v4/core/to-json-schema.ts +977 -0
- package/node_modules/zod/src/v4/core/util.ts +775 -0
- package/node_modules/zod/src/v4/core/versions.ts +5 -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 +125 -0
- package/node_modules/zod/src/v4/locales/az.ts +121 -0
- package/node_modules/zod/src/v4/locales/be.ts +184 -0
- package/node_modules/zod/src/v4/locales/ca.ts +127 -0
- package/node_modules/zod/src/v4/locales/cs.ts +142 -0
- package/node_modules/zod/src/v4/locales/de.ts +124 -0
- package/node_modules/zod/src/v4/locales/en.ts +127 -0
- package/node_modules/zod/src/v4/locales/eo.ts +125 -0
- package/node_modules/zod/src/v4/locales/es.ts +125 -0
- package/node_modules/zod/src/v4/locales/fa.ts +134 -0
- package/node_modules/zod/src/v4/locales/fi.ts +131 -0
- package/node_modules/zod/src/v4/locales/fr-CA.ts +126 -0
- package/node_modules/zod/src/v4/locales/fr.ts +124 -0
- package/node_modules/zod/src/v4/locales/he.ts +125 -0
- package/node_modules/zod/src/v4/locales/hu.ts +126 -0
- package/node_modules/zod/src/v4/locales/id.ts +125 -0
- package/node_modules/zod/src/v4/locales/index.ts +39 -0
- package/node_modules/zod/src/v4/locales/it.ts +125 -0
- package/node_modules/zod/src/v4/locales/ja.ts +122 -0
- package/node_modules/zod/src/v4/locales/kh.ts +126 -0
- package/node_modules/zod/src/v4/locales/ko.ts +131 -0
- package/node_modules/zod/src/v4/locales/mk.ts +127 -0
- package/node_modules/zod/src/v4/locales/ms.ts +124 -0
- package/node_modules/zod/src/v4/locales/nl.ts +126 -0
- package/node_modules/zod/src/v4/locales/no.ts +124 -0
- package/node_modules/zod/src/v4/locales/ota.ts +125 -0
- package/node_modules/zod/src/v4/locales/pl.ts +126 -0
- package/node_modules/zod/src/v4/locales/ps.ts +133 -0
- package/node_modules/zod/src/v4/locales/pt.ts +123 -0
- package/node_modules/zod/src/v4/locales/ru.ts +184 -0
- package/node_modules/zod/src/v4/locales/sl.ts +126 -0
- package/node_modules/zod/src/v4/locales/sv.ts +127 -0
- package/node_modules/zod/src/v4/locales/ta.ts +125 -0
- package/node_modules/zod/src/v4/locales/th.ts +126 -0
- package/node_modules/zod/src/v4/locales/tr.ts +121 -0
- package/node_modules/zod/src/v4/locales/ua.ts +126 -0
- package/node_modules/zod/src/v4/locales/ur.ts +126 -0
- package/node_modules/zod/src/v4/locales/vi.ts +125 -0
- package/node_modules/zod/src/v4/locales/zh-CN.ts +123 -0
- package/node_modules/zod/src/v4/locales/zh-TW.ts +125 -0
- package/node_modules/zod/src/v4/mini/checks.ts +32 -0
- package/node_modules/zod/src/v4/mini/coerce.ts +22 -0
- package/node_modules/zod/src/v4/mini/external.ts +40 -0
- package/node_modules/zod/src/v4/mini/index.ts +3 -0
- package/node_modules/zod/src/v4/mini/iso.ts +62 -0
- package/node_modules/zod/src/v4/mini/parse.ts +1 -0
- package/node_modules/zod/src/v4/mini/schemas.ts +1579 -0
- package/node_modules/zod/src/v4/mini/tests/assignability.test.ts +129 -0
- package/node_modules/zod/src/v4/mini/tests/brand.test.ts +51 -0
- package/node_modules/zod/src/v4/mini/tests/checks.test.ts +144 -0
- package/node_modules/zod/src/v4/mini/tests/computed.test.ts +36 -0
- package/node_modules/zod/src/v4/mini/tests/error.test.ts +22 -0
- package/node_modules/zod/src/v4/mini/tests/functions.test.ts +43 -0
- package/node_modules/zod/src/v4/mini/tests/index.test.ts +871 -0
- package/node_modules/zod/src/v4/mini/tests/number.test.ts +95 -0
- package/node_modules/zod/src/v4/mini/tests/object.test.ts +185 -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 +275 -0
- package/node_modules/zod/src/v4/mini/tests/string.test.ts +299 -0
- package/node_modules/zod/src/v4-mini/index.ts +1 -0
- package/node_modules/zod/v3/ZodError.cjs +138 -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 +133 -0
- package/node_modules/zod/v3/errors.cjs +17 -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 +22 -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 +2 -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 +9 -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 +124 -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 +2 -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 +2 -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 +137 -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 +33 -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 +111 -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/standard-schema.cjs +2 -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 +3775 -0
- package/node_modules/zod/v3/types.d.cts +1031 -0
- package/node_modules/zod/v3/types.d.ts +1031 -0
- package/node_modules/zod/v3/types.js +3693 -0
- package/node_modules/zod/v4/classic/checks.cjs +32 -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 +47 -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 +57 -0
- package/node_modules/zod/v4/classic/compat.d.cts +46 -0
- package/node_modules/zod/v4/classic/compat.d.ts +46 -0
- package/node_modules/zod/v4/classic/compat.js +27 -0
- package/node_modules/zod/v4/classic/errors.cjs +67 -0
- package/node_modules/zod/v4/classic/errors.d.cts +30 -0
- package/node_modules/zod/v4/classic/errors.d.ts +30 -0
- package/node_modules/zod/v4/classic/errors.js +41 -0
- package/node_modules/zod/v4/classic/external.cjs +70 -0
- package/node_modules/zod/v4/classic/external.d.cts +13 -0
- package/node_modules/zod/v4/classic/external.d.ts +13 -0
- package/node_modules/zod/v4/classic/external.js +18 -0
- package/node_modules/zod/v4/classic/index.cjs +33 -0
- package/node_modules/zod/v4/classic/index.d.cts +4 -0
- package/node_modules/zod/v4/classic/index.d.ts +4 -0
- package/node_modules/zod/v4/classic/index.js +4 -0
- package/node_modules/zod/v4/classic/iso.cjs +60 -0
- package/node_modules/zod/v4/classic/iso.d.cts +22 -0
- package/node_modules/zod/v4/classic/iso.d.ts +22 -0
- package/node_modules/zod/v4/classic/iso.js +30 -0
- package/node_modules/zod/v4/classic/parse.cjs +32 -0
- package/node_modules/zod/v4/classic/parse.d.cts +23 -0
- package/node_modules/zod/v4/classic/parse.d.ts +23 -0
- package/node_modules/zod/v4/classic/parse.js +6 -0
- package/node_modules/zod/v4/classic/schemas.cjs +1109 -0
- package/node_modules/zod/v4/classic/schemas.d.cts +630 -0
- package/node_modules/zod/v4/classic/schemas.d.ts +630 -0
- package/node_modules/zod/v4/classic/schemas.js +1006 -0
- package/node_modules/zod/v4/core/api.cjs +1039 -0
- package/node_modules/zod/v4/core/api.d.cts +284 -0
- package/node_modules/zod/v4/core/api.d.ts +284 -0
- package/node_modules/zod/v4/core/api.js +906 -0
- package/node_modules/zod/v4/core/checks.cjs +591 -0
- package/node_modules/zod/v4/core/checks.d.cts +278 -0
- package/node_modules/zod/v4/core/checks.d.ts +278 -0
- package/node_modules/zod/v4/core/checks.js +565 -0
- package/node_modules/zod/v4/core/core.cjs +67 -0
- package/node_modules/zod/v4/core/core.d.cts +49 -0
- package/node_modules/zod/v4/core/core.d.ts +49 -0
- package/node_modules/zod/v4/core/core.js +61 -0
- package/node_modules/zod/v4/core/doc.cjs +39 -0
- package/node_modules/zod/v4/core/doc.d.cts +14 -0
- package/node_modules/zod/v4/core/doc.d.ts +14 -0
- package/node_modules/zod/v4/core/doc.js +35 -0
- package/node_modules/zod/v4/core/errors.cjs +226 -0
- package/node_modules/zod/v4/core/errors.d.cts +208 -0
- package/node_modules/zod/v4/core/errors.d.ts +208 -0
- package/node_modules/zod/v4/core/errors.js +195 -0
- package/node_modules/zod/v4/core/function.cjs +102 -0
- package/node_modules/zod/v4/core/function.d.cts +52 -0
- package/node_modules/zod/v4/core/function.d.ts +52 -0
- package/node_modules/zod/v4/core/function.js +75 -0
- package/node_modules/zod/v4/core/index.cjs +44 -0
- package/node_modules/zod/v4/core/index.d.cts +15 -0
- package/node_modules/zod/v4/core/index.d.ts +15 -0
- package/node_modules/zod/v4/core/index.js +15 -0
- package/node_modules/zod/v4/core/json-schema.cjs +2 -0
- package/node_modules/zod/v4/core/json-schema.d.cts +87 -0
- package/node_modules/zod/v4/core/json-schema.d.ts +87 -0
- package/node_modules/zod/v4/core/json-schema.js +1 -0
- package/node_modules/zod/v4/core/parse.cjs +87 -0
- package/node_modules/zod/v4/core/parse.d.cts +25 -0
- package/node_modules/zod/v4/core/parse.d.ts +25 -0
- package/node_modules/zod/v4/core/parse.js +57 -0
- package/node_modules/zod/v4/core/regexes.cjs +103 -0
- package/node_modules/zod/v4/core/regexes.d.cts +62 -0
- package/node_modules/zod/v4/core/regexes.d.ts +62 -0
- package/node_modules/zod/v4/core/regexes.js +95 -0
- package/node_modules/zod/v4/core/registries.cjs +56 -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 +1748 -0
- package/node_modules/zod/v4/core/schemas.d.cts +1041 -0
- package/node_modules/zod/v4/core/schemas.d.ts +1041 -0
- package/node_modules/zod/v4/core/schemas.js +1717 -0
- package/node_modules/zod/v4/core/standard-schema.cjs +2 -0
- package/node_modules/zod/v4/core/standard-schema.d.cts +55 -0
- package/node_modules/zod/v4/core/standard-schema.d.ts +55 -0
- package/node_modules/zod/v4/core/standard-schema.js +1 -0
- package/node_modules/zod/v4/core/to-json-schema.cjs +854 -0
- package/node_modules/zod/v4/core/to-json-schema.d.cts +88 -0
- package/node_modules/zod/v4/core/to-json-schema.d.ts +88 -0
- package/node_modules/zod/v4/core/to-json-schema.js +849 -0
- package/node_modules/zod/v4/core/util.cjs +539 -0
- package/node_modules/zod/v4/core/util.d.cts +183 -0
- package/node_modules/zod/v4/core/util.d.ts +183 -0
- package/node_modules/zod/v4/core/util.js +493 -0
- package/node_modules/zod/v4/core/versions.cjs +8 -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/index.cjs +22 -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 +3 -0
- package/node_modules/zod/v4/locales/ar.cjs +142 -0
- package/node_modules/zod/v4/locales/ar.d.cts +4 -0
- package/node_modules/zod/v4/locales/ar.d.ts +4 -0
- package/node_modules/zod/v4/locales/ar.js +116 -0
- package/node_modules/zod/v4/locales/az.cjs +141 -0
- package/node_modules/zod/v4/locales/az.d.cts +4 -0
- package/node_modules/zod/v4/locales/az.d.ts +4 -0
- package/node_modules/zod/v4/locales/az.js +115 -0
- package/node_modules/zod/v4/locales/be.cjs +190 -0
- package/node_modules/zod/v4/locales/be.d.cts +4 -0
- package/node_modules/zod/v4/locales/be.d.ts +4 -0
- package/node_modules/zod/v4/locales/be.js +164 -0
- package/node_modules/zod/v4/locales/ca.cjs +144 -0
- package/node_modules/zod/v4/locales/ca.d.cts +4 -0
- package/node_modules/zod/v4/locales/ca.d.ts +4 -0
- package/node_modules/zod/v4/locales/ca.js +118 -0
- package/node_modules/zod/v4/locales/cs.cjs +161 -0
- package/node_modules/zod/v4/locales/cs.d.cts +4 -0
- package/node_modules/zod/v4/locales/cs.d.ts +4 -0
- package/node_modules/zod/v4/locales/cs.js +135 -0
- package/node_modules/zod/v4/locales/de.cjs +142 -0
- package/node_modules/zod/v4/locales/de.d.cts +4 -0
- package/node_modules/zod/v4/locales/de.d.ts +4 -0
- package/node_modules/zod/v4/locales/de.js +116 -0
- package/node_modules/zod/v4/locales/en.cjs +145 -0
- package/node_modules/zod/v4/locales/en.d.cts +5 -0
- package/node_modules/zod/v4/locales/en.d.ts +5 -0
- package/node_modules/zod/v4/locales/en.js +117 -0
- package/node_modules/zod/v4/locales/eo.cjs +144 -0
- package/node_modules/zod/v4/locales/eo.d.cts +5 -0
- package/node_modules/zod/v4/locales/eo.d.ts +5 -0
- package/node_modules/zod/v4/locales/eo.js +116 -0
- package/node_modules/zod/v4/locales/es.cjs +143 -0
- package/node_modules/zod/v4/locales/es.d.cts +4 -0
- package/node_modules/zod/v4/locales/es.d.ts +4 -0
- package/node_modules/zod/v4/locales/es.js +117 -0
- package/node_modules/zod/v4/locales/fa.cjs +148 -0
- package/node_modules/zod/v4/locales/fa.d.cts +4 -0
- package/node_modules/zod/v4/locales/fa.d.ts +4 -0
- package/node_modules/zod/v4/locales/fa.js +122 -0
- package/node_modules/zod/v4/locales/fi.cjs +148 -0
- package/node_modules/zod/v4/locales/fi.d.cts +4 -0
- package/node_modules/zod/v4/locales/fi.d.ts +4 -0
- package/node_modules/zod/v4/locales/fi.js +122 -0
- package/node_modules/zod/v4/locales/fr-CA.cjs +143 -0
- package/node_modules/zod/v4/locales/fr-CA.d.cts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr-CA.js +117 -0
- package/node_modules/zod/v4/locales/fr.cjs +142 -0
- package/node_modules/zod/v4/locales/fr.d.cts +4 -0
- package/node_modules/zod/v4/locales/fr.d.ts +4 -0
- package/node_modules/zod/v4/locales/fr.js +116 -0
- package/node_modules/zod/v4/locales/he.cjs +143 -0
- package/node_modules/zod/v4/locales/he.d.cts +4 -0
- package/node_modules/zod/v4/locales/he.d.ts +4 -0
- package/node_modules/zod/v4/locales/he.js +117 -0
- package/node_modules/zod/v4/locales/hu.cjs +143 -0
- package/node_modules/zod/v4/locales/hu.d.cts +4 -0
- package/node_modules/zod/v4/locales/hu.d.ts +4 -0
- package/node_modules/zod/v4/locales/hu.js +117 -0
- package/node_modules/zod/v4/locales/id.cjs +142 -0
- package/node_modules/zod/v4/locales/id.d.cts +4 -0
- package/node_modules/zod/v4/locales/id.d.ts +4 -0
- package/node_modules/zod/v4/locales/id.js +116 -0
- package/node_modules/zod/v4/locales/index.cjs +84 -0
- package/node_modules/zod/v4/locales/index.d.cts +39 -0
- package/node_modules/zod/v4/locales/index.d.ts +39 -0
- package/node_modules/zod/v4/locales/index.js +39 -0
- package/node_modules/zod/v4/locales/it.cjs +143 -0
- package/node_modules/zod/v4/locales/it.d.cts +4 -0
- package/node_modules/zod/v4/locales/it.d.ts +4 -0
- package/node_modules/zod/v4/locales/it.js +117 -0
- package/node_modules/zod/v4/locales/ja.cjs +141 -0
- package/node_modules/zod/v4/locales/ja.d.cts +4 -0
- package/node_modules/zod/v4/locales/ja.d.ts +4 -0
- package/node_modules/zod/v4/locales/ja.js +115 -0
- package/node_modules/zod/v4/locales/kh.cjs +143 -0
- package/node_modules/zod/v4/locales/kh.d.cts +4 -0
- package/node_modules/zod/v4/locales/kh.d.ts +4 -0
- package/node_modules/zod/v4/locales/kh.js +117 -0
- package/node_modules/zod/v4/locales/ko.cjs +147 -0
- package/node_modules/zod/v4/locales/ko.d.cts +4 -0
- package/node_modules/zod/v4/locales/ko.d.ts +4 -0
- package/node_modules/zod/v4/locales/ko.js +121 -0
- package/node_modules/zod/v4/locales/mk.cjs +144 -0
- package/node_modules/zod/v4/locales/mk.d.cts +4 -0
- package/node_modules/zod/v4/locales/mk.d.ts +4 -0
- package/node_modules/zod/v4/locales/mk.js +118 -0
- package/node_modules/zod/v4/locales/ms.cjs +142 -0
- package/node_modules/zod/v4/locales/ms.d.cts +4 -0
- package/node_modules/zod/v4/locales/ms.d.ts +4 -0
- package/node_modules/zod/v4/locales/ms.js +116 -0
- package/node_modules/zod/v4/locales/nl.cjs +143 -0
- package/node_modules/zod/v4/locales/nl.d.cts +4 -0
- package/node_modules/zod/v4/locales/nl.d.ts +4 -0
- package/node_modules/zod/v4/locales/nl.js +117 -0
- package/node_modules/zod/v4/locales/no.cjs +142 -0
- package/node_modules/zod/v4/locales/no.d.cts +4 -0
- package/node_modules/zod/v4/locales/no.d.ts +4 -0
- package/node_modules/zod/v4/locales/no.js +116 -0
- package/node_modules/zod/v4/locales/ota.cjs +143 -0
- package/node_modules/zod/v4/locales/ota.d.cts +4 -0
- package/node_modules/zod/v4/locales/ota.d.ts +4 -0
- package/node_modules/zod/v4/locales/ota.js +117 -0
- package/node_modules/zod/v4/locales/pl.cjs +143 -0
- package/node_modules/zod/v4/locales/pl.d.cts +4 -0
- package/node_modules/zod/v4/locales/pl.d.ts +4 -0
- package/node_modules/zod/v4/locales/pl.js +117 -0
- package/node_modules/zod/v4/locales/ps.cjs +148 -0
- package/node_modules/zod/v4/locales/ps.d.cts +4 -0
- package/node_modules/zod/v4/locales/ps.d.ts +4 -0
- package/node_modules/zod/v4/locales/ps.js +122 -0
- package/node_modules/zod/v4/locales/pt.cjs +142 -0
- package/node_modules/zod/v4/locales/pt.d.cts +4 -0
- package/node_modules/zod/v4/locales/pt.d.ts +4 -0
- package/node_modules/zod/v4/locales/pt.js +116 -0
- package/node_modules/zod/v4/locales/ru.cjs +190 -0
- package/node_modules/zod/v4/locales/ru.d.cts +4 -0
- package/node_modules/zod/v4/locales/ru.d.ts +4 -0
- package/node_modules/zod/v4/locales/ru.js +164 -0
- package/node_modules/zod/v4/locales/sl.cjs +143 -0
- package/node_modules/zod/v4/locales/sl.d.cts +4 -0
- package/node_modules/zod/v4/locales/sl.d.ts +4 -0
- package/node_modules/zod/v4/locales/sl.js +117 -0
- package/node_modules/zod/v4/locales/sv.cjs +144 -0
- package/node_modules/zod/v4/locales/sv.d.cts +4 -0
- package/node_modules/zod/v4/locales/sv.d.ts +4 -0
- package/node_modules/zod/v4/locales/sv.js +118 -0
- package/node_modules/zod/v4/locales/ta.cjs +143 -0
- package/node_modules/zod/v4/locales/ta.d.cts +4 -0
- package/node_modules/zod/v4/locales/ta.d.ts +4 -0
- package/node_modules/zod/v4/locales/ta.js +117 -0
- package/node_modules/zod/v4/locales/th.cjs +143 -0
- package/node_modules/zod/v4/locales/th.d.cts +4 -0
- package/node_modules/zod/v4/locales/th.d.ts +4 -0
- package/node_modules/zod/v4/locales/th.js +117 -0
- package/node_modules/zod/v4/locales/tr.cjs +143 -0
- package/node_modules/zod/v4/locales/tr.d.cts +5 -0
- package/node_modules/zod/v4/locales/tr.d.ts +5 -0
- package/node_modules/zod/v4/locales/tr.js +115 -0
- package/node_modules/zod/v4/locales/ua.cjs +143 -0
- package/node_modules/zod/v4/locales/ua.d.cts +4 -0
- package/node_modules/zod/v4/locales/ua.d.ts +4 -0
- package/node_modules/zod/v4/locales/ua.js +117 -0
- package/node_modules/zod/v4/locales/ur.cjs +143 -0
- package/node_modules/zod/v4/locales/ur.d.cts +4 -0
- package/node_modules/zod/v4/locales/ur.d.ts +4 -0
- package/node_modules/zod/v4/locales/ur.js +117 -0
- package/node_modules/zod/v4/locales/vi.cjs +142 -0
- package/node_modules/zod/v4/locales/vi.d.cts +4 -0
- package/node_modules/zod/v4/locales/vi.d.ts +4 -0
- package/node_modules/zod/v4/locales/vi.js +116 -0
- package/node_modules/zod/v4/locales/zh-CN.cjs +142 -0
- package/node_modules/zod/v4/locales/zh-CN.d.cts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-CN.js +116 -0
- package/node_modules/zod/v4/locales/zh-TW.cjs +143 -0
- package/node_modules/zod/v4/locales/zh-TW.d.cts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.d.ts +4 -0
- package/node_modules/zod/v4/locales/zh-TW.js +117 -0
- package/node_modules/zod/v4/mini/checks.cjs +34 -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 +47 -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 +17 -0
- package/node_modules/zod/v4/mini/external.cjs +62 -0
- package/node_modules/zod/v4/mini/external.d.cts +11 -0
- package/node_modules/zod/v4/mini/external.d.ts +11 -0
- package/node_modules/zod/v4/mini/external.js +13 -0
- package/node_modules/zod/v4/mini/index.cjs +32 -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 +60 -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 +30 -0
- package/node_modules/zod/v4/mini/parse.cjs +8 -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 +839 -0
- package/node_modules/zod/v4/mini/schemas.d.cts +356 -0
- package/node_modules/zod/v4/mini/schemas.d.ts +356 -0
- package/node_modules/zod/v4/mini/schemas.js +732 -0
- package/node_modules/zod/v4-mini/index.cjs +17 -0
- package/node_modules/zod/v4-mini/index.d.cts +1 -0
- package/node_modules/zod/v4-mini/index.d.ts +1 -0
- package/node_modules/zod/v4-mini/index.js +1 -0
- package/oclif.manifest.json +1 -1
- package/package.json +6 -2
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.d.ts
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import type { ITransportClient } from './i-client.js';
|
|
2
|
+
/**
|
|
3
|
+
* Result of connection attempt.
|
|
4
|
+
*/
|
|
5
|
+
export type ConnectionResult = {
|
|
6
|
+
/** The connected client */
|
|
7
|
+
readonly client: ITransportClient;
|
|
8
|
+
/** Project root where instance was found */
|
|
9
|
+
readonly projectRoot: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Interface for transport client factory.
|
|
13
|
+
* Abstracts the creation and connection of transport clients.
|
|
14
|
+
*
|
|
15
|
+
* @remarks
|
|
16
|
+
* Follows Dependency Inversion Principle - high-level modules can depend
|
|
17
|
+
* on this abstraction rather than concrete factory implementations.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* ```typescript
|
|
21
|
+
* // Inject factory abstraction
|
|
22
|
+
* class MyService {
|
|
23
|
+
* constructor(private readonly factory: IClientFactory) {}
|
|
24
|
+
*
|
|
25
|
+
* async connect(): Promise<ITransportClient> {
|
|
26
|
+
* const { client } = await this.factory.connect()
|
|
27
|
+
* return client
|
|
28
|
+
* }
|
|
29
|
+
* }
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export interface IClientFactory {
|
|
33
|
+
/**
|
|
34
|
+
* Discovers a running instance and connects to it.
|
|
35
|
+
*
|
|
36
|
+
* @param fromDir - Directory to start discovery from (default: cwd)
|
|
37
|
+
* @returns Connected client and project root
|
|
38
|
+
* @throws NoInstanceRunningError - No .brv directory found
|
|
39
|
+
* @throws InstanceCrashedError - Instance found but process dead
|
|
40
|
+
* @throws ConnectionFailedError - Instance found but connection failed
|
|
41
|
+
*/
|
|
42
|
+
connect(fromDir?: string): Promise<ConnectionResult>;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=i-client-factory.d.ts.map
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client-factory.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-client-factory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,eAAe,CAAA;AAEnD;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,2BAA2B;IAC3B,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAA;IACjC,4CAA4C;IAC5C,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAA;CAC7B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAM,WAAW,cAAc;IAC7B;;;;;;;;OAQG;IACH,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAA;CACrD"}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-factory.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client-factory.js","sourceRoot":"","sources":["../../../core/interfaces/i-client-factory.ts"],"names":[],"mappings":""}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Logger interface for the Socket.IO client component.
|
|
3
|
+
*
|
|
4
|
+
* This interface allows optional logging injection without creating
|
|
5
|
+
* dependencies on the main codebase's logging utilities.
|
|
6
|
+
*
|
|
7
|
+
* @remarks
|
|
8
|
+
* Follows Interface Segregation Principle - provides standard log levels
|
|
9
|
+
* without requiring complex logging infrastructure.
|
|
10
|
+
*
|
|
11
|
+
* The default implementation (NoOpClientLogger) is located in the
|
|
12
|
+
* infrastructure layer at `infra/no-op-client-logger.ts`.
|
|
13
|
+
*/
|
|
14
|
+
export interface IClientLogger {
|
|
15
|
+
/**
|
|
16
|
+
* Log a debug message.
|
|
17
|
+
* Used for connection state changes, reconnection attempts, etc.
|
|
18
|
+
*
|
|
19
|
+
* @param message - The message to log
|
|
20
|
+
*/
|
|
21
|
+
debug(message: string): void;
|
|
22
|
+
/**
|
|
23
|
+
* Log an informational message.
|
|
24
|
+
* Used for significant events that are part of normal operation.
|
|
25
|
+
*
|
|
26
|
+
* @param message - The message to log
|
|
27
|
+
*/
|
|
28
|
+
info(message: string): void;
|
|
29
|
+
/**
|
|
30
|
+
* Log a warning message.
|
|
31
|
+
* Used for potentially problematic situations that don't prevent operation.
|
|
32
|
+
*
|
|
33
|
+
* @param message - The message to log
|
|
34
|
+
*/
|
|
35
|
+
warn(message: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Log an error message.
|
|
38
|
+
* Used for error conditions that may affect operation.
|
|
39
|
+
*
|
|
40
|
+
* @param message - The message to log
|
|
41
|
+
* @param error - Optional error object for stack trace
|
|
42
|
+
*/
|
|
43
|
+
error(message: string, error?: Error): void;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=i-client-logger.d.ts.map
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client-logger.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-client-logger.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,MAAM,WAAW,aAAa;IAC5B;;;;;OAKG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAE5B;;;;;OAKG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;;;;OAKG;IACH,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IAE3B;;;;;;OAMG;IACH,KAAK,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,KAAK,GAAG,IAAI,CAAA;CAC5C"}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-client-logger.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client-logger.js","sourceRoot":"","sources":["../../../core/interfaces/i-client-logger.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import type { ConnectionState, ConnectionStateHandler } from './i-connection-state.js';
|
|
2
|
+
import type { EventHandler } from './i-event-dispatcher.js';
|
|
3
|
+
export type { ConnectionState, ConnectionStateHandler } from './i-connection-state.js';
|
|
4
|
+
export type { EventHandler } from './i-event-dispatcher.js';
|
|
5
|
+
/**
|
|
6
|
+
* Options for client requests.
|
|
7
|
+
*/
|
|
8
|
+
export type RequestOptions = {
|
|
9
|
+
/**
|
|
10
|
+
* Timeout in milliseconds for the request.
|
|
11
|
+
* If not specified, uses the default timeout.
|
|
12
|
+
*/
|
|
13
|
+
readonly timeout?: number;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Interface for transport client operations.
|
|
17
|
+
* Provides abstraction over real-time communication protocols (Socket.IO, WebSocket, etc.)
|
|
18
|
+
* following Clean Architecture principles.
|
|
19
|
+
*
|
|
20
|
+
* The client:
|
|
21
|
+
* - Connects to a transport server
|
|
22
|
+
* - Sends requests and receives responses
|
|
23
|
+
* - Listens for broadcast events
|
|
24
|
+
* - Joins rooms for targeted broadcasts
|
|
25
|
+
*
|
|
26
|
+
* @remarks
|
|
27
|
+
* This interface follows Interface Segregation Principle (ISP) by providing
|
|
28
|
+
* only the essential operations needed by consumers. Internal implementation
|
|
29
|
+
* details are hidden behind composition of smaller, focused components.
|
|
30
|
+
*/
|
|
31
|
+
export interface ITransportClient {
|
|
32
|
+
/**
|
|
33
|
+
* Connects to the transport server at the specified URL.
|
|
34
|
+
* @param url - The server URL to connect to (e.g., "http://localhost:9847")
|
|
35
|
+
* @throws TransportConnectionError if connection fails
|
|
36
|
+
*/
|
|
37
|
+
connect(url: string): Promise<void>;
|
|
38
|
+
/**
|
|
39
|
+
* Disconnects from the transport server.
|
|
40
|
+
* Cleans up resources and stops reconnection attempts.
|
|
41
|
+
*/
|
|
42
|
+
disconnect(): Promise<void>;
|
|
43
|
+
/**
|
|
44
|
+
* Returns the unique client ID assigned by the server.
|
|
45
|
+
* @returns Client ID or undefined if not connected
|
|
46
|
+
*/
|
|
47
|
+
getClientId(): string | undefined;
|
|
48
|
+
/**
|
|
49
|
+
* Returns the current connection state.
|
|
50
|
+
*/
|
|
51
|
+
getState(): ConnectionState;
|
|
52
|
+
/**
|
|
53
|
+
* Checks if the socket is actually connected and responsive.
|
|
54
|
+
* Verifies bidirectional communication by sending a ping and waiting for response.
|
|
55
|
+
* @param timeoutMs - Timeout in milliseconds (default: 2000)
|
|
56
|
+
* @returns true if socket is connected and responsive, false otherwise
|
|
57
|
+
*/
|
|
58
|
+
isConnected(timeoutMs?: number): Promise<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Joins a room for targeted broadcasts.
|
|
61
|
+
* @param room - The room identifier to join
|
|
62
|
+
* @throws TransportNotConnectedError if not connected
|
|
63
|
+
* @throws TransportRoomError if join fails
|
|
64
|
+
* @throws TransportRoomTimeoutError if join times out
|
|
65
|
+
*/
|
|
66
|
+
joinRoom(room: string): Promise<void>;
|
|
67
|
+
/**
|
|
68
|
+
* Leaves a room.
|
|
69
|
+
*
|
|
70
|
+
* @remarks
|
|
71
|
+
* This method uses "fire-and-forget" semantics for room tracking.
|
|
72
|
+
* The room is immediately removed from internal tracking to prevent infinite
|
|
73
|
+
* rejoin loops on reconnect, regardless of whether the server-side leave succeeds.
|
|
74
|
+
*
|
|
75
|
+
* @param room - The room identifier to leave
|
|
76
|
+
* @throws TransportNotConnectedError if not connected
|
|
77
|
+
* @throws TransportRoomError if server-side leave fails
|
|
78
|
+
* @throws TransportRoomTimeoutError if leave operation times out
|
|
79
|
+
*/
|
|
80
|
+
leaveRoom(room: string): Promise<void>;
|
|
81
|
+
/**
|
|
82
|
+
* Registers a handler for a specific event from the server.
|
|
83
|
+
* Multiple handlers can be registered for the same event.
|
|
84
|
+
*
|
|
85
|
+
* @remarks
|
|
86
|
+
* Lifecycle:
|
|
87
|
+
* - Can be called before connect() - handlers are queued and registered on connect
|
|
88
|
+
* - Handlers do NOT persist across disconnect/connect cycles
|
|
89
|
+
* - If disconnect() is called, all handlers are cleared
|
|
90
|
+
*
|
|
91
|
+
* @param event - The event name to listen for
|
|
92
|
+
* @param handler - The function to handle incoming events
|
|
93
|
+
* @returns Unsubscribe function to remove the handler
|
|
94
|
+
*/
|
|
95
|
+
on<T = unknown>(event: string, handler: EventHandler<T>): () => void;
|
|
96
|
+
/**
|
|
97
|
+
* Registers a one-time handler for a specific event.
|
|
98
|
+
* The handler will be automatically removed after first invocation.
|
|
99
|
+
*
|
|
100
|
+
* @remarks
|
|
101
|
+
* Lifecycle:
|
|
102
|
+
* - Can be called before connect() - handlers are queued and registered on connect
|
|
103
|
+
* - Handlers do NOT persist across disconnect/connect cycles
|
|
104
|
+
* - If disconnect() is called before the event fires, queued handlers are cleared
|
|
105
|
+
*
|
|
106
|
+
* @param event - The event name to listen for
|
|
107
|
+
* @param handler - The function to handle the event
|
|
108
|
+
* @throws InvalidEventNameError if event name is invalid
|
|
109
|
+
* @throws MaxPendingOnceHandlersExceededError if max pending handlers exceeded while not connected
|
|
110
|
+
*/
|
|
111
|
+
once<T = unknown>(event: string, handler: EventHandler<T>): void;
|
|
112
|
+
/**
|
|
113
|
+
* Registers a handler for connection state changes.
|
|
114
|
+
*
|
|
115
|
+
* @remarks
|
|
116
|
+
* State handlers persist across disconnect/connect cycles until explicitly unsubscribed.
|
|
117
|
+
*
|
|
118
|
+
* @param handler - Called when connection state changes
|
|
119
|
+
* @returns Unsubscribe function to remove the handler
|
|
120
|
+
*/
|
|
121
|
+
onStateChange(handler: ConnectionStateHandler): () => void;
|
|
122
|
+
/**
|
|
123
|
+
* Sends an event to the server (fire-and-forget or with callback).
|
|
124
|
+
* Similar to Socket.IO's emit() method.
|
|
125
|
+
*
|
|
126
|
+
* @example Fire-and-forget
|
|
127
|
+
* ```typescript
|
|
128
|
+
* client.request('log:entry', { level: 'info', message: 'Hello' })
|
|
129
|
+
* ```
|
|
130
|
+
*
|
|
131
|
+
* @example With acknowledgment callback
|
|
132
|
+
* ```typescript
|
|
133
|
+
* client.request('ping', {}, (response) => {
|
|
134
|
+
* console.log('Server responded:', response)
|
|
135
|
+
* })
|
|
136
|
+
* ```
|
|
137
|
+
*
|
|
138
|
+
* @param event - The event name
|
|
139
|
+
* @param data - The request payload
|
|
140
|
+
* @param ack - Optional callback for server acknowledgment
|
|
141
|
+
* @throws TransportNotConnectedError if not connected
|
|
142
|
+
* @throws InvalidEventNameError if event name is invalid
|
|
143
|
+
*/
|
|
144
|
+
request(event: string, data?: unknown): void;
|
|
145
|
+
request<T = unknown>(event: string, data: unknown, ack: (response: T) => void): void;
|
|
146
|
+
/**
|
|
147
|
+
* Promise-based request that waits for server response.
|
|
148
|
+
* Similar to Socket.IO's emitWithAck() method.
|
|
149
|
+
*
|
|
150
|
+
* @param event - The event name
|
|
151
|
+
* @param data - The request payload
|
|
152
|
+
* @param options - Request options (timeout, etc.)
|
|
153
|
+
* @returns Promise resolving to the server response
|
|
154
|
+
* @throws TransportNotConnectedError if not connected
|
|
155
|
+
* @throws InvalidEventNameError if event name is invalid
|
|
156
|
+
* @throws TransportRequestTimeoutError if request times out
|
|
157
|
+
* @throws TransportRequestError if server returns an error
|
|
158
|
+
*
|
|
159
|
+
* @example
|
|
160
|
+
* ```typescript
|
|
161
|
+
* // Request with typed response
|
|
162
|
+
* const user = await client.requestWithAck<User>('user:get', { id: '123' })
|
|
163
|
+
*
|
|
164
|
+
* // Request with custom timeout
|
|
165
|
+
* const result = await client.requestWithAck('slow:operation', data, { timeout: 30000 })
|
|
166
|
+
* ```
|
|
167
|
+
*/
|
|
168
|
+
requestWithAck<TResponse = unknown, TRequest = unknown>(event: string, data?: TRequest, options?: RequestOptions): Promise<TResponse>;
|
|
169
|
+
}
|
|
170
|
+
//# sourceMappingURL=i-client.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAE,sBAAsB,EAAC,MAAM,yBAAyB,CAAA;AACpF,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,yBAAyB,CAAA;AAGzD,YAAY,EAAC,eAAe,EAAE,sBAAsB,EAAC,MAAM,yBAAyB,CAAA;AACpF,YAAY,EAAC,YAAY,EAAC,MAAM,yBAAyB,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;OAGG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAA;AAED;;;;;;;;;;;;;;;GAeG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEnC;;;OAGG;IACH,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CAAA;IAE3B;;;OAGG;IACH,WAAW,IAAI,MAAM,GAAG,SAAS,CAAA;IAEjC;;OAEG;IACH,QAAQ,IAAI,eAAe,CAAA;IAE3B;;;;;OAKG;IACH,WAAW,CAAC,SAAS,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;IAEjD;;;;;;OAMG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAErC;;;;;;;;;;;;OAYG;IACH,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;IAEtC;;;;;;;;;;;;;OAaG;IACH,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAA;IAEpE;;;;;;;;;;;;;;OAcG;IACH,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;IAEhE;;;;;;;;OAQG;IACH,aAAa,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,IAAI,CAAA;IAE1D;;;;;;;;;;;;;;;;;;;;;OAqBG;IAEH,OAAO,CAAC,KAAK,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IAE5C,OAAO,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,KAAK,IAAI,GAAG,IAAI,CAAA;IAEpF;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,cAAc,CAAC,SAAS,GAAG,OAAO,EAAE,QAAQ,GAAG,OAAO,EACpD,KAAK,EAAE,MAAM,EACb,IAAI,CAAC,EAAE,QAAQ,EACf,OAAO,CAAC,EAAE,cAAc,GACvB,OAAO,CAAC,SAAS,CAAC,CAAA;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-client.js","sourceRoot":"","sources":["../../../core/interfaces/i-client.ts"],"names":[],"mappings":""}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.d.ts
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Possible connection states.
|
|
3
|
+
*/
|
|
4
|
+
export type ConnectionState = 'connected' | 'connecting' | 'disconnected' | 'reconnecting';
|
|
5
|
+
/**
|
|
6
|
+
* Handler function for connection state changes.
|
|
7
|
+
*/
|
|
8
|
+
export type ConnectionStateHandler = (state: ConnectionState) => void;
|
|
9
|
+
/**
|
|
10
|
+
* Read-only interface for observing connection state.
|
|
11
|
+
* Use this interface for components that only need to read state,
|
|
12
|
+
* following Interface Segregation Principle (ISP).
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* State handlers persist across disconnect/connect cycles.
|
|
16
|
+
* Use the returned unsubscribe function to remove handlers.
|
|
17
|
+
*/
|
|
18
|
+
export interface IConnectionStateReader {
|
|
19
|
+
/**
|
|
20
|
+
* Gets the current connection state.
|
|
21
|
+
* @returns Current connection state
|
|
22
|
+
*/
|
|
23
|
+
getState(): ConnectionState;
|
|
24
|
+
/**
|
|
25
|
+
* Registers a handler for connection state changes.
|
|
26
|
+
* @param handler - Function to call when state changes
|
|
27
|
+
* @returns Unsubscribe function to remove the handler
|
|
28
|
+
*/
|
|
29
|
+
onStateChange(handler: ConnectionStateHandler): () => void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Interface for managing connection state.
|
|
33
|
+
* Extends IConnectionStateReader with mutation capabilities.
|
|
34
|
+
* Follows Observer Pattern for state change notifications.
|
|
35
|
+
*
|
|
36
|
+
* @remarks
|
|
37
|
+
* Use IConnectionStateReader for components that only observe state.
|
|
38
|
+
* Use IConnectionStateManager for components that control state.
|
|
39
|
+
*/
|
|
40
|
+
export interface IConnectionStateManager extends IConnectionStateReader {
|
|
41
|
+
/**
|
|
42
|
+
* Updates the connection state and notifies handlers.
|
|
43
|
+
* @param newState - The new connection state
|
|
44
|
+
* @throws {InvalidStateTransitionError} If the transition is not allowed
|
|
45
|
+
*/
|
|
46
|
+
setState(newState: ConnectionState): void;
|
|
47
|
+
/**
|
|
48
|
+
* Clears all state handlers.
|
|
49
|
+
*/
|
|
50
|
+
clearHandlers(): void;
|
|
51
|
+
/**
|
|
52
|
+
* Checks if transition to a new state is valid from current state.
|
|
53
|
+
* @param newState - The target state
|
|
54
|
+
* @returns True if transition is allowed
|
|
55
|
+
*/
|
|
56
|
+
canTransitionTo(newState: ConnectionState): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Checks if currently connected.
|
|
59
|
+
* @returns True if state is 'connected'
|
|
60
|
+
*/
|
|
61
|
+
isConnected(): boolean;
|
|
62
|
+
/**
|
|
63
|
+
* Checks if currently connecting.
|
|
64
|
+
* @returns True if state is 'connecting'
|
|
65
|
+
*/
|
|
66
|
+
isConnecting(): boolean;
|
|
67
|
+
/**
|
|
68
|
+
* Checks if currently disconnected.
|
|
69
|
+
* @returns True if state is 'disconnected'
|
|
70
|
+
*/
|
|
71
|
+
isDisconnected(): boolean;
|
|
72
|
+
/**
|
|
73
|
+
* Checks if currently reconnecting.
|
|
74
|
+
* @returns True if state is 'reconnecting'
|
|
75
|
+
*/
|
|
76
|
+
isReconnecting(): boolean;
|
|
77
|
+
}
|
|
78
|
+
//# sourceMappingURL=i-connection-state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-connection-state.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-connection-state.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,YAAY,GAAG,cAAc,GAAG,cAAc,CAAA;AAE1F;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,KAAK,EAAE,eAAe,KAAK,IAAI,CAAA;AAErE;;;;;;;;GAQG;AACH,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,QAAQ,IAAI,eAAe,CAAA;IAE3B;;;;OAIG;IACH,aAAa,CAAC,OAAO,EAAE,sBAAsB,GAAG,MAAM,IAAI,CAAA;CAC3D;AAED;;;;;;;;GAQG;AACH,MAAM,WAAW,uBAAwB,SAAQ,sBAAsB;IACrE;;;;OAIG;IACH,QAAQ,CAAC,QAAQ,EAAE,eAAe,GAAG,IAAI,CAAA;IAEzC;;OAEG;IACH,aAAa,IAAI,IAAI,CAAA;IAErB;;;;OAIG;IACH,eAAe,CAAC,QAAQ,EAAE,eAAe,GAAG,OAAO,CAAA;IAEnD;;;OAGG;IACH,WAAW,IAAI,OAAO,CAAA;IAEtB;;;OAGG;IACH,YAAY,IAAI,OAAO,CAAA;IAEvB;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAA;IAEzB;;;OAGG;IACH,cAAc,IAAI,OAAO,CAAA;CAC1B"}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-connection-state.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-connection-state.js","sourceRoot":"","sources":["../../../core/interfaces/i-connection-state.ts"],"names":[],"mappings":""}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.d.ts
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Handler function for events.
|
|
3
|
+
*/
|
|
4
|
+
export type EventHandler<T = unknown> = (data: T) => void;
|
|
5
|
+
/**
|
|
6
|
+
* Public interface for managing event subscriptions.
|
|
7
|
+
* Follows Observer Pattern for event handling.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* This interface exposes only what consumers need.
|
|
11
|
+
* Handlers can be registered before connection is established.
|
|
12
|
+
* Implementations should queue handlers and register them on connect.
|
|
13
|
+
*/
|
|
14
|
+
export interface IEventDispatcher {
|
|
15
|
+
/**
|
|
16
|
+
* Registers a persistent event handler.
|
|
17
|
+
* Handler persists across reconnects until explicitly unsubscribed.
|
|
18
|
+
*
|
|
19
|
+
* @param event - Event name to listen for
|
|
20
|
+
* @param handler - Function to call when event is received
|
|
21
|
+
* @returns Unsubscribe function to remove the handler
|
|
22
|
+
*/
|
|
23
|
+
on<T = unknown>(event: string, handler: EventHandler<T>): () => void;
|
|
24
|
+
/**
|
|
25
|
+
* Registers a one-time event handler.
|
|
26
|
+
* Handler is automatically removed after first invocation.
|
|
27
|
+
*
|
|
28
|
+
* @param event - Event name to listen for
|
|
29
|
+
* @param handler - Function to call when event is received
|
|
30
|
+
*/
|
|
31
|
+
once<T = unknown>(event: string, handler: EventHandler<T>): void;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=i-event-dispatcher.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-event-dispatcher.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-event-dispatcher.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,YAAY,CAAC,CAAC,GAAG,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC,KAAK,IAAI,CAAA;AAEzD;;;;;;;;GAQG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;;;;;;OAOG;IACH,EAAE,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,MAAM,IAAI,CAAA;IAEpE;;;;;;OAMG;IACH,IAAI,CAAC,CAAC,GAAG,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,GAAG,IAAI,CAAA;CACjE"}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-event-dispatcher.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-event-dispatcher.js","sourceRoot":"","sources":["../../../core/interfaces/i-event-dispatcher.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Interface for force reconnection management.
|
|
3
|
+
*
|
|
4
|
+
* Manages reconnection attempts after the built-in reconnection mechanism gives up.
|
|
5
|
+
* Follows Interface Segregation Principle (ISP) by exposing only essential operations.
|
|
6
|
+
*/
|
|
7
|
+
export interface IForceReconnectManager {
|
|
8
|
+
/**
|
|
9
|
+
* Returns whether a reconnection is currently scheduled.
|
|
10
|
+
*/
|
|
11
|
+
readonly isScheduled: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Returns the current attempt count.
|
|
14
|
+
*/
|
|
15
|
+
readonly attemptCount: number;
|
|
16
|
+
/**
|
|
17
|
+
* Schedules the next force reconnect attempt.
|
|
18
|
+
* If already scheduled, this is a no-op.
|
|
19
|
+
*/
|
|
20
|
+
schedule(): void;
|
|
21
|
+
/**
|
|
22
|
+
* Clears the scheduled timer without resetting the attempt counter.
|
|
23
|
+
* Useful when connection succeeds externally.
|
|
24
|
+
*/
|
|
25
|
+
clearTimer(): void;
|
|
26
|
+
/**
|
|
27
|
+
* Cancels force reconnection completely (timer + counter).
|
|
28
|
+
* Resets the reconnection strategy state.
|
|
29
|
+
*/
|
|
30
|
+
cancel(): void;
|
|
31
|
+
/**
|
|
32
|
+
* Resets the attempt counter and strategy state.
|
|
33
|
+
* Call this after a successful connection.
|
|
34
|
+
*/
|
|
35
|
+
reset(): void;
|
|
36
|
+
/**
|
|
37
|
+
* Restarts force reconnection from attempt 0.
|
|
38
|
+
* Useful after wake from sleep.
|
|
39
|
+
*/
|
|
40
|
+
restart(): void;
|
|
41
|
+
}
|
|
42
|
+
//# sourceMappingURL=i-force-reconnect-manager.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-force-reconnect-manager.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-force-reconnect-manager.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAA;IAE7B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;IAE7B;;;OAGG;IACH,QAAQ,IAAI,IAAI,CAAA;IAEhB;;;OAGG;IACH,UAAU,IAAI,IAAI,CAAA;IAElB;;;OAGG;IACH,MAAM,IAAI,IAAI,CAAA;IAEd;;;OAGG;IACH,KAAK,IAAI,IAAI,CAAA;IAEb;;;OAGG;IACH,OAAO,IAAI,IAAI,CAAA;CAChB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-force-reconnect-manager.js","sourceRoot":"","sources":["../../../core/interfaces/i-force-reconnect-manager.ts"],"names":[],"mappings":""}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-discovery.d.ts
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { InstanceInfo } from '../domain/entities/instance-info.js';
|
|
2
|
+
/**
|
|
3
|
+
* Result of instance discovery.
|
|
4
|
+
*
|
|
5
|
+
* - no_instance: No .brv/ directory found in tree
|
|
6
|
+
* - instance_crashed: Found instance.json but pid is dead
|
|
7
|
+
*/
|
|
8
|
+
export type DiscoveryResult = {
|
|
9
|
+
found: false;
|
|
10
|
+
reason: 'instance_crashed' | 'no_instance';
|
|
11
|
+
} | {
|
|
12
|
+
found: true;
|
|
13
|
+
instance: InstanceInfo;
|
|
14
|
+
projectRoot: string;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Interface for discovering running instances via walk-up directory search.
|
|
18
|
+
*
|
|
19
|
+
* Walk up directory tree to find .brv/instance.json, verify pid alive.
|
|
20
|
+
*/
|
|
21
|
+
export interface IInstanceDiscovery {
|
|
22
|
+
/**
|
|
23
|
+
* Discovers a running instance starting from the given directory.
|
|
24
|
+
*
|
|
25
|
+
* Walk-up algorithm:
|
|
26
|
+
* 1. Start from `fromDir`
|
|
27
|
+
* 2. Check if .brv/instance.json exists
|
|
28
|
+
* 3. If yes, verify pid is alive
|
|
29
|
+
* 4. If no, walk up to parent directory
|
|
30
|
+
* 5. Repeat until root or found
|
|
31
|
+
*
|
|
32
|
+
* @param fromDir - Starting directory (usually cwd)
|
|
33
|
+
* @returns DiscoveryResult with instance info and project root if found
|
|
34
|
+
*/
|
|
35
|
+
discover: (fromDir: string) => Promise<DiscoveryResult>;
|
|
36
|
+
/**
|
|
37
|
+
* Finds the project root by walking up from a directory.
|
|
38
|
+
* Returns the directory containing .brv/ or undefined if not found.
|
|
39
|
+
*
|
|
40
|
+
* @param fromDir - Starting directory
|
|
41
|
+
* @returns Project root path or undefined
|
|
42
|
+
*/
|
|
43
|
+
findProjectRoot: (fromDir: string) => Promise<string | undefined>;
|
|
44
|
+
}
|
|
45
|
+
//# sourceMappingURL=i-instance-discovery.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-instance-discovery.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-instance-discovery.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAA;AAErE;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GACvB;IAAC,KAAK,EAAE,KAAK,CAAC;IAAC,MAAM,EAAE,kBAAkB,GAAG,aAAa,CAAA;CAAC,GAC1D;IAAC,KAAK,EAAE,IAAI,CAAC;IAAC,QAAQ,EAAE,YAAY,CAAC;IAAC,WAAW,EAAE,MAAM,CAAA;CAAC,CAAA;AAE9D;;;;GAIG;AACH,MAAM,WAAW,kBAAkB;IACjC;;;;;;;;;;;;OAYG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,eAAe,CAAC,CAAA;IAEvD;;;;;;OAMG;IACH,eAAe,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAA;CAClE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-instance-discovery.js","sourceRoot":"","sources":["../../../core/interfaces/i-instance-discovery.ts"],"names":[],"mappings":""}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { InstanceInfo } from '../domain/entities/instance-info.js';
|
|
2
|
+
/**
|
|
3
|
+
* Read-only interface for loading instance information.
|
|
4
|
+
*
|
|
5
|
+
* This is a subset of IInstanceManager that only exposes the load() method,
|
|
6
|
+
* following the Interface Segregation Principle. The socket-io-client component
|
|
7
|
+
* only needs to READ instance.json, not write or manage it.
|
|
8
|
+
*/
|
|
9
|
+
export interface IInstanceReader {
|
|
10
|
+
/**
|
|
11
|
+
* Reads instance info from the project root.
|
|
12
|
+
* Returns undefined if instance.json doesn't exist or is invalid.
|
|
13
|
+
*
|
|
14
|
+
* @param projectRoot - Root directory containing .brv/
|
|
15
|
+
* @returns Instance info or undefined if not found/invalid
|
|
16
|
+
*/
|
|
17
|
+
load(projectRoot: string): Promise<InstanceInfo | undefined>;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=i-instance-reader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-instance-reader.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-instance-reader.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,qCAAqC,CAAA;AAErE;;;;;;GAMG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;;OAMG;IACH,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAAC,YAAY,GAAG,SAAS,CAAC,CAAA;CAC7D"}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-instance-reader.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-instance-reader.js","sourceRoot":"","sources":["../../../core/interfaces/i-instance-reader.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Strategy interface for handling reconnection logic.
|
|
3
|
+
* Follows Strategy Pattern for flexibility in reconnection behavior.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* Implementations should be stateless or manage their own state.
|
|
7
|
+
* The TransportClient delegates reconnection decisions to this strategy.
|
|
8
|
+
*/
|
|
9
|
+
export interface IReconnectionStrategy {
|
|
10
|
+
/**
|
|
11
|
+
* Gets the delay before the next reconnection attempt.
|
|
12
|
+
* @param attempt - Current attempt number (0-based)
|
|
13
|
+
* @returns Delay in milliseconds, or undefined to stop retrying
|
|
14
|
+
*/
|
|
15
|
+
getDelay(attempt: number): number | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* Resets the strategy state (e.g., attempt counter).
|
|
18
|
+
*/
|
|
19
|
+
reset(): void;
|
|
20
|
+
/**
|
|
21
|
+
* Checks if reconnection should continue.
|
|
22
|
+
* @param attempt - Current attempt number
|
|
23
|
+
* @returns true if should continue, false to give up
|
|
24
|
+
*/
|
|
25
|
+
shouldContinue(attempt: number): boolean;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=i-reconnection-strategy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-reconnection-strategy.d.ts","sourceRoot":"","sources":["../../../core/interfaces/i-reconnection-strategy.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AACH,MAAM,WAAW,qBAAqB;IACpC;;;;OAIG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAAA;IAE7C;;OAEG;IACH,KAAK,IAAI,IAAI,CAAA;IAEb;;;;OAIG;IACH,cAAc,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;CACzC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"i-reconnection-strategy.js","sourceRoot":"","sources":["../../../core/interfaces/i-reconnection-strategy.ts"],"names":[],"mappings":""}
|
package/node_modules/@campfirein/brv-transport-client/dist/core/interfaces/i-room-manager.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Public interface for managing room subscriptions.
|
|
3
|
+
* Handles join and leave operations.
|
|
4
|
+
*
|
|
5
|
+
* @remarks
|
|
6
|
+
* Room operations require an active connection.
|
|
7
|
+
* This interface exposes only what consumers need.
|
|
8
|
+
*/
|
|
9
|
+
export interface IRoomManager {
|
|
10
|
+
/**
|
|
11
|
+
* Joins a room for targeted broadcasts.
|
|
12
|
+
* @param room - Room identifier to join
|
|
13
|
+
* @throws TransportNotConnectedError if not connected
|
|
14
|
+
* @throws TransportRoomError if join fails
|
|
15
|
+
* @throws TransportRoomTimeoutError if join times out
|
|
16
|
+
*/
|
|
17
|
+
joinRoom(room: string): Promise<void>;
|
|
18
|
+
/**
|
|
19
|
+
* Leaves a previously joined room.
|
|
20
|
+
* @param room - Room identifier to leave
|
|
21
|
+
* @throws TransportNotConnectedError if not connected
|
|
22
|
+
* @throws TransportRoomError if leave fails
|
|
23
|
+
* @throws TransportRoomTimeoutError if leave times out
|
|
24
|
+
*/
|
|
25
|
+
leaveRoom(room: string): Promise<void>;
|
|
26
|
+
/**
|
|
27
|
+
* Gets the set of currently joined rooms.
|
|
28
|
+
* @returns Set of room identifiers
|
|
29
|
+
*/
|
|
30
|
+
getJoinedRooms(): ReadonlySet<string>;
|
|
31
|
+
}
|
|
32
|
+
//# sourceMappingURL=i-room-manager.d.ts.map
|