agentic-flow 2.0.1-alpha → 2.0.1-alpha.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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,2106 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
|
|
3
|
-
diff v7.0.0
|
|
4
|
-
|
|
5
|
-
BSD 3-Clause License
|
|
6
|
-
|
|
7
|
-
Copyright (c) 2009-2015, Kevin Decker <kpdecker@gmail.com>
|
|
8
|
-
All rights reserved.
|
|
9
|
-
|
|
10
|
-
Redistribution and use in source and binary forms, with or without
|
|
11
|
-
modification, are permitted provided that the following conditions are met:
|
|
12
|
-
|
|
13
|
-
1. Redistributions of source code must retain the above copyright notice, this
|
|
14
|
-
list of conditions and the following disclaimer.
|
|
15
|
-
|
|
16
|
-
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
17
|
-
this list of conditions and the following disclaimer in the documentation
|
|
18
|
-
and/or other materials provided with the distribution.
|
|
19
|
-
|
|
20
|
-
3. Neither the name of the copyright holder nor the names of its
|
|
21
|
-
contributors may be used to endorse or promote products derived from
|
|
22
|
-
this software without specific prior written permission.
|
|
23
|
-
|
|
24
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
25
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
26
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
27
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
28
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
29
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
30
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
31
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
32
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
33
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
34
|
-
|
|
35
|
-
@license
|
|
36
|
-
*/
|
|
37
|
-
(function (global, factory) {
|
|
38
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
39
|
-
typeof define === 'function' && define.amd ? define(['exports'], factory) :
|
|
40
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Diff = {}));
|
|
41
|
-
})(this, (function (exports) { 'use strict';
|
|
42
|
-
|
|
43
|
-
function Diff() {}
|
|
44
|
-
Diff.prototype = {
|
|
45
|
-
diff: function diff(oldString, newString) {
|
|
46
|
-
var _options$timeout;
|
|
47
|
-
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
48
|
-
var callback = options.callback;
|
|
49
|
-
if (typeof options === 'function') {
|
|
50
|
-
callback = options;
|
|
51
|
-
options = {};
|
|
52
|
-
}
|
|
53
|
-
var self = this;
|
|
54
|
-
function done(value) {
|
|
55
|
-
value = self.postProcess(value, options);
|
|
56
|
-
if (callback) {
|
|
57
|
-
setTimeout(function () {
|
|
58
|
-
callback(value);
|
|
59
|
-
}, 0);
|
|
60
|
-
return true;
|
|
61
|
-
} else {
|
|
62
|
-
return value;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
// Allow subclasses to massage the input prior to running
|
|
67
|
-
oldString = this.castInput(oldString, options);
|
|
68
|
-
newString = this.castInput(newString, options);
|
|
69
|
-
oldString = this.removeEmpty(this.tokenize(oldString, options));
|
|
70
|
-
newString = this.removeEmpty(this.tokenize(newString, options));
|
|
71
|
-
var newLen = newString.length,
|
|
72
|
-
oldLen = oldString.length;
|
|
73
|
-
var editLength = 1;
|
|
74
|
-
var maxEditLength = newLen + oldLen;
|
|
75
|
-
if (options.maxEditLength != null) {
|
|
76
|
-
maxEditLength = Math.min(maxEditLength, options.maxEditLength);
|
|
77
|
-
}
|
|
78
|
-
var maxExecutionTime = (_options$timeout = options.timeout) !== null && _options$timeout !== void 0 ? _options$timeout : Infinity;
|
|
79
|
-
var abortAfterTimestamp = Date.now() + maxExecutionTime;
|
|
80
|
-
var bestPath = [{
|
|
81
|
-
oldPos: -1,
|
|
82
|
-
lastComponent: undefined
|
|
83
|
-
}];
|
|
84
|
-
|
|
85
|
-
// Seed editLength = 0, i.e. the content starts with the same values
|
|
86
|
-
var newPos = this.extractCommon(bestPath[0], newString, oldString, 0, options);
|
|
87
|
-
if (bestPath[0].oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
|
|
88
|
-
// Identity per the equality and tokenizer
|
|
89
|
-
return done(buildValues(self, bestPath[0].lastComponent, newString, oldString, self.useLongestToken));
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
// Once we hit the right edge of the edit graph on some diagonal k, we can
|
|
93
|
-
// definitely reach the end of the edit graph in no more than k edits, so
|
|
94
|
-
// there's no point in considering any moves to diagonal k+1 any more (from
|
|
95
|
-
// which we're guaranteed to need at least k+1 more edits).
|
|
96
|
-
// Similarly, once we've reached the bottom of the edit graph, there's no
|
|
97
|
-
// point considering moves to lower diagonals.
|
|
98
|
-
// We record this fact by setting minDiagonalToConsider and
|
|
99
|
-
// maxDiagonalToConsider to some finite value once we've hit the edge of
|
|
100
|
-
// the edit graph.
|
|
101
|
-
// This optimization is not faithful to the original algorithm presented in
|
|
102
|
-
// Myers's paper, which instead pointlessly extends D-paths off the end of
|
|
103
|
-
// the edit graph - see page 7 of Myers's paper which notes this point
|
|
104
|
-
// explicitly and illustrates it with a diagram. This has major performance
|
|
105
|
-
// implications for some common scenarios. For instance, to compute a diff
|
|
106
|
-
// where the new text simply appends d characters on the end of the
|
|
107
|
-
// original text of length n, the true Myers algorithm will take O(n+d^2)
|
|
108
|
-
// time while this optimization needs only O(n+d) time.
|
|
109
|
-
var minDiagonalToConsider = -Infinity,
|
|
110
|
-
maxDiagonalToConsider = Infinity;
|
|
111
|
-
|
|
112
|
-
// Main worker method. checks all permutations of a given edit length for acceptance.
|
|
113
|
-
function execEditLength() {
|
|
114
|
-
for (var diagonalPath = Math.max(minDiagonalToConsider, -editLength); diagonalPath <= Math.min(maxDiagonalToConsider, editLength); diagonalPath += 2) {
|
|
115
|
-
var basePath = void 0;
|
|
116
|
-
var removePath = bestPath[diagonalPath - 1],
|
|
117
|
-
addPath = bestPath[diagonalPath + 1];
|
|
118
|
-
if (removePath) {
|
|
119
|
-
// No one else is going to attempt to use this value, clear it
|
|
120
|
-
bestPath[diagonalPath - 1] = undefined;
|
|
121
|
-
}
|
|
122
|
-
var canAdd = false;
|
|
123
|
-
if (addPath) {
|
|
124
|
-
// what newPos will be after we do an insertion:
|
|
125
|
-
var addPathNewPos = addPath.oldPos - diagonalPath;
|
|
126
|
-
canAdd = addPath && 0 <= addPathNewPos && addPathNewPos < newLen;
|
|
127
|
-
}
|
|
128
|
-
var canRemove = removePath && removePath.oldPos + 1 < oldLen;
|
|
129
|
-
if (!canAdd && !canRemove) {
|
|
130
|
-
// If this path is a terminal then prune
|
|
131
|
-
bestPath[diagonalPath] = undefined;
|
|
132
|
-
continue;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
// Select the diagonal that we want to branch from. We select the prior
|
|
136
|
-
// path whose position in the old string is the farthest from the origin
|
|
137
|
-
// and does not pass the bounds of the diff graph
|
|
138
|
-
if (!canRemove || canAdd && removePath.oldPos < addPath.oldPos) {
|
|
139
|
-
basePath = self.addToPath(addPath, true, false, 0, options);
|
|
140
|
-
} else {
|
|
141
|
-
basePath = self.addToPath(removePath, false, true, 1, options);
|
|
142
|
-
}
|
|
143
|
-
newPos = self.extractCommon(basePath, newString, oldString, diagonalPath, options);
|
|
144
|
-
if (basePath.oldPos + 1 >= oldLen && newPos + 1 >= newLen) {
|
|
145
|
-
// If we have hit the end of both strings, then we are done
|
|
146
|
-
return done(buildValues(self, basePath.lastComponent, newString, oldString, self.useLongestToken));
|
|
147
|
-
} else {
|
|
148
|
-
bestPath[diagonalPath] = basePath;
|
|
149
|
-
if (basePath.oldPos + 1 >= oldLen) {
|
|
150
|
-
maxDiagonalToConsider = Math.min(maxDiagonalToConsider, diagonalPath - 1);
|
|
151
|
-
}
|
|
152
|
-
if (newPos + 1 >= newLen) {
|
|
153
|
-
minDiagonalToConsider = Math.max(minDiagonalToConsider, diagonalPath + 1);
|
|
154
|
-
}
|
|
155
|
-
}
|
|
156
|
-
}
|
|
157
|
-
editLength++;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
|
-
// Performs the length of edit iteration. Is a bit fugly as this has to support the
|
|
161
|
-
// sync and async mode which is never fun. Loops over execEditLength until a value
|
|
162
|
-
// is produced, or until the edit length exceeds options.maxEditLength (if given),
|
|
163
|
-
// in which case it will return undefined.
|
|
164
|
-
if (callback) {
|
|
165
|
-
(function exec() {
|
|
166
|
-
setTimeout(function () {
|
|
167
|
-
if (editLength > maxEditLength || Date.now() > abortAfterTimestamp) {
|
|
168
|
-
return callback();
|
|
169
|
-
}
|
|
170
|
-
if (!execEditLength()) {
|
|
171
|
-
exec();
|
|
172
|
-
}
|
|
173
|
-
}, 0);
|
|
174
|
-
})();
|
|
175
|
-
} else {
|
|
176
|
-
while (editLength <= maxEditLength && Date.now() <= abortAfterTimestamp) {
|
|
177
|
-
var ret = execEditLength();
|
|
178
|
-
if (ret) {
|
|
179
|
-
return ret;
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
|
-
}
|
|
183
|
-
},
|
|
184
|
-
addToPath: function addToPath(path, added, removed, oldPosInc, options) {
|
|
185
|
-
var last = path.lastComponent;
|
|
186
|
-
if (last && !options.oneChangePerToken && last.added === added && last.removed === removed) {
|
|
187
|
-
return {
|
|
188
|
-
oldPos: path.oldPos + oldPosInc,
|
|
189
|
-
lastComponent: {
|
|
190
|
-
count: last.count + 1,
|
|
191
|
-
added: added,
|
|
192
|
-
removed: removed,
|
|
193
|
-
previousComponent: last.previousComponent
|
|
194
|
-
}
|
|
195
|
-
};
|
|
196
|
-
} else {
|
|
197
|
-
return {
|
|
198
|
-
oldPos: path.oldPos + oldPosInc,
|
|
199
|
-
lastComponent: {
|
|
200
|
-
count: 1,
|
|
201
|
-
added: added,
|
|
202
|
-
removed: removed,
|
|
203
|
-
previousComponent: last
|
|
204
|
-
}
|
|
205
|
-
};
|
|
206
|
-
}
|
|
207
|
-
},
|
|
208
|
-
extractCommon: function extractCommon(basePath, newString, oldString, diagonalPath, options) {
|
|
209
|
-
var newLen = newString.length,
|
|
210
|
-
oldLen = oldString.length,
|
|
211
|
-
oldPos = basePath.oldPos,
|
|
212
|
-
newPos = oldPos - diagonalPath,
|
|
213
|
-
commonCount = 0;
|
|
214
|
-
while (newPos + 1 < newLen && oldPos + 1 < oldLen && this.equals(oldString[oldPos + 1], newString[newPos + 1], options)) {
|
|
215
|
-
newPos++;
|
|
216
|
-
oldPos++;
|
|
217
|
-
commonCount++;
|
|
218
|
-
if (options.oneChangePerToken) {
|
|
219
|
-
basePath.lastComponent = {
|
|
220
|
-
count: 1,
|
|
221
|
-
previousComponent: basePath.lastComponent,
|
|
222
|
-
added: false,
|
|
223
|
-
removed: false
|
|
224
|
-
};
|
|
225
|
-
}
|
|
226
|
-
}
|
|
227
|
-
if (commonCount && !options.oneChangePerToken) {
|
|
228
|
-
basePath.lastComponent = {
|
|
229
|
-
count: commonCount,
|
|
230
|
-
previousComponent: basePath.lastComponent,
|
|
231
|
-
added: false,
|
|
232
|
-
removed: false
|
|
233
|
-
};
|
|
234
|
-
}
|
|
235
|
-
basePath.oldPos = oldPos;
|
|
236
|
-
return newPos;
|
|
237
|
-
},
|
|
238
|
-
equals: function equals(left, right, options) {
|
|
239
|
-
if (options.comparator) {
|
|
240
|
-
return options.comparator(left, right);
|
|
241
|
-
} else {
|
|
242
|
-
return left === right || options.ignoreCase && left.toLowerCase() === right.toLowerCase();
|
|
243
|
-
}
|
|
244
|
-
},
|
|
245
|
-
removeEmpty: function removeEmpty(array) {
|
|
246
|
-
var ret = [];
|
|
247
|
-
for (var i = 0; i < array.length; i++) {
|
|
248
|
-
if (array[i]) {
|
|
249
|
-
ret.push(array[i]);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
return ret;
|
|
253
|
-
},
|
|
254
|
-
castInput: function castInput(value) {
|
|
255
|
-
return value;
|
|
256
|
-
},
|
|
257
|
-
tokenize: function tokenize(value) {
|
|
258
|
-
return Array.from(value);
|
|
259
|
-
},
|
|
260
|
-
join: function join(chars) {
|
|
261
|
-
return chars.join('');
|
|
262
|
-
},
|
|
263
|
-
postProcess: function postProcess(changeObjects) {
|
|
264
|
-
return changeObjects;
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
|
-
function buildValues(diff, lastComponent, newString, oldString, useLongestToken) {
|
|
268
|
-
// First we convert our linked list of components in reverse order to an
|
|
269
|
-
// array in the right order:
|
|
270
|
-
var components = [];
|
|
271
|
-
var nextComponent;
|
|
272
|
-
while (lastComponent) {
|
|
273
|
-
components.push(lastComponent);
|
|
274
|
-
nextComponent = lastComponent.previousComponent;
|
|
275
|
-
delete lastComponent.previousComponent;
|
|
276
|
-
lastComponent = nextComponent;
|
|
277
|
-
}
|
|
278
|
-
components.reverse();
|
|
279
|
-
var componentPos = 0,
|
|
280
|
-
componentLen = components.length,
|
|
281
|
-
newPos = 0,
|
|
282
|
-
oldPos = 0;
|
|
283
|
-
for (; componentPos < componentLen; componentPos++) {
|
|
284
|
-
var component = components[componentPos];
|
|
285
|
-
if (!component.removed) {
|
|
286
|
-
if (!component.added && useLongestToken) {
|
|
287
|
-
var value = newString.slice(newPos, newPos + component.count);
|
|
288
|
-
value = value.map(function (value, i) {
|
|
289
|
-
var oldValue = oldString[oldPos + i];
|
|
290
|
-
return oldValue.length > value.length ? oldValue : value;
|
|
291
|
-
});
|
|
292
|
-
component.value = diff.join(value);
|
|
293
|
-
} else {
|
|
294
|
-
component.value = diff.join(newString.slice(newPos, newPos + component.count));
|
|
295
|
-
}
|
|
296
|
-
newPos += component.count;
|
|
297
|
-
|
|
298
|
-
// Common case
|
|
299
|
-
if (!component.added) {
|
|
300
|
-
oldPos += component.count;
|
|
301
|
-
}
|
|
302
|
-
} else {
|
|
303
|
-
component.value = diff.join(oldString.slice(oldPos, oldPos + component.count));
|
|
304
|
-
oldPos += component.count;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
return components;
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
var characterDiff = new Diff();
|
|
311
|
-
function diffChars(oldStr, newStr, options) {
|
|
312
|
-
return characterDiff.diff(oldStr, newStr, options);
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
function longestCommonPrefix(str1, str2) {
|
|
316
|
-
var i;
|
|
317
|
-
for (i = 0; i < str1.length && i < str2.length; i++) {
|
|
318
|
-
if (str1[i] != str2[i]) {
|
|
319
|
-
return str1.slice(0, i);
|
|
320
|
-
}
|
|
321
|
-
}
|
|
322
|
-
return str1.slice(0, i);
|
|
323
|
-
}
|
|
324
|
-
function longestCommonSuffix(str1, str2) {
|
|
325
|
-
var i;
|
|
326
|
-
|
|
327
|
-
// Unlike longestCommonPrefix, we need a special case to handle all scenarios
|
|
328
|
-
// where we return the empty string since str1.slice(-0) will return the
|
|
329
|
-
// entire string.
|
|
330
|
-
if (!str1 || !str2 || str1[str1.length - 1] != str2[str2.length - 1]) {
|
|
331
|
-
return '';
|
|
332
|
-
}
|
|
333
|
-
for (i = 0; i < str1.length && i < str2.length; i++) {
|
|
334
|
-
if (str1[str1.length - (i + 1)] != str2[str2.length - (i + 1)]) {
|
|
335
|
-
return str1.slice(-i);
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
return str1.slice(-i);
|
|
339
|
-
}
|
|
340
|
-
function replacePrefix(string, oldPrefix, newPrefix) {
|
|
341
|
-
if (string.slice(0, oldPrefix.length) != oldPrefix) {
|
|
342
|
-
throw Error("string ".concat(JSON.stringify(string), " doesn't start with prefix ").concat(JSON.stringify(oldPrefix), "; this is a bug"));
|
|
343
|
-
}
|
|
344
|
-
return newPrefix + string.slice(oldPrefix.length);
|
|
345
|
-
}
|
|
346
|
-
function replaceSuffix(string, oldSuffix, newSuffix) {
|
|
347
|
-
if (!oldSuffix) {
|
|
348
|
-
return string + newSuffix;
|
|
349
|
-
}
|
|
350
|
-
if (string.slice(-oldSuffix.length) != oldSuffix) {
|
|
351
|
-
throw Error("string ".concat(JSON.stringify(string), " doesn't end with suffix ").concat(JSON.stringify(oldSuffix), "; this is a bug"));
|
|
352
|
-
}
|
|
353
|
-
return string.slice(0, -oldSuffix.length) + newSuffix;
|
|
354
|
-
}
|
|
355
|
-
function removePrefix(string, oldPrefix) {
|
|
356
|
-
return replacePrefix(string, oldPrefix, '');
|
|
357
|
-
}
|
|
358
|
-
function removeSuffix(string, oldSuffix) {
|
|
359
|
-
return replaceSuffix(string, oldSuffix, '');
|
|
360
|
-
}
|
|
361
|
-
function maximumOverlap(string1, string2) {
|
|
362
|
-
return string2.slice(0, overlapCount(string1, string2));
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
// Nicked from https://stackoverflow.com/a/60422853/1709587
|
|
366
|
-
function overlapCount(a, b) {
|
|
367
|
-
// Deal with cases where the strings differ in length
|
|
368
|
-
var startA = 0;
|
|
369
|
-
if (a.length > b.length) {
|
|
370
|
-
startA = a.length - b.length;
|
|
371
|
-
}
|
|
372
|
-
var endB = b.length;
|
|
373
|
-
if (a.length < b.length) {
|
|
374
|
-
endB = a.length;
|
|
375
|
-
}
|
|
376
|
-
// Create a back-reference for each index
|
|
377
|
-
// that should be followed in case of a mismatch.
|
|
378
|
-
// We only need B to make these references:
|
|
379
|
-
var map = Array(endB);
|
|
380
|
-
var k = 0; // Index that lags behind j
|
|
381
|
-
map[0] = 0;
|
|
382
|
-
for (var j = 1; j < endB; j++) {
|
|
383
|
-
if (b[j] == b[k]) {
|
|
384
|
-
map[j] = map[k]; // skip over the same character (optional optimisation)
|
|
385
|
-
} else {
|
|
386
|
-
map[j] = k;
|
|
387
|
-
}
|
|
388
|
-
while (k > 0 && b[j] != b[k]) {
|
|
389
|
-
k = map[k];
|
|
390
|
-
}
|
|
391
|
-
if (b[j] == b[k]) {
|
|
392
|
-
k++;
|
|
393
|
-
}
|
|
394
|
-
}
|
|
395
|
-
// Phase 2: use these references while iterating over A
|
|
396
|
-
k = 0;
|
|
397
|
-
for (var i = startA; i < a.length; i++) {
|
|
398
|
-
while (k > 0 && a[i] != b[k]) {
|
|
399
|
-
k = map[k];
|
|
400
|
-
}
|
|
401
|
-
if (a[i] == b[k]) {
|
|
402
|
-
k++;
|
|
403
|
-
}
|
|
404
|
-
}
|
|
405
|
-
return k;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
/**
|
|
409
|
-
* Returns true if the string consistently uses Windows line endings.
|
|
410
|
-
*/
|
|
411
|
-
function hasOnlyWinLineEndings(string) {
|
|
412
|
-
return string.includes('\r\n') && !string.startsWith('\n') && !string.match(/[^\r]\n/);
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* Returns true if the string consistently uses Unix line endings.
|
|
417
|
-
*/
|
|
418
|
-
function hasOnlyUnixLineEndings(string) {
|
|
419
|
-
return !string.includes('\r\n') && string.includes('\n');
|
|
420
|
-
}
|
|
421
|
-
|
|
422
|
-
// Based on https://en.wikipedia.org/wiki/Latin_script_in_Unicode
|
|
423
|
-
//
|
|
424
|
-
// Ranges and exceptions:
|
|
425
|
-
// Latin-1 Supplement, 0080–00FF
|
|
426
|
-
// - U+00D7 × Multiplication sign
|
|
427
|
-
// - U+00F7 ÷ Division sign
|
|
428
|
-
// Latin Extended-A, 0100–017F
|
|
429
|
-
// Latin Extended-B, 0180–024F
|
|
430
|
-
// IPA Extensions, 0250–02AF
|
|
431
|
-
// Spacing Modifier Letters, 02B0–02FF
|
|
432
|
-
// - U+02C7 ˇ ˇ Caron
|
|
433
|
-
// - U+02D8 ˘ ˘ Breve
|
|
434
|
-
// - U+02D9 ˙ ˙ Dot Above
|
|
435
|
-
// - U+02DA ˚ ˚ Ring Above
|
|
436
|
-
// - U+02DB ˛ ˛ Ogonek
|
|
437
|
-
// - U+02DC ˜ ˜ Small Tilde
|
|
438
|
-
// - U+02DD ˝ ˝ Double Acute Accent
|
|
439
|
-
// Latin Extended Additional, 1E00–1EFF
|
|
440
|
-
var extendedWordChars = "a-zA-Z0-9_\\u{C0}-\\u{FF}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}";
|
|
441
|
-
|
|
442
|
-
// Each token is one of the following:
|
|
443
|
-
// - A punctuation mark plus the surrounding whitespace
|
|
444
|
-
// - A word plus the surrounding whitespace
|
|
445
|
-
// - Pure whitespace (but only in the special case where this the entire text
|
|
446
|
-
// is just whitespace)
|
|
447
|
-
//
|
|
448
|
-
// We have to include surrounding whitespace in the tokens because the two
|
|
449
|
-
// alternative approaches produce horribly broken results:
|
|
450
|
-
// * If we just discard the whitespace, we can't fully reproduce the original
|
|
451
|
-
// text from the sequence of tokens and any attempt to render the diff will
|
|
452
|
-
// get the whitespace wrong.
|
|
453
|
-
// * If we have separate tokens for whitespace, then in a typical text every
|
|
454
|
-
// second token will be a single space character. But this often results in
|
|
455
|
-
// the optimal diff between two texts being a perverse one that preserves
|
|
456
|
-
// the spaces between words but deletes and reinserts actual common words.
|
|
457
|
-
// See https://github.com/kpdecker/jsdiff/issues/160#issuecomment-1866099640
|
|
458
|
-
// for an example.
|
|
459
|
-
//
|
|
460
|
-
// Keeping the surrounding whitespace of course has implications for .equals
|
|
461
|
-
// and .join, not just .tokenize.
|
|
462
|
-
|
|
463
|
-
// This regex does NOT fully implement the tokenization rules described above.
|
|
464
|
-
// Instead, it gives runs of whitespace their own "token". The tokenize method
|
|
465
|
-
// then handles stitching whitespace tokens onto adjacent word or punctuation
|
|
466
|
-
// tokens.
|
|
467
|
-
var tokenizeIncludingWhitespace = new RegExp("[".concat(extendedWordChars, "]+|\\s+|[^").concat(extendedWordChars, "]"), 'ug');
|
|
468
|
-
var wordDiff = new Diff();
|
|
469
|
-
wordDiff.equals = function (left, right, options) {
|
|
470
|
-
if (options.ignoreCase) {
|
|
471
|
-
left = left.toLowerCase();
|
|
472
|
-
right = right.toLowerCase();
|
|
473
|
-
}
|
|
474
|
-
return left.trim() === right.trim();
|
|
475
|
-
};
|
|
476
|
-
wordDiff.tokenize = function (value) {
|
|
477
|
-
var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
478
|
-
var parts;
|
|
479
|
-
if (options.intlSegmenter) {
|
|
480
|
-
if (options.intlSegmenter.resolvedOptions().granularity != 'word') {
|
|
481
|
-
throw new Error('The segmenter passed must have a granularity of "word"');
|
|
482
|
-
}
|
|
483
|
-
parts = Array.from(options.intlSegmenter.segment(value), function (segment) {
|
|
484
|
-
return segment.segment;
|
|
485
|
-
});
|
|
486
|
-
} else {
|
|
487
|
-
parts = value.match(tokenizeIncludingWhitespace) || [];
|
|
488
|
-
}
|
|
489
|
-
var tokens = [];
|
|
490
|
-
var prevPart = null;
|
|
491
|
-
parts.forEach(function (part) {
|
|
492
|
-
if (/\s/.test(part)) {
|
|
493
|
-
if (prevPart == null) {
|
|
494
|
-
tokens.push(part);
|
|
495
|
-
} else {
|
|
496
|
-
tokens.push(tokens.pop() + part);
|
|
497
|
-
}
|
|
498
|
-
} else if (/\s/.test(prevPart)) {
|
|
499
|
-
if (tokens[tokens.length - 1] == prevPart) {
|
|
500
|
-
tokens.push(tokens.pop() + part);
|
|
501
|
-
} else {
|
|
502
|
-
tokens.push(prevPart + part);
|
|
503
|
-
}
|
|
504
|
-
} else {
|
|
505
|
-
tokens.push(part);
|
|
506
|
-
}
|
|
507
|
-
prevPart = part;
|
|
508
|
-
});
|
|
509
|
-
return tokens;
|
|
510
|
-
};
|
|
511
|
-
wordDiff.join = function (tokens) {
|
|
512
|
-
// Tokens being joined here will always have appeared consecutively in the
|
|
513
|
-
// same text, so we can simply strip off the leading whitespace from all the
|
|
514
|
-
// tokens except the first (and except any whitespace-only tokens - but such
|
|
515
|
-
// a token will always be the first and only token anyway) and then join them
|
|
516
|
-
// and the whitespace around words and punctuation will end up correct.
|
|
517
|
-
return tokens.map(function (token, i) {
|
|
518
|
-
if (i == 0) {
|
|
519
|
-
return token;
|
|
520
|
-
} else {
|
|
521
|
-
return token.replace(/^\s+/, '');
|
|
522
|
-
}
|
|
523
|
-
}).join('');
|
|
524
|
-
};
|
|
525
|
-
wordDiff.postProcess = function (changes, options) {
|
|
526
|
-
if (!changes || options.oneChangePerToken) {
|
|
527
|
-
return changes;
|
|
528
|
-
}
|
|
529
|
-
var lastKeep = null;
|
|
530
|
-
// Change objects representing any insertion or deletion since the last
|
|
531
|
-
// "keep" change object. There can be at most one of each.
|
|
532
|
-
var insertion = null;
|
|
533
|
-
var deletion = null;
|
|
534
|
-
changes.forEach(function (change) {
|
|
535
|
-
if (change.added) {
|
|
536
|
-
insertion = change;
|
|
537
|
-
} else if (change.removed) {
|
|
538
|
-
deletion = change;
|
|
539
|
-
} else {
|
|
540
|
-
if (insertion || deletion) {
|
|
541
|
-
// May be false at start of text
|
|
542
|
-
dedupeWhitespaceInChangeObjects(lastKeep, deletion, insertion, change);
|
|
543
|
-
}
|
|
544
|
-
lastKeep = change;
|
|
545
|
-
insertion = null;
|
|
546
|
-
deletion = null;
|
|
547
|
-
}
|
|
548
|
-
});
|
|
549
|
-
if (insertion || deletion) {
|
|
550
|
-
dedupeWhitespaceInChangeObjects(lastKeep, deletion, insertion, null);
|
|
551
|
-
}
|
|
552
|
-
return changes;
|
|
553
|
-
};
|
|
554
|
-
function diffWords(oldStr, newStr, options) {
|
|
555
|
-
// This option has never been documented and never will be (it's clearer to
|
|
556
|
-
// just call `diffWordsWithSpace` directly if you need that behavior), but
|
|
557
|
-
// has existed in jsdiff for a long time, so we retain support for it here
|
|
558
|
-
// for the sake of backwards compatibility.
|
|
559
|
-
if ((options === null || options === void 0 ? void 0 : options.ignoreWhitespace) != null && !options.ignoreWhitespace) {
|
|
560
|
-
return diffWordsWithSpace(oldStr, newStr, options);
|
|
561
|
-
}
|
|
562
|
-
return wordDiff.diff(oldStr, newStr, options);
|
|
563
|
-
}
|
|
564
|
-
function dedupeWhitespaceInChangeObjects(startKeep, deletion, insertion, endKeep) {
|
|
565
|
-
// Before returning, we tidy up the leading and trailing whitespace of the
|
|
566
|
-
// change objects to eliminate cases where trailing whitespace in one object
|
|
567
|
-
// is repeated as leading whitespace in the next.
|
|
568
|
-
// Below are examples of the outcomes we want here to explain the code.
|
|
569
|
-
// I=insert, K=keep, D=delete
|
|
570
|
-
// 1. diffing 'foo bar baz' vs 'foo baz'
|
|
571
|
-
// Prior to cleanup, we have K:'foo ' D:' bar ' K:' baz'
|
|
572
|
-
// After cleanup, we want: K:'foo ' D:'bar ' K:'baz'
|
|
573
|
-
//
|
|
574
|
-
// 2. Diffing 'foo bar baz' vs 'foo qux baz'
|
|
575
|
-
// Prior to cleanup, we have K:'foo ' D:' bar ' I:' qux ' K:' baz'
|
|
576
|
-
// After cleanup, we want K:'foo ' D:'bar' I:'qux' K:' baz'
|
|
577
|
-
//
|
|
578
|
-
// 3. Diffing 'foo\nbar baz' vs 'foo baz'
|
|
579
|
-
// Prior to cleanup, we have K:'foo ' D:'\nbar ' K:' baz'
|
|
580
|
-
// After cleanup, we want K'foo' D:'\nbar' K:' baz'
|
|
581
|
-
//
|
|
582
|
-
// 4. Diffing 'foo baz' vs 'foo\nbar baz'
|
|
583
|
-
// Prior to cleanup, we have K:'foo\n' I:'\nbar ' K:' baz'
|
|
584
|
-
// After cleanup, we ideally want K'foo' I:'\nbar' K:' baz'
|
|
585
|
-
// but don't actually manage this currently (the pre-cleanup change
|
|
586
|
-
// objects don't contain enough information to make it possible).
|
|
587
|
-
//
|
|
588
|
-
// 5. Diffing 'foo bar baz' vs 'foo baz'
|
|
589
|
-
// Prior to cleanup, we have K:'foo ' D:' bar ' K:' baz'
|
|
590
|
-
// After cleanup, we want K:'foo ' D:' bar ' K:'baz'
|
|
591
|
-
//
|
|
592
|
-
// Our handling is unavoidably imperfect in the case where there's a single
|
|
593
|
-
// indel between keeps and the whitespace has changed. For instance, consider
|
|
594
|
-
// diffing 'foo\tbar\nbaz' vs 'foo baz'. Unless we create an extra change
|
|
595
|
-
// object to represent the insertion of the space character (which isn't even
|
|
596
|
-
// a token), we have no way to avoid losing information about the texts'
|
|
597
|
-
// original whitespace in the result we return. Still, we do our best to
|
|
598
|
-
// output something that will look sensible if we e.g. print it with
|
|
599
|
-
// insertions in green and deletions in red.
|
|
600
|
-
|
|
601
|
-
// Between two "keep" change objects (or before the first or after the last
|
|
602
|
-
// change object), we can have either:
|
|
603
|
-
// * A "delete" followed by an "insert"
|
|
604
|
-
// * Just an "insert"
|
|
605
|
-
// * Just a "delete"
|
|
606
|
-
// We handle the three cases separately.
|
|
607
|
-
if (deletion && insertion) {
|
|
608
|
-
var oldWsPrefix = deletion.value.match(/^\s*/)[0];
|
|
609
|
-
var oldWsSuffix = deletion.value.match(/\s*$/)[0];
|
|
610
|
-
var newWsPrefix = insertion.value.match(/^\s*/)[0];
|
|
611
|
-
var newWsSuffix = insertion.value.match(/\s*$/)[0];
|
|
612
|
-
if (startKeep) {
|
|
613
|
-
var commonWsPrefix = longestCommonPrefix(oldWsPrefix, newWsPrefix);
|
|
614
|
-
startKeep.value = replaceSuffix(startKeep.value, newWsPrefix, commonWsPrefix);
|
|
615
|
-
deletion.value = removePrefix(deletion.value, commonWsPrefix);
|
|
616
|
-
insertion.value = removePrefix(insertion.value, commonWsPrefix);
|
|
617
|
-
}
|
|
618
|
-
if (endKeep) {
|
|
619
|
-
var commonWsSuffix = longestCommonSuffix(oldWsSuffix, newWsSuffix);
|
|
620
|
-
endKeep.value = replacePrefix(endKeep.value, newWsSuffix, commonWsSuffix);
|
|
621
|
-
deletion.value = removeSuffix(deletion.value, commonWsSuffix);
|
|
622
|
-
insertion.value = removeSuffix(insertion.value, commonWsSuffix);
|
|
623
|
-
}
|
|
624
|
-
} else if (insertion) {
|
|
625
|
-
// The whitespaces all reflect what was in the new text rather than
|
|
626
|
-
// the old, so we essentially have no information about whitespace
|
|
627
|
-
// insertion or deletion. We just want to dedupe the whitespace.
|
|
628
|
-
// We do that by having each change object keep its trailing
|
|
629
|
-
// whitespace and deleting duplicate leading whitespace where
|
|
630
|
-
// present.
|
|
631
|
-
if (startKeep) {
|
|
632
|
-
insertion.value = insertion.value.replace(/^\s*/, '');
|
|
633
|
-
}
|
|
634
|
-
if (endKeep) {
|
|
635
|
-
endKeep.value = endKeep.value.replace(/^\s*/, '');
|
|
636
|
-
}
|
|
637
|
-
// otherwise we've got a deletion and no insertion
|
|
638
|
-
} else if (startKeep && endKeep) {
|
|
639
|
-
var newWsFull = endKeep.value.match(/^\s*/)[0],
|
|
640
|
-
delWsStart = deletion.value.match(/^\s*/)[0],
|
|
641
|
-
delWsEnd = deletion.value.match(/\s*$/)[0];
|
|
642
|
-
|
|
643
|
-
// Any whitespace that comes straight after startKeep in both the old and
|
|
644
|
-
// new texts, assign to startKeep and remove from the deletion.
|
|
645
|
-
var newWsStart = longestCommonPrefix(newWsFull, delWsStart);
|
|
646
|
-
deletion.value = removePrefix(deletion.value, newWsStart);
|
|
647
|
-
|
|
648
|
-
// Any whitespace that comes straight before endKeep in both the old and
|
|
649
|
-
// new texts, and hasn't already been assigned to startKeep, assign to
|
|
650
|
-
// endKeep and remove from the deletion.
|
|
651
|
-
var newWsEnd = longestCommonSuffix(removePrefix(newWsFull, newWsStart), delWsEnd);
|
|
652
|
-
deletion.value = removeSuffix(deletion.value, newWsEnd);
|
|
653
|
-
endKeep.value = replacePrefix(endKeep.value, newWsFull, newWsEnd);
|
|
654
|
-
|
|
655
|
-
// If there's any whitespace from the new text that HASN'T already been
|
|
656
|
-
// assigned, assign it to the start:
|
|
657
|
-
startKeep.value = replaceSuffix(startKeep.value, newWsFull, newWsFull.slice(0, newWsFull.length - newWsEnd.length));
|
|
658
|
-
} else if (endKeep) {
|
|
659
|
-
// We are at the start of the text. Preserve all the whitespace on
|
|
660
|
-
// endKeep, and just remove whitespace from the end of deletion to the
|
|
661
|
-
// extent that it overlaps with the start of endKeep.
|
|
662
|
-
var endKeepWsPrefix = endKeep.value.match(/^\s*/)[0];
|
|
663
|
-
var deletionWsSuffix = deletion.value.match(/\s*$/)[0];
|
|
664
|
-
var overlap = maximumOverlap(deletionWsSuffix, endKeepWsPrefix);
|
|
665
|
-
deletion.value = removeSuffix(deletion.value, overlap);
|
|
666
|
-
} else if (startKeep) {
|
|
667
|
-
// We are at the END of the text. Preserve all the whitespace on
|
|
668
|
-
// startKeep, and just remove whitespace from the start of deletion to
|
|
669
|
-
// the extent that it overlaps with the end of startKeep.
|
|
670
|
-
var startKeepWsSuffix = startKeep.value.match(/\s*$/)[0];
|
|
671
|
-
var deletionWsPrefix = deletion.value.match(/^\s*/)[0];
|
|
672
|
-
var _overlap = maximumOverlap(startKeepWsSuffix, deletionWsPrefix);
|
|
673
|
-
deletion.value = removePrefix(deletion.value, _overlap);
|
|
674
|
-
}
|
|
675
|
-
}
|
|
676
|
-
var wordWithSpaceDiff = new Diff();
|
|
677
|
-
wordWithSpaceDiff.tokenize = function (value) {
|
|
678
|
-
// Slightly different to the tokenizeIncludingWhitespace regex used above in
|
|
679
|
-
// that this one treats each individual newline as a distinct tokens, rather
|
|
680
|
-
// than merging them into other surrounding whitespace. This was requested
|
|
681
|
-
// in https://github.com/kpdecker/jsdiff/issues/180 &
|
|
682
|
-
// https://github.com/kpdecker/jsdiff/issues/211
|
|
683
|
-
var regex = new RegExp("(\\r?\\n)|[".concat(extendedWordChars, "]+|[^\\S\\n\\r]+|[^").concat(extendedWordChars, "]"), 'ug');
|
|
684
|
-
return value.match(regex) || [];
|
|
685
|
-
};
|
|
686
|
-
function diffWordsWithSpace(oldStr, newStr, options) {
|
|
687
|
-
return wordWithSpaceDiff.diff(oldStr, newStr, options);
|
|
688
|
-
}
|
|
689
|
-
|
|
690
|
-
function generateOptions(options, defaults) {
|
|
691
|
-
if (typeof options === 'function') {
|
|
692
|
-
defaults.callback = options;
|
|
693
|
-
} else if (options) {
|
|
694
|
-
for (var name in options) {
|
|
695
|
-
/* istanbul ignore else */
|
|
696
|
-
if (options.hasOwnProperty(name)) {
|
|
697
|
-
defaults[name] = options[name];
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
}
|
|
701
|
-
return defaults;
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
var lineDiff = new Diff();
|
|
705
|
-
lineDiff.tokenize = function (value, options) {
|
|
706
|
-
if (options.stripTrailingCr) {
|
|
707
|
-
// remove one \r before \n to match GNU diff's --strip-trailing-cr behavior
|
|
708
|
-
value = value.replace(/\r\n/g, '\n');
|
|
709
|
-
}
|
|
710
|
-
var retLines = [],
|
|
711
|
-
linesAndNewlines = value.split(/(\n|\r\n)/);
|
|
712
|
-
|
|
713
|
-
// Ignore the final empty token that occurs if the string ends with a new line
|
|
714
|
-
if (!linesAndNewlines[linesAndNewlines.length - 1]) {
|
|
715
|
-
linesAndNewlines.pop();
|
|
716
|
-
}
|
|
717
|
-
|
|
718
|
-
// Merge the content and line separators into single tokens
|
|
719
|
-
for (var i = 0; i < linesAndNewlines.length; i++) {
|
|
720
|
-
var line = linesAndNewlines[i];
|
|
721
|
-
if (i % 2 && !options.newlineIsToken) {
|
|
722
|
-
retLines[retLines.length - 1] += line;
|
|
723
|
-
} else {
|
|
724
|
-
retLines.push(line);
|
|
725
|
-
}
|
|
726
|
-
}
|
|
727
|
-
return retLines;
|
|
728
|
-
};
|
|
729
|
-
lineDiff.equals = function (left, right, options) {
|
|
730
|
-
// If we're ignoring whitespace, we need to normalise lines by stripping
|
|
731
|
-
// whitespace before checking equality. (This has an annoying interaction
|
|
732
|
-
// with newlineIsToken that requires special handling: if newlines get their
|
|
733
|
-
// own token, then we DON'T want to trim the *newline* tokens down to empty
|
|
734
|
-
// strings, since this would cause us to treat whitespace-only line content
|
|
735
|
-
// as equal to a separator between lines, which would be weird and
|
|
736
|
-
// inconsistent with the documented behavior of the options.)
|
|
737
|
-
if (options.ignoreWhitespace) {
|
|
738
|
-
if (!options.newlineIsToken || !left.includes('\n')) {
|
|
739
|
-
left = left.trim();
|
|
740
|
-
}
|
|
741
|
-
if (!options.newlineIsToken || !right.includes('\n')) {
|
|
742
|
-
right = right.trim();
|
|
743
|
-
}
|
|
744
|
-
} else if (options.ignoreNewlineAtEof && !options.newlineIsToken) {
|
|
745
|
-
if (left.endsWith('\n')) {
|
|
746
|
-
left = left.slice(0, -1);
|
|
747
|
-
}
|
|
748
|
-
if (right.endsWith('\n')) {
|
|
749
|
-
right = right.slice(0, -1);
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
return Diff.prototype.equals.call(this, left, right, options);
|
|
753
|
-
};
|
|
754
|
-
function diffLines(oldStr, newStr, callback) {
|
|
755
|
-
return lineDiff.diff(oldStr, newStr, callback);
|
|
756
|
-
}
|
|
757
|
-
|
|
758
|
-
// Kept for backwards compatibility. This is a rather arbitrary wrapper method
|
|
759
|
-
// that just calls `diffLines` with `ignoreWhitespace: true`. It's confusing to
|
|
760
|
-
// have two ways to do exactly the same thing in the API, so we no longer
|
|
761
|
-
// document this one (library users should explicitly use `diffLines` with
|
|
762
|
-
// `ignoreWhitespace: true` instead) but we keep it around to maintain
|
|
763
|
-
// compatibility with code that used old versions.
|
|
764
|
-
function diffTrimmedLines(oldStr, newStr, callback) {
|
|
765
|
-
var options = generateOptions(callback, {
|
|
766
|
-
ignoreWhitespace: true
|
|
767
|
-
});
|
|
768
|
-
return lineDiff.diff(oldStr, newStr, options);
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
var sentenceDiff = new Diff();
|
|
772
|
-
sentenceDiff.tokenize = function (value) {
|
|
773
|
-
return value.split(/(\S.+?[.!?])(?=\s+|$)/);
|
|
774
|
-
};
|
|
775
|
-
function diffSentences(oldStr, newStr, callback) {
|
|
776
|
-
return sentenceDiff.diff(oldStr, newStr, callback);
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
var cssDiff = new Diff();
|
|
780
|
-
cssDiff.tokenize = function (value) {
|
|
781
|
-
return value.split(/([{}:;,]|\s+)/);
|
|
782
|
-
};
|
|
783
|
-
function diffCss(oldStr, newStr, callback) {
|
|
784
|
-
return cssDiff.diff(oldStr, newStr, callback);
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
function ownKeys(e, r) {
|
|
788
|
-
var t = Object.keys(e);
|
|
789
|
-
if (Object.getOwnPropertySymbols) {
|
|
790
|
-
var o = Object.getOwnPropertySymbols(e);
|
|
791
|
-
r && (o = o.filter(function (r) {
|
|
792
|
-
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
793
|
-
})), t.push.apply(t, o);
|
|
794
|
-
}
|
|
795
|
-
return t;
|
|
796
|
-
}
|
|
797
|
-
function _objectSpread2(e) {
|
|
798
|
-
for (var r = 1; r < arguments.length; r++) {
|
|
799
|
-
var t = null != arguments[r] ? arguments[r] : {};
|
|
800
|
-
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
801
|
-
_defineProperty(e, r, t[r]);
|
|
802
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
803
|
-
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
804
|
-
});
|
|
805
|
-
}
|
|
806
|
-
return e;
|
|
807
|
-
}
|
|
808
|
-
function _toPrimitive(t, r) {
|
|
809
|
-
if ("object" != typeof t || !t) return t;
|
|
810
|
-
var e = t[Symbol.toPrimitive];
|
|
811
|
-
if (void 0 !== e) {
|
|
812
|
-
var i = e.call(t, r || "default");
|
|
813
|
-
if ("object" != typeof i) return i;
|
|
814
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
815
|
-
}
|
|
816
|
-
return ("string" === r ? String : Number)(t);
|
|
817
|
-
}
|
|
818
|
-
function _toPropertyKey(t) {
|
|
819
|
-
var i = _toPrimitive(t, "string");
|
|
820
|
-
return "symbol" == typeof i ? i : i + "";
|
|
821
|
-
}
|
|
822
|
-
function _typeof(o) {
|
|
823
|
-
"@babel/helpers - typeof";
|
|
824
|
-
|
|
825
|
-
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
826
|
-
return typeof o;
|
|
827
|
-
} : function (o) {
|
|
828
|
-
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
829
|
-
}, _typeof(o);
|
|
830
|
-
}
|
|
831
|
-
function _defineProperty(obj, key, value) {
|
|
832
|
-
key = _toPropertyKey(key);
|
|
833
|
-
if (key in obj) {
|
|
834
|
-
Object.defineProperty(obj, key, {
|
|
835
|
-
value: value,
|
|
836
|
-
enumerable: true,
|
|
837
|
-
configurable: true,
|
|
838
|
-
writable: true
|
|
839
|
-
});
|
|
840
|
-
} else {
|
|
841
|
-
obj[key] = value;
|
|
842
|
-
}
|
|
843
|
-
return obj;
|
|
844
|
-
}
|
|
845
|
-
function _toConsumableArray(arr) {
|
|
846
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
847
|
-
}
|
|
848
|
-
function _arrayWithoutHoles(arr) {
|
|
849
|
-
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
850
|
-
}
|
|
851
|
-
function _iterableToArray(iter) {
|
|
852
|
-
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
853
|
-
}
|
|
854
|
-
function _unsupportedIterableToArray(o, minLen) {
|
|
855
|
-
if (!o) return;
|
|
856
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
857
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
858
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
859
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
860
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
861
|
-
}
|
|
862
|
-
function _arrayLikeToArray(arr, len) {
|
|
863
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
864
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
865
|
-
return arr2;
|
|
866
|
-
}
|
|
867
|
-
function _nonIterableSpread() {
|
|
868
|
-
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
869
|
-
}
|
|
870
|
-
|
|
871
|
-
var jsonDiff = new Diff();
|
|
872
|
-
// Discriminate between two lines of pretty-printed, serialized JSON where one of them has a
|
|
873
|
-
// dangling comma and the other doesn't. Turns out including the dangling comma yields the nicest output:
|
|
874
|
-
jsonDiff.useLongestToken = true;
|
|
875
|
-
jsonDiff.tokenize = lineDiff.tokenize;
|
|
876
|
-
jsonDiff.castInput = function (value, options) {
|
|
877
|
-
var undefinedReplacement = options.undefinedReplacement,
|
|
878
|
-
_options$stringifyRep = options.stringifyReplacer,
|
|
879
|
-
stringifyReplacer = _options$stringifyRep === void 0 ? function (k, v) {
|
|
880
|
-
return typeof v === 'undefined' ? undefinedReplacement : v;
|
|
881
|
-
} : _options$stringifyRep;
|
|
882
|
-
return typeof value === 'string' ? value : JSON.stringify(canonicalize(value, null, null, stringifyReplacer), stringifyReplacer, ' ');
|
|
883
|
-
};
|
|
884
|
-
jsonDiff.equals = function (left, right, options) {
|
|
885
|
-
return Diff.prototype.equals.call(jsonDiff, left.replace(/,([\r\n])/g, '$1'), right.replace(/,([\r\n])/g, '$1'), options);
|
|
886
|
-
};
|
|
887
|
-
function diffJson(oldObj, newObj, options) {
|
|
888
|
-
return jsonDiff.diff(oldObj, newObj, options);
|
|
889
|
-
}
|
|
890
|
-
|
|
891
|
-
// This function handles the presence of circular references by bailing out when encountering an
|
|
892
|
-
// object that is already on the "stack" of items being processed. Accepts an optional replacer
|
|
893
|
-
function canonicalize(obj, stack, replacementStack, replacer, key) {
|
|
894
|
-
stack = stack || [];
|
|
895
|
-
replacementStack = replacementStack || [];
|
|
896
|
-
if (replacer) {
|
|
897
|
-
obj = replacer(key, obj);
|
|
898
|
-
}
|
|
899
|
-
var i;
|
|
900
|
-
for (i = 0; i < stack.length; i += 1) {
|
|
901
|
-
if (stack[i] === obj) {
|
|
902
|
-
return replacementStack[i];
|
|
903
|
-
}
|
|
904
|
-
}
|
|
905
|
-
var canonicalizedObj;
|
|
906
|
-
if ('[object Array]' === Object.prototype.toString.call(obj)) {
|
|
907
|
-
stack.push(obj);
|
|
908
|
-
canonicalizedObj = new Array(obj.length);
|
|
909
|
-
replacementStack.push(canonicalizedObj);
|
|
910
|
-
for (i = 0; i < obj.length; i += 1) {
|
|
911
|
-
canonicalizedObj[i] = canonicalize(obj[i], stack, replacementStack, replacer, key);
|
|
912
|
-
}
|
|
913
|
-
stack.pop();
|
|
914
|
-
replacementStack.pop();
|
|
915
|
-
return canonicalizedObj;
|
|
916
|
-
}
|
|
917
|
-
if (obj && obj.toJSON) {
|
|
918
|
-
obj = obj.toJSON();
|
|
919
|
-
}
|
|
920
|
-
if (_typeof(obj) === 'object' && obj !== null) {
|
|
921
|
-
stack.push(obj);
|
|
922
|
-
canonicalizedObj = {};
|
|
923
|
-
replacementStack.push(canonicalizedObj);
|
|
924
|
-
var sortedKeys = [],
|
|
925
|
-
_key;
|
|
926
|
-
for (_key in obj) {
|
|
927
|
-
/* istanbul ignore else */
|
|
928
|
-
if (Object.prototype.hasOwnProperty.call(obj, _key)) {
|
|
929
|
-
sortedKeys.push(_key);
|
|
930
|
-
}
|
|
931
|
-
}
|
|
932
|
-
sortedKeys.sort();
|
|
933
|
-
for (i = 0; i < sortedKeys.length; i += 1) {
|
|
934
|
-
_key = sortedKeys[i];
|
|
935
|
-
canonicalizedObj[_key] = canonicalize(obj[_key], stack, replacementStack, replacer, _key);
|
|
936
|
-
}
|
|
937
|
-
stack.pop();
|
|
938
|
-
replacementStack.pop();
|
|
939
|
-
} else {
|
|
940
|
-
canonicalizedObj = obj;
|
|
941
|
-
}
|
|
942
|
-
return canonicalizedObj;
|
|
943
|
-
}
|
|
944
|
-
|
|
945
|
-
var arrayDiff = new Diff();
|
|
946
|
-
arrayDiff.tokenize = function (value) {
|
|
947
|
-
return value.slice();
|
|
948
|
-
};
|
|
949
|
-
arrayDiff.join = arrayDiff.removeEmpty = function (value) {
|
|
950
|
-
return value;
|
|
951
|
-
};
|
|
952
|
-
function diffArrays(oldArr, newArr, callback) {
|
|
953
|
-
return arrayDiff.diff(oldArr, newArr, callback);
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
function unixToWin(patch) {
|
|
957
|
-
if (Array.isArray(patch)) {
|
|
958
|
-
return patch.map(unixToWin);
|
|
959
|
-
}
|
|
960
|
-
return _objectSpread2(_objectSpread2({}, patch), {}, {
|
|
961
|
-
hunks: patch.hunks.map(function (hunk) {
|
|
962
|
-
return _objectSpread2(_objectSpread2({}, hunk), {}, {
|
|
963
|
-
lines: hunk.lines.map(function (line, i) {
|
|
964
|
-
var _hunk$lines;
|
|
965
|
-
return line.startsWith('\\') || line.endsWith('\r') || (_hunk$lines = hunk.lines[i + 1]) !== null && _hunk$lines !== void 0 && _hunk$lines.startsWith('\\') ? line : line + '\r';
|
|
966
|
-
})
|
|
967
|
-
});
|
|
968
|
-
})
|
|
969
|
-
});
|
|
970
|
-
}
|
|
971
|
-
function winToUnix(patch) {
|
|
972
|
-
if (Array.isArray(patch)) {
|
|
973
|
-
return patch.map(winToUnix);
|
|
974
|
-
}
|
|
975
|
-
return _objectSpread2(_objectSpread2({}, patch), {}, {
|
|
976
|
-
hunks: patch.hunks.map(function (hunk) {
|
|
977
|
-
return _objectSpread2(_objectSpread2({}, hunk), {}, {
|
|
978
|
-
lines: hunk.lines.map(function (line) {
|
|
979
|
-
return line.endsWith('\r') ? line.substring(0, line.length - 1) : line;
|
|
980
|
-
})
|
|
981
|
-
});
|
|
982
|
-
})
|
|
983
|
-
});
|
|
984
|
-
}
|
|
985
|
-
|
|
986
|
-
/**
|
|
987
|
-
* Returns true if the patch consistently uses Unix line endings (or only involves one line and has
|
|
988
|
-
* no line endings).
|
|
989
|
-
*/
|
|
990
|
-
function isUnix(patch) {
|
|
991
|
-
if (!Array.isArray(patch)) {
|
|
992
|
-
patch = [patch];
|
|
993
|
-
}
|
|
994
|
-
return !patch.some(function (index) {
|
|
995
|
-
return index.hunks.some(function (hunk) {
|
|
996
|
-
return hunk.lines.some(function (line) {
|
|
997
|
-
return !line.startsWith('\\') && line.endsWith('\r');
|
|
998
|
-
});
|
|
999
|
-
});
|
|
1000
|
-
});
|
|
1001
|
-
}
|
|
1002
|
-
|
|
1003
|
-
/**
|
|
1004
|
-
* Returns true if the patch uses Windows line endings and only Windows line endings.
|
|
1005
|
-
*/
|
|
1006
|
-
function isWin(patch) {
|
|
1007
|
-
if (!Array.isArray(patch)) {
|
|
1008
|
-
patch = [patch];
|
|
1009
|
-
}
|
|
1010
|
-
return patch.some(function (index) {
|
|
1011
|
-
return index.hunks.some(function (hunk) {
|
|
1012
|
-
return hunk.lines.some(function (line) {
|
|
1013
|
-
return line.endsWith('\r');
|
|
1014
|
-
});
|
|
1015
|
-
});
|
|
1016
|
-
}) && patch.every(function (index) {
|
|
1017
|
-
return index.hunks.every(function (hunk) {
|
|
1018
|
-
return hunk.lines.every(function (line, i) {
|
|
1019
|
-
var _hunk$lines2;
|
|
1020
|
-
return line.startsWith('\\') || line.endsWith('\r') || ((_hunk$lines2 = hunk.lines[i + 1]) === null || _hunk$lines2 === void 0 ? void 0 : _hunk$lines2.startsWith('\\'));
|
|
1021
|
-
});
|
|
1022
|
-
});
|
|
1023
|
-
});
|
|
1024
|
-
}
|
|
1025
|
-
|
|
1026
|
-
function parsePatch(uniDiff) {
|
|
1027
|
-
var diffstr = uniDiff.split(/\n/),
|
|
1028
|
-
list = [],
|
|
1029
|
-
i = 0;
|
|
1030
|
-
function parseIndex() {
|
|
1031
|
-
var index = {};
|
|
1032
|
-
list.push(index);
|
|
1033
|
-
|
|
1034
|
-
// Parse diff metadata
|
|
1035
|
-
while (i < diffstr.length) {
|
|
1036
|
-
var line = diffstr[i];
|
|
1037
|
-
|
|
1038
|
-
// File header found, end parsing diff metadata
|
|
1039
|
-
if (/^(\-\-\-|\+\+\+|@@)\s/.test(line)) {
|
|
1040
|
-
break;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
// Diff index
|
|
1044
|
-
var header = /^(?:Index:|diff(?: -r \w+)+)\s+(.+?)\s*$/.exec(line);
|
|
1045
|
-
if (header) {
|
|
1046
|
-
index.index = header[1];
|
|
1047
|
-
}
|
|
1048
|
-
i++;
|
|
1049
|
-
}
|
|
1050
|
-
|
|
1051
|
-
// Parse file headers if they are defined. Unified diff requires them, but
|
|
1052
|
-
// there's no technical issues to have an isolated hunk without file header
|
|
1053
|
-
parseFileHeader(index);
|
|
1054
|
-
parseFileHeader(index);
|
|
1055
|
-
|
|
1056
|
-
// Parse hunks
|
|
1057
|
-
index.hunks = [];
|
|
1058
|
-
while (i < diffstr.length) {
|
|
1059
|
-
var _line = diffstr[i];
|
|
1060
|
-
if (/^(Index:\s|diff\s|\-\-\-\s|\+\+\+\s|===================================================================)/.test(_line)) {
|
|
1061
|
-
break;
|
|
1062
|
-
} else if (/^@@/.test(_line)) {
|
|
1063
|
-
index.hunks.push(parseHunk());
|
|
1064
|
-
} else if (_line) {
|
|
1065
|
-
throw new Error('Unknown line ' + (i + 1) + ' ' + JSON.stringify(_line));
|
|
1066
|
-
} else {
|
|
1067
|
-
i++;
|
|
1068
|
-
}
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
// Parses the --- and +++ headers, if none are found, no lines
|
|
1073
|
-
// are consumed.
|
|
1074
|
-
function parseFileHeader(index) {
|
|
1075
|
-
var fileHeader = /^(---|\+\+\+)\s+(.*)\r?$/.exec(diffstr[i]);
|
|
1076
|
-
if (fileHeader) {
|
|
1077
|
-
var keyPrefix = fileHeader[1] === '---' ? 'old' : 'new';
|
|
1078
|
-
var data = fileHeader[2].split('\t', 2);
|
|
1079
|
-
var fileName = data[0].replace(/\\\\/g, '\\');
|
|
1080
|
-
if (/^".*"$/.test(fileName)) {
|
|
1081
|
-
fileName = fileName.substr(1, fileName.length - 2);
|
|
1082
|
-
}
|
|
1083
|
-
index[keyPrefix + 'FileName'] = fileName;
|
|
1084
|
-
index[keyPrefix + 'Header'] = (data[1] || '').trim();
|
|
1085
|
-
i++;
|
|
1086
|
-
}
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
// Parses a hunk
|
|
1090
|
-
// This assumes that we are at the start of a hunk.
|
|
1091
|
-
function parseHunk() {
|
|
1092
|
-
var chunkHeaderIndex = i,
|
|
1093
|
-
chunkHeaderLine = diffstr[i++],
|
|
1094
|
-
chunkHeader = chunkHeaderLine.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/);
|
|
1095
|
-
var hunk = {
|
|
1096
|
-
oldStart: +chunkHeader[1],
|
|
1097
|
-
oldLines: typeof chunkHeader[2] === 'undefined' ? 1 : +chunkHeader[2],
|
|
1098
|
-
newStart: +chunkHeader[3],
|
|
1099
|
-
newLines: typeof chunkHeader[4] === 'undefined' ? 1 : +chunkHeader[4],
|
|
1100
|
-
lines: []
|
|
1101
|
-
};
|
|
1102
|
-
|
|
1103
|
-
// Unified Diff Format quirk: If the chunk size is 0,
|
|
1104
|
-
// the first number is one lower than one would expect.
|
|
1105
|
-
// https://www.artima.com/weblogs/viewpost.jsp?thread=164293
|
|
1106
|
-
if (hunk.oldLines === 0) {
|
|
1107
|
-
hunk.oldStart += 1;
|
|
1108
|
-
}
|
|
1109
|
-
if (hunk.newLines === 0) {
|
|
1110
|
-
hunk.newStart += 1;
|
|
1111
|
-
}
|
|
1112
|
-
var addCount = 0,
|
|
1113
|
-
removeCount = 0;
|
|
1114
|
-
for (; i < diffstr.length && (removeCount < hunk.oldLines || addCount < hunk.newLines || (_diffstr$i = diffstr[i]) !== null && _diffstr$i !== void 0 && _diffstr$i.startsWith('\\')); i++) {
|
|
1115
|
-
var _diffstr$i;
|
|
1116
|
-
var operation = diffstr[i].length == 0 && i != diffstr.length - 1 ? ' ' : diffstr[i][0];
|
|
1117
|
-
if (operation === '+' || operation === '-' || operation === ' ' || operation === '\\') {
|
|
1118
|
-
hunk.lines.push(diffstr[i]);
|
|
1119
|
-
if (operation === '+') {
|
|
1120
|
-
addCount++;
|
|
1121
|
-
} else if (operation === '-') {
|
|
1122
|
-
removeCount++;
|
|
1123
|
-
} else if (operation === ' ') {
|
|
1124
|
-
addCount++;
|
|
1125
|
-
removeCount++;
|
|
1126
|
-
}
|
|
1127
|
-
} else {
|
|
1128
|
-
throw new Error("Hunk at line ".concat(chunkHeaderIndex + 1, " contained invalid line ").concat(diffstr[i]));
|
|
1129
|
-
}
|
|
1130
|
-
}
|
|
1131
|
-
|
|
1132
|
-
// Handle the empty block count case
|
|
1133
|
-
if (!addCount && hunk.newLines === 1) {
|
|
1134
|
-
hunk.newLines = 0;
|
|
1135
|
-
}
|
|
1136
|
-
if (!removeCount && hunk.oldLines === 1) {
|
|
1137
|
-
hunk.oldLines = 0;
|
|
1138
|
-
}
|
|
1139
|
-
|
|
1140
|
-
// Perform sanity checking
|
|
1141
|
-
if (addCount !== hunk.newLines) {
|
|
1142
|
-
throw new Error('Added line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
|
|
1143
|
-
}
|
|
1144
|
-
if (removeCount !== hunk.oldLines) {
|
|
1145
|
-
throw new Error('Removed line count did not match for hunk at line ' + (chunkHeaderIndex + 1));
|
|
1146
|
-
}
|
|
1147
|
-
return hunk;
|
|
1148
|
-
}
|
|
1149
|
-
while (i < diffstr.length) {
|
|
1150
|
-
parseIndex();
|
|
1151
|
-
}
|
|
1152
|
-
return list;
|
|
1153
|
-
}
|
|
1154
|
-
|
|
1155
|
-
// Iterator that traverses in the range of [min, max], stepping
|
|
1156
|
-
// by distance from a given start position. I.e. for [0, 4], with
|
|
1157
|
-
// start of 2, this will iterate 2, 3, 1, 4, 0.
|
|
1158
|
-
function distanceIterator (start, minLine, maxLine) {
|
|
1159
|
-
var wantForward = true,
|
|
1160
|
-
backwardExhausted = false,
|
|
1161
|
-
forwardExhausted = false,
|
|
1162
|
-
localOffset = 1;
|
|
1163
|
-
return function iterator() {
|
|
1164
|
-
if (wantForward && !forwardExhausted) {
|
|
1165
|
-
if (backwardExhausted) {
|
|
1166
|
-
localOffset++;
|
|
1167
|
-
} else {
|
|
1168
|
-
wantForward = false;
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
// Check if trying to fit beyond text length, and if not, check it fits
|
|
1172
|
-
// after offset location (or desired location on first iteration)
|
|
1173
|
-
if (start + localOffset <= maxLine) {
|
|
1174
|
-
return start + localOffset;
|
|
1175
|
-
}
|
|
1176
|
-
forwardExhausted = true;
|
|
1177
|
-
}
|
|
1178
|
-
if (!backwardExhausted) {
|
|
1179
|
-
if (!forwardExhausted) {
|
|
1180
|
-
wantForward = true;
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
// Check if trying to fit before text beginning, and if not, check it fits
|
|
1184
|
-
// before offset location
|
|
1185
|
-
if (minLine <= start - localOffset) {
|
|
1186
|
-
return start - localOffset++;
|
|
1187
|
-
}
|
|
1188
|
-
backwardExhausted = true;
|
|
1189
|
-
return iterator();
|
|
1190
|
-
}
|
|
1191
|
-
|
|
1192
|
-
// We tried to fit hunk before text beginning and beyond text length, then
|
|
1193
|
-
// hunk can't fit on the text. Return undefined
|
|
1194
|
-
};
|
|
1195
|
-
}
|
|
1196
|
-
|
|
1197
|
-
function applyPatch(source, uniDiff) {
|
|
1198
|
-
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
1199
|
-
if (typeof uniDiff === 'string') {
|
|
1200
|
-
uniDiff = parsePatch(uniDiff);
|
|
1201
|
-
}
|
|
1202
|
-
if (Array.isArray(uniDiff)) {
|
|
1203
|
-
if (uniDiff.length > 1) {
|
|
1204
|
-
throw new Error('applyPatch only works with a single input.');
|
|
1205
|
-
}
|
|
1206
|
-
uniDiff = uniDiff[0];
|
|
1207
|
-
}
|
|
1208
|
-
if (options.autoConvertLineEndings || options.autoConvertLineEndings == null) {
|
|
1209
|
-
if (hasOnlyWinLineEndings(source) && isUnix(uniDiff)) {
|
|
1210
|
-
uniDiff = unixToWin(uniDiff);
|
|
1211
|
-
} else if (hasOnlyUnixLineEndings(source) && isWin(uniDiff)) {
|
|
1212
|
-
uniDiff = winToUnix(uniDiff);
|
|
1213
|
-
}
|
|
1214
|
-
}
|
|
1215
|
-
|
|
1216
|
-
// Apply the diff to the input
|
|
1217
|
-
var lines = source.split('\n'),
|
|
1218
|
-
hunks = uniDiff.hunks,
|
|
1219
|
-
compareLine = options.compareLine || function (lineNumber, line, operation, patchContent) {
|
|
1220
|
-
return line === patchContent;
|
|
1221
|
-
},
|
|
1222
|
-
fuzzFactor = options.fuzzFactor || 0,
|
|
1223
|
-
minLine = 0;
|
|
1224
|
-
if (fuzzFactor < 0 || !Number.isInteger(fuzzFactor)) {
|
|
1225
|
-
throw new Error('fuzzFactor must be a non-negative integer');
|
|
1226
|
-
}
|
|
1227
|
-
|
|
1228
|
-
// Special case for empty patch.
|
|
1229
|
-
if (!hunks.length) {
|
|
1230
|
-
return source;
|
|
1231
|
-
}
|
|
1232
|
-
|
|
1233
|
-
// Before anything else, handle EOFNL insertion/removal. If the patch tells us to make a change
|
|
1234
|
-
// to the EOFNL that is redundant/impossible - i.e. to remove a newline that's not there, or add a
|
|
1235
|
-
// newline that already exists - then we either return false and fail to apply the patch (if
|
|
1236
|
-
// fuzzFactor is 0) or simply ignore the problem and do nothing (if fuzzFactor is >0).
|
|
1237
|
-
// If we do need to remove/add a newline at EOF, this will always be in the final hunk:
|
|
1238
|
-
var prevLine = '',
|
|
1239
|
-
removeEOFNL = false,
|
|
1240
|
-
addEOFNL = false;
|
|
1241
|
-
for (var i = 0; i < hunks[hunks.length - 1].lines.length; i++) {
|
|
1242
|
-
var line = hunks[hunks.length - 1].lines[i];
|
|
1243
|
-
if (line[0] == '\\') {
|
|
1244
|
-
if (prevLine[0] == '+') {
|
|
1245
|
-
removeEOFNL = true;
|
|
1246
|
-
} else if (prevLine[0] == '-') {
|
|
1247
|
-
addEOFNL = true;
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
prevLine = line;
|
|
1251
|
-
}
|
|
1252
|
-
if (removeEOFNL) {
|
|
1253
|
-
if (addEOFNL) {
|
|
1254
|
-
// This means the final line gets changed but doesn't have a trailing newline in either the
|
|
1255
|
-
// original or patched version. In that case, we do nothing if fuzzFactor > 0, and if
|
|
1256
|
-
// fuzzFactor is 0, we simply validate that the source file has no trailing newline.
|
|
1257
|
-
if (!fuzzFactor && lines[lines.length - 1] == '') {
|
|
1258
|
-
return false;
|
|
1259
|
-
}
|
|
1260
|
-
} else if (lines[lines.length - 1] == '') {
|
|
1261
|
-
lines.pop();
|
|
1262
|
-
} else if (!fuzzFactor) {
|
|
1263
|
-
return false;
|
|
1264
|
-
}
|
|
1265
|
-
} else if (addEOFNL) {
|
|
1266
|
-
if (lines[lines.length - 1] != '') {
|
|
1267
|
-
lines.push('');
|
|
1268
|
-
} else if (!fuzzFactor) {
|
|
1269
|
-
return false;
|
|
1270
|
-
}
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* Checks if the hunk can be made to fit at the provided location with at most `maxErrors`
|
|
1275
|
-
* insertions, substitutions, or deletions, while ensuring also that:
|
|
1276
|
-
* - lines deleted in the hunk match exactly, and
|
|
1277
|
-
* - wherever an insertion operation or block of insertion operations appears in the hunk, the
|
|
1278
|
-
* immediately preceding and following lines of context match exactly
|
|
1279
|
-
*
|
|
1280
|
-
* `toPos` should be set such that lines[toPos] is meant to match hunkLines[0].
|
|
1281
|
-
*
|
|
1282
|
-
* If the hunk can be applied, returns an object with properties `oldLineLastI` and
|
|
1283
|
-
* `replacementLines`. Otherwise, returns null.
|
|
1284
|
-
*/
|
|
1285
|
-
function applyHunk(hunkLines, toPos, maxErrors) {
|
|
1286
|
-
var hunkLinesI = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 0;
|
|
1287
|
-
var lastContextLineMatched = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : true;
|
|
1288
|
-
var patchedLines = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : [];
|
|
1289
|
-
var patchedLinesLength = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : 0;
|
|
1290
|
-
var nConsecutiveOldContextLines = 0;
|
|
1291
|
-
var nextContextLineMustMatch = false;
|
|
1292
|
-
for (; hunkLinesI < hunkLines.length; hunkLinesI++) {
|
|
1293
|
-
var hunkLine = hunkLines[hunkLinesI],
|
|
1294
|
-
operation = hunkLine.length > 0 ? hunkLine[0] : ' ',
|
|
1295
|
-
content = hunkLine.length > 0 ? hunkLine.substr(1) : hunkLine;
|
|
1296
|
-
if (operation === '-') {
|
|
1297
|
-
if (compareLine(toPos + 1, lines[toPos], operation, content)) {
|
|
1298
|
-
toPos++;
|
|
1299
|
-
nConsecutiveOldContextLines = 0;
|
|
1300
|
-
} else {
|
|
1301
|
-
if (!maxErrors || lines[toPos] == null) {
|
|
1302
|
-
return null;
|
|
1303
|
-
}
|
|
1304
|
-
patchedLines[patchedLinesLength] = lines[toPos];
|
|
1305
|
-
return applyHunk(hunkLines, toPos + 1, maxErrors - 1, hunkLinesI, false, patchedLines, patchedLinesLength + 1);
|
|
1306
|
-
}
|
|
1307
|
-
}
|
|
1308
|
-
if (operation === '+') {
|
|
1309
|
-
if (!lastContextLineMatched) {
|
|
1310
|
-
return null;
|
|
1311
|
-
}
|
|
1312
|
-
patchedLines[patchedLinesLength] = content;
|
|
1313
|
-
patchedLinesLength++;
|
|
1314
|
-
nConsecutiveOldContextLines = 0;
|
|
1315
|
-
nextContextLineMustMatch = true;
|
|
1316
|
-
}
|
|
1317
|
-
if (operation === ' ') {
|
|
1318
|
-
nConsecutiveOldContextLines++;
|
|
1319
|
-
patchedLines[patchedLinesLength] = lines[toPos];
|
|
1320
|
-
if (compareLine(toPos + 1, lines[toPos], operation, content)) {
|
|
1321
|
-
patchedLinesLength++;
|
|
1322
|
-
lastContextLineMatched = true;
|
|
1323
|
-
nextContextLineMustMatch = false;
|
|
1324
|
-
toPos++;
|
|
1325
|
-
} else {
|
|
1326
|
-
if (nextContextLineMustMatch || !maxErrors) {
|
|
1327
|
-
return null;
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
// Consider 3 possibilities in sequence:
|
|
1331
|
-
// 1. lines contains a *substitution* not included in the patch context, or
|
|
1332
|
-
// 2. lines contains an *insertion* not included in the patch context, or
|
|
1333
|
-
// 3. lines contains a *deletion* not included in the patch context
|
|
1334
|
-
// The first two options are of course only possible if the line from lines is non-null -
|
|
1335
|
-
// i.e. only option 3 is possible if we've overrun the end of the old file.
|
|
1336
|
-
return lines[toPos] && (applyHunk(hunkLines, toPos + 1, maxErrors - 1, hunkLinesI + 1, false, patchedLines, patchedLinesLength + 1) || applyHunk(hunkLines, toPos + 1, maxErrors - 1, hunkLinesI, false, patchedLines, patchedLinesLength + 1)) || applyHunk(hunkLines, toPos, maxErrors - 1, hunkLinesI + 1, false, patchedLines, patchedLinesLength);
|
|
1337
|
-
}
|
|
1338
|
-
}
|
|
1339
|
-
}
|
|
1340
|
-
|
|
1341
|
-
// Before returning, trim any unmodified context lines off the end of patchedLines and reduce
|
|
1342
|
-
// toPos (and thus oldLineLastI) accordingly. This allows later hunks to be applied to a region
|
|
1343
|
-
// that starts in this hunk's trailing context.
|
|
1344
|
-
patchedLinesLength -= nConsecutiveOldContextLines;
|
|
1345
|
-
toPos -= nConsecutiveOldContextLines;
|
|
1346
|
-
patchedLines.length = patchedLinesLength;
|
|
1347
|
-
return {
|
|
1348
|
-
patchedLines: patchedLines,
|
|
1349
|
-
oldLineLastI: toPos - 1
|
|
1350
|
-
};
|
|
1351
|
-
}
|
|
1352
|
-
var resultLines = [];
|
|
1353
|
-
|
|
1354
|
-
// Search best fit offsets for each hunk based on the previous ones
|
|
1355
|
-
var prevHunkOffset = 0;
|
|
1356
|
-
for (var _i = 0; _i < hunks.length; _i++) {
|
|
1357
|
-
var hunk = hunks[_i];
|
|
1358
|
-
var hunkResult = void 0;
|
|
1359
|
-
var maxLine = lines.length - hunk.oldLines + fuzzFactor;
|
|
1360
|
-
var toPos = void 0;
|
|
1361
|
-
for (var maxErrors = 0; maxErrors <= fuzzFactor; maxErrors++) {
|
|
1362
|
-
toPos = hunk.oldStart + prevHunkOffset - 1;
|
|
1363
|
-
var iterator = distanceIterator(toPos, minLine, maxLine);
|
|
1364
|
-
for (; toPos !== undefined; toPos = iterator()) {
|
|
1365
|
-
hunkResult = applyHunk(hunk.lines, toPos, maxErrors);
|
|
1366
|
-
if (hunkResult) {
|
|
1367
|
-
break;
|
|
1368
|
-
}
|
|
1369
|
-
}
|
|
1370
|
-
if (hunkResult) {
|
|
1371
|
-
break;
|
|
1372
|
-
}
|
|
1373
|
-
}
|
|
1374
|
-
if (!hunkResult) {
|
|
1375
|
-
return false;
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
// Copy everything from the end of where we applied the last hunk to the start of this hunk
|
|
1379
|
-
for (var _i2 = minLine; _i2 < toPos; _i2++) {
|
|
1380
|
-
resultLines.push(lines[_i2]);
|
|
1381
|
-
}
|
|
1382
|
-
|
|
1383
|
-
// Add the lines produced by applying the hunk:
|
|
1384
|
-
for (var _i3 = 0; _i3 < hunkResult.patchedLines.length; _i3++) {
|
|
1385
|
-
var _line = hunkResult.patchedLines[_i3];
|
|
1386
|
-
resultLines.push(_line);
|
|
1387
|
-
}
|
|
1388
|
-
|
|
1389
|
-
// Set lower text limit to end of the current hunk, so next ones don't try
|
|
1390
|
-
// to fit over already patched text
|
|
1391
|
-
minLine = hunkResult.oldLineLastI + 1;
|
|
1392
|
-
|
|
1393
|
-
// Note the offset between where the patch said the hunk should've applied and where we
|
|
1394
|
-
// applied it, so we can adjust future hunks accordingly:
|
|
1395
|
-
prevHunkOffset = toPos + 1 - hunk.oldStart;
|
|
1396
|
-
}
|
|
1397
|
-
|
|
1398
|
-
// Copy over the rest of the lines from the old text
|
|
1399
|
-
for (var _i4 = minLine; _i4 < lines.length; _i4++) {
|
|
1400
|
-
resultLines.push(lines[_i4]);
|
|
1401
|
-
}
|
|
1402
|
-
return resultLines.join('\n');
|
|
1403
|
-
}
|
|
1404
|
-
|
|
1405
|
-
// Wrapper that supports multiple file patches via callbacks.
|
|
1406
|
-
function applyPatches(uniDiff, options) {
|
|
1407
|
-
if (typeof uniDiff === 'string') {
|
|
1408
|
-
uniDiff = parsePatch(uniDiff);
|
|
1409
|
-
}
|
|
1410
|
-
var currentIndex = 0;
|
|
1411
|
-
function processIndex() {
|
|
1412
|
-
var index = uniDiff[currentIndex++];
|
|
1413
|
-
if (!index) {
|
|
1414
|
-
return options.complete();
|
|
1415
|
-
}
|
|
1416
|
-
options.loadFile(index, function (err, data) {
|
|
1417
|
-
if (err) {
|
|
1418
|
-
return options.complete(err);
|
|
1419
|
-
}
|
|
1420
|
-
var updatedContent = applyPatch(data, index, options);
|
|
1421
|
-
options.patched(index, updatedContent, function (err) {
|
|
1422
|
-
if (err) {
|
|
1423
|
-
return options.complete(err);
|
|
1424
|
-
}
|
|
1425
|
-
processIndex();
|
|
1426
|
-
});
|
|
1427
|
-
});
|
|
1428
|
-
}
|
|
1429
|
-
processIndex();
|
|
1430
|
-
}
|
|
1431
|
-
|
|
1432
|
-
function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
|
|
1433
|
-
if (!options) {
|
|
1434
|
-
options = {};
|
|
1435
|
-
}
|
|
1436
|
-
if (typeof options === 'function') {
|
|
1437
|
-
options = {
|
|
1438
|
-
callback: options
|
|
1439
|
-
};
|
|
1440
|
-
}
|
|
1441
|
-
if (typeof options.context === 'undefined') {
|
|
1442
|
-
options.context = 4;
|
|
1443
|
-
}
|
|
1444
|
-
if (options.newlineIsToken) {
|
|
1445
|
-
throw new Error('newlineIsToken may not be used with patch-generation functions, only with diffing functions');
|
|
1446
|
-
}
|
|
1447
|
-
if (!options.callback) {
|
|
1448
|
-
return diffLinesResultToPatch(diffLines(oldStr, newStr, options));
|
|
1449
|
-
} else {
|
|
1450
|
-
var _options = options,
|
|
1451
|
-
_callback = _options.callback;
|
|
1452
|
-
diffLines(oldStr, newStr, _objectSpread2(_objectSpread2({}, options), {}, {
|
|
1453
|
-
callback: function callback(diff) {
|
|
1454
|
-
var patch = diffLinesResultToPatch(diff);
|
|
1455
|
-
_callback(patch);
|
|
1456
|
-
}
|
|
1457
|
-
}));
|
|
1458
|
-
}
|
|
1459
|
-
function diffLinesResultToPatch(diff) {
|
|
1460
|
-
// STEP 1: Build up the patch with no "" lines and with the arrays
|
|
1461
|
-
// of lines containing trailing newline characters. We'll tidy up later...
|
|
1462
|
-
|
|
1463
|
-
if (!diff) {
|
|
1464
|
-
return;
|
|
1465
|
-
}
|
|
1466
|
-
diff.push({
|
|
1467
|
-
value: '',
|
|
1468
|
-
lines: []
|
|
1469
|
-
}); // Append an empty value to make cleanup easier
|
|
1470
|
-
|
|
1471
|
-
function contextLines(lines) {
|
|
1472
|
-
return lines.map(function (entry) {
|
|
1473
|
-
return ' ' + entry;
|
|
1474
|
-
});
|
|
1475
|
-
}
|
|
1476
|
-
var hunks = [];
|
|
1477
|
-
var oldRangeStart = 0,
|
|
1478
|
-
newRangeStart = 0,
|
|
1479
|
-
curRange = [],
|
|
1480
|
-
oldLine = 1,
|
|
1481
|
-
newLine = 1;
|
|
1482
|
-
var _loop = function _loop() {
|
|
1483
|
-
var current = diff[i],
|
|
1484
|
-
lines = current.lines || splitLines(current.value);
|
|
1485
|
-
current.lines = lines;
|
|
1486
|
-
if (current.added || current.removed) {
|
|
1487
|
-
var _curRange;
|
|
1488
|
-
// If we have previous context, start with that
|
|
1489
|
-
if (!oldRangeStart) {
|
|
1490
|
-
var prev = diff[i - 1];
|
|
1491
|
-
oldRangeStart = oldLine;
|
|
1492
|
-
newRangeStart = newLine;
|
|
1493
|
-
if (prev) {
|
|
1494
|
-
curRange = options.context > 0 ? contextLines(prev.lines.slice(-options.context)) : [];
|
|
1495
|
-
oldRangeStart -= curRange.length;
|
|
1496
|
-
newRangeStart -= curRange.length;
|
|
1497
|
-
}
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
// Output our changes
|
|
1501
|
-
(_curRange = curRange).push.apply(_curRange, _toConsumableArray(lines.map(function (entry) {
|
|
1502
|
-
return (current.added ? '+' : '-') + entry;
|
|
1503
|
-
})));
|
|
1504
|
-
|
|
1505
|
-
// Track the updated file position
|
|
1506
|
-
if (current.added) {
|
|
1507
|
-
newLine += lines.length;
|
|
1508
|
-
} else {
|
|
1509
|
-
oldLine += lines.length;
|
|
1510
|
-
}
|
|
1511
|
-
} else {
|
|
1512
|
-
// Identical context lines. Track line changes
|
|
1513
|
-
if (oldRangeStart) {
|
|
1514
|
-
// Close out any changes that have been output (or join overlapping)
|
|
1515
|
-
if (lines.length <= options.context * 2 && i < diff.length - 2) {
|
|
1516
|
-
var _curRange2;
|
|
1517
|
-
// Overlapping
|
|
1518
|
-
(_curRange2 = curRange).push.apply(_curRange2, _toConsumableArray(contextLines(lines)));
|
|
1519
|
-
} else {
|
|
1520
|
-
var _curRange3;
|
|
1521
|
-
// end the range and output
|
|
1522
|
-
var contextSize = Math.min(lines.length, options.context);
|
|
1523
|
-
(_curRange3 = curRange).push.apply(_curRange3, _toConsumableArray(contextLines(lines.slice(0, contextSize))));
|
|
1524
|
-
var _hunk = {
|
|
1525
|
-
oldStart: oldRangeStart,
|
|
1526
|
-
oldLines: oldLine - oldRangeStart + contextSize,
|
|
1527
|
-
newStart: newRangeStart,
|
|
1528
|
-
newLines: newLine - newRangeStart + contextSize,
|
|
1529
|
-
lines: curRange
|
|
1530
|
-
};
|
|
1531
|
-
hunks.push(_hunk);
|
|
1532
|
-
oldRangeStart = 0;
|
|
1533
|
-
newRangeStart = 0;
|
|
1534
|
-
curRange = [];
|
|
1535
|
-
}
|
|
1536
|
-
}
|
|
1537
|
-
oldLine += lines.length;
|
|
1538
|
-
newLine += lines.length;
|
|
1539
|
-
}
|
|
1540
|
-
};
|
|
1541
|
-
for (var i = 0; i < diff.length; i++) {
|
|
1542
|
-
_loop();
|
|
1543
|
-
}
|
|
1544
|
-
|
|
1545
|
-
// Step 2: eliminate the trailing `\n` from each line of each hunk, and, where needed, add
|
|
1546
|
-
// "".
|
|
1547
|
-
for (var _i = 0, _hunks = hunks; _i < _hunks.length; _i++) {
|
|
1548
|
-
var hunk = _hunks[_i];
|
|
1549
|
-
for (var _i2 = 0; _i2 < hunk.lines.length; _i2++) {
|
|
1550
|
-
if (hunk.lines[_i2].endsWith('\n')) {
|
|
1551
|
-
hunk.lines[_i2] = hunk.lines[_i2].slice(0, -1);
|
|
1552
|
-
} else {
|
|
1553
|
-
hunk.lines.splice(_i2 + 1, 0, '\');
|
|
1554
|
-
_i2++; // Skip the line we just added, then continue iterating
|
|
1555
|
-
}
|
|
1556
|
-
}
|
|
1557
|
-
}
|
|
1558
|
-
return {
|
|
1559
|
-
oldFileName: oldFileName,
|
|
1560
|
-
newFileName: newFileName,
|
|
1561
|
-
oldHeader: oldHeader,
|
|
1562
|
-
newHeader: newHeader,
|
|
1563
|
-
hunks: hunks
|
|
1564
|
-
};
|
|
1565
|
-
}
|
|
1566
|
-
}
|
|
1567
|
-
function formatPatch(diff) {
|
|
1568
|
-
if (Array.isArray(diff)) {
|
|
1569
|
-
return diff.map(formatPatch).join('\n');
|
|
1570
|
-
}
|
|
1571
|
-
var ret = [];
|
|
1572
|
-
if (diff.oldFileName == diff.newFileName) {
|
|
1573
|
-
ret.push('Index: ' + diff.oldFileName);
|
|
1574
|
-
}
|
|
1575
|
-
ret.push('===================================================================');
|
|
1576
|
-
ret.push('--- ' + diff.oldFileName + (typeof diff.oldHeader === 'undefined' ? '' : '\t' + diff.oldHeader));
|
|
1577
|
-
ret.push('+++ ' + diff.newFileName + (typeof diff.newHeader === 'undefined' ? '' : '\t' + diff.newHeader));
|
|
1578
|
-
for (var i = 0; i < diff.hunks.length; i++) {
|
|
1579
|
-
var hunk = diff.hunks[i];
|
|
1580
|
-
// Unified Diff Format quirk: If the chunk size is 0,
|
|
1581
|
-
// the first number is one lower than one would expect.
|
|
1582
|
-
// https://www.artima.com/weblogs/viewpost.jsp?thread=164293
|
|
1583
|
-
if (hunk.oldLines === 0) {
|
|
1584
|
-
hunk.oldStart -= 1;
|
|
1585
|
-
}
|
|
1586
|
-
if (hunk.newLines === 0) {
|
|
1587
|
-
hunk.newStart -= 1;
|
|
1588
|
-
}
|
|
1589
|
-
ret.push('@@ -' + hunk.oldStart + ',' + hunk.oldLines + ' +' + hunk.newStart + ',' + hunk.newLines + ' @@');
|
|
1590
|
-
ret.push.apply(ret, hunk.lines);
|
|
1591
|
-
}
|
|
1592
|
-
return ret.join('\n') + '\n';
|
|
1593
|
-
}
|
|
1594
|
-
function createTwoFilesPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
|
|
1595
|
-
var _options2;
|
|
1596
|
-
if (typeof options === 'function') {
|
|
1597
|
-
options = {
|
|
1598
|
-
callback: options
|
|
1599
|
-
};
|
|
1600
|
-
}
|
|
1601
|
-
if (!((_options2 = options) !== null && _options2 !== void 0 && _options2.callback)) {
|
|
1602
|
-
var patchObj = structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options);
|
|
1603
|
-
if (!patchObj) {
|
|
1604
|
-
return;
|
|
1605
|
-
}
|
|
1606
|
-
return formatPatch(patchObj);
|
|
1607
|
-
} else {
|
|
1608
|
-
var _options3 = options,
|
|
1609
|
-
_callback2 = _options3.callback;
|
|
1610
|
-
structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, _objectSpread2(_objectSpread2({}, options), {}, {
|
|
1611
|
-
callback: function callback(patchObj) {
|
|
1612
|
-
if (!patchObj) {
|
|
1613
|
-
_callback2();
|
|
1614
|
-
} else {
|
|
1615
|
-
_callback2(formatPatch(patchObj));
|
|
1616
|
-
}
|
|
1617
|
-
}
|
|
1618
|
-
}));
|
|
1619
|
-
}
|
|
1620
|
-
}
|
|
1621
|
-
function createPatch(fileName, oldStr, newStr, oldHeader, newHeader, options) {
|
|
1622
|
-
return createTwoFilesPatch(fileName, fileName, oldStr, newStr, oldHeader, newHeader, options);
|
|
1623
|
-
}
|
|
1624
|
-
|
|
1625
|
-
/**
|
|
1626
|
-
* Split `text` into an array of lines, including the trailing newline character (where present)
|
|
1627
|
-
*/
|
|
1628
|
-
function splitLines(text) {
|
|
1629
|
-
var hasTrailingNl = text.endsWith('\n');
|
|
1630
|
-
var result = text.split('\n').map(function (line) {
|
|
1631
|
-
return line + '\n';
|
|
1632
|
-
});
|
|
1633
|
-
if (hasTrailingNl) {
|
|
1634
|
-
result.pop();
|
|
1635
|
-
} else {
|
|
1636
|
-
result.push(result.pop().slice(0, -1));
|
|
1637
|
-
}
|
|
1638
|
-
return result;
|
|
1639
|
-
}
|
|
1640
|
-
|
|
1641
|
-
function arrayEqual(a, b) {
|
|
1642
|
-
if (a.length !== b.length) {
|
|
1643
|
-
return false;
|
|
1644
|
-
}
|
|
1645
|
-
return arrayStartsWith(a, b);
|
|
1646
|
-
}
|
|
1647
|
-
function arrayStartsWith(array, start) {
|
|
1648
|
-
if (start.length > array.length) {
|
|
1649
|
-
return false;
|
|
1650
|
-
}
|
|
1651
|
-
for (var i = 0; i < start.length; i++) {
|
|
1652
|
-
if (start[i] !== array[i]) {
|
|
1653
|
-
return false;
|
|
1654
|
-
}
|
|
1655
|
-
}
|
|
1656
|
-
return true;
|
|
1657
|
-
}
|
|
1658
|
-
|
|
1659
|
-
function calcLineCount(hunk) {
|
|
1660
|
-
var _calcOldNewLineCount = calcOldNewLineCount(hunk.lines),
|
|
1661
|
-
oldLines = _calcOldNewLineCount.oldLines,
|
|
1662
|
-
newLines = _calcOldNewLineCount.newLines;
|
|
1663
|
-
if (oldLines !== undefined) {
|
|
1664
|
-
hunk.oldLines = oldLines;
|
|
1665
|
-
} else {
|
|
1666
|
-
delete hunk.oldLines;
|
|
1667
|
-
}
|
|
1668
|
-
if (newLines !== undefined) {
|
|
1669
|
-
hunk.newLines = newLines;
|
|
1670
|
-
} else {
|
|
1671
|
-
delete hunk.newLines;
|
|
1672
|
-
}
|
|
1673
|
-
}
|
|
1674
|
-
function merge(mine, theirs, base) {
|
|
1675
|
-
mine = loadPatch(mine, base);
|
|
1676
|
-
theirs = loadPatch(theirs, base);
|
|
1677
|
-
var ret = {};
|
|
1678
|
-
|
|
1679
|
-
// For index we just let it pass through as it doesn't have any necessary meaning.
|
|
1680
|
-
// Leaving sanity checks on this to the API consumer that may know more about the
|
|
1681
|
-
// meaning in their own context.
|
|
1682
|
-
if (mine.index || theirs.index) {
|
|
1683
|
-
ret.index = mine.index || theirs.index;
|
|
1684
|
-
}
|
|
1685
|
-
if (mine.newFileName || theirs.newFileName) {
|
|
1686
|
-
if (!fileNameChanged(mine)) {
|
|
1687
|
-
// No header or no change in ours, use theirs (and ours if theirs does not exist)
|
|
1688
|
-
ret.oldFileName = theirs.oldFileName || mine.oldFileName;
|
|
1689
|
-
ret.newFileName = theirs.newFileName || mine.newFileName;
|
|
1690
|
-
ret.oldHeader = theirs.oldHeader || mine.oldHeader;
|
|
1691
|
-
ret.newHeader = theirs.newHeader || mine.newHeader;
|
|
1692
|
-
} else if (!fileNameChanged(theirs)) {
|
|
1693
|
-
// No header or no change in theirs, use ours
|
|
1694
|
-
ret.oldFileName = mine.oldFileName;
|
|
1695
|
-
ret.newFileName = mine.newFileName;
|
|
1696
|
-
ret.oldHeader = mine.oldHeader;
|
|
1697
|
-
ret.newHeader = mine.newHeader;
|
|
1698
|
-
} else {
|
|
1699
|
-
// Both changed... figure it out
|
|
1700
|
-
ret.oldFileName = selectField(ret, mine.oldFileName, theirs.oldFileName);
|
|
1701
|
-
ret.newFileName = selectField(ret, mine.newFileName, theirs.newFileName);
|
|
1702
|
-
ret.oldHeader = selectField(ret, mine.oldHeader, theirs.oldHeader);
|
|
1703
|
-
ret.newHeader = selectField(ret, mine.newHeader, theirs.newHeader);
|
|
1704
|
-
}
|
|
1705
|
-
}
|
|
1706
|
-
ret.hunks = [];
|
|
1707
|
-
var mineIndex = 0,
|
|
1708
|
-
theirsIndex = 0,
|
|
1709
|
-
mineOffset = 0,
|
|
1710
|
-
theirsOffset = 0;
|
|
1711
|
-
while (mineIndex < mine.hunks.length || theirsIndex < theirs.hunks.length) {
|
|
1712
|
-
var mineCurrent = mine.hunks[mineIndex] || {
|
|
1713
|
-
oldStart: Infinity
|
|
1714
|
-
},
|
|
1715
|
-
theirsCurrent = theirs.hunks[theirsIndex] || {
|
|
1716
|
-
oldStart: Infinity
|
|
1717
|
-
};
|
|
1718
|
-
if (hunkBefore(mineCurrent, theirsCurrent)) {
|
|
1719
|
-
// This patch does not overlap with any of the others, yay.
|
|
1720
|
-
ret.hunks.push(cloneHunk(mineCurrent, mineOffset));
|
|
1721
|
-
mineIndex++;
|
|
1722
|
-
theirsOffset += mineCurrent.newLines - mineCurrent.oldLines;
|
|
1723
|
-
} else if (hunkBefore(theirsCurrent, mineCurrent)) {
|
|
1724
|
-
// This patch does not overlap with any of the others, yay.
|
|
1725
|
-
ret.hunks.push(cloneHunk(theirsCurrent, theirsOffset));
|
|
1726
|
-
theirsIndex++;
|
|
1727
|
-
mineOffset += theirsCurrent.newLines - theirsCurrent.oldLines;
|
|
1728
|
-
} else {
|
|
1729
|
-
// Overlap, merge as best we can
|
|
1730
|
-
var mergedHunk = {
|
|
1731
|
-
oldStart: Math.min(mineCurrent.oldStart, theirsCurrent.oldStart),
|
|
1732
|
-
oldLines: 0,
|
|
1733
|
-
newStart: Math.min(mineCurrent.newStart + mineOffset, theirsCurrent.oldStart + theirsOffset),
|
|
1734
|
-
newLines: 0,
|
|
1735
|
-
lines: []
|
|
1736
|
-
};
|
|
1737
|
-
mergeLines(mergedHunk, mineCurrent.oldStart, mineCurrent.lines, theirsCurrent.oldStart, theirsCurrent.lines);
|
|
1738
|
-
theirsIndex++;
|
|
1739
|
-
mineIndex++;
|
|
1740
|
-
ret.hunks.push(mergedHunk);
|
|
1741
|
-
}
|
|
1742
|
-
}
|
|
1743
|
-
return ret;
|
|
1744
|
-
}
|
|
1745
|
-
function loadPatch(param, base) {
|
|
1746
|
-
if (typeof param === 'string') {
|
|
1747
|
-
if (/^@@/m.test(param) || /^Index:/m.test(param)) {
|
|
1748
|
-
return parsePatch(param)[0];
|
|
1749
|
-
}
|
|
1750
|
-
if (!base) {
|
|
1751
|
-
throw new Error('Must provide a base reference or pass in a patch');
|
|
1752
|
-
}
|
|
1753
|
-
return structuredPatch(undefined, undefined, base, param);
|
|
1754
|
-
}
|
|
1755
|
-
return param;
|
|
1756
|
-
}
|
|
1757
|
-
function fileNameChanged(patch) {
|
|
1758
|
-
return patch.newFileName && patch.newFileName !== patch.oldFileName;
|
|
1759
|
-
}
|
|
1760
|
-
function selectField(index, mine, theirs) {
|
|
1761
|
-
if (mine === theirs) {
|
|
1762
|
-
return mine;
|
|
1763
|
-
} else {
|
|
1764
|
-
index.conflict = true;
|
|
1765
|
-
return {
|
|
1766
|
-
mine: mine,
|
|
1767
|
-
theirs: theirs
|
|
1768
|
-
};
|
|
1769
|
-
}
|
|
1770
|
-
}
|
|
1771
|
-
function hunkBefore(test, check) {
|
|
1772
|
-
return test.oldStart < check.oldStart && test.oldStart + test.oldLines < check.oldStart;
|
|
1773
|
-
}
|
|
1774
|
-
function cloneHunk(hunk, offset) {
|
|
1775
|
-
return {
|
|
1776
|
-
oldStart: hunk.oldStart,
|
|
1777
|
-
oldLines: hunk.oldLines,
|
|
1778
|
-
newStart: hunk.newStart + offset,
|
|
1779
|
-
newLines: hunk.newLines,
|
|
1780
|
-
lines: hunk.lines
|
|
1781
|
-
};
|
|
1782
|
-
}
|
|
1783
|
-
function mergeLines(hunk, mineOffset, mineLines, theirOffset, theirLines) {
|
|
1784
|
-
// This will generally result in a conflicted hunk, but there are cases where the context
|
|
1785
|
-
// is the only overlap where we can successfully merge the content here.
|
|
1786
|
-
var mine = {
|
|
1787
|
-
offset: mineOffset,
|
|
1788
|
-
lines: mineLines,
|
|
1789
|
-
index: 0
|
|
1790
|
-
},
|
|
1791
|
-
their = {
|
|
1792
|
-
offset: theirOffset,
|
|
1793
|
-
lines: theirLines,
|
|
1794
|
-
index: 0
|
|
1795
|
-
};
|
|
1796
|
-
|
|
1797
|
-
// Handle any leading content
|
|
1798
|
-
insertLeading(hunk, mine, their);
|
|
1799
|
-
insertLeading(hunk, their, mine);
|
|
1800
|
-
|
|
1801
|
-
// Now in the overlap content. Scan through and select the best changes from each.
|
|
1802
|
-
while (mine.index < mine.lines.length && their.index < their.lines.length) {
|
|
1803
|
-
var mineCurrent = mine.lines[mine.index],
|
|
1804
|
-
theirCurrent = their.lines[their.index];
|
|
1805
|
-
if ((mineCurrent[0] === '-' || mineCurrent[0] === '+') && (theirCurrent[0] === '-' || theirCurrent[0] === '+')) {
|
|
1806
|
-
// Both modified ...
|
|
1807
|
-
mutualChange(hunk, mine, their);
|
|
1808
|
-
} else if (mineCurrent[0] === '+' && theirCurrent[0] === ' ') {
|
|
1809
|
-
var _hunk$lines;
|
|
1810
|
-
// Mine inserted
|
|
1811
|
-
(_hunk$lines = hunk.lines).push.apply(_hunk$lines, _toConsumableArray(collectChange(mine)));
|
|
1812
|
-
} else if (theirCurrent[0] === '+' && mineCurrent[0] === ' ') {
|
|
1813
|
-
var _hunk$lines2;
|
|
1814
|
-
// Theirs inserted
|
|
1815
|
-
(_hunk$lines2 = hunk.lines).push.apply(_hunk$lines2, _toConsumableArray(collectChange(their)));
|
|
1816
|
-
} else if (mineCurrent[0] === '-' && theirCurrent[0] === ' ') {
|
|
1817
|
-
// Mine removed or edited
|
|
1818
|
-
removal(hunk, mine, their);
|
|
1819
|
-
} else if (theirCurrent[0] === '-' && mineCurrent[0] === ' ') {
|
|
1820
|
-
// Their removed or edited
|
|
1821
|
-
removal(hunk, their, mine, true);
|
|
1822
|
-
} else if (mineCurrent === theirCurrent) {
|
|
1823
|
-
// Context identity
|
|
1824
|
-
hunk.lines.push(mineCurrent);
|
|
1825
|
-
mine.index++;
|
|
1826
|
-
their.index++;
|
|
1827
|
-
} else {
|
|
1828
|
-
// Context mismatch
|
|
1829
|
-
conflict(hunk, collectChange(mine), collectChange(their));
|
|
1830
|
-
}
|
|
1831
|
-
}
|
|
1832
|
-
|
|
1833
|
-
// Now push anything that may be remaining
|
|
1834
|
-
insertTrailing(hunk, mine);
|
|
1835
|
-
insertTrailing(hunk, their);
|
|
1836
|
-
calcLineCount(hunk);
|
|
1837
|
-
}
|
|
1838
|
-
function mutualChange(hunk, mine, their) {
|
|
1839
|
-
var myChanges = collectChange(mine),
|
|
1840
|
-
theirChanges = collectChange(their);
|
|
1841
|
-
if (allRemoves(myChanges) && allRemoves(theirChanges)) {
|
|
1842
|
-
// Special case for remove changes that are supersets of one another
|
|
1843
|
-
if (arrayStartsWith(myChanges, theirChanges) && skipRemoveSuperset(their, myChanges, myChanges.length - theirChanges.length)) {
|
|
1844
|
-
var _hunk$lines3;
|
|
1845
|
-
(_hunk$lines3 = hunk.lines).push.apply(_hunk$lines3, _toConsumableArray(myChanges));
|
|
1846
|
-
return;
|
|
1847
|
-
} else if (arrayStartsWith(theirChanges, myChanges) && skipRemoveSuperset(mine, theirChanges, theirChanges.length - myChanges.length)) {
|
|
1848
|
-
var _hunk$lines4;
|
|
1849
|
-
(_hunk$lines4 = hunk.lines).push.apply(_hunk$lines4, _toConsumableArray(theirChanges));
|
|
1850
|
-
return;
|
|
1851
|
-
}
|
|
1852
|
-
} else if (arrayEqual(myChanges, theirChanges)) {
|
|
1853
|
-
var _hunk$lines5;
|
|
1854
|
-
(_hunk$lines5 = hunk.lines).push.apply(_hunk$lines5, _toConsumableArray(myChanges));
|
|
1855
|
-
return;
|
|
1856
|
-
}
|
|
1857
|
-
conflict(hunk, myChanges, theirChanges);
|
|
1858
|
-
}
|
|
1859
|
-
function removal(hunk, mine, their, swap) {
|
|
1860
|
-
var myChanges = collectChange(mine),
|
|
1861
|
-
theirChanges = collectContext(their, myChanges);
|
|
1862
|
-
if (theirChanges.merged) {
|
|
1863
|
-
var _hunk$lines6;
|
|
1864
|
-
(_hunk$lines6 = hunk.lines).push.apply(_hunk$lines6, _toConsumableArray(theirChanges.merged));
|
|
1865
|
-
} else {
|
|
1866
|
-
conflict(hunk, swap ? theirChanges : myChanges, swap ? myChanges : theirChanges);
|
|
1867
|
-
}
|
|
1868
|
-
}
|
|
1869
|
-
function conflict(hunk, mine, their) {
|
|
1870
|
-
hunk.conflict = true;
|
|
1871
|
-
hunk.lines.push({
|
|
1872
|
-
conflict: true,
|
|
1873
|
-
mine: mine,
|
|
1874
|
-
theirs: their
|
|
1875
|
-
});
|
|
1876
|
-
}
|
|
1877
|
-
function insertLeading(hunk, insert, their) {
|
|
1878
|
-
while (insert.offset < their.offset && insert.index < insert.lines.length) {
|
|
1879
|
-
var line = insert.lines[insert.index++];
|
|
1880
|
-
hunk.lines.push(line);
|
|
1881
|
-
insert.offset++;
|
|
1882
|
-
}
|
|
1883
|
-
}
|
|
1884
|
-
function insertTrailing(hunk, insert) {
|
|
1885
|
-
while (insert.index < insert.lines.length) {
|
|
1886
|
-
var line = insert.lines[insert.index++];
|
|
1887
|
-
hunk.lines.push(line);
|
|
1888
|
-
}
|
|
1889
|
-
}
|
|
1890
|
-
function collectChange(state) {
|
|
1891
|
-
var ret = [],
|
|
1892
|
-
operation = state.lines[state.index][0];
|
|
1893
|
-
while (state.index < state.lines.length) {
|
|
1894
|
-
var line = state.lines[state.index];
|
|
1895
|
-
|
|
1896
|
-
// Group additions that are immediately after subtractions and treat them as one "atomic" modify change.
|
|
1897
|
-
if (operation === '-' && line[0] === '+') {
|
|
1898
|
-
operation = '+';
|
|
1899
|
-
}
|
|
1900
|
-
if (operation === line[0]) {
|
|
1901
|
-
ret.push(line);
|
|
1902
|
-
state.index++;
|
|
1903
|
-
} else {
|
|
1904
|
-
break;
|
|
1905
|
-
}
|
|
1906
|
-
}
|
|
1907
|
-
return ret;
|
|
1908
|
-
}
|
|
1909
|
-
function collectContext(state, matchChanges) {
|
|
1910
|
-
var changes = [],
|
|
1911
|
-
merged = [],
|
|
1912
|
-
matchIndex = 0,
|
|
1913
|
-
contextChanges = false,
|
|
1914
|
-
conflicted = false;
|
|
1915
|
-
while (matchIndex < matchChanges.length && state.index < state.lines.length) {
|
|
1916
|
-
var change = state.lines[state.index],
|
|
1917
|
-
match = matchChanges[matchIndex];
|
|
1918
|
-
|
|
1919
|
-
// Once we've hit our add, then we are done
|
|
1920
|
-
if (match[0] === '+') {
|
|
1921
|
-
break;
|
|
1922
|
-
}
|
|
1923
|
-
contextChanges = contextChanges || change[0] !== ' ';
|
|
1924
|
-
merged.push(match);
|
|
1925
|
-
matchIndex++;
|
|
1926
|
-
|
|
1927
|
-
// Consume any additions in the other block as a conflict to attempt
|
|
1928
|
-
// to pull in the remaining context after this
|
|
1929
|
-
if (change[0] === '+') {
|
|
1930
|
-
conflicted = true;
|
|
1931
|
-
while (change[0] === '+') {
|
|
1932
|
-
changes.push(change);
|
|
1933
|
-
change = state.lines[++state.index];
|
|
1934
|
-
}
|
|
1935
|
-
}
|
|
1936
|
-
if (match.substr(1) === change.substr(1)) {
|
|
1937
|
-
changes.push(change);
|
|
1938
|
-
state.index++;
|
|
1939
|
-
} else {
|
|
1940
|
-
conflicted = true;
|
|
1941
|
-
}
|
|
1942
|
-
}
|
|
1943
|
-
if ((matchChanges[matchIndex] || '')[0] === '+' && contextChanges) {
|
|
1944
|
-
conflicted = true;
|
|
1945
|
-
}
|
|
1946
|
-
if (conflicted) {
|
|
1947
|
-
return changes;
|
|
1948
|
-
}
|
|
1949
|
-
while (matchIndex < matchChanges.length) {
|
|
1950
|
-
merged.push(matchChanges[matchIndex++]);
|
|
1951
|
-
}
|
|
1952
|
-
return {
|
|
1953
|
-
merged: merged,
|
|
1954
|
-
changes: changes
|
|
1955
|
-
};
|
|
1956
|
-
}
|
|
1957
|
-
function allRemoves(changes) {
|
|
1958
|
-
return changes.reduce(function (prev, change) {
|
|
1959
|
-
return prev && change[0] === '-';
|
|
1960
|
-
}, true);
|
|
1961
|
-
}
|
|
1962
|
-
function skipRemoveSuperset(state, removeChanges, delta) {
|
|
1963
|
-
for (var i = 0; i < delta; i++) {
|
|
1964
|
-
var changeContent = removeChanges[removeChanges.length - delta + i].substr(1);
|
|
1965
|
-
if (state.lines[state.index + i] !== ' ' + changeContent) {
|
|
1966
|
-
return false;
|
|
1967
|
-
}
|
|
1968
|
-
}
|
|
1969
|
-
state.index += delta;
|
|
1970
|
-
return true;
|
|
1971
|
-
}
|
|
1972
|
-
function calcOldNewLineCount(lines) {
|
|
1973
|
-
var oldLines = 0;
|
|
1974
|
-
var newLines = 0;
|
|
1975
|
-
lines.forEach(function (line) {
|
|
1976
|
-
if (typeof line !== 'string') {
|
|
1977
|
-
var myCount = calcOldNewLineCount(line.mine);
|
|
1978
|
-
var theirCount = calcOldNewLineCount(line.theirs);
|
|
1979
|
-
if (oldLines !== undefined) {
|
|
1980
|
-
if (myCount.oldLines === theirCount.oldLines) {
|
|
1981
|
-
oldLines += myCount.oldLines;
|
|
1982
|
-
} else {
|
|
1983
|
-
oldLines = undefined;
|
|
1984
|
-
}
|
|
1985
|
-
}
|
|
1986
|
-
if (newLines !== undefined) {
|
|
1987
|
-
if (myCount.newLines === theirCount.newLines) {
|
|
1988
|
-
newLines += myCount.newLines;
|
|
1989
|
-
} else {
|
|
1990
|
-
newLines = undefined;
|
|
1991
|
-
}
|
|
1992
|
-
}
|
|
1993
|
-
} else {
|
|
1994
|
-
if (newLines !== undefined && (line[0] === '+' || line[0] === ' ')) {
|
|
1995
|
-
newLines++;
|
|
1996
|
-
}
|
|
1997
|
-
if (oldLines !== undefined && (line[0] === '-' || line[0] === ' ')) {
|
|
1998
|
-
oldLines++;
|
|
1999
|
-
}
|
|
2000
|
-
}
|
|
2001
|
-
});
|
|
2002
|
-
return {
|
|
2003
|
-
oldLines: oldLines,
|
|
2004
|
-
newLines: newLines
|
|
2005
|
-
};
|
|
2006
|
-
}
|
|
2007
|
-
|
|
2008
|
-
function reversePatch(structuredPatch) {
|
|
2009
|
-
if (Array.isArray(structuredPatch)) {
|
|
2010
|
-
return structuredPatch.map(reversePatch).reverse();
|
|
2011
|
-
}
|
|
2012
|
-
return _objectSpread2(_objectSpread2({}, structuredPatch), {}, {
|
|
2013
|
-
oldFileName: structuredPatch.newFileName,
|
|
2014
|
-
oldHeader: structuredPatch.newHeader,
|
|
2015
|
-
newFileName: structuredPatch.oldFileName,
|
|
2016
|
-
newHeader: structuredPatch.oldHeader,
|
|
2017
|
-
hunks: structuredPatch.hunks.map(function (hunk) {
|
|
2018
|
-
return {
|
|
2019
|
-
oldLines: hunk.newLines,
|
|
2020
|
-
oldStart: hunk.newStart,
|
|
2021
|
-
newLines: hunk.oldLines,
|
|
2022
|
-
newStart: hunk.oldStart,
|
|
2023
|
-
lines: hunk.lines.map(function (l) {
|
|
2024
|
-
if (l.startsWith('-')) {
|
|
2025
|
-
return "+".concat(l.slice(1));
|
|
2026
|
-
}
|
|
2027
|
-
if (l.startsWith('+')) {
|
|
2028
|
-
return "-".concat(l.slice(1));
|
|
2029
|
-
}
|
|
2030
|
-
return l;
|
|
2031
|
-
})
|
|
2032
|
-
};
|
|
2033
|
-
})
|
|
2034
|
-
});
|
|
2035
|
-
}
|
|
2036
|
-
|
|
2037
|
-
// See: http://code.google.com/p/google-diff-match-patch/wiki/API
|
|
2038
|
-
function convertChangesToDMP(changes) {
|
|
2039
|
-
var ret = [],
|
|
2040
|
-
change,
|
|
2041
|
-
operation;
|
|
2042
|
-
for (var i = 0; i < changes.length; i++) {
|
|
2043
|
-
change = changes[i];
|
|
2044
|
-
if (change.added) {
|
|
2045
|
-
operation = 1;
|
|
2046
|
-
} else if (change.removed) {
|
|
2047
|
-
operation = -1;
|
|
2048
|
-
} else {
|
|
2049
|
-
operation = 0;
|
|
2050
|
-
}
|
|
2051
|
-
ret.push([operation, change.value]);
|
|
2052
|
-
}
|
|
2053
|
-
return ret;
|
|
2054
|
-
}
|
|
2055
|
-
|
|
2056
|
-
function convertChangesToXML(changes) {
|
|
2057
|
-
var ret = [];
|
|
2058
|
-
for (var i = 0; i < changes.length; i++) {
|
|
2059
|
-
var change = changes[i];
|
|
2060
|
-
if (change.added) {
|
|
2061
|
-
ret.push('<ins>');
|
|
2062
|
-
} else if (change.removed) {
|
|
2063
|
-
ret.push('<del>');
|
|
2064
|
-
}
|
|
2065
|
-
ret.push(escapeHTML(change.value));
|
|
2066
|
-
if (change.added) {
|
|
2067
|
-
ret.push('</ins>');
|
|
2068
|
-
} else if (change.removed) {
|
|
2069
|
-
ret.push('</del>');
|
|
2070
|
-
}
|
|
2071
|
-
}
|
|
2072
|
-
return ret.join('');
|
|
2073
|
-
}
|
|
2074
|
-
function escapeHTML(s) {
|
|
2075
|
-
var n = s;
|
|
2076
|
-
n = n.replace(/&/g, '&');
|
|
2077
|
-
n = n.replace(/</g, '<');
|
|
2078
|
-
n = n.replace(/>/g, '>');
|
|
2079
|
-
n = n.replace(/"/g, '"');
|
|
2080
|
-
return n;
|
|
2081
|
-
}
|
|
2082
|
-
|
|
2083
|
-
exports.Diff = Diff;
|
|
2084
|
-
exports.applyPatch = applyPatch;
|
|
2085
|
-
exports.applyPatches = applyPatches;
|
|
2086
|
-
exports.canonicalize = canonicalize;
|
|
2087
|
-
exports.convertChangesToDMP = convertChangesToDMP;
|
|
2088
|
-
exports.convertChangesToXML = convertChangesToXML;
|
|
2089
|
-
exports.createPatch = createPatch;
|
|
2090
|
-
exports.createTwoFilesPatch = createTwoFilesPatch;
|
|
2091
|
-
exports.diffArrays = diffArrays;
|
|
2092
|
-
exports.diffChars = diffChars;
|
|
2093
|
-
exports.diffCss = diffCss;
|
|
2094
|
-
exports.diffJson = diffJson;
|
|
2095
|
-
exports.diffLines = diffLines;
|
|
2096
|
-
exports.diffSentences = diffSentences;
|
|
2097
|
-
exports.diffTrimmedLines = diffTrimmedLines;
|
|
2098
|
-
exports.diffWords = diffWords;
|
|
2099
|
-
exports.diffWordsWithSpace = diffWordsWithSpace;
|
|
2100
|
-
exports.formatPatch = formatPatch;
|
|
2101
|
-
exports.merge = merge;
|
|
2102
|
-
exports.parsePatch = parsePatch;
|
|
2103
|
-
exports.reversePatch = reversePatch;
|
|
2104
|
-
exports.structuredPatch = structuredPatch;
|
|
2105
|
-
|
|
2106
|
-
}));
|