agentic-flow 2.0.1-alpha → 2.0.1-alpha.3
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/CHANGELOG.md +27 -135
- package/README.md +644 -1089
- package/dist/.tsbuildinfo +1 -0
- package/dist/agentdb/index.d.ts +26 -0
- package/dist/agentdb/tests/frontier-features.test.js +665 -0
- package/dist/agents/claudeAgent.d.ts +6 -0
- package/dist/agents/claudeAgentDirect.d.ts +6 -0
- package/dist/agents/claudeFlowAgent.d.ts +32 -0
- package/dist/agents/codeReviewAgent.d.ts +4 -0
- package/dist/agents/dataAgent.d.ts +4 -0
- package/dist/agents/directApiAgent.d.ts +10 -0
- package/dist/agents/webResearchAgent.d.ts +4 -0
- package/dist/billing/cli.d.ts +29 -0
- package/dist/billing/coupons/manager.d.ts +43 -0
- package/dist/billing/index.d.ts +100 -0
- package/dist/billing/mcp/tools.d.ts +39 -0
- package/dist/billing/metering/engine.d.ts +58 -0
- package/dist/billing/payments/processor.d.ts +68 -0
- package/dist/billing/pricing/tiers.d.ts +20 -0
- package/dist/billing/storage/adapters.d.ts +90 -0
- package/dist/billing/subscriptions/manager.d.ts +57 -0
- package/dist/billing/types.d.ts +255 -0
- package/dist/cli/agent-manager.d.ts +57 -0
- package/dist/cli/claude-code-wrapper.d.ts +21 -0
- package/dist/cli/commands/sona-train.d.ts +8 -0
- package/dist/cli/commands/sona.d.ts +10 -0
- package/dist/cli/config-wizard.d.ts +21 -0
- package/dist/cli/federation-cli.d.ts +54 -0
- package/dist/cli/mcp-manager.d.ts +12 -0
- package/dist/cli/mcp.d.ts +11 -0
- package/dist/cli-proxy.d.ts +7 -0
- package/dist/cli-standalone-proxy.d.ts +17 -0
- package/dist/config/claudeFlow.d.ts +33 -0
- package/dist/config/quic.d.ts +58 -0
- package/dist/config/tools.d.ts +17 -0
- package/dist/coordination/attention-coordinator.d.ts +182 -0
- package/dist/coordination/index.d.ts +6 -0
- package/dist/core/agentdb-fast.d.ts +139 -0
- package/dist/core/agentdb-fast.d.ts.map +1 -0
- package/dist/core/agentdb-fast.js +308 -0
- package/dist/core/agentdb-fast.js.map +1 -0
- package/dist/core/agentdb-wrapper-enhanced.d.ts +240 -0
- package/dist/core/agentdb-wrapper.d.ts +148 -0
- package/dist/core/attention-fallbacks.d.ts +111 -0
- package/dist/core/attention-native.d.ts +111 -0
- package/dist/core/attention-native.d.ts.map +1 -0
- package/dist/core/attention-native.js +268 -0
- package/dist/core/attention-native.js.map +1 -0
- package/dist/core/embedding-service.d.ts +117 -0
- package/dist/core/gnn-wrapper.d.ts +71 -0
- package/dist/core/index.d.ts +50 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +87 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/long-running-agent.d.ts +92 -0
- package/dist/core/provider-manager.d.ts +145 -0
- package/dist/examples/multi-agent-orchestration.d.ts +3 -0
- package/dist/examples/use-goal-planner.d.ts +3 -0
- package/dist/examples/use-provider-fallback.d.ts +13 -0
- package/dist/federation/EphemeralAgent.d.ts +84 -0
- package/dist/federation/FederationHub.d.ts +89 -0
- package/dist/federation/FederationHubClient.d.ts +70 -0
- package/dist/federation/FederationHubServer.d.ts +100 -0
- package/dist/federation/SecurityManager.d.ts +80 -0
- package/dist/federation/debug/agent-debug-stream.d.ts +171 -0
- package/dist/federation/debug/debug-stream.d.ts +157 -0
- package/dist/federation/index.d.ts +13 -0
- package/dist/federation/integrations/realtime-federation.d.ts +144 -0
- package/dist/federation/integrations/supabase-adapter-debug.d.ts +91 -0
- package/dist/federation/integrations/supabase-adapter.d.ts +89 -0
- package/dist/health.d.ts +28 -0
- package/dist/hooks/parallel-validation.d.ts +51 -0
- package/dist/hooks/swarm-learning-optimizer.d.ts +89 -0
- package/dist/index.d.ts +4 -0
- package/dist/mcp/claudeFlowSdkServer.d.ts +6 -0
- package/dist/mcp/fastmcp/servers/claude-flow-sdk.d.ts +3 -0
- package/dist/mcp/fastmcp/servers/http-sse.d.ts +3 -0
- package/dist/mcp/fastmcp/servers/http-streaming-updated.d.ts +3 -0
- package/dist/mcp/fastmcp/servers/poc-stdio.d.ts +3 -0
- package/dist/mcp/fastmcp/servers/stdio-full.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/agent/add-agent.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/agent/add-command.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/agent/execute.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/agent/list.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/agent/parallel.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/swarm/init.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/swarm/orchestrate.d.ts +3 -0
- package/dist/mcp/fastmcp/tools/swarm/spawn.d.ts +3 -0
- package/dist/mcp/fastmcp/types/index.d.ts +33 -0
- package/dist/mcp/standalone-stdio.d.ts +3 -0
- package/dist/mcp/tools/agent-booster-tools.d.ts +68 -0
- package/dist/mcp/tools/sona-tools.d.ts +155 -0
- package/dist/memory/SharedMemoryPool.d.ts +116 -0
- package/dist/memory/index.d.ts +8 -0
- package/dist/optimizations/agent-booster-migration.d.ts +116 -0
- package/dist/optimizations/configuration-tuning.d.ts +158 -0
- package/dist/optimizations/ruvector-backend.d.ts +178 -0
- package/dist/proxy/adaptive-proxy.d.ts +51 -0
- package/dist/proxy/anthropic-to-gemini.d.ts +20 -0
- package/dist/proxy/anthropic-to-onnx.d.ts +17 -0
- package/dist/proxy/anthropic-to-openrouter.d.ts +28 -0
- package/dist/proxy/anthropic-to-requesty.d.ts +33 -0
- package/dist/proxy/http2-proxy-optimized.d.ts +63 -0
- package/dist/proxy/http2-proxy.d.ts +43 -0
- package/dist/proxy/http3-proxy.d.ts +18 -0
- package/dist/proxy/provider-instructions.d.ts +37 -0
- package/dist/proxy/quic-proxy.d.ts +58 -0
- package/dist/proxy/tool-emulation.d.ts +121 -0
- package/dist/proxy/websocket-proxy.d.ts +39 -0
- package/dist/reasoningbank/AdvancedMemory.d.ts +120 -0
- package/dist/reasoningbank/HybridBackend.d.ts +99 -0
- package/dist/reasoningbank/backend-selector.d.ts +79 -0
- package/dist/reasoningbank/benchmark.d.ts +14 -0
- package/dist/reasoningbank/config/reasoningbank-types.d.ts +57 -0
- package/dist/reasoningbank/config/reasoningbank-types.ts +57 -0
- package/dist/reasoningbank/core/consolidate.d.ts +21 -0
- package/dist/reasoningbank/core/distill.d.ts +22 -0
- package/dist/reasoningbank/core/judge.d.ts +17 -0
- package/dist/reasoningbank/core/matts.d.ts +46 -0
- package/dist/reasoningbank/core/retrieve.d.ts +35 -0
- package/dist/reasoningbank/db/queries.d.ts +88 -0
- package/dist/reasoningbank/db/schema.d.ts +81 -0
- package/dist/reasoningbank/demo-comparison.d.ts +10 -0
- package/dist/reasoningbank/hooks/post-task.d.ts +9 -0
- package/dist/reasoningbank/hooks/pre-task.d.ts +9 -0
- package/dist/reasoningbank/index-new.d.ts +49 -0
- package/dist/reasoningbank/index.d.ts +50 -0
- package/dist/reasoningbank/test-integration.d.ts +7 -0
- package/dist/reasoningbank/test-retrieval.d.ts +6 -0
- package/dist/reasoningbank/test-validation.d.ts +7 -0
- package/dist/reasoningbank/types/index.d.ts +123 -0
- package/dist/reasoningbank/utils/config.d.ts +61 -0
- package/dist/reasoningbank/utils/embeddings.d.ts +21 -0
- package/dist/reasoningbank/utils/mmr.d.ts +23 -0
- package/dist/reasoningbank/utils/pii-scrubber.d.ts +46 -0
- package/dist/reasoningbank/wasm-adapter.d.ts +104 -0
- package/dist/router/model-mapping.d.ts +31 -0
- package/dist/router/providers/anthropic.d.ts +17 -0
- package/dist/router/providers/gemini.d.ts +17 -0
- package/dist/router/providers/onnx-local-optimized.d.ts +71 -0
- package/dist/router/providers/onnx-local.d.ts +75 -0
- package/dist/router/providers/onnx-phi4.d.ts +64 -0
- package/dist/router/providers/onnx.d.ts +65 -0
- package/dist/router/providers/openrouter.d.ts +21 -0
- package/dist/router/router.d.ts +26 -0
- package/dist/router/test-integration.d.ts +13 -0
- package/dist/router/test-onnx-benchmark.d.ts +7 -0
- package/dist/router/test-onnx-integration.d.ts +8 -0
- package/dist/router/test-onnx-local.d.ts +6 -0
- package/dist/router/test-onnx.d.ts +7 -0
- package/dist/router/test-openrouter.d.ts +3 -0
- package/dist/router/test-phi4.d.ts +6 -0
- package/dist/router/types.d.ts +209 -0
- package/dist/services/embedding-service.d.ts +117 -0
- package/dist/services/sona-agent-training.d.ts +149 -0
- package/dist/services/sona-agentdb-integration.d.ts +136 -0
- package/dist/services/sona-service.d.ts +191 -0
- package/dist/services/sona-types.d.ts +119 -0
- package/dist/swarm/index.d.ts +51 -0
- package/dist/swarm/quic-coordinator.d.ts +149 -0
- package/dist/swarm/transport-router.d.ts +124 -0
- package/dist/transport/index.d.ts +2 -0
- package/dist/transport/quic-handshake.d.ts +66 -0
- package/dist/transport/quic.d.ts +184 -0
- package/dist/types/agentdb.d.ts +304 -0
- package/dist/utils/agentBoosterPreprocessor.d.ts +72 -0
- package/dist/utils/agentLoader.d.ts +22 -0
- package/dist/utils/agentdb-runtime-patch.d.ts +28 -0
- package/dist/utils/auth.d.ts +13 -0
- package/dist/utils/cli.d.ts +31 -0
- package/dist/utils/compression-middleware.d.ts +55 -0
- package/dist/utils/connection-pool.d.ts +30 -0
- package/dist/utils/logger.d.ts +19 -0
- package/dist/utils/math.d.ts +12 -0
- package/dist/utils/mcpCommands.d.ts +2 -0
- package/dist/utils/model-downloader.d.ts +63 -0
- package/dist/utils/modelCapabilities.d.ts +30 -0
- package/dist/utils/modelOptimizer.d.ts +207 -0
- package/dist/utils/rate-limiter.d.ts +17 -0
- package/dist/utils/reasoningbankCommands.d.ts +6 -0
- package/dist/utils/response-cache.d.ts +94 -0
- package/dist/utils/retry.d.ts +9 -0
- package/dist/utils/streaming-optimizer.d.ts +37 -0
- package/docs/README.md +209 -109
- package/package.json +66 -150
- package/validation/docker/Dockerfile.reasoningbank-local +24 -0
- package/validation/docker/Dockerfile.reasoningbank-test +21 -0
- package/validation/docker/README.md +234 -0
- package/validation/docker/docker-compose.yml +29 -0
- package/validation/docker/test-reasoningbank-npx.mjs +442 -0
- package/validation/docker-e2e-validation.sh +212 -0
- package/validation/docker-npm-validation.sh +170 -0
- package/validation/docker-quic-test.sh +42 -0
- package/validation/docker-quic-validation.sh +60 -0
- package/validation/quic-deep-validation.ts +304 -0
- package/validation/quick-wins/test-logging.ts +7 -0
- package/validation/quick-wins/test-retry.ts +7 -0
- package/validation/simple-npm-validation.sh +131 -0
- package/validation/test-gemini-exclusiveMinimum-fix.ts +142 -0
- package/validation/test-gemini-models.ts +200 -0
- package/validation/test-provider-fallback.ts +285 -0
- package/validation/test-quic-integration.ts +243 -0
- package/validation/test-quic-wasm.ts +94 -0
- package/validation/test-regression.mjs +246 -0
- package/validation/test-wasm-e2e.ts +354 -0
- package/validation/test-wasm-integration.ts +99 -0
- package/validation/validate-v1.10.0-docker.sh +296 -0
- package/wasm/quic/agentic_flow_quic.d.ts +37 -0
- package/wasm/quic/agentic_flow_quic_bg.wasm.d.ts +19 -0
- package/wasm/reasoningbank/reasoningbank_wasm.d.ts +41 -0
- package/wasm/reasoningbank/reasoningbank_wasm_bg.wasm.d.ts +20 -0
- package/agentic-flow/CHANGELOG.md +0 -42
- package/agentic-flow/README.md +0 -874
- package/agentic-flow/dist/core/agentdb-fast.d.ts.map +0 -1
- package/agentic-flow/dist/core/agentdb-fast.js +0 -299
- package/agentic-flow/dist/core/agentdb-fast.js.map +0 -1
- package/agentic-flow/dist/core/index.d.ts.map +0 -1
- package/agentic-flow/dist/core/index.js +0 -83
- package/agentic-flow/dist/core/index.js.map +0 -1
- package/agentic-flow/docs/LICENSE +0 -21
- package/agentic-flow/docs/README.md +0 -217
- package/packages/agentic-jujutsu/.cargo/config.toml +0 -14
- package/packages/agentic-jujutsu/.claude-flow/metrics/agent-metrics.json +0 -1
- package/packages/agentic-jujutsu/.claude-flow/metrics/performance.json +0 -87
- package/packages/agentic-jujutsu/.claude-flow/metrics/task-metrics.json +0 -10
- package/packages/agentic-jujutsu/BUILD.md +0 -292
- package/packages/agentic-jujutsu/CHANGELOG.md +0 -143
- package/packages/agentic-jujutsu/CHANGELOG_v2.2.0.md +0 -203
- package/packages/agentic-jujutsu/CRATE_README.md +0 -269
- package/packages/agentic-jujutsu/Dockerfile +0 -8
- package/packages/agentic-jujutsu/Dockerfile.test +0 -81
- package/packages/agentic-jujutsu/FUNCTIONALITY_VERIFICATION.md +0 -377
- package/packages/agentic-jujutsu/LICENSE +0 -21
- package/packages/agentic-jujutsu/NAPI_CI_CD_FILES.txt +0 -162
- package/packages/agentic-jujutsu/QUANTUM_INTEGRATION_SUMMARY.txt +0 -67
- package/packages/agentic-jujutsu/README.md +0 -2248
- package/packages/agentic-jujutsu/README_QUANTUM_INTEGRATION.md +0 -195
- package/packages/agentic-jujutsu/agentic-jujutsu-2.0.0.tgz +0 -0
- package/packages/agentic-jujutsu/agentic-jujutsu-2.0.1.tgz +0 -0
- package/packages/agentic-jujutsu/agentic-jujutsu-2.0.2.tgz +0 -0
- package/packages/agentic-jujutsu/agentic-jujutsu-2.0.3.tgz +0 -0
- package/packages/agentic-jujutsu/agentic-jujutsu-2.2.0.tgz +0 -0
- package/packages/agentic-jujutsu/agentic-jujutsu-2.3.4.tgz +0 -0
- package/packages/agentic-jujutsu/agentic-jujutsu.linux-x64-gnu.node +0 -0
- package/packages/agentic-jujutsu/benchmarks/README.md +0 -403
- package/packages/agentic-jujutsu/benchmarks/docker/.env.example +0 -24
- package/packages/agentic-jujutsu/benchmarks/docker/Dockerfile.git +0 -55
- package/packages/agentic-jujutsu/benchmarks/docker/Dockerfile.jujutsu +0 -67
- package/packages/agentic-jujutsu/benchmarks/docker/Dockerfile.swarm-coordinator +0 -45
- package/packages/agentic-jujutsu/benchmarks/docker/config/prometheus.yml +0 -20
- package/packages/agentic-jujutsu/benchmarks/docker/docker-compose.yml +0 -152
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/collect-metrics.sh +0 -143
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/generate-reports.sh +0 -150
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/run-benchmarks.sh +0 -80
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/setup-repos.sh +0 -88
- package/packages/agentic-jujutsu/benchmarks/docker/tests/concurrent-commits.sh +0 -111
- package/packages/agentic-jujutsu/benchmarks/docker/tests/conflict-resolution.sh +0 -239
- package/packages/agentic-jujutsu/bin/cli.js +0 -286
- package/packages/agentic-jujutsu/bin/mcp-server.js +0 -20
- package/packages/agentic-jujutsu/build.rs +0 -134
- package/packages/agentic-jujutsu/check-methods.js +0 -26
- package/packages/agentic-jujutsu/helpers/encryption.js +0 -234
- package/packages/agentic-jujutsu/index.d.ts +0 -853
- package/packages/agentic-jujutsu/index.js +0 -321
- package/packages/agentic-jujutsu/node_modules/.package-lock.json +0 -1135
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/LICENSE.txt +0 -14
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/README.md +0 -143
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/build/index.cjs +0 -317
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/build/index.d.cts +0 -43
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/build/lib/index.js +0 -302
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/index.mjs +0 -14
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/package.json +0 -86
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/README.md +0 -96
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/package.json +0 -65
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/scripts/index.js +0 -51371
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/.editorconfig +0 -14
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/CHANGELOG.md +0 -147
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/LICENSE +0 -201
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/README.md +0 -413
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/is-default-value.js +0 -25
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +0 -35
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/negate.js +0 -43
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +0 -31
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +0 -41
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +0 -26
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/index.js +0 -396
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/errors.js +0 -47
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/primordials.js +0 -393
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/util.js +0 -14
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/validators.js +0 -89
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/package.json +0 -36
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/utils.js +0 -198
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/README.md +0 -209
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/index.d.ts +0 -545
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/index.js +0 -328
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/package.json +0 -58
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/qudag-napi-core.linux-x64-gnu.node +0 -0
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/test-napi.js +0 -38
- package/packages/agentic-jujutsu/node_modules/@types/node/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/@types/node/README.md +0 -15
- package/packages/agentic-jujutsu/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/packages/agentic-jujutsu/node_modules/@types/node/assert.d.ts +0 -1062
- package/packages/agentic-jujutsu/node_modules/@types/node/async_hooks.d.ts +0 -605
- package/packages/agentic-jujutsu/node_modules/@types/node/buffer.buffer.d.ts +0 -471
- package/packages/agentic-jujutsu/node_modules/@types/node/buffer.d.ts +0 -1936
- package/packages/agentic-jujutsu/node_modules/@types/node/child_process.d.ts +0 -1475
- package/packages/agentic-jujutsu/node_modules/@types/node/cluster.d.ts +0 -577
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/disposable.d.ts +0 -16
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/indexable.d.ts +0 -20
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/packages/agentic-jujutsu/node_modules/@types/node/console.d.ts +0 -452
- package/packages/agentic-jujutsu/node_modules/@types/node/constants.d.ts +0 -21
- package/packages/agentic-jujutsu/node_modules/@types/node/crypto.d.ts +0 -4590
- package/packages/agentic-jujutsu/node_modules/@types/node/dgram.d.ts +0 -597
- package/packages/agentic-jujutsu/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/packages/agentic-jujutsu/node_modules/@types/node/dns/promises.d.ts +0 -479
- package/packages/agentic-jujutsu/node_modules/@types/node/dns.d.ts +0 -871
- package/packages/agentic-jujutsu/node_modules/@types/node/domain.d.ts +0 -170
- package/packages/agentic-jujutsu/node_modules/@types/node/events.d.ts +0 -977
- package/packages/agentic-jujutsu/node_modules/@types/node/fs/promises.d.ts +0 -1270
- package/packages/agentic-jujutsu/node_modules/@types/node/fs.d.ts +0 -4375
- package/packages/agentic-jujutsu/node_modules/@types/node/globals.d.ts +0 -172
- package/packages/agentic-jujutsu/node_modules/@types/node/globals.typedarray.d.ts +0 -38
- package/packages/agentic-jujutsu/node_modules/@types/node/http.d.ts +0 -2049
- package/packages/agentic-jujutsu/node_modules/@types/node/http2.d.ts +0 -2631
- package/packages/agentic-jujutsu/node_modules/@types/node/https.d.ts +0 -578
- package/packages/agentic-jujutsu/node_modules/@types/node/index.d.ts +0 -93
- package/packages/agentic-jujutsu/node_modules/@types/node/inspector.generated.d.ts +0 -3966
- package/packages/agentic-jujutsu/node_modules/@types/node/module.d.ts +0 -539
- package/packages/agentic-jujutsu/node_modules/@types/node/net.d.ts +0 -1012
- package/packages/agentic-jujutsu/node_modules/@types/node/os.d.ts +0 -506
- package/packages/agentic-jujutsu/node_modules/@types/node/package.json +0 -140
- package/packages/agentic-jujutsu/node_modules/@types/node/path.d.ts +0 -200
- package/packages/agentic-jujutsu/node_modules/@types/node/perf_hooks.d.ts +0 -961
- package/packages/agentic-jujutsu/node_modules/@types/node/process.d.ts +0 -1945
- package/packages/agentic-jujutsu/node_modules/@types/node/punycode.d.ts +0 -117
- package/packages/agentic-jujutsu/node_modules/@types/node/querystring.d.ts +0 -152
- package/packages/agentic-jujutsu/node_modules/@types/node/readline/promises.d.ts +0 -162
- package/packages/agentic-jujutsu/node_modules/@types/node/readline.d.ts +0 -589
- package/packages/agentic-jujutsu/node_modules/@types/node/repl.d.ts +0 -430
- package/packages/agentic-jujutsu/node_modules/@types/node/sea.d.ts +0 -153
- package/packages/agentic-jujutsu/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/packages/agentic-jujutsu/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/packages/agentic-jujutsu/node_modules/@types/node/stream/web.d.ts +0 -533
- package/packages/agentic-jujutsu/node_modules/@types/node/stream.d.ts +0 -1675
- package/packages/agentic-jujutsu/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/packages/agentic-jujutsu/node_modules/@types/node/test.d.ts +0 -1787
- package/packages/agentic-jujutsu/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/packages/agentic-jujutsu/node_modules/@types/node/timers.d.ts +0 -286
- package/packages/agentic-jujutsu/node_modules/@types/node/tls.d.ts +0 -1255
- package/packages/agentic-jujutsu/node_modules/@types/node/trace_events.d.ts +0 -197
- package/packages/agentic-jujutsu/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -468
- package/packages/agentic-jujutsu/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -34
- package/packages/agentic-jujutsu/node_modules/@types/node/ts5.6/index.d.ts +0 -93
- package/packages/agentic-jujutsu/node_modules/@types/node/tty.d.ts +0 -208
- package/packages/agentic-jujutsu/node_modules/@types/node/url.d.ts +0 -964
- package/packages/agentic-jujutsu/node_modules/@types/node/util.d.ts +0 -2331
- package/packages/agentic-jujutsu/node_modules/@types/node/v8.d.ts +0 -809
- package/packages/agentic-jujutsu/node_modules/@types/node/vm.d.ts +0 -1001
- package/packages/agentic-jujutsu/node_modules/@types/node/wasi.d.ts +0 -181
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/abortcontroller.d.ts +0 -34
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/domexception.d.ts +0 -68
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/events.d.ts +0 -97
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/fetch.d.ts +0 -46
- package/packages/agentic-jujutsu/node_modules/@types/node/worker_threads.d.ts +0 -715
- package/packages/agentic-jujutsu/node_modules/@types/node/zlib.d.ts +0 -540
- package/packages/agentic-jujutsu/node_modules/ansi-regex/index.d.ts +0 -33
- package/packages/agentic-jujutsu/node_modules/ansi-regex/index.js +0 -14
- package/packages/agentic-jujutsu/node_modules/ansi-regex/license +0 -9
- package/packages/agentic-jujutsu/node_modules/ansi-regex/package.json +0 -61
- package/packages/agentic-jujutsu/node_modules/ansi-regex/readme.md +0 -66
- package/packages/agentic-jujutsu/node_modules/ansi-styles/index.d.ts +0 -345
- package/packages/agentic-jujutsu/node_modules/ansi-styles/index.js +0 -163
- package/packages/agentic-jujutsu/node_modules/ansi-styles/license +0 -9
- package/packages/agentic-jujutsu/node_modules/ansi-styles/package.json +0 -56
- package/packages/agentic-jujutsu/node_modules/ansi-styles/readme.md +0 -152
- package/packages/agentic-jujutsu/node_modules/argparse/CHANGELOG.md +0 -216
- package/packages/agentic-jujutsu/node_modules/argparse/LICENSE +0 -254
- package/packages/agentic-jujutsu/node_modules/argparse/README.md +0 -84
- package/packages/agentic-jujutsu/node_modules/argparse/argparse.js +0 -3707
- package/packages/agentic-jujutsu/node_modules/argparse/lib/sub.js +0 -67
- package/packages/agentic-jujutsu/node_modules/argparse/lib/textwrap.js +0 -440
- package/packages/agentic-jujutsu/node_modules/argparse/package.json +0 -31
- package/packages/agentic-jujutsu/node_modules/balanced-match/.github/FUNDING.yml +0 -2
- package/packages/agentic-jujutsu/node_modules/balanced-match/LICENSE.md +0 -21
- package/packages/agentic-jujutsu/node_modules/balanced-match/README.md +0 -97
- package/packages/agentic-jujutsu/node_modules/balanced-match/index.js +0 -62
- package/packages/agentic-jujutsu/node_modules/balanced-match/package.json +0 -48
- package/packages/agentic-jujutsu/node_modules/brace-expansion/.github/FUNDING.yml +0 -2
- package/packages/agentic-jujutsu/node_modules/brace-expansion/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/brace-expansion/README.md +0 -135
- package/packages/agentic-jujutsu/node_modules/brace-expansion/index.js +0 -203
- package/packages/agentic-jujutsu/node_modules/brace-expansion/package.json +0 -49
- package/packages/agentic-jujutsu/node_modules/browser-stdout/LICENSE +0 -5
- package/packages/agentic-jujutsu/node_modules/browser-stdout/README.md +0 -40
- package/packages/agentic-jujutsu/node_modules/browser-stdout/index.js +0 -25
- package/packages/agentic-jujutsu/node_modules/browser-stdout/package.json +0 -15
- package/packages/agentic-jujutsu/node_modules/camelcase/index.d.ts +0 -103
- package/packages/agentic-jujutsu/node_modules/camelcase/index.js +0 -113
- package/packages/agentic-jujutsu/node_modules/camelcase/license +0 -9
- package/packages/agentic-jujutsu/node_modules/camelcase/package.json +0 -44
- package/packages/agentic-jujutsu/node_modules/camelcase/readme.md +0 -144
- package/packages/agentic-jujutsu/node_modules/chalk/index.d.ts +0 -415
- package/packages/agentic-jujutsu/node_modules/chalk/license +0 -9
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/browser.js +0 -5
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/index.js +0 -135
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/license +0 -9
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/package.json +0 -53
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/readme.md +0 -76
- package/packages/agentic-jujutsu/node_modules/chalk/package.json +0 -68
- package/packages/agentic-jujutsu/node_modules/chalk/readme.md +0 -341
- package/packages/agentic-jujutsu/node_modules/chalk/source/index.js +0 -229
- package/packages/agentic-jujutsu/node_modules/chalk/source/templates.js +0 -134
- package/packages/agentic-jujutsu/node_modules/chalk/source/util.js +0 -39
- package/packages/agentic-jujutsu/node_modules/chokidar/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/chokidar/README.md +0 -305
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/handler.d.ts +0 -90
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/handler.js +0 -629
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/index.d.ts +0 -215
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/index.js +0 -798
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/package.json +0 -1
- package/packages/agentic-jujutsu/node_modules/chokidar/handler.d.ts +0 -90
- package/packages/agentic-jujutsu/node_modules/chokidar/handler.js +0 -635
- package/packages/agentic-jujutsu/node_modules/chokidar/index.d.ts +0 -215
- package/packages/agentic-jujutsu/node_modules/chokidar/index.js +0 -804
- package/packages/agentic-jujutsu/node_modules/chokidar/package.json +0 -69
- package/packages/agentic-jujutsu/node_modules/cliui/CHANGELOG.md +0 -139
- package/packages/agentic-jujutsu/node_modules/cliui/LICENSE.txt +0 -14
- package/packages/agentic-jujutsu/node_modules/cliui/README.md +0 -141
- package/packages/agentic-jujutsu/node_modules/cliui/build/index.cjs +0 -302
- package/packages/agentic-jujutsu/node_modules/cliui/build/index.d.cts +0 -43
- package/packages/agentic-jujutsu/node_modules/cliui/build/lib/index.js +0 -287
- package/packages/agentic-jujutsu/node_modules/cliui/build/lib/string-utils.js +0 -27
- package/packages/agentic-jujutsu/node_modules/cliui/index.mjs +0 -13
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/index.d.ts +0 -37
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/index.js +0 -10
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/license +0 -9
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/package.json +0 -55
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/readme.md +0 -78
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/README.md +0 -73
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/es2015/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/es2015/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/index.d.ts +0 -23
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/package.json +0 -50
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/index.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/index.js +0 -47
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/license +0 -9
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/package.json +0 -56
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/readme.md +0 -50
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/index.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/index.js +0 -4
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/license +0 -9
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/readme.md +0 -46
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/index.js +0 -216
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/license +0 -9
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/package.json +0 -62
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/readme.md +0 -91
- package/packages/agentic-jujutsu/node_modules/cliui/package.json +0 -83
- package/packages/agentic-jujutsu/node_modules/color-convert/CHANGELOG.md +0 -54
- package/packages/agentic-jujutsu/node_modules/color-convert/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/color-convert/README.md +0 -68
- package/packages/agentic-jujutsu/node_modules/color-convert/conversions.js +0 -839
- package/packages/agentic-jujutsu/node_modules/color-convert/index.js +0 -81
- package/packages/agentic-jujutsu/node_modules/color-convert/package.json +0 -48
- package/packages/agentic-jujutsu/node_modules/color-convert/route.js +0 -97
- package/packages/agentic-jujutsu/node_modules/color-name/LICENSE +0 -8
- package/packages/agentic-jujutsu/node_modules/color-name/README.md +0 -11
- package/packages/agentic-jujutsu/node_modules/color-name/index.js +0 -152
- package/packages/agentic-jujutsu/node_modules/color-name/package.json +0 -28
- package/packages/agentic-jujutsu/node_modules/cross-spawn/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/cross-spawn/README.md +0 -89
- package/packages/agentic-jujutsu/node_modules/cross-spawn/index.js +0 -39
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/enoent.js +0 -59
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/parse.js +0 -91
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/util/escape.js +0 -47
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/util/readShebang.js +0 -23
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/util/resolveCommand.js +0 -52
- package/packages/agentic-jujutsu/node_modules/cross-spawn/package.json +0 -73
- package/packages/agentic-jujutsu/node_modules/debug/LICENSE +0 -20
- package/packages/agentic-jujutsu/node_modules/debug/README.md +0 -481
- package/packages/agentic-jujutsu/node_modules/debug/package.json +0 -64
- package/packages/agentic-jujutsu/node_modules/debug/src/browser.js +0 -272
- package/packages/agentic-jujutsu/node_modules/debug/src/common.js +0 -292
- package/packages/agentic-jujutsu/node_modules/debug/src/index.js +0 -10
- package/packages/agentic-jujutsu/node_modules/debug/src/node.js +0 -263
- package/packages/agentic-jujutsu/node_modules/decamelize/index.d.ts +0 -20
- package/packages/agentic-jujutsu/node_modules/decamelize/index.js +0 -12
- package/packages/agentic-jujutsu/node_modules/decamelize/license +0 -9
- package/packages/agentic-jujutsu/node_modules/decamelize/package.json +0 -40
- package/packages/agentic-jujutsu/node_modules/decamelize/readme.md +0 -51
- package/packages/agentic-jujutsu/node_modules/diff/CONTRIBUTING.md +0 -40
- package/packages/agentic-jujutsu/node_modules/diff/LICENSE +0 -29
- package/packages/agentic-jujutsu/node_modules/diff/README.md +0 -346
- package/packages/agentic-jujutsu/node_modules/diff/dist/diff.js +0 -2106
- package/packages/agentic-jujutsu/node_modules/diff/dist/diff.min.js +0 -37
- package/packages/agentic-jujutsu/node_modules/diff/lib/convert/dmp.js +0 -27
- package/packages/agentic-jujutsu/node_modules/diff/lib/convert/xml.js +0 -35
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/array.js +0 -39
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/base.js +0 -304
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/character.js +0 -33
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/css.js +0 -36
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/json.js +0 -143
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/line.js +0 -121
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/sentence.js +0 -36
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/word.js +0 -543
- package/packages/agentic-jujutsu/node_modules/diff/lib/index.es6.js +0 -2041
- package/packages/agentic-jujutsu/node_modules/diff/lib/index.js +0 -217
- package/packages/agentic-jujutsu/node_modules/diff/lib/index.mjs +0 -2041
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/apply.js +0 -393
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/create.js +0 -369
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/line-endings.js +0 -176
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/merge.js +0 -535
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/parse.js +0 -151
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/reverse.js +0 -58
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/array.js +0 -27
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/distance-iterator.js +0 -54
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/params.js +0 -22
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/string.js +0 -131
- package/packages/agentic-jujutsu/node_modules/diff/package.json +0 -88
- package/packages/agentic-jujutsu/node_modules/diff/release-notes.md +0 -361
- package/packages/agentic-jujutsu/node_modules/diff/runtime.js +0 -3
- package/packages/agentic-jujutsu/node_modules/eastasianwidth/README.md +0 -32
- package/packages/agentic-jujutsu/node_modules/eastasianwidth/eastasianwidth.js +0 -311
- package/packages/agentic-jujutsu/node_modules/eastasianwidth/package.json +0 -18
- package/packages/agentic-jujutsu/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/packages/agentic-jujutsu/node_modules/emoji-regex/README.md +0 -137
- package/packages/agentic-jujutsu/node_modules/emoji-regex/RGI_Emoji.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/emoji-regex/RGI_Emoji.js +0 -6
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/RGI_Emoji.js +0 -6
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/index.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/text.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/emoji-regex/index.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/emoji-regex/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/emoji-regex/package.json +0 -52
- package/packages/agentic-jujutsu/node_modules/emoji-regex/text.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/emoji-regex/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/escalade/dist/index.js +0 -22
- package/packages/agentic-jujutsu/node_modules/escalade/dist/index.mjs +0 -22
- package/packages/agentic-jujutsu/node_modules/escalade/index.d.mts +0 -11
- package/packages/agentic-jujutsu/node_modules/escalade/index.d.ts +0 -15
- package/packages/agentic-jujutsu/node_modules/escalade/license +0 -9
- package/packages/agentic-jujutsu/node_modules/escalade/package.json +0 -74
- package/packages/agentic-jujutsu/node_modules/escalade/readme.md +0 -211
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.d.mts +0 -9
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.d.ts +0 -13
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.js +0 -18
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.mjs +0 -18
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/index.d.ts +0 -18
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/index.js +0 -13
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/license +0 -9
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/package.json +0 -38
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/readme.md +0 -34
- package/packages/agentic-jujutsu/node_modules/find-up/index.d.ts +0 -138
- package/packages/agentic-jujutsu/node_modules/find-up/index.js +0 -89
- package/packages/agentic-jujutsu/node_modules/find-up/license +0 -9
- package/packages/agentic-jujutsu/node_modules/find-up/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/find-up/readme.md +0 -151
- package/packages/agentic-jujutsu/node_modules/flat/LICENSE +0 -12
- package/packages/agentic-jujutsu/node_modules/flat/README.md +0 -236
- package/packages/agentic-jujutsu/node_modules/flat/cli.js +0 -42
- package/packages/agentic-jujutsu/node_modules/flat/index.js +0 -158
- package/packages/agentic-jujutsu/node_modules/flat/package.json +0 -37
- package/packages/agentic-jujutsu/node_modules/flat/test/test.js +0 -643
- package/packages/agentic-jujutsu/node_modules/foreground-child/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/foreground-child/README.md +0 -128
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +0 -2
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.js +0 -58
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.d.ts +0 -58
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.js +0 -123
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +0 -6
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.js +0 -38
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +0 -10
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.js +0 -50
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.d.ts +0 -2
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.js +0 -52
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.d.ts +0 -58
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.js +0 -115
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +0 -6
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.js +0 -34
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.d.ts +0 -10
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.js +0 -46
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/foreground-child/package.json +0 -106
- package/packages/agentic-jujutsu/node_modules/get-caller-file/LICENSE.md +0 -6
- package/packages/agentic-jujutsu/node_modules/get-caller-file/README.md +0 -41
- package/packages/agentic-jujutsu/node_modules/get-caller-file/index.d.ts +0 -2
- package/packages/agentic-jujutsu/node_modules/get-caller-file/index.js +0 -22
- package/packages/agentic-jujutsu/node_modules/get-caller-file/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/get-caller-file/package.json +0 -42
- package/packages/agentic-jujutsu/node_modules/glob/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/glob/README.md +0 -1265
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.d.ts +0 -388
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.js +0 -247
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.d.ts +0 -14
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.js +0 -27
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.d.ts +0 -24
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.js +0 -119
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.d.ts +0 -97
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.js +0 -68
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.d.ts +0 -76
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.js +0 -219
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.d.ts +0 -59
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.js +0 -301
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.d.ts +0 -97
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.js +0 -387
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.d.mts +0 -3
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.d.mts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.mjs +0 -270
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.mjs.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.d.ts +0 -388
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.js +0 -243
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.d.ts +0 -14
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.js +0 -23
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.d.ts +0 -24
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.js +0 -115
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.d.ts +0 -97
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.js +0 -55
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.d.ts +0 -76
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.js +0 -215
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.d.ts +0 -59
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.js +0 -294
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.d.ts +0 -97
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.js +0 -381
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/glob/package.json +0 -99
- package/packages/agentic-jujutsu/node_modules/has-flag/index.d.ts +0 -39
- package/packages/agentic-jujutsu/node_modules/has-flag/index.js +0 -8
- package/packages/agentic-jujutsu/node_modules/has-flag/license +0 -9
- package/packages/agentic-jujutsu/node_modules/has-flag/package.json +0 -46
- package/packages/agentic-jujutsu/node_modules/has-flag/readme.md +0 -89
- package/packages/agentic-jujutsu/node_modules/he/LICENSE-MIT.txt +0 -20
- package/packages/agentic-jujutsu/node_modules/he/README.md +0 -379
- package/packages/agentic-jujutsu/node_modules/he/bin/he +0 -148
- package/packages/agentic-jujutsu/node_modules/he/he.js +0 -345
- package/packages/agentic-jujutsu/node_modules/he/man/he.1 +0 -78
- package/packages/agentic-jujutsu/node_modules/he/package.json +0 -58
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/index.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/index.js +0 -50
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/license +0 -9
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/package.json +0 -42
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/readme.md +0 -39
- package/packages/agentic-jujutsu/node_modules/is-path-inside/index.d.ts +0 -27
- package/packages/agentic-jujutsu/node_modules/is-path-inside/index.js +0 -12
- package/packages/agentic-jujutsu/node_modules/is-path-inside/license +0 -9
- package/packages/agentic-jujutsu/node_modules/is-path-inside/package.json +0 -36
- package/packages/agentic-jujutsu/node_modules/is-path-inside/readme.md +0 -63
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/index.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/index.js +0 -10
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/license +0 -9
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/package.json +0 -38
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/readme.md +0 -54
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/index.d.ts +0 -14
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/index.js +0 -13
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/license +0 -9
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/package.json +0 -41
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/readme.md +0 -35
- package/packages/agentic-jujutsu/node_modules/isexe/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/isexe/README.md +0 -51
- package/packages/agentic-jujutsu/node_modules/isexe/index.js +0 -57
- package/packages/agentic-jujutsu/node_modules/isexe/mode.js +0 -41
- package/packages/agentic-jujutsu/node_modules/isexe/package.json +0 -31
- package/packages/agentic-jujutsu/node_modules/isexe/test/basic.js +0 -221
- package/packages/agentic-jujutsu/node_modules/isexe/windows.js +0 -42
- package/packages/agentic-jujutsu/node_modules/jackspeak/LICENSE.md +0 -55
- package/packages/agentic-jujutsu/node_modules/jackspeak/README.md +0 -357
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.d.ts +0 -315
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.js +0 -1010
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +0 -4
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args.js +0 -50
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.d.ts +0 -315
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.js +0 -1000
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.d.ts +0 -4
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.js +0 -26
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/jackspeak/package.json +0 -95
- package/packages/agentic-jujutsu/node_modules/js-yaml/CHANGELOG.md +0 -616
- package/packages/agentic-jujutsu/node_modules/js-yaml/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/js-yaml/README.md +0 -246
- package/packages/agentic-jujutsu/node_modules/js-yaml/bin/js-yaml.js +0 -126
- package/packages/agentic-jujutsu/node_modules/js-yaml/dist/js-yaml.js +0 -3874
- package/packages/agentic-jujutsu/node_modules/js-yaml/dist/js-yaml.min.js +0 -2
- package/packages/agentic-jujutsu/node_modules/js-yaml/dist/js-yaml.mjs +0 -3851
- package/packages/agentic-jujutsu/node_modules/js-yaml/index.js +0 -47
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/common.js +0 -59
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/dumper.js +0 -965
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/exception.js +0 -55
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/loader.js +0 -1727
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/core.js +0 -11
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/default.js +0 -22
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/failsafe.js +0 -17
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/json.js +0 -19
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema.js +0 -121
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/snippet.js +0 -101
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/binary.js +0 -125
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/bool.js +0 -35
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/float.js +0 -97
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/int.js +0 -156
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/map.js +0 -8
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/merge.js +0 -12
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/null.js +0 -35
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/omap.js +0 -44
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/pairs.js +0 -53
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/seq.js +0 -8
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/set.js +0 -29
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/str.js +0 -8
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/timestamp.js +0 -88
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type.js +0 -66
- package/packages/agentic-jujutsu/node_modules/js-yaml/package.json +0 -66
- package/packages/agentic-jujutsu/node_modules/locate-path/index.d.ts +0 -83
- package/packages/agentic-jujutsu/node_modules/locate-path/index.js +0 -68
- package/packages/agentic-jujutsu/node_modules/locate-path/license +0 -9
- package/packages/agentic-jujutsu/node_modules/locate-path/package.json +0 -46
- package/packages/agentic-jujutsu/node_modules/locate-path/readme.md +0 -125
- package/packages/agentic-jujutsu/node_modules/log-symbols/browser.js +0 -8
- package/packages/agentic-jujutsu/node_modules/log-symbols/index.d.ts +0 -25
- package/packages/agentic-jujutsu/node_modules/log-symbols/index.js +0 -19
- package/packages/agentic-jujutsu/node_modules/log-symbols/license +0 -9
- package/packages/agentic-jujutsu/node_modules/log-symbols/package.json +0 -52
- package/packages/agentic-jujutsu/node_modules/log-symbols/readme.md +0 -51
- package/packages/agentic-jujutsu/node_modules/lru-cache/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/lru-cache/README.md +0 -331
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.d.ts +0 -1277
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.js +0 -1546
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.min.js +0 -2
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.min.js.map +0 -7
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.d.ts +0 -1277
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.js +0 -1542
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.min.js +0 -2
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.min.js.map +0 -7
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/lru-cache/package.json +0 -116
- package/packages/agentic-jujutsu/node_modules/minimatch/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/minimatch/README.md +0 -454
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +0 -2
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +0 -14
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.d.ts +0 -20
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.js +0 -592
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +0 -8
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.js +0 -152
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.d.ts +0 -12
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.js +0 -22
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.d.ts +0 -94
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.js +0 -1017
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.js +0 -24
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +0 -2
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.js +0 -10
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.d.ts +0 -20
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.js +0 -588
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.d.ts +0 -8
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.js +0 -148
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.d.ts +0 -12
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.js +0 -18
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.d.ts +0 -94
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.js +0 -1001
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.js +0 -20
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minimatch/package.json +0 -82
- package/packages/agentic-jujutsu/node_modules/minipass/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/minipass/README.md +0 -825
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.d.ts +0 -549
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.js +0 -1028
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.d.ts +0 -549
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.js +0 -1018
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/minipass/package.json +0 -82
- package/packages/agentic-jujutsu/node_modules/mocha/LICENSE +0 -22
- package/packages/agentic-jujutsu/node_modules/mocha/README.md +0 -74
- package/packages/agentic-jujutsu/node_modules/mocha/bin/_mocha +0 -10
- package/packages/agentic-jujutsu/node_modules/mocha/bin/mocha.js +0 -148
- package/packages/agentic-jujutsu/node_modules/mocha/browser-entry.js +0 -226
- package/packages/agentic-jujutsu/node_modules/mocha/index.js +0 -3
- package/packages/agentic-jujutsu/node_modules/mocha/lib/browser/highlight-tags.js +0 -39
- package/packages/agentic-jujutsu/node_modules/mocha/lib/browser/parse-query.js +0 -24
- package/packages/agentic-jujutsu/node_modules/mocha/lib/browser/template.html +0 -20
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/cli.js +0 -91
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/collect-files.js +0 -114
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/commands.js +0 -14
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/config.js +0 -100
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/index.js +0 -3
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/init.js +0 -36
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/lookup-files.js +0 -155
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/node-flags.js +0 -85
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/one-and-dones.js +0 -69
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/options.js +0 -337
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/run-helpers.js +0 -310
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/run-option-metadata.js +0 -138
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/run.js +0 -384
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/watch-run.js +0 -626
- package/packages/agentic-jujutsu/node_modules/mocha/lib/context.js +0 -91
- package/packages/agentic-jujutsu/node_modules/mocha/lib/error-constants.js +0 -123
- package/packages/agentic-jujutsu/node_modules/mocha/lib/errors.js +0 -440
- package/packages/agentic-jujutsu/node_modules/mocha/lib/hook.js +0 -89
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/bdd.js +0 -118
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/common.js +0 -198
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/exports.js +0 -60
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/qunit.js +0 -101
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/tdd.js +0 -110
- package/packages/agentic-jujutsu/node_modules/mocha/lib/mocha.js +0 -1255
- package/packages/agentic-jujutsu/node_modules/mocha/lib/mocharc.json +0 -10
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/buffered-worker-pool.js +0 -194
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/esm-utils.js +0 -158
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/file-unloader.js +0 -15
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js +0 -423
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/reporters/parallel-buffered.js +0 -161
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/serializer.js +0 -400
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/worker.js +0 -156
- package/packages/agentic-jujutsu/node_modules/mocha/lib/pending.js +0 -16
- package/packages/agentic-jujutsu/node_modules/mocha/lib/plugin-loader.js +0 -287
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/base.js +0 -589
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/doc.js +0 -100
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/dot.js +0 -86
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/html.js +0 -423
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/index.js +0 -19
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/json-stream.js +0 -93
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/json.js +0 -167
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/landing.js +0 -121
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/list.js +0 -83
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/markdown.js +0 -117
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/min.js +0 -57
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/nyan.js +0 -272
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/progress.js +0 -109
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/spec.js +0 -105
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/tap.js +0 -298
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/xunit.js +0 -232
- package/packages/agentic-jujutsu/node_modules/mocha/lib/runnable.js +0 -476
- package/packages/agentic-jujutsu/node_modules/mocha/lib/runner.js +0 -1307
- package/packages/agentic-jujutsu/node_modules/mocha/lib/stats-collector.js +0 -73
- package/packages/agentic-jujutsu/node_modules/mocha/lib/suite.js +0 -670
- package/packages/agentic-jujutsu/node_modules/mocha/lib/test.js +0 -113
- package/packages/agentic-jujutsu/node_modules/mocha/lib/utils.js +0 -698
- package/packages/agentic-jujutsu/node_modules/mocha/mocha.css +0 -455
- package/packages/agentic-jujutsu/node_modules/mocha/mocha.js +0 -21606
- package/packages/agentic-jujutsu/node_modules/mocha/mocha.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/mocha/package.json +0 -223
- package/packages/agentic-jujutsu/node_modules/ms/index.js +0 -162
- package/packages/agentic-jujutsu/node_modules/ms/license.md +0 -21
- package/packages/agentic-jujutsu/node_modules/ms/package.json +0 -38
- package/packages/agentic-jujutsu/node_modules/ms/readme.md +0 -59
- package/packages/agentic-jujutsu/node_modules/p-limit/index.d.ts +0 -42
- package/packages/agentic-jujutsu/node_modules/p-limit/index.js +0 -71
- package/packages/agentic-jujutsu/node_modules/p-limit/license +0 -9
- package/packages/agentic-jujutsu/node_modules/p-limit/package.json +0 -52
- package/packages/agentic-jujutsu/node_modules/p-limit/readme.md +0 -101
- package/packages/agentic-jujutsu/node_modules/p-locate/index.d.ts +0 -53
- package/packages/agentic-jujutsu/node_modules/p-locate/index.js +0 -50
- package/packages/agentic-jujutsu/node_modules/p-locate/license +0 -9
- package/packages/agentic-jujutsu/node_modules/p-locate/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/p-locate/readme.md +0 -93
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/LICENSE.md +0 -63
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/README.md +0 -110
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +0 -89
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.js +0 -134
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.d.ts +0 -89
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.js +0 -129
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/package.json +0 -68
- package/packages/agentic-jujutsu/node_modules/path-exists/index.d.ts +0 -28
- package/packages/agentic-jujutsu/node_modules/path-exists/index.js +0 -23
- package/packages/agentic-jujutsu/node_modules/path-exists/license +0 -9
- package/packages/agentic-jujutsu/node_modules/path-exists/package.json +0 -39
- package/packages/agentic-jujutsu/node_modules/path-exists/readme.md +0 -52
- package/packages/agentic-jujutsu/node_modules/path-key/index.d.ts +0 -40
- package/packages/agentic-jujutsu/node_modules/path-key/index.js +0 -16
- package/packages/agentic-jujutsu/node_modules/path-key/license +0 -9
- package/packages/agentic-jujutsu/node_modules/path-key/package.json +0 -39
- package/packages/agentic-jujutsu/node_modules/path-key/readme.md +0 -61
- package/packages/agentic-jujutsu/node_modules/path-scurry/LICENSE.md +0 -55
- package/packages/agentic-jujutsu/node_modules/path-scurry/README.md +0 -636
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.d.ts +0 -1116
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.js +0 -2014
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.d.ts +0 -1116
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.js +0 -1979
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/path-scurry/package.json +0 -89
- package/packages/agentic-jujutsu/node_modules/picocolors/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/picocolors/README.md +0 -21
- package/packages/agentic-jujutsu/node_modules/picocolors/package.json +0 -25
- package/packages/agentic-jujutsu/node_modules/picocolors/picocolors.browser.js +0 -4
- package/packages/agentic-jujutsu/node_modules/picocolors/picocolors.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/picocolors/picocolors.js +0 -75
- package/packages/agentic-jujutsu/node_modules/picocolors/types.d.ts +0 -51
- package/packages/agentic-jujutsu/node_modules/randombytes/.zuul.yml +0 -1
- package/packages/agentic-jujutsu/node_modules/randombytes/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/randombytes/README.md +0 -14
- package/packages/agentic-jujutsu/node_modules/randombytes/browser.js +0 -50
- package/packages/agentic-jujutsu/node_modules/randombytes/index.js +0 -1
- package/packages/agentic-jujutsu/node_modules/randombytes/package.json +0 -36
- package/packages/agentic-jujutsu/node_modules/randombytes/test.js +0 -81
- package/packages/agentic-jujutsu/node_modules/readdirp/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/readdirp/README.md +0 -120
- package/packages/agentic-jujutsu/node_modules/readdirp/esm/index.d.ts +0 -108
- package/packages/agentic-jujutsu/node_modules/readdirp/esm/index.js +0 -257
- package/packages/agentic-jujutsu/node_modules/readdirp/esm/package.json +0 -1
- package/packages/agentic-jujutsu/node_modules/readdirp/index.d.ts +0 -108
- package/packages/agentic-jujutsu/node_modules/readdirp/index.js +0 -263
- package/packages/agentic-jujutsu/node_modules/readdirp/package.json +0 -70
- package/packages/agentic-jujutsu/node_modules/require-directory/.jshintrc +0 -67
- package/packages/agentic-jujutsu/node_modules/require-directory/LICENSE +0 -22
- package/packages/agentic-jujutsu/node_modules/require-directory/README.markdown +0 -184
- package/packages/agentic-jujutsu/node_modules/require-directory/index.js +0 -86
- package/packages/agentic-jujutsu/node_modules/require-directory/package.json +0 -40
- package/packages/agentic-jujutsu/node_modules/safe-buffer/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/safe-buffer/README.md +0 -584
- package/packages/agentic-jujutsu/node_modules/safe-buffer/index.d.ts +0 -187
- package/packages/agentic-jujutsu/node_modules/safe-buffer/index.js +0 -65
- package/packages/agentic-jujutsu/node_modules/safe-buffer/package.json +0 -51
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/LICENSE +0 -27
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/README.md +0 -143
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/index.js +0 -268
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/package.json +0 -36
- package/packages/agentic-jujutsu/node_modules/shebang-command/index.js +0 -19
- package/packages/agentic-jujutsu/node_modules/shebang-command/license +0 -9
- package/packages/agentic-jujutsu/node_modules/shebang-command/package.json +0 -34
- package/packages/agentic-jujutsu/node_modules/shebang-command/readme.md +0 -34
- package/packages/agentic-jujutsu/node_modules/shebang-regex/index.d.ts +0 -22
- package/packages/agentic-jujutsu/node_modules/shebang-regex/index.js +0 -2
- package/packages/agentic-jujutsu/node_modules/shebang-regex/license +0 -9
- package/packages/agentic-jujutsu/node_modules/shebang-regex/package.json +0 -35
- package/packages/agentic-jujutsu/node_modules/shebang-regex/readme.md +0 -33
- package/packages/agentic-jujutsu/node_modules/signal-exit/LICENSE.txt +0 -16
- package/packages/agentic-jujutsu/node_modules/signal-exit/README.md +0 -74
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.d.ts +0 -12
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.js +0 -10
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.d.ts +0 -48
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.js +0 -279
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.js +0 -42
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.d.ts +0 -12
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.js +0 -4
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.d.ts +0 -48
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.js +0 -275
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.d.ts.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.js +0 -39
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/signal-exit/package.json +0 -106
- package/packages/agentic-jujutsu/node_modules/string-width/index.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/string-width/index.js +0 -54
- package/packages/agentic-jujutsu/node_modules/string-width/license +0 -9
- package/packages/agentic-jujutsu/node_modules/string-width/package.json +0 -59
- package/packages/agentic-jujutsu/node_modules/string-width/readme.md +0 -67
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/index.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/index.js +0 -47
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/license +0 -9
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +0 -10
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/license +0 -9
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +0 -55
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/README.md +0 -73
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/index.d.ts +0 -23
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +0 -50
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +0 -4
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/license +0 -9
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/package.json +0 -56
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/readme.md +0 -50
- package/packages/agentic-jujutsu/node_modules/strip-ansi/index.d.ts +0 -15
- package/packages/agentic-jujutsu/node_modules/strip-ansi/index.js +0 -14
- package/packages/agentic-jujutsu/node_modules/strip-ansi/license +0 -9
- package/packages/agentic-jujutsu/node_modules/strip-ansi/package.json +0 -59
- package/packages/agentic-jujutsu/node_modules/strip-ansi/readme.md +0 -37
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/index.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/index.js +0 -4
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/license +0 -9
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/readme.md +0 -46
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/index.d.ts +0 -36
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/index.js +0 -77
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/license +0 -9
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/package.json +0 -47
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/readme.md +0 -78
- package/packages/agentic-jujutsu/node_modules/supports-color/browser.js +0 -24
- package/packages/agentic-jujutsu/node_modules/supports-color/index.js +0 -152
- package/packages/agentic-jujutsu/node_modules/supports-color/license +0 -9
- package/packages/agentic-jujutsu/node_modules/supports-color/package.json +0 -58
- package/packages/agentic-jujutsu/node_modules/supports-color/readme.md +0 -77
- package/packages/agentic-jujutsu/node_modules/undici-types/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/undici-types/README.md +0 -6
- package/packages/agentic-jujutsu/node_modules/undici-types/agent.d.ts +0 -31
- package/packages/agentic-jujutsu/node_modules/undici-types/api.d.ts +0 -43
- package/packages/agentic-jujutsu/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/undici-types/cache.d.ts +0 -36
- package/packages/agentic-jujutsu/node_modules/undici-types/client.d.ts +0 -108
- package/packages/agentic-jujutsu/node_modules/undici-types/connector.d.ts +0 -34
- package/packages/agentic-jujutsu/node_modules/undici-types/content-type.d.ts +0 -21
- package/packages/agentic-jujutsu/node_modules/undici-types/cookies.d.ts +0 -28
- package/packages/agentic-jujutsu/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/packages/agentic-jujutsu/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/packages/agentic-jujutsu/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/packages/agentic-jujutsu/node_modules/undici-types/errors.d.ts +0 -149
- package/packages/agentic-jujutsu/node_modules/undici-types/eventsource.d.ts +0 -61
- package/packages/agentic-jujutsu/node_modules/undici-types/fetch.d.ts +0 -209
- package/packages/agentic-jujutsu/node_modules/undici-types/file.d.ts +0 -39
- package/packages/agentic-jujutsu/node_modules/undici-types/filereader.d.ts +0 -54
- package/packages/agentic-jujutsu/node_modules/undici-types/formdata.d.ts +0 -108
- package/packages/agentic-jujutsu/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/packages/agentic-jujutsu/node_modules/undici-types/global-origin.d.ts +0 -7
- package/packages/agentic-jujutsu/node_modules/undici-types/handlers.d.ts +0 -15
- package/packages/agentic-jujutsu/node_modules/undici-types/header.d.ts +0 -4
- package/packages/agentic-jujutsu/node_modules/undici-types/index.d.ts +0 -71
- package/packages/agentic-jujutsu/node_modules/undici-types/interceptors.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-client.d.ts +0 -25
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/packages/agentic-jujutsu/node_modules/undici-types/package.json +0 -55
- package/packages/agentic-jujutsu/node_modules/undici-types/patch.d.ts +0 -33
- package/packages/agentic-jujutsu/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/packages/agentic-jujutsu/node_modules/undici-types/pool.d.ts +0 -39
- package/packages/agentic-jujutsu/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/packages/agentic-jujutsu/node_modules/undici-types/readable.d.ts +0 -65
- package/packages/agentic-jujutsu/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/packages/agentic-jujutsu/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/packages/agentic-jujutsu/node_modules/undici-types/util.d.ts +0 -18
- package/packages/agentic-jujutsu/node_modules/undici-types/webidl.d.ts +0 -228
- package/packages/agentic-jujutsu/node_modules/undici-types/websocket.d.ts +0 -150
- package/packages/agentic-jujutsu/node_modules/which/CHANGELOG.md +0 -166
- package/packages/agentic-jujutsu/node_modules/which/LICENSE +0 -15
- package/packages/agentic-jujutsu/node_modules/which/README.md +0 -54
- package/packages/agentic-jujutsu/node_modules/which/bin/node-which +0 -52
- package/packages/agentic-jujutsu/node_modules/which/package.json +0 -43
- package/packages/agentic-jujutsu/node_modules/which/which.js +0 -125
- package/packages/agentic-jujutsu/node_modules/workerpool/HISTORY.md +0 -444
- package/packages/agentic-jujutsu/node_modules/workerpool/LICENSE +0 -201
- package/packages/agentic-jujutsu/node_modules/workerpool/README.md +0 -602
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.js +0 -698
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.min.js +0 -2
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.min.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.js +0 -2087
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.min.js +0 -3
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt +0 -24
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.min.js.map +0 -1
- package/packages/agentic-jujutsu/node_modules/workerpool/package.json +0 -58
- package/packages/agentic-jujutsu/node_modules/workerpool/src/Pool.js +0 -476
- package/packages/agentic-jujutsu/node_modules/workerpool/src/Promise.js +0 -315
- package/packages/agentic-jujutsu/node_modules/workerpool/src/WorkerHandler.js +0 -639
- package/packages/agentic-jujutsu/node_modules/workerpool/src/debug-port-allocator.js +0 -28
- package/packages/agentic-jujutsu/node_modules/workerpool/src/environment.js +0 -30
- package/packages/agentic-jujutsu/node_modules/workerpool/src/generated/embeddedWorker.js +0 -6
- package/packages/agentic-jujutsu/node_modules/workerpool/src/header.js +0 -24
- package/packages/agentic-jujutsu/node_modules/workerpool/src/index.js +0 -60
- package/packages/agentic-jujutsu/node_modules/workerpool/src/requireFoolWebpack.js +0 -8
- package/packages/agentic-jujutsu/node_modules/workerpool/src/transfer.js +0 -12
- package/packages/agentic-jujutsu/node_modules/workerpool/src/types.js +0 -47
- package/packages/agentic-jujutsu/node_modules/workerpool/src/validateOptions.js +0 -51
- package/packages/agentic-jujutsu/node_modules/workerpool/src/worker.js +0 -386
- package/packages/agentic-jujutsu/node_modules/workerpool/types/Pool.d.ts +0 -128
- package/packages/agentic-jujutsu/node_modules/workerpool/types/Promise.d.ts +0 -136
- package/packages/agentic-jujutsu/node_modules/workerpool/types/WorkerHandler.d.ts +0 -88
- package/packages/agentic-jujutsu/node_modules/workerpool/types/debug-port-allocator.d.ts +0 -8
- package/packages/agentic-jujutsu/node_modules/workerpool/types/environment.d.ts +0 -4
- package/packages/agentic-jujutsu/node_modules/workerpool/types/generated/embeddedWorker.d.ts +0 -2
- package/packages/agentic-jujutsu/node_modules/workerpool/types/index.d.ts +0 -43
- package/packages/agentic-jujutsu/node_modules/workerpool/types/test.ts +0 -11
- package/packages/agentic-jujutsu/node_modules/workerpool/types/transfer.d.ts +0 -19
- package/packages/agentic-jujutsu/node_modules/workerpool/types/types.d.ts +0 -101
- package/packages/agentic-jujutsu/node_modules/workerpool/types/validateOptions.d.ts +0 -4
- package/packages/agentic-jujutsu/node_modules/workerpool/types/worker.d.ts +0 -8
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/index.d.ts +0 -41
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/index.js +0 -214
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/license +0 -9
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +0 -236
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +0 -223
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/license +0 -9
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +0 -173
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/package.json +0 -69
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/readme.md +0 -91
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/index.js +0 -216
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/license +0 -9
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +0 -37
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +0 -10
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +0 -9
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +0 -55
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +0 -78
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +0 -73
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.d.ts +0 -23
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +0 -50
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/index.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +0 -47
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/license +0 -9
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +0 -56
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/readme.md +0 -50
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +0 -4
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +0 -9
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +0 -46
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/package.json +0 -62
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/readme.md +0 -91
- package/packages/agentic-jujutsu/node_modules/y18n/CHANGELOG.md +0 -100
- package/packages/agentic-jujutsu/node_modules/y18n/LICENSE +0 -13
- package/packages/agentic-jujutsu/node_modules/y18n/README.md +0 -127
- package/packages/agentic-jujutsu/node_modules/y18n/build/index.cjs +0 -203
- package/packages/agentic-jujutsu/node_modules/y18n/build/lib/cjs.js +0 -6
- package/packages/agentic-jujutsu/node_modules/y18n/build/lib/index.js +0 -174
- package/packages/agentic-jujutsu/node_modules/y18n/build/lib/platform-shims/node.js +0 -19
- package/packages/agentic-jujutsu/node_modules/y18n/index.mjs +0 -8
- package/packages/agentic-jujutsu/node_modules/y18n/package.json +0 -70
- package/packages/agentic-jujutsu/node_modules/yargs/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/yargs/README.md +0 -204
- package/packages/agentic-jujutsu/node_modules/yargs/browser.d.ts +0 -5
- package/packages/agentic-jujutsu/node_modules/yargs/browser.mjs +0 -7
- package/packages/agentic-jujutsu/node_modules/yargs/build/index.cjs +0 -1
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/argsert.js +0 -62
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/command.js +0 -449
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/completion-templates.js +0 -48
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/completion.js +0 -243
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/middleware.js +0 -88
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/parse-command.js +0 -32
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/typings/common-types.js +0 -9
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/typings/yargs-parser-types.js +0 -1
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/usage.js +0 -584
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/apply-extends.js +0 -59
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/is-promise.js +0 -5
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/levenshtein.js +0 -34
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/maybe-async-result.js +0 -17
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/obj-filter.js +0 -10
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/process-argv.js +0 -17
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/set-blocking.js +0 -12
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/which-module.js +0 -10
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/validation.js +0 -305
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/yargs-factory.js +0 -1512
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/yerror.js +0 -9
- package/packages/agentic-jujutsu/node_modules/yargs/helpers/helpers.mjs +0 -10
- package/packages/agentic-jujutsu/node_modules/yargs/helpers/index.js +0 -14
- package/packages/agentic-jujutsu/node_modules/yargs/helpers/package.json +0 -3
- package/packages/agentic-jujutsu/node_modules/yargs/index.cjs +0 -53
- package/packages/agentic-jujutsu/node_modules/yargs/index.mjs +0 -8
- package/packages/agentic-jujutsu/node_modules/yargs/lib/platform-shims/browser.mjs +0 -95
- package/packages/agentic-jujutsu/node_modules/yargs/lib/platform-shims/esm.mjs +0 -73
- package/packages/agentic-jujutsu/node_modules/yargs/locales/be.json +0 -46
- package/packages/agentic-jujutsu/node_modules/yargs/locales/cs.json +0 -51
- package/packages/agentic-jujutsu/node_modules/yargs/locales/de.json +0 -46
- package/packages/agentic-jujutsu/node_modules/yargs/locales/en.json +0 -55
- package/packages/agentic-jujutsu/node_modules/yargs/locales/es.json +0 -46
- package/packages/agentic-jujutsu/node_modules/yargs/locales/fi.json +0 -49
- package/packages/agentic-jujutsu/node_modules/yargs/locales/fr.json +0 -53
- package/packages/agentic-jujutsu/node_modules/yargs/locales/hi.json +0 -49
- package/packages/agentic-jujutsu/node_modules/yargs/locales/hu.json +0 -46
- package/packages/agentic-jujutsu/node_modules/yargs/locales/id.json +0 -50
- package/packages/agentic-jujutsu/node_modules/yargs/locales/it.json +0 -46
- package/packages/agentic-jujutsu/node_modules/yargs/locales/ja.json +0 -51
- package/packages/agentic-jujutsu/node_modules/yargs/locales/ko.json +0 -49
- package/packages/agentic-jujutsu/node_modules/yargs/locales/nb.json +0 -44
- package/packages/agentic-jujutsu/node_modules/yargs/locales/nl.json +0 -49
- package/packages/agentic-jujutsu/node_modules/yargs/locales/nn.json +0 -44
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pirate.json +0 -13
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pl.json +0 -49
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pt.json +0 -45
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pt_BR.json +0 -48
- package/packages/agentic-jujutsu/node_modules/yargs/locales/ru.json +0 -51
- package/packages/agentic-jujutsu/node_modules/yargs/locales/th.json +0 -46
- package/packages/agentic-jujutsu/node_modules/yargs/locales/tr.json +0 -48
- package/packages/agentic-jujutsu/node_modules/yargs/locales/uk_UA.json +0 -51
- package/packages/agentic-jujutsu/node_modules/yargs/locales/uz.json +0 -52
- package/packages/agentic-jujutsu/node_modules/yargs/locales/zh_CN.json +0 -48
- package/packages/agentic-jujutsu/node_modules/yargs/locales/zh_TW.json +0 -51
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/index.d.ts +0 -37
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/index.js +0 -10
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/license +0 -9
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/package.json +0 -55
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/readme.md +0 -78
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/LICENSE-MIT.txt +0 -20
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/README.md +0 -73
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/es2015/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/es2015/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/index.d.ts +0 -23
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/index.js +0 -6
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/package.json +0 -50
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/text.js +0 -6
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/index.d.ts +0 -29
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/index.js +0 -47
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/license +0 -9
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/package.json +0 -56
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/readme.md +0 -50
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/index.d.ts +0 -17
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/index.js +0 -4
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/license +0 -9
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/package.json +0 -54
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/readme.md +0 -46
- package/packages/agentic-jujutsu/node_modules/yargs/package.json +0 -123
- package/packages/agentic-jujutsu/node_modules/yargs/yargs +0 -9
- package/packages/agentic-jujutsu/node_modules/yargs/yargs.mjs +0 -10
- package/packages/agentic-jujutsu/node_modules/yargs-parser/CHANGELOG.md +0 -308
- package/packages/agentic-jujutsu/node_modules/yargs-parser/LICENSE.txt +0 -14
- package/packages/agentic-jujutsu/node_modules/yargs-parser/README.md +0 -518
- package/packages/agentic-jujutsu/node_modules/yargs-parser/browser.js +0 -29
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/index.cjs +0 -1050
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/index.js +0 -62
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/string-utils.js +0 -65
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +0 -40
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/yargs-parser-types.js +0 -12
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/yargs-parser.js +0 -1045
- package/packages/agentic-jujutsu/node_modules/yargs-parser/package.json +0 -92
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/CHANGELOG.md +0 -82
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/LICENSE +0 -21
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/README.md +0 -86
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/index.js +0 -166
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/package.json +0 -49
- package/packages/agentic-jujutsu/node_modules/yocto-queue/index.d.ts +0 -56
- package/packages/agentic-jujutsu/node_modules/yocto-queue/index.js +0 -68
- package/packages/agentic-jujutsu/node_modules/yocto-queue/license +0 -9
- package/packages/agentic-jujutsu/node_modules/yocto-queue/package.json +0 -43
- package/packages/agentic-jujutsu/node_modules/yocto-queue/readme.md +0 -64
- package/packages/agentic-jujutsu/package-lock.json +0 -1163
- package/packages/agentic-jujutsu/package.json +0 -108
- package/packages/agentic-jujutsu/pkg/bundler/LICENSE +0 -21
- package/packages/agentic-jujutsu/pkg/bundler/README.md +0 -361
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu.d.ts +0 -554
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu.js +0 -5
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu_bg.js +0 -1821
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu_bg.wasm.d.ts +0 -113
- package/packages/agentic-jujutsu/pkg/bundler/package.json +0 -34
- package/packages/agentic-jujutsu/pkg/deno/LICENSE +0 -21
- package/packages/agentic-jujutsu/pkg/deno/README.md +0 -361
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu.d.ts +0 -554
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu.js +0 -1802
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu_bg.wasm.d.ts +0 -113
- package/packages/agentic-jujutsu/pkg/node/LICENSE +0 -21
- package/packages/agentic-jujutsu/pkg/node/README.md +0 -361
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu.d.ts +0 -554
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu.js +0 -1830
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu_bg.wasm.d.ts +0 -113
- package/packages/agentic-jujutsu/pkg/node/package.json +0 -28
- package/packages/agentic-jujutsu/pkg/web/LICENSE +0 -21
- package/packages/agentic-jujutsu/pkg/web/README.md +0 -361
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu.d.ts +0 -691
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu.js +0 -1913
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu_bg.wasm.d.ts +0 -113
- package/packages/agentic-jujutsu/pkg/web/package.json +0 -32
- package/packages/agentic-jujutsu/quantum-bridge.d.ts +0 -115
- package/packages/agentic-jujutsu/scripts/agentic-flow-integration.js +0 -178
- package/packages/agentic-jujutsu/scripts/analyze-size.sh +0 -23
- package/packages/agentic-jujutsu/scripts/coverage.sh +0 -57
- package/packages/agentic-jujutsu/scripts/docker-test.sh +0 -56
- package/packages/agentic-jujutsu/scripts/final-validation.sh +0 -85
- package/packages/agentic-jujutsu/scripts/install-jj.js +0 -197
- package/packages/agentic-jujutsu/scripts/mcp-server.js +0 -98
- package/packages/agentic-jujutsu/scripts/test-all.sh +0 -68
- package/packages/agentic-jujutsu/scripts/verify-build.sh +0 -32
- package/packages/agentic-jujutsu/scripts/verify-napi-config.sh +0 -122
- package/packages/agentic-jujutsu/scripts/wasm-pack-build.sh +0 -76
- package/packages/agentic-jujutsu/test-agentdb-cli.js +0 -119
- package/packages/agentic-jujutsu/test-agentdb.js +0 -105
- package/packages/agentic-jujutsu/test-failures.js +0 -53
- package/packages/agentic-jujutsu/test-napi.js +0 -40
- package/packages/agentic-jujutsu/test-quick.js +0 -61
- package/packages/agentic-jujutsu/test-repo/.claude-flow/metrics/agent-metrics.json +0 -1
- package/packages/agentic-jujutsu/test-repo/.claude-flow/metrics/performance.json +0 -87
- package/packages/agentic-jujutsu/test-repo/.claude-flow/metrics/task-metrics.json +0 -10
- package/packages/agentic-jujutsu/test-repo/test-file.txt +0 -1
- package/packages/agentic-jujutsu/typescript/hooks-integration.ts +0 -370
- package/packages/agentic-jujutsu/typescript/index.d.ts +0 -415
- package/reasoningbank/README.md +0 -217
- /package/{agentic-flow/.claude → .claude}/agents/MIGRATION_SUMMARY.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/analysis/code-analyzer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/analysis/code-review/analyze-code-quality.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/architecture/system-design/arch-system-design.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/base-template-generator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/byzantine-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/crdt-synchronizer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/gossip-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/performance-benchmarker.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/quorum-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/raft-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/consensus/security-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/core/coder.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/core/planner.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/core/researcher.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/core/reviewer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/core/tester.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/custom/test-long-runner.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/data/ml/data-ml-model.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/development/backend/dev-backend-api.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/devops/ci-cd/ops-cicd-github.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/documentation/api-docs/docs-api-openapi.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/app-store.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/authentication.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/challenges.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/neural-network.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/payments.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/sandbox.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/user-tools.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/flow-nexus/workflow.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/code-review-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/github-modes.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/issue-tracker.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/multi-repo-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/pr-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/project-board-sync.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/release-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/release-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/repo-architect.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/swarm-issue.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/swarm-pr.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/sync-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/github/workflow-automation.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/goal/agent.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/goal/goal-planner.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/optimization/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/optimization/benchmark-suite.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/optimization/load-balancer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/optimization/performance-monitor.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/optimization/resource-allocator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/optimization/topology-optimizer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/payments/agentic-payments.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sona/sona-learning-optimizer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sparc/architecture.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sparc/pseudocode.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sparc/refinement.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sparc/specification.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/specialized/mobile/spec-mobile-react-native.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sublinear/consensus-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sublinear/matrix-optimizer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sublinear/pagerank-analyzer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sublinear/performance-optimizer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/sublinear/trading-predictor.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/swarm/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/swarm/adaptive-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/swarm/hierarchical-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/swarm/mesh-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/automation-smart-agent.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/coordinator-swarm-init.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/github-pr-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/implementer-sparc-coder.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/memory-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/migration-plan.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/orchestrator-task.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/performance-analyzer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/templates/sparc-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/test-neural.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/testing/unit/tdd-london-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/agents/testing/validation/production-validator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/answer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/agents/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/agents/agent-capabilities.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/agents/agent-coordination.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/agents/agent-spawning.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/agents/agent-types.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/analysis/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/analysis/bottleneck-detect.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/analysis/performance-bottlenecks.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/analysis/performance-report.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/analysis/token-efficiency.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/analysis/token-usage.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/automation/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/automation/auto-agent.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/automation/self-healing.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/automation/session-memory.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/automation/smart-agents.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/automation/smart-spawn.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/automation/workflow-select.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/claude-flow-help.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/claude-flow-memory.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/claude-flow-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/app-store.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/challenges.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/login-registration.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/neural-network.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/payments.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/sandbox.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/user-tools.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/flow-nexus/workflow.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/code-review-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/code-review.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/github-modes.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/github-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/issue-tracker.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/issue-triage.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/multi-repo-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/pr-enhance.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/pr-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/project-board-sync.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/release-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/release-swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/repo-analyze.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/repo-architect.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/swarm-issue.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/swarm-pr.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/sync-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/github/workflow-automation.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-consensus.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-init.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-memory.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-metrics.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-resume.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-sessions.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-spawn.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-status.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-stop.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind-wizard.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hive-mind/hive-mind.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/overview.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/post-edit.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/post-task.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/pre-edit.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/pre-task.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/session-end.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/hooks/setup.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/monitoring/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/monitoring/agent-metrics.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/monitoring/agents.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/monitoring/real-time-view.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/monitoring/status.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/monitoring/swarm-monitor.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/optimization/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/optimization/auto-topology.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/optimization/cache-manage.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/optimization/parallel-execute.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/optimization/parallel-execution.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/optimization/topology-optimize.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/pair/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/pair/commands.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/pair/config.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/pair/examples.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/pair/modes.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/pair/session.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/pair/start.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/analyzer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/architect.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/ask.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/batch-executor.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/code.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/coder.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/debug.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/debugger.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/designer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/devops.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/docs-writer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/documenter.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/innovator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/integration.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/mcp.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/memory-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/optimizer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/orchestrator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/post-deployment-monitoring-mode.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/refinement-optimization-mode.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/researcher.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/reviewer.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/security-review.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/sparc-modes.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/sparc.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/spec-pseudocode.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/supabase-admin.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/swarm-coordinator.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/tdd.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/tester.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/tutorial.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc/workflow-manager.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/sparc.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/stream-chain/pipeline.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/stream-chain/run.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/analysis.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/development.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/examples.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/maintenance.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/optimization.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/research.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-analysis.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-background.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-init.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-modes.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-monitor.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-spawn.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-status.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm-strategies.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/swarm.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/swarm/testing.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/training/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/training/model-update.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/training/neural-patterns.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/training/neural-train.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/training/pattern-learn.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/training/specialization.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/truth/start.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/verify/check.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/verify/start.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/workflows/README.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/workflows/development.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/workflows/research.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/workflows/workflow-create.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/workflows/workflow-execute.md +0 -0
- /package/{agentic-flow/.claude → .claude}/commands/workflows/workflow-export.md +0 -0
- /package/{agentic-flow/.claude → .claude}/helpers/checkpoint-manager.sh +0 -0
- /package/{agentic-flow/.claude → .claude}/helpers/github-safe.js +0 -0
- /package/{agentic-flow/.claude → .claude}/helpers/github-setup.sh +0 -0
- /package/{agentic-flow/.claude → .claude}/helpers/quick-start.sh +0 -0
- /package/{agentic-flow/.claude → .claude}/helpers/setup-mcp.sh +0 -0
- /package/{agentic-flow/.claude → .claude}/helpers/standard-checkpoint-hooks.sh +0 -0
- /package/{agentic-flow/.claude → .claude}/mcp.json +0 -0
- /package/{agentic-flow/.claude → .claude}/openrouter-models-research.md +0 -0
- /package/{agentic-flow/.claude → .claude}/openrouter-quick-reference.md +0 -0
- /package/{agentic-flow/.claude → .claude}/settings-backup.json +0 -0
- /package/{agentic-flow/.claude → .claude}/settings-optimized.json +0 -0
- /package/{agentic-flow/.claude → .claude}/settings-simple.json +0 -0
- /package/{agentic-flow/.claude → .claude}/settings.json +0 -0
- /package/{agentic-flow/.claude → .claude}/settings.local.json +0 -0
- /package/{agentic-flow/.claude → .claude}/skills/.claude-flow/metrics/agent-metrics.json +0 -0
- /package/{agentic-flow/.claude → .claude}/skills/.claude-flow/metrics/performance.json +0 -0
- /package/{agentic-flow/.claude → .claude}/skills/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{agentic-flow/.claude → .claude}/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +0 -0
- /package/{agentic-flow/.claude → .claude}/skills/skill-builder/.claude-flow/metrics/performance.json +0 -0
- /package/{agentic-flow/.claude → .claude}/skills/skill-builder/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/benchmarks/comprehensive-benchmark.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/benchmarks/frontier-benchmark.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/benchmarks/reflexion-benchmark.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/cli/agentdb-cli.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/CausalMemoryGraph.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/CausalRecall.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/EmbeddingService.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/ExplainableRecall.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/NightlyLearner.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/ReflexionMemory.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/SkillLibrary.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/frontier-index.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/controllers/index.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/index.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/optimizations/BatchOperations.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/optimizations/QueryOptimizer.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/optimizations/index.js +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/validate-frontier.cjs +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/validate-frontier.cjs.map +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/validate-frontier.d.cts +0 -0
- /package/{agentic-flow/dist → dist}/agentdb/validate-frontier.d.cts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeAgent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeAgent.js +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeAgent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeAgentDirect.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeAgentDirect.js +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeAgentDirect.js.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeFlowAgent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeFlowAgent.js +0 -0
- /package/{agentic-flow/dist → dist}/agents/claudeFlowAgent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/codeReviewAgent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/codeReviewAgent.js +0 -0
- /package/{agentic-flow/dist → dist}/agents/codeReviewAgent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/dataAgent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/dataAgent.js +0 -0
- /package/{agentic-flow/dist → dist}/agents/dataAgent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/directApiAgent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/directApiAgent.js +0 -0
- /package/{agentic-flow/dist → dist}/agents/directApiAgent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/webResearchAgent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/agents/webResearchAgent.js +0 -0
- /package/{agentic-flow/dist → dist}/agents/webResearchAgent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/cli.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/cli.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/cli.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/coupons/manager.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/coupons/manager.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/coupons/manager.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/index.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/mcp/tools.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/mcp/tools.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/mcp/tools.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/metering/engine.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/metering/engine.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/metering/engine.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/payments/processor.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/payments/processor.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/payments/processor.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/pricing/tiers.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/pricing/tiers.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/pricing/tiers.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/storage/adapters.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/storage/adapters.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/storage/adapters.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/subscriptions/manager.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/subscriptions/manager.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/subscriptions/manager.js.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/types.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/billing/types.js +0 -0
- /package/{agentic-flow/dist → dist}/billing/types.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/agent-manager.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/agent-manager.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/agent-manager.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/claude-code-wrapper.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/claude-code-wrapper.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/claude-code-wrapper.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/commands/sona-train.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/commands/sona-train.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/commands/sona-train.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/commands/sona.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/commands/sona.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/commands/sona.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/config-wizard.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/config-wizard.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/config-wizard.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/federation-cli.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/federation-cli.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/federation-cli.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/mcp-manager.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/mcp-manager.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/mcp-manager.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/mcp.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/mcp.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/mcp.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli/skills-manager.js +0 -0
- /package/{agentic-flow/dist → dist}/cli/update-message.js +0 -0
- /package/{agentic-flow/dist → dist}/cli-proxy.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli-proxy.js +0 -0
- /package/{agentic-flow/dist → dist}/cli-proxy.js.map +0 -0
- /package/{agentic-flow/dist → dist}/cli-standalone-proxy.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/cli-standalone-proxy.js +0 -0
- /package/{agentic-flow/dist → dist}/cli-standalone-proxy.js.map +0 -0
- /package/{agentic-flow/dist → dist}/config/claudeFlow.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/config/claudeFlow.js +0 -0
- /package/{agentic-flow/dist → dist}/config/claudeFlow.js.map +0 -0
- /package/{agentic-flow/dist → dist}/config/quic.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/config/quic.js +0 -0
- /package/{agentic-flow/dist → dist}/config/quic.js.map +0 -0
- /package/{agentic-flow/dist → dist}/config/tools.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/config/tools.js +0 -0
- /package/{agentic-flow/dist → dist}/config/tools.js.map +0 -0
- /package/{agentic-flow/dist → dist}/coordination/attention-coordinator.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/coordination/attention-coordinator.js +0 -0
- /package/{agentic-flow/dist → dist}/coordination/attention-coordinator.js.map +0 -0
- /package/{agentic-flow/dist → dist}/coordination/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/coordination/index.js +0 -0
- /package/{agentic-flow/dist → dist}/coordination/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/core/agentdb-wrapper-enhanced.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/core/agentdb-wrapper-enhanced.js +0 -0
- /package/{agentic-flow/dist → dist}/core/agentdb-wrapper-enhanced.js.map +0 -0
- /package/{agentic-flow/dist → dist}/core/agentdb-wrapper.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/core/agentdb-wrapper.js +0 -0
- /package/{agentic-flow/dist → dist}/core/agentdb-wrapper.js.map +0 -0
- /package/{agentic-flow/dist → dist}/core/attention-fallbacks.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/core/attention-fallbacks.js +0 -0
- /package/{agentic-flow/dist → dist}/core/attention-fallbacks.js.map +0 -0
- /package/{agentic-flow/dist → dist}/core/embedding-service.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/core/embedding-service.js +0 -0
- /package/{agentic-flow/dist → dist}/core/embedding-service.js.map +0 -0
- /package/{agentic-flow/dist → dist}/core/gnn-wrapper.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/core/gnn-wrapper.js +0 -0
- /package/{agentic-flow/dist → dist}/core/gnn-wrapper.js.map +0 -0
- /package/{agentic-flow/dist → dist}/core/long-running-agent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/core/long-running-agent.js +0 -0
- /package/{agentic-flow/dist → dist}/core/long-running-agent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/core/provider-manager.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/core/provider-manager.js +0 -0
- /package/{agentic-flow/dist → dist}/core/provider-manager.js.map +0 -0
- /package/{agentic-flow/dist → dist}/examples/multi-agent-orchestration.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/examples/multi-agent-orchestration.js +0 -0
- /package/{agentic-flow/dist → dist}/examples/multi-agent-orchestration.js.map +0 -0
- /package/{agentic-flow/dist → dist}/examples/use-goal-planner.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/examples/use-goal-planner.js +0 -0
- /package/{agentic-flow/dist → dist}/examples/use-goal-planner.js.map +0 -0
- /package/{agentic-flow/dist → dist}/examples/use-provider-fallback.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/examples/use-provider-fallback.js +0 -0
- /package/{agentic-flow/dist → dist}/examples/use-provider-fallback.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/EphemeralAgent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/EphemeralAgent.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/EphemeralAgent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHub.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHub.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHub.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHubClient.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHubClient.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHubClient.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHubServer.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHubServer.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/FederationHubServer.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/SecurityManager.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/SecurityManager.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/SecurityManager.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/debug/agent-debug-stream.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/debug/agent-debug-stream.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/debug/agent-debug-stream.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/debug/debug-stream.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/debug/debug-stream.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/debug/debug-stream.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/index.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/realtime-federation.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/realtime-federation.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/realtime-federation.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter-debug.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter-debug.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter-debug.js.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter.js +0 -0
- /package/{agentic-flow/dist → dist}/federation/integrations/supabase-adapter.js.map +0 -0
- /package/{agentic-flow/dist → dist}/health.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/health.js +0 -0
- /package/{agentic-flow/dist → dist}/health.js.map +0 -0
- /package/{agentic-flow/dist → dist}/hooks/parallel-validation.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/hooks/parallel-validation.js +0 -0
- /package/{agentic-flow/dist → dist}/hooks/parallel-validation.js.map +0 -0
- /package/{agentic-flow/dist → dist}/hooks/swarm-learning-optimizer.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/hooks/swarm-learning-optimizer.js +0 -0
- /package/{agentic-flow/dist → dist}/hooks/swarm-learning-optimizer.js.map +0 -0
- /package/{agentic-flow/dist → dist}/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/index.js +0 -0
- /package/{agentic-flow/dist → dist}/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/claudeFlowSdkServer.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/claudeFlowSdkServer.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/claudeFlowSdkServer.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/claude-flow-sdk.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/claude-flow-sdk.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/claude-flow-sdk.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-sse.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-sse.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-sse.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-streaming-updated.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-streaming-updated.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/http-streaming-updated.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/poc-stdio.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/poc-stdio.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/poc-stdio.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/stdio-full.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/stdio-full.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/servers/stdio-full.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-agent.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-agent.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-agent.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-command.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-command.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/add-command.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/execute.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/execute.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/execute.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/list.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/list.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/list.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/parallel.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/parallel.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/agent/parallel.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/init.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/init.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/init.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/orchestrate.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/orchestrate.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/orchestrate.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/spawn.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/spawn.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/tools/swarm/spawn.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/types/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/types/index.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/fastmcp/types/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/standalone-stdio.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/standalone-stdio.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/standalone-stdio.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/tools/agent-booster-tools.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/tools/agent-booster-tools.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/tools/agent-booster-tools.js.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/tools/sona-tools.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/mcp/tools/sona-tools.js +0 -0
- /package/{agentic-flow/dist → dist}/mcp/tools/sona-tools.js.map +0 -0
- /package/{agentic-flow/dist → dist}/memory/SharedMemoryPool.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/memory/SharedMemoryPool.js +0 -0
- /package/{agentic-flow/dist → dist}/memory/SharedMemoryPool.js.map +0 -0
- /package/{agentic-flow/dist → dist}/memory/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/memory/index.js +0 -0
- /package/{agentic-flow/dist → dist}/memory/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/agent-booster-migration.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/agent-booster-migration.js +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/agent-booster-migration.js.map +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/configuration-tuning.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/configuration-tuning.js +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/configuration-tuning.js.map +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/ruvector-backend.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/ruvector-backend.js +0 -0
- /package/{agentic-flow/dist → dist}/optimizations/ruvector-backend.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/adaptive-proxy.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/adaptive-proxy.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/adaptive-proxy.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-gemini.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-gemini.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-gemini.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-onnx.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-onnx.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-onnx.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-openrouter.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-openrouter.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-openrouter.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-requesty.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-requesty.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/anthropic-to-requesty.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http2-proxy-optimized.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http2-proxy-optimized.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http2-proxy-optimized.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http2-proxy.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http2-proxy.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http2-proxy.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http3-proxy-old.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http3-proxy.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http3-proxy.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/http3-proxy.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/provider-instructions.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/provider-instructions.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/provider-instructions.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/proxy/anthropic-to-gemini.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/quic-proxy.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/quic-proxy.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/quic-proxy.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/tool-emulation.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/tool-emulation.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/tool-emulation.js.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/utils/logger.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/websocket-proxy.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/proxy/websocket-proxy.js +0 -0
- /package/{agentic-flow/dist → dist}/proxy/websocket-proxy.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/AdvancedMemory.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/AdvancedMemory.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/AdvancedMemory.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/HybridBackend.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/HybridBackend.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/HybridBackend.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/agentdb-adapter.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/backend-selector.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/backend-selector.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/backend-selector.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/benchmark.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/benchmark.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/benchmark.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank-types.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank-types.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank-types.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/config/reasoningbank.yaml +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/consolidate.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/consolidate.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/consolidate.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/database.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/distill.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/distill.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/distill.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/judge.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/judge.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/judge.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/matts.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/matts.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/matts.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/memory-engine.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/retrieve.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/retrieve.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/core/retrieve.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/db/queries.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/db/queries.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/db/queries.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/db/schema.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/db/schema.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/db/schema.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/demo-comparison.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/demo-comparison.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/demo-comparison.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/hooks/post-task.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/hooks/post-task.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/hooks/post-task.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/hooks/pre-task.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/hooks/pre-task.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/hooks/pre-task.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/index-new.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/index-new.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/index-new.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/index.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/prompts/distill-failure.json +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/prompts/distill-success.json +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/prompts/judge.json +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/prompts/matts-aggregate.json +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-integration.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-integration.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-integration.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-retrieval.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-retrieval.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-retrieval.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-validation.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-validation.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/test-validation.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/types/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/types/index.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/types/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/config.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/config.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/config.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/embeddings.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/embeddings.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/embeddings.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/mmr.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/mmr.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/mmr.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/pii-scrubber.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/pii-scrubber.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/utils/pii-scrubber.js.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/wasm-adapter.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/wasm-adapter.js +0 -0
- /package/{agentic-flow/dist → dist}/reasoningbank/wasm-adapter.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/model-mapping.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/model-mapping.js +0 -0
- /package/{agentic-flow/dist → dist}/router/model-mapping.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/anthropic.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/anthropic.js +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/anthropic.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/gemini.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/gemini.js +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/gemini.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-local-optimized.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-local-optimized.js +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-local-optimized.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-local.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-local.js +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-local.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-phi4.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-phi4.js +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx-phi4.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx.js +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/onnx.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/openrouter.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/openrouter.js +0 -0
- /package/{agentic-flow/dist → dist}/router/providers/openrouter.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/router.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/router.js +0 -0
- /package/{agentic-flow/dist → dist}/router/router.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-integration.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-integration.js +0 -0
- /package/{agentic-flow/dist → dist}/router/test-integration.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-benchmark.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-benchmark.js +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-benchmark.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-integration.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-integration.js +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-integration.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-local.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-local.js +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx-local.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx.js +0 -0
- /package/{agentic-flow/dist → dist}/router/test-onnx.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-openrouter.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-openrouter.js +0 -0
- /package/{agentic-flow/dist → dist}/router/test-openrouter.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-phi4.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/test-phi4.js +0 -0
- /package/{agentic-flow/dist → dist}/router/test-phi4.js.map +0 -0
- /package/{agentic-flow/dist → dist}/router/types.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/router/types.js +0 -0
- /package/{agentic-flow/dist → dist}/router/types.js.map +0 -0
- /package/{agentic-flow/dist → dist}/services/embedding-service.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/services/embedding-service.js +0 -0
- /package/{agentic-flow/dist → dist}/services/embedding-service.js.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-agent-training.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-agent-training.js +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-agent-training.js.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-agentdb-integration.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-agentdb-integration.js +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-agentdb-integration.js.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-service.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-service.js +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-service.js.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-types.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-types.js +0 -0
- /package/{agentic-flow/dist → dist}/services/sona-types.js.map +0 -0
- /package/{agentic-flow/dist → dist}/swarm/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/swarm/index.js +0 -0
- /package/{agentic-flow/dist → dist}/swarm/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/swarm/quic-coordinator.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/swarm/quic-coordinator.js +0 -0
- /package/{agentic-flow/dist → dist}/swarm/quic-coordinator.js.map +0 -0
- /package/{agentic-flow/dist → dist}/swarm/transport-router.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/swarm/transport-router.js +0 -0
- /package/{agentic-flow/dist → dist}/swarm/transport-router.js.map +0 -0
- /package/{agentic-flow/dist → dist}/transport/index.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/transport/index.js +0 -0
- /package/{agentic-flow/dist → dist}/transport/index.js.map +0 -0
- /package/{agentic-flow/dist → dist}/transport/quic-handshake.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/transport/quic-handshake.js +0 -0
- /package/{agentic-flow/dist → dist}/transport/quic-handshake.js.map +0 -0
- /package/{agentic-flow/dist → dist}/transport/quic.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/transport/quic.js +0 -0
- /package/{agentic-flow/dist → dist}/transport/quic.js.map +0 -0
- /package/{agentic-flow/dist → dist}/types/agentdb.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/types/agentdb.js +0 -0
- /package/{agentic-flow/dist → dist}/types/agentdb.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/adaptive-pool-sizing.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentBoosterPreprocessor.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentBoosterPreprocessor.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentBoosterPreprocessor.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentLoader.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentLoader.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentLoader.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentdb-runtime-patch.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentdb-runtime-patch.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentdb-runtime-patch.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/agentdbCommands.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/auth.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/auth.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/auth.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/circular-rate-limiter.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/cli.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/cli.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/cli.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/compression-middleware.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/compression-middleware.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/compression-middleware.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/connection-pool.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/connection-pool.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/connection-pool.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/dynamic-compression.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/http2-multiplexing.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/lazy-auth.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/logger.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/logger.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/logger.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/math.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/math.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/math.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/mcpCommands.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/mcpCommands.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/mcpCommands.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/model-downloader.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/model-downloader.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/model-downloader.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/modelCapabilities.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/modelCapabilities.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/modelCapabilities.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/modelOptimizer.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/modelOptimizer.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/modelOptimizer.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/rate-limiter.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/rate-limiter.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/rate-limiter.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/reasoningbankCommands.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/reasoningbankCommands.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/reasoningbankCommands.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/response-cache.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/response-cache.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/response-cache.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/retry.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/retry.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/retry.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/server-push.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/streaming-optimizer.d.ts.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/streaming-optimizer.js +0 -0
- /package/{agentic-flow/dist → dist}/utils/streaming-optimizer.js.map +0 -0
- /package/{agentic-flow/dist → dist}/utils/zero-copy-buffer.js +0 -0
- /package/{agentic-flow/docs → docs}/.claude-flow/metrics/agent-metrics.json +0 -0
- /package/{agentic-flow/docs → docs}/.claude-flow/metrics/performance.json +0 -0
- /package/{agentic-flow/docs → docs}/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{agentic-flow/docs → docs}/CLAUDE.md +0 -0
- /package/{agentic-flow/docs → docs}/DOCKER-VERIFICATION.md +0 -0
- /package/{agentic-flow/docs → docs}/ISSUE-55-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/NPX_AGENTDB_SETUP.md +0 -0
- /package/{agentic-flow/docs → docs}/OPTIMIZATIONS.md +0 -0
- /package/{agentic-flow/docs → docs}/PUBLISH_GUIDE.md +0 -0
- /package/{agentic-flow/docs → docs}/RELEASE-v1.10.0-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/EXECUTIVE_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/FEDERATION-DATA-LIFECYCLE.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/IMPROVEMENT_PLAN.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/INTEGRATION-STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/MULTI_MODEL_ROUTER_PLAN.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/PACKAGE_STRUCTURE.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/QUIC-IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/QUIC-SWARM-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/QUICK_WINS.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/README.md +0 -0
- /package/{agentic-flow/docs → docs}/architecture/RESEARCH_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/.agentdb-instructions.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/AGENT-BOOSTER-STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/CHANGELOG-v1.3.0.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/COMPLETION_REPORT_v1.7.1.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/IMPLEMENTATION_SUMMARY_v1.7.1.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/SUPABASE-INTEGRATION-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/TESTING_QUICK_START.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/TOOL-EMULATION-INTEGRATION-ISSUE.md +0 -0
- /package/{agentic-flow/docs → docs}/archive/VALIDATION_v1.7.1.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/COMPLETE_VALIDATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/DOCKER_MCP_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/DOCKER_OPENROUTER_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/FASTMCP_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/FASTMCP_INTEGRATION_STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/FINAL_SDK_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/FINAL_SYSTEM_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/FINAL_VALIDATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/FIXES-APPLIED-STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/FLOW-NEXUS-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/HOTFIX_1.1.7.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/INTEGRATION_CONFIRMED.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/MCP_CLI_TOOLS_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/MCP_INTEGRATION_SUCCESS.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/MCP_PROXY_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/MODEL_VALIDATION_REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_ENV_VARS.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_FINAL_REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_IMPLEMENTATION_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_OPTIMIZATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_PHI4_RESEARCH.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_RUNTIME_INTEGRATION_PLAN.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_SUCCESS_REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/ONNX_VS_CLAUDE_QUALITY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/OPENROUTER-FIX-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/OPENROUTER-SUCCESS-REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/OPENROUTER_ISSUES_AND_FIXES.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/OPENROUTER_PROXY_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/OPENROUTER_VALIDATION_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/OPTIMIZATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/PACKAGE-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/PHI4_HYPEROPTIMIZATION_PLAN.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/PROVIDER_INSTRUCTION_OPTIMIZATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/PROXY_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/README.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/README_SDK_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/README_V1.1.11.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/RELEASE-NOTES-v1.1.13.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/RELEASE-SUMMARY-v1.1.14-beta.1.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/RESEARCH_COMPLETE.txt +0 -0
- /package/{agentic-flow/docs → docs}/archived/ROUTER_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/SDK-SETUP-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/SDK_INTEGRATION_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/TOOL_INSTRUCTION_ENHANCEMENT.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/V1.1.10_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/V1.1.11_COMPLETE_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/V1.1.11_MCP_PROXY_FIX.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/V1.1.14-BETA-READY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/VALIDATION-RESULTS.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/VALIDATION_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/VALIDATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/claude-flow-integration.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/docker-cli-validation.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/docker-memory-coordination-status.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/mcp-validation-summary.md +0 -0
- /package/{agentic-flow/docs → docs}/archived/quick-wins-validation.md +0 -0
- /package/{agentic-flow/docs → docs}/benchmarks/optimization-guide.md +0 -0
- /package/{agentic-flow/docs → docs}/benchmarks/quic-results.md +0 -0
- /package/{agentic-flow/docs → docs}/docker-tests/TEST-V1.7.8.Dockerfile +0 -0
- /package/{agentic-flow/docs → docs}/docker-tests/TEST-V1.7.9-NODE20.Dockerfile +0 -0
- /package/{agentic-flow/docs → docs}/docker-tests/TEST-V1.7.9.Dockerfile +0 -0
- /package/{agentic-flow/docs → docs}/federation/AGENT-DEBUG-STREAMING.md +0 -0
- /package/{agentic-flow/docs → docs}/federation/DEBUG-STREAMING-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/federation/DEBUG-STREAMING.md +0 -0
- /package/{agentic-flow/docs → docs}/federation/DEPLOYMENT-VALIDATION-SUCCESS.md +0 -0
- /package/{agentic-flow/docs → docs}/federation/DOCKER-FEDERATION-DEEP-REVIEW.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/ADDING-MCP-SERVERS-CLI.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/ADDING-MCP-SERVERS.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/AGENT-BOOSTER.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/ALTERNATIVE_LLM_MODELS.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/CLAUDE-CODE-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/DEPLOYMENT.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/DOCKER_AGENT_USAGE.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/IMPLEMENTATION_EXAMPLES.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/MCP-TOOLS.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/MODEL-ID-MAPPING.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/MULTI-MODEL-ROUTER.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/NPM-PUBLISH.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/ONNX-PROXY-IMPLEMENTATION.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/ONNX_CLI_USAGE.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/ONNX_OPTIMIZATION_GUIDE.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/OPENROUTER_DEPLOYMENT.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/PROXY-ARCHITECTURE-AND-EXTENSION.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/QUIC-SWARM-QUICKSTART.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/QUICK-START-v1.7.1.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/README.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/REASONINGBANK.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/STANDALONE_PROXY_GUIDE.md +0 -0
- /package/{agentic-flow/docs → docs}/guides/agent-sdk.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/AGENT-BOOSTER-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/CLAUDE-FLOW-INTEGRATION-ANALYSIS.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/CLI-INTEGRATION-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION-QUICK-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION-STATUS-CORRECTED.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/INTEGRATION_COMPLETE_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/QUIC-WASM-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/README.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/WASM_ESM_FIX.md +0 -0
- /package/{agentic-flow/docs → docs}/integration-docs/WASM_INTEGRATION_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/integrations/CLAUDE_AGENTS_INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/integrations/CLAUDE_FLOW_INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/integrations/FASTMCP_CLI_INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/integrations/FLOW-NEXUS-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/integrations/README.md +0 -0
- /package/{agentic-flow/docs → docs}/integrations/fastmcp-implementation-plan.md +0 -0
- /package/{agentic-flow/docs → docs}/integrations/fastmcp-poc-integration.md +0 -0
- /package/{agentic-flow/docs → docs}/issues/ISSUE-SUPABASE-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/issues/ISSUE-xenova-transformers-dependency.md +0 -0
- /package/{agentic-flow/docs → docs}/mcp-validation/IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/mcp-validation/MCP-CLI-VALIDATION-REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/mcp-validation/README.md +0 -0
- /package/{agentic-flow/docs → docs}/mcp-validation/strange-loops-test.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/BUILD_INSTRUCTIONS.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/IMPLEMENTATION_STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-INTEGRATION-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC-README.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/QUIC_IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/README-CONDENSED.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/quic-research.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/QUIC/quic-tutorial.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/00-INDEX.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/00-OVERVIEW.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/01-ARCHITECTURE.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/02-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/03-BENCHMARKS.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/04-NPM-SDK.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/GITHUB-ISSUE.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster/README.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/agent-booster-cli-integration.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/requesty/00-overview.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/requesty/01-api-research.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/requesty/02-architecture.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/requesty/03-implementation-phases.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/requesty/04-testing-strategy.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/requesty/05-migration-guide.md +0 -0
- /package/{agentic-flow/docs → docs}/plans/requesty/README.md +0 -0
- /package/{agentic-flow/docs → docs}/providers/LANDING-PAGE-PROVIDER-CONTENT.md +0 -0
- /package/{agentic-flow/docs → docs}/providers/PROVIDER-FALLBACK-GUIDE.md +0 -0
- /package/{agentic-flow/docs → docs}/providers/PROVIDER-FALLBACK-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/quantum-goap/DEPENDENCY_GRAPH.mermaid +0 -0
- /package/{agentic-flow/docs → docs}/quantum-goap/EXECUTION_SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/quantum-goap/GOAP_IMPLEMENTATION_PLAN.md +0 -0
- /package/{agentic-flow/docs → docs}/quantum-goap/QUICK_START.md +0 -0
- /package/{agentic-flow/docs → docs}/quantum-research/QUANTUM_RESEARCH_LITERATURE_REVIEW.md +0 -0
- /package/{agentic-flow/docs → docs}/quantum-research/README.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/FINAL-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/PERFORMANCE-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/QUIC-STATUS-OLD.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/QUIC-STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/QUIC-VALIDATION-REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/QUIC_FINAL_STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/README_QUIC_PHASE1.md +0 -0
- /package/{agentic-flow/docs → docs}/quic/WASM-INTEGRATION-COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/MEMORY_VALIDATION_REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/README.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONING-AGENTS.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-BENCHMARK.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-DEMO.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_ARCHITECTURE.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_BACKENDS.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_FIXES.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +0 -0
- /package/{agentic-flow/docs → docs}/reasoningbank/REASONINGBANK_INVESTIGATION.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-v1.4.6.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/GITHUB-ISSUE-v1.5.0.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/HOTFIX-v1.2.1.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/NPM-PUBLISH-GUIDE-v1.2.0.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/PUBLISH-COMPLETE-v1.2.0.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/PUBLISH_CHECKLIST_v1.10.0.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/PUBLISH_SUMMARY_v1.7.1.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/README.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/RELEASE-v1.2.0.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/RELEASE-v1.8.13.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/RELEASE_NOTES_v1.10.0.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/RELEASE_NOTES_v1.7.0.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/RELEASE_v1.7.1.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/v1.4.6-reasoningbank-release.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/v1.4.7-bugfix.md +0 -0
- /package/{agentic-flow/docs → docs}/releases/v1.5.14-QUIC-TRANSPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/reports/QUIC_PHASE1_COMPLETE.md +0 -0
- /package/{agentic-flow/docs → docs}/reports/QUIC_PHASE1_COMPLETION.md +0 -0
- /package/{agentic-flow/docs → docs}/reviews/quic-implementation-review.md +0 -0
- /package/{agentic-flow/docs → docs}/router/README.md +0 -0
- /package/{agentic-flow/docs → docs}/router/ROUTER_CONFIG_REFERENCE.md +0 -0
- /package/{agentic-flow/docs → docs}/router/ROUTER_USER_GUIDE.md +0 -0
- /package/{agentic-flow/docs → docs}/router/TOP20_MODELS_MATRIX.md +0 -0
- /package/{agentic-flow/docs → docs}/supabase/IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/supabase/INDEX.md +0 -0
- /package/{agentic-flow/docs → docs}/supabase/QUICKSTART.md +0 -0
- /package/{agentic-flow/docs → docs}/supabase/README.md +0 -0
- /package/{agentic-flow/docs → docs}/supabase/SUPABASE-REALTIME-FEDERATION.md +0 -0
- /package/{agentic-flow/docs → docs}/supabase/TEST-REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/supabase/migrations/001_create_federation_tables.sql +0 -0
- /package/{agentic-flow/docs → docs}/testing/AGENT-SYSTEM-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/testing/AGENTDB_TESTING.md +0 -0
- /package/{agentic-flow/docs → docs}/testing/FINAL-TESTING-SUMMARY.md +0 -0
- /package/{agentic-flow/docs → docs}/testing/README.md +0 -0
- /package/{agentic-flow/docs → docs}/testing/REGRESSION-TEST-RESULTS.md +0 -0
- /package/{agentic-flow/docs → docs}/testing/STREAMING-AND-MCP-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/validation/README.md +0 -0
- /package/{agentic-flow/docs → docs}/validation/reports/REGRESSION-TEST-V1.8.11.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/BENCHMARK_AND_OPTIMIZATION_REPORT.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/DOCKER_VALIDATION_RESULTS.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/NO_REGRESSIONS_CONFIRMED.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/NPM-PACKAGE-ANALYSIS-FINAL.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/README.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/V2.7.0-ALPHA.10_FINAL_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/V2.7.0-ALPHA.9_VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/v1.6.0-QUIC-CLI-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/validation-reports/v1.6.1-NPM-PUBLISH-VALIDATION.md +0 -0
- /package/{agentic-flow/docs → docs}/version-releases/PUBLICATION_REPORT_v1.5.11.md +0 -0
- /package/{agentic-flow/docs → docs}/version-releases/README.md +0 -0
- /package/{agentic-flow/docs → docs}/version-releases/v1.5.9-DOCKER-VERIFICATION.md +0 -0
- /package/{agentic-flow/docs → docs}/version-releases/v1.5.9-RELEASE-SUMMARY.md +0 -0
- /package/{agentic-flow/scripts → scripts}/build.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/claude +0 -0
- /package/{agentic-flow/scripts → scripts}/claude-code +0 -0
- /package/{agentic-flow/scripts → scripts}/claude-flow +0 -0
- /package/{agentic-flow/scripts → scripts}/claude-flow.bat +0 -0
- /package/{agentic-flow/scripts → scripts}/claude-flow.ps1 +0 -0
- /package/{agentic-flow/scripts → scripts}/postinstall.js +0 -0
- /package/{agentic-flow/scripts → scripts}/run-validation.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-agentdb.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-all-commands.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-claude-flow-sdk.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-fastmcp-docker.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-fastmcp-poc.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-functionality.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-onnx-docker.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/test-router-docker.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/validate-mcp-cli-tools.sh +0 -0
- /package/{agentic-flow/scripts → scripts}/validate-providers.sh +0 -0
- /package/{agentic-flow/wasm → wasm}/quic/README.md +0 -0
- /package/{agentic-flow/wasm → wasm}/quic/agentic_flow_quic.js +0 -0
- /package/{agentic-flow/wasm → wasm}/quic/agentic_flow_quic_bg.wasm +0 -0
- /package/{agentic-flow/wasm → wasm}/quic/package.json +0 -0
- /package/{agentic-flow/wasm → wasm}/reasoningbank/package.json +0 -0
- /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm.js +0 -0
- /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm_bg.js +0 -0
- /package/{agentic-flow/wasm → wasm}/reasoningbank/reasoningbank_wasm_bg.wasm +0 -0
|
@@ -1,2087 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* workerpool.js
|
|
3
|
-
* https://github.com/josdejong/workerpool
|
|
4
|
-
*
|
|
5
|
-
* Offload tasks to a pool of workers on node.js and in the browser.
|
|
6
|
-
*
|
|
7
|
-
* @version 9.3.4
|
|
8
|
-
* @date 2025-09-10
|
|
9
|
-
*
|
|
10
|
-
* @license
|
|
11
|
-
* Copyright (C) 2014-2022 Jos de Jong <wjosdejong@gmail.com>
|
|
12
|
-
*
|
|
13
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not
|
|
14
|
-
* use this file except in compliance with the License. You may obtain a copy
|
|
15
|
-
* of the License at
|
|
16
|
-
*
|
|
17
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
18
|
-
*
|
|
19
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
20
|
-
* distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
21
|
-
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
22
|
-
* License for the specific language governing permissions and limitations under
|
|
23
|
-
* the License.
|
|
24
|
-
*/
|
|
25
|
-
|
|
26
|
-
(function (global, factory) {
|
|
27
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
28
|
-
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
29
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.workerpool = {}));
|
|
30
|
-
})(this, (function (exports) { 'use strict';
|
|
31
|
-
|
|
32
|
-
var src = {};
|
|
33
|
-
|
|
34
|
-
var environment = {exports: {}};
|
|
35
|
-
|
|
36
|
-
(function (module) {
|
|
37
|
-
// source: https://github.com/flexdinesh/browser-or-node
|
|
38
|
-
// source: https://github.com/mozilla/pdf.js/blob/7ea0e40e588864cd938d1836ec61f1928d3877d3/src/shared/util.js#L24
|
|
39
|
-
var isNode = function isNode(nodeProcess) {
|
|
40
|
-
return typeof nodeProcess !== 'undefined' && nodeProcess.versions != null && nodeProcess.versions.node != null && nodeProcess + '' === '[object process]';
|
|
41
|
-
};
|
|
42
|
-
module.exports.isNode = isNode;
|
|
43
|
-
|
|
44
|
-
// determines the JavaScript platform: browser or node
|
|
45
|
-
module.exports.platform = typeof process !== 'undefined' && isNode(process) ? 'node' : 'browser';
|
|
46
|
-
|
|
47
|
-
// determines whether the code is running in main thread or not
|
|
48
|
-
// note that in node.js we have to check both worker_thread and child_process
|
|
49
|
-
var worker_threads = module.exports.platform === 'node' && require('worker_threads');
|
|
50
|
-
module.exports.isMainThread = module.exports.platform === 'node' ? (!worker_threads || worker_threads.isMainThread) && !process.connected : typeof Window !== 'undefined';
|
|
51
|
-
|
|
52
|
-
// determines the number of cpus available
|
|
53
|
-
module.exports.cpus = module.exports.platform === 'browser' ? self.navigator.hardwareConcurrency : require('os').cpus().length;
|
|
54
|
-
})(environment);
|
|
55
|
-
var environmentExports = environment.exports;
|
|
56
|
-
|
|
57
|
-
var _Promise$1 = {};
|
|
58
|
-
|
|
59
|
-
var hasRequired_Promise;
|
|
60
|
-
function require_Promise() {
|
|
61
|
-
if (hasRequired_Promise) return _Promise$1;
|
|
62
|
-
hasRequired_Promise = 1;
|
|
63
|
-
|
|
64
|
-
/**
|
|
65
|
-
* Promise
|
|
66
|
-
*
|
|
67
|
-
* Inspired by https://gist.github.com/RubaXa/8501359 from RubaXa <trash@rubaxa.org>
|
|
68
|
-
* @template T
|
|
69
|
-
* @template [E=Error]
|
|
70
|
-
* @param {Function} handler Called as handler(resolve: Function, reject: Function)
|
|
71
|
-
* @param {Promise} [parent] Parent promise for propagation of cancel and timeout
|
|
72
|
-
*/
|
|
73
|
-
function Promise(handler, parent) {
|
|
74
|
-
var me = this;
|
|
75
|
-
if (!(this instanceof Promise)) {
|
|
76
|
-
throw new SyntaxError('Constructor must be called with the new operator');
|
|
77
|
-
}
|
|
78
|
-
if (typeof handler !== 'function') {
|
|
79
|
-
throw new SyntaxError('Function parameter handler(resolve, reject) missing');
|
|
80
|
-
}
|
|
81
|
-
var _onSuccess = [];
|
|
82
|
-
var _onFail = [];
|
|
83
|
-
|
|
84
|
-
// status
|
|
85
|
-
/**
|
|
86
|
-
* @readonly
|
|
87
|
-
*/
|
|
88
|
-
this.resolved = false;
|
|
89
|
-
/**
|
|
90
|
-
* @readonly
|
|
91
|
-
*/
|
|
92
|
-
this.rejected = false;
|
|
93
|
-
/**
|
|
94
|
-
* @readonly
|
|
95
|
-
*/
|
|
96
|
-
this.pending = true;
|
|
97
|
-
/**
|
|
98
|
-
* @readonly
|
|
99
|
-
*/
|
|
100
|
-
this[Symbol.toStringTag] = 'Promise';
|
|
101
|
-
|
|
102
|
-
/**
|
|
103
|
-
* Process onSuccess and onFail callbacks: add them to the queue.
|
|
104
|
-
* Once the promise is resolved, the function _promise is replace.
|
|
105
|
-
* @param {Function} onSuccess
|
|
106
|
-
* @param {Function} onFail
|
|
107
|
-
* @private
|
|
108
|
-
*/
|
|
109
|
-
var _process = function _process(onSuccess, onFail) {
|
|
110
|
-
_onSuccess.push(onSuccess);
|
|
111
|
-
_onFail.push(onFail);
|
|
112
|
-
};
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Add an onSuccess callback and optionally an onFail callback to the Promise
|
|
116
|
-
* @template TT
|
|
117
|
-
* @template [TE=never]
|
|
118
|
-
* @param {(r: T) => TT | PromiseLike<TT>} onSuccess
|
|
119
|
-
* @param {(r: E) => TE | PromiseLike<TE>} [onFail]
|
|
120
|
-
* @returns {Promise<TT | TE, any>} promise
|
|
121
|
-
*/
|
|
122
|
-
this.then = function (onSuccess, onFail) {
|
|
123
|
-
return new Promise(function (resolve, reject) {
|
|
124
|
-
var s = onSuccess ? _then(onSuccess, resolve, reject) : resolve;
|
|
125
|
-
var f = onFail ? _then(onFail, resolve, reject) : reject;
|
|
126
|
-
_process(s, f);
|
|
127
|
-
}, me);
|
|
128
|
-
};
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Resolve the promise
|
|
132
|
-
* @param {*} result
|
|
133
|
-
* @type {Function}
|
|
134
|
-
*/
|
|
135
|
-
var _resolve2 = function _resolve(result) {
|
|
136
|
-
// update status
|
|
137
|
-
me.resolved = true;
|
|
138
|
-
me.rejected = false;
|
|
139
|
-
me.pending = false;
|
|
140
|
-
_onSuccess.forEach(function (fn) {
|
|
141
|
-
fn(result);
|
|
142
|
-
});
|
|
143
|
-
_process = function _process(onSuccess, onFail) {
|
|
144
|
-
onSuccess(result);
|
|
145
|
-
};
|
|
146
|
-
_resolve2 = _reject2 = function _reject() {};
|
|
147
|
-
return me;
|
|
148
|
-
};
|
|
149
|
-
|
|
150
|
-
/**
|
|
151
|
-
* Reject the promise
|
|
152
|
-
* @param {Error} error
|
|
153
|
-
* @type {Function}
|
|
154
|
-
*/
|
|
155
|
-
var _reject2 = function _reject(error) {
|
|
156
|
-
// update status
|
|
157
|
-
me.resolved = false;
|
|
158
|
-
me.rejected = true;
|
|
159
|
-
me.pending = false;
|
|
160
|
-
_onFail.forEach(function (fn) {
|
|
161
|
-
fn(error);
|
|
162
|
-
});
|
|
163
|
-
_process = function _process(onSuccess, onFail) {
|
|
164
|
-
onFail(error);
|
|
165
|
-
};
|
|
166
|
-
_resolve2 = _reject2 = function _reject() {};
|
|
167
|
-
return me;
|
|
168
|
-
};
|
|
169
|
-
|
|
170
|
-
/**
|
|
171
|
-
* Cancel the promise. This will reject the promise with a CancellationError
|
|
172
|
-
* @returns {this} self
|
|
173
|
-
*/
|
|
174
|
-
this.cancel = function () {
|
|
175
|
-
if (parent) {
|
|
176
|
-
parent.cancel();
|
|
177
|
-
} else {
|
|
178
|
-
_reject2(new CancellationError());
|
|
179
|
-
}
|
|
180
|
-
return me;
|
|
181
|
-
};
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* Set a timeout for the promise. If the promise is not resolved within
|
|
185
|
-
* the time, the promise will be cancelled and a TimeoutError is thrown.
|
|
186
|
-
* If the promise is resolved in time, the timeout is removed.
|
|
187
|
-
* @param {number} delay Delay in milliseconds
|
|
188
|
-
* @returns {this} self
|
|
189
|
-
*/
|
|
190
|
-
this.timeout = function (delay) {
|
|
191
|
-
if (parent) {
|
|
192
|
-
parent.timeout(delay);
|
|
193
|
-
} else {
|
|
194
|
-
var timer = setTimeout(function () {
|
|
195
|
-
_reject2(new TimeoutError('Promise timed out after ' + delay + ' ms'));
|
|
196
|
-
}, delay);
|
|
197
|
-
me.always(function () {
|
|
198
|
-
clearTimeout(timer);
|
|
199
|
-
});
|
|
200
|
-
}
|
|
201
|
-
return me;
|
|
202
|
-
};
|
|
203
|
-
|
|
204
|
-
// attach handler passing the resolve and reject functions
|
|
205
|
-
handler(function (result) {
|
|
206
|
-
_resolve2(result);
|
|
207
|
-
}, function (error) {
|
|
208
|
-
_reject2(error);
|
|
209
|
-
});
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* Execute given callback, then call resolve/reject based on the returned result
|
|
214
|
-
* @param {Function} callback
|
|
215
|
-
* @param {Function} resolve
|
|
216
|
-
* @param {Function} reject
|
|
217
|
-
* @returns {Function}
|
|
218
|
-
* @private
|
|
219
|
-
*/
|
|
220
|
-
function _then(callback, resolve, reject) {
|
|
221
|
-
return function (result) {
|
|
222
|
-
try {
|
|
223
|
-
var res = callback(result);
|
|
224
|
-
if (res && typeof res.then === 'function' && typeof res['catch'] === 'function') {
|
|
225
|
-
// method returned a promise
|
|
226
|
-
res.then(resolve, reject);
|
|
227
|
-
} else {
|
|
228
|
-
resolve(res);
|
|
229
|
-
}
|
|
230
|
-
} catch (error) {
|
|
231
|
-
reject(error);
|
|
232
|
-
}
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
/**
|
|
237
|
-
* Add an onFail callback to the Promise
|
|
238
|
-
* @template TT
|
|
239
|
-
* @param {(error: E) => TT | PromiseLike<TT>} onFail
|
|
240
|
-
* @returns {Promise<T | TT>} promise
|
|
241
|
-
*/
|
|
242
|
-
Promise.prototype['catch'] = function (onFail) {
|
|
243
|
-
return this.then(null, onFail);
|
|
244
|
-
};
|
|
245
|
-
|
|
246
|
-
// TODO: add support for Promise.catch(Error, callback)
|
|
247
|
-
// TODO: add support for Promise.catch(Error, Error, callback)
|
|
248
|
-
|
|
249
|
-
/**
|
|
250
|
-
* Execute given callback when the promise either resolves or rejects.
|
|
251
|
-
* @template TT
|
|
252
|
-
* @param {() => Promise<TT>} fn
|
|
253
|
-
* @returns {Promise<TT>} promise
|
|
254
|
-
*/
|
|
255
|
-
Promise.prototype.always = function (fn) {
|
|
256
|
-
return this.then(fn, fn);
|
|
257
|
-
};
|
|
258
|
-
|
|
259
|
-
/**
|
|
260
|
-
* Execute given callback when the promise either resolves or rejects.
|
|
261
|
-
* Same semantics as Node's Promise.finally()
|
|
262
|
-
* @param {Function | null | undefined} [fn]
|
|
263
|
-
* @returns {Promise} promise
|
|
264
|
-
*/
|
|
265
|
-
Promise.prototype.finally = function (fn) {
|
|
266
|
-
var me = this;
|
|
267
|
-
var final = function final() {
|
|
268
|
-
return new Promise(function (resolve) {
|
|
269
|
-
return resolve();
|
|
270
|
-
}).then(fn).then(function () {
|
|
271
|
-
return me;
|
|
272
|
-
});
|
|
273
|
-
};
|
|
274
|
-
return this.then(final, final);
|
|
275
|
-
};
|
|
276
|
-
|
|
277
|
-
/**
|
|
278
|
-
* Create a promise which resolves when all provided promises are resolved,
|
|
279
|
-
* and fails when any of the promises resolves.
|
|
280
|
-
* @param {Promise[]} promises
|
|
281
|
-
* @returns {Promise<any[], any>} promise
|
|
282
|
-
*/
|
|
283
|
-
Promise.all = function (promises) {
|
|
284
|
-
return new Promise(function (resolve, reject) {
|
|
285
|
-
var remaining = promises.length,
|
|
286
|
-
results = [];
|
|
287
|
-
if (remaining) {
|
|
288
|
-
promises.forEach(function (p, i) {
|
|
289
|
-
p.then(function (result) {
|
|
290
|
-
results[i] = result;
|
|
291
|
-
remaining--;
|
|
292
|
-
if (remaining == 0) {
|
|
293
|
-
resolve(results);
|
|
294
|
-
}
|
|
295
|
-
}, function (error) {
|
|
296
|
-
remaining = 0;
|
|
297
|
-
reject(error);
|
|
298
|
-
});
|
|
299
|
-
});
|
|
300
|
-
} else {
|
|
301
|
-
resolve(results);
|
|
302
|
-
}
|
|
303
|
-
});
|
|
304
|
-
};
|
|
305
|
-
|
|
306
|
-
/**
|
|
307
|
-
* Create a promise resolver
|
|
308
|
-
* @returns {{promise: Promise, resolve: Function, reject: Function}} resolver
|
|
309
|
-
*/
|
|
310
|
-
Promise.defer = function () {
|
|
311
|
-
var resolver = {};
|
|
312
|
-
resolver.promise = new Promise(function (resolve, reject) {
|
|
313
|
-
resolver.resolve = resolve;
|
|
314
|
-
resolver.reject = reject;
|
|
315
|
-
});
|
|
316
|
-
return resolver;
|
|
317
|
-
};
|
|
318
|
-
|
|
319
|
-
/**
|
|
320
|
-
* Create a cancellation error
|
|
321
|
-
* @param {String} [message]
|
|
322
|
-
* @extends Error
|
|
323
|
-
*/
|
|
324
|
-
function CancellationError(message) {
|
|
325
|
-
this.message = message || 'promise cancelled';
|
|
326
|
-
this.stack = new Error().stack;
|
|
327
|
-
}
|
|
328
|
-
CancellationError.prototype = new Error();
|
|
329
|
-
CancellationError.prototype.constructor = Error;
|
|
330
|
-
CancellationError.prototype.name = 'CancellationError';
|
|
331
|
-
Promise.CancellationError = CancellationError;
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Create a timeout error
|
|
335
|
-
* @param {String} [message]
|
|
336
|
-
* @extends Error
|
|
337
|
-
*/
|
|
338
|
-
function TimeoutError(message) {
|
|
339
|
-
this.message = message || 'timeout exceeded';
|
|
340
|
-
this.stack = new Error().stack;
|
|
341
|
-
}
|
|
342
|
-
TimeoutError.prototype = new Error();
|
|
343
|
-
TimeoutError.prototype.constructor = Error;
|
|
344
|
-
TimeoutError.prototype.name = 'TimeoutError';
|
|
345
|
-
Promise.TimeoutError = TimeoutError;
|
|
346
|
-
_Promise$1.Promise = Promise;
|
|
347
|
-
return _Promise$1;
|
|
348
|
-
}
|
|
349
|
-
|
|
350
|
-
function _arrayLikeToArray(r, a) {
|
|
351
|
-
(null == a || a > r.length) && (a = r.length);
|
|
352
|
-
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
353
|
-
return n;
|
|
354
|
-
}
|
|
355
|
-
function _createForOfIteratorHelper(r, e) {
|
|
356
|
-
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
357
|
-
if (!t) {
|
|
358
|
-
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e) {
|
|
359
|
-
t && (r = t);
|
|
360
|
-
var n = 0,
|
|
361
|
-
F = function () {};
|
|
362
|
-
return {
|
|
363
|
-
s: F,
|
|
364
|
-
n: function () {
|
|
365
|
-
return n >= r.length ? {
|
|
366
|
-
done: true
|
|
367
|
-
} : {
|
|
368
|
-
done: false,
|
|
369
|
-
value: r[n++]
|
|
370
|
-
};
|
|
371
|
-
},
|
|
372
|
-
e: function (r) {
|
|
373
|
-
throw r;
|
|
374
|
-
},
|
|
375
|
-
f: F
|
|
376
|
-
};
|
|
377
|
-
}
|
|
378
|
-
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
379
|
-
}
|
|
380
|
-
var o,
|
|
381
|
-
a = true,
|
|
382
|
-
u = false;
|
|
383
|
-
return {
|
|
384
|
-
s: function () {
|
|
385
|
-
t = t.call(r);
|
|
386
|
-
},
|
|
387
|
-
n: function () {
|
|
388
|
-
var r = t.next();
|
|
389
|
-
return a = r.done, r;
|
|
390
|
-
},
|
|
391
|
-
e: function (r) {
|
|
392
|
-
u = true, o = r;
|
|
393
|
-
},
|
|
394
|
-
f: function () {
|
|
395
|
-
try {
|
|
396
|
-
a || null == t.return || t.return();
|
|
397
|
-
} finally {
|
|
398
|
-
if (u) throw o;
|
|
399
|
-
}
|
|
400
|
-
}
|
|
401
|
-
};
|
|
402
|
-
}
|
|
403
|
-
function _defineProperty(e, r, t) {
|
|
404
|
-
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
405
|
-
value: t,
|
|
406
|
-
enumerable: true,
|
|
407
|
-
configurable: true,
|
|
408
|
-
writable: true
|
|
409
|
-
}) : e[r] = t, e;
|
|
410
|
-
}
|
|
411
|
-
function ownKeys(e, r) {
|
|
412
|
-
var t = Object.keys(e);
|
|
413
|
-
if (Object.getOwnPropertySymbols) {
|
|
414
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
415
|
-
r && (o = o.filter(function (r) {
|
|
416
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
417
|
-
})), t.push.apply(t, o);
|
|
418
|
-
}
|
|
419
|
-
return t;
|
|
420
|
-
}
|
|
421
|
-
function _objectSpread2(e) {
|
|
422
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
423
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
424
|
-
r % 2 ? ownKeys(Object(t), true).forEach(function (r) {
|
|
425
|
-
_defineProperty(e, r, t[r]);
|
|
426
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
427
|
-
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
428
|
-
});
|
|
429
|
-
}
|
|
430
|
-
return e;
|
|
431
|
-
}
|
|
432
|
-
function _toPrimitive(t, r) {
|
|
433
|
-
if ("object" != typeof t || !t) return t;
|
|
434
|
-
var e = t[Symbol.toPrimitive];
|
|
435
|
-
if (void 0 !== e) {
|
|
436
|
-
var i = e.call(t, r);
|
|
437
|
-
if ("object" != typeof i) return i;
|
|
438
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
439
|
-
}
|
|
440
|
-
return ("string" === r ? String : Number)(t);
|
|
441
|
-
}
|
|
442
|
-
function _toPropertyKey(t) {
|
|
443
|
-
var i = _toPrimitive(t, "string");
|
|
444
|
-
return "symbol" == typeof i ? i : i + "";
|
|
445
|
-
}
|
|
446
|
-
function _typeof(o) {
|
|
447
|
-
"@babel/helpers - typeof";
|
|
448
|
-
|
|
449
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
450
|
-
return typeof o;
|
|
451
|
-
} : function (o) {
|
|
452
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
453
|
-
}, _typeof(o);
|
|
454
|
-
}
|
|
455
|
-
function _unsupportedIterableToArray(r, a) {
|
|
456
|
-
if (r) {
|
|
457
|
-
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
458
|
-
var t = {}.toString.call(r).slice(8, -1);
|
|
459
|
-
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
|
|
463
|
-
var WorkerHandler = {exports: {}};
|
|
464
|
-
|
|
465
|
-
var validateOptions = {};
|
|
466
|
-
|
|
467
|
-
/**
|
|
468
|
-
* Validate that the object only contains known option names
|
|
469
|
-
* - Throws an error when unknown options are detected
|
|
470
|
-
* - Throws an error when some of the allowed options are attached
|
|
471
|
-
* @param {Object | undefined} options
|
|
472
|
-
* @param {string[]} allowedOptionNames
|
|
473
|
-
* @param {string} objectName
|
|
474
|
-
* @retrun {Object} Returns the original options
|
|
475
|
-
*/
|
|
476
|
-
var hasRequiredValidateOptions;
|
|
477
|
-
function requireValidateOptions() {
|
|
478
|
-
if (hasRequiredValidateOptions) return validateOptions;
|
|
479
|
-
hasRequiredValidateOptions = 1;
|
|
480
|
-
validateOptions.validateOptions = function validateOptions(options, allowedOptionNames, objectName) {
|
|
481
|
-
if (!options) {
|
|
482
|
-
return;
|
|
483
|
-
}
|
|
484
|
-
var optionNames = options ? Object.keys(options) : [];
|
|
485
|
-
|
|
486
|
-
// check for unknown properties
|
|
487
|
-
var unknownOptionName = optionNames.find(function (optionName) {
|
|
488
|
-
return !allowedOptionNames.includes(optionName);
|
|
489
|
-
});
|
|
490
|
-
if (unknownOptionName) {
|
|
491
|
-
throw new Error('Object "' + objectName + '" contains an unknown option "' + unknownOptionName + '"');
|
|
492
|
-
}
|
|
493
|
-
|
|
494
|
-
// check for inherited properties which are not present on the object itself
|
|
495
|
-
var illegalOptionName = allowedOptionNames.find(function (allowedOptionName) {
|
|
496
|
-
return Object.prototype[allowedOptionName] && !optionNames.includes(allowedOptionName);
|
|
497
|
-
});
|
|
498
|
-
if (illegalOptionName) {
|
|
499
|
-
throw new Error('Object "' + objectName + '" contains an inherited option "' + illegalOptionName + '" which is ' + 'not defined in the object itself but in its prototype. Only plain objects are allowed. ' + 'Please remove the option from the prototype or override it with a value "undefined".');
|
|
500
|
-
}
|
|
501
|
-
return options;
|
|
502
|
-
};
|
|
503
|
-
|
|
504
|
-
// source: https://developer.mozilla.org/en-US/docs/Web/API/Worker/Worker
|
|
505
|
-
validateOptions.workerOptsNames = ['credentials', 'name', 'type'];
|
|
506
|
-
|
|
507
|
-
// source: https://nodejs.org/api/child_process.html#child_processforkmodulepath-args-options
|
|
508
|
-
validateOptions.forkOptsNames = ['cwd', 'detached', 'env', 'execPath', 'execArgv', 'gid', 'serialization', 'signal', 'killSignal', 'silent', 'stdio', 'uid', 'windowsVerbatimArguments', 'timeout'];
|
|
509
|
-
|
|
510
|
-
// source: https://nodejs.org/api/worker_threads.html#new-workerfilename-options
|
|
511
|
-
validateOptions.workerThreadOptsNames = ['argv', 'env', 'eval', 'execArgv', 'stdin', 'stdout', 'stderr', 'workerData', 'trackUnmanagedFds', 'transferList', 'resourceLimits', 'name'];
|
|
512
|
-
return validateOptions;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* embeddedWorker.js contains an embedded version of worker.js.
|
|
517
|
-
* This file is automatically generated,
|
|
518
|
-
* changes made in this file will be overwritten.
|
|
519
|
-
*/
|
|
520
|
-
var embeddedWorker;
|
|
521
|
-
var hasRequiredEmbeddedWorker;
|
|
522
|
-
function requireEmbeddedWorker() {
|
|
523
|
-
if (hasRequiredEmbeddedWorker) return embeddedWorker;
|
|
524
|
-
hasRequiredEmbeddedWorker = 1;
|
|
525
|
-
embeddedWorker = "!function(e,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=n():\"function\"==typeof define&&define.amd?define(n):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).worker=n()}(this,(function(){\"use strict\";function e(n){return e=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e},e(n)}function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,\"default\")?e.default:e}var t={};var r=function(e,n){this.message=e,this.transfer=n},o={};function i(e,n){var t=this;if(!(this instanceof i))throw new SyntaxError(\"Constructor must be called with the new operator\");if(\"function\"!=typeof e)throw new SyntaxError(\"Function parameter handler(resolve, reject) missing\");var r=[],o=[];this.resolved=!1,this.rejected=!1,this.pending=!0,this[Symbol.toStringTag]=\"Promise\";var a=function(e,n){r.push(e),o.push(n)};this.then=function(e,n){return new i((function(t,r){var o=e?s(e,t,r):t,i=n?s(n,t,r):r;a(o,i)}),t)};var f=function(e){return t.resolved=!0,t.rejected=!1,t.pending=!1,r.forEach((function(n){n(e)})),a=function(n,t){n(e)},f=d=function(){},t},d=function(e){return t.resolved=!1,t.rejected=!0,t.pending=!1,o.forEach((function(n){n(e)})),a=function(n,t){t(e)},f=d=function(){},t};this.cancel=function(){return n?n.cancel():d(new u),t},this.timeout=function(e){if(n)n.timeout(e);else{var r=setTimeout((function(){d(new c(\"Promise timed out after \"+e+\" ms\"))}),e);t.always((function(){clearTimeout(r)}))}return t},e((function(e){f(e)}),(function(e){d(e)}))}function s(e,n,t){return function(r){try{var o=e(r);o&&\"function\"==typeof o.then&&\"function\"==typeof o.catch?o.then(n,t):n(o)}catch(e){t(e)}}}function u(e){this.message=e||\"promise cancelled\",this.stack=(new Error).stack}function c(e){this.message=e||\"timeout exceeded\",this.stack=(new Error).stack}return i.prototype.catch=function(e){return this.then(null,e)},i.prototype.always=function(e){return this.then(e,e)},i.prototype.finally=function(e){var n=this,t=function(){return new i((function(e){return e()})).then(e).then((function(){return n}))};return this.then(t,t)},i.all=function(e){return new i((function(n,t){var r=e.length,o=[];r?e.forEach((function(e,i){e.then((function(e){o[i]=e,0==--r&&n(o)}),(function(e){r=0,t(e)}))})):n(o)}))},i.defer=function(){var e={};return e.promise=new i((function(n,t){e.resolve=n,e.reject=t})),e},u.prototype=new Error,u.prototype.constructor=Error,u.prototype.name=\"CancellationError\",i.CancellationError=u,c.prototype=new Error,c.prototype.constructor=Error,c.prototype.name=\"TimeoutError\",i.TimeoutError=c,o.Promise=i,function(n){var t=r,i=o.Promise,s=\"__workerpool-cleanup__\",u={exit:function(){}},c={addAbortListener:function(e){u.abortListeners.push(e)},emit:u.emit};if(\"undefined\"!=typeof self&&\"function\"==typeof postMessage&&\"function\"==typeof addEventListener)u.on=function(e,n){addEventListener(e,(function(e){n(e.data)}))},u.send=function(e,n){n?postMessage(e,n):postMessage(e)};else{if(\"undefined\"==typeof process)throw new Error(\"Script must be executed as a worker\");var a;try{a=require(\"worker_threads\")}catch(n){if(\"object\"!==e(n)||null===n||\"MODULE_NOT_FOUND\"!==n.code)throw n}if(a&&null!==a.parentPort){var f=a.parentPort;u.send=f.postMessage.bind(f),u.on=f.on.bind(f),u.exit=process.exit.bind(process)}else u.on=process.on.bind(process),u.send=function(e){process.send(e)},u.on(\"disconnect\",(function(){process.exit(1)})),u.exit=process.exit.bind(process)}function d(e){return e&&e.toJSON?JSON.parse(JSON.stringify(e)):JSON.parse(JSON.stringify(e,Object.getOwnPropertyNames(e)))}function l(e){return e&&\"function\"==typeof e.then&&\"function\"==typeof e.catch}u.methods={},u.methods.run=function(e,n){var t=new Function(\"return (\"+e+\").apply(this, arguments);\");return t.worker=c,t.apply(t,n)},u.methods.methods=function(){return Object.keys(u.methods)},u.terminationHandler=void 0,u.abortListenerTimeout=1e3,u.abortListeners=[],u.terminateAndExit=function(e){var n=function(){u.exit(e)};if(!u.terminationHandler)return n();var t=u.terminationHandler(e);return l(t)?(t.then(n,n),t):(n(),new i((function(e,n){n(new Error(\"Worker terminating\"))})))},u.cleanup=function(e){if(!u.abortListeners.length)return u.send({id:e,method:s,error:d(new Error(\"Worker terminating\"))}),new i((function(e){e()}));var n,t=u.abortListeners.map((function(e){return e()})),r=new i((function(e,t){n=setTimeout((function(){t(new Error(\"Timeout occured waiting for abort handler, killing worker\"))}),u.abortListenerTimeout)})),o=i.all(t).then((function(){clearTimeout(n),u.abortListeners.length||(u.abortListeners=[])}),(function(){clearTimeout(n),u.exit()}));return new i((function(e,n){o.then(e,n),r.then(e,n)})).then((function(){u.send({id:e,method:s,error:null})}),(function(n){u.send({id:e,method:s,error:n?d(n):null})}))};var p=null;u.on(\"message\",(function(e){if(\"__workerpool-terminate__\"===e)return u.terminateAndExit(0);if(e.method===s)return u.cleanup(e.id);try{var n=u.methods[e.method];if(!n)throw new Error('Unknown method \"'+e.method+'\"');p=e.id;var r=n.apply(n,e.params);l(r)?r.then((function(n){n instanceof t?u.send({id:e.id,result:n.message,error:null},n.transfer):u.send({id:e.id,result:n,error:null}),p=null})).catch((function(n){u.send({id:e.id,result:null,error:d(n)}),p=null})):(r instanceof t?u.send({id:e.id,result:r.message,error:null},r.transfer):u.send({id:e.id,result:r,error:null}),p=null)}catch(n){u.send({id:e.id,result:null,error:d(n)})}})),u.register=function(e,n){if(e)for(var t in e)e.hasOwnProperty(t)&&(u.methods[t]=e[t],u.methods[t].worker=c);n&&(u.terminationHandler=n.onTerminate,u.abortListenerTimeout=n.abortListenerTimeout||1e3),u.send(\"ready\")},u.emit=function(e){if(p){if(e instanceof t)return void u.send({id:p,isEvent:!0,payload:e.message},e.transfer);u.send({id:p,isEvent:!0,payload:e})}},n.add=u.register,n.emit=u.emit}(t),n(t)}));\n//# sourceMappingURL=worker.min.js.map\n";
|
|
526
|
-
return embeddedWorker;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
var hasRequiredWorkerHandler;
|
|
530
|
-
function requireWorkerHandler() {
|
|
531
|
-
if (hasRequiredWorkerHandler) return WorkerHandler.exports;
|
|
532
|
-
hasRequiredWorkerHandler = 1;
|
|
533
|
-
var _require$$ = require_Promise(),
|
|
534
|
-
Promise = _require$$.Promise;
|
|
535
|
-
var environment = environmentExports;
|
|
536
|
-
var _require$$2 = requireValidateOptions(),
|
|
537
|
-
validateOptions = _require$$2.validateOptions,
|
|
538
|
-
forkOptsNames = _require$$2.forkOptsNames,
|
|
539
|
-
workerThreadOptsNames = _require$$2.workerThreadOptsNames,
|
|
540
|
-
workerOptsNames = _require$$2.workerOptsNames;
|
|
541
|
-
|
|
542
|
-
/**
|
|
543
|
-
* Special message sent by parent which causes a child process worker to terminate itself.
|
|
544
|
-
* Not a "message object"; this string is the entire message.
|
|
545
|
-
*/
|
|
546
|
-
var TERMINATE_METHOD_ID = '__workerpool-terminate__';
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* Special message by parent which causes a child process worker to perform cleaup
|
|
550
|
-
* steps before determining if the child process worker should be terminated.
|
|
551
|
-
*/
|
|
552
|
-
var CLEANUP_METHOD_ID = '__workerpool-cleanup__';
|
|
553
|
-
function ensureWorkerThreads() {
|
|
554
|
-
var WorkerThreads = tryRequireWorkerThreads();
|
|
555
|
-
if (!WorkerThreads) {
|
|
556
|
-
throw new Error('WorkerPool: workerType = \'thread\' is not supported, Node >= 11.7.0 required');
|
|
557
|
-
}
|
|
558
|
-
return WorkerThreads;
|
|
559
|
-
}
|
|
560
|
-
|
|
561
|
-
// check whether Worker is supported by the browser
|
|
562
|
-
function ensureWebWorker() {
|
|
563
|
-
// Workaround for a bug in PhantomJS (Or QtWebkit): https://github.com/ariya/phantomjs/issues/14534
|
|
564
|
-
if (typeof Worker !== 'function' && ((typeof Worker === "undefined" ? "undefined" : _typeof(Worker)) !== 'object' || typeof Worker.prototype.constructor !== 'function')) {
|
|
565
|
-
throw new Error('WorkerPool: Web Workers not supported');
|
|
566
|
-
}
|
|
567
|
-
}
|
|
568
|
-
function tryRequireWorkerThreads() {
|
|
569
|
-
try {
|
|
570
|
-
return require('worker_threads');
|
|
571
|
-
} catch (error) {
|
|
572
|
-
if (_typeof(error) === 'object' && error !== null && error.code === 'MODULE_NOT_FOUND') {
|
|
573
|
-
// no worker_threads available (old version of node.js)
|
|
574
|
-
return null;
|
|
575
|
-
} else {
|
|
576
|
-
throw error;
|
|
577
|
-
}
|
|
578
|
-
}
|
|
579
|
-
}
|
|
580
|
-
|
|
581
|
-
// get the default worker script
|
|
582
|
-
function getDefaultWorker() {
|
|
583
|
-
if (environment.platform === 'browser') {
|
|
584
|
-
// test whether the browser supports all features that we need
|
|
585
|
-
if (typeof Blob === 'undefined') {
|
|
586
|
-
throw new Error('Blob not supported by the browser');
|
|
587
|
-
}
|
|
588
|
-
if (!window.URL || typeof window.URL.createObjectURL !== 'function') {
|
|
589
|
-
throw new Error('URL.createObjectURL not supported by the browser');
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
// use embedded worker.js
|
|
593
|
-
var blob = new Blob([requireEmbeddedWorker()], {
|
|
594
|
-
type: 'text/javascript'
|
|
595
|
-
});
|
|
596
|
-
return window.URL.createObjectURL(blob);
|
|
597
|
-
} else {
|
|
598
|
-
// use external worker.js in current directory
|
|
599
|
-
return __dirname + '/worker.js';
|
|
600
|
-
}
|
|
601
|
-
}
|
|
602
|
-
function setupWorker(script, options) {
|
|
603
|
-
if (options.workerType === 'web') {
|
|
604
|
-
// browser only
|
|
605
|
-
ensureWebWorker();
|
|
606
|
-
return setupBrowserWorker(script, options.workerOpts, Worker);
|
|
607
|
-
} else if (options.workerType === 'thread') {
|
|
608
|
-
// node.js only
|
|
609
|
-
WorkerThreads = ensureWorkerThreads();
|
|
610
|
-
return setupWorkerThreadWorker(script, WorkerThreads, options);
|
|
611
|
-
} else if (options.workerType === 'process' || !options.workerType) {
|
|
612
|
-
// node.js only
|
|
613
|
-
return setupProcessWorker(script, resolveForkOptions(options), require('child_process'));
|
|
614
|
-
} else {
|
|
615
|
-
// options.workerType === 'auto' or undefined
|
|
616
|
-
if (environment.platform === 'browser') {
|
|
617
|
-
ensureWebWorker();
|
|
618
|
-
return setupBrowserWorker(script, options.workerOpts, Worker);
|
|
619
|
-
} else {
|
|
620
|
-
// environment.platform === 'node'
|
|
621
|
-
var WorkerThreads = tryRequireWorkerThreads();
|
|
622
|
-
if (WorkerThreads) {
|
|
623
|
-
return setupWorkerThreadWorker(script, WorkerThreads, options);
|
|
624
|
-
} else {
|
|
625
|
-
return setupProcessWorker(script, resolveForkOptions(options), require('child_process'));
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
function setupBrowserWorker(script, workerOpts, Worker) {
|
|
631
|
-
// validate the options right before creating the worker (not when creating the pool)
|
|
632
|
-
validateOptions(workerOpts, workerOptsNames, 'workerOpts');
|
|
633
|
-
|
|
634
|
-
// create the web worker
|
|
635
|
-
var worker = new Worker(script, workerOpts);
|
|
636
|
-
worker.isBrowserWorker = true;
|
|
637
|
-
// add node.js API to the web worker
|
|
638
|
-
worker.on = function (event, callback) {
|
|
639
|
-
this.addEventListener(event, function (message) {
|
|
640
|
-
callback(message.data);
|
|
641
|
-
});
|
|
642
|
-
};
|
|
643
|
-
worker.send = function (message, transfer) {
|
|
644
|
-
this.postMessage(message, transfer);
|
|
645
|
-
};
|
|
646
|
-
return worker;
|
|
647
|
-
}
|
|
648
|
-
function setupWorkerThreadWorker(script, WorkerThreads, options) {
|
|
649
|
-
var _options$emitStdStrea, _options$emitStdStrea2;
|
|
650
|
-
// validate the options right before creating the worker thread (not when creating the pool)
|
|
651
|
-
validateOptions(options === null || options === void 0 ? void 0 : options.workerThreadOpts, workerThreadOptsNames, 'workerThreadOpts');
|
|
652
|
-
var worker = new WorkerThreads.Worker(script, _objectSpread2({
|
|
653
|
-
stdout: (_options$emitStdStrea = options === null || options === void 0 ? void 0 : options.emitStdStreams) !== null && _options$emitStdStrea !== void 0 ? _options$emitStdStrea : false,
|
|
654
|
-
// pipe worker.STDOUT to process.STDOUT if not requested
|
|
655
|
-
stderr: (_options$emitStdStrea2 = options === null || options === void 0 ? void 0 : options.emitStdStreams) !== null && _options$emitStdStrea2 !== void 0 ? _options$emitStdStrea2 : false
|
|
656
|
-
}, options === null || options === void 0 ? void 0 : options.workerThreadOpts));
|
|
657
|
-
worker.isWorkerThread = true;
|
|
658
|
-
worker.send = function (message, transfer) {
|
|
659
|
-
this.postMessage(message, transfer);
|
|
660
|
-
};
|
|
661
|
-
worker.kill = function () {
|
|
662
|
-
this.terminate();
|
|
663
|
-
return true;
|
|
664
|
-
};
|
|
665
|
-
worker.disconnect = function () {
|
|
666
|
-
this.terminate();
|
|
667
|
-
};
|
|
668
|
-
if (options !== null && options !== void 0 && options.emitStdStreams) {
|
|
669
|
-
worker.stdout.on('data', function (data) {
|
|
670
|
-
return worker.emit("stdout", data);
|
|
671
|
-
});
|
|
672
|
-
worker.stderr.on('data', function (data) {
|
|
673
|
-
return worker.emit("stderr", data);
|
|
674
|
-
});
|
|
675
|
-
}
|
|
676
|
-
return worker;
|
|
677
|
-
}
|
|
678
|
-
function setupProcessWorker(script, options, child_process) {
|
|
679
|
-
// validate the options right before creating the child process (not when creating the pool)
|
|
680
|
-
validateOptions(options.forkOpts, forkOptsNames, 'forkOpts');
|
|
681
|
-
|
|
682
|
-
// no WorkerThreads, fallback to sub-process based workers
|
|
683
|
-
var worker = child_process.fork(script, options.forkArgs, options.forkOpts);
|
|
684
|
-
|
|
685
|
-
// ignore transfer argument since it is not supported by process
|
|
686
|
-
var send = worker.send;
|
|
687
|
-
worker.send = function (message) {
|
|
688
|
-
return send.call(worker, message);
|
|
689
|
-
};
|
|
690
|
-
if (options.emitStdStreams) {
|
|
691
|
-
worker.stdout.on('data', function (data) {
|
|
692
|
-
return worker.emit("stdout", data);
|
|
693
|
-
});
|
|
694
|
-
worker.stderr.on('data', function (data) {
|
|
695
|
-
return worker.emit("stderr", data);
|
|
696
|
-
});
|
|
697
|
-
}
|
|
698
|
-
worker.isChildProcess = true;
|
|
699
|
-
return worker;
|
|
700
|
-
}
|
|
701
|
-
|
|
702
|
-
// add debug flags to child processes if the node inspector is active
|
|
703
|
-
function resolveForkOptions(opts) {
|
|
704
|
-
opts = opts || {};
|
|
705
|
-
var processExecArgv = process.execArgv.join(' ');
|
|
706
|
-
var inspectorActive = processExecArgv.indexOf('--inspect') !== -1;
|
|
707
|
-
var debugBrk = processExecArgv.indexOf('--debug-brk') !== -1;
|
|
708
|
-
var execArgv = [];
|
|
709
|
-
if (inspectorActive) {
|
|
710
|
-
execArgv.push('--inspect=' + opts.debugPort);
|
|
711
|
-
if (debugBrk) {
|
|
712
|
-
execArgv.push('--debug-brk');
|
|
713
|
-
}
|
|
714
|
-
}
|
|
715
|
-
process.execArgv.forEach(function (arg) {
|
|
716
|
-
if (arg.indexOf('--max-old-space-size') > -1) {
|
|
717
|
-
execArgv.push(arg);
|
|
718
|
-
}
|
|
719
|
-
});
|
|
720
|
-
return Object.assign({}, opts, {
|
|
721
|
-
forkArgs: opts.forkArgs,
|
|
722
|
-
forkOpts: Object.assign({}, opts.forkOpts, {
|
|
723
|
-
execArgv: (opts.forkOpts && opts.forkOpts.execArgv || []).concat(execArgv),
|
|
724
|
-
stdio: opts.emitStdStreams ? "pipe" : undefined
|
|
725
|
-
})
|
|
726
|
-
});
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
/**
|
|
730
|
-
* Converts a serialized error to Error
|
|
731
|
-
* @param {Object} obj Error that has been serialized and parsed to object
|
|
732
|
-
* @return {Error} The equivalent Error.
|
|
733
|
-
*/
|
|
734
|
-
function objectToError(obj) {
|
|
735
|
-
var temp = new Error('');
|
|
736
|
-
var props = Object.keys(obj);
|
|
737
|
-
for (var i = 0; i < props.length; i++) {
|
|
738
|
-
temp[props[i]] = obj[props[i]];
|
|
739
|
-
}
|
|
740
|
-
return temp;
|
|
741
|
-
}
|
|
742
|
-
function handleEmittedStdPayload(handler, payload) {
|
|
743
|
-
// TODO: refactor if parallel task execution gets added
|
|
744
|
-
Object.values(handler.processing).forEach(function (task) {
|
|
745
|
-
var _task$options;
|
|
746
|
-
return task === null || task === void 0 || (_task$options = task.options) === null || _task$options === void 0 ? void 0 : _task$options.on(payload);
|
|
747
|
-
});
|
|
748
|
-
Object.values(handler.tracking).forEach(function (task) {
|
|
749
|
-
var _task$options2;
|
|
750
|
-
return task === null || task === void 0 || (_task$options2 = task.options) === null || _task$options2 === void 0 ? void 0 : _task$options2.on(payload);
|
|
751
|
-
});
|
|
752
|
-
}
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
* A WorkerHandler controls a single worker. This worker can be a child process
|
|
756
|
-
* on node.js or a WebWorker in a browser environment.
|
|
757
|
-
* @param {String} [script] If no script is provided, a default worker with a
|
|
758
|
-
* function run will be created.
|
|
759
|
-
* @param {import('./types.js').WorkerPoolOptions} [_options] See docs
|
|
760
|
-
* @constructor
|
|
761
|
-
*/
|
|
762
|
-
function WorkerHandler$1(script, _options) {
|
|
763
|
-
var me = this;
|
|
764
|
-
var options = _options || {};
|
|
765
|
-
this.script = script || getDefaultWorker();
|
|
766
|
-
this.worker = setupWorker(this.script, options);
|
|
767
|
-
this.debugPort = options.debugPort;
|
|
768
|
-
this.forkOpts = options.forkOpts;
|
|
769
|
-
this.forkArgs = options.forkArgs;
|
|
770
|
-
this.workerOpts = options.workerOpts;
|
|
771
|
-
this.workerThreadOpts = options.workerThreadOpts;
|
|
772
|
-
this.workerTerminateTimeout = options.workerTerminateTimeout;
|
|
773
|
-
|
|
774
|
-
// The ready message is only sent if the worker.add method is called (And the default script is not used)
|
|
775
|
-
if (!script) {
|
|
776
|
-
this.worker.ready = true;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
// queue for requests that are received before the worker is ready
|
|
780
|
-
this.requestQueue = [];
|
|
781
|
-
this.worker.on("stdout", function (data) {
|
|
782
|
-
handleEmittedStdPayload(me, {
|
|
783
|
-
"stdout": data.toString()
|
|
784
|
-
});
|
|
785
|
-
});
|
|
786
|
-
this.worker.on("stderr", function (data) {
|
|
787
|
-
handleEmittedStdPayload(me, {
|
|
788
|
-
"stderr": data.toString()
|
|
789
|
-
});
|
|
790
|
-
});
|
|
791
|
-
this.worker.on('message', function (response) {
|
|
792
|
-
if (me.terminated) {
|
|
793
|
-
return;
|
|
794
|
-
}
|
|
795
|
-
if (typeof response === 'string' && response === 'ready') {
|
|
796
|
-
me.worker.ready = true;
|
|
797
|
-
dispatchQueuedRequests();
|
|
798
|
-
} else {
|
|
799
|
-
// find the task from the processing queue, and run the tasks callback
|
|
800
|
-
var id = response.id;
|
|
801
|
-
var task = me.processing[id];
|
|
802
|
-
if (task !== undefined) {
|
|
803
|
-
if (response.isEvent) {
|
|
804
|
-
if (task.options && typeof task.options.on === 'function') {
|
|
805
|
-
task.options.on(response.payload);
|
|
806
|
-
}
|
|
807
|
-
} else {
|
|
808
|
-
// remove the task from the queue
|
|
809
|
-
delete me.processing[id];
|
|
810
|
-
|
|
811
|
-
// test if we need to terminate
|
|
812
|
-
if (me.terminating === true) {
|
|
813
|
-
// complete worker termination if all tasks are finished
|
|
814
|
-
me.terminate();
|
|
815
|
-
}
|
|
816
|
-
|
|
817
|
-
// resolve the task's promise
|
|
818
|
-
if (response.error) {
|
|
819
|
-
task.resolver.reject(objectToError(response.error));
|
|
820
|
-
} else {
|
|
821
|
-
task.resolver.resolve(response.result);
|
|
822
|
-
}
|
|
823
|
-
}
|
|
824
|
-
} else {
|
|
825
|
-
// if the task is not the current, it might be tracked for cleanup
|
|
826
|
-
var task = me.tracking[id];
|
|
827
|
-
if (task !== undefined) {
|
|
828
|
-
if (response.isEvent) {
|
|
829
|
-
if (task.options && typeof task.options.on === 'function') {
|
|
830
|
-
task.options.on(response.payload);
|
|
831
|
-
}
|
|
832
|
-
}
|
|
833
|
-
}
|
|
834
|
-
}
|
|
835
|
-
if (response.method === CLEANUP_METHOD_ID) {
|
|
836
|
-
var trackedTask = me.tracking[response.id];
|
|
837
|
-
if (trackedTask !== undefined) {
|
|
838
|
-
if (response.error) {
|
|
839
|
-
clearTimeout(trackedTask.timeoutId);
|
|
840
|
-
trackedTask.resolver.reject(objectToError(response.error));
|
|
841
|
-
} else {
|
|
842
|
-
me.tracking && clearTimeout(trackedTask.timeoutId);
|
|
843
|
-
// if we do not encounter an error wrap the the original timeout error and reject
|
|
844
|
-
trackedTask.resolver.reject(new WrappedTimeoutError(trackedTask.error));
|
|
845
|
-
}
|
|
846
|
-
}
|
|
847
|
-
delete me.tracking[id];
|
|
848
|
-
}
|
|
849
|
-
}
|
|
850
|
-
});
|
|
851
|
-
|
|
852
|
-
// reject all running tasks on worker error
|
|
853
|
-
function onError(error) {
|
|
854
|
-
me.terminated = true;
|
|
855
|
-
for (var id in me.processing) {
|
|
856
|
-
if (me.processing[id] !== undefined) {
|
|
857
|
-
me.processing[id].resolver.reject(error);
|
|
858
|
-
}
|
|
859
|
-
}
|
|
860
|
-
me.processing = Object.create(null);
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
// send all queued requests to worker
|
|
864
|
-
function dispatchQueuedRequests() {
|
|
865
|
-
var _iterator = _createForOfIteratorHelper(me.requestQueue.splice(0)),
|
|
866
|
-
_step;
|
|
867
|
-
try {
|
|
868
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
869
|
-
var request = _step.value;
|
|
870
|
-
me.worker.send(request.message, request.transfer);
|
|
871
|
-
}
|
|
872
|
-
} catch (err) {
|
|
873
|
-
_iterator.e(err);
|
|
874
|
-
} finally {
|
|
875
|
-
_iterator.f();
|
|
876
|
-
}
|
|
877
|
-
}
|
|
878
|
-
var worker = this.worker;
|
|
879
|
-
// listen for worker messages error and exit
|
|
880
|
-
this.worker.on('error', onError);
|
|
881
|
-
this.worker.on('exit', function (exitCode, signalCode) {
|
|
882
|
-
var message = 'Workerpool Worker terminated Unexpectedly\n';
|
|
883
|
-
message += ' exitCode: `' + exitCode + '`\n';
|
|
884
|
-
message += ' signalCode: `' + signalCode + '`\n';
|
|
885
|
-
message += ' workerpool.script: `' + me.script + '`\n';
|
|
886
|
-
message += ' spawnArgs: `' + worker.spawnargs + '`\n';
|
|
887
|
-
message += ' spawnfile: `' + worker.spawnfile + '`\n';
|
|
888
|
-
message += ' stdout: `' + worker.stdout + '`\n';
|
|
889
|
-
message += ' stderr: `' + worker.stderr + '`\n';
|
|
890
|
-
onError(new Error(message));
|
|
891
|
-
});
|
|
892
|
-
this.processing = Object.create(null); // queue with tasks currently in progress
|
|
893
|
-
this.tracking = Object.create(null); // queue with tasks being monitored for cleanup status
|
|
894
|
-
this.terminating = false;
|
|
895
|
-
this.terminated = false;
|
|
896
|
-
this.cleaning = false;
|
|
897
|
-
this.terminationHandler = null;
|
|
898
|
-
this.lastId = 0;
|
|
899
|
-
}
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
* Get a list with methods available on the worker.
|
|
903
|
-
* @return {Promise.<String[], Error>} methods
|
|
904
|
-
*/
|
|
905
|
-
WorkerHandler$1.prototype.methods = function () {
|
|
906
|
-
return this.exec('methods');
|
|
907
|
-
};
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* Execute a method with given parameters on the worker
|
|
911
|
-
* @param {String} method
|
|
912
|
-
* @param {Array} [params]
|
|
913
|
-
* @param {{resolve: Function, reject: Function}} [resolver]
|
|
914
|
-
* @param {import('./types.js').ExecOptions} [options]
|
|
915
|
-
* @return {Promise.<*, Error>} result
|
|
916
|
-
*/
|
|
917
|
-
WorkerHandler$1.prototype.exec = function (method, params, resolver, options) {
|
|
918
|
-
if (!resolver) {
|
|
919
|
-
resolver = Promise.defer();
|
|
920
|
-
}
|
|
921
|
-
|
|
922
|
-
// generate a unique id for the task
|
|
923
|
-
var id = ++this.lastId;
|
|
924
|
-
|
|
925
|
-
// register a new task as being in progress
|
|
926
|
-
this.processing[id] = {
|
|
927
|
-
id: id,
|
|
928
|
-
resolver: resolver,
|
|
929
|
-
options: options
|
|
930
|
-
};
|
|
931
|
-
|
|
932
|
-
// build a JSON-RPC request
|
|
933
|
-
var request = {
|
|
934
|
-
message: {
|
|
935
|
-
id: id,
|
|
936
|
-
method: method,
|
|
937
|
-
params: params
|
|
938
|
-
},
|
|
939
|
-
transfer: options && options.transfer
|
|
940
|
-
};
|
|
941
|
-
if (this.terminated) {
|
|
942
|
-
resolver.reject(new Error('Worker is terminated'));
|
|
943
|
-
} else if (this.worker.ready) {
|
|
944
|
-
// send the request to the worker
|
|
945
|
-
this.worker.send(request.message, request.transfer);
|
|
946
|
-
} else {
|
|
947
|
-
this.requestQueue.push(request);
|
|
948
|
-
}
|
|
949
|
-
|
|
950
|
-
// on cancellation, force the worker to terminate
|
|
951
|
-
var me = this;
|
|
952
|
-
return resolver.promise.catch(function (error) {
|
|
953
|
-
if (error instanceof Promise.CancellationError || error instanceof Promise.TimeoutError) {
|
|
954
|
-
me.tracking[id] = {
|
|
955
|
-
id: id,
|
|
956
|
-
resolver: Promise.defer(),
|
|
957
|
-
options: options,
|
|
958
|
-
error: error
|
|
959
|
-
};
|
|
960
|
-
|
|
961
|
-
// remove this task from the queue. It is already rejected (hence this
|
|
962
|
-
// catch event), and else it will be rejected again when terminating
|
|
963
|
-
delete me.processing[id];
|
|
964
|
-
me.tracking[id].resolver.promise = me.tracking[id].resolver.promise.catch(function (err) {
|
|
965
|
-
delete me.tracking[id];
|
|
966
|
-
|
|
967
|
-
// if we find the error is an instance of WrappedTimeoutError we know the error should not cause termination
|
|
968
|
-
// as the response from the worker did not contain an error. We still wish to throw the original timeout error
|
|
969
|
-
// to the caller.
|
|
970
|
-
if (err instanceof WrappedTimeoutError) {
|
|
971
|
-
throw err.error;
|
|
972
|
-
}
|
|
973
|
-
var promise = me.terminateAndNotify(true).then(function () {
|
|
974
|
-
throw err;
|
|
975
|
-
}, function (err) {
|
|
976
|
-
throw err;
|
|
977
|
-
});
|
|
978
|
-
return promise;
|
|
979
|
-
});
|
|
980
|
-
me.worker.send({
|
|
981
|
-
id: id,
|
|
982
|
-
method: CLEANUP_METHOD_ID
|
|
983
|
-
});
|
|
984
|
-
|
|
985
|
-
/**
|
|
986
|
-
* Sets a timeout to reject the cleanup operation if the message sent to the worker
|
|
987
|
-
* does not receive a response. see worker.tryCleanup for worker cleanup operations.
|
|
988
|
-
* Here we use the workerTerminateTimeout as the worker will be terminated if the timeout does invoke.
|
|
989
|
-
*
|
|
990
|
-
* We need this timeout in either case of a Timeout or Cancellation Error as if
|
|
991
|
-
* the worker does not send a message we still need to give a window of time for a response.
|
|
992
|
-
*
|
|
993
|
-
* The workerTermniateTimeout is used here if this promise is rejected the worker cleanup
|
|
994
|
-
* operations will occure.
|
|
995
|
-
*/
|
|
996
|
-
me.tracking[id].timeoutId = setTimeout(function () {
|
|
997
|
-
me.tracking[id].resolver.reject(error);
|
|
998
|
-
}, me.workerTerminateTimeout);
|
|
999
|
-
return me.tracking[id].resolver.promise;
|
|
1000
|
-
} else {
|
|
1001
|
-
throw error;
|
|
1002
|
-
}
|
|
1003
|
-
});
|
|
1004
|
-
};
|
|
1005
|
-
|
|
1006
|
-
/**
|
|
1007
|
-
* Test whether the worker is processing any tasks or cleaning up before termination.
|
|
1008
|
-
* @return {boolean} Returns true if the worker is busy
|
|
1009
|
-
*/
|
|
1010
|
-
WorkerHandler$1.prototype.busy = function () {
|
|
1011
|
-
return this.cleaning || Object.keys(this.processing).length > 0;
|
|
1012
|
-
};
|
|
1013
|
-
|
|
1014
|
-
/**
|
|
1015
|
-
* Terminate the worker.
|
|
1016
|
-
* @param {boolean} [force=false] If false (default), the worker is terminated
|
|
1017
|
-
* after finishing all tasks currently in
|
|
1018
|
-
* progress. If true, the worker will be
|
|
1019
|
-
* terminated immediately.
|
|
1020
|
-
* @param {function} [callback=null] If provided, will be called when process terminates.
|
|
1021
|
-
*/
|
|
1022
|
-
WorkerHandler$1.prototype.terminate = function (force, callback) {
|
|
1023
|
-
var me = this;
|
|
1024
|
-
if (force) {
|
|
1025
|
-
// cancel all tasks in progress
|
|
1026
|
-
for (var id in this.processing) {
|
|
1027
|
-
if (this.processing[id] !== undefined) {
|
|
1028
|
-
this.processing[id].resolver.reject(new Error('Worker terminated'));
|
|
1029
|
-
}
|
|
1030
|
-
}
|
|
1031
|
-
this.processing = Object.create(null);
|
|
1032
|
-
}
|
|
1033
|
-
|
|
1034
|
-
// If we are terminating, cancel all tracked task for cleanup
|
|
1035
|
-
for (var _i = 0, _Object$values = Object.values(me.tracking); _i < _Object$values.length; _i++) {
|
|
1036
|
-
var task = _Object$values[_i];
|
|
1037
|
-
clearTimeout(task.timeoutId);
|
|
1038
|
-
task.resolver.reject(new Error('Worker Terminating'));
|
|
1039
|
-
}
|
|
1040
|
-
me.tracking = Object.create(null);
|
|
1041
|
-
if (typeof callback === 'function') {
|
|
1042
|
-
this.terminationHandler = callback;
|
|
1043
|
-
}
|
|
1044
|
-
if (!this.busy()) {
|
|
1045
|
-
// all tasks are finished. kill the worker
|
|
1046
|
-
var cleanup = function cleanup(err) {
|
|
1047
|
-
me.terminated = true;
|
|
1048
|
-
me.cleaning = false;
|
|
1049
|
-
if (me.worker != null && me.worker.removeAllListeners) {
|
|
1050
|
-
// removeAllListeners is only available for child_process
|
|
1051
|
-
me.worker.removeAllListeners('message');
|
|
1052
|
-
}
|
|
1053
|
-
me.worker = null;
|
|
1054
|
-
me.terminating = false;
|
|
1055
|
-
if (me.terminationHandler) {
|
|
1056
|
-
me.terminationHandler(err, me);
|
|
1057
|
-
} else if (err) {
|
|
1058
|
-
throw err;
|
|
1059
|
-
}
|
|
1060
|
-
};
|
|
1061
|
-
if (this.worker) {
|
|
1062
|
-
if (typeof this.worker.kill === 'function') {
|
|
1063
|
-
if (this.worker.killed) {
|
|
1064
|
-
cleanup(new Error('worker already killed!'));
|
|
1065
|
-
return;
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
|
-
// child process and worker threads
|
|
1069
|
-
var cleanExitTimeout = setTimeout(function () {
|
|
1070
|
-
if (me.worker) {
|
|
1071
|
-
me.worker.kill();
|
|
1072
|
-
}
|
|
1073
|
-
}, this.workerTerminateTimeout);
|
|
1074
|
-
this.worker.once('exit', function () {
|
|
1075
|
-
clearTimeout(cleanExitTimeout);
|
|
1076
|
-
if (me.worker) {
|
|
1077
|
-
me.worker.killed = true;
|
|
1078
|
-
}
|
|
1079
|
-
cleanup();
|
|
1080
|
-
});
|
|
1081
|
-
if (this.worker.ready) {
|
|
1082
|
-
this.worker.send(TERMINATE_METHOD_ID);
|
|
1083
|
-
} else {
|
|
1084
|
-
this.requestQueue.push({
|
|
1085
|
-
message: TERMINATE_METHOD_ID
|
|
1086
|
-
});
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
// mark that the worker is cleaning up resources
|
|
1090
|
-
// to prevent new tasks from being executed
|
|
1091
|
-
this.cleaning = true;
|
|
1092
|
-
return;
|
|
1093
|
-
} else if (typeof this.worker.terminate === 'function') {
|
|
1094
|
-
this.worker.terminate(); // web worker
|
|
1095
|
-
this.worker.killed = true;
|
|
1096
|
-
} else {
|
|
1097
|
-
throw new Error('Failed to terminate worker');
|
|
1098
|
-
}
|
|
1099
|
-
}
|
|
1100
|
-
cleanup();
|
|
1101
|
-
} else {
|
|
1102
|
-
// we can't terminate immediately, there are still tasks being executed
|
|
1103
|
-
this.terminating = true;
|
|
1104
|
-
}
|
|
1105
|
-
};
|
|
1106
|
-
|
|
1107
|
-
/**
|
|
1108
|
-
* Terminate the worker, returning a Promise that resolves when the termination has been done.
|
|
1109
|
-
* @param {boolean} [force=false] If false (default), the worker is terminated
|
|
1110
|
-
* after finishing all tasks currently in
|
|
1111
|
-
* progress. If true, the worker will be
|
|
1112
|
-
* terminated immediately.
|
|
1113
|
-
* @param {number} [timeout] If provided and non-zero, worker termination promise will be rejected
|
|
1114
|
-
* after timeout if worker process has not been terminated.
|
|
1115
|
-
* @return {Promise.<WorkerHandler, Error>}
|
|
1116
|
-
*/
|
|
1117
|
-
WorkerHandler$1.prototype.terminateAndNotify = function (force, timeout) {
|
|
1118
|
-
var resolver = Promise.defer();
|
|
1119
|
-
if (timeout) {
|
|
1120
|
-
resolver.promise.timeout(timeout);
|
|
1121
|
-
}
|
|
1122
|
-
this.terminate(force, function (err, worker) {
|
|
1123
|
-
if (err) {
|
|
1124
|
-
resolver.reject(err);
|
|
1125
|
-
} else {
|
|
1126
|
-
resolver.resolve(worker);
|
|
1127
|
-
}
|
|
1128
|
-
});
|
|
1129
|
-
return resolver.promise;
|
|
1130
|
-
};
|
|
1131
|
-
|
|
1132
|
-
/**
|
|
1133
|
-
* Wrapper error type to denote that a TimeoutError has already been proceesed
|
|
1134
|
-
* and we should skip cleanup operations
|
|
1135
|
-
* @param {Promise.TimeoutError} timeoutError
|
|
1136
|
-
*/
|
|
1137
|
-
function WrappedTimeoutError(timeoutError) {
|
|
1138
|
-
this.error = timeoutError;
|
|
1139
|
-
this.stack = new Error().stack;
|
|
1140
|
-
}
|
|
1141
|
-
WorkerHandler.exports = WorkerHandler$1;
|
|
1142
|
-
WorkerHandler.exports._tryRequireWorkerThreads = tryRequireWorkerThreads;
|
|
1143
|
-
WorkerHandler.exports._setupProcessWorker = setupProcessWorker;
|
|
1144
|
-
WorkerHandler.exports._setupBrowserWorker = setupBrowserWorker;
|
|
1145
|
-
WorkerHandler.exports._setupWorkerThreadWorker = setupWorkerThreadWorker;
|
|
1146
|
-
WorkerHandler.exports.ensureWorkerThreads = ensureWorkerThreads;
|
|
1147
|
-
return WorkerHandler.exports;
|
|
1148
|
-
}
|
|
1149
|
-
|
|
1150
|
-
var debugPortAllocator;
|
|
1151
|
-
var hasRequiredDebugPortAllocator;
|
|
1152
|
-
function requireDebugPortAllocator() {
|
|
1153
|
-
if (hasRequiredDebugPortAllocator) return debugPortAllocator;
|
|
1154
|
-
hasRequiredDebugPortAllocator = 1;
|
|
1155
|
-
var MAX_PORTS = 65535;
|
|
1156
|
-
debugPortAllocator = DebugPortAllocator;
|
|
1157
|
-
function DebugPortAllocator() {
|
|
1158
|
-
this.ports = Object.create(null);
|
|
1159
|
-
this.length = 0;
|
|
1160
|
-
}
|
|
1161
|
-
DebugPortAllocator.prototype.nextAvailableStartingAt = function (starting) {
|
|
1162
|
-
while (this.ports[starting] === true) {
|
|
1163
|
-
starting++;
|
|
1164
|
-
}
|
|
1165
|
-
if (starting >= MAX_PORTS) {
|
|
1166
|
-
throw new Error('WorkerPool debug port limit reached: ' + starting + '>= ' + MAX_PORTS);
|
|
1167
|
-
}
|
|
1168
|
-
this.ports[starting] = true;
|
|
1169
|
-
this.length++;
|
|
1170
|
-
return starting;
|
|
1171
|
-
};
|
|
1172
|
-
DebugPortAllocator.prototype.releasePort = function (port) {
|
|
1173
|
-
delete this.ports[port];
|
|
1174
|
-
this.length--;
|
|
1175
|
-
};
|
|
1176
|
-
return debugPortAllocator;
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
var Pool_1;
|
|
1180
|
-
var hasRequiredPool;
|
|
1181
|
-
function requirePool() {
|
|
1182
|
-
if (hasRequiredPool) return Pool_1;
|
|
1183
|
-
hasRequiredPool = 1;
|
|
1184
|
-
var _require$$ = require_Promise(),
|
|
1185
|
-
Promise = _require$$.Promise;
|
|
1186
|
-
var WorkerHandler = requireWorkerHandler();
|
|
1187
|
-
var environment = environmentExports;
|
|
1188
|
-
var DebugPortAllocator = requireDebugPortAllocator();
|
|
1189
|
-
var DEBUG_PORT_ALLOCATOR = new DebugPortAllocator();
|
|
1190
|
-
/**
|
|
1191
|
-
* A pool to manage workers, which can be created using the function workerpool.pool.
|
|
1192
|
-
*
|
|
1193
|
-
* @param {String} [script] Optional worker script
|
|
1194
|
-
* @param {import('./types.js').WorkerPoolOptions} [options] See docs
|
|
1195
|
-
* @constructor
|
|
1196
|
-
*/
|
|
1197
|
-
function Pool(script, options) {
|
|
1198
|
-
if (typeof script === 'string') {
|
|
1199
|
-
/** @readonly */
|
|
1200
|
-
this.script = script || null;
|
|
1201
|
-
} else {
|
|
1202
|
-
this.script = null;
|
|
1203
|
-
options = script;
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
/** @private */
|
|
1207
|
-
this.workers = []; // queue with all workers
|
|
1208
|
-
/** @private */
|
|
1209
|
-
this.tasks = []; // queue with tasks awaiting execution
|
|
1210
|
-
|
|
1211
|
-
options = options || {};
|
|
1212
|
-
|
|
1213
|
-
/** @readonly */
|
|
1214
|
-
this.forkArgs = Object.freeze(options.forkArgs || []);
|
|
1215
|
-
/** @readonly */
|
|
1216
|
-
this.forkOpts = Object.freeze(options.forkOpts || {});
|
|
1217
|
-
/** @readonly */
|
|
1218
|
-
this.workerOpts = Object.freeze(options.workerOpts || {});
|
|
1219
|
-
/** @readonly */
|
|
1220
|
-
this.workerThreadOpts = Object.freeze(options.workerThreadOpts || {});
|
|
1221
|
-
/** @private */
|
|
1222
|
-
this.debugPortStart = options.debugPortStart || 43210;
|
|
1223
|
-
/** @readonly @deprecated */
|
|
1224
|
-
this.nodeWorker = options.nodeWorker;
|
|
1225
|
-
/** @readonly
|
|
1226
|
-
* @type {'auto' | 'web' | 'process' | 'thread'}
|
|
1227
|
-
*/
|
|
1228
|
-
this.workerType = options.workerType || options.nodeWorker || 'auto';
|
|
1229
|
-
/** @readonly */
|
|
1230
|
-
this.maxQueueSize = options.maxQueueSize || Infinity;
|
|
1231
|
-
/** @readonly */
|
|
1232
|
-
this.workerTerminateTimeout = options.workerTerminateTimeout || 1000;
|
|
1233
|
-
|
|
1234
|
-
/** @readonly */
|
|
1235
|
-
this.onCreateWorker = options.onCreateWorker || function () {
|
|
1236
|
-
return null;
|
|
1237
|
-
};
|
|
1238
|
-
/** @readonly */
|
|
1239
|
-
this.onTerminateWorker = options.onTerminateWorker || function () {
|
|
1240
|
-
return null;
|
|
1241
|
-
};
|
|
1242
|
-
|
|
1243
|
-
/** @readonly */
|
|
1244
|
-
this.emitStdStreams = options.emitStdStreams || false;
|
|
1245
|
-
|
|
1246
|
-
// configuration
|
|
1247
|
-
if (options && 'maxWorkers' in options) {
|
|
1248
|
-
validateMaxWorkers(options.maxWorkers);
|
|
1249
|
-
/** @readonly */
|
|
1250
|
-
this.maxWorkers = options.maxWorkers;
|
|
1251
|
-
} else {
|
|
1252
|
-
this.maxWorkers = Math.max((environment.cpus || 4) - 1, 1);
|
|
1253
|
-
}
|
|
1254
|
-
if (options && 'minWorkers' in options) {
|
|
1255
|
-
if (options.minWorkers === 'max') {
|
|
1256
|
-
/** @readonly */
|
|
1257
|
-
this.minWorkers = this.maxWorkers;
|
|
1258
|
-
} else {
|
|
1259
|
-
validateMinWorkers(options.minWorkers);
|
|
1260
|
-
this.minWorkers = options.minWorkers;
|
|
1261
|
-
this.maxWorkers = Math.max(this.minWorkers, this.maxWorkers); // in case minWorkers is higher than maxWorkers
|
|
1262
|
-
}
|
|
1263
|
-
this._ensureMinWorkers();
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
/** @private */
|
|
1267
|
-
this._boundNext = this._next.bind(this);
|
|
1268
|
-
if (this.workerType === 'thread') {
|
|
1269
|
-
WorkerHandler.ensureWorkerThreads();
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* Execute a function on a worker.
|
|
1275
|
-
*
|
|
1276
|
-
* Example usage:
|
|
1277
|
-
*
|
|
1278
|
-
* var pool = new Pool()
|
|
1279
|
-
*
|
|
1280
|
-
* // call a function available on the worker
|
|
1281
|
-
* pool.exec('fibonacci', [6])
|
|
1282
|
-
*
|
|
1283
|
-
* // offload a function
|
|
1284
|
-
* function add(a, b) {
|
|
1285
|
-
* return a + b
|
|
1286
|
-
* };
|
|
1287
|
-
* pool.exec(add, [2, 4])
|
|
1288
|
-
* .then(function (result) {
|
|
1289
|
-
* console.log(result); // outputs 6
|
|
1290
|
-
* })
|
|
1291
|
-
* .catch(function(error) {
|
|
1292
|
-
* console.log(error);
|
|
1293
|
-
* });
|
|
1294
|
-
* @template { (...args: any[]) => any } T
|
|
1295
|
-
* @param {String | T} method Function name or function.
|
|
1296
|
-
* If `method` is a string, the corresponding
|
|
1297
|
-
* method on the worker will be executed
|
|
1298
|
-
* If `method` is a Function, the function
|
|
1299
|
-
* will be stringified and executed via the
|
|
1300
|
-
* workers built-in function `run(fn, args)`.
|
|
1301
|
-
* @param {Parameters<T> | null} [params] Function arguments applied when calling the function
|
|
1302
|
-
* @param {import('./types.js').ExecOptions} [options] Options
|
|
1303
|
-
* @return {Promise<ReturnType<T>>}
|
|
1304
|
-
*/
|
|
1305
|
-
Pool.prototype.exec = function (method, params, options) {
|
|
1306
|
-
// validate type of arguments
|
|
1307
|
-
if (params && !Array.isArray(params)) {
|
|
1308
|
-
throw new TypeError('Array expected as argument "params"');
|
|
1309
|
-
}
|
|
1310
|
-
if (typeof method === 'string') {
|
|
1311
|
-
var resolver = Promise.defer();
|
|
1312
|
-
if (this.tasks.length >= this.maxQueueSize) {
|
|
1313
|
-
throw new Error('Max queue size of ' + this.maxQueueSize + ' reached');
|
|
1314
|
-
}
|
|
1315
|
-
|
|
1316
|
-
// add a new task to the queue
|
|
1317
|
-
var tasks = this.tasks;
|
|
1318
|
-
var task = {
|
|
1319
|
-
method: method,
|
|
1320
|
-
params: params,
|
|
1321
|
-
resolver: resolver,
|
|
1322
|
-
timeout: null,
|
|
1323
|
-
options: options
|
|
1324
|
-
};
|
|
1325
|
-
tasks.push(task);
|
|
1326
|
-
|
|
1327
|
-
// replace the timeout method of the Promise with our own,
|
|
1328
|
-
// which starts the timer as soon as the task is actually started
|
|
1329
|
-
var originalTimeout = resolver.promise.timeout;
|
|
1330
|
-
resolver.promise.timeout = function timeout(delay) {
|
|
1331
|
-
if (tasks.indexOf(task) !== -1) {
|
|
1332
|
-
// task is still queued -> start the timer later on
|
|
1333
|
-
task.timeout = delay;
|
|
1334
|
-
return resolver.promise;
|
|
1335
|
-
} else {
|
|
1336
|
-
// task is already being executed -> start timer immediately
|
|
1337
|
-
return originalTimeout.call(resolver.promise, delay);
|
|
1338
|
-
}
|
|
1339
|
-
};
|
|
1340
|
-
|
|
1341
|
-
// trigger task execution
|
|
1342
|
-
this._next();
|
|
1343
|
-
return resolver.promise;
|
|
1344
|
-
} else if (typeof method === 'function') {
|
|
1345
|
-
// send stringified function and function arguments to worker
|
|
1346
|
-
return this.exec('run', [String(method), params], options);
|
|
1347
|
-
} else {
|
|
1348
|
-
throw new TypeError('Function or string expected as argument "method"');
|
|
1349
|
-
}
|
|
1350
|
-
};
|
|
1351
|
-
|
|
1352
|
-
/**
|
|
1353
|
-
* Create a proxy for current worker. Returns an object containing all
|
|
1354
|
-
* methods available on the worker. All methods return promises resolving the methods result.
|
|
1355
|
-
* @template { { [k: string]: (...args: any[]) => any } } T
|
|
1356
|
-
* @return {Promise<import('./types.js').Proxy<T>, Error>} Returns a promise which resolves with a proxy object
|
|
1357
|
-
*/
|
|
1358
|
-
Pool.prototype.proxy = function () {
|
|
1359
|
-
if (arguments.length > 0) {
|
|
1360
|
-
throw new Error('No arguments expected');
|
|
1361
|
-
}
|
|
1362
|
-
var pool = this;
|
|
1363
|
-
return this.exec('methods').then(function (methods) {
|
|
1364
|
-
var proxy = {};
|
|
1365
|
-
methods.forEach(function (method) {
|
|
1366
|
-
proxy[method] = function () {
|
|
1367
|
-
return pool.exec(method, Array.prototype.slice.call(arguments));
|
|
1368
|
-
};
|
|
1369
|
-
});
|
|
1370
|
-
return proxy;
|
|
1371
|
-
});
|
|
1372
|
-
};
|
|
1373
|
-
|
|
1374
|
-
/**
|
|
1375
|
-
* Creates new array with the results of calling a provided callback function
|
|
1376
|
-
* on every element in this array.
|
|
1377
|
-
* @param {Array} array
|
|
1378
|
-
* @param {function} callback Function taking two arguments:
|
|
1379
|
-
* `callback(currentValue, index)`
|
|
1380
|
-
* @return {Promise.<Array>} Returns a promise which resolves with an Array
|
|
1381
|
-
* containing the results of the callback function
|
|
1382
|
-
* executed for each of the array elements.
|
|
1383
|
-
*/
|
|
1384
|
-
/* TODO: implement map
|
|
1385
|
-
Pool.prototype.map = function (array, callback) {
|
|
1386
|
-
};
|
|
1387
|
-
*/
|
|
1388
|
-
|
|
1389
|
-
/**
|
|
1390
|
-
* Grab the first task from the queue, find a free worker, and assign the
|
|
1391
|
-
* worker to the task.
|
|
1392
|
-
* @private
|
|
1393
|
-
*/
|
|
1394
|
-
Pool.prototype._next = function () {
|
|
1395
|
-
if (this.tasks.length > 0) {
|
|
1396
|
-
// there are tasks in the queue
|
|
1397
|
-
|
|
1398
|
-
// find an available worker
|
|
1399
|
-
var worker = this._getWorker();
|
|
1400
|
-
if (worker) {
|
|
1401
|
-
// get the first task from the queue
|
|
1402
|
-
var me = this;
|
|
1403
|
-
var task = this.tasks.shift();
|
|
1404
|
-
|
|
1405
|
-
// check if the task is still pending (and not cancelled -> promise rejected)
|
|
1406
|
-
if (task.resolver.promise.pending) {
|
|
1407
|
-
// send the request to the worker
|
|
1408
|
-
var promise = worker.exec(task.method, task.params, task.resolver, task.options).then(me._boundNext).catch(function () {
|
|
1409
|
-
// if the worker crashed and terminated, remove it from the pool
|
|
1410
|
-
if (worker.terminated) {
|
|
1411
|
-
return me._removeWorker(worker);
|
|
1412
|
-
}
|
|
1413
|
-
}).then(function () {
|
|
1414
|
-
me._next(); // trigger next task in the queue
|
|
1415
|
-
});
|
|
1416
|
-
|
|
1417
|
-
// start queued timer now
|
|
1418
|
-
if (typeof task.timeout === 'number') {
|
|
1419
|
-
promise.timeout(task.timeout);
|
|
1420
|
-
}
|
|
1421
|
-
} else {
|
|
1422
|
-
// The task taken was already complete (either rejected or resolved), so just trigger next task in the queue
|
|
1423
|
-
me._next();
|
|
1424
|
-
}
|
|
1425
|
-
}
|
|
1426
|
-
}
|
|
1427
|
-
};
|
|
1428
|
-
|
|
1429
|
-
/**
|
|
1430
|
-
* Get an available worker. If no worker is available and the maximum number
|
|
1431
|
-
* of workers isn't yet reached, a new worker will be created and returned.
|
|
1432
|
-
* If no worker is available and the maximum number of workers is reached,
|
|
1433
|
-
* null will be returned.
|
|
1434
|
-
*
|
|
1435
|
-
* @return {WorkerHandler | null} worker
|
|
1436
|
-
* @private
|
|
1437
|
-
*/
|
|
1438
|
-
Pool.prototype._getWorker = function () {
|
|
1439
|
-
// find a non-busy worker
|
|
1440
|
-
var workers = this.workers;
|
|
1441
|
-
for (var i = 0; i < workers.length; i++) {
|
|
1442
|
-
var worker = workers[i];
|
|
1443
|
-
if (worker.busy() === false) {
|
|
1444
|
-
return worker;
|
|
1445
|
-
}
|
|
1446
|
-
}
|
|
1447
|
-
if (workers.length < this.maxWorkers) {
|
|
1448
|
-
// create a new worker
|
|
1449
|
-
worker = this._createWorkerHandler();
|
|
1450
|
-
workers.push(worker);
|
|
1451
|
-
return worker;
|
|
1452
|
-
}
|
|
1453
|
-
return null;
|
|
1454
|
-
};
|
|
1455
|
-
|
|
1456
|
-
/**
|
|
1457
|
-
* Remove a worker from the pool.
|
|
1458
|
-
* Attempts to terminate worker if not already terminated, and ensures the minimum
|
|
1459
|
-
* pool size is met.
|
|
1460
|
-
* @param {WorkerHandler} worker
|
|
1461
|
-
* @return {Promise<WorkerHandler>}
|
|
1462
|
-
* @private
|
|
1463
|
-
*/
|
|
1464
|
-
Pool.prototype._removeWorker = function (worker) {
|
|
1465
|
-
var me = this;
|
|
1466
|
-
DEBUG_PORT_ALLOCATOR.releasePort(worker.debugPort);
|
|
1467
|
-
// _removeWorker will call this, but we need it to be removed synchronously
|
|
1468
|
-
this._removeWorkerFromList(worker);
|
|
1469
|
-
// If minWorkers set, spin up new workers to replace the crashed ones
|
|
1470
|
-
this._ensureMinWorkers();
|
|
1471
|
-
// terminate the worker (if not already terminated)
|
|
1472
|
-
return new Promise(function (resolve, reject) {
|
|
1473
|
-
worker.terminate(false, function (err) {
|
|
1474
|
-
me.onTerminateWorker({
|
|
1475
|
-
forkArgs: worker.forkArgs,
|
|
1476
|
-
forkOpts: worker.forkOpts,
|
|
1477
|
-
workerThreadOpts: worker.workerThreadOpts,
|
|
1478
|
-
script: worker.script
|
|
1479
|
-
});
|
|
1480
|
-
if (err) {
|
|
1481
|
-
reject(err);
|
|
1482
|
-
} else {
|
|
1483
|
-
resolve(worker);
|
|
1484
|
-
}
|
|
1485
|
-
});
|
|
1486
|
-
});
|
|
1487
|
-
};
|
|
1488
|
-
|
|
1489
|
-
/**
|
|
1490
|
-
* Remove a worker from the pool list.
|
|
1491
|
-
* @param {WorkerHandler} worker
|
|
1492
|
-
* @private
|
|
1493
|
-
*/
|
|
1494
|
-
Pool.prototype._removeWorkerFromList = function (worker) {
|
|
1495
|
-
// remove from the list with workers
|
|
1496
|
-
var index = this.workers.indexOf(worker);
|
|
1497
|
-
if (index !== -1) {
|
|
1498
|
-
this.workers.splice(index, 1);
|
|
1499
|
-
}
|
|
1500
|
-
};
|
|
1501
|
-
|
|
1502
|
-
/**
|
|
1503
|
-
* Close all active workers. Tasks currently being executed will be finished first.
|
|
1504
|
-
* @param {boolean} [force=false] If false (default), the workers are terminated
|
|
1505
|
-
* after finishing all tasks currently in
|
|
1506
|
-
* progress. If true, the workers will be
|
|
1507
|
-
* terminated immediately.
|
|
1508
|
-
* @param {number} [timeout] If provided and non-zero, worker termination promise will be rejected
|
|
1509
|
-
* after timeout if worker process has not been terminated.
|
|
1510
|
-
* @return {Promise.<void, Error>}
|
|
1511
|
-
*/
|
|
1512
|
-
Pool.prototype.terminate = function (force, timeout) {
|
|
1513
|
-
var me = this;
|
|
1514
|
-
|
|
1515
|
-
// cancel any pending tasks
|
|
1516
|
-
this.tasks.forEach(function (task) {
|
|
1517
|
-
task.resolver.reject(new Error('Pool terminated'));
|
|
1518
|
-
});
|
|
1519
|
-
this.tasks.length = 0;
|
|
1520
|
-
var f = function f(worker) {
|
|
1521
|
-
DEBUG_PORT_ALLOCATOR.releasePort(worker.debugPort);
|
|
1522
|
-
this._removeWorkerFromList(worker);
|
|
1523
|
-
};
|
|
1524
|
-
var removeWorker = f.bind(this);
|
|
1525
|
-
var promises = [];
|
|
1526
|
-
var workers = this.workers.slice();
|
|
1527
|
-
workers.forEach(function (worker) {
|
|
1528
|
-
var termPromise = worker.terminateAndNotify(force, timeout).then(removeWorker).always(function () {
|
|
1529
|
-
me.onTerminateWorker({
|
|
1530
|
-
forkArgs: worker.forkArgs,
|
|
1531
|
-
forkOpts: worker.forkOpts,
|
|
1532
|
-
workerThreadOpts: worker.workerThreadOpts,
|
|
1533
|
-
script: worker.script
|
|
1534
|
-
});
|
|
1535
|
-
});
|
|
1536
|
-
promises.push(termPromise);
|
|
1537
|
-
});
|
|
1538
|
-
return Promise.all(promises);
|
|
1539
|
-
};
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
* Retrieve statistics on tasks and workers.
|
|
1543
|
-
* @return {{totalWorkers: number, busyWorkers: number, idleWorkers: number, pendingTasks: number, activeTasks: number}} Returns an object with statistics
|
|
1544
|
-
*/
|
|
1545
|
-
Pool.prototype.stats = function () {
|
|
1546
|
-
var totalWorkers = this.workers.length;
|
|
1547
|
-
var busyWorkers = this.workers.filter(function (worker) {
|
|
1548
|
-
return worker.busy();
|
|
1549
|
-
}).length;
|
|
1550
|
-
return {
|
|
1551
|
-
totalWorkers: totalWorkers,
|
|
1552
|
-
busyWorkers: busyWorkers,
|
|
1553
|
-
idleWorkers: totalWorkers - busyWorkers,
|
|
1554
|
-
pendingTasks: this.tasks.length,
|
|
1555
|
-
activeTasks: busyWorkers
|
|
1556
|
-
};
|
|
1557
|
-
};
|
|
1558
|
-
|
|
1559
|
-
/**
|
|
1560
|
-
* Ensures that a minimum of minWorkers is up and running
|
|
1561
|
-
* @private
|
|
1562
|
-
*/
|
|
1563
|
-
Pool.prototype._ensureMinWorkers = function () {
|
|
1564
|
-
if (this.minWorkers) {
|
|
1565
|
-
for (var i = this.workers.length; i < this.minWorkers; i++) {
|
|
1566
|
-
this.workers.push(this._createWorkerHandler());
|
|
1567
|
-
}
|
|
1568
|
-
}
|
|
1569
|
-
};
|
|
1570
|
-
|
|
1571
|
-
/**
|
|
1572
|
-
* Helper function to create a new WorkerHandler and pass all options.
|
|
1573
|
-
* @return {WorkerHandler}
|
|
1574
|
-
* @private
|
|
1575
|
-
*/
|
|
1576
|
-
Pool.prototype._createWorkerHandler = function () {
|
|
1577
|
-
var overriddenParams = this.onCreateWorker({
|
|
1578
|
-
forkArgs: this.forkArgs,
|
|
1579
|
-
forkOpts: this.forkOpts,
|
|
1580
|
-
workerOpts: this.workerOpts,
|
|
1581
|
-
workerThreadOpts: this.workerThreadOpts,
|
|
1582
|
-
script: this.script
|
|
1583
|
-
}) || {};
|
|
1584
|
-
return new WorkerHandler(overriddenParams.script || this.script, {
|
|
1585
|
-
forkArgs: overriddenParams.forkArgs || this.forkArgs,
|
|
1586
|
-
forkOpts: overriddenParams.forkOpts || this.forkOpts,
|
|
1587
|
-
workerOpts: overriddenParams.workerOpts || this.workerOpts,
|
|
1588
|
-
workerThreadOpts: overriddenParams.workerThreadOpts || this.workerThreadOpts,
|
|
1589
|
-
debugPort: DEBUG_PORT_ALLOCATOR.nextAvailableStartingAt(this.debugPortStart),
|
|
1590
|
-
workerType: this.workerType,
|
|
1591
|
-
workerTerminateTimeout: this.workerTerminateTimeout,
|
|
1592
|
-
emitStdStreams: this.emitStdStreams
|
|
1593
|
-
});
|
|
1594
|
-
};
|
|
1595
|
-
|
|
1596
|
-
/**
|
|
1597
|
-
* Ensure that the maxWorkers option is an integer >= 1
|
|
1598
|
-
* @param {*} maxWorkers
|
|
1599
|
-
* @returns {boolean} returns true maxWorkers has a valid value
|
|
1600
|
-
*/
|
|
1601
|
-
function validateMaxWorkers(maxWorkers) {
|
|
1602
|
-
if (!isNumber(maxWorkers) || !isInteger(maxWorkers) || maxWorkers < 1) {
|
|
1603
|
-
throw new TypeError('Option maxWorkers must be an integer number >= 1');
|
|
1604
|
-
}
|
|
1605
|
-
}
|
|
1606
|
-
|
|
1607
|
-
/**
|
|
1608
|
-
* Ensure that the minWorkers option is an integer >= 0
|
|
1609
|
-
* @param {*} minWorkers
|
|
1610
|
-
* @returns {boolean} returns true when minWorkers has a valid value
|
|
1611
|
-
*/
|
|
1612
|
-
function validateMinWorkers(minWorkers) {
|
|
1613
|
-
if (!isNumber(minWorkers) || !isInteger(minWorkers) || minWorkers < 0) {
|
|
1614
|
-
throw new TypeError('Option minWorkers must be an integer number >= 0');
|
|
1615
|
-
}
|
|
1616
|
-
}
|
|
1617
|
-
|
|
1618
|
-
/**
|
|
1619
|
-
* Test whether a variable is a number
|
|
1620
|
-
* @param {*} value
|
|
1621
|
-
* @returns {boolean} returns true when value is a number
|
|
1622
|
-
*/
|
|
1623
|
-
function isNumber(value) {
|
|
1624
|
-
return typeof value === 'number';
|
|
1625
|
-
}
|
|
1626
|
-
|
|
1627
|
-
/**
|
|
1628
|
-
* Test whether a number is an integer
|
|
1629
|
-
* @param {number} value
|
|
1630
|
-
* @returns {boolean} Returns true if value is an integer
|
|
1631
|
-
*/
|
|
1632
|
-
function isInteger(value) {
|
|
1633
|
-
return Math.round(value) == value;
|
|
1634
|
-
}
|
|
1635
|
-
Pool_1 = Pool;
|
|
1636
|
-
return Pool_1;
|
|
1637
|
-
}
|
|
1638
|
-
|
|
1639
|
-
var worker$1 = {};
|
|
1640
|
-
|
|
1641
|
-
/**
|
|
1642
|
-
* The helper class for transferring data from the worker to the main thread.
|
|
1643
|
-
*
|
|
1644
|
-
* @param {Object} message The object to deliver to the main thread.
|
|
1645
|
-
* @param {Object[]} transfer An array of transferable Objects to transfer ownership of.
|
|
1646
|
-
*/
|
|
1647
|
-
var transfer;
|
|
1648
|
-
var hasRequiredTransfer;
|
|
1649
|
-
function requireTransfer() {
|
|
1650
|
-
if (hasRequiredTransfer) return transfer;
|
|
1651
|
-
hasRequiredTransfer = 1;
|
|
1652
|
-
function Transfer(message, transfer) {
|
|
1653
|
-
this.message = message;
|
|
1654
|
-
this.transfer = transfer;
|
|
1655
|
-
}
|
|
1656
|
-
transfer = Transfer;
|
|
1657
|
-
return transfer;
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
var hasRequiredWorker;
|
|
1661
|
-
function requireWorker() {
|
|
1662
|
-
if (hasRequiredWorker) return worker$1;
|
|
1663
|
-
hasRequiredWorker = 1;
|
|
1664
|
-
(function (exports) {
|
|
1665
|
-
var Transfer = requireTransfer();
|
|
1666
|
-
|
|
1667
|
-
/**
|
|
1668
|
-
* worker must handle async cleanup handlers. Use custom Promise implementation.
|
|
1669
|
-
*/
|
|
1670
|
-
var Promise = require_Promise().Promise;
|
|
1671
|
-
/**
|
|
1672
|
-
* Special message sent by parent which causes the worker to terminate itself.
|
|
1673
|
-
* Not a "message object"; this string is the entire message.
|
|
1674
|
-
*/
|
|
1675
|
-
var TERMINATE_METHOD_ID = '__workerpool-terminate__';
|
|
1676
|
-
|
|
1677
|
-
/**
|
|
1678
|
-
* Special message by parent which causes a child process worker to perform cleaup
|
|
1679
|
-
* steps before determining if the child process worker should be terminated.
|
|
1680
|
-
*/
|
|
1681
|
-
var CLEANUP_METHOD_ID = '__workerpool-cleanup__';
|
|
1682
|
-
// var nodeOSPlatform = require('./environment').nodeOSPlatform;
|
|
1683
|
-
|
|
1684
|
-
var TIMEOUT_DEFAULT = 1000;
|
|
1685
|
-
|
|
1686
|
-
// create a worker API for sending and receiving messages which works both on
|
|
1687
|
-
// node.js and in the browser
|
|
1688
|
-
var worker = {
|
|
1689
|
-
exit: function exit() {}
|
|
1690
|
-
};
|
|
1691
|
-
|
|
1692
|
-
// api for in worker communication with parent process
|
|
1693
|
-
// works in both node.js and the browser
|
|
1694
|
-
var publicWorker = {
|
|
1695
|
-
/**
|
|
1696
|
-
* Registers listeners which will trigger when a task is timed out or cancled. If all listeners resolve, the worker executing the given task will not be terminated.
|
|
1697
|
-
* *Note*: If there is a blocking operation within a listener, the worker will be terminated.
|
|
1698
|
-
* @param {() => Promise<void>} listener
|
|
1699
|
-
*/
|
|
1700
|
-
addAbortListener: function addAbortListener(listener) {
|
|
1701
|
-
worker.abortListeners.push(listener);
|
|
1702
|
-
},
|
|
1703
|
-
/**
|
|
1704
|
-
* Emit an event from the worker thread to the main thread.
|
|
1705
|
-
* @param {any} payload
|
|
1706
|
-
*/
|
|
1707
|
-
emit: worker.emit
|
|
1708
|
-
};
|
|
1709
|
-
if (typeof self !== 'undefined' && typeof postMessage === 'function' && typeof addEventListener === 'function') {
|
|
1710
|
-
// worker in the browser
|
|
1711
|
-
worker.on = function (event, callback) {
|
|
1712
|
-
addEventListener(event, function (message) {
|
|
1713
|
-
callback(message.data);
|
|
1714
|
-
});
|
|
1715
|
-
};
|
|
1716
|
-
worker.send = function (message, transfer) {
|
|
1717
|
-
transfer ? postMessage(message, transfer) : postMessage(message);
|
|
1718
|
-
};
|
|
1719
|
-
} else if (typeof process !== 'undefined') {
|
|
1720
|
-
// node.js
|
|
1721
|
-
|
|
1722
|
-
var WorkerThreads;
|
|
1723
|
-
try {
|
|
1724
|
-
WorkerThreads = require('worker_threads');
|
|
1725
|
-
} catch (error) {
|
|
1726
|
-
if (_typeof(error) === 'object' && error !== null && error.code === 'MODULE_NOT_FOUND') ; else {
|
|
1727
|
-
throw error;
|
|
1728
|
-
}
|
|
1729
|
-
}
|
|
1730
|
-
if (WorkerThreads && /* if there is a parentPort, we are in a WorkerThread */
|
|
1731
|
-
WorkerThreads.parentPort !== null) {
|
|
1732
|
-
var parentPort = WorkerThreads.parentPort;
|
|
1733
|
-
worker.send = parentPort.postMessage.bind(parentPort);
|
|
1734
|
-
worker.on = parentPort.on.bind(parentPort);
|
|
1735
|
-
worker.exit = process.exit.bind(process);
|
|
1736
|
-
} else {
|
|
1737
|
-
worker.on = process.on.bind(process);
|
|
1738
|
-
// ignore transfer argument since it is not supported by process
|
|
1739
|
-
worker.send = function (message) {
|
|
1740
|
-
process.send(message);
|
|
1741
|
-
};
|
|
1742
|
-
// register disconnect handler only for subprocess worker to exit when parent is killed unexpectedly
|
|
1743
|
-
worker.on('disconnect', function () {
|
|
1744
|
-
process.exit(1);
|
|
1745
|
-
});
|
|
1746
|
-
worker.exit = process.exit.bind(process);
|
|
1747
|
-
}
|
|
1748
|
-
} else {
|
|
1749
|
-
throw new Error('Script must be executed as a worker');
|
|
1750
|
-
}
|
|
1751
|
-
function convertError(error) {
|
|
1752
|
-
if (error && error.toJSON) {
|
|
1753
|
-
return JSON.parse(JSON.stringify(error));
|
|
1754
|
-
}
|
|
1755
|
-
|
|
1756
|
-
// turn a class like Error (having non-enumerable properties) into a plain object
|
|
1757
|
-
return JSON.parse(JSON.stringify(error, Object.getOwnPropertyNames(error)));
|
|
1758
|
-
}
|
|
1759
|
-
|
|
1760
|
-
/**
|
|
1761
|
-
* Test whether a value is a Promise via duck typing.
|
|
1762
|
-
* @param {*} value
|
|
1763
|
-
* @returns {boolean} Returns true when given value is an object
|
|
1764
|
-
* having functions `then` and `catch`.
|
|
1765
|
-
*/
|
|
1766
|
-
function isPromise(value) {
|
|
1767
|
-
return value && typeof value.then === 'function' && typeof value.catch === 'function';
|
|
1768
|
-
}
|
|
1769
|
-
|
|
1770
|
-
// functions available externally
|
|
1771
|
-
worker.methods = {};
|
|
1772
|
-
|
|
1773
|
-
/**
|
|
1774
|
-
* Execute a function with provided arguments
|
|
1775
|
-
* @param {String} fn Stringified function
|
|
1776
|
-
* @param {Array} [args] Function arguments
|
|
1777
|
-
* @returns {*}
|
|
1778
|
-
*/
|
|
1779
|
-
worker.methods.run = function run(fn, args) {
|
|
1780
|
-
var f = new Function('return (' + fn + ').apply(this, arguments);');
|
|
1781
|
-
f.worker = publicWorker;
|
|
1782
|
-
return f.apply(f, args);
|
|
1783
|
-
};
|
|
1784
|
-
|
|
1785
|
-
/**
|
|
1786
|
-
* Get a list with methods available on this worker
|
|
1787
|
-
* @return {String[]} methods
|
|
1788
|
-
*/
|
|
1789
|
-
worker.methods.methods = function methods() {
|
|
1790
|
-
return Object.keys(worker.methods);
|
|
1791
|
-
};
|
|
1792
|
-
|
|
1793
|
-
/**
|
|
1794
|
-
* Custom handler for when the worker is terminated.
|
|
1795
|
-
*/
|
|
1796
|
-
worker.terminationHandler = undefined;
|
|
1797
|
-
worker.abortListenerTimeout = TIMEOUT_DEFAULT;
|
|
1798
|
-
|
|
1799
|
-
/**
|
|
1800
|
-
* Abort handlers for resolving errors which may cause a timeout or cancellation
|
|
1801
|
-
* to occur from a worker context
|
|
1802
|
-
*/
|
|
1803
|
-
worker.abortListeners = [];
|
|
1804
|
-
|
|
1805
|
-
/**
|
|
1806
|
-
* Cleanup and exit the worker.
|
|
1807
|
-
* @param {Number} code
|
|
1808
|
-
* @returns {Promise<void>}
|
|
1809
|
-
*/
|
|
1810
|
-
worker.terminateAndExit = function (code) {
|
|
1811
|
-
var _exit = function _exit() {
|
|
1812
|
-
worker.exit(code);
|
|
1813
|
-
};
|
|
1814
|
-
if (!worker.terminationHandler) {
|
|
1815
|
-
return _exit();
|
|
1816
|
-
}
|
|
1817
|
-
var result = worker.terminationHandler(code);
|
|
1818
|
-
if (isPromise(result)) {
|
|
1819
|
-
result.then(_exit, _exit);
|
|
1820
|
-
return result;
|
|
1821
|
-
} else {
|
|
1822
|
-
_exit();
|
|
1823
|
-
return new Promise(function (_resolve, reject) {
|
|
1824
|
-
reject(new Error("Worker terminating"));
|
|
1825
|
-
});
|
|
1826
|
-
}
|
|
1827
|
-
};
|
|
1828
|
-
|
|
1829
|
-
/**
|
|
1830
|
-
* Called within the worker message handler to run abort handlers if registered to perform cleanup operations.
|
|
1831
|
-
* @param {Integer} [requestId] id of task which is currently executing in the worker
|
|
1832
|
-
* @return {Promise<void>}
|
|
1833
|
-
*/
|
|
1834
|
-
worker.cleanup = function (requestId) {
|
|
1835
|
-
if (!worker.abortListeners.length) {
|
|
1836
|
-
worker.send({
|
|
1837
|
-
id: requestId,
|
|
1838
|
-
method: CLEANUP_METHOD_ID,
|
|
1839
|
-
error: convertError(new Error('Worker terminating'))
|
|
1840
|
-
});
|
|
1841
|
-
|
|
1842
|
-
// If there are no handlers registered, reject the promise with an error as we want the handler to be notified
|
|
1843
|
-
// that cleanup should begin and the handler should be GCed.
|
|
1844
|
-
return new Promise(function (resolve) {
|
|
1845
|
-
resolve();
|
|
1846
|
-
});
|
|
1847
|
-
}
|
|
1848
|
-
var _exit = function _exit() {
|
|
1849
|
-
worker.exit();
|
|
1850
|
-
};
|
|
1851
|
-
var _abort = function _abort() {
|
|
1852
|
-
if (!worker.abortListeners.length) {
|
|
1853
|
-
worker.abortListeners = [];
|
|
1854
|
-
}
|
|
1855
|
-
};
|
|
1856
|
-
var promises = worker.abortListeners.map(function (listener) {
|
|
1857
|
-
return listener();
|
|
1858
|
-
});
|
|
1859
|
-
var timerId;
|
|
1860
|
-
var timeoutPromise = new Promise(function (_resolve, reject) {
|
|
1861
|
-
timerId = setTimeout(function () {
|
|
1862
|
-
reject(new Error('Timeout occured waiting for abort handler, killing worker'));
|
|
1863
|
-
}, worker.abortListenerTimeout);
|
|
1864
|
-
});
|
|
1865
|
-
|
|
1866
|
-
// Once a promise settles we need to clear the timeout to prevet fulfulling the promise twice
|
|
1867
|
-
var settlePromise = Promise.all(promises).then(function () {
|
|
1868
|
-
clearTimeout(timerId);
|
|
1869
|
-
_abort();
|
|
1870
|
-
}, function () {
|
|
1871
|
-
clearTimeout(timerId);
|
|
1872
|
-
_exit();
|
|
1873
|
-
});
|
|
1874
|
-
|
|
1875
|
-
// Returns a promise which will result in one of the following cases
|
|
1876
|
-
// - Resolve once all handlers resolve
|
|
1877
|
-
// - Reject if one or more handlers exceed the 'abortListenerTimeout' interval
|
|
1878
|
-
// - Reject if one or more handlers reject
|
|
1879
|
-
// Upon one of the above cases a message will be sent to the handler with the result of the handler execution
|
|
1880
|
-
// which will either kill the worker if the result contains an error, or keep it in the pool if the result
|
|
1881
|
-
// does not contain an error.
|
|
1882
|
-
return new Promise(function (resolve, reject) {
|
|
1883
|
-
settlePromise.then(resolve, reject);
|
|
1884
|
-
timeoutPromise.then(resolve, reject);
|
|
1885
|
-
}).then(function () {
|
|
1886
|
-
worker.send({
|
|
1887
|
-
id: requestId,
|
|
1888
|
-
method: CLEANUP_METHOD_ID,
|
|
1889
|
-
error: null
|
|
1890
|
-
});
|
|
1891
|
-
}, function (err) {
|
|
1892
|
-
worker.send({
|
|
1893
|
-
id: requestId,
|
|
1894
|
-
method: CLEANUP_METHOD_ID,
|
|
1895
|
-
error: err ? convertError(err) : null
|
|
1896
|
-
});
|
|
1897
|
-
});
|
|
1898
|
-
};
|
|
1899
|
-
var currentRequestId = null;
|
|
1900
|
-
worker.on('message', function (request) {
|
|
1901
|
-
if (request === TERMINATE_METHOD_ID) {
|
|
1902
|
-
return worker.terminateAndExit(0);
|
|
1903
|
-
}
|
|
1904
|
-
if (request.method === CLEANUP_METHOD_ID) {
|
|
1905
|
-
return worker.cleanup(request.id);
|
|
1906
|
-
}
|
|
1907
|
-
try {
|
|
1908
|
-
var method = worker.methods[request.method];
|
|
1909
|
-
if (method) {
|
|
1910
|
-
currentRequestId = request.id;
|
|
1911
|
-
|
|
1912
|
-
// execute the function
|
|
1913
|
-
var result = method.apply(method, request.params);
|
|
1914
|
-
if (isPromise(result)) {
|
|
1915
|
-
// promise returned, resolve this and then return
|
|
1916
|
-
result.then(function (result) {
|
|
1917
|
-
if (result instanceof Transfer) {
|
|
1918
|
-
worker.send({
|
|
1919
|
-
id: request.id,
|
|
1920
|
-
result: result.message,
|
|
1921
|
-
error: null
|
|
1922
|
-
}, result.transfer);
|
|
1923
|
-
} else {
|
|
1924
|
-
worker.send({
|
|
1925
|
-
id: request.id,
|
|
1926
|
-
result: result,
|
|
1927
|
-
error: null
|
|
1928
|
-
});
|
|
1929
|
-
}
|
|
1930
|
-
currentRequestId = null;
|
|
1931
|
-
}).catch(function (err) {
|
|
1932
|
-
worker.send({
|
|
1933
|
-
id: request.id,
|
|
1934
|
-
result: null,
|
|
1935
|
-
error: convertError(err)
|
|
1936
|
-
});
|
|
1937
|
-
currentRequestId = null;
|
|
1938
|
-
});
|
|
1939
|
-
} else {
|
|
1940
|
-
// immediate result
|
|
1941
|
-
if (result instanceof Transfer) {
|
|
1942
|
-
worker.send({
|
|
1943
|
-
id: request.id,
|
|
1944
|
-
result: result.message,
|
|
1945
|
-
error: null
|
|
1946
|
-
}, result.transfer);
|
|
1947
|
-
} else {
|
|
1948
|
-
worker.send({
|
|
1949
|
-
id: request.id,
|
|
1950
|
-
result: result,
|
|
1951
|
-
error: null
|
|
1952
|
-
});
|
|
1953
|
-
}
|
|
1954
|
-
currentRequestId = null;
|
|
1955
|
-
}
|
|
1956
|
-
} else {
|
|
1957
|
-
throw new Error('Unknown method "' + request.method + '"');
|
|
1958
|
-
}
|
|
1959
|
-
} catch (err) {
|
|
1960
|
-
worker.send({
|
|
1961
|
-
id: request.id,
|
|
1962
|
-
result: null,
|
|
1963
|
-
error: convertError(err)
|
|
1964
|
-
});
|
|
1965
|
-
}
|
|
1966
|
-
});
|
|
1967
|
-
|
|
1968
|
-
/**
|
|
1969
|
-
* Register methods to the worker
|
|
1970
|
-
* @param {Object} [methods]
|
|
1971
|
-
* @param {import('./types.js').WorkerRegisterOptions} [options]
|
|
1972
|
-
*/
|
|
1973
|
-
worker.register = function (methods, options) {
|
|
1974
|
-
if (methods) {
|
|
1975
|
-
for (var name in methods) {
|
|
1976
|
-
if (methods.hasOwnProperty(name)) {
|
|
1977
|
-
worker.methods[name] = methods[name];
|
|
1978
|
-
worker.methods[name].worker = publicWorker;
|
|
1979
|
-
}
|
|
1980
|
-
}
|
|
1981
|
-
}
|
|
1982
|
-
if (options) {
|
|
1983
|
-
worker.terminationHandler = options.onTerminate;
|
|
1984
|
-
// register listener timeout or default to 1 second
|
|
1985
|
-
worker.abortListenerTimeout = options.abortListenerTimeout || TIMEOUT_DEFAULT;
|
|
1986
|
-
}
|
|
1987
|
-
worker.send('ready');
|
|
1988
|
-
};
|
|
1989
|
-
worker.emit = function (payload) {
|
|
1990
|
-
if (currentRequestId) {
|
|
1991
|
-
if (payload instanceof Transfer) {
|
|
1992
|
-
worker.send({
|
|
1993
|
-
id: currentRequestId,
|
|
1994
|
-
isEvent: true,
|
|
1995
|
-
payload: payload.message
|
|
1996
|
-
}, payload.transfer);
|
|
1997
|
-
return;
|
|
1998
|
-
}
|
|
1999
|
-
worker.send({
|
|
2000
|
-
id: currentRequestId,
|
|
2001
|
-
isEvent: true,
|
|
2002
|
-
payload: payload
|
|
2003
|
-
});
|
|
2004
|
-
}
|
|
2005
|
-
};
|
|
2006
|
-
{
|
|
2007
|
-
exports.add = worker.register;
|
|
2008
|
-
exports.emit = worker.emit;
|
|
2009
|
-
}
|
|
2010
|
-
})(worker$1);
|
|
2011
|
-
return worker$1;
|
|
2012
|
-
}
|
|
2013
|
-
|
|
2014
|
-
var platform = environmentExports.platform,
|
|
2015
|
-
isMainThread = environmentExports.isMainThread,
|
|
2016
|
-
cpus = environmentExports.cpus;
|
|
2017
|
-
|
|
2018
|
-
/** @typedef {import("./Pool")} Pool */
|
|
2019
|
-
/** @typedef {import("./types.js").WorkerPoolOptions} WorkerPoolOptions */
|
|
2020
|
-
/** @typedef {import("./types.js").WorkerRegisterOptions} WorkerRegisterOptions */
|
|
2021
|
-
|
|
2022
|
-
/**
|
|
2023
|
-
* @template { { [k: string]: (...args: any[]) => any } } T
|
|
2024
|
-
* @typedef {import('./types.js').Proxy<T>} Proxy<T>
|
|
2025
|
-
*/
|
|
2026
|
-
|
|
2027
|
-
/**
|
|
2028
|
-
* @overload
|
|
2029
|
-
* Create a new worker pool
|
|
2030
|
-
* @param {WorkerPoolOptions} [script]
|
|
2031
|
-
* @returns {Pool} pool
|
|
2032
|
-
*/
|
|
2033
|
-
/**
|
|
2034
|
-
* @overload
|
|
2035
|
-
* Create a new worker pool
|
|
2036
|
-
* @param {string} [script]
|
|
2037
|
-
* @param {WorkerPoolOptions} [options]
|
|
2038
|
-
* @returns {Pool} pool
|
|
2039
|
-
*/
|
|
2040
|
-
function pool(script, options) {
|
|
2041
|
-
var Pool = requirePool();
|
|
2042
|
-
return new Pool(script, options);
|
|
2043
|
-
}
|
|
2044
|
-
var pool_1 = src.pool = pool;
|
|
2045
|
-
|
|
2046
|
-
/**
|
|
2047
|
-
* Create a worker and optionally register a set of methods to the worker.
|
|
2048
|
-
* @param {{ [k: string]: (...args: any[]) => any }} [methods]
|
|
2049
|
-
* @param {WorkerRegisterOptions} [options]
|
|
2050
|
-
*/
|
|
2051
|
-
function worker(methods, options) {
|
|
2052
|
-
var worker = requireWorker();
|
|
2053
|
-
worker.add(methods, options);
|
|
2054
|
-
}
|
|
2055
|
-
var worker_1 = src.worker = worker;
|
|
2056
|
-
|
|
2057
|
-
/**
|
|
2058
|
-
* Sends an event to the parent worker pool.
|
|
2059
|
-
* @param {any} payload
|
|
2060
|
-
*/
|
|
2061
|
-
function workerEmit(payload) {
|
|
2062
|
-
var worker = requireWorker();
|
|
2063
|
-
worker.emit(payload);
|
|
2064
|
-
}
|
|
2065
|
-
var workerEmit_1 = src.workerEmit = workerEmit;
|
|
2066
|
-
var _require$$ = require_Promise(),
|
|
2067
|
-
Promise$1 = _require$$.Promise;
|
|
2068
|
-
var _Promise = src.Promise = Promise$1;
|
|
2069
|
-
var Transfer = src.Transfer = requireTransfer();
|
|
2070
|
-
var platform_1 = src.platform = platform;
|
|
2071
|
-
var isMainThread_1 = src.isMainThread = isMainThread;
|
|
2072
|
-
var cpus_1 = src.cpus = cpus;
|
|
2073
|
-
|
|
2074
|
-
exports.Promise = _Promise;
|
|
2075
|
-
exports.Transfer = Transfer;
|
|
2076
|
-
exports.cpus = cpus_1;
|
|
2077
|
-
exports.default = src;
|
|
2078
|
-
exports.isMainThread = isMainThread_1;
|
|
2079
|
-
exports.platform = platform_1;
|
|
2080
|
-
exports.pool = pool_1;
|
|
2081
|
-
exports.worker = worker_1;
|
|
2082
|
-
exports.workerEmit = workerEmit_1;
|
|
2083
|
-
|
|
2084
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
2085
|
-
|
|
2086
|
-
}));
|
|
2087
|
-
//# sourceMappingURL=workerpool.js.map
|