agentic-flow 1.10.2 → 2.0.0-alpha
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 +135 -27
- package/README.md +835 -494
- package/agentic-flow/CHANGELOG.md +42 -0
- package/agentic-flow/README.md +874 -0
- package/agentic-flow/dist/agentdb/index.d.ts.map +1 -0
- package/agentic-flow/dist/agentdb/index.js +33 -0
- package/agentic-flow/dist/agentdb/index.js.map +1 -0
- package/agentic-flow/dist/billing/cli.d.ts.map +1 -0
- package/agentic-flow/dist/billing/cli.js +350 -0
- package/agentic-flow/dist/billing/cli.js.map +1 -0
- package/agentic-flow/dist/billing/coupons/manager.d.ts.map +1 -0
- package/agentic-flow/dist/billing/coupons/manager.js +171 -0
- package/agentic-flow/dist/billing/coupons/manager.js.map +1 -0
- package/agentic-flow/dist/billing/index.d.ts.map +1 -0
- package/agentic-flow/dist/billing/index.js +205 -0
- package/agentic-flow/dist/billing/index.js.map +1 -0
- package/agentic-flow/dist/billing/mcp/tools.d.ts.map +1 -0
- package/agentic-flow/dist/billing/mcp/tools.js +238 -0
- package/agentic-flow/dist/billing/mcp/tools.js.map +1 -0
- package/agentic-flow/dist/billing/metering/engine.d.ts.map +1 -0
- package/agentic-flow/dist/billing/metering/engine.js +260 -0
- package/agentic-flow/dist/billing/metering/engine.js.map +1 -0
- package/agentic-flow/dist/billing/payments/processor.d.ts.map +1 -0
- package/agentic-flow/dist/billing/payments/processor.js +158 -0
- package/agentic-flow/dist/billing/payments/processor.js.map +1 -0
- package/agentic-flow/dist/billing/pricing/tiers.d.ts.map +1 -0
- package/agentic-flow/dist/billing/pricing/tiers.js +252 -0
- package/agentic-flow/dist/billing/pricing/tiers.js.map +1 -0
- package/agentic-flow/dist/billing/storage/adapters.d.ts.map +1 -0
- package/agentic-flow/dist/billing/storage/adapters.js +351 -0
- package/agentic-flow/dist/billing/storage/adapters.js.map +1 -0
- package/agentic-flow/dist/billing/subscriptions/manager.d.ts.map +1 -0
- package/agentic-flow/dist/billing/subscriptions/manager.js +273 -0
- package/agentic-flow/dist/billing/subscriptions/manager.js.map +1 -0
- package/agentic-flow/dist/billing/types.d.ts.map +1 -0
- package/agentic-flow/dist/billing/types.js +78 -0
- package/agentic-flow/dist/billing/types.js.map +1 -0
- package/agentic-flow/dist/coordination/attention-coordinator.d.ts.map +1 -0
- package/agentic-flow/dist/coordination/attention-coordinator.js +361 -0
- package/agentic-flow/dist/coordination/attention-coordinator.js.map +1 -0
- package/agentic-flow/dist/coordination/index.d.ts.map +1 -0
- package/agentic-flow/dist/coordination/index.js +5 -0
- package/agentic-flow/dist/coordination/index.js.map +1 -0
- package/agentic-flow/dist/core/agentdb-wrapper-enhanced.d.ts.map +1 -0
- package/agentic-flow/dist/core/agentdb-wrapper-enhanced.js +717 -0
- package/agentic-flow/dist/core/agentdb-wrapper-enhanced.js.map +1 -0
- package/agentic-flow/dist/core/agentdb-wrapper.d.ts.map +1 -0
- package/agentic-flow/dist/core/agentdb-wrapper.js +380 -0
- package/agentic-flow/dist/core/agentdb-wrapper.js.map +1 -0
- package/agentic-flow/dist/core/index.d.ts.map +1 -0
- package/agentic-flow/dist/core/index.js +6 -0
- package/agentic-flow/dist/core/index.js.map +1 -0
- package/agentic-flow/dist/types/agentdb.d.ts.map +1 -0
- package/agentic-flow/dist/types/agentdb.js +49 -0
- package/agentic-flow/dist/types/agentdb.js.map +1 -0
- package/agentic-flow/docs/LICENSE +21 -0
- package/agentic-flow/docs/README.md +217 -0
- package/docs/AGENTIC_JUJUTSU_QUICKSTART.md +491 -0
- package/docs/README.md +84 -209
- package/package.json +141 -63
- package/packages/agentic-jujutsu/.cargo/config.toml +14 -0
- package/packages/agentic-jujutsu/.claude-flow/metrics/agent-metrics.json +1 -0
- package/packages/agentic-jujutsu/.claude-flow/metrics/performance.json +87 -0
- package/packages/agentic-jujutsu/.claude-flow/metrics/task-metrics.json +10 -0
- package/packages/agentic-jujutsu/BUILD.md +292 -0
- package/packages/agentic-jujutsu/CHANGELOG.md +143 -0
- package/packages/agentic-jujutsu/CHANGELOG_v2.2.0.md +203 -0
- package/packages/agentic-jujutsu/CRATE_README.md +269 -0
- package/packages/agentic-jujutsu/Dockerfile +8 -0
- package/packages/agentic-jujutsu/Dockerfile.test +81 -0
- package/packages/agentic-jujutsu/FUNCTIONALITY_VERIFICATION.md +377 -0
- package/packages/agentic-jujutsu/LICENSE +21 -0
- package/packages/agentic-jujutsu/NAPI_CI_CD_FILES.txt +162 -0
- package/packages/agentic-jujutsu/QUANTUM_INTEGRATION_SUMMARY.txt +67 -0
- package/packages/agentic-jujutsu/README.md +2248 -0
- package/packages/agentic-jujutsu/README_QUANTUM_INTEGRATION.md +195 -0
- 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 +403 -0
- package/packages/agentic-jujutsu/benchmarks/docker/.env.example +24 -0
- package/packages/agentic-jujutsu/benchmarks/docker/Dockerfile.git +55 -0
- package/packages/agentic-jujutsu/benchmarks/docker/Dockerfile.jujutsu +67 -0
- package/packages/agentic-jujutsu/benchmarks/docker/Dockerfile.swarm-coordinator +45 -0
- package/packages/agentic-jujutsu/benchmarks/docker/config/prometheus.yml +20 -0
- package/packages/agentic-jujutsu/benchmarks/docker/docker-compose.yml +152 -0
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/collect-metrics.sh +143 -0
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/generate-reports.sh +150 -0
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/run-benchmarks.sh +80 -0
- package/packages/agentic-jujutsu/benchmarks/docker/scripts/setup-repos.sh +88 -0
- package/packages/agentic-jujutsu/benchmarks/docker/tests/concurrent-commits.sh +111 -0
- package/packages/agentic-jujutsu/benchmarks/docker/tests/conflict-resolution.sh +239 -0
- package/packages/agentic-jujutsu/bin/cli.js +286 -0
- package/packages/agentic-jujutsu/bin/mcp-server.js +20 -0
- package/packages/agentic-jujutsu/build.rs +134 -0
- package/packages/agentic-jujutsu/check-methods.js +26 -0
- package/packages/agentic-jujutsu/helpers/encryption.js +234 -0
- package/packages/agentic-jujutsu/index.d.ts +853 -0
- package/packages/agentic-jujutsu/index.js +321 -0
- package/packages/agentic-jujutsu/node_modules/.package-lock.json +1135 -0
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/LICENSE.txt +14 -0
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/README.md +143 -0
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/build/index.cjs +317 -0
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/build/index.d.cts +43 -0
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/build/lib/index.js +302 -0
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/index.mjs +14 -0
- package/packages/agentic-jujutsu/node_modules/@isaacs/cliui/package.json +86 -0
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/README.md +96 -0
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/package.json +65 -0
- package/packages/agentic-jujutsu/node_modules/@napi-rs/cli/scripts/index.js +51371 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/.editorconfig +14 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/CHANGELOG.md +147 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/LICENSE +201 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/README.md +413 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/is-default-value.js +25 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/limit-long-syntax.js +35 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/negate.js +43 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/no-repeated-options.js +31 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/ordered-options.mjs +41 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/examples/simple-hard-coded.js +26 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/index.js +396 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/errors.js +47 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/primordials.js +393 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/util.js +14 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/internal/validators.js +89 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/package.json +36 -0
- package/packages/agentic-jujutsu/node_modules/@pkgjs/parseargs/utils.js +198 -0
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/README.md +209 -0
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/index.d.ts +545 -0
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/index.js +328 -0
- package/packages/agentic-jujutsu/node_modules/@qudag/napi-core/package.json +58 -0
- 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 +38 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/README.md +15 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/assert/strict.d.ts +8 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/assert.d.ts +1062 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/async_hooks.d.ts +605 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/buffer.buffer.d.ts +471 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/buffer.d.ts +1936 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/child_process.d.ts +1475 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/cluster.d.ts +577 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/disposable.d.ts +16 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/index.d.ts +9 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/indexable.d.ts +20 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/compatibility/iterators.d.ts +21 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/console.d.ts +452 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/constants.d.ts +21 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/crypto.d.ts +4590 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/dgram.d.ts +597 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/diagnostics_channel.d.ts +578 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/dns/promises.d.ts +479 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/dns.d.ts +871 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/domain.d.ts +170 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/events.d.ts +977 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/fs/promises.d.ts +1270 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/fs.d.ts +4375 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/globals.d.ts +172 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/globals.typedarray.d.ts +38 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/http.d.ts +2049 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/http2.d.ts +2631 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/https.d.ts +578 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/index.d.ts +93 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/inspector.generated.d.ts +3966 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/module.d.ts +539 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/net.d.ts +1012 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/os.d.ts +506 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/package.json +140 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/path.d.ts +200 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/perf_hooks.d.ts +961 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/process.d.ts +1945 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/punycode.d.ts +117 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/querystring.d.ts +152 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/readline/promises.d.ts +162 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/readline.d.ts +589 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/repl.d.ts +430 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/sea.d.ts +153 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/stream/consumers.d.ts +38 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/stream/promises.d.ts +90 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/stream/web.d.ts +533 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/stream.d.ts +1675 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/string_decoder.d.ts +67 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/test.d.ts +1787 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/timers/promises.d.ts +108 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/timers.d.ts +286 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/tls.d.ts +1255 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/trace_events.d.ts +197 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +468 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +34 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/ts5.6/index.d.ts +93 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/tty.d.ts +208 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/url.d.ts +964 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/util.d.ts +2331 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/v8.d.ts +809 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/vm.d.ts +1001 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/wasi.d.ts +181 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/abortcontroller.d.ts +34 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/domexception.d.ts +68 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/events.d.ts +97 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/web-globals/fetch.d.ts +46 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/worker_threads.d.ts +715 -0
- package/packages/agentic-jujutsu/node_modules/@types/node/zlib.d.ts +540 -0
- package/packages/agentic-jujutsu/node_modules/ansi-regex/index.d.ts +33 -0
- package/packages/agentic-jujutsu/node_modules/ansi-regex/index.js +14 -0
- package/packages/agentic-jujutsu/node_modules/ansi-regex/license +9 -0
- package/packages/agentic-jujutsu/node_modules/ansi-regex/package.json +61 -0
- package/packages/agentic-jujutsu/node_modules/ansi-regex/readme.md +66 -0
- package/packages/agentic-jujutsu/node_modules/ansi-styles/index.d.ts +345 -0
- package/packages/agentic-jujutsu/node_modules/ansi-styles/index.js +163 -0
- package/packages/agentic-jujutsu/node_modules/ansi-styles/license +9 -0
- package/packages/agentic-jujutsu/node_modules/ansi-styles/package.json +56 -0
- package/packages/agentic-jujutsu/node_modules/ansi-styles/readme.md +152 -0
- package/packages/agentic-jujutsu/node_modules/argparse/CHANGELOG.md +216 -0
- package/packages/agentic-jujutsu/node_modules/argparse/LICENSE +254 -0
- package/packages/agentic-jujutsu/node_modules/argparse/README.md +84 -0
- package/packages/agentic-jujutsu/node_modules/argparse/argparse.js +3707 -0
- package/packages/agentic-jujutsu/node_modules/argparse/lib/sub.js +67 -0
- package/packages/agentic-jujutsu/node_modules/argparse/lib/textwrap.js +440 -0
- package/packages/agentic-jujutsu/node_modules/argparse/package.json +31 -0
- package/packages/agentic-jujutsu/node_modules/balanced-match/.github/FUNDING.yml +2 -0
- package/packages/agentic-jujutsu/node_modules/balanced-match/LICENSE.md +21 -0
- package/packages/agentic-jujutsu/node_modules/balanced-match/README.md +97 -0
- package/packages/agentic-jujutsu/node_modules/balanced-match/index.js +62 -0
- package/packages/agentic-jujutsu/node_modules/balanced-match/package.json +48 -0
- package/packages/agentic-jujutsu/node_modules/brace-expansion/.github/FUNDING.yml +2 -0
- package/packages/agentic-jujutsu/node_modules/brace-expansion/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/brace-expansion/README.md +135 -0
- package/packages/agentic-jujutsu/node_modules/brace-expansion/index.js +203 -0
- package/packages/agentic-jujutsu/node_modules/brace-expansion/package.json +49 -0
- package/packages/agentic-jujutsu/node_modules/browser-stdout/LICENSE +5 -0
- package/packages/agentic-jujutsu/node_modules/browser-stdout/README.md +40 -0
- package/packages/agentic-jujutsu/node_modules/browser-stdout/index.js +25 -0
- package/packages/agentic-jujutsu/node_modules/browser-stdout/package.json +15 -0
- package/packages/agentic-jujutsu/node_modules/camelcase/index.d.ts +103 -0
- package/packages/agentic-jujutsu/node_modules/camelcase/index.js +113 -0
- package/packages/agentic-jujutsu/node_modules/camelcase/license +9 -0
- package/packages/agentic-jujutsu/node_modules/camelcase/package.json +44 -0
- package/packages/agentic-jujutsu/node_modules/camelcase/readme.md +144 -0
- package/packages/agentic-jujutsu/node_modules/chalk/index.d.ts +415 -0
- package/packages/agentic-jujutsu/node_modules/chalk/license +9 -0
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/browser.js +5 -0
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/index.js +135 -0
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/license +9 -0
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/package.json +53 -0
- package/packages/agentic-jujutsu/node_modules/chalk/node_modules/supports-color/readme.md +76 -0
- package/packages/agentic-jujutsu/node_modules/chalk/package.json +68 -0
- package/packages/agentic-jujutsu/node_modules/chalk/readme.md +341 -0
- package/packages/agentic-jujutsu/node_modules/chalk/source/index.js +229 -0
- package/packages/agentic-jujutsu/node_modules/chalk/source/templates.js +134 -0
- package/packages/agentic-jujutsu/node_modules/chalk/source/util.js +39 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/README.md +305 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/handler.d.ts +90 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/handler.js +629 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/index.d.ts +215 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/index.js +798 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/esm/package.json +1 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/handler.d.ts +90 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/handler.js +635 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/index.d.ts +215 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/index.js +804 -0
- package/packages/agentic-jujutsu/node_modules/chokidar/package.json +69 -0
- package/packages/agentic-jujutsu/node_modules/cliui/CHANGELOG.md +139 -0
- package/packages/agentic-jujutsu/node_modules/cliui/LICENSE.txt +14 -0
- package/packages/agentic-jujutsu/node_modules/cliui/README.md +141 -0
- package/packages/agentic-jujutsu/node_modules/cliui/build/index.cjs +302 -0
- package/packages/agentic-jujutsu/node_modules/cliui/build/index.d.cts +43 -0
- package/packages/agentic-jujutsu/node_modules/cliui/build/lib/index.js +287 -0
- package/packages/agentic-jujutsu/node_modules/cliui/build/lib/string-utils.js +27 -0
- package/packages/agentic-jujutsu/node_modules/cliui/index.mjs +13 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/index.d.ts +37 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/index.js +10 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/license +9 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/package.json +55 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/ansi-regex/readme.md +78 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/README.md +73 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/es2015/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/es2015/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/index.d.ts +23 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/package.json +50 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/emoji-regex/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/index.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/index.js +47 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/license +9 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/package.json +56 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/string-width/readme.md +50 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/index.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/index.js +4 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/license +9 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/strip-ansi/readme.md +46 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/index.js +216 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/license +9 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/package.json +62 -0
- package/packages/agentic-jujutsu/node_modules/cliui/node_modules/wrap-ansi/readme.md +91 -0
- package/packages/agentic-jujutsu/node_modules/cliui/package.json +83 -0
- package/packages/agentic-jujutsu/node_modules/color-convert/CHANGELOG.md +54 -0
- package/packages/agentic-jujutsu/node_modules/color-convert/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/color-convert/README.md +68 -0
- package/packages/agentic-jujutsu/node_modules/color-convert/conversions.js +839 -0
- package/packages/agentic-jujutsu/node_modules/color-convert/index.js +81 -0
- package/packages/agentic-jujutsu/node_modules/color-convert/package.json +48 -0
- package/packages/agentic-jujutsu/node_modules/color-convert/route.js +97 -0
- package/packages/agentic-jujutsu/node_modules/color-name/LICENSE +8 -0
- package/packages/agentic-jujutsu/node_modules/color-name/README.md +11 -0
- package/packages/agentic-jujutsu/node_modules/color-name/index.js +152 -0
- package/packages/agentic-jujutsu/node_modules/color-name/package.json +28 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/README.md +89 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/index.js +39 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/enoent.js +59 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/parse.js +91 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/util/escape.js +47 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/util/readShebang.js +23 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/lib/util/resolveCommand.js +52 -0
- package/packages/agentic-jujutsu/node_modules/cross-spawn/package.json +73 -0
- package/packages/agentic-jujutsu/node_modules/debug/LICENSE +20 -0
- package/packages/agentic-jujutsu/node_modules/debug/README.md +481 -0
- package/packages/agentic-jujutsu/node_modules/debug/package.json +64 -0
- package/packages/agentic-jujutsu/node_modules/debug/src/browser.js +272 -0
- package/packages/agentic-jujutsu/node_modules/debug/src/common.js +292 -0
- package/packages/agentic-jujutsu/node_modules/debug/src/index.js +10 -0
- package/packages/agentic-jujutsu/node_modules/debug/src/node.js +263 -0
- package/packages/agentic-jujutsu/node_modules/decamelize/index.d.ts +20 -0
- package/packages/agentic-jujutsu/node_modules/decamelize/index.js +12 -0
- package/packages/agentic-jujutsu/node_modules/decamelize/license +9 -0
- package/packages/agentic-jujutsu/node_modules/decamelize/package.json +40 -0
- package/packages/agentic-jujutsu/node_modules/decamelize/readme.md +51 -0
- package/packages/agentic-jujutsu/node_modules/diff/CONTRIBUTING.md +40 -0
- package/packages/agentic-jujutsu/node_modules/diff/LICENSE +29 -0
- package/packages/agentic-jujutsu/node_modules/diff/README.md +346 -0
- package/packages/agentic-jujutsu/node_modules/diff/dist/diff.js +2106 -0
- package/packages/agentic-jujutsu/node_modules/diff/dist/diff.min.js +37 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/convert/dmp.js +27 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/convert/xml.js +35 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/array.js +39 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/base.js +304 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/character.js +33 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/css.js +36 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/json.js +143 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/line.js +121 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/sentence.js +36 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/diff/word.js +543 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/index.es6.js +2041 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/index.js +217 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/index.mjs +2041 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/apply.js +393 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/create.js +369 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/line-endings.js +176 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/merge.js +535 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/parse.js +151 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/patch/reverse.js +58 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/array.js +27 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/distance-iterator.js +54 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/params.js +22 -0
- package/packages/agentic-jujutsu/node_modules/diff/lib/util/string.js +131 -0
- package/packages/agentic-jujutsu/node_modules/diff/package.json +88 -0
- package/packages/agentic-jujutsu/node_modules/diff/release-notes.md +361 -0
- package/packages/agentic-jujutsu/node_modules/diff/runtime.js +3 -0
- package/packages/agentic-jujutsu/node_modules/eastasianwidth/README.md +32 -0
- package/packages/agentic-jujutsu/node_modules/eastasianwidth/eastasianwidth.js +311 -0
- package/packages/agentic-jujutsu/node_modules/eastasianwidth/package.json +18 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/README.md +137 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/RGI_Emoji.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/RGI_Emoji.js +6 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/RGI_Emoji.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/RGI_Emoji.js +6 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/index.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/text.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/es2015/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/index.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/package.json +52 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/text.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/emoji-regex/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/escalade/dist/index.js +22 -0
- package/packages/agentic-jujutsu/node_modules/escalade/dist/index.mjs +22 -0
- package/packages/agentic-jujutsu/node_modules/escalade/index.d.mts +11 -0
- package/packages/agentic-jujutsu/node_modules/escalade/index.d.ts +15 -0
- package/packages/agentic-jujutsu/node_modules/escalade/license +9 -0
- package/packages/agentic-jujutsu/node_modules/escalade/package.json +74 -0
- package/packages/agentic-jujutsu/node_modules/escalade/readme.md +211 -0
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.d.mts +9 -0
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.d.ts +13 -0
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.js +18 -0
- package/packages/agentic-jujutsu/node_modules/escalade/sync/index.mjs +18 -0
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/index.d.ts +18 -0
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/index.js +13 -0
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/license +9 -0
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/package.json +38 -0
- package/packages/agentic-jujutsu/node_modules/escape-string-regexp/readme.md +34 -0
- package/packages/agentic-jujutsu/node_modules/find-up/index.d.ts +138 -0
- package/packages/agentic-jujutsu/node_modules/find-up/index.js +89 -0
- package/packages/agentic-jujutsu/node_modules/find-up/license +9 -0
- package/packages/agentic-jujutsu/node_modules/find-up/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/find-up/readme.md +151 -0
- package/packages/agentic-jujutsu/node_modules/flat/LICENSE +12 -0
- package/packages/agentic-jujutsu/node_modules/flat/README.md +236 -0
- package/packages/agentic-jujutsu/node_modules/flat/cli.js +42 -0
- package/packages/agentic-jujutsu/node_modules/flat/index.js +158 -0
- package/packages/agentic-jujutsu/node_modules/flat/package.json +37 -0
- package/packages/agentic-jujutsu/node_modules/flat/test/test.js +643 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/README.md +128 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.d.ts +2 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.js +58 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/all-signals.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.d.ts +58 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.js +123 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts +6 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.js +38 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/proxy-signals.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.d.ts +10 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.js +50 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/commonjs/watchdog.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.d.ts +2 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.js +52 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/all-signals.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.d.ts +58 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.js +115 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.d.ts +6 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.js +34 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/proxy-signals.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.d.ts +10 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.js +46 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/dist/esm/watchdog.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/foreground-child/package.json +106 -0
- package/packages/agentic-jujutsu/node_modules/get-caller-file/LICENSE.md +6 -0
- package/packages/agentic-jujutsu/node_modules/get-caller-file/README.md +41 -0
- package/packages/agentic-jujutsu/node_modules/get-caller-file/index.d.ts +2 -0
- package/packages/agentic-jujutsu/node_modules/get-caller-file/index.js +22 -0
- package/packages/agentic-jujutsu/node_modules/get-caller-file/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/get-caller-file/package.json +42 -0
- package/packages/agentic-jujutsu/node_modules/glob/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/glob/README.md +1265 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.js +68 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.d.mts +3 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.d.mts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.mjs +270 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/bin.mjs.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.d.ts +388 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.js +243 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.d.ts +24 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.js +115 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.js +55 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.d.ts +76 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.js +215 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.js +294 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.d.ts +97 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.js +381 -0
- package/packages/agentic-jujutsu/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/glob/package.json +99 -0
- package/packages/agentic-jujutsu/node_modules/has-flag/index.d.ts +39 -0
- package/packages/agentic-jujutsu/node_modules/has-flag/index.js +8 -0
- package/packages/agentic-jujutsu/node_modules/has-flag/license +9 -0
- package/packages/agentic-jujutsu/node_modules/has-flag/package.json +46 -0
- package/packages/agentic-jujutsu/node_modules/has-flag/readme.md +89 -0
- package/packages/agentic-jujutsu/node_modules/he/LICENSE-MIT.txt +20 -0
- package/packages/agentic-jujutsu/node_modules/he/README.md +379 -0
- package/packages/agentic-jujutsu/node_modules/he/bin/he +148 -0
- package/packages/agentic-jujutsu/node_modules/he/he.js +345 -0
- package/packages/agentic-jujutsu/node_modules/he/man/he.1 +78 -0
- package/packages/agentic-jujutsu/node_modules/he/package.json +58 -0
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/index.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/index.js +50 -0
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/license +9 -0
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/package.json +42 -0
- package/packages/agentic-jujutsu/node_modules/is-fullwidth-code-point/readme.md +39 -0
- package/packages/agentic-jujutsu/node_modules/is-path-inside/index.d.ts +27 -0
- package/packages/agentic-jujutsu/node_modules/is-path-inside/index.js +12 -0
- package/packages/agentic-jujutsu/node_modules/is-path-inside/license +9 -0
- package/packages/agentic-jujutsu/node_modules/is-path-inside/package.json +36 -0
- package/packages/agentic-jujutsu/node_modules/is-path-inside/readme.md +63 -0
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/index.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/index.js +10 -0
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/license +9 -0
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/package.json +38 -0
- package/packages/agentic-jujutsu/node_modules/is-plain-obj/readme.md +54 -0
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/index.d.ts +14 -0
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/index.js +13 -0
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/license +9 -0
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/package.json +41 -0
- package/packages/agentic-jujutsu/node_modules/is-unicode-supported/readme.md +35 -0
- package/packages/agentic-jujutsu/node_modules/isexe/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/isexe/README.md +51 -0
- package/packages/agentic-jujutsu/node_modules/isexe/index.js +57 -0
- package/packages/agentic-jujutsu/node_modules/isexe/mode.js +41 -0
- package/packages/agentic-jujutsu/node_modules/isexe/package.json +31 -0
- package/packages/agentic-jujutsu/node_modules/isexe/test/basic.js +221 -0
- package/packages/agentic-jujutsu/node_modules/isexe/windows.js +42 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/LICENSE.md +55 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/README.md +357 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.d.ts +315 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.js +1010 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args-cjs.cjs.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args-cjs.d.cts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args.d.ts +4 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/commonjs/parse-args.js +50 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.d.ts +315 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.js +1000 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.d.ts +4 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.js +26 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/dist/esm/parse-args.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/jackspeak/package.json +95 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/CHANGELOG.md +616 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/README.md +246 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/bin/js-yaml.js +126 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/dist/js-yaml.js +3874 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/dist/js-yaml.min.js +2 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/dist/js-yaml.mjs +3851 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/index.js +47 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/common.js +59 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/dumper.js +965 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/exception.js +55 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/loader.js +1727 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/core.js +11 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/default.js +22 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/failsafe.js +17 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema/json.js +19 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/schema.js +121 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/snippet.js +101 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/binary.js +125 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/bool.js +35 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/float.js +97 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/int.js +156 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/map.js +8 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/merge.js +12 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/null.js +35 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/omap.js +44 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/pairs.js +53 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/seq.js +8 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/set.js +29 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/str.js +8 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type/timestamp.js +88 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/lib/type.js +66 -0
- package/packages/agentic-jujutsu/node_modules/js-yaml/package.json +66 -0
- package/packages/agentic-jujutsu/node_modules/locate-path/index.d.ts +83 -0
- package/packages/agentic-jujutsu/node_modules/locate-path/index.js +68 -0
- package/packages/agentic-jujutsu/node_modules/locate-path/license +9 -0
- package/packages/agentic-jujutsu/node_modules/locate-path/package.json +46 -0
- package/packages/agentic-jujutsu/node_modules/locate-path/readme.md +125 -0
- package/packages/agentic-jujutsu/node_modules/log-symbols/browser.js +8 -0
- package/packages/agentic-jujutsu/node_modules/log-symbols/index.d.ts +25 -0
- package/packages/agentic-jujutsu/node_modules/log-symbols/index.js +19 -0
- package/packages/agentic-jujutsu/node_modules/log-symbols/license +9 -0
- package/packages/agentic-jujutsu/node_modules/log-symbols/package.json +52 -0
- package/packages/agentic-jujutsu/node_modules/log-symbols/readme.md +51 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/README.md +331 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.d.ts +1277 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.min.js +2 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/index.min.js.map +7 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.d.ts +1277 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.js +1542 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.min.js +2 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/index.min.js.map +7 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/lru-cache/package.json +116 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/README.md +454 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.js +592 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.d.ts +12 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.js +22 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.js +1017 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.js +24 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.js +588 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.d.ts +12 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.js +18 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.js +1001 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.js +20 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minimatch/package.json +82 -0
- package/packages/agentic-jujutsu/node_modules/minipass/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/minipass/README.md +825 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.d.ts +549 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.js +1028 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.d.ts +549 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.js +1018 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/minipass/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/minipass/package.json +82 -0
- package/packages/agentic-jujutsu/node_modules/mocha/LICENSE +22 -0
- package/packages/agentic-jujutsu/node_modules/mocha/README.md +74 -0
- package/packages/agentic-jujutsu/node_modules/mocha/bin/_mocha +10 -0
- package/packages/agentic-jujutsu/node_modules/mocha/bin/mocha.js +148 -0
- package/packages/agentic-jujutsu/node_modules/mocha/browser-entry.js +226 -0
- package/packages/agentic-jujutsu/node_modules/mocha/index.js +3 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/browser/highlight-tags.js +39 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/browser/parse-query.js +24 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/browser/template.html +20 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/cli.js +91 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/collect-files.js +114 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/commands.js +14 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/config.js +100 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/index.js +3 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/init.js +36 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/lookup-files.js +155 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/node-flags.js +85 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/one-and-dones.js +69 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/options.js +337 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/run-helpers.js +310 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/run-option-metadata.js +138 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/run.js +384 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/cli/watch-run.js +626 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/context.js +91 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/error-constants.js +123 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/errors.js +440 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/hook.js +89 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/bdd.js +118 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/common.js +198 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/exports.js +60 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/qunit.js +101 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/interfaces/tdd.js +110 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/mocha.js +1255 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/mocharc.json +10 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/buffered-worker-pool.js +194 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/esm-utils.js +158 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/file-unloader.js +15 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/parallel-buffered-runner.js +423 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/reporters/parallel-buffered.js +161 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/serializer.js +400 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/nodejs/worker.js +156 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/pending.js +16 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/plugin-loader.js +287 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/base.js +589 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/doc.js +100 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/dot.js +86 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/html.js +423 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/index.js +19 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/json-stream.js +93 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/json.js +167 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/landing.js +121 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/list.js +83 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/markdown.js +117 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/min.js +57 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/nyan.js +272 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/progress.js +109 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/spec.js +105 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/tap.js +298 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/reporters/xunit.js +232 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/runnable.js +476 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/runner.js +1307 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/stats-collector.js +73 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/suite.js +670 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/test.js +113 -0
- package/packages/agentic-jujutsu/node_modules/mocha/lib/utils.js +698 -0
- package/packages/agentic-jujutsu/node_modules/mocha/mocha.css +455 -0
- package/packages/agentic-jujutsu/node_modules/mocha/mocha.js +21606 -0
- package/packages/agentic-jujutsu/node_modules/mocha/mocha.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/mocha/package.json +223 -0
- package/packages/agentic-jujutsu/node_modules/ms/index.js +162 -0
- package/packages/agentic-jujutsu/node_modules/ms/license.md +21 -0
- package/packages/agentic-jujutsu/node_modules/ms/package.json +38 -0
- package/packages/agentic-jujutsu/node_modules/ms/readme.md +59 -0
- package/packages/agentic-jujutsu/node_modules/p-limit/index.d.ts +42 -0
- package/packages/agentic-jujutsu/node_modules/p-limit/index.js +71 -0
- package/packages/agentic-jujutsu/node_modules/p-limit/license +9 -0
- package/packages/agentic-jujutsu/node_modules/p-limit/package.json +52 -0
- package/packages/agentic-jujutsu/node_modules/p-limit/readme.md +101 -0
- package/packages/agentic-jujutsu/node_modules/p-locate/index.d.ts +53 -0
- package/packages/agentic-jujutsu/node_modules/p-locate/index.js +50 -0
- package/packages/agentic-jujutsu/node_modules/p-locate/license +9 -0
- package/packages/agentic-jujutsu/node_modules/p-locate/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/p-locate/readme.md +93 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/LICENSE.md +63 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/README.md +110 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.d.ts +89 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.js +134 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.d.ts +89 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.js +129 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/package-json-from-dist/package.json +68 -0
- package/packages/agentic-jujutsu/node_modules/path-exists/index.d.ts +28 -0
- package/packages/agentic-jujutsu/node_modules/path-exists/index.js +23 -0
- package/packages/agentic-jujutsu/node_modules/path-exists/license +9 -0
- package/packages/agentic-jujutsu/node_modules/path-exists/package.json +39 -0
- package/packages/agentic-jujutsu/node_modules/path-exists/readme.md +52 -0
- package/packages/agentic-jujutsu/node_modules/path-key/index.d.ts +40 -0
- package/packages/agentic-jujutsu/node_modules/path-key/index.js +16 -0
- package/packages/agentic-jujutsu/node_modules/path-key/license +9 -0
- package/packages/agentic-jujutsu/node_modules/path-key/package.json +39 -0
- package/packages/agentic-jujutsu/node_modules/path-key/readme.md +61 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/LICENSE.md +55 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/README.md +636 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.d.ts +1116 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.d.ts +1116 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.js +1979 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/dist/esm/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/path-scurry/package.json +89 -0
- package/packages/agentic-jujutsu/node_modules/picocolors/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/picocolors/README.md +21 -0
- package/packages/agentic-jujutsu/node_modules/picocolors/package.json +25 -0
- package/packages/agentic-jujutsu/node_modules/picocolors/picocolors.browser.js +4 -0
- package/packages/agentic-jujutsu/node_modules/picocolors/picocolors.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/picocolors/picocolors.js +75 -0
- package/packages/agentic-jujutsu/node_modules/picocolors/types.d.ts +51 -0
- package/packages/agentic-jujutsu/node_modules/randombytes/.zuul.yml +1 -0
- package/packages/agentic-jujutsu/node_modules/randombytes/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/randombytes/README.md +14 -0
- package/packages/agentic-jujutsu/node_modules/randombytes/browser.js +50 -0
- package/packages/agentic-jujutsu/node_modules/randombytes/index.js +1 -0
- package/packages/agentic-jujutsu/node_modules/randombytes/package.json +36 -0
- package/packages/agentic-jujutsu/node_modules/randombytes/test.js +81 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/README.md +120 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/esm/index.d.ts +108 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/esm/index.js +257 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/esm/package.json +1 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/index.d.ts +108 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/index.js +263 -0
- package/packages/agentic-jujutsu/node_modules/readdirp/package.json +70 -0
- package/packages/agentic-jujutsu/node_modules/require-directory/.jshintrc +67 -0
- package/packages/agentic-jujutsu/node_modules/require-directory/LICENSE +22 -0
- package/packages/agentic-jujutsu/node_modules/require-directory/README.markdown +184 -0
- package/packages/agentic-jujutsu/node_modules/require-directory/index.js +86 -0
- package/packages/agentic-jujutsu/node_modules/require-directory/package.json +40 -0
- package/packages/agentic-jujutsu/node_modules/safe-buffer/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/safe-buffer/README.md +584 -0
- package/packages/agentic-jujutsu/node_modules/safe-buffer/index.d.ts +187 -0
- package/packages/agentic-jujutsu/node_modules/safe-buffer/index.js +65 -0
- package/packages/agentic-jujutsu/node_modules/safe-buffer/package.json +51 -0
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/LICENSE +27 -0
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/README.md +143 -0
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/index.js +268 -0
- package/packages/agentic-jujutsu/node_modules/serialize-javascript/package.json +36 -0
- package/packages/agentic-jujutsu/node_modules/shebang-command/index.js +19 -0
- package/packages/agentic-jujutsu/node_modules/shebang-command/license +9 -0
- package/packages/agentic-jujutsu/node_modules/shebang-command/package.json +34 -0
- package/packages/agentic-jujutsu/node_modules/shebang-command/readme.md +34 -0
- package/packages/agentic-jujutsu/node_modules/shebang-regex/index.d.ts +22 -0
- package/packages/agentic-jujutsu/node_modules/shebang-regex/index.js +2 -0
- package/packages/agentic-jujutsu/node_modules/shebang-regex/license +9 -0
- package/packages/agentic-jujutsu/node_modules/shebang-regex/package.json +35 -0
- package/packages/agentic-jujutsu/node_modules/shebang-regex/readme.md +33 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/LICENSE.txt +16 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/README.md +74 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.d.ts +12 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.js +10 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/browser.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.d.ts +48 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.js +279 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.js +42 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/cjs/signals.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.d.ts +12 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.js +4 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/browser.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.d.ts +48 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.js +275 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/index.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.d.ts.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.js +39 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/dist/mjs/signals.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/signal-exit/package.json +106 -0
- package/packages/agentic-jujutsu/node_modules/string-width/index.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/string-width/index.js +54 -0
- package/packages/agentic-jujutsu/node_modules/string-width/license +9 -0
- package/packages/agentic-jujutsu/node_modules/string-width/package.json +59 -0
- package/packages/agentic-jujutsu/node_modules/string-width/readme.md +67 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/index.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/index.js +47 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/license +9 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/index.d.ts +37 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/index.js +10 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/license +9 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/package.json +55 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/ansi-regex/readme.md +78 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/README.md +73 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/index.d.ts +23 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/package.json +50 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/emoji-regex/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/index.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/index.js +4 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/license +9 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/node_modules/strip-ansi/readme.md +46 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/package.json +56 -0
- package/packages/agentic-jujutsu/node_modules/string-width-cjs/readme.md +50 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi/index.d.ts +15 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi/index.js +14 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi/license +9 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi/package.json +59 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi/readme.md +37 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/index.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/index.js +4 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/license +9 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.d.ts +37 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/license +9 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/node_modules/ansi-regex/readme.md +78 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/strip-ansi-cjs/readme.md +46 -0
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/index.d.ts +36 -0
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/index.js +77 -0
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/license +9 -0
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/package.json +47 -0
- package/packages/agentic-jujutsu/node_modules/strip-json-comments/readme.md +78 -0
- package/packages/agentic-jujutsu/node_modules/supports-color/browser.js +24 -0
- package/packages/agentic-jujutsu/node_modules/supports-color/index.js +152 -0
- package/packages/agentic-jujutsu/node_modules/supports-color/license +9 -0
- package/packages/agentic-jujutsu/node_modules/supports-color/package.json +58 -0
- package/packages/agentic-jujutsu/node_modules/supports-color/readme.md +77 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/README.md +6 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/agent.d.ts +31 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/api.d.ts +43 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/balanced-pool.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/cache.d.ts +36 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/client.d.ts +108 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/connector.d.ts +34 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/content-type.d.ts +21 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/cookies.d.ts +28 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/diagnostics-channel.d.ts +66 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/dispatcher.d.ts +256 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/env-http-proxy-agent.d.ts +21 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/errors.d.ts +149 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/eventsource.d.ts +61 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/fetch.d.ts +209 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/file.d.ts +39 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/filereader.d.ts +54 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/formdata.d.ts +108 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/global-dispatcher.d.ts +9 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/global-origin.d.ts +7 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/handlers.d.ts +15 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/header.d.ts +4 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/index.d.ts +71 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/interceptors.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-agent.d.ts +50 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-client.d.ts +25 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-errors.d.ts +12 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-interceptor.d.ts +93 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/mock-pool.d.ts +25 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/package.json +55 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/patch.d.ts +33 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/pool-stats.d.ts +19 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/pool.d.ts +39 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/proxy-agent.d.ts +28 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/readable.d.ts +65 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/retry-agent.d.ts +8 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/retry-handler.d.ts +116 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/util.d.ts +18 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/webidl.d.ts +228 -0
- package/packages/agentic-jujutsu/node_modules/undici-types/websocket.d.ts +150 -0
- package/packages/agentic-jujutsu/node_modules/which/CHANGELOG.md +166 -0
- package/packages/agentic-jujutsu/node_modules/which/LICENSE +15 -0
- package/packages/agentic-jujutsu/node_modules/which/README.md +54 -0
- package/packages/agentic-jujutsu/node_modules/which/bin/node-which +52 -0
- package/packages/agentic-jujutsu/node_modules/which/package.json +43 -0
- package/packages/agentic-jujutsu/node_modules/which/which.js +125 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/HISTORY.md +444 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/LICENSE +201 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/README.md +602 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.js +698 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.min.js +2 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/worker.min.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.js +2087 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.min.js +3 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.min.js.LICENSE.txt +24 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/dist/workerpool.min.js.map +1 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/package.json +58 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/Pool.js +476 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/Promise.js +315 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/WorkerHandler.js +639 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/debug-port-allocator.js +28 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/environment.js +30 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/generated/embeddedWorker.js +6 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/header.js +24 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/index.js +60 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/requireFoolWebpack.js +8 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/transfer.js +12 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/types.js +47 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/validateOptions.js +51 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/src/worker.js +386 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/Pool.d.ts +128 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/Promise.d.ts +136 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/WorkerHandler.d.ts +88 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/debug-port-allocator.d.ts +8 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/environment.d.ts +4 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/generated/embeddedWorker.d.ts +2 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/index.d.ts +43 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/test.ts +11 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/transfer.d.ts +19 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/types.d.ts +101 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/validateOptions.d.ts +4 -0
- package/packages/agentic-jujutsu/node_modules/workerpool/types/worker.d.ts +8 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/index.d.ts +41 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/index.js +214 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/license +9 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/index.d.ts +236 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/index.js +223 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/license +9 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/node_modules/ansi-styles/readme.md +173 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/package.json +69 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi/readme.md +91 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/index.js +216 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/license +9 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.d.ts +37 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/index.js +10 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/license +9 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/package.json +55 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/ansi-regex/readme.md +78 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/README.md +73 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.d.ts +23 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/package.json +50 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/emoji-regex/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/index.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/index.js +47 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/license +9 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/package.json +56 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/string-width/readme.md +50 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/index.js +4 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/license +9 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/node_modules/strip-ansi/readme.md +46 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/package.json +62 -0
- package/packages/agentic-jujutsu/node_modules/wrap-ansi-cjs/readme.md +91 -0
- package/packages/agentic-jujutsu/node_modules/y18n/CHANGELOG.md +100 -0
- package/packages/agentic-jujutsu/node_modules/y18n/LICENSE +13 -0
- package/packages/agentic-jujutsu/node_modules/y18n/README.md +127 -0
- package/packages/agentic-jujutsu/node_modules/y18n/build/index.cjs +203 -0
- package/packages/agentic-jujutsu/node_modules/y18n/build/lib/cjs.js +6 -0
- package/packages/agentic-jujutsu/node_modules/y18n/build/lib/index.js +174 -0
- package/packages/agentic-jujutsu/node_modules/y18n/build/lib/platform-shims/node.js +19 -0
- package/packages/agentic-jujutsu/node_modules/y18n/index.mjs +8 -0
- package/packages/agentic-jujutsu/node_modules/y18n/package.json +70 -0
- package/packages/agentic-jujutsu/node_modules/yargs/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/yargs/README.md +204 -0
- package/packages/agentic-jujutsu/node_modules/yargs/browser.d.ts +5 -0
- package/packages/agentic-jujutsu/node_modules/yargs/browser.mjs +7 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/index.cjs +1 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/argsert.js +62 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/command.js +449 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/completion-templates.js +48 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/completion.js +243 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/middleware.js +88 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/parse-command.js +32 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/typings/common-types.js +9 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/typings/yargs-parser-types.js +1 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/usage.js +584 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/apply-extends.js +59 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/is-promise.js +5 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/levenshtein.js +34 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/maybe-async-result.js +17 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/obj-filter.js +10 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/process-argv.js +17 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/set-blocking.js +12 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/utils/which-module.js +10 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/validation.js +305 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/yargs-factory.js +1512 -0
- package/packages/agentic-jujutsu/node_modules/yargs/build/lib/yerror.js +9 -0
- package/packages/agentic-jujutsu/node_modules/yargs/helpers/helpers.mjs +10 -0
- package/packages/agentic-jujutsu/node_modules/yargs/helpers/index.js +14 -0
- package/packages/agentic-jujutsu/node_modules/yargs/helpers/package.json +3 -0
- package/packages/agentic-jujutsu/node_modules/yargs/index.cjs +53 -0
- package/packages/agentic-jujutsu/node_modules/yargs/index.mjs +8 -0
- package/packages/agentic-jujutsu/node_modules/yargs/lib/platform-shims/browser.mjs +95 -0
- package/packages/agentic-jujutsu/node_modules/yargs/lib/platform-shims/esm.mjs +73 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/be.json +46 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/cs.json +51 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/de.json +46 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/en.json +55 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/es.json +46 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/fi.json +49 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/fr.json +53 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/hi.json +49 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/hu.json +46 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/id.json +50 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/it.json +46 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/ja.json +51 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/ko.json +49 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/nb.json +44 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/nl.json +49 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/nn.json +44 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pirate.json +13 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pl.json +49 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pt.json +45 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/pt_BR.json +48 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/ru.json +51 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/th.json +46 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/tr.json +48 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/uk_UA.json +51 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/uz.json +52 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/zh_CN.json +48 -0
- package/packages/agentic-jujutsu/node_modules/yargs/locales/zh_TW.json +51 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/index.d.ts +37 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/index.js +10 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/license +9 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/package.json +55 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/ansi-regex/readme.md +78 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/LICENSE-MIT.txt +20 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/README.md +73 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/es2015/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/es2015/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/index.d.ts +23 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/index.js +6 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/package.json +50 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/emoji-regex/text.js +6 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/index.d.ts +29 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/index.js +47 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/license +9 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/package.json +56 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/string-width/readme.md +50 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/index.d.ts +17 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/index.js +4 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/license +9 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/package.json +54 -0
- package/packages/agentic-jujutsu/node_modules/yargs/node_modules/strip-ansi/readme.md +46 -0
- package/packages/agentic-jujutsu/node_modules/yargs/package.json +123 -0
- package/packages/agentic-jujutsu/node_modules/yargs/yargs +9 -0
- package/packages/agentic-jujutsu/node_modules/yargs/yargs.mjs +10 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/CHANGELOG.md +308 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/LICENSE.txt +14 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/README.md +518 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/browser.js +29 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/index.cjs +1050 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/index.js +62 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/string-utils.js +65 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/tokenize-arg-string.js +40 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/yargs-parser-types.js +12 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/build/lib/yargs-parser.js +1045 -0
- package/packages/agentic-jujutsu/node_modules/yargs-parser/package.json +92 -0
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/CHANGELOG.md +82 -0
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/LICENSE +21 -0
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/README.md +86 -0
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/index.js +166 -0
- package/packages/agentic-jujutsu/node_modules/yargs-unparser/package.json +49 -0
- package/packages/agentic-jujutsu/node_modules/yocto-queue/index.d.ts +56 -0
- package/packages/agentic-jujutsu/node_modules/yocto-queue/index.js +68 -0
- package/packages/agentic-jujutsu/node_modules/yocto-queue/license +9 -0
- package/packages/agentic-jujutsu/node_modules/yocto-queue/package.json +43 -0
- package/packages/agentic-jujutsu/node_modules/yocto-queue/readme.md +64 -0
- package/packages/agentic-jujutsu/package-lock.json +1163 -0
- package/packages/agentic-jujutsu/package.json +108 -0
- package/packages/agentic-jujutsu/pkg/bundler/LICENSE +21 -0
- package/packages/agentic-jujutsu/pkg/bundler/README.md +361 -0
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu.d.ts +554 -0
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu.js +5 -0
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu_bg.js +1821 -0
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/bundler/agentic_jujutsu_bg.wasm.d.ts +113 -0
- package/packages/agentic-jujutsu/pkg/bundler/package.json +34 -0
- package/packages/agentic-jujutsu/pkg/deno/LICENSE +21 -0
- package/packages/agentic-jujutsu/pkg/deno/README.md +361 -0
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu.d.ts +554 -0
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu.js +1802 -0
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/deno/agentic_jujutsu_bg.wasm.d.ts +113 -0
- package/packages/agentic-jujutsu/pkg/node/LICENSE +21 -0
- package/packages/agentic-jujutsu/pkg/node/README.md +361 -0
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu.d.ts +554 -0
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu.js +1830 -0
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/node/agentic_jujutsu_bg.wasm.d.ts +113 -0
- package/packages/agentic-jujutsu/pkg/node/package.json +28 -0
- package/packages/agentic-jujutsu/pkg/web/LICENSE +21 -0
- package/packages/agentic-jujutsu/pkg/web/README.md +361 -0
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu.d.ts +691 -0
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu.js +1913 -0
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu_bg.wasm +0 -0
- package/packages/agentic-jujutsu/pkg/web/agentic_jujutsu_bg.wasm.d.ts +113 -0
- package/packages/agentic-jujutsu/pkg/web/package.json +32 -0
- package/packages/agentic-jujutsu/quantum-bridge.d.ts +115 -0
- package/packages/agentic-jujutsu/scripts/agentic-flow-integration.js +178 -0
- package/packages/agentic-jujutsu/scripts/analyze-size.sh +23 -0
- package/packages/agentic-jujutsu/scripts/coverage.sh +57 -0
- package/packages/agentic-jujutsu/scripts/docker-test.sh +56 -0
- package/packages/agentic-jujutsu/scripts/final-validation.sh +85 -0
- package/packages/agentic-jujutsu/scripts/install-jj.js +197 -0
- package/packages/agentic-jujutsu/scripts/mcp-server.js +98 -0
- package/packages/agentic-jujutsu/scripts/test-all.sh +68 -0
- package/packages/agentic-jujutsu/scripts/verify-build.sh +32 -0
- package/packages/agentic-jujutsu/scripts/verify-napi-config.sh +122 -0
- package/packages/agentic-jujutsu/scripts/wasm-pack-build.sh +76 -0
- package/packages/agentic-jujutsu/test-agentdb-cli.js +119 -0
- package/packages/agentic-jujutsu/test-agentdb.js +105 -0
- package/packages/agentic-jujutsu/test-failures.js +53 -0
- package/packages/agentic-jujutsu/test-napi.js +40 -0
- package/packages/agentic-jujutsu/test-quick.js +61 -0
- package/packages/agentic-jujutsu/test-repo/.claude-flow/metrics/agent-metrics.json +1 -0
- package/packages/agentic-jujutsu/test-repo/.claude-flow/metrics/performance.json +87 -0
- package/packages/agentic-jujutsu/test-repo/.claude-flow/metrics/task-metrics.json +10 -0
- package/packages/agentic-jujutsu/test-repo/test-file.txt +1 -0
- package/packages/agentic-jujutsu/typescript/hooks-integration.ts +370 -0
- package/packages/agentic-jujutsu/typescript/index.d.ts +415 -0
- package/reasoningbank/README.md +217 -0
- package/dist/.tsbuildinfo +0 -1
- package/dist/agentdb/index.d.ts +0 -26
- package/dist/agentdb/index.d.ts.map +0 -1
- package/dist/agentdb/index.js +0 -33
- package/dist/agentdb/index.js.map +0 -1
- package/dist/agentdb/tests/frontier-features.test.js +0 -665
- package/dist/agents/claudeAgent.d.ts +0 -6
- package/dist/agents/claudeAgentDirect.d.ts +0 -6
- package/dist/agents/claudeFlowAgent.d.ts +0 -32
- package/dist/agents/codeReviewAgent.d.ts +0 -4
- package/dist/agents/dataAgent.d.ts +0 -4
- package/dist/agents/directApiAgent.d.ts +0 -10
- package/dist/agents/webResearchAgent.d.ts +0 -4
- package/dist/cli/agent-manager.d.ts +0 -57
- package/dist/cli/claude-code-wrapper.d.ts +0 -21
- package/dist/cli/config-wizard.d.ts +0 -21
- package/dist/cli/federation-cli.d.ts +0 -54
- package/dist/cli/mcp-manager.d.ts +0 -12
- package/dist/cli/mcp.d.ts +0 -11
- package/dist/cli-proxy.d.ts +0 -7
- package/dist/cli-standalone-proxy.d.ts +0 -17
- package/dist/config/claudeFlow.d.ts +0 -33
- package/dist/config/quic.d.ts +0 -58
- package/dist/config/tools.d.ts +0 -17
- package/dist/core/long-running-agent.d.ts +0 -92
- package/dist/core/provider-manager.d.ts +0 -145
- package/dist/examples/multi-agent-orchestration.d.ts +0 -3
- package/dist/examples/use-goal-planner.d.ts +0 -3
- package/dist/examples/use-provider-fallback.d.ts +0 -13
- package/dist/federation/EphemeralAgent.d.ts +0 -84
- package/dist/federation/FederationHub.d.ts +0 -89
- package/dist/federation/FederationHubClient.d.ts +0 -70
- package/dist/federation/FederationHubServer.d.ts +0 -100
- package/dist/federation/SecurityManager.d.ts +0 -80
- package/dist/federation/debug/agent-debug-stream.d.ts +0 -171
- package/dist/federation/debug/debug-stream.d.ts +0 -157
- package/dist/federation/index.d.ts +0 -13
- package/dist/federation/integrations/realtime-federation.d.ts +0 -144
- package/dist/federation/integrations/supabase-adapter-debug.d.ts +0 -91
- package/dist/federation/integrations/supabase-adapter.d.ts +0 -89
- package/dist/health.d.ts +0 -28
- package/dist/hooks/parallel-validation.d.ts +0 -51
- package/dist/hooks/swarm-learning-optimizer.d.ts +0 -89
- package/dist/index.d.ts +0 -4
- package/dist/mcp/claudeFlowSdkServer.d.ts +0 -6
- package/dist/mcp/fastmcp/servers/claude-flow-sdk.d.ts +0 -3
- package/dist/mcp/fastmcp/servers/http-sse.d.ts +0 -3
- package/dist/mcp/fastmcp/servers/http-streaming-updated.d.ts +0 -3
- package/dist/mcp/fastmcp/servers/poc-stdio.d.ts +0 -3
- package/dist/mcp/fastmcp/servers/stdio-full.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/agent/add-agent.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/agent/add-command.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/agent/execute.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/agent/list.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/agent/parallel.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/swarm/init.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/swarm/orchestrate.d.ts +0 -3
- package/dist/mcp/fastmcp/tools/swarm/spawn.d.ts +0 -3
- package/dist/mcp/fastmcp/types/index.d.ts +0 -33
- package/dist/mcp/standalone-stdio.d.ts +0 -3
- package/dist/memory/SharedMemoryPool.d.ts +0 -116
- package/dist/memory/index.d.ts +0 -8
- package/dist/proxy/adaptive-proxy.d.ts +0 -51
- package/dist/proxy/anthropic-to-gemini.d.ts +0 -20
- package/dist/proxy/anthropic-to-onnx.d.ts +0 -17
- package/dist/proxy/anthropic-to-openrouter.d.ts +0 -28
- package/dist/proxy/anthropic-to-requesty.d.ts +0 -33
- package/dist/proxy/http2-proxy-optimized.d.ts +0 -63
- package/dist/proxy/http2-proxy.d.ts +0 -43
- package/dist/proxy/http3-proxy.d.ts +0 -18
- package/dist/proxy/provider-instructions.d.ts +0 -37
- package/dist/proxy/quic-proxy.d.ts +0 -58
- package/dist/proxy/tool-emulation.d.ts +0 -121
- package/dist/proxy/websocket-proxy.d.ts +0 -39
- package/dist/reasoningbank/AdvancedMemory.d.ts +0 -120
- package/dist/reasoningbank/HybridBackend.d.ts +0 -99
- package/dist/reasoningbank/backend-selector.d.ts +0 -79
- package/dist/reasoningbank/benchmark.d.ts +0 -14
- package/dist/reasoningbank/config/reasoningbank-types.d.ts +0 -57
- package/dist/reasoningbank/config/reasoningbank-types.ts +0 -57
- package/dist/reasoningbank/core/consolidate.d.ts +0 -21
- package/dist/reasoningbank/core/distill.d.ts +0 -22
- package/dist/reasoningbank/core/judge.d.ts +0 -17
- package/dist/reasoningbank/core/matts.d.ts +0 -46
- package/dist/reasoningbank/core/retrieve.d.ts +0 -35
- package/dist/reasoningbank/db/queries.d.ts +0 -88
- package/dist/reasoningbank/db/schema.d.ts +0 -81
- package/dist/reasoningbank/demo-comparison.d.ts +0 -10
- package/dist/reasoningbank/hooks/post-task.d.ts +0 -9
- package/dist/reasoningbank/hooks/pre-task.d.ts +0 -9
- package/dist/reasoningbank/index-new.d.ts +0 -49
- package/dist/reasoningbank/index.d.ts +0 -50
- package/dist/reasoningbank/test-integration.d.ts +0 -7
- package/dist/reasoningbank/test-retrieval.d.ts +0 -6
- package/dist/reasoningbank/test-validation.d.ts +0 -7
- package/dist/reasoningbank/types/index.d.ts +0 -123
- package/dist/reasoningbank/utils/config.d.ts +0 -61
- package/dist/reasoningbank/utils/embeddings.d.ts +0 -21
- package/dist/reasoningbank/utils/mmr.d.ts +0 -23
- package/dist/reasoningbank/utils/pii-scrubber.d.ts +0 -46
- package/dist/reasoningbank/wasm-adapter.d.ts +0 -104
- package/dist/router/model-mapping.d.ts +0 -31
- package/dist/router/providers/anthropic.d.ts +0 -17
- package/dist/router/providers/gemini.d.ts +0 -17
- package/dist/router/providers/onnx-local-optimized.d.ts +0 -71
- package/dist/router/providers/onnx-local.d.ts +0 -75
- package/dist/router/providers/onnx-phi4.d.ts +0 -64
- package/dist/router/providers/onnx.d.ts +0 -65
- package/dist/router/providers/openrouter.d.ts +0 -21
- package/dist/router/router.d.ts +0 -26
- package/dist/router/test-integration.d.ts +0 -13
- package/dist/router/test-onnx-benchmark.d.ts +0 -7
- package/dist/router/test-onnx-integration.d.ts +0 -8
- package/dist/router/test-onnx-local.d.ts +0 -6
- package/dist/router/test-onnx.d.ts +0 -7
- package/dist/router/test-openrouter.d.ts +0 -3
- package/dist/router/test-phi4.d.ts +0 -6
- package/dist/router/types.d.ts +0 -209
- package/dist/swarm/index.d.ts +0 -51
- package/dist/swarm/quic-coordinator.d.ts +0 -149
- package/dist/swarm/transport-router.d.ts +0 -124
- package/dist/transport/index.d.ts +0 -2
- package/dist/transport/quic-handshake.d.ts +0 -66
- package/dist/transport/quic.d.ts +0 -184
- package/dist/utils/agentBoosterPreprocessor.d.ts +0 -72
- package/dist/utils/agentLoader.d.ts +0 -22
- package/dist/utils/agentdb-runtime-patch.d.ts +0 -28
- package/dist/utils/auth.d.ts +0 -13
- package/dist/utils/cli.d.ts +0 -31
- package/dist/utils/compression-middleware.d.ts +0 -55
- package/dist/utils/connection-pool.d.ts +0 -30
- package/dist/utils/logger.d.ts +0 -19
- package/dist/utils/math.d.ts +0 -12
- package/dist/utils/mcpCommands.d.ts +0 -2
- package/dist/utils/model-downloader.d.ts +0 -63
- package/dist/utils/modelCapabilities.d.ts +0 -30
- package/dist/utils/modelOptimizer.d.ts +0 -207
- package/dist/utils/rate-limiter.d.ts +0 -17
- package/dist/utils/reasoningbankCommands.d.ts +0 -6
- package/dist/utils/response-cache.d.ts +0 -94
- package/dist/utils/retry.d.ts +0 -9
- package/dist/utils/streaming-optimizer.d.ts +0 -37
- package/validation/docker/Dockerfile.reasoningbank-local +0 -24
- package/validation/docker/Dockerfile.reasoningbank-test +0 -21
- package/validation/docker/README.md +0 -234
- package/validation/docker/docker-compose.yml +0 -29
- package/validation/docker/test-reasoningbank-npx.mjs +0 -442
- package/validation/docker-e2e-validation.sh +0 -212
- package/validation/docker-npm-validation.sh +0 -170
- package/validation/docker-quic-test.sh +0 -42
- package/validation/docker-quic-validation.sh +0 -60
- package/validation/quic-deep-validation.ts +0 -304
- package/validation/simple-npm-validation.sh +0 -131
- package/validation/test-gemini-exclusiveMinimum-fix.ts +0 -142
- package/validation/test-gemini-models.ts +0 -200
- package/validation/test-provider-fallback.ts +0 -285
- package/validation/test-quic-integration.ts +0 -243
- package/validation/test-quic-wasm.ts +0 -94
- package/validation/test-regression.mjs +0 -246
- package/validation/test-wasm-e2e.ts +0 -354
- package/validation/test-wasm-integration.ts +0 -99
- package/validation/validate-v1.10.0-docker.sh +0 -296
- package/wasm/quic/agentic_flow_quic.d.ts +0 -37
- package/wasm/quic/agentic_flow_quic_bg.wasm.d.ts +0 -19
- package/wasm/reasoningbank/reasoningbank_wasm.d.ts +0 -41
- package/wasm/reasoningbank/reasoningbank_wasm_bg.wasm.d.ts +0 -20
- /package/{.claude → agentic-flow/.claude}/agents/MIGRATION_SUMMARY.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/analysis/code-analyzer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/analysis/code-review/analyze-code-quality.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/architecture/system-design/arch-system-design.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/base-template-generator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/byzantine-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/crdt-synchronizer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/gossip-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/performance-benchmarker.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/quorum-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/raft-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/consensus/security-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/core/coder.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/core/planner.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/core/researcher.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/core/reviewer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/core/tester.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/custom/test-long-runner.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/data/ml/data-ml-model.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/development/backend/dev-backend-api.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/devops/ci-cd/ops-cicd-github.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/documentation/api-docs/docs-api-openapi.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/app-store.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/authentication.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/challenges.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/neural-network.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/payments.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/sandbox.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/user-tools.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/flow-nexus/workflow.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/code-review-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/github-modes.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/issue-tracker.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/multi-repo-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/pr-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/project-board-sync.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/release-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/release-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/repo-architect.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/swarm-issue.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/swarm-pr.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/sync-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/github/workflow-automation.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/goal/agent.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/goal/goal-planner.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/optimization/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/optimization/benchmark-suite.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/optimization/load-balancer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/optimization/performance-monitor.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/optimization/resource-allocator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/optimization/topology-optimizer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/payments/agentic-payments.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sparc/architecture.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sparc/pseudocode.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sparc/refinement.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sparc/specification.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/specialized/mobile/spec-mobile-react-native.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/consensus-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/matrix-optimizer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/pagerank-analyzer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/performance-optimizer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/sublinear/trading-predictor.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/swarm/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/swarm/adaptive-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/swarm/hierarchical-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/swarm/mesh-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/automation-smart-agent.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/coordinator-swarm-init.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/github-pr-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/implementer-sparc-coder.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/memory-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/migration-plan.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/orchestrator-task.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/performance-analyzer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/templates/sparc-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/test-neural.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/testing/unit/tdd-london-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/agents/testing/validation/production-validator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/answer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/agents/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/agents/agent-capabilities.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/agents/agent-coordination.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/agents/agent-spawning.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/agents/agent-types.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/analysis/COMMAND_COMPLIANCE_REPORT.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/analysis/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/analysis/bottleneck-detect.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/analysis/performance-bottlenecks.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/analysis/performance-report.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/analysis/token-efficiency.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/analysis/token-usage.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/automation/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/automation/auto-agent.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/automation/self-healing.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/automation/session-memory.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/automation/smart-agents.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/automation/smart-spawn.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/automation/workflow-select.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/claude-flow-help.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/claude-flow-memory.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/claude-flow-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/app-store.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/challenges.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/login-registration.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/neural-network.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/payments.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/sandbox.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/user-tools.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/flow-nexus/workflow.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/code-review-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/code-review.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/github-modes.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/github-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/issue-tracker.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/issue-triage.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/multi-repo-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/pr-enhance.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/pr-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/project-board-sync.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/release-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/release-swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/repo-analyze.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/repo-architect.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/swarm-issue.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/swarm-pr.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/sync-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/github/workflow-automation.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-consensus.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-init.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-memory.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-metrics.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-resume.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-sessions.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-spawn.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-status.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-stop.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind-wizard.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hive-mind/hive-mind.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/overview.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/post-edit.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/post-task.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/pre-edit.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/pre-task.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/session-end.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/hooks/setup.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/monitoring/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/monitoring/agent-metrics.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/monitoring/agents.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/monitoring/real-time-view.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/monitoring/status.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/monitoring/swarm-monitor.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/optimization/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/optimization/auto-topology.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/optimization/cache-manage.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/optimization/parallel-execute.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/optimization/parallel-execution.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/optimization/topology-optimize.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/commands.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/config.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/examples.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/modes.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/session.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/pair/start.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/analyzer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/architect.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/ask.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/batch-executor.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/code.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/coder.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/debug.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/debugger.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/designer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/devops.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/docs-writer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/documenter.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/innovator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/integration.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/mcp.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/memory-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/optimizer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/orchestrator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/post-deployment-monitoring-mode.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/refinement-optimization-mode.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/researcher.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/reviewer.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/security-review.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/sparc-modes.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/sparc.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/spec-pseudocode.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/supabase-admin.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/swarm-coordinator.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/tdd.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/tester.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/tutorial.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc/workflow-manager.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/sparc.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/stream-chain/pipeline.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/stream-chain/run.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/analysis.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/development.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/examples.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/maintenance.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/optimization.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/research.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-analysis.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-background.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-init.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-modes.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-monitor.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-spawn.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-status.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm-strategies.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/swarm.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/swarm/testing.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/training/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/training/model-update.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/training/neural-patterns.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/training/neural-train.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/training/pattern-learn.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/training/specialization.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/truth/start.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/verify/check.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/verify/start.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/workflows/README.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/workflows/development.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/workflows/research.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/workflows/workflow-create.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/workflows/workflow-execute.md +0 -0
- /package/{.claude → agentic-flow/.claude}/commands/workflows/workflow-export.md +0 -0
- /package/{.claude → agentic-flow/.claude}/helpers/checkpoint-manager.sh +0 -0
- /package/{.claude → agentic-flow/.claude}/helpers/github-safe.js +0 -0
- /package/{.claude → agentic-flow/.claude}/helpers/github-setup.sh +0 -0
- /package/{.claude → agentic-flow/.claude}/helpers/quick-start.sh +0 -0
- /package/{.claude → agentic-flow/.claude}/helpers/setup-mcp.sh +0 -0
- /package/{.claude → agentic-flow/.claude}/helpers/standard-checkpoint-hooks.sh +0 -0
- /package/{.claude → agentic-flow/.claude}/mcp.json +0 -0
- /package/{.claude → agentic-flow/.claude}/openrouter-models-research.md +0 -0
- /package/{.claude → agentic-flow/.claude}/openrouter-quick-reference.md +0 -0
- /package/{.claude → agentic-flow/.claude}/settings-backup.json +0 -0
- /package/{.claude → agentic-flow/.claude}/settings-optimized.json +0 -0
- /package/{.claude → agentic-flow/.claude}/settings-simple.json +0 -0
- /package/{.claude → agentic-flow/.claude}/settings.json +0 -0
- /package/{.claude → agentic-flow/.claude}/settings.local.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/.claude-flow/metrics/agent-metrics.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/.claude-flow/metrics/performance.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/skill-builder/.claude-flow/metrics/agent-metrics.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/skill-builder/.claude-flow/metrics/performance.json +0 -0
- /package/{.claude → agentic-flow/.claude}/skills/skill-builder/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/benchmarks/comprehensive-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/benchmarks/frontier-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/benchmarks/reflexion-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/cli/agentdb-cli.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/CausalMemoryGraph.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/CausalRecall.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/EmbeddingService.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/ExplainableRecall.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/NightlyLearner.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/ReflexionMemory.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/SkillLibrary.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/frontier-index.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/controllers/index.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/optimizations/BatchOperations.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/optimizations/QueryOptimizer.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/optimizations/index.js +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/validate-frontier.cjs +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/validate-frontier.cjs.map +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/validate-frontier.d.cts +0 -0
- /package/{dist → agentic-flow/dist}/agentdb/validate-frontier.d.cts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgentDirect.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgentDirect.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeAgentDirect.js.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeFlowAgent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeFlowAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/claudeFlowAgent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/codeReviewAgent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/codeReviewAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/codeReviewAgent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/dataAgent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/dataAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/dataAgent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/directApiAgent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/directApiAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/directApiAgent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/webResearchAgent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/agents/webResearchAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/agents/webResearchAgent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/agent-manager.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/agent-manager.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/agent-manager.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/claude-code-wrapper.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/claude-code-wrapper.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/claude-code-wrapper.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/config-wizard.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/config-wizard.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/config-wizard.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/federation-cli.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/federation-cli.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/federation-cli.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp-manager.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp-manager.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp-manager.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/mcp.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli/skills-manager.js +0 -0
- /package/{dist → agentic-flow/dist}/cli/update-message.js +0 -0
- /package/{dist → agentic-flow/dist}/cli-proxy.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/cli-proxy.js.map +0 -0
- /package/{dist → agentic-flow/dist}/cli-standalone-proxy.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/cli-standalone-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/cli-standalone-proxy.js.map +0 -0
- /package/{dist → agentic-flow/dist}/config/claudeFlow.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/config/claudeFlow.js +0 -0
- /package/{dist → agentic-flow/dist}/config/claudeFlow.js.map +0 -0
- /package/{dist → agentic-flow/dist}/config/quic.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/config/quic.js +0 -0
- /package/{dist → agentic-flow/dist}/config/quic.js.map +0 -0
- /package/{dist → agentic-flow/dist}/config/tools.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/config/tools.js +0 -0
- /package/{dist → agentic-flow/dist}/config/tools.js.map +0 -0
- /package/{dist → agentic-flow/dist}/core/long-running-agent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/core/long-running-agent.js +0 -0
- /package/{dist → agentic-flow/dist}/core/long-running-agent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/core/provider-manager.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/core/provider-manager.js +0 -0
- /package/{dist → agentic-flow/dist}/core/provider-manager.js.map +0 -0
- /package/{dist → agentic-flow/dist}/examples/multi-agent-orchestration.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/examples/multi-agent-orchestration.js +0 -0
- /package/{dist → agentic-flow/dist}/examples/multi-agent-orchestration.js.map +0 -0
- /package/{dist → agentic-flow/dist}/examples/use-goal-planner.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/examples/use-goal-planner.js +0 -0
- /package/{dist → agentic-flow/dist}/examples/use-goal-planner.js.map +0 -0
- /package/{dist → agentic-flow/dist}/examples/use-provider-fallback.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/examples/use-provider-fallback.js +0 -0
- /package/{dist → agentic-flow/dist}/examples/use-provider-fallback.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/EphemeralAgent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/EphemeralAgent.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/EphemeralAgent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHub.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHub.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHub.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubClient.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubClient.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubClient.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubServer.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubServer.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/FederationHubServer.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/SecurityManager.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/SecurityManager.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/SecurityManager.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/agent-debug-stream.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/agent-debug-stream.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/agent-debug-stream.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/debug-stream.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/debug-stream.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/debug/debug-stream.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/index.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/realtime-federation.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/realtime-federation.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/realtime-federation.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter-debug.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter-debug.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter-debug.js.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter.js +0 -0
- /package/{dist → agentic-flow/dist}/federation/integrations/supabase-adapter.js.map +0 -0
- /package/{dist → agentic-flow/dist}/health.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/health.js +0 -0
- /package/{dist → agentic-flow/dist}/health.js.map +0 -0
- /package/{dist → agentic-flow/dist}/hooks/parallel-validation.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/hooks/parallel-validation.js +0 -0
- /package/{dist → agentic-flow/dist}/hooks/parallel-validation.js.map +0 -0
- /package/{dist → agentic-flow/dist}/hooks/swarm-learning-optimizer.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/hooks/swarm-learning-optimizer.js +0 -0
- /package/{dist → agentic-flow/dist}/hooks/swarm-learning-optimizer.js.map +0 -0
- /package/{dist → agentic-flow/dist}/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/index.js +0 -0
- /package/{dist → agentic-flow/dist}/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/claudeFlowSdkServer.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/claudeFlowSdkServer.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/claudeFlowSdkServer.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/claude-flow-sdk.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/claude-flow-sdk.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/claude-flow-sdk.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-sse.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-sse.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-sse.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-streaming-updated.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-streaming-updated.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/http-streaming-updated.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/poc-stdio.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/poc-stdio.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/poc-stdio.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/stdio-full.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/stdio-full.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/servers/stdio-full.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-agent.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-agent.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-agent.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-command.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-command.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/add-command.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/execute.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/execute.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/execute.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/list.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/list.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/list.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/parallel.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/parallel.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/agent/parallel.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/init.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/init.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/init.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/orchestrate.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/orchestrate.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/orchestrate.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/spawn.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/spawn.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/tools/swarm/spawn.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/types/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/types/index.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/fastmcp/types/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/standalone-stdio.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/mcp/standalone-stdio.js +0 -0
- /package/{dist → agentic-flow/dist}/mcp/standalone-stdio.js.map +0 -0
- /package/{dist → agentic-flow/dist}/memory/SharedMemoryPool.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/memory/SharedMemoryPool.js +0 -0
- /package/{dist → agentic-flow/dist}/memory/SharedMemoryPool.js.map +0 -0
- /package/{dist → agentic-flow/dist}/memory/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/memory/index.js +0 -0
- /package/{dist → agentic-flow/dist}/memory/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/adaptive-proxy.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/adaptive-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/adaptive-proxy.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-gemini.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-gemini.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-gemini.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-onnx.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-onnx.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-onnx.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-openrouter.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-openrouter.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-openrouter.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-requesty.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-requesty.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/anthropic-to-requesty.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http2-proxy-optimized.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http2-proxy-optimized.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http2-proxy-optimized.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http2-proxy.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http2-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http2-proxy.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http3-proxy-old.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http3-proxy.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http3-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/http3-proxy.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/provider-instructions.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/provider-instructions.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/provider-instructions.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/proxy/anthropic-to-gemini.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/quic-proxy.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/quic-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/quic-proxy.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/tool-emulation.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/tool-emulation.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/tool-emulation.js.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/utils/logger.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/websocket-proxy.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/proxy/websocket-proxy.js +0 -0
- /package/{dist → agentic-flow/dist}/proxy/websocket-proxy.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/AdvancedMemory.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/AdvancedMemory.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/AdvancedMemory.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/HybridBackend.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/HybridBackend.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/HybridBackend.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/agentdb-adapter.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/backend-selector.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/backend-selector.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/backend-selector.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/benchmark.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/benchmark.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/config/reasoningbank-types.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/config/reasoningbank-types.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/config/reasoningbank-types.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/config/reasoningbank.yaml +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/consolidate.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/consolidate.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/consolidate.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/database.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/distill.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/distill.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/distill.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/judge.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/judge.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/judge.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/matts.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/matts.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/matts.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/memory-engine.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/retrieve.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/retrieve.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/core/retrieve.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/queries.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/queries.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/queries.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/schema.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/schema.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/db/schema.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/demo-comparison.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/demo-comparison.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/demo-comparison.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/post-task.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/post-task.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/post-task.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/pre-task.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/pre-task.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/hooks/pre-task.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index-new.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index-new.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index-new.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/distill-failure.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/distill-success.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/judge.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/prompts/matts-aggregate.json +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-integration.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-integration.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-integration.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-retrieval.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-retrieval.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-retrieval.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-validation.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-validation.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/test-validation.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/types/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/types/index.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/types/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/config.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/config.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/config.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/embeddings.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/embeddings.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/embeddings.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/mmr.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/mmr.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/mmr.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/pii-scrubber.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/pii-scrubber.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/utils/pii-scrubber.js.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/wasm-adapter.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/wasm-adapter.js +0 -0
- /package/{dist → agentic-flow/dist}/reasoningbank/wasm-adapter.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/model-mapping.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/model-mapping.js +0 -0
- /package/{dist → agentic-flow/dist}/router/model-mapping.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/anthropic.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/anthropic.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/anthropic.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/gemini.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/gemini.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/gemini.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local-optimized.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local-optimized.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local-optimized.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-local.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-phi4.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-phi4.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx-phi4.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/onnx.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/openrouter.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/openrouter.js +0 -0
- /package/{dist → agentic-flow/dist}/router/providers/openrouter.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/router.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/router.js +0 -0
- /package/{dist → agentic-flow/dist}/router/router.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-integration.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-integration.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-integration.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-benchmark.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-benchmark.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-benchmark.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-integration.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-integration.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-integration.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-local.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-local.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx-local.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-onnx.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-openrouter.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-openrouter.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-openrouter.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-phi4.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/test-phi4.js +0 -0
- /package/{dist → agentic-flow/dist}/router/test-phi4.js.map +0 -0
- /package/{dist → agentic-flow/dist}/router/types.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/router/types.js +0 -0
- /package/{dist → agentic-flow/dist}/router/types.js.map +0 -0
- /package/{dist → agentic-flow/dist}/swarm/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/swarm/index.js +0 -0
- /package/{dist → agentic-flow/dist}/swarm/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/swarm/quic-coordinator.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/swarm/quic-coordinator.js +0 -0
- /package/{dist → agentic-flow/dist}/swarm/quic-coordinator.js.map +0 -0
- /package/{dist → agentic-flow/dist}/swarm/transport-router.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/swarm/transport-router.js +0 -0
- /package/{dist → agentic-flow/dist}/swarm/transport-router.js.map +0 -0
- /package/{dist → agentic-flow/dist}/transport/index.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/transport/index.js +0 -0
- /package/{dist → agentic-flow/dist}/transport/index.js.map +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic-handshake.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic-handshake.js +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic-handshake.js.map +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic.js +0 -0
- /package/{dist → agentic-flow/dist}/transport/quic.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/adaptive-pool-sizing.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentBoosterPreprocessor.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentBoosterPreprocessor.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentBoosterPreprocessor.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentLoader.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentLoader.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentLoader.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentdb-runtime-patch.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentdb-runtime-patch.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentdb-runtime-patch.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/agentdbCommands.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/auth.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/auth.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/auth.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/circular-rate-limiter.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/cli.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/cli.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/cli.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/compression-middleware.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/compression-middleware.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/compression-middleware.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/connection-pool.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/connection-pool.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/connection-pool.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/dynamic-compression.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/http2-multiplexing.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/lazy-auth.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/logger.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/logger.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/logger.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/math.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/math.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/math.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/mcpCommands.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/mcpCommands.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/mcpCommands.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/model-downloader.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/model-downloader.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/model-downloader.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelCapabilities.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelCapabilities.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelCapabilities.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelOptimizer.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelOptimizer.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/modelOptimizer.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/rate-limiter.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/rate-limiter.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/rate-limiter.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/reasoningbankCommands.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/reasoningbankCommands.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/reasoningbankCommands.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/response-cache.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/response-cache.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/response-cache.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/retry.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/retry.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/retry.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/server-push.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/streaming-optimizer.d.ts.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/streaming-optimizer.js +0 -0
- /package/{dist → agentic-flow/dist}/utils/streaming-optimizer.js.map +0 -0
- /package/{dist → agentic-flow/dist}/utils/zero-copy-buffer.js +0 -0
- /package/{docs → agentic-flow/docs}/.claude-flow/metrics/agent-metrics.json +0 -0
- /package/{docs → agentic-flow/docs}/.claude-flow/metrics/performance.json +0 -0
- /package/{docs → agentic-flow/docs}/.claude-flow/metrics/task-metrics.json +0 -0
- /package/{docs → agentic-flow/docs}/CLAUDE.md +0 -0
- /package/{docs → agentic-flow/docs}/DOCKER-VERIFICATION.md +0 -0
- /package/{docs → agentic-flow/docs}/ISSUE-55-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/NPX_AGENTDB_SETUP.md +0 -0
- /package/{docs → agentic-flow/docs}/OPTIMIZATIONS.md +0 -0
- /package/{docs → agentic-flow/docs}/PUBLISH_GUIDE.md +0 -0
- /package/{docs → agentic-flow/docs}/RELEASE-v1.10.0-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/EXECUTIVE_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/FEDERATION-DATA-LIFECYCLE.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/IMPROVEMENT_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/INTEGRATION-STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/MULTI_MODEL_ROUTER_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/PACKAGE_STRUCTURE.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/QUIC-IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/QUIC-SWARM-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/QUICK_WINS.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/README.md +0 -0
- /package/{docs → agentic-flow/docs}/architecture/RESEARCH_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/.agentdb-instructions.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/AGENT-BOOSTER-STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/CHANGELOG-v1.3.0.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/COMPLETION_REPORT_v1.7.1.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/IMPLEMENTATION_SUMMARY_v1.7.1.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/SUPABASE-INTEGRATION-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/TESTING_QUICK_START.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/TOOL-EMULATION-INTEGRATION-ISSUE.md +0 -0
- /package/{docs → agentic-flow/docs}/archive/VALIDATION_v1.7.1.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/COMPLETE_VALIDATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/DOCKER_MCP_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/DOCKER_OPENROUTER_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FASTMCP_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FASTMCP_INTEGRATION_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FINAL_SDK_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FINAL_SYSTEM_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FINAL_VALIDATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FIXES-APPLIED-STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/FLOW-NEXUS-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/HOTFIX_1.1.7.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/INTEGRATION_CONFIRMED.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MCP_CLI_TOOLS_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MCP_INTEGRATION_SUCCESS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MCP_PROXY_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/MODEL_VALIDATION_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_ENV_VARS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_FINAL_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_IMPLEMENTATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_OPTIMIZATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_PHI4_RESEARCH.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_RUNTIME_INTEGRATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_SUCCESS_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/ONNX_VS_CLAUDE_QUALITY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER-FIX-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER-SUCCESS-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER_ISSUES_AND_FIXES.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER_PROXY_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPENROUTER_VALIDATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/OPTIMIZATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PACKAGE-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PHI4_HYPEROPTIMIZATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PROVIDER_INSTRUCTION_OPTIMIZATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/PROXY_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/README.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/README_SDK_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/README_V1.1.11.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/RELEASE-NOTES-v1.1.13.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/RELEASE-SUMMARY-v1.1.14-beta.1.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/RESEARCH_COMPLETE.txt +0 -0
- /package/{docs → agentic-flow/docs}/archived/ROUTER_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/SDK-SETUP-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/SDK_INTEGRATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/TOOL_INSTRUCTION_ENHANCEMENT.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.10_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.11_COMPLETE_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.11_MCP_PROXY_FIX.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/V1.1.14-BETA-READY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/VALIDATION-RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/VALIDATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/VALIDATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/claude-flow-integration.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/docker-cli-validation.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/docker-memory-coordination-status.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/mcp-validation-summary.md +0 -0
- /package/{docs → agentic-flow/docs}/archived/quick-wins-validation.md +0 -0
- /package/{docs → agentic-flow/docs}/benchmarks/optimization-guide.md +0 -0
- /package/{docs → agentic-flow/docs}/benchmarks/quic-results.md +0 -0
- /package/{docs → agentic-flow/docs}/docker-tests/TEST-V1.7.8.Dockerfile +0 -0
- /package/{docs → agentic-flow/docs}/docker-tests/TEST-V1.7.9-NODE20.Dockerfile +0 -0
- /package/{docs → agentic-flow/docs}/docker-tests/TEST-V1.7.9.Dockerfile +0 -0
- /package/{docs → agentic-flow/docs}/federation/AGENT-DEBUG-STREAMING.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DEBUG-STREAMING-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DEBUG-STREAMING.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DEPLOYMENT-VALIDATION-SUCCESS.md +0 -0
- /package/{docs → agentic-flow/docs}/federation/DOCKER-FEDERATION-DEEP-REVIEW.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/ADDING-MCP-SERVERS-CLI.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/ADDING-MCP-SERVERS.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/AGENT-BOOSTER.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/ALTERNATIVE_LLM_MODELS.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/CLAUDE-CODE-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/DEPLOYMENT.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/DOCKER_AGENT_USAGE.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/IMPLEMENTATION_EXAMPLES.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/MCP-TOOLS.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/MODEL-ID-MAPPING.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/MULTI-MODEL-ROUTER.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/NPM-PUBLISH.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/ONNX-PROXY-IMPLEMENTATION.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/ONNX_CLI_USAGE.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/ONNX_OPTIMIZATION_GUIDE.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/OPENROUTER_DEPLOYMENT.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/PROXY-ARCHITECTURE-AND-EXTENSION.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/QUIC-SWARM-QUICKSTART.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/QUICK-START-v1.7.1.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/README.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/REASONINGBANK.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/STANDALONE_PROXY_GUIDE.md +0 -0
- /package/{docs → agentic-flow/docs}/guides/agent-sdk.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/AGENT-BOOSTER-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/CLAUDE-FLOW-INTEGRATION-ANALYSIS.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/CLI-INTEGRATION-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/INTEGRATION-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/INTEGRATION-QUICK-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/INTEGRATION-STATUS-CORRECTED.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/INTEGRATION_COMPLETE_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/QUIC-WASM-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/README.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/WASM_ESM_FIX.md +0 -0
- /package/{docs → agentic-flow/docs}/integration-docs/WASM_INTEGRATION_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/CLAUDE_AGENTS_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/CLAUDE_FLOW_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/FASTMCP_CLI_INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/FLOW-NEXUS-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/README.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/fastmcp-implementation-plan.md +0 -0
- /package/{docs → agentic-flow/docs}/integrations/fastmcp-poc-integration.md +0 -0
- /package/{docs → agentic-flow/docs}/issues/ISSUE-SUPABASE-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/issues/ISSUE-xenova-transformers-dependency.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/MCP-CLI-VALIDATION-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/README.md +0 -0
- /package/{docs → agentic-flow/docs}/mcp-validation/strange-loops-test.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/BUILD_INSTRUCTIONS.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/IMPLEMENTATION_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC-INTEGRATION-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC-README.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/QUIC_IMPLEMENTATION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/README-CONDENSED.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/quic-research.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/QUIC/quic-tutorial.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/00-INDEX.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/00-OVERVIEW.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/01-ARCHITECTURE.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/02-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/03-BENCHMARKS.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/04-NPM-SDK.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/GITHUB-ISSUE.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster/README.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/agent-booster-cli-integration.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/00-overview.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/01-api-research.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/02-architecture.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/03-implementation-phases.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/04-testing-strategy.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/05-migration-guide.md +0 -0
- /package/{docs → agentic-flow/docs}/plans/requesty/README.md +0 -0
- /package/{docs → agentic-flow/docs}/providers/LANDING-PAGE-PROVIDER-CONTENT.md +0 -0
- /package/{docs → agentic-flow/docs}/providers/PROVIDER-FALLBACK-GUIDE.md +0 -0
- /package/{docs → agentic-flow/docs}/providers/PROVIDER-FALLBACK-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/DEPENDENCY_GRAPH.mermaid +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/EXECUTION_SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/GOAP_IMPLEMENTATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-goap/QUICK_START.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-research/QUANTUM_RESEARCH_LITERATURE_REVIEW.md +0 -0
- /package/{docs → agentic-flow/docs}/quantum-research/README.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/FINAL-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/IMPLEMENTATION-COMPLETE-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/PERFORMANCE-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/QUIC-STATUS-OLD.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/QUIC-STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/QUIC-VALIDATION-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/QUIC_FINAL_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/README_QUIC_PHASE1.md +0 -0
- /package/{docs → agentic-flow/docs}/quic/WASM-INTEGRATION-COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/MEMORY_VALIDATION_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/README.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONING-AGENTS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-BENCHMARK-RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-BENCHMARK.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-CLI-INTEGRATION.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-DEMO.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_ARCHITECTURE.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_BACKENDS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_FIXES.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_IMPLEMENTATION_STATUS.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_INTEGRATION_PLAN.md +0 -0
- /package/{docs → agentic-flow/docs}/reasoningbank/REASONINGBANK_INVESTIGATION.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-ADDENDUM-v1.4.6.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-REASONINGBANK-BENCHMARK.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-v1.4.6.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/GITHUB-ISSUE-v1.5.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/HOTFIX-v1.2.1.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/NPM-PUBLISH-GUIDE-v1.2.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/PUBLISH-COMPLETE-v1.2.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/PUBLISH_CHECKLIST_v1.10.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/PUBLISH_SUMMARY_v1.7.1.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/README.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/RELEASE-v1.2.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/RELEASE-v1.8.13.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/RELEASE_NOTES_v1.10.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/RELEASE_NOTES_v1.7.0.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/RELEASE_v1.7.1.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/v1.4.6-reasoningbank-release.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/v1.4.7-bugfix.md +0 -0
- /package/{docs → agentic-flow/docs}/releases/v1.5.14-QUIC-TRANSPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/reports/QUIC_PHASE1_COMPLETE.md +0 -0
- /package/{docs → agentic-flow/docs}/reports/QUIC_PHASE1_COMPLETION.md +0 -0
- /package/{docs → agentic-flow/docs}/reviews/quic-implementation-review.md +0 -0
- /package/{docs → agentic-flow/docs}/router/README.md +0 -0
- /package/{docs → agentic-flow/docs}/router/ROUTER_CONFIG_REFERENCE.md +0 -0
- /package/{docs → agentic-flow/docs}/router/ROUTER_USER_GUIDE.md +0 -0
- /package/{docs → agentic-flow/docs}/router/TOP20_MODELS_MATRIX.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/IMPLEMENTATION-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/INDEX.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/QUICKSTART.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/README.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/SUPABASE-REALTIME-FEDERATION.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/TEST-REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/supabase/migrations/001_create_federation_tables.sql +0 -0
- /package/{docs → agentic-flow/docs}/testing/AGENT-SYSTEM-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/AGENTDB_TESTING.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/FINAL-TESTING-SUMMARY.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/README.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/REGRESSION-TEST-RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/testing/STREAMING-AND-MCP-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/validation/README.md +0 -0
- /package/{docs → agentic-flow/docs}/validation/reports/REGRESSION-TEST-V1.8.11.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/BENCHMARK_AND_OPTIMIZATION_REPORT.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/DOCKER_VALIDATION_RESULTS.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/NO_REGRESSIONS_CONFIRMED.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/NPM-PACKAGE-ANALYSIS-FINAL.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/README.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/V2.7.0-ALPHA.10_FINAL_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/V2.7.0-ALPHA.9_VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/v1.6.0-QUIC-CLI-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/validation-reports/v1.6.1-NPM-PUBLISH-VALIDATION.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/PUBLICATION_REPORT_v1.5.11.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/README.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/v1.5.9-DOCKER-VERIFICATION.md +0 -0
- /package/{docs → agentic-flow/docs}/version-releases/v1.5.9-RELEASE-SUMMARY.md +0 -0
- /package/{scripts → agentic-flow/scripts}/build.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/claude +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-code +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-flow +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-flow.bat +0 -0
- /package/{scripts → agentic-flow/scripts}/claude-flow.ps1 +0 -0
- /package/{scripts → agentic-flow/scripts}/postinstall.js +0 -0
- /package/{scripts → agentic-flow/scripts}/run-validation.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-agentdb.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-all-commands.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-claude-flow-sdk.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-fastmcp-docker.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-fastmcp-poc.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-functionality.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-onnx-docker.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/test-router-docker.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/validate-mcp-cli-tools.sh +0 -0
- /package/{scripts → agentic-flow/scripts}/validate-providers.sh +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/README.md +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/agentic_flow_quic.js +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/agentic_flow_quic_bg.wasm +0 -0
- /package/{wasm → agentic-flow/wasm}/quic/package.json +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/package.json +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/reasoningbank_wasm.js +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/reasoningbank_wasm_bg.js +0 -0
- /package/{wasm → agentic-flow/wasm}/reasoningbank/reasoningbank_wasm_bg.wasm +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adapters.js","sourceRoot":"","sources":["../../../src/billing/storage/adapters.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAYH;;GAEG;AACH,MAAM,OAAO,oBAAoB;IACvB,aAAa,GAAG,IAAI,GAAG,EAAwB,CAAC;IAChD,YAAY,GAAG,IAAI,GAAG,EAAyB,CAAC;IAChD,OAAO,GAAG,IAAI,GAAG,EAAkB,CAAC;IACpC,QAAQ,GAAG,IAAI,GAAG,EAAmB,CAAC;IACtC,MAAM,GAAG,IAAI,GAAG,EAA0B,CAAC;IAEnD,gBAAgB;IAChB,KAAK,CAAC,gBAAgB,CAAC,YAA0B;QAC/C,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,GAAG,YAAY,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,eAAe,CAAC,EAAU;QAC9B,OAAO,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,IAAI,CAAC;IAC5C,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC,YAA0B;QACjD,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE,EAAE,EAAE,GAAG,YAAY,EAAE,CAAC,CAAC;IAC/D,CAAC;IAED,KAAK,CAAC,kBAAkB,CAAC,EAAU;QACjC,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,iBAAiB,CAAC,MAAc;QACpC,OAAO,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAA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C;IAED,KAAK,CAAC,YAAY,CAAC,MAAc;QAC/B,MAAM,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;IAChC,CAAC;IAED,KAAK,CAAC,WAAW;QACf,6BAA6B;QAC7B,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,CAAC,WAAW,CAAC,OAAgB;QAChC,gCAAgC;IAClC,CAAC;IAED,KAAK,CAAC,UAAU,CAAC,EAAU;QACzB,2CAA2C;QAC3C,OAAO,IAAI,CAAC;IACd,CAAC;IAED,KAAK,CAAC,YAAY,CAAC,MAAc;QAC/B,gDAAgD;QAChD,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,KAAmB;QACjC,8BAA8B;IAChC,CAAC;IAED,KAAK,CAAC,SAAS,CAAC,MAAc,EAAE,IAAuB;QACrD,8CAA8C;QAC9C,OAAO,EAAE,CAAC;IACZ,CAAC;CACF;AAED;;GAEG;AACH,MAAM,OAAO,qBAAqB;IAChC,MAAM,CAAC,YAAY;QACjB,OAAO,IAAI,oBAAoB,EAAE,CAAC;IACpC,CAAC;IAED,MAAM,CAAC,aAAa,CAAC,OAAY;QAC/B,MAAM,OAAO,GAAG,IAAI,qBAAqB,CAAC,OAAO,CAAC,CAAC;QACnD,OAAO,CAAC,UAAU,EAAE,CAAC;QACrB,OAAO,OAAO,CAAC;IACjB,CAAC;IAED,MAAM,CAAC,YAAY,CAAC,MAAc;QAChC,MAAM,OAAO,GAAG,IAAI,oBAAoB,CAAC,MAAM,CAAC,CAAC;QACjD,OAAO,CAAC,UAAU,EAAE,CAAC;QACrB,OAAO,OAAO,CAAC;IACjB,CAAC;CACF","sourcesContent":["/**\n * Storage Adapters\n * Multiple backend options: Memory, AgentDB, SQLite, PostgreSQL\n */\n\nimport {\n StorageAdapter,\n Subscription,\n UsageRecord,\n Coupon,\n Invoice,\n BillingEvent,\n BillingEventType\n} from '../types.js';\n\n/**\n * In-Memory Storage Adapter (for testing and development)\n */\nexport class MemoryStorageAdapter implements StorageAdapter {\n private subscriptions = new Map<string, Subscription>();\n private usageRecords = new Map<string, UsageRecord[]>();\n private coupons = new Map<string, Coupon>();\n private invoices = new Map<string, Invoice>();\n private events = new Map<string, BillingEvent[]>();\n\n // Subscriptions\n async saveSubscription(subscription: Subscription): Promise<void> {\n this.subscriptions.set(subscription.id, { ...subscription });\n }\n\n async getSubscription(id: string): Promise<Subscription | null> {\n return this.subscriptions.get(id) || null;\n }\n\n async updateSubscription(subscription: Subscription): Promise<void> {\n this.subscriptions.set(subscription.id, { ...subscription });\n }\n\n async deleteSubscription(id: string): Promise<void> {\n this.subscriptions.delete(id);\n }\n\n async listSubscriptions(userId: string): Promise<Subscription[]> {\n return Array.from(this.subscriptions.values()).filter(s => s.userId === userId);\n }\n\n // Usage\n async saveUsageRecord(record: UsageRecord): Promise<void> {\n const records = this.usageRecords.get(record.subscriptionId) || [];\n records.push({ ...record });\n this.usageRecords.set(record.subscriptionId, records);\n }\n\n async getUsageRecords(subscriptionId: string, period: string): Promise<UsageRecord[]> {\n const records = this.usageRecords.get(subscriptionId) || [];\n return records.filter(r => r.billingPeriod === period);\n }\n\n // Coupons\n async saveCoupon(coupon: Coupon): Promise<void> {\n this.coupons.set(coupon.code, { ...coupon });\n }\n\n async getCoupon(code: string): Promise<Coupon | null> {\n return this.coupons.get(code) || null;\n }\n\n async updateCoupon(coupon: Coupon): Promise<void> {\n this.coupons.set(coupon.code, { ...coupon });\n }\n\n async listCoupons(): Promise<Coupon[]> {\n return Array.from(this.coupons.values());\n }\n\n // Invoices\n async saveInvoice(invoice: Invoice): Promise<void> {\n this.invoices.set(invoice.id, { ...invoice });\n }\n\n async getInvoice(id: string): Promise<Invoice | null> {\n return this.invoices.get(id) || null;\n }\n\n async listInvoices(userId: string): Promise<Invoice[]> {\n return Array.from(this.invoices.values()).filter(i => i.userId === userId);\n }\n\n // Events\n async saveEvent(event: BillingEvent): Promise<void> {\n const events = this.events.get(event.userId) || [];\n events.push({ ...event });\n this.events.set(event.userId, events);\n }\n\n async getEvents(userId: string, type?: BillingEventType): Promise<BillingEvent[]> {\n const events = this.events.get(userId) || [];\n if (type) {\n return events.filter(e => e.type === type);\n }\n return events;\n }\n\n // Utility\n clear(): void {\n this.subscriptions.clear();\n this.usageRecords.clear();\n this.coupons.clear();\n this.invoices.clear();\n this.events.clear();\n }\n}\n\n/**\n * AgentDB Storage Adapter (vector database with semantic search)\n */\nexport class AgentDBStorageAdapter implements StorageAdapter {\n private db: any; // AgentDB instance\n private collections = {\n subscriptions: 'billing_subscriptions',\n usage: 'billing_usage',\n coupons: 'billing_coupons',\n invoices: 'billing_invoices',\n events: 'billing_events'\n };\n\n constructor(agentDB: any) {\n this.db = agentDB;\n }\n\n async initialize(): Promise<void> {\n // Create collections if they don't exist\n for (const collection of Object.values(this.collections)) {\n try {\n await this.db.createCollection(collection);\n } catch (error) {\n // Collection might already exist\n }\n }\n }\n\n // Subscriptions\n async saveSubscription(subscription: Subscription): Promise<void> {\n await this.db.upsert(this.collections.subscriptions, {\n id: subscription.id,\n data: subscription,\n metadata: {\n userId: subscription.userId,\n tier: subscription.tier,\n status: subscription.status\n }\n });\n }\n\n async getSubscription(id: string): Promise<Subscription | null> {\n const result = await this.db.get(this.collections.subscriptions, id);\n return result?.data || null;\n }\n\n async updateSubscription(subscription: Subscription): Promise<void> {\n await this.saveSubscription(subscription);\n }\n\n async deleteSubscription(id: string): Promise<void> {\n await this.db.delete(this.collections.subscriptions, id);\n }\n\n async listSubscriptions(userId: string): Promise<Subscription[]> {\n const results = await this.db.query(this.collections.subscriptions, {\n filter: { userId }\n });\n return results.map((r: any) => r.data);\n }\n\n // Usage\n async saveUsageRecord(record: UsageRecord): Promise<void> {\n await this.db.insert(this.collections.usage, {\n id: record.id,\n data: record,\n metadata: {\n subscriptionId: record.subscriptionId,\n metric: record.metric,\n period: record.billingPeriod\n }\n });\n }\n\n async getUsageRecords(subscriptionId: string, period: string): Promise<UsageRecord[]> {\n const results = await this.db.query(this.collections.usage, {\n filter: {\n subscriptionId,\n 'metadata.period': period\n }\n });\n return results.map((r: any) => r.data);\n }\n\n // Coupons\n async saveCoupon(coupon: Coupon): Promise<void> {\n await this.db.upsert(this.collections.coupons, {\n id: coupon.code,\n data: coupon,\n metadata: {\n type: coupon.type,\n active: coupon.active\n }\n });\n }\n\n async getCoupon(code: string): Promise<Coupon | null> {\n const result = await this.db.get(this.collections.coupons, code);\n return result?.data || null;\n }\n\n async updateCoupon(coupon: Coupon): Promise<void> {\n await this.saveCoupon(coupon);\n }\n\n async listCoupons(): Promise<Coupon[]> {\n const results = await this.db.query(this.collections.coupons, {});\n return results.map((r: any) => r.data);\n }\n\n // Invoices\n async saveInvoice(invoice: Invoice): Promise<void> {\n await this.db.insert(this.collections.invoices, {\n id: invoice.id,\n data: invoice,\n metadata: {\n userId: invoice.userId,\n status: invoice.status,\n amount: invoice.amount\n }\n });\n }\n\n async getInvoice(id: string): Promise<Invoice | null> {\n const result = await this.db.get(this.collections.invoices, id);\n return result?.data || null;\n }\n\n async listInvoices(userId: string): Promise<Invoice[]> {\n const results = await this.db.query(this.collections.invoices, {\n filter: { userId }\n });\n return results.map((r: any) => r.data);\n }\n\n // Events\n async saveEvent(event: BillingEvent): Promise<void> {\n await this.db.insert(this.collections.events, {\n id: event.id,\n data: event,\n metadata: {\n userId: event.userId,\n type: event.type,\n timestamp: event.timestamp\n }\n });\n }\n\n async getEvents(userId: string, type?: BillingEventType): Promise<BillingEvent[]> {\n const filter: any = { userId };\n if (type) {\n filter['metadata.type'] = type;\n }\n\n const results = await this.db.query(this.collections.events, { filter });\n return results.map((r: any) => r.data);\n }\n}\n\n/**\n * SQLite Storage Adapter\n */\nexport class SQLiteStorageAdapter implements StorageAdapter {\n private db: any; // better-sqlite3 instance\n\n constructor(dbPath: string) {\n // In production, initialize better-sqlite3\n // For now, stub implementation\n }\n\n async initialize(): Promise<void> {\n // Create tables\n const schema = `\n CREATE TABLE IF NOT EXISTS subscriptions (\n id TEXT PRIMARY KEY,\n user_id TEXT NOT NULL,\n data TEXT NOT NULL,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n );\n\n CREATE TABLE IF NOT EXISTS usage_records (\n id TEXT PRIMARY KEY,\n subscription_id TEXT NOT NULL,\n data TEXT NOT NULL,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n );\n\n CREATE TABLE IF NOT EXISTS coupons (\n code TEXT PRIMARY KEY,\n data TEXT NOT NULL,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n );\n\n CREATE TABLE IF NOT EXISTS invoices (\n id TEXT PRIMARY KEY,\n user_id TEXT NOT NULL,\n data TEXT NOT NULL,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n );\n\n CREATE TABLE IF NOT EXISTS events (\n id TEXT PRIMARY KEY,\n user_id TEXT NOT NULL,\n type TEXT NOT NULL,\n data TEXT NOT NULL,\n created_at DATETIME DEFAULT CURRENT_TIMESTAMP\n );\n `;\n\n // Execute schema in production\n }\n\n // Implement StorageAdapter interface methods\n // (Similar to MemoryStorageAdapter but with SQL queries)\n\n async saveSubscription(subscription: Subscription): Promise<void> {\n // SQL: INSERT OR REPLACE INTO subscriptions ...\n }\n\n async getSubscription(id: string): Promise<Subscription | null> {\n // SQL: SELECT * FROM subscriptions WHERE id = ?\n return null;\n }\n\n async updateSubscription(subscription: Subscription): Promise<void> {\n await this.saveSubscription(subscription);\n }\n\n async deleteSubscription(id: string): Promise<void> {\n // SQL: DELETE FROM subscriptions WHERE id = ?\n }\n\n async listSubscriptions(userId: string): Promise<Subscription[]> {\n // SQL: SELECT * FROM subscriptions WHERE user_id = ?\n return [];\n }\n\n async saveUsageRecord(record: UsageRecord): Promise<void> {\n // SQL: INSERT INTO usage_records ...\n }\n\n async getUsageRecords(subscriptionId: string, period: string): Promise<UsageRecord[]> {\n // SQL: SELECT * FROM usage_records WHERE subscription_id = ?\n return [];\n }\n\n async saveCoupon(coupon: Coupon): Promise<void> {\n // SQL: INSERT OR REPLACE INTO coupons ...\n }\n\n async getCoupon(code: string): Promise<Coupon | null> {\n // SQL: SELECT * FROM coupons WHERE code = ?\n return null;\n }\n\n async updateCoupon(coupon: Coupon): Promise<void> {\n await this.saveCoupon(coupon);\n }\n\n async listCoupons(): Promise<Coupon[]> {\n // SQL: SELECT * FROM coupons\n return [];\n }\n\n async saveInvoice(invoice: Invoice): Promise<void> {\n // SQL: INSERT INTO invoices ...\n }\n\n async getInvoice(id: string): Promise<Invoice | null> {\n // SQL: SELECT * FROM invoices WHERE id = ?\n return null;\n }\n\n async listInvoices(userId: string): Promise<Invoice[]> {\n // SQL: SELECT * FROM invoices WHERE user_id = ?\n return [];\n }\n\n async saveEvent(event: BillingEvent): Promise<void> {\n // SQL: INSERT INTO events ...\n }\n\n async getEvents(userId: string, type?: BillingEventType): Promise<BillingEvent[]> {\n // SQL: SELECT * FROM events WHERE user_id = ?\n return [];\n }\n}\n\n/**\n * Storage Adapter Factory\n */\nexport class StorageAdapterFactory {\n static createMemory(): MemoryStorageAdapter {\n return new MemoryStorageAdapter();\n }\n\n static createAgentDB(agentDB: any): AgentDBStorageAdapter {\n const adapter = new AgentDBStorageAdapter(agentDB);\n adapter.initialize();\n return adapter;\n }\n\n static createSQLite(dbPath: string): SQLiteStorageAdapter {\n const adapter = new SQLiteStorageAdapter(dbPath);\n adapter.initialize();\n return adapter;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manager.d.ts","sourceRoot":"","sources":["../../../src/billing/subscriptions/manager.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EACL,YAAY,EACZ,gBAAgB,EAEhB,YAAY,EACZ,cAAc,EAEf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,qBAAa,mBAAoB,SAAQ,YAAY;IACnD,OAAO,CAAC,O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
|
+
/**
|
|
2
|
+
* Subscription Lifecycle Manager
|
|
3
|
+
* Handles creation, upgrades, downgrades, and cancellations
|
|
4
|
+
*/
|
|
5
|
+
import { EventEmitter } from 'events';
|
|
6
|
+
import { SubscriptionTier, SubscriptionStatus, BillingCycle, BillingEventType } from '../types.js';
|
|
7
|
+
import { PricingManager } from '../pricing/tiers.js';
|
|
8
|
+
export class SubscriptionManager extends EventEmitter {
|
|
9
|
+
storage;
|
|
10
|
+
pricingManager;
|
|
11
|
+
constructor(storage, pricingManager) {
|
|
12
|
+
super();
|
|
13
|
+
this.storage = storage;
|
|
14
|
+
this.pricingManager = pricingManager || new PricingManager();
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Create a new subscription
|
|
18
|
+
*/
|
|
19
|
+
async createSubscription(params) {
|
|
20
|
+
const { userId, tier, billingCycle, paymentMethodId } = params;
|
|
21
|
+
const pricingTier = this.pricingManager.getTier(tier);
|
|
22
|
+
if (!pricingTier) {
|
|
23
|
+
throw new Error(`Invalid tier: ${tier}`);
|
|
24
|
+
}
|
|
25
|
+
const now = new Date();
|
|
26
|
+
const price = this.getPriceForCycle(tier, billingCycle);
|
|
27
|
+
const subscription = {
|
|
28
|
+
id: this.generateId('sub'),
|
|
29
|
+
userId,
|
|
30
|
+
tier,
|
|
31
|
+
billingCycle,
|
|
32
|
+
status: SubscriptionStatus.Active,
|
|
33
|
+
price,
|
|
34
|
+
currency: 'USD',
|
|
35
|
+
limits: { ...pricingTier.limits },
|
|
36
|
+
currentPeriodStart: now,
|
|
37
|
+
currentPeriodEnd: this.calculatePeriodEnd(now, billingCycle),
|
|
38
|
+
cancelAtPeriodEnd: false,
|
|
39
|
+
paymentMethodId,
|
|
40
|
+
createdAt: now,
|
|
41
|
+
updatedAt: now
|
|
42
|
+
};
|
|
43
|
+
await this.storage.saveSubscription(subscription);
|
|
44
|
+
this.emit('subscription.created', subscription);
|
|
45
|
+
await this.saveEvent({
|
|
46
|
+
type: BillingEventType.SubscriptionCreated,
|
|
47
|
+
userId,
|
|
48
|
+
subscriptionId: subscription.id,
|
|
49
|
+
data: subscription
|
|
50
|
+
});
|
|
51
|
+
return subscription;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Upgrade subscription to a higher tier
|
|
55
|
+
*/
|
|
56
|
+
async upgradeSubscription(subscriptionId, newTier) {
|
|
57
|
+
const subscription = await this.storage.getSubscription(subscriptionId);
|
|
58
|
+
if (!subscription) {
|
|
59
|
+
throw new Error(`Subscription not found: ${subscriptionId}`);
|
|
60
|
+
}
|
|
61
|
+
const currentTierOrder = this.getTierOrder(subscription.tier);
|
|
62
|
+
const newTierOrder = this.getTierOrder(newTier);
|
|
63
|
+
if (newTierOrder <= currentTierOrder) {
|
|
64
|
+
throw new Error('New tier must be higher than current tier');
|
|
65
|
+
}
|
|
66
|
+
const newPricing = this.pricingManager.getTier(newTier);
|
|
67
|
+
if (!newPricing) {
|
|
68
|
+
throw new Error(`Invalid tier: ${newTier}`);
|
|
69
|
+
}
|
|
70
|
+
// Calculate prorated amount
|
|
71
|
+
const proratedAmount = this.calculateProratedAmount(subscription, newTier, subscription.billingCycle);
|
|
72
|
+
// Update subscription
|
|
73
|
+
subscription.tier = newTier;
|
|
74
|
+
subscription.price = this.getPriceForCycle(newTier, subscription.billingCycle);
|
|
75
|
+
subscription.limits = { ...newPricing.limits };
|
|
76
|
+
subscription.updatedAt = new Date();
|
|
77
|
+
await this.storage.updateSubscription(subscription);
|
|
78
|
+
this.emit('subscription.upgraded', {
|
|
79
|
+
subscription,
|
|
80
|
+
oldTier: subscription.tier,
|
|
81
|
+
newTier,
|
|
82
|
+
proratedAmount
|
|
83
|
+
});
|
|
84
|
+
await this.saveEvent({
|
|
85
|
+
type: BillingEventType.SubscriptionUpdated,
|
|
86
|
+
userId: subscription.userId,
|
|
87
|
+
subscriptionId: subscription.id,
|
|
88
|
+
data: { action: 'upgrade', oldTier: subscription.tier, newTier, proratedAmount }
|
|
89
|
+
});
|
|
90
|
+
return subscription;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Downgrade subscription to a lower tier
|
|
94
|
+
*/
|
|
95
|
+
async downgradeSubscription(subscriptionId, newTier) {
|
|
96
|
+
const subscription = await this.storage.getSubscription(subscriptionId);
|
|
97
|
+
if (!subscription) {
|
|
98
|
+
throw new Error(`Subscription not found: ${subscriptionId}`);
|
|
99
|
+
}
|
|
100
|
+
const currentTierOrder = this.getTierOrder(subscription.tier);
|
|
101
|
+
const newTierOrder = this.getTierOrder(newTier);
|
|
102
|
+
if (newTierOrder >= currentTierOrder) {
|
|
103
|
+
throw new Error('New tier must be lower than current tier');
|
|
104
|
+
}
|
|
105
|
+
const newPricing = this.pricingManager.getTier(newTier);
|
|
106
|
+
if (!newPricing) {
|
|
107
|
+
throw new Error(`Invalid tier: ${newTier}`);
|
|
108
|
+
}
|
|
109
|
+
// Downgrade takes effect at end of current period
|
|
110
|
+
subscription.metadata = {
|
|
111
|
+
...subscription.metadata,
|
|
112
|
+
pendingDowngrade: newTier,
|
|
113
|
+
downgradeTo: newTier,
|
|
114
|
+
downgradeAt: subscription.currentPeriodEnd
|
|
115
|
+
};
|
|
116
|
+
subscription.updatedAt = new Date();
|
|
117
|
+
await this.storage.updateSubscription(subscription);
|
|
118
|
+
this.emit('subscription.downgraded', {
|
|
119
|
+
subscription,
|
|
120
|
+
oldTier: subscription.tier,
|
|
121
|
+
newTier,
|
|
122
|
+
effectiveDate: subscription.currentPeriodEnd
|
|
123
|
+
});
|
|
124
|
+
await this.saveEvent({
|
|
125
|
+
type: BillingEventType.SubscriptionUpdated,
|
|
126
|
+
userId: subscription.userId,
|
|
127
|
+
subscriptionId: subscription.id,
|
|
128
|
+
data: { action: 'downgrade', oldTier: subscription.tier, newTier }
|
|
129
|
+
});
|
|
130
|
+
return subscription;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Cancel subscription
|
|
134
|
+
*/
|
|
135
|
+
async cancelSubscription(subscriptionId, immediate = false) {
|
|
136
|
+
const subscription = await this.storage.getSubscription(subscriptionId);
|
|
137
|
+
if (!subscription) {
|
|
138
|
+
throw new Error(`Subscription not found: ${subscriptionId}`);
|
|
139
|
+
}
|
|
140
|
+
if (immediate) {
|
|
141
|
+
subscription.status = SubscriptionStatus.Canceled;
|
|
142
|
+
subscription.currentPeriodEnd = new Date();
|
|
143
|
+
}
|
|
144
|
+
else {
|
|
145
|
+
subscription.cancelAtPeriodEnd = true;
|
|
146
|
+
}
|
|
147
|
+
subscription.updatedAt = new Date();
|
|
148
|
+
await this.storage.updateSubscription(subscription);
|
|
149
|
+
this.emit('subscription.canceled', { subscription, immediate });
|
|
150
|
+
await this.saveEvent({
|
|
151
|
+
type: BillingEventType.SubscriptionCanceled,
|
|
152
|
+
userId: subscription.userId,
|
|
153
|
+
subscriptionId: subscription.id,
|
|
154
|
+
data: { immediate }
|
|
155
|
+
});
|
|
156
|
+
return subscription;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Renew subscription
|
|
160
|
+
*/
|
|
161
|
+
async renewSubscription(subscriptionId) {
|
|
162
|
+
const subscription = await this.storage.getSubscription(subscriptionId);
|
|
163
|
+
if (!subscription) {
|
|
164
|
+
throw new Error(`Subscription not found: ${subscriptionId}`);
|
|
165
|
+
}
|
|
166
|
+
// Check for pending downgrade
|
|
167
|
+
if (subscription.metadata?.pendingDowngrade) {
|
|
168
|
+
const newTier = subscription.metadata.pendingDowngrade;
|
|
169
|
+
const newPricing = this.pricingManager.getTier(newTier);
|
|
170
|
+
if (newPricing) {
|
|
171
|
+
subscription.tier = newTier;
|
|
172
|
+
subscription.price = this.getPriceForCycle(newTier, subscription.billingCycle);
|
|
173
|
+
subscription.limits = { ...newPricing.limits };
|
|
174
|
+
delete subscription.metadata.pendingDowngrade;
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
// Update period
|
|
178
|
+
subscription.currentPeriodStart = subscription.currentPeriodEnd;
|
|
179
|
+
subscription.currentPeriodEnd = this.calculatePeriodEnd(subscription.currentPeriodStart, subscription.billingCycle);
|
|
180
|
+
subscription.cancelAtPeriodEnd = false;
|
|
181
|
+
subscription.updatedAt = new Date();
|
|
182
|
+
await this.storage.updateSubscription(subscription);
|
|
183
|
+
this.emit('subscription.renewed', subscription);
|
|
184
|
+
await this.saveEvent({
|
|
185
|
+
type: BillingEventType.SubscriptionRenewed,
|
|
186
|
+
userId: subscription.userId,
|
|
187
|
+
subscriptionId: subscription.id,
|
|
188
|
+
data: subscription
|
|
189
|
+
});
|
|
190
|
+
return subscription;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Get subscription by ID
|
|
194
|
+
*/
|
|
195
|
+
async getSubscription(subscriptionId) {
|
|
196
|
+
return this.storage.getSubscription(subscriptionId);
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* List user subscriptions
|
|
200
|
+
*/
|
|
201
|
+
async listSubscriptions(userId) {
|
|
202
|
+
return this.storage.listSubscriptions(userId);
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* Check if user has access to feature
|
|
206
|
+
*/
|
|
207
|
+
async hasAccess(subscriptionId, feature) {
|
|
208
|
+
const subscription = await this.storage.getSubscription(subscriptionId);
|
|
209
|
+
if (!subscription)
|
|
210
|
+
return false;
|
|
211
|
+
if (subscription.status !== SubscriptionStatus.Active)
|
|
212
|
+
return false;
|
|
213
|
+
const pricingTier = this.pricingManager.getTier(subscription.tier);
|
|
214
|
+
return pricingTier?.features.includes(feature) || false;
|
|
215
|
+
}
|
|
216
|
+
getPriceForCycle(tier, cycle) {
|
|
217
|
+
const cycleMap = {
|
|
218
|
+
[BillingCycle.Monthly]: 'monthly',
|
|
219
|
+
[BillingCycle.Yearly]: 'yearly',
|
|
220
|
+
[BillingCycle.Quarterly]: 'quarterly'
|
|
221
|
+
};
|
|
222
|
+
return this.pricingManager.calculatePrice(tier, cycleMap[cycle]);
|
|
223
|
+
}
|
|
224
|
+
calculatePeriodEnd(start, cycle) {
|
|
225
|
+
const end = new Date(start);
|
|
226
|
+
switch (cycle) {
|
|
227
|
+
case BillingCycle.Monthly:
|
|
228
|
+
end.setMonth(end.getMonth() + 1);
|
|
229
|
+
break;
|
|
230
|
+
case BillingCycle.Quarterly:
|
|
231
|
+
end.setMonth(end.getMonth() + 3);
|
|
232
|
+
break;
|
|
233
|
+
case BillingCycle.Yearly:
|
|
234
|
+
end.setFullYear(end.getFullYear() + 1);
|
|
235
|
+
break;
|
|
236
|
+
}
|
|
237
|
+
return end;
|
|
238
|
+
}
|
|
239
|
+
calculateProratedAmount(subscription, newTier, cycle) {
|
|
240
|
+
const daysInPeriod = Math.ceil((subscription.currentPeriodEnd.getTime() - subscription.currentPeriodStart.getTime()) /
|
|
241
|
+
(1000 * 60 * 60 * 24));
|
|
242
|
+
const daysRemaining = Math.ceil((subscription.currentPeriodEnd.getTime() - Date.now()) / (1000 * 60 * 60 * 24));
|
|
243
|
+
const oldPrice = subscription.price;
|
|
244
|
+
const newPrice = this.getPriceForCycle(newTier, cycle);
|
|
245
|
+
const priceDiff = newPrice - oldPrice;
|
|
246
|
+
const proratedAmount = (priceDiff * daysRemaining) / daysInPeriod;
|
|
247
|
+
return Math.max(0, proratedAmount);
|
|
248
|
+
}
|
|
249
|
+
getTierOrder(tier) {
|
|
250
|
+
const order = {
|
|
251
|
+
[SubscriptionTier.Free]: 0,
|
|
252
|
+
[SubscriptionTier.Starter]: 1,
|
|
253
|
+
[SubscriptionTier.Pro]: 2,
|
|
254
|
+
[SubscriptionTier.Enterprise]: 3,
|
|
255
|
+
[SubscriptionTier.Custom]: 4
|
|
256
|
+
};
|
|
257
|
+
return order[tier];
|
|
258
|
+
}
|
|
259
|
+
async saveEvent(params) {
|
|
260
|
+
await this.storage.saveEvent({
|
|
261
|
+
id: this.generateId('evt'),
|
|
262
|
+
type: params.type,
|
|
263
|
+
timestamp: new Date(),
|
|
264
|
+
userId: params.userId,
|
|
265
|
+
subscriptionId: params.subscriptionId,
|
|
266
|
+
data: params.data
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
generateId(prefix) {
|
|
270
|
+
return `${prefix}_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
//# sourceMappingURL=manager.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"manager.js","sourceRoot":"","sources":["../../../src/billing/subscriptions/manager.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAEL,gBAAgB,EAChB,kBAAkB,EAClB,YAAY,EAEZ,gBAAgB,EACjB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErD,MAAM,OAAO,mBAAoB,SAAQ,YAAY;IAC3C,OAAO,CAAiB;IACxB,cAAc,CAAiB;IAEvC,YAAY,OAAuB,EAAE,cAA+B;QAClE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,cAAc,GAAG,cAAc,IAAI,IAAI,cAAc,EAAE,CAAC;IAC/D,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,kBAAkB,CAAC,MAMxB;QACC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY,EAAE,eAAe,EAAE,GAAG,MAAM,CAAC;QAE/D,MAAM,WAAW,GAAG,IAAI,CAAC,cAAc,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACtD,IAAI,CAAC,WAAW,EAAE,CAAC;YACjB,MAAM,IAAI,KAAK,CAAC,iBAAiB,IAAI,EAAE,CAAC,CAAC;QAC3C,CAAC;QAED,MAAM,GAAG,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,MAAM,KAAK,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;QAExD,MA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C,EAAE,cAAc,CAAC,CAAC;IACrC,CAAC;IAEO,YAAY,CAAC,IAAsB;QACzC,MAAM,KAAK,GAAG;YACZ,CAAC,gBAAgB,CAAC,IAAI,CAAC,EAAE,CAAC;YAC1B,CAAC,gBAAgB,CAAC,OAAO,CAAC,EAAE,CAAC;YAC7B,CAAC,gBAAgB,CAAC,GAAG,CAAC,EAAE,CAAC;YACzB,CAAC,gBAAgB,CAAC,UAAU,CAAC,EAAE,CAAC;YAChC,CAAC,gBAAgB,CAAC,MAAM,CAAC,EAAE,CAAC;SAC7B,CAAC;QACF,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;IACrB,CAAC;IAEO,KAAK,CAAC,SAAS,CAAC,MAKvB;QACC,MAAM,IAAI,CAAC,OAAO,CAAC,SAAS,CAAC;YAC3B,EAAE,EAAE,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC;YAC1B,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,SAAS,EAAE,IAAI,IAAI,EAAE;YACrB,MAAM,EAAE,MAAM,CAAC,MAAM;YACrB,cAAc,EAAE,MAAM,CAAC,cAAc;YACrC,IAAI,EAAE,MAAM,CAAC,IAAI;SAClB,CAAC,CAAC;IACL,CAAC;IAEO,UAAU,CAAC,MAAc;QAC/B,OAAO,GAAG,MAAM,IAAI,IAAI,CAAC,GAAG,EAAE,IAAI,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC;IAC9E,CAAC;CACF","sourcesContent":["/**\n * Subscription Lifecycle Manager\n * Handles creation, upgrades, downgrades, and cancellations\n */\n\nimport { EventEmitter } from 'events';\nimport {\n Subscription,\n SubscriptionTier,\n SubscriptionStatus,\n BillingCycle,\n StorageAdapter,\n BillingEventType\n} from '../types.js';\nimport { PricingManager } from '../pricing/tiers.js';\n\nexport class SubscriptionManager extends EventEmitter {\n private storage: StorageAdapter;\n private pricingManager: PricingManager;\n\n constructor(storage: StorageAdapter, pricingManager?: PricingManager) {\n super();\n this.storage = storage;\n this.pricingManager = pricingManager || new PricingManager();\n }\n\n /**\n * Create a new subscription\n */\n async createSubscription(params: {\n userId: string;\n tier: SubscriptionTier;\n billingCycle: BillingCycle;\n paymentMethodId?: string;\n couponCode?: string;\n }): Promise<Subscription> {\n const { userId, tier, billingCycle, paymentMethodId } = params;\n\n const pricingTier = this.pricingManager.getTier(tier);\n if (!pricingTier) {\n throw new Error(`Invalid tier: ${tier}`);\n }\n\n const now = new Date();\n const price = this.getPriceForCycle(tier, billingCycle);\n\n const subscription: Subscription = {\n id: this.generateId('sub'),\n userId,\n tier,\n billingCycle,\n status: SubscriptionStatus.Active,\n price,\n currency: 'USD',\n limits: { ...pricingTier.limits },\n currentPeriodStart: now,\n currentPeriodEnd: this.calculatePeriodEnd(now, billingCycle),\n cancelAtPeriodEnd: false,\n paymentMethodId,\n createdAt: now,\n updatedAt: now\n };\n\n await this.storage.saveSubscription(subscription);\n\n this.emit('subscription.created', subscription);\n await this.saveEvent({\n type: BillingEventType.SubscriptionCreated,\n userId,\n subscriptionId: subscription.id,\n data: subscription\n });\n\n return subscription;\n }\n\n /**\n * Upgrade subscription to a higher tier\n */\n async upgradeSubscription(\n subscriptionId: string,\n newTier: SubscriptionTier\n ): Promise<Subscription> {\n const subscription = await this.storage.getSubscription(subscriptionId);\n if (!subscription) {\n throw new Error(`Subscription not found: ${subscriptionId}`);\n }\n\n const currentTierOrder = this.getTierOrder(subscription.tier);\n const newTierOrder = this.getTierOrder(newTier);\n\n if (newTierOrder <= currentTierOrder) {\n throw new Error('New tier must be higher than current tier');\n }\n\n const newPricing = this.pricingManager.getTier(newTier);\n if (!newPricing) {\n throw new Error(`Invalid tier: ${newTier}`);\n }\n\n // Calculate prorated amount\n const proratedAmount = this.calculateProratedAmount(\n subscription,\n newTier,\n subscription.billingCycle\n );\n\n // Update subscription\n subscription.tier = newTier;\n subscription.price = this.getPriceForCycle(newTier, subscription.billingCycle);\n subscription.limits = { ...newPricing.limits };\n subscription.updatedAt = new Date();\n\n await this.storage.updateSubscription(subscription);\n\n this.emit('subscription.upgraded', {\n subscription,\n oldTier: subscription.tier,\n newTier,\n proratedAmount\n });\n\n await this.saveEvent({\n type: BillingEventType.SubscriptionUpdated,\n userId: subscription.userId,\n subscriptionId: subscription.id,\n data: { action: 'upgrade', oldTier: subscription.tier, newTier, proratedAmount }\n });\n\n return subscription;\n }\n\n /**\n * Downgrade subscription to a lower tier\n */\n async downgradeSubscription(\n subscriptionId: string,\n newTier: SubscriptionTier\n ): Promise<Subscription> {\n const subscription = await this.storage.getSubscription(subscriptionId);\n if (!subscription) {\n throw new Error(`Subscription not found: ${subscriptionId}`);\n }\n\n const currentTierOrder = this.getTierOrder(subscription.tier);\n const newTierOrder = this.getTierOrder(newTier);\n\n if (newTierOrder >= currentTierOrder) {\n throw new Error('New tier must be lower than current tier');\n }\n\n const newPricing = this.pricingManager.getTier(newTier);\n if (!newPricing) {\n throw new Error(`Invalid tier: ${newTier}`);\n }\n\n // Downgrade takes effect at end of current period\n subscription.metadata = {\n ...subscription.metadata,\n pendingDowngrade: newTier,\n downgradeTo: newTier,\n downgradeAt: subscription.currentPeriodEnd\n };\n subscription.updatedAt = new Date();\n\n await this.storage.updateSubscription(subscription);\n\n this.emit('subscription.downgraded', {\n subscription,\n oldTier: subscription.tier,\n newTier,\n effectiveDate: subscription.currentPeriodEnd\n });\n\n await this.saveEvent({\n type: BillingEventType.SubscriptionUpdated,\n userId: subscription.userId,\n subscriptionId: subscription.id,\n data: { action: 'downgrade', oldTier: subscription.tier, newTier }\n });\n\n return subscription;\n }\n\n /**\n * Cancel subscription\n */\n async cancelSubscription(\n subscriptionId: string,\n immediate: boolean = false\n ): Promise<Subscription> {\n const subscription = await this.storage.getSubscription(subscriptionId);\n if (!subscription) {\n throw new Error(`Subscription not found: ${subscriptionId}`);\n }\n\n if (immediate) {\n subscription.status = SubscriptionStatus.Canceled;\n subscription.currentPeriodEnd = new Date();\n } else {\n subscription.cancelAtPeriodEnd = true;\n }\n\n subscription.updatedAt = new Date();\n await this.storage.updateSubscription(subscription);\n\n this.emit('subscription.canceled', { subscription, immediate });\n\n await this.saveEvent({\n type: BillingEventType.SubscriptionCanceled,\n userId: subscription.userId,\n subscriptionId: subscription.id,\n data: { immediate }\n });\n\n return subscription;\n }\n\n /**\n * Renew subscription\n */\n async renewSubscription(subscriptionId: string): Promise<Subscription> {\n const subscription = await this.storage.getSubscription(subscriptionId);\n if (!subscription) {\n throw new Error(`Subscription not found: ${subscriptionId}`);\n }\n\n // Check for pending downgrade\n if (subscription.metadata?.pendingDowngrade) {\n const newTier = subscription.metadata.pendingDowngrade as SubscriptionTier;\n const newPricing = this.pricingManager.getTier(newTier);\n\n if (newPricing) {\n subscription.tier = newTier;\n subscription.price = this.getPriceForCycle(newTier, subscription.billingCycle);\n subscription.limits = { ...newPricing.limits };\n delete subscription.metadata.pendingDowngrade;\n }\n }\n\n // Update period\n subscription.currentPeriodStart = subscription.currentPeriodEnd;\n subscription.currentPeriodEnd = this.calculatePeriodEnd(\n subscription.currentPeriodStart,\n subscription.billingCycle\n );\n subscription.cancelAtPeriodEnd = false;\n subscription.updatedAt = new Date();\n\n await this.storage.updateSubscription(subscription);\n\n this.emit('subscription.renewed', subscription);\n\n await this.saveEvent({\n type: BillingEventType.SubscriptionRenewed,\n userId: subscription.userId,\n subscriptionId: subscription.id,\n data: subscription\n });\n\n return subscription;\n }\n\n /**\n * Get subscription by ID\n */\n async getSubscription(subscriptionId: string): Promise<Subscription | null> {\n return this.storage.getSubscription(subscriptionId);\n }\n\n /**\n * List user subscriptions\n */\n async listSubscriptions(userId: string): Promise<Subscription[]> {\n return this.storage.listSubscriptions(userId);\n }\n\n /**\n * Check if user has access to feature\n */\n async hasAccess(subscriptionId: string, feature: string): Promise<boolean> {\n const subscription = await this.storage.getSubscription(subscriptionId);\n if (!subscription) return false;\n\n if (subscription.status !== SubscriptionStatus.Active) return false;\n\n const pricingTier = this.pricingManager.getTier(subscription.tier);\n return pricingTier?.features.includes(feature) || false;\n }\n\n private getPriceForCycle(tier: SubscriptionTier, cycle: BillingCycle): number {\n const cycleMap = {\n [BillingCycle.Monthly]: 'monthly',\n [BillingCycle.Yearly]: 'yearly',\n [BillingCycle.Quarterly]: 'quarterly'\n } as const;\n\n return this.pricingManager.calculatePrice(tier, cycleMap[cycle]);\n }\n\n private calculatePeriodEnd(start: Date, cycle: BillingCycle): Date {\n const end = new Date(start);\n\n switch (cycle) {\n case BillingCycle.Monthly:\n end.setMonth(end.getMonth() + 1);\n break;\n case BillingCycle.Quarterly:\n end.setMonth(end.getMonth() + 3);\n break;\n case BillingCycle.Yearly:\n end.setFullYear(end.getFullYear() + 1);\n break;\n }\n\n return end;\n }\n\n private calculateProratedAmount(\n subscription: Subscription,\n newTier: SubscriptionTier,\n cycle: BillingCycle\n ): number {\n const daysInPeriod = Math.ceil(\n (subscription.currentPeriodEnd.getTime() - subscription.currentPeriodStart.getTime()) /\n (1000 * 60 * 60 * 24)\n );\n\n const daysRemaining = Math.ceil(\n (subscription.currentPeriodEnd.getTime() - Date.now()) / (1000 * 60 * 60 * 24)\n );\n\n const oldPrice = subscription.price;\n const newPrice = this.getPriceForCycle(newTier, cycle);\n\n const priceDiff = newPrice - oldPrice;\n const proratedAmount = (priceDiff * daysRemaining) / daysInPeriod;\n\n return Math.max(0, proratedAmount);\n }\n\n private getTierOrder(tier: SubscriptionTier): number {\n const order = {\n [SubscriptionTier.Free]: 0,\n [SubscriptionTier.Starter]: 1,\n [SubscriptionTier.Pro]: 2,\n [SubscriptionTier.Enterprise]: 3,\n [SubscriptionTier.Custom]: 4\n };\n return order[tier];\n }\n\n private async saveEvent(params: {\n type: BillingEventType;\n userId: string;\n subscriptionId: string;\n data: any;\n }): Promise<void> {\n await this.storage.saveEvent({\n id: this.generateId('evt'),\n type: params.type,\n timestamp: new Date(),\n userId: params.userId,\n subscriptionId: params.subscriptionId,\n data: params.data\n });\n }\n\n private generateId(prefix: string): string {\n return `${prefix}_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;\n }\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/billing/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,oBAAY,gBAAgB;IAC1B,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,GAAG,QAAQ;IACX,UAAU,eAAe;IACzB,MAAM,WAAW;CAClB;AAED,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,SAAS,cAAc;CACxB;AAED,oBAAY,kBAAkB;IAC5B,MAAM,WAAW;IACjB,QAAQ,aAAa;IACrB,OAAO,aAAa;IACpB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAGD,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,gBAAgB,CAAC;IACvB,YAAY,EAAE,YAAY,CAAC;IAC3B,MAAM,EAAE,kBAAkB,CAAC;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;IACpB,kBAAkB,EAAE,IAAI,CAAC;IACzB,gBAAgB,EAAE,IAAI,CAAC;IACvB,iBAAiB,EAAE,OAAO,CAAC;IAC3B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAGD,MAAM,WAAW,WAAW;IAC1B,aAAa,EAAE,MAAM,CAAC;IACtB,cAAc,EAAE,MAAM,CAAC;IACvB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,MAAM,C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AAW,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC,CAAC;IAGjC,WAAW,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7C,UAAU,CAAC,EAAE,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC,CAAC;IAChD,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAAC;IAGjD,SAAS,CAAC,KAAK,EAAE,YAAY,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9C,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,gBAAgB,GAAG,OAAO,CAAC,YAAY,EAAE,CAAC,CAAC;CAC7E"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Core TypeScript types for the Economic System
|
|
3
|
+
* Native npm implementation for agentic-jujutsu
|
|
4
|
+
*/
|
|
5
|
+
// Subscription Tiers
|
|
6
|
+
export var SubscriptionTier;
|
|
7
|
+
(function (SubscriptionTier) {
|
|
8
|
+
SubscriptionTier["Free"] = "free";
|
|
9
|
+
SubscriptionTier["Starter"] = "starter";
|
|
10
|
+
SubscriptionTier["Pro"] = "pro";
|
|
11
|
+
SubscriptionTier["Enterprise"] = "enterprise";
|
|
12
|
+
SubscriptionTier["Custom"] = "custom";
|
|
13
|
+
})(SubscriptionTier || (SubscriptionTier = {}));
|
|
14
|
+
export var BillingCycle;
|
|
15
|
+
(function (BillingCycle) {
|
|
16
|
+
BillingCycle["Monthly"] = "monthly";
|
|
17
|
+
BillingCycle["Yearly"] = "yearly";
|
|
18
|
+
BillingCycle["Quarterly"] = "quarterly";
|
|
19
|
+
})(BillingCycle || (BillingCycle = {}));
|
|
20
|
+
export var SubscriptionStatus;
|
|
21
|
+
(function (SubscriptionStatus) {
|
|
22
|
+
SubscriptionStatus["Active"] = "active";
|
|
23
|
+
SubscriptionStatus["Canceled"] = "canceled";
|
|
24
|
+
SubscriptionStatus["PastDue"] = "past_due";
|
|
25
|
+
SubscriptionStatus["Trialing"] = "trialing";
|
|
26
|
+
SubscriptionStatus["Suspended"] = "suspended";
|
|
27
|
+
})(SubscriptionStatus || (SubscriptionStatus = {}));
|
|
28
|
+
// Usage Metrics
|
|
29
|
+
export var UsageMetric;
|
|
30
|
+
(function (UsageMetric) {
|
|
31
|
+
UsageMetric["AgentHours"] = "agent_hours";
|
|
32
|
+
UsageMetric["Deployments"] = "deployments";
|
|
33
|
+
UsageMetric["APIRequests"] = "api_requests";
|
|
34
|
+
UsageMetric["StorageGB"] = "storage_gb";
|
|
35
|
+
UsageMetric["SwarmSize"] = "swarm_size";
|
|
36
|
+
UsageMetric["GPUHours"] = "gpu_hours";
|
|
37
|
+
UsageMetric["BandwidthGB"] = "bandwidth_gb";
|
|
38
|
+
UsageMetric["ConcurrentJobs"] = "concurrent_jobs";
|
|
39
|
+
UsageMetric["TeamMembers"] = "team_members";
|
|
40
|
+
UsageMetric["CustomDomains"] = "custom_domains";
|
|
41
|
+
})(UsageMetric || (UsageMetric = {}));
|
|
42
|
+
// Coupon
|
|
43
|
+
export var CouponType;
|
|
44
|
+
(function (CouponType) {
|
|
45
|
+
CouponType["Percentage"] = "percentage";
|
|
46
|
+
CouponType["Fixed"] = "fixed";
|
|
47
|
+
CouponType["Credit"] = "credit";
|
|
48
|
+
})(CouponType || (CouponType = {}));
|
|
49
|
+
// Payment
|
|
50
|
+
export var PaymentProvider;
|
|
51
|
+
(function (PaymentProvider) {
|
|
52
|
+
PaymentProvider["Stripe"] = "stripe";
|
|
53
|
+
PaymentProvider["PayPal"] = "paypal";
|
|
54
|
+
PaymentProvider["Crypto"] = "crypto";
|
|
55
|
+
})(PaymentProvider || (PaymentProvider = {}));
|
|
56
|
+
export var PaymentStatus;
|
|
57
|
+
(function (PaymentStatus) {
|
|
58
|
+
PaymentStatus["Pending"] = "pending";
|
|
59
|
+
PaymentStatus["Succeeded"] = "succeeded";
|
|
60
|
+
PaymentStatus["Failed"] = "failed";
|
|
61
|
+
PaymentStatus["Refunded"] = "refunded";
|
|
62
|
+
PaymentStatus["Canceled"] = "canceled";
|
|
63
|
+
})(PaymentStatus || (PaymentStatus = {}));
|
|
64
|
+
// Events
|
|
65
|
+
export var BillingEventType;
|
|
66
|
+
(function (BillingEventType) {
|
|
67
|
+
BillingEventType["SubscriptionCreated"] = "subscription.created";
|
|
68
|
+
BillingEventType["SubscriptionUpdated"] = "subscription.updated";
|
|
69
|
+
BillingEventType["SubscriptionCanceled"] = "subscription.canceled";
|
|
70
|
+
BillingEventType["SubscriptionRenewed"] = "subscription.renewed";
|
|
71
|
+
BillingEventType["UsageRecorded"] = "usage.recorded";
|
|
72
|
+
BillingEventType["QuotaExceeded"] = "quota.exceeded";
|
|
73
|
+
BillingEventType["PaymentSucceeded"] = "payment.succeeded";
|
|
74
|
+
BillingEventType["PaymentFailed"] = "payment.failed";
|
|
75
|
+
BillingEventType["InvoiceCreated"] = "invoice.created";
|
|
76
|
+
BillingEventType["CouponApplied"] = "coupon.applied";
|
|
77
|
+
})(BillingEventType || (BillingEventType = {}));
|
|
78
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/billing/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,qBAAqB;AACrB,MAAM,CAAN,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,iCAAa,CAAA;IACb,uCAAmB,CAAA;IACnB,+BAAW,CAAA;IACX,6CAAyB,CAAA;IACzB,qCAAiB,CAAA;AACnB,CAAC,EANW,gBAAgB,KAAhB,gBAAgB,QAM3B;AAED,MAAM,CAAN,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,iCAAiB,CAAA;IACjB,uCAAuB,CAAA;AACzB,CAAC,EAJW,YAAY,KAAZ,YAAY,QAIvB;AAED,MAAM,CAA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A;IACtC,oDAAgC,CAAA;IAChC,sDAAkC,CAAA;IAClC,oDAAgC,CAAA;AAClC,CAAC,EAXW,gBAAgB,KAAhB,gBAAgB,QAW3B","sourcesContent":["/**\n * Core TypeScript types for the Economic System\n * Native npm implementation for agentic-jujutsu\n */\n\n// Subscription Tiers\nexport enum SubscriptionTier {\n Free = 'free',\n Starter = 'starter',\n Pro = 'pro',\n Enterprise = 'enterprise',\n Custom = 'custom'\n}\n\nexport enum BillingCycle {\n Monthly = 'monthly',\n Yearly = 'yearly',\n Quarterly = 'quarterly'\n}\n\nexport enum SubscriptionStatus {\n Active = 'active',\n Canceled = 'canceled',\n PastDue = 'past_due',\n Trialing = 'trialing',\n Suspended = 'suspended'\n}\n\n// Subscription\nexport interface Subscription {\n id: string;\n userId: string;\n tier: SubscriptionTier;\n billingCycle: BillingCycle;\n status: SubscriptionStatus;\n price: number;\n currency: string;\n limits: UsageLimits;\n currentPeriodStart: Date;\n currentPeriodEnd: Date;\n cancelAtPeriodEnd: boolean;\n paymentMethodId?: string;\n metadata?: Record<string, any>;\n createdAt: Date;\n updatedAt: Date;\n}\n\n// Usage Limits\nexport interface UsageLimits {\n maxAgentHours: number;\n maxDeployments: number;\n maxAPIRequests: number;\n maxStorageGB: number;\n maxSwarmSize: number;\n maxGPUHours: number;\n maxBandwidthGB: number;\n maxConcurrentJobs: number;\n maxTeamMembers: number;\n maxCustomDomains: number;\n}\n\n// Pricing Tier\nexport interface PricingTier {\n tier: SubscriptionTier;\n name: string;\n description: string;\n monthlyPrice: number;\n yearlyPrice: number;\n quarterlyPrice: number;\n limits: UsageLimits;\n features: string[];\n popular?: boolean;\n}\n\n// Usage Metrics\nexport enum UsageMetric {\n AgentHours = 'agent_hours',\n Deployments = 'deployments',\n APIRequests = 'api_requests',\n StorageGB = 'storage_gb',\n SwarmSize = 'swarm_size',\n GPUHours = 'gpu_hours',\n BandwidthGB = 'bandwidth_gb',\n ConcurrentJobs = 'concurrent_jobs',\n TeamMembers = 'team_members',\n CustomDomains = 'custom_domains'\n}\n\n// Usage Record\nexport interface UsageRecord {\n id: string;\n subscriptionId: string;\n userId: string;\n metric: UsageMetric;\n amount: number;\n unit: string;\n timestamp: Date;\n billingPeriod: string;\n metadata?: Record<string, any>;\n}\n\n// Usage Summary\nexport interface UsageSummary {\n subscriptionId: string;\n userId: string;\n period: string;\n metrics: Map<UsageMetric, number>;\n limits: UsageLimits;\n percentUsed: Map<UsageMetric, number>;\n overages: Map<UsageMetric, number>;\n estimatedCost: number;\n}\n\n// Coupon\nexport enum CouponType {\n Percentage = 'percentage',\n Fixed = 'fixed',\n Credit = 'credit'\n}\n\nexport interface Coupon {\n id: string;\n code: string;\n type: CouponType;\n value: number;\n currency?: string;\n description?: string;\n maxRedemptions?: number;\n timesRedeemed: number;\n validFrom: Date;\n validUntil?: Date;\n applicableTiers?: SubscriptionTier[];\n minimumAmount?: number;\n metadata?: Record<string, any>;\n active: boolean;\n createdAt: Date;\n}\n\n// Coupon Validation\nexport interface CouponValidation {\n valid: boolean;\n coupon?: Coupon;\n discountAmount: number;\n finalAmount: number;\n error?: string;\n}\n\n// Payment\nexport enum PaymentProvider {\n Stripe = 'stripe',\n PayPal = 'paypal',\n Crypto = 'crypto'\n}\n\nexport enum PaymentStatus {\n Pending = 'pending',\n Succeeded = 'succeeded',\n Failed = 'failed',\n Refunded = 'refunded',\n Canceled = 'canceled'\n}\n\nexport interface PaymentMethod {\n id: string;\n userId: string;\n provider: PaymentProvider;\n type: string; // 'card', 'bank_account', 'crypto_wallet'\n last4?: string;\n expiryMonth?: number;\n expiryYear?: number;\n brand?: string;\n isDefault: boolean;\n metadata?: Record<string, any>;\n}\n\nexport interface PaymentRequest {\n subscriptionId: string;\n userId: string;\n amount: number;\n currency: string;\n paymentMethodId: string;\n description?: string;\n metadata?: Record<string, any>;\n}\n\nexport interface PaymentResult {\n transactionId: string;\n status: PaymentStatus;\n amount: number;\n currency: string;\n providerTransactionId?: string;\n error?: string;\n processedAt: Date;\n}\n\n// Invoice\nexport interface Invoice {\n id: string;\n subscriptionId: string;\n userId: string;\n amount: number;\n currency: string;\n status: PaymentStatus;\n periodStart: Date;\n periodEnd: Date;\n lineItems: InvoiceLineItem[];\n subtotal: number;\n discount: number;\n tax: number;\n total: number;\n paidAt?: Date;\n dueDate: Date;\n metadata?: Record<string, any>;\n createdAt: Date;\n}\n\nexport interface InvoiceLineItem {\n description: string;\n amount: number;\n quantity: number;\n unitPrice: number;\n metadata?: Record<string, any>;\n}\n\n// Quota Check Result\nexport interface QuotaCheckResult {\n allowed: boolean;\n metric: UsageMetric;\n current: number;\n limit: number;\n percentUsed: number;\n remaining: number;\n overage: number;\n warning?: string;\n}\n\n// Events\nexport enum BillingEventType {\n SubscriptionCreated = 'subscription.created',\n SubscriptionUpdated = 'subscription.updated',\n SubscriptionCanceled = 'subscription.canceled',\n SubscriptionRenewed = 'subscription.renewed',\n UsageRecorded = 'usage.recorded',\n QuotaExceeded = 'quota.exceeded',\n PaymentSucceeded = 'payment.succeeded',\n PaymentFailed = 'payment.failed',\n InvoiceCreated = 'invoice.created',\n CouponApplied = 'coupon.applied'\n}\n\nexport interface BillingEvent {\n id: string;\n type: BillingEventType;\n timestamp: Date;\n data: any;\n userId: string;\n subscriptionId?: string;\n}\n\n// Configuration\nexport interface BillingConfig {\n currency: string;\n taxRate: number;\n gracePeriodDays: number;\n enableMetering: boolean;\n enableCoupons: boolean;\n enableOverages: boolean;\n overageRate: number;\n softLimitPercent: number;\n hardLimitPercent: number;\n storageBackend: 'memory' | 'agentdb' | 'sqlite' | 'postgres';\n paymentProvider: PaymentProvider;\n}\n\n// Storage Adapter Interface\nexport interface StorageAdapter {\n // Subscriptions\n saveSubscription(subscription: Subscription): Promise<void>;\n getSubscription(id: string): Promise<Subscription | null>;\n updateSubscription(subscription: Subscription): Promise<void>;\n deleteSubscription(id: string): Promise<void>;\n listSubscriptions(userId: string): Promise<Subscription[]>;\n\n // Usage\n saveUsageRecord(record: UsageRecord): Promise<void>;\n getUsageRecords(subscriptionId: string, period: string): Promise<UsageRecord[]>;\n\n // Coupons\n saveCoupon(coupon: Coupon): Promise<void>;\n getCoupon(code: string): Promise<Coupon | null>;\n updateCoupon(coupon: Coupon): Promise<void>;\n listCoupons(): Promise<Coupon[]>;\n\n // Invoices\n saveInvoice(invoice: Invoice): Promise<void>;\n getInvoice(id: string): Promise<Invoice | null>;\n listInvoices(userId: string): Promise<Invoice[]>;\n\n // Events\n saveEvent(event: BillingEvent): Promise<void>;\n getEvents(userId: string, type?: BillingEventType): Promise<BillingEvent[]>;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"attention-coordinator.d.ts","sourceRoot":"","sources":["../../src/coordination/attention-coordinator.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,EAEV,aAAa,EACb,YAAY,EACb,MAAM,qBAAqB,CAAC;AAE7B;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,YAAY,CAAC;IACxB,KAAK,EAAE,GAAG,CAAC;IACX,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,cAAc,EAAE,YAAY,CAAC;IAC7B,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,YAAY,CAAC;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB;AAED;;GAEG;AACH,MAAM,MA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