kynjal-cli 3.1.3 → 4.0.0
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/.claude/agents/core/coder.md +1 -1
- package/.claude/agents/core/planner.md +2 -2
- package/.claude/agents/core/researcher.md +1 -1
- package/.claude/agents/core/reviewer.md +1 -1
- package/.claude/agents/core/tester.md +1 -1
- package/.claude/agents/data/data-ml-model.md +4 -4
- package/.claude/agents/development/dev-backend-api.md +4 -4
- package/.claude/agents/documentation/docs-api-openapi.md +4 -4
- package/.claude/agents/github/code-review-swarm.md +2 -2
- package/.claude/agents/github/issue-tracker.md +2 -2
- package/.claude/agents/github/pr-manager.md +2 -2
- package/.claude/agents/github/release-manager.md +2 -2
- package/.claude/agents/github/workflow-automation.md +2 -2
- package/.claude/agents/sparc/architecture.md +3 -3
- package/.claude/agents/sparc/pseudocode.md +2 -2
- package/.claude/agents/sparc/refinement.md +3 -3
- package/.claude/agents/sparc/specification.md +2 -2
- package/.claude/agents/swarm/adaptive-coordinator.md +1 -1
- package/.claude/agents/swarm/hierarchical-coordinator.md +1 -1
- package/.claude/agents/swarm/mesh-coordinator.md +1 -1
- package/.claude/agents/templates/base-template-generator.md +25 -4
- package/.claude/agents/templates/sparc-coordinator.md +3 -3
- package/.claude/helpers/auto-commit.sh +1 -1
- package/.claude/helpers/auto-memory-hook.mjs +27 -9
- package/.claude/helpers/hook-handler.cjs +58 -18
- package/.claude/helpers/statusline.cjs +14 -33
- package/.claude/helpers/statusline.js +3 -3
- package/.claude/settings.json +9 -9
- package/.claude/skills/reasoningbank-intelligence/SKILL.md +2 -2
- package/.claude/skills/swarm-orchestration/SKILL.md +1 -1
- package/README.md +383 -170
- package/bin/cli.js +6 -6
- package/bin/mcp-server.js +1 -1
- package/bin/preinstall.cjs +2 -0
- package/dist/src/appliance/gguf-engine.js +664 -0
- package/dist/src/appliance/gguf-engine.js.map +1 -0
- package/dist/src/appliance/ruvllm-bridge.js +492 -0
- package/dist/src/appliance/ruvllm-bridge.js.map +1 -0
- package/dist/src/appliance/rvfa-builder.js +383 -0
- package/dist/src/appliance/rvfa-builder.js.map +1 -0
- package/dist/src/appliance/rvfa-distribution.js +533 -0
- package/dist/src/appliance/rvfa-distribution.js.map +1 -0
- package/dist/src/appliance/rvfa-format.js +465 -0
- package/dist/src/appliance/rvfa-format.js.map +1 -0
- package/dist/src/appliance/rvfa-runner.js +373 -0
- package/dist/src/appliance/rvfa-runner.js.map +1 -0
- package/dist/src/appliance/rvfa-signing.js +469 -0
- package/dist/src/appliance/rvfa-signing.js.map +1 -0
- package/dist/src/benchmarks/pretrain/index.js +542 -331
- package/dist/src/benchmarks/pretrain/index.js.map +1 -1
- package/dist/src/commands/agent.d.ts.map +1 -1
- package/dist/src/commands/agent.js +725 -502
- package/dist/src/commands/agent.js.map +1 -1
- package/dist/src/commands/analyze.js +1548 -1218
- package/dist/src/commands/analyze.js.map +1 -1
- package/dist/src/commands/appliance-advanced.d.ts +9 -0
- package/dist/src/commands/appliance-advanced.d.ts.map +1 -0
- package/dist/src/commands/appliance-advanced.js +324 -0
- package/dist/src/commands/appliance-advanced.js.map +1 -0
- package/dist/src/commands/appliance.d.ts +8 -0
- package/dist/src/commands/appliance.d.ts.map +1 -0
- package/dist/src/commands/appliance.js +581 -0
- package/dist/src/commands/appliance.js.map +1 -0
- package/dist/src/commands/benchmark.js +523 -372
- package/dist/src/commands/benchmark.js.map +1 -1
- package/dist/src/commands/claims.js +364 -274
- package/dist/src/commands/claims.js.map +1 -1
- package/dist/src/commands/cleanup.d.ts +13 -0
- package/dist/src/commands/cleanup.d.ts.map +1 -0
- package/dist/src/commands/cleanup.js +262 -0
- package/dist/src/commands/cleanup.js.map +1 -0
- package/dist/src/commands/completions.js +118 -477
- package/dist/src/commands/completions.js.map +1 -1
- package/dist/src/commands/config.js +303 -237
- package/dist/src/commands/config.js.map +1 -1
- package/dist/src/commands/daemon.d.ts.map +1 -1
- package/dist/src/commands/daemon.js +597 -425
- package/dist/src/commands/daemon.js.map +1 -1
- package/dist/src/commands/deployment.js +275 -194
- package/dist/src/commands/deployment.js.map +1 -1
- package/dist/src/commands/doctor.d.ts.map +1 -1
- package/dist/src/commands/doctor.js +690 -460
- package/dist/src/commands/doctor.js.map +1 -1
- package/dist/src/commands/embeddings.js +1543 -1293
- package/dist/src/commands/embeddings.js.map +1 -1
- package/dist/src/commands/guidance.js +596 -449
- package/dist/src/commands/guidance.js.map +1 -1
- package/dist/src/commands/hive-mind.js +938 -854
- package/dist/src/commands/hive-mind.js.map +1 -1
- package/dist/src/commands/hooks.d.ts.map +1 -1
- package/dist/src/commands/hooks.js +3677 -2570
- package/dist/src/commands/hooks.js.map +1 -1
- package/dist/src/commands/index.js +322 -122
- package/dist/src/commands/index.js.map +1 -1
- package/dist/src/commands/init.d.ts +1 -1
- package/dist/src/commands/init.d.ts.map +1 -1
- package/dist/src/commands/init.js +943 -787
- package/dist/src/commands/init.js.map +1 -1
- package/dist/src/commands/issues.js +558 -383
- package/dist/src/commands/issues.js.map +1 -1
- package/dist/src/commands/mcp.d.ts.map +1 -1
- package/dist/src/commands/mcp.js +605 -475
- package/dist/src/commands/mcp.js.map +1 -1
- package/dist/src/commands/memory.d.ts.map +1 -1
- package/dist/src/commands/memory.js +1031 -814
- package/dist/src/commands/memory.js.map +1 -1
- package/dist/src/commands/migrate.js +347 -282
- package/dist/src/commands/migrate.js.map +1 -1
- package/dist/src/commands/neural.d.ts.map +1 -1
- package/dist/src/commands/neural.js +1563 -1283
- package/dist/src/commands/neural.js.map +1 -1
- package/dist/src/commands/performance.js +643 -497
- package/dist/src/commands/performance.js.map +1 -1
- package/dist/src/commands/plugins.js +841 -668
- package/dist/src/commands/plugins.js.map +1 -1
- package/dist/src/commands/process.js +447 -392
- package/dist/src/commands/process.js.map +1 -1
- package/dist/src/commands/progress.js +256 -162
- package/dist/src/commands/progress.js.map +1 -1
- package/dist/src/commands/providers.js +220 -150
- package/dist/src/commands/providers.js.map +1 -1
- package/dist/src/commands/route.js +665 -520
- package/dist/src/commands/route.js.map +1 -1
- package/dist/src/commands/ruvector/backup.js +651 -505
- package/dist/src/commands/ruvector/backup.js.map +1 -1
- package/dist/src/commands/ruvector/benchmark.js +401 -349
- package/dist/src/commands/ruvector/benchmark.js.map +1 -1
- package/dist/src/commands/ruvector/import.js +267 -225
- package/dist/src/commands/ruvector/import.js.map +1 -1
- package/dist/src/commands/ruvector/index.js +75 -37
- package/dist/src/commands/ruvector/index.js.map +1 -1
- package/dist/src/commands/ruvector/init.js +359 -336
- package/dist/src/commands/ruvector/init.js.map +1 -1
- package/dist/src/commands/ruvector/migrate.js +322 -335
- package/dist/src/commands/ruvector/migrate.js.map +1 -1
- package/dist/src/commands/ruvector/optimize.js +431 -375
- package/dist/src/commands/ruvector/optimize.js.map +1 -1
- package/dist/src/commands/ruvector/setup.js +117 -703
- package/dist/src/commands/ruvector/setup.js.map +1 -1
- package/dist/src/commands/ruvector/status.js +419 -364
- package/dist/src/commands/ruvector/status.js.map +1 -1
- package/dist/src/commands/security.d.ts.map +1 -1
- package/dist/src/commands/security.js +610 -456
- package/dist/src/commands/security.js.map +1 -1
- package/dist/src/commands/session.d.ts +1 -1
- package/dist/src/commands/session.js +627 -505
- package/dist/src/commands/session.js.map +1 -1
- package/dist/src/commands/start.d.ts +1 -1
- package/dist/src/commands/start.js +368 -271
- package/dist/src/commands/start.js.map +1 -1
- package/dist/src/commands/status.d.ts +1 -1
- package/dist/src/commands/status.d.ts.map +1 -1
- package/dist/src/commands/status.js +492 -379
- package/dist/src/commands/status.js.map +1 -1
- package/dist/src/commands/swarm.js +488 -408
- package/dist/src/commands/swarm.js.map +1 -1
- package/dist/src/commands/task.d.ts +1 -1
- package/dist/src/commands/task.js +539 -424
- package/dist/src/commands/task.js.map +1 -1
- package/dist/src/commands/transfer-store.js +412 -322
- package/dist/src/commands/transfer-store.js.map +1 -1
- package/dist/src/commands/update.js +291 -196
- package/dist/src/commands/update.js.map +1 -1
- package/dist/src/commands/workflow.js +486 -386
- package/dist/src/commands/workflow.js.map +1 -1
- package/dist/src/config-adapter.js +40 -39
- package/dist/src/config-adapter.js.map +1 -1
- package/dist/src/index.js +416 -312
- package/dist/src/index.js.map +1 -1
- package/dist/src/infrastructure/in-memory-repositories.js +507 -246
- package/dist/src/infrastructure/in-memory-repositories.js.map +1 -1
- package/dist/src/init/claudemd-generator.js +78 -368
- package/dist/src/init/claudemd-generator.js.map +1 -1
- package/dist/src/init/executor.js +1019 -1345
- package/dist/src/init/executor.js.map +1 -1
- package/dist/src/init/helpers-generator.js +60 -635
- package/dist/src/init/helpers-generator.js.map +1 -1
- package/dist/src/init/index.d.ts +1 -1
- package/dist/src/init/index.d.ts.map +1 -1
- package/dist/src/init/index.js +1 -1
- package/dist/src/init/index.js.map +1 -1
- package/dist/src/init/mcp-generator.d.ts +0 -1
- package/dist/src/init/mcp-generator.d.ts.map +1 -1
- package/dist/src/init/mcp-generator.js +62 -42
- package/dist/src/init/mcp-generator.js.map +1 -1
- package/dist/src/init/settings-generator.d.ts.map +1 -1
- package/dist/src/init/settings-generator.js +167 -100
- package/dist/src/init/settings-generator.js.map +1 -1
- package/dist/src/init/statusline-generator.d.ts +16 -8
- package/dist/src/init/statusline-generator.d.ts.map +1 -1
- package/dist/src/init/statusline-generator.js +20 -1300
- package/dist/src/init/statusline-generator.js.map +1 -1
- package/dist/src/init/types.d.ts +15 -5
- package/dist/src/init/types.d.ts.map +1 -1
- package/dist/src/init/types.js +66 -76
- package/dist/src/init/types.js.map +1 -1
- package/dist/src/mcp-client.js +130 -76
- package/dist/src/mcp-client.js.map +1 -1
- package/dist/src/mcp-server.js +758 -445
- package/dist/src/mcp-server.js.map +1 -1
- package/dist/src/mcp-tools/agent-tools.js +492 -391
- package/dist/src/mcp-tools/agent-tools.js.map +1 -1
- package/dist/src/mcp-tools/agentdb-tools.d.ts +30 -0
- package/dist/src/mcp-tools/agentdb-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/agentdb-tools.js +758 -0
- package/dist/src/mcp-tools/agentdb-tools.js.map +1 -0
- package/dist/src/mcp-tools/analyze-tools.js +236 -172
- package/dist/src/mcp-tools/analyze-tools.js.map +1 -1
- package/dist/src/mcp-tools/auto-install.js +142 -80
- package/dist/src/mcp-tools/auto-install.js.map +1 -1
- package/dist/src/mcp-tools/browser-tools.js +375 -252
- package/dist/src/mcp-tools/browser-tools.js.map +1 -1
- package/dist/src/mcp-tools/claims-tools.js +565 -473
- package/dist/src/mcp-tools/claims-tools.js.map +1 -1
- package/dist/src/mcp-tools/config-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/config-tools.js +284 -190
- package/dist/src/mcp-tools/config-tools.js.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/coordination-tools.js +600 -349
- package/dist/src/mcp-tools/coordination-tools.js.map +1 -1
- package/dist/src/mcp-tools/daa-tools.js +367 -289
- package/dist/src/mcp-tools/daa-tools.js.map +1 -1
- package/dist/src/mcp-tools/embeddings-tools.js +693 -582
- package/dist/src/mcp-tools/embeddings-tools.js.map +1 -1
- package/dist/src/mcp-tools/github-tools.js +312 -261
- package/dist/src/mcp-tools/github-tools.js.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hive-mind-tools.js +718 -423
- package/dist/src/mcp-tools/hive-mind-tools.js.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/hooks-tools.js +2726 -1978
- package/dist/src/mcp-tools/hooks-tools.js.map +1 -1
- package/dist/src/mcp-tools/index.d.ts +2 -0
- package/dist/src/mcp-tools/index.d.ts.map +1 -1
- package/dist/src/mcp-tools/index.js +2 -0
- package/dist/src/mcp-tools/index.js.map +1 -1
- package/dist/src/mcp-tools/memory-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/memory-tools.js +514 -329
- package/dist/src/mcp-tools/memory-tools.js.map +1 -1
- package/dist/src/mcp-tools/neural-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/neural-tools.js +428 -326
- package/dist/src/mcp-tools/neural-tools.js.map +1 -1
- package/dist/src/mcp-tools/performance-tools.js +480 -420
- package/dist/src/mcp-tools/performance-tools.js.map +1 -1
- package/dist/src/mcp-tools/progress-tools.js +278 -204
- package/dist/src/mcp-tools/progress-tools.js.map +1 -1
- package/dist/src/mcp-tools/ruvllm-tools.d.ts +9 -0
- package/dist/src/mcp-tools/ruvllm-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/ruvllm-tools.js +399 -0
- package/dist/src/mcp-tools/ruvllm-tools.js.map +1 -0
- package/dist/src/mcp-tools/security-tools.js +429 -297
- package/dist/src/mcp-tools/security-tools.js.map +1 -1
- package/dist/src/mcp-tools/session-tools.js +234 -185
- package/dist/src/mcp-tools/session-tools.js.map +1 -1
- package/dist/src/mcp-tools/swarm-tools.d.ts +2 -1
- package/dist/src/mcp-tools/swarm-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/swarm-tools.js +303 -64
- package/dist/src/mcp-tools/swarm-tools.js.map +1 -1
- package/dist/src/mcp-tools/system-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/system-tools.js +352 -200
- package/dist/src/mcp-tools/system-tools.js.map +1 -1
- package/dist/src/mcp-tools/task-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/task-tools.js +357 -189
- package/dist/src/mcp-tools/task-tools.js.map +1 -1
- package/dist/src/mcp-tools/terminal-tools.js +196 -148
- package/dist/src/mcp-tools/terminal-tools.js.map +1 -1
- package/dist/src/mcp-tools/transfer-tools.js +333 -186
- package/dist/src/mcp-tools/transfer-tools.js.map +1 -1
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts +9 -0
- package/dist/src/mcp-tools/wasm-agent-tools.d.ts.map +1 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js +377 -0
- package/dist/src/mcp-tools/wasm-agent-tools.js.map +1 -0
- package/dist/src/mcp-tools/workflow-tools.d.ts.map +1 -1
- package/dist/src/mcp-tools/workflow-tools.js +471 -335
- package/dist/src/mcp-tools/workflow-tools.js.map +1 -1
- package/dist/src/memory/ewc-consolidation.js +345 -173
- package/dist/src/memory/ewc-consolidation.js.map +1 -1
- package/dist/src/memory/intelligence.js +841 -359
- package/dist/src/memory/intelligence.js.map +1 -1
- package/dist/src/memory/memory-bridge.js +1964 -0
- package/dist/src/memory/memory-bridge.js.map +1 -0
- package/dist/src/memory/memory-initializer.js +1895 -1602
- package/dist/src/memory/memory-initializer.js.map +1 -1
- package/dist/src/memory/sona-optimizer.js +329 -199
- package/dist/src/memory/sona-optimizer.js.map +1 -1
- package/dist/src/output.d.ts +2 -2
- package/dist/src/output.d.ts.map +1 -1
- package/dist/src/output.js +273 -242
- package/dist/src/output.js.map +1 -1
- package/dist/src/parser.js +217 -124
- package/dist/src/parser.js.map +1 -1
- package/dist/src/plugins/manager.js +531 -278
- package/dist/src/plugins/manager.js.map +1 -1
- package/dist/src/plugins/store/discovery.js +362 -275
- package/dist/src/plugins/store/discovery.js.map +1 -1
- package/dist/src/plugins/store/index.js +105 -48
- package/dist/src/plugins/store/index.js.map +1 -1
- package/dist/src/plugins/store/search.js +107 -69
- package/dist/src/plugins/store/search.js.map +1 -1
- package/dist/src/plugins/tests/demo-plugin-store.js +160 -113
- package/dist/src/plugins/tests/demo-plugin-store.js.map +1 -1
- package/dist/src/plugins/tests/standalone-test.js +223 -172
- package/dist/src/plugins/tests/standalone-test.js.map +1 -1
- package/dist/src/plugins/tests/test-plugin-store.js +228 -190
- package/dist/src/plugins/tests/test-plugin-store.js.map +1 -1
- package/dist/src/production/circuit-breaker.js +126 -62
- package/dist/src/production/circuit-breaker.js.map +1 -1
- package/dist/src/production/error-handler.js +156 -86
- package/dist/src/production/error-handler.js.map +1 -1
- package/dist/src/production/monitoring.js +220 -139
- package/dist/src/production/monitoring.js.map +1 -1
- package/dist/src/production/rate-limiter.js +93 -74
- package/dist/src/production/rate-limiter.js.map +1 -1
- package/dist/src/production/retry.js +167 -75
- package/dist/src/production/retry.js.map +1 -1
- package/dist/src/prompt.js +560 -436
- package/dist/src/prompt.js.map +1 -1
- package/dist/src/runtime/headless.js +289 -200
- package/dist/src/runtime/headless.js.map +1 -1
- package/dist/src/ruvector/agent-wasm.js +511 -0
- package/dist/src/ruvector/agent-wasm.js.map +1 -0
- package/dist/src/ruvector/ast-analyzer.js +232 -145
- package/dist/src/ruvector/ast-analyzer.js.map +1 -1
- package/dist/src/ruvector/coverage-router.js +419 -287
- package/dist/src/ruvector/coverage-router.js.map +1 -1
- package/dist/src/ruvector/coverage-tools.js +101 -56
- package/dist/src/ruvector/coverage-tools.js.map +1 -1
- package/dist/src/ruvector/diff-classifier.js +451 -324
- package/dist/src/ruvector/diff-classifier.js.map +1 -1
- package/dist/src/ruvector/enhanced-model-router.js +337 -251
- package/dist/src/ruvector/enhanced-model-router.js.map +1 -1
- package/dist/src/ruvector/flash-attention.js +254 -223
- package/dist/src/ruvector/flash-attention.js.map +1 -1
- package/dist/src/ruvector/graph-analyzer.js +680 -486
- package/dist/src/ruvector/graph-analyzer.js.map +1 -1
- package/dist/src/ruvector/index.js +113 -27
- package/dist/src/ruvector/index.js.map +1 -1
- package/dist/src/ruvector/lora-adapter.js +248 -155
- package/dist/src/ruvector/lora-adapter.js.map +1 -1
- package/dist/src/ruvector/model-router.js +248 -175
- package/dist/src/ruvector/model-router.js.map +1 -1
- package/dist/src/ruvector/moe-router.js +286 -228
- package/dist/src/ruvector/moe-router.js.map +1 -1
- package/dist/src/ruvector/q-learning-router.js +338 -257
- package/dist/src/ruvector/q-learning-router.js.map +1 -1
- package/dist/src/ruvector/ruvllm-wasm.js +527 -0
- package/dist/src/ruvector/ruvllm-wasm.js.map +1 -0
- package/dist/src/ruvector/semantic-router.js +67 -60
- package/dist/src/ruvector/semantic-router.js.map +1 -1
- package/dist/src/ruvector/vector-db.js +205 -119
- package/dist/src/ruvector/vector-db.js.map +1 -1
- package/dist/src/services/agentic-flow-bridge.js +168 -0
- package/dist/src/services/agentic-flow-bridge.js.map +1 -0
- package/dist/src/services/claim-service.js +940 -615
- package/dist/src/services/claim-service.js.map +1 -1
- package/dist/src/services/container-worker-pool.js +669 -399
- package/dist/src/services/container-worker-pool.js.map +1 -1
- package/dist/src/services/headless-worker-executor.js +467 -441
- package/dist/src/services/headless-worker-executor.js.map +1 -1
- package/dist/src/services/index.d.ts +5 -5
- package/dist/src/services/index.d.ts.map +1 -1
- package/dist/src/services/index.js +4 -4
- package/dist/src/services/index.js.map +1 -1
- package/dist/src/services/registry-api.js +201 -93
- package/dist/src/services/registry-api.js.map +1 -1
- package/dist/src/services/ruvector-training.js +414 -144
- package/dist/src/services/ruvector-training.js.map +1 -1
- package/dist/src/services/worker-daemon.js +928 -531
- package/dist/src/services/worker-daemon.js.map +1 -1
- package/dist/src/services/worker-queue.js +550 -331
- package/dist/src/services/worker-queue.js.map +1 -1
- package/dist/src/suggest.js +55 -45
- package/dist/src/suggest.js.map +1 -1
- package/dist/src/transfer/anonymization/index.js +37 -29
- package/dist/src/transfer/anonymization/index.js.map +1 -1
- package/dist/src/transfer/deploy-seraphine.d.ts +1 -1
- package/dist/src/transfer/deploy-seraphine.js +156 -129
- package/dist/src/transfer/deploy-seraphine.js.map +1 -1
- package/dist/src/transfer/export.js +142 -84
- package/dist/src/transfer/export.js.map +1 -1
- package/dist/src/transfer/index.d.ts +1 -1
- package/dist/src/transfer/index.d.ts.map +1 -1
- package/dist/src/transfer/index.js +2 -0
- package/dist/src/transfer/index.js.map +1 -1
- package/dist/src/transfer/ipfs/client.js +337 -179
- package/dist/src/transfer/ipfs/client.js.map +1 -1
- package/dist/src/transfer/ipfs/upload.js +434 -290
- package/dist/src/transfer/ipfs/upload.js.map +1 -1
- package/dist/src/transfer/models/seraphine.js +58 -58
- package/dist/src/transfer/models/seraphine.js.map +1 -1
- package/dist/src/transfer/serialization/cfp.js +37 -33
- package/dist/src/transfer/serialization/cfp.js.map +1 -1
- package/dist/src/transfer/storage/gcs.js +248 -139
- package/dist/src/transfer/storage/gcs.js.map +1 -1
- package/dist/src/transfer/store/discovery.js +353 -243
- package/dist/src/transfer/store/discovery.js.map +1 -1
- package/dist/src/transfer/store/download.js +365 -243
- package/dist/src/transfer/store/download.js.map +1 -1
- package/dist/src/transfer/store/index.js +130 -63
- package/dist/src/transfer/store/index.js.map +1 -1
- package/dist/src/transfer/store/publish.js +258 -184
- package/dist/src/transfer/store/publish.js.map +1 -1
- package/dist/src/transfer/store/registry.js +73 -51
- package/dist/src/transfer/store/registry.js.map +1 -1
- package/dist/src/transfer/store/search.js +96 -64
- package/dist/src/transfer/store/search.js.map +1 -1
- package/dist/src/transfer/store/tests/standalone-test.js +231 -174
- package/dist/src/transfer/store/tests/standalone-test.js.map +1 -1
- package/dist/src/transfer/test-seraphine.js +130 -95
- package/dist/src/transfer/test-seraphine.js.map +1 -1
- package/dist/src/transfer/tests/test-store.js +239 -194
- package/dist/src/transfer/tests/test-store.js.map +1 -1
- package/dist/src/types.js +56 -27
- package/dist/src/types.js.map +1 -1
- package/dist/src/update/checker.js +183 -106
- package/dist/src/update/checker.js.map +1 -1
- package/dist/src/update/executor.js +198 -135
- package/dist/src/update/executor.js.map +1 -1
- package/dist/src/update/index.js +85 -38
- package/dist/src/update/index.js.map +1 -1
- package/dist/src/update/rate-limiter.js +31 -19
- package/dist/src/update/rate-limiter.js.map +1 -1
- package/dist/src/update/validator.js +64 -38
- package/dist/src/update/validator.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +13 -10
- package/.claude/agents/custom/accessibility-auditor.yaml +0 -56
- package/.claude/agents/custom/design-architect.yaml +0 -48
- package/.claude/agents/custom/ui-developer.yaml +0 -46
- package/.claude/agents/custom/ux-researcher.yaml +0 -60
- package/dist/src/benchmarks/pretrain/index.d.ts +0 -58
- package/dist/src/benchmarks/pretrain/index.d.ts.map +0 -1
- package/dist/src/commands/index.d.ts +0 -108
- package/dist/src/commands/index.d.ts.map +0 -1
- package/dist/src/config-adapter.d.ts +0 -15
- package/dist/src/config-adapter.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -76
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/infrastructure/in-memory-repositories.d.ts +0 -68
- package/dist/src/infrastructure/in-memory-repositories.d.ts.map +0 -1
- package/dist/src/init/claudemd-generator.d.ts +0 -25
- package/dist/src/init/claudemd-generator.d.ts.map +0 -1
- package/dist/src/init/executor.d.ts +0 -41
- package/dist/src/init/executor.d.ts.map +0 -1
- package/dist/src/init/helpers-generator.d.ts +0 -60
- package/dist/src/init/helpers-generator.d.ts.map +0 -1
- package/dist/src/mcp-client.d.ts +0 -92
- package/dist/src/mcp-client.d.ts.map +0 -1
- package/dist/src/mcp-server.d.ts +0 -161
- package/dist/src/mcp-server.d.ts.map +0 -1
- package/dist/src/mcp-tools/auto-install.d.ts +0 -83
- package/dist/src/mcp-tools/auto-install.d.ts.map +0 -1
- package/dist/src/mcp-tools/types.d.ts +0 -31
- package/dist/src/mcp-tools/types.d.ts.map +0 -1
- package/dist/src/memory/ewc-consolidation.d.ts +0 -271
- package/dist/src/memory/ewc-consolidation.d.ts.map +0 -1
- package/dist/src/memory/intelligence.d.ts +0 -285
- package/dist/src/memory/intelligence.d.ts.map +0 -1
- package/dist/src/memory/memory-initializer.d.ts +0 -396
- package/dist/src/memory/memory-initializer.d.ts.map +0 -1
- package/dist/src/memory/sona-optimizer.d.ts +0 -227
- package/dist/src/memory/sona-optimizer.d.ts.map +0 -1
- package/dist/src/parser.d.ts +0 -41
- package/dist/src/parser.d.ts.map +0 -1
- package/dist/src/plugins/manager.d.ts +0 -133
- package/dist/src/plugins/manager.d.ts.map +0 -1
- package/dist/src/plugins/store/discovery.d.ts +0 -88
- package/dist/src/plugins/store/discovery.d.ts.map +0 -1
- package/dist/src/plugins/store/index.d.ts +0 -76
- package/dist/src/plugins/store/index.d.ts.map +0 -1
- package/dist/src/plugins/store/search.d.ts +0 -46
- package/dist/src/plugins/store/search.d.ts.map +0 -1
- package/dist/src/plugins/store/types.d.ts +0 -274
- package/dist/src/plugins/store/types.d.ts.map +0 -1
- package/dist/src/production/circuit-breaker.d.ts +0 -101
- package/dist/src/production/circuit-breaker.d.ts.map +0 -1
- package/dist/src/production/error-handler.d.ts +0 -92
- package/dist/src/production/error-handler.d.ts.map +0 -1
- package/dist/src/production/monitoring.d.ts +0 -161
- package/dist/src/production/monitoring.d.ts.map +0 -1
- package/dist/src/production/rate-limiter.d.ts +0 -80
- package/dist/src/production/rate-limiter.d.ts.map +0 -1
- package/dist/src/production/retry.d.ts +0 -48
- package/dist/src/production/retry.d.ts.map +0 -1
- package/dist/src/prompt.d.ts +0 -44
- package/dist/src/prompt.d.ts.map +0 -1
- package/dist/src/runtime/headless.d.ts +0 -60
- package/dist/src/runtime/headless.d.ts.map +0 -1
- package/dist/src/ruvector/ast-analyzer.d.ts +0 -67
- package/dist/src/ruvector/ast-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/coverage-router.d.ts +0 -160
- package/dist/src/ruvector/coverage-router.d.ts.map +0 -1
- package/dist/src/ruvector/diff-classifier.d.ts +0 -175
- package/dist/src/ruvector/diff-classifier.d.ts.map +0 -1
- package/dist/src/ruvector/enhanced-model-router.d.ts +0 -146
- package/dist/src/ruvector/enhanced-model-router.d.ts.map +0 -1
- package/dist/src/ruvector/flash-attention.d.ts +0 -195
- package/dist/src/ruvector/flash-attention.d.ts.map +0 -1
- package/dist/src/ruvector/graph-analyzer.d.ts +0 -187
- package/dist/src/ruvector/graph-analyzer.d.ts.map +0 -1
- package/dist/src/ruvector/index.d.ts +0 -34
- package/dist/src/ruvector/index.d.ts.map +0 -1
- package/dist/src/ruvector/lora-adapter.d.ts +0 -218
- package/dist/src/ruvector/lora-adapter.d.ts.map +0 -1
- package/dist/src/ruvector/model-router.d.ts +0 -220
- package/dist/src/ruvector/model-router.d.ts.map +0 -1
- package/dist/src/ruvector/moe-router.d.ts +0 -206
- package/dist/src/ruvector/moe-router.d.ts.map +0 -1
- package/dist/src/ruvector/q-learning-router.d.ts +0 -211
- package/dist/src/ruvector/q-learning-router.d.ts.map +0 -1
- package/dist/src/ruvector/semantic-router.d.ts +0 -77
- package/dist/src/ruvector/semantic-router.d.ts.map +0 -1
- package/dist/src/ruvector/vector-db.d.ts +0 -69
- package/dist/src/ruvector/vector-db.d.ts.map +0 -1
- package/dist/src/services/claim-service.d.ts +0 -204
- package/dist/src/services/claim-service.d.ts.map +0 -1
- package/dist/src/services/container-worker-pool.d.ts +0 -197
- package/dist/src/services/container-worker-pool.d.ts.map +0 -1
- package/dist/src/services/headless-worker-executor.d.ts +0 -304
- package/dist/src/services/headless-worker-executor.d.ts.map +0 -1
- package/dist/src/services/registry-api.d.ts +0 -58
- package/dist/src/services/registry-api.d.ts.map +0 -1
- package/dist/src/services/ruvector-training.d.ts +0 -213
- package/dist/src/services/ruvector-training.d.ts.map +0 -1
- package/dist/src/services/worker-daemon.d.ts +0 -203
- package/dist/src/services/worker-daemon.d.ts.map +0 -1
- package/dist/src/services/worker-queue.d.ts +0 -194
- package/dist/src/services/worker-queue.d.ts.map +0 -1
- package/dist/src/suggest.d.ts +0 -53
- package/dist/src/suggest.d.ts.map +0 -1
- package/dist/src/transfer/export.d.ts +0 -25
- package/dist/src/transfer/export.d.ts.map +0 -1
- package/dist/src/transfer/ipfs/client.d.ts +0 -109
- package/dist/src/transfer/ipfs/client.d.ts.map +0 -1
- package/dist/src/transfer/ipfs/upload.d.ts +0 -95
- package/dist/src/transfer/ipfs/upload.d.ts.map +0 -1
- package/dist/src/transfer/models/seraphine.d.ts +0 -72
- package/dist/src/transfer/models/seraphine.d.ts.map +0 -1
- package/dist/src/transfer/serialization/cfp.d.ts +0 -49
- package/dist/src/transfer/serialization/cfp.d.ts.map +0 -1
- package/dist/src/transfer/storage/gcs.d.ts +0 -82
- package/dist/src/transfer/storage/gcs.d.ts.map +0 -1
- package/dist/src/transfer/store/discovery.d.ts +0 -84
- package/dist/src/transfer/store/discovery.d.ts.map +0 -1
- package/dist/src/transfer/store/download.d.ts +0 -70
- package/dist/src/transfer/store/download.d.ts.map +0 -1
- package/dist/src/transfer/store/index.d.ts +0 -84
- package/dist/src/transfer/store/index.d.ts.map +0 -1
- package/dist/src/transfer/store/publish.d.ts +0 -76
- package/dist/src/transfer/store/publish.d.ts.map +0 -1
- package/dist/src/transfer/store/search.d.ts +0 -54
- package/dist/src/transfer/store/search.d.ts.map +0 -1
- package/dist/src/transfer/types.d.ts +0 -245
- package/dist/src/transfer/types.d.ts.map +0 -1
- package/dist/src/types.d.ts +0 -198
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/update/checker.d.ts +0 -34
- package/dist/src/update/checker.d.ts.map +0 -1
- package/dist/src/update/executor.d.ts +0 -32
- package/dist/src/update/executor.d.ts.map +0 -1
- package/dist/src/update/index.d.ts +0 -33
- package/dist/src/update/index.d.ts.map +0 -1
- package/dist/src/update/rate-limiter.d.ts +0 -20
- package/dist/src/update/rate-limiter.d.ts.map +0 -1
- package/dist/src/update/validator.d.ts +0 -17
- package/dist/src/update/validator.d.ts.map +0 -1
|
@@ -4,9 +4,65 @@
|
|
|
4
4
|
*
|
|
5
5
|
* Created with ❤️ by ruv.io
|
|
6
6
|
*/
|
|
7
|
+
var __assign = (this && this.__assign) || function () {
|
|
8
|
+
__assign = Object.assign || function(t) {
|
|
9
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
10
|
+
s = arguments[i];
|
|
11
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
12
|
+
t[p] = s[p];
|
|
13
|
+
}
|
|
14
|
+
return t;
|
|
15
|
+
};
|
|
16
|
+
return __assign.apply(this, arguments);
|
|
17
|
+
};
|
|
18
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
19
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
20
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
21
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
22
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
23
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
24
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
28
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
29
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
30
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
31
|
+
function step(op) {
|
|
32
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
33
|
+
while (_) try {
|
|
34
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
35
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
36
|
+
switch (op[0]) {
|
|
37
|
+
case 0: case 1: t = op; break;
|
|
38
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
39
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
40
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
41
|
+
default:
|
|
42
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
43
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
44
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
45
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
46
|
+
if (t[2]) _.ops.pop();
|
|
47
|
+
_.trys.pop(); continue;
|
|
48
|
+
}
|
|
49
|
+
op = body.call(thisArg, _);
|
|
50
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
51
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
55
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
56
|
+
if (ar || !(i in from)) {
|
|
57
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
58
|
+
ar[i] = from[i];
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
62
|
+
};
|
|
7
63
|
import { output } from '../output.js';
|
|
8
64
|
// List subcommand
|
|
9
|
-
|
|
65
|
+
var listCommand = {
|
|
10
66
|
name: 'list',
|
|
11
67
|
description: 'List claims and permissions',
|
|
12
68
|
options: [
|
|
@@ -18,33 +74,35 @@ const listCommand = {
|
|
|
18
74
|
{ command: 'claude-flow claims list', description: 'List all claims' },
|
|
19
75
|
{ command: 'claude-flow claims list -u user123', description: 'List user claims' },
|
|
20
76
|
],
|
|
21
|
-
action:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
77
|
+
action: function (ctx) { return __awaiter(void 0, void 0, Promise, function () {
|
|
78
|
+
return __generator(this, function (_a) {
|
|
79
|
+
output.writeln();
|
|
80
|
+
output.writeln(output.bold('Claims & Permissions'));
|
|
81
|
+
output.writeln(output.dim('─'.repeat(70)));
|
|
82
|
+
output.printTable({
|
|
83
|
+
columns: [
|
|
84
|
+
{ key: 'claim', header: 'Claim', width: 25 },
|
|
85
|
+
{ key: 'type', header: 'Type', width: 12 },
|
|
86
|
+
{ key: 'scope', header: 'Scope', width: 15 },
|
|
87
|
+
{ key: 'value', header: 'Value', width: 20 },
|
|
88
|
+
],
|
|
89
|
+
data: [
|
|
90
|
+
{ claim: 'swarm:create', type: 'Permission', scope: 'Global', value: output.success('Allowed') },
|
|
91
|
+
{ claim: 'swarm:delete', type: 'Permission', scope: 'Owned', value: output.success('Allowed') },
|
|
92
|
+
{ claim: 'agent:spawn', type: 'Permission', scope: 'Global', value: output.success('Allowed') },
|
|
93
|
+
{ claim: 'memory:read', type: 'Permission', scope: 'Namespace', value: output.success('Allowed') },
|
|
94
|
+
{ claim: 'memory:write', type: 'Permission', scope: 'Namespace', value: output.success('Allowed') },
|
|
95
|
+
{ claim: 'admin:*', type: 'Permission', scope: 'Global', value: output.error('Denied') },
|
|
96
|
+
{ claim: 'role', type: 'Identity', scope: 'System', value: 'developer' },
|
|
97
|
+
{ claim: 'tier', type: 'Identity', scope: 'System', value: 'pro' },
|
|
98
|
+
]
|
|
99
|
+
});
|
|
100
|
+
return [2 /*return*/, { success: true }];
|
|
42
101
|
});
|
|
43
|
-
|
|
44
|
-
},
|
|
102
|
+
}); }
|
|
45
103
|
};
|
|
46
104
|
// Check subcommand
|
|
47
|
-
|
|
105
|
+
var checkCommand = {
|
|
48
106
|
name: 'check',
|
|
49
107
|
description: 'Check if a specific claim is granted',
|
|
50
108
|
options: [
|
|
@@ -56,168 +114,185 @@ const checkCommand = {
|
|
|
56
114
|
{ command: 'claude-flow claims check -c swarm:create', description: 'Check swarm creation permission' },
|
|
57
115
|
{ command: 'claude-flow claims check -c admin:delete -u user123', description: 'Check user permission' },
|
|
58
116
|
],
|
|
59
|
-
action:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
spinner.start();
|
|
72
|
-
const fs = await import('fs');
|
|
73
|
-
const path = await import('path');
|
|
74
|
-
// Real claims evaluation from config file
|
|
75
|
-
let isGranted = false;
|
|
76
|
-
let reason = 'Claim not found in policy';
|
|
77
|
-
let policySource = 'default';
|
|
78
|
-
try {
|
|
79
|
-
// Check for claims config file
|
|
80
|
-
const claimsConfigPaths = [
|
|
81
|
-
path.resolve('.claude-flow/claims.json'),
|
|
82
|
-
path.resolve('claude-flow.claims.json'),
|
|
83
|
-
path.resolve(process.env.HOME || '~', '.config/claude-flow/claims.json'),
|
|
84
|
-
];
|
|
85
|
-
let claimsConfig = {
|
|
86
|
-
// Default policy - allows basic operations
|
|
87
|
-
roles: {
|
|
88
|
-
admin: ['*'],
|
|
89
|
-
developer: ['swarm:*', 'agent:*', 'memory:*', 'task:*', 'session:*'],
|
|
90
|
-
operator: ['swarm:status', 'agent:list', 'memory:read', 'task:list'],
|
|
91
|
-
viewer: ['*:list', '*:status', '*:read'],
|
|
92
|
-
},
|
|
93
|
-
defaultClaims: ['swarm:create', 'swarm:status', 'agent:spawn', 'agent:list', 'memory:read', 'memory:write', 'task:create'],
|
|
94
|
-
};
|
|
95
|
-
for (const configPath of claimsConfigPaths) {
|
|
96
|
-
if (fs.existsSync(configPath)) {
|
|
97
|
-
const content = fs.readFileSync(configPath, 'utf-8');
|
|
98
|
-
claimsConfig = { ...claimsConfig, ...JSON.parse(content) };
|
|
99
|
-
policySource = configPath;
|
|
100
|
-
break;
|
|
101
|
-
}
|
|
102
|
-
}
|
|
103
|
-
// Resolve user's claims
|
|
104
|
-
const userConfig = claimsConfig.users?.[user];
|
|
105
|
-
let userClaims = [...(claimsConfig.defaultClaims || [])];
|
|
106
|
-
if (userConfig) {
|
|
107
|
-
// Add user-specific claims
|
|
108
|
-
if (userConfig.claims) {
|
|
109
|
-
userClaims = [...userClaims, ...userConfig.claims];
|
|
110
|
-
}
|
|
111
|
-
// Add role-based claims
|
|
112
|
-
if (userConfig.role && claimsConfig.roles?.[userConfig.role]) {
|
|
113
|
-
userClaims = [...userClaims, ...claimsConfig.roles[userConfig.role]];
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
// Check if claim is granted
|
|
117
|
-
const checkClaim = (claimToCheck, grantedClaims) => {
|
|
118
|
-
for (const granted of grantedClaims) {
|
|
119
|
-
// Exact match
|
|
120
|
-
if (granted === claimToCheck)
|
|
121
|
-
return true;
|
|
122
|
-
// Wildcard match (e.g., "swarm:*" matches "swarm:create")
|
|
123
|
-
if (granted === '*')
|
|
124
|
-
return true;
|
|
125
|
-
if (granted.endsWith(':*')) {
|
|
126
|
-
const prefix = granted.slice(0, -1);
|
|
127
|
-
if (claimToCheck.startsWith(prefix))
|
|
128
|
-
return true;
|
|
117
|
+
action: function (ctx) { return __awaiter(void 0, void 0, Promise, function () {
|
|
118
|
+
var claim, user, resource, spinner, fs, path, isGranted, reason, policySource, claimsConfigPaths, claimsConfig, _i, claimsConfigPaths_1, configPath, content, userConfig, userClaims, checkClaim;
|
|
119
|
+
var _a, _b;
|
|
120
|
+
return __generator(this, function (_c) {
|
|
121
|
+
switch (_c.label) {
|
|
122
|
+
case 0:
|
|
123
|
+
claim = ctx.flags.claim;
|
|
124
|
+
user = ctx.flags.user || 'current';
|
|
125
|
+
resource = ctx.flags.resource;
|
|
126
|
+
if (!claim) {
|
|
127
|
+
output.printError('Claim is required');
|
|
128
|
+
return [2 /*return*/, { success: false, exitCode: 1 }];
|
|
129
129
|
}
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
130
|
+
output.writeln();
|
|
131
|
+
output.writeln(output.bold('Claim Check'));
|
|
132
|
+
output.writeln(output.dim('─'.repeat(40)));
|
|
133
|
+
spinner = output.createSpinner({ text: 'Evaluating claim...', spinner: 'dots' });
|
|
134
|
+
spinner.start();
|
|
135
|
+
return [4 /*yield*/, import('fs')];
|
|
136
|
+
case 1:
|
|
137
|
+
fs = _c.sent();
|
|
138
|
+
return [4 /*yield*/, import('path')];
|
|
139
|
+
case 2:
|
|
140
|
+
path = _c.sent();
|
|
141
|
+
isGranted = false;
|
|
142
|
+
reason = 'Claim not found in policy';
|
|
143
|
+
policySource = 'default';
|
|
144
|
+
try {
|
|
145
|
+
claimsConfigPaths = [
|
|
146
|
+
path.resolve('.claude-flow/claims.json'),
|
|
147
|
+
path.resolve('claude-flow.claims.json'),
|
|
148
|
+
path.resolve(process.env.HOME || '~', '.config/claude-flow/claims.json'),
|
|
149
|
+
];
|
|
150
|
+
claimsConfig = {
|
|
151
|
+
// Default policy - allows basic operations
|
|
152
|
+
roles: {
|
|
153
|
+
admin: ['*'],
|
|
154
|
+
developer: ['swarm:*', 'agent:*', 'memory:*', 'task:*', 'session:*'],
|
|
155
|
+
operator: ['swarm:status', 'agent:list', 'memory:read', 'task:list'],
|
|
156
|
+
viewer: ['*:list', '*:status', '*:read']
|
|
157
|
+
},
|
|
158
|
+
defaultClaims: ['swarm:create', 'swarm:status', 'agent:spawn', 'agent:list', 'memory:read', 'memory:write', 'task:create']
|
|
159
|
+
};
|
|
160
|
+
for (_i = 0, claimsConfigPaths_1 = claimsConfigPaths; _i < claimsConfigPaths_1.length; _i++) {
|
|
161
|
+
configPath = claimsConfigPaths_1[_i];
|
|
162
|
+
if (fs.existsSync(configPath)) {
|
|
163
|
+
content = fs.readFileSync(configPath, 'utf-8');
|
|
164
|
+
claimsConfig = __assign(__assign({}, claimsConfig), JSON.parse(content));
|
|
165
|
+
policySource = configPath;
|
|
166
|
+
break;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
userConfig = (_a = claimsConfig.users) === null || _a === void 0 ? void 0 : _a[user];
|
|
170
|
+
userClaims = __spreadArray([], (claimsConfig.defaultClaims || []), true);
|
|
171
|
+
if (userConfig) {
|
|
172
|
+
// Add user-specific claims
|
|
173
|
+
if (userConfig.claims) {
|
|
174
|
+
userClaims = __spreadArray(__spreadArray([], userClaims, true), userConfig.claims, true);
|
|
175
|
+
}
|
|
176
|
+
// Add role-based claims
|
|
177
|
+
if (userConfig.role && ((_b = claimsConfig.roles) === null || _b === void 0 ? void 0 : _b[userConfig.role])) {
|
|
178
|
+
userClaims = __spreadArray(__spreadArray([], userClaims, true), claimsConfig.roles[userConfig.role], true);
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
checkClaim = function (claimToCheck, grantedClaims) {
|
|
182
|
+
for (var _i = 0, grantedClaims_1 = grantedClaims; _i < grantedClaims_1.length; _i++) {
|
|
183
|
+
var granted = grantedClaims_1[_i];
|
|
184
|
+
// Exact match
|
|
185
|
+
if (granted === claimToCheck)
|
|
186
|
+
return true;
|
|
187
|
+
// Wildcard match (e.g., "swarm:*" matches "swarm:create")
|
|
188
|
+
if (granted === '*')
|
|
189
|
+
return true;
|
|
190
|
+
if (granted.endsWith(':*')) {
|
|
191
|
+
var prefix = granted.slice(0, -1);
|
|
192
|
+
if (claimToCheck.startsWith(prefix))
|
|
193
|
+
return true;
|
|
194
|
+
}
|
|
195
|
+
// Pattern match (e.g., "*:list" matches "swarm:list")
|
|
196
|
+
if (granted.startsWith('*:')) {
|
|
197
|
+
var suffix = granted.slice(1);
|
|
198
|
+
if (claimToCheck.endsWith(suffix))
|
|
199
|
+
return true;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
return false;
|
|
203
|
+
};
|
|
204
|
+
isGranted = checkClaim(claim, userClaims);
|
|
205
|
+
if (isGranted) {
|
|
206
|
+
reason = (userConfig === null || userConfig === void 0 ? void 0 : userConfig.role)
|
|
207
|
+
? "Granted via role: " + userConfig.role
|
|
208
|
+
: 'Granted via default policy';
|
|
209
|
+
}
|
|
210
|
+
else {
|
|
211
|
+
reason = 'Not in user claims or role permissions';
|
|
212
|
+
}
|
|
213
|
+
spinner.stop();
|
|
135
214
|
}
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
215
|
+
catch (error) {
|
|
216
|
+
spinner.stop();
|
|
217
|
+
// On error, fall back to permissive default
|
|
218
|
+
isGranted = !claim.startsWith('admin:');
|
|
219
|
+
reason = isGranted ? 'Granted (default permissive policy)' : 'Admin claims require explicit grant';
|
|
220
|
+
policySource = 'fallback';
|
|
221
|
+
}
|
|
222
|
+
if (isGranted) {
|
|
223
|
+
output.writeln(output.success('✓ Claim granted'));
|
|
224
|
+
}
|
|
225
|
+
else {
|
|
226
|
+
output.writeln(output.error('✗ Claim denied'));
|
|
227
|
+
}
|
|
228
|
+
output.writeln();
|
|
229
|
+
output.printBox([
|
|
230
|
+
"Claim: " + claim,
|
|
231
|
+
"User: " + user,
|
|
232
|
+
"Resource: " + (resource || 'global'),
|
|
233
|
+
"Result: " + (isGranted ? output.success('GRANTED') : output.error('DENIED')),
|
|
234
|
+
"",
|
|
235
|
+
"Reason: " + reason,
|
|
236
|
+
"Policy: " + policySource,
|
|
237
|
+
].join('\n'), 'Result');
|
|
238
|
+
return [2 /*return*/, { success: isGranted }];
|
|
147
239
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
catch (error) {
|
|
151
|
-
spinner.stop();
|
|
152
|
-
// On error, fall back to permissive default
|
|
153
|
-
isGranted = !claim.startsWith('admin:');
|
|
154
|
-
reason = isGranted ? 'Granted (default permissive policy)' : 'Admin claims require explicit grant';
|
|
155
|
-
policySource = 'fallback';
|
|
156
|
-
}
|
|
157
|
-
if (isGranted) {
|
|
158
|
-
output.writeln(output.success('✓ Claim granted'));
|
|
159
|
-
}
|
|
160
|
-
else {
|
|
161
|
-
output.writeln(output.error('✗ Claim denied'));
|
|
162
|
-
}
|
|
163
|
-
output.writeln();
|
|
164
|
-
output.printBox([
|
|
165
|
-
`Claim: ${claim}`,
|
|
166
|
-
`User: ${user}`,
|
|
167
|
-
`Resource: ${resource || 'global'}`,
|
|
168
|
-
`Result: ${isGranted ? output.success('GRANTED') : output.error('DENIED')}`,
|
|
169
|
-
``,
|
|
170
|
-
`Reason: ${reason}`,
|
|
171
|
-
`Policy: ${policySource}`,
|
|
172
|
-
].join('\n'), 'Result');
|
|
173
|
-
return { success: isGranted };
|
|
174
|
-
},
|
|
240
|
+
});
|
|
241
|
+
}); }
|
|
175
242
|
};
|
|
176
243
|
// Grant subcommand
|
|
177
|
-
|
|
244
|
+
var grantCommand = {
|
|
178
245
|
name: 'grant',
|
|
179
246
|
description: 'Grant a claim to user or role',
|
|
180
247
|
options: [
|
|
181
248
|
{ name: 'claim', short: 'c', type: 'string', description: 'Claim to grant', required: true },
|
|
182
249
|
{ name: 'user', short: 'u', type: 'string', description: 'User ID' },
|
|
183
250
|
{ name: 'role', short: 'r', type: 'string', description: 'Role name' },
|
|
184
|
-
{ name: 'scope', short: 's', type: 'string', description: 'Scope: global, namespace, resource', default: 'global' },
|
|
251
|
+
{ name: 'scope', short: 's', type: 'string', description: 'Scope: global, namespace, resource', "default": 'global' },
|
|
185
252
|
{ name: 'expires', short: 'e', type: 'string', description: 'Expiration time (e.g., 24h, 7d)' },
|
|
186
253
|
],
|
|
187
254
|
examples: [
|
|
188
255
|
{ command: 'claude-flow claims grant -c swarm:create -u user123', description: 'Grant to user' },
|
|
189
256
|
{ command: 'claude-flow claims grant -c agent:spawn -r developer', description: 'Grant to role' },
|
|
190
257
|
],
|
|
191
|
-
action:
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
258
|
+
action: function (ctx) { return __awaiter(void 0, void 0, Promise, function () {
|
|
259
|
+
var claim, user, role, scope, spinner;
|
|
260
|
+
return __generator(this, function (_a) {
|
|
261
|
+
switch (_a.label) {
|
|
262
|
+
case 0:
|
|
263
|
+
claim = ctx.flags.claim;
|
|
264
|
+
user = ctx.flags.user;
|
|
265
|
+
role = ctx.flags.role;
|
|
266
|
+
scope = ctx.flags.scope || 'global';
|
|
267
|
+
if (!claim) {
|
|
268
|
+
output.printError('Claim is required');
|
|
269
|
+
return [2 /*return*/, { success: false, exitCode: 1 }];
|
|
270
|
+
}
|
|
271
|
+
if (!user && !role) {
|
|
272
|
+
output.printError('Either user or role is required');
|
|
273
|
+
return [2 /*return*/, { success: false, exitCode: 1 }];
|
|
274
|
+
}
|
|
275
|
+
output.writeln();
|
|
276
|
+
spinner = output.createSpinner({ text: 'Granting claim...', spinner: 'dots' });
|
|
277
|
+
spinner.start();
|
|
278
|
+
return [4 /*yield*/, new Promise(function (r) { return setTimeout(r, 400); })];
|
|
279
|
+
case 1:
|
|
280
|
+
_a.sent();
|
|
281
|
+
spinner.succeed('Claim granted');
|
|
282
|
+
output.writeln();
|
|
283
|
+
output.printBox([
|
|
284
|
+
"Claim: " + claim,
|
|
285
|
+
"Target: " + (user ? "User: " + user : "Role: " + role),
|
|
286
|
+
"Scope: " + scope,
|
|
287
|
+
"Status: " + output.success('Active'),
|
|
288
|
+
].join('\n'), 'Grant Complete');
|
|
289
|
+
return [2 /*return*/, { success: true }];
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
}); }
|
|
218
293
|
};
|
|
219
294
|
// Revoke subcommand
|
|
220
|
-
|
|
295
|
+
var revokeCommand = {
|
|
221
296
|
name: 'revoke',
|
|
222
297
|
description: 'Revoke a claim from user or role',
|
|
223
298
|
options: [
|
|
@@ -229,111 +304,124 @@ const revokeCommand = {
|
|
|
229
304
|
{ command: 'claude-flow claims revoke -c swarm:delete -u user123', description: 'Revoke from user' },
|
|
230
305
|
{ command: 'claude-flow claims revoke -c admin:* -r guest', description: 'Revoke from role' },
|
|
231
306
|
],
|
|
232
|
-
action:
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
307
|
+
action: function (ctx) { return __awaiter(void 0, void 0, Promise, function () {
|
|
308
|
+
var claim, user, role, spinner;
|
|
309
|
+
return __generator(this, function (_a) {
|
|
310
|
+
switch (_a.label) {
|
|
311
|
+
case 0:
|
|
312
|
+
claim = ctx.flags.claim;
|
|
313
|
+
user = ctx.flags.user;
|
|
314
|
+
role = ctx.flags.role;
|
|
315
|
+
if (!claim) {
|
|
316
|
+
output.printError('Claim is required');
|
|
317
|
+
return [2 /*return*/, { success: false, exitCode: 1 }];
|
|
318
|
+
}
|
|
319
|
+
output.writeln();
|
|
320
|
+
spinner = output.createSpinner({ text: 'Revoking claim...', spinner: 'dots' });
|
|
321
|
+
spinner.start();
|
|
322
|
+
return [4 /*yield*/, new Promise(function (r) { return setTimeout(r, 300); })];
|
|
323
|
+
case 1:
|
|
324
|
+
_a.sent();
|
|
325
|
+
spinner.succeed('Claim revoked');
|
|
326
|
+
return [2 /*return*/, { success: true }];
|
|
327
|
+
}
|
|
328
|
+
});
|
|
329
|
+
}); }
|
|
247
330
|
};
|
|
248
331
|
// Roles subcommand
|
|
249
|
-
|
|
332
|
+
var rolesCommand = {
|
|
250
333
|
name: 'roles',
|
|
251
334
|
description: 'Manage roles and their claims',
|
|
252
335
|
options: [
|
|
253
|
-
{ name: 'action', short: 'a', type: 'string', description: 'Action: list, create, delete, show', default: 'list' },
|
|
336
|
+
{ name: 'action', short: 'a', type: 'string', description: 'Action: list, create, delete, show', "default": 'list' },
|
|
254
337
|
{ name: 'name', short: 'n', type: 'string', description: 'Role name' },
|
|
255
338
|
],
|
|
256
339
|
examples: [
|
|
257
340
|
{ command: 'claude-flow claims roles', description: 'List all roles' },
|
|
258
341
|
{ command: 'claude-flow claims roles -a show -n admin', description: 'Show role details' },
|
|
259
342
|
],
|
|
260
|
-
action:
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
output.
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
343
|
+
action: function (ctx) { return __awaiter(void 0, void 0, Promise, function () {
|
|
344
|
+
var action, name;
|
|
345
|
+
return __generator(this, function (_a) {
|
|
346
|
+
action = ctx.flags.action || 'list';
|
|
347
|
+
name = ctx.flags.name;
|
|
348
|
+
output.writeln();
|
|
349
|
+
output.writeln(output.bold('Roles'));
|
|
350
|
+
output.writeln(output.dim('─'.repeat(60)));
|
|
351
|
+
if (action === 'show' && name) {
|
|
352
|
+
output.printBox([
|
|
353
|
+
"Role: " + name,
|
|
354
|
+
"Description: Full system access",
|
|
355
|
+
"",
|
|
356
|
+
"Claims:",
|
|
357
|
+
" - swarm:* (all swarm operations)",
|
|
358
|
+
" - agent:* (all agent operations)",
|
|
359
|
+
" - memory:* (all memory operations)",
|
|
360
|
+
" - admin:* (administrative functions)",
|
|
361
|
+
"",
|
|
362
|
+
"Members: 2",
|
|
363
|
+
"Created: 2024-01-01",
|
|
364
|
+
].join('\n'), 'Role Details');
|
|
365
|
+
}
|
|
366
|
+
else {
|
|
367
|
+
output.printTable({
|
|
368
|
+
columns: [
|
|
369
|
+
{ key: 'role', header: 'Role', width: 15 },
|
|
370
|
+
{ key: 'description', header: 'Description', width: 30 },
|
|
371
|
+
{ key: 'claims', header: 'Claims', width: 12 },
|
|
372
|
+
{ key: 'members', header: 'Members', width: 10 },
|
|
373
|
+
],
|
|
374
|
+
data: [
|
|
375
|
+
{ role: output.highlight('admin'), description: 'Full system access', claims: '15', members: '2' },
|
|
376
|
+
{ role: output.highlight('developer'), description: 'Development operations', claims: '10', members: '12' },
|
|
377
|
+
{ role: output.highlight('operator'), description: 'Operational tasks', claims: '8', members: '5' },
|
|
378
|
+
{ role: output.highlight('viewer'), description: 'Read-only access', claims: '3', members: '25' },
|
|
379
|
+
{ role: output.highlight('guest'), description: 'Limited access', claims: '1', members: '100' },
|
|
380
|
+
]
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
return [2 /*return*/, { success: true }];
|
|
384
|
+
});
|
|
385
|
+
}); }
|
|
300
386
|
};
|
|
301
387
|
// Policies subcommand
|
|
302
|
-
|
|
388
|
+
var policiesCommand = {
|
|
303
389
|
name: 'policies',
|
|
304
390
|
description: 'Manage claim policies',
|
|
305
391
|
options: [
|
|
306
|
-
{ name: 'action', short: 'a', type: 'string', description: 'Action: list, create, delete', default: 'list' },
|
|
392
|
+
{ name: 'action', short: 'a', type: 'string', description: 'Action: list, create, delete', "default": 'list' },
|
|
307
393
|
{ name: 'name', short: 'n', type: 'string', description: 'Policy name' },
|
|
308
394
|
],
|
|
309
395
|
examples: [
|
|
310
396
|
{ command: 'claude-flow claims policies', description: 'List policies' },
|
|
311
397
|
{ command: 'claude-flow claims policies -a create -n rate-limit', description: 'Create policy' },
|
|
312
398
|
],
|
|
313
|
-
action:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
399
|
+
action: function (ctx) { return __awaiter(void 0, void 0, Promise, function () {
|
|
400
|
+
return __generator(this, function (_a) {
|
|
401
|
+
output.writeln();
|
|
402
|
+
output.writeln(output.bold('Claim Policies'));
|
|
403
|
+
output.writeln(output.dim('─'.repeat(60)));
|
|
404
|
+
output.printTable({
|
|
405
|
+
columns: [
|
|
406
|
+
{ key: 'policy', header: 'Policy', width: 20 },
|
|
407
|
+
{ key: 'type', header: 'Type', width: 15 },
|
|
408
|
+
{ key: 'condition', header: 'Condition', width: 30 },
|
|
409
|
+
{ key: 'status', header: 'Status', width: 12 },
|
|
410
|
+
],
|
|
411
|
+
data: [
|
|
412
|
+
{ policy: 'rate-limit', type: 'Throttle', condition: 'Max 100 req/min', status: output.success('Active') },
|
|
413
|
+
{ policy: 'geo-restrict', type: 'Location', condition: 'US, EU only', status: output.success('Active') },
|
|
414
|
+
{ policy: 'time-window', type: 'Temporal', condition: 'Business hours', status: output.dim('Inactive') },
|
|
415
|
+
{ policy: 'ip-allowlist', type: 'Network', condition: '10.0.0.0/8', status: output.success('Active') },
|
|
416
|
+
{ policy: 'mfa-required', type: 'Auth', condition: 'Admin operations', status: output.success('Active') },
|
|
417
|
+
]
|
|
418
|
+
});
|
|
419
|
+
return [2 /*return*/, { success: true }];
|
|
331
420
|
});
|
|
332
|
-
|
|
333
|
-
},
|
|
421
|
+
}); }
|
|
334
422
|
};
|
|
335
423
|
// Main claims command
|
|
336
|
-
export
|
|
424
|
+
export var claimsCommand = {
|
|
337
425
|
name: 'claims',
|
|
338
426
|
description: 'Claims-based authorization, permissions, and access control',
|
|
339
427
|
subcommands: [listCommand, checkCommand, grantCommand, revokeCommand, rolesCommand, policiesCommand],
|
|
@@ -342,32 +430,34 @@ export const claimsCommand = {
|
|
|
342
430
|
{ command: 'claude-flow claims check -c swarm:create', description: 'Check permission' },
|
|
343
431
|
{ command: 'claude-flow claims grant -c agent:spawn -r developer', description: 'Grant claim' },
|
|
344
432
|
],
|
|
345
|
-
action:
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
433
|
+
action: function () { return __awaiter(void 0, void 0, Promise, function () {
|
|
434
|
+
return __generator(this, function (_a) {
|
|
435
|
+
output.writeln();
|
|
436
|
+
output.writeln(output.bold('RuFlo Claims System'));
|
|
437
|
+
output.writeln(output.dim('Fine-grained authorization and access control'));
|
|
438
|
+
output.writeln();
|
|
439
|
+
output.writeln('Subcommands:');
|
|
440
|
+
output.printList([
|
|
441
|
+
'list - List claims and permissions',
|
|
442
|
+
'check - Check if a claim is granted',
|
|
443
|
+
'grant - Grant a claim to user or role',
|
|
444
|
+
'revoke - Revoke a claim',
|
|
445
|
+
'roles - Manage roles and their claims',
|
|
446
|
+
'policies - Manage claim policies',
|
|
447
|
+
]);
|
|
448
|
+
output.writeln();
|
|
449
|
+
output.writeln('Claim Types:');
|
|
450
|
+
output.printList([
|
|
451
|
+
'swarm:* - Swarm operations (create, delete, scale)',
|
|
452
|
+
'agent:* - Agent operations (spawn, terminate)',
|
|
453
|
+
'memory:* - Memory operations (read, write, delete)',
|
|
454
|
+
'admin:* - Administrative operations',
|
|
455
|
+
]);
|
|
456
|
+
output.writeln();
|
|
457
|
+
output.writeln(output.dim('Created with ❤️ by ruv.io'));
|
|
458
|
+
return [2 /*return*/, { success: true }];
|
|
459
|
+
});
|
|
460
|
+
}); }
|
|
371
461
|
};
|
|
372
462
|
export default claimsCommand;
|
|
373
463
|
//# sourceMappingURL=claims.js.map
|