@funnycode/myclaude 0.1.76 → 0.1.77
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/LICENSE +21 -21
- package/dist/SKILL-r7zmg5v7.md +3 -0
- package/dist/cli-mvr5k580.md +3 -0
- package/dist/myclaude.js +1367 -1189
- package/dist/myclaude.mjs +1367 -1189
- package/dist/server-zyhc2a9z.md +3 -0
- package/package.json +129 -129
- package/seed/marketplaces/ecc/.opencode/package-lock.json +169 -169
- package/seed/marketplaces/ecc/commands/aside.md +164 -164
- package/seed/marketplaces/ecc/commands/auto-update.md +28 -28
- package/seed/marketplaces/ecc/commands/build-fix.md +66 -66
- package/seed/marketplaces/ecc/commands/checkpoint.md +78 -78
- package/seed/marketplaces/ecc/commands/code-review.md +289 -289
- package/seed/marketplaces/ecc/commands/cost-report.md +107 -107
- package/seed/marketplaces/ecc/commands/cpp-build.md +173 -173
- package/seed/marketplaces/ecc/commands/cpp-review.md +132 -132
- package/seed/marketplaces/ecc/commands/cpp-test.md +251 -251
- package/seed/marketplaces/ecc/commands/ecc-guide.md +93 -93
- package/seed/marketplaces/ecc/commands/evolve.md +178 -178
- package/seed/marketplaces/ecc/commands/fastapi-review.md +39 -39
- package/seed/marketplaces/ecc/commands/feature-dev.md +49 -49
- package/seed/marketplaces/ecc/commands/flutter-build.md +164 -164
- package/seed/marketplaces/ecc/commands/flutter-review.md +116 -116
- package/seed/marketplaces/ecc/commands/flutter-test.md +144 -144
- package/seed/marketplaces/ecc/commands/gan-build.md +103 -103
- package/seed/marketplaces/ecc/commands/gan-design.md +39 -39
- package/seed/marketplaces/ecc/commands/go-build.md +183 -183
- package/seed/marketplaces/ecc/commands/go-review.md +148 -148
- package/seed/marketplaces/ecc/commands/go-test.md +268 -268
- package/seed/marketplaces/ecc/commands/gradle-build.md +70 -70
- package/seed/marketplaces/ecc/commands/harness-audit.md +84 -84
- package/seed/marketplaces/ecc/commands/hookify-configure.md +14 -14
- package/seed/marketplaces/ecc/commands/hookify-help.md +46 -46
- package/seed/marketplaces/ecc/commands/hookify-list.md +21 -21
- package/seed/marketplaces/ecc/commands/hookify.md +50 -50
- package/seed/marketplaces/ecc/commands/instinct-export.md +66 -66
- package/seed/marketplaces/ecc/commands/instinct-import.md +114 -114
- package/seed/marketplaces/ecc/commands/instinct-status.md +59 -59
- package/seed/marketplaces/ecc/commands/jira.md +106 -106
- package/seed/marketplaces/ecc/commands/kotlin-build.md +174 -174
- package/seed/marketplaces/ecc/commands/kotlin-review.md +140 -140
- package/seed/marketplaces/ecc/commands/kotlin-test.md +312 -312
- package/seed/marketplaces/ecc/commands/learn-eval.md +116 -116
- package/seed/marketplaces/ecc/commands/learn.md +74 -74
- package/seed/marketplaces/ecc/commands/loop-start.md +36 -36
- package/seed/marketplaces/ecc/commands/loop-status.md +77 -77
- package/seed/marketplaces/ecc/commands/marketing-campaign.md +129 -129
- package/seed/marketplaces/ecc/commands/model-route.md +30 -30
- package/seed/marketplaces/ecc/commands/multi-backend.md +162 -162
- package/seed/marketplaces/ecc/commands/multi-execute.md +319 -319
- package/seed/marketplaces/ecc/commands/multi-frontend.md +162 -162
- package/seed/marketplaces/ecc/commands/multi-plan.md +272 -272
- package/seed/marketplaces/ecc/commands/multi-workflow.md +195 -195
- package/seed/marketplaces/ecc/commands/plan-prd.md +160 -160
- package/seed/marketplaces/ecc/commands/plan.md +200 -200
- package/seed/marketplaces/ecc/commands/pm2.md +276 -276
- package/seed/marketplaces/ecc/commands/pr.md +184 -184
- package/seed/marketplaces/ecc/commands/project-init.md +86 -86
- package/seed/marketplaces/ecc/commands/projects.md +39 -39
- package/seed/marketplaces/ecc/commands/promote.md +41 -41
- package/seed/marketplaces/ecc/commands/prp-commit.md +112 -112
- package/seed/marketplaces/ecc/commands/prp-implement.md +385 -385
- package/seed/marketplaces/ecc/commands/prp-plan.md +502 -502
- package/seed/marketplaces/ecc/commands/prp-pr.md +184 -184
- package/seed/marketplaces/ecc/commands/prp-prd.md +447 -447
- package/seed/marketplaces/ecc/commands/prune.md +31 -31
- package/seed/marketplaces/ecc/commands/python-review.md +297 -297
- package/seed/marketplaces/ecc/commands/quality-gate.md +33 -33
- package/seed/marketplaces/ecc/commands/refactor-clean.md +84 -84
- package/seed/marketplaces/ecc/commands/resume-session.md +156 -156
- package/seed/marketplaces/ecc/commands/review-pr.md +37 -37
- package/seed/marketplaces/ecc/commands/rust-build.md +187 -187
- package/seed/marketplaces/ecc/commands/rust-review.md +142 -142
- package/seed/marketplaces/ecc/commands/rust-test.md +308 -308
- package/seed/marketplaces/ecc/commands/santa-loop.md +175 -175
- package/seed/marketplaces/ecc/commands/save-session.md +275 -275
- package/seed/marketplaces/ecc/commands/security-scan.md +92 -92
- package/seed/marketplaces/ecc/commands/sessions.md +339 -339
- package/seed/marketplaces/ecc/commands/setup-pm.md +80 -80
- package/seed/marketplaces/ecc/commands/skill-create.md +174 -174
- package/seed/marketplaces/ecc/commands/skill-health.md +54 -54
- package/seed/marketplaces/ecc/commands/test-coverage.md +73 -73
- package/seed/marketplaces/ecc/commands/update-codemaps.md +76 -76
- package/seed/marketplaces/ecc/commands/update-docs.md +88 -88
- package/seed/marketplaces/ecc/skills/accessibility/SKILL.md +146 -146
- package/seed/marketplaces/ecc/skills/agent-architecture-audit/SKILL.md +256 -256
- package/seed/marketplaces/ecc/skills/agent-eval/SKILL.md +145 -145
- package/seed/marketplaces/ecc/skills/agent-harness-construction/SKILL.md +73 -73
- package/seed/marketplaces/ecc/skills/agent-introspection-debugging/SKILL.md +153 -153
- package/seed/marketplaces/ecc/skills/agent-payment-x402/SKILL.md +224 -224
- package/seed/marketplaces/ecc/skills/agent-sort/SKILL.md +215 -215
- package/seed/marketplaces/ecc/skills/agentic-engineering/SKILL.md +63 -63
- package/seed/marketplaces/ecc/skills/agentic-os/SKILL.md +387 -387
- package/seed/marketplaces/ecc/skills/ai-first-engineering/SKILL.md +51 -51
- package/seed/marketplaces/ecc/skills/ai-regression-testing/SKILL.md +385 -385
- package/seed/marketplaces/ecc/skills/android-clean-architecture/SKILL.md +339 -339
- package/seed/marketplaces/ecc/skills/angular-developer/SKILL.md +154 -154
- package/seed/marketplaces/ecc/skills/angular-developer/references/angular-animations.md +160 -160
- package/seed/marketplaces/ecc/skills/angular-developer/references/angular-aria.md +410 -410
- package/seed/marketplaces/ecc/skills/angular-developer/references/cli.md +86 -86
- package/seed/marketplaces/ecc/skills/angular-developer/references/component-harnesses.md +59 -59
- package/seed/marketplaces/ecc/skills/angular-developer/references/component-styling.md +91 -91
- package/seed/marketplaces/ecc/skills/angular-developer/references/components.md +117 -117
- package/seed/marketplaces/ecc/skills/angular-developer/references/creating-services.md +97 -97
- package/seed/marketplaces/ecc/skills/angular-developer/references/data-resolvers.md +69 -69
- package/seed/marketplaces/ecc/skills/angular-developer/references/define-routes.md +67 -67
- package/seed/marketplaces/ecc/skills/angular-developer/references/defining-providers.md +72 -72
- package/seed/marketplaces/ecc/skills/angular-developer/references/di-fundamentals.md +120 -120
- package/seed/marketplaces/ecc/skills/angular-developer/references/e2e-testing.md +56 -56
- package/seed/marketplaces/ecc/skills/angular-developer/references/effects.md +83 -83
- package/seed/marketplaces/ecc/skills/angular-developer/references/hierarchical-injectors.md +43 -43
- package/seed/marketplaces/ecc/skills/angular-developer/references/host-elements.md +80 -80
- package/seed/marketplaces/ecc/skills/angular-developer/references/injection-context.md +63 -63
- package/seed/marketplaces/ecc/skills/angular-developer/references/inputs.md +101 -101
- package/seed/marketplaces/ecc/skills/angular-developer/references/linked-signal.md +59 -59
- package/seed/marketplaces/ecc/skills/angular-developer/references/loading-strategies.md +61 -61
- package/seed/marketplaces/ecc/skills/angular-developer/references/mcp.md +108 -108
- package/seed/marketplaces/ecc/skills/angular-developer/references/navigate-to-routes.md +69 -69
- package/seed/marketplaces/ecc/skills/angular-developer/references/outputs.md +86 -86
- package/seed/marketplaces/ecc/skills/angular-developer/references/reactive-forms.md +122 -122
- package/seed/marketplaces/ecc/skills/angular-developer/references/rendering-strategies.md +44 -44
- package/seed/marketplaces/ecc/skills/angular-developer/references/resource.md +77 -77
- package/seed/marketplaces/ecc/skills/angular-developer/references/route-animations.md +56 -56
- package/seed/marketplaces/ecc/skills/angular-developer/references/route-guards.md +52 -52
- package/seed/marketplaces/ecc/skills/angular-developer/references/router-lifecycle.md +45 -45
- package/seed/marketplaces/ecc/skills/angular-developer/references/router-testing.md +87 -87
- package/seed/marketplaces/ecc/skills/angular-developer/references/show-routes-with-outlets.md +68 -68
- package/seed/marketplaces/ecc/skills/angular-developer/references/signal-forms.md +795 -795
- package/seed/marketplaces/ecc/skills/angular-developer/references/signals-overview.md +94 -94
- package/seed/marketplaces/ecc/skills/angular-developer/references/tailwind-css.md +69 -69
- package/seed/marketplaces/ecc/skills/angular-developer/references/template-driven-forms.md +114 -114
- package/seed/marketplaces/ecc/skills/angular-developer/references/testing-fundamentals.md +65 -65
- package/seed/marketplaces/ecc/skills/api-connector-builder/SKILL.md +120 -120
- package/seed/marketplaces/ecc/skills/api-design/SKILL.md +523 -523
- package/seed/marketplaces/ecc/skills/architecture-decision-records/SKILL.md +179 -179
- package/seed/marketplaces/ecc/skills/article-writing/SKILL.md +79 -79
- package/seed/marketplaces/ecc/skills/automation-audit-ops/SKILL.md +142 -142
- package/seed/marketplaces/ecc/skills/autonomous-agent-harness/SKILL.md +273 -273
- package/seed/marketplaces/ecc/skills/autonomous-loops/SKILL.md +610 -610
- package/seed/marketplaces/ecc/skills/backend-patterns/SKILL.md +561 -561
- package/seed/marketplaces/ecc/skills/benchmark/SKILL.md +93 -93
- package/seed/marketplaces/ecc/skills/benchmark-optimization-loop/SKILL.md +69 -69
- package/seed/marketplaces/ecc/skills/blender-motion-state-inspection/SKILL.md +164 -164
- package/seed/marketplaces/ecc/skills/blueprint/SKILL.md +105 -105
- package/seed/marketplaces/ecc/skills/brand-voice/SKILL.md +97 -97
- package/seed/marketplaces/ecc/skills/brand-voice/references/voice-profile-schema.md +55 -55
- package/seed/marketplaces/ecc/skills/browser-qa/SKILL.md +87 -87
- package/seed/marketplaces/ecc/skills/bun-runtime/SKILL.md +84 -84
- package/seed/marketplaces/ecc/skills/canary-watch/SKILL.md +107 -107
- package/seed/marketplaces/ecc/skills/carrier-relationship-management/SKILL.md +212 -212
- package/seed/marketplaces/ecc/skills/cisco-ios-patterns/SKILL.md +163 -163
- package/seed/marketplaces/ecc/skills/ck/SKILL.md +147 -147
- package/seed/marketplaces/ecc/skills/ck/commands/forget.mjs +44 -44
- package/seed/marketplaces/ecc/skills/ck/commands/info.mjs +24 -24
- package/seed/marketplaces/ecc/skills/ck/commands/init.mjs +143 -143
- package/seed/marketplaces/ecc/skills/ck/commands/list.mjs +40 -40
- package/seed/marketplaces/ecc/skills/ck/commands/migrate.mjs +202 -202
- package/seed/marketplaces/ecc/skills/ck/commands/resume.mjs +36 -36
- package/seed/marketplaces/ecc/skills/ck/commands/save.mjs +210 -210
- package/seed/marketplaces/ecc/skills/ck/commands/shared.mjs +387 -387
- package/seed/marketplaces/ecc/skills/ck/hooks/session-start.mjs +224 -224
- package/seed/marketplaces/ecc/skills/claude-devfleet/SKILL.md +103 -103
- package/seed/marketplaces/ecc/skills/click-path-audit/SKILL.md +244 -244
- package/seed/marketplaces/ecc/skills/clickhouse-io/SKILL.md +439 -439
- package/seed/marketplaces/ecc/skills/code-tour/SKILL.md +236 -236
- package/seed/marketplaces/ecc/skills/codebase-onboarding/SKILL.md +233 -233
- package/seed/marketplaces/ecc/skills/coding-standards/SKILL.md +549 -549
- package/seed/marketplaces/ecc/skills/compose-multiplatform-patterns/SKILL.md +299 -299
- package/seed/marketplaces/ecc/skills/configure-ecc/SKILL.md +384 -384
- package/seed/marketplaces/ecc/skills/connections-optimizer/SKILL.md +189 -189
- package/seed/marketplaces/ecc/skills/content-engine/SKILL.md +131 -131
- package/seed/marketplaces/ecc/skills/content-hash-cache-pattern/SKILL.md +161 -161
- package/seed/marketplaces/ecc/skills/context-budget/SKILL.md +135 -135
- package/seed/marketplaces/ecc/skills/continuous-agent-loop/SKILL.md +45 -45
- package/seed/marketplaces/ecc/skills/continuous-learning/SKILL.md +131 -131
- package/seed/marketplaces/ecc/skills/continuous-learning/config.json +18 -18
- package/seed/marketplaces/ecc/skills/continuous-learning/evaluate-session.sh +69 -69
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/SKILL.md +360 -360
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/agents/observer-loop.sh +322 -322
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/agents/observer.md +198 -198
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/agents/session-guardian.sh +150 -150
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/agents/start-observer.sh +248 -248
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/config.json +8 -8
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/hooks/observe.sh +498 -498
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/scripts/detect-project.sh +322 -322
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/scripts/instinct-cli.py +1826 -1826
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/scripts/lib/homunculus-dir.sh +31 -31
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/scripts/migrate-homunculus.sh +62 -62
- package/seed/marketplaces/ecc/skills/continuous-learning-v2/scripts/test_parse_instinct.py +1018 -1018
- package/seed/marketplaces/ecc/skills/cost-aware-llm-pipeline/SKILL.md +183 -183
- package/seed/marketplaces/ecc/skills/cost-tracking/SKILL.md +147 -147
- package/seed/marketplaces/ecc/skills/council/SKILL.md +203 -203
- package/seed/marketplaces/ecc/skills/cpp-coding-standards/SKILL.md +723 -723
- package/seed/marketplaces/ecc/skills/cpp-testing/SKILL.md +324 -324
- package/seed/marketplaces/ecc/skills/crosspost/SKILL.md +111 -111
- package/seed/marketplaces/ecc/skills/csharp-testing/SKILL.md +321 -321
- package/seed/marketplaces/ecc/skills/customer-billing-ops/SKILL.md +140 -140
- package/seed/marketplaces/ecc/skills/customs-trade-compliance/SKILL.md +263 -263
- package/seed/marketplaces/ecc/skills/dart-flutter-patterns/SKILL.md +563 -563
- package/seed/marketplaces/ecc/skills/dashboard-builder/SKILL.md +108 -108
- package/seed/marketplaces/ecc/skills/data-scraper-agent/SKILL.md +764 -764
- package/seed/marketplaces/ecc/skills/data-throughput-accelerator/SKILL.md +72 -72
- package/seed/marketplaces/ecc/skills/database-migrations/SKILL.md +429 -429
- package/seed/marketplaces/ecc/skills/deep-research/SKILL.md +159 -159
- package/seed/marketplaces/ecc/skills/defi-amm-security/SKILL.md +166 -166
- package/seed/marketplaces/ecc/skills/deployment-patterns/SKILL.md +427 -427
- package/seed/marketplaces/ecc/skills/design-system/SKILL.md +82 -82
- package/seed/marketplaces/ecc/skills/django-celery/SKILL.md +457 -457
- package/seed/marketplaces/ecc/skills/django-patterns/SKILL.md +734 -734
- package/seed/marketplaces/ecc/skills/django-security/SKILL.md +593 -593
- package/seed/marketplaces/ecc/skills/django-tdd/SKILL.md +729 -729
- package/seed/marketplaces/ecc/skills/django-verification/SKILL.md +469 -469
- package/seed/marketplaces/ecc/skills/dmux-workflows/SKILL.md +191 -191
- package/seed/marketplaces/ecc/skills/docker-patterns/SKILL.md +364 -364
- package/seed/marketplaces/ecc/skills/documentation-lookup/SKILL.md +90 -90
- package/seed/marketplaces/ecc/skills/dotnet-patterns/SKILL.md +321 -321
- package/seed/marketplaces/ecc/skills/e2e-testing/SKILL.md +326 -326
- package/seed/marketplaces/ecc/skills/ecc-guide/SKILL.md +189 -189
- package/seed/marketplaces/ecc/skills/ecc-tools-cost-audit/SKILL.md +160 -160
- package/seed/marketplaces/ecc/skills/email-ops/SKILL.md +121 -121
- package/seed/marketplaces/ecc/skills/energy-procurement/SKILL.md +228 -228
- package/seed/marketplaces/ecc/skills/enterprise-agent-ops/SKILL.md +50 -50
- package/seed/marketplaces/ecc/skills/error-handling/SKILL.md +376 -376
- package/seed/marketplaces/ecc/skills/eval-harness/SKILL.md +270 -270
- package/seed/marketplaces/ecc/skills/evm-token-decimals/SKILL.md +130 -130
- package/seed/marketplaces/ecc/skills/exa-search/SKILL.md +107 -107
- package/seed/marketplaces/ecc/skills/fal-ai-media/SKILL.md +288 -288
- package/seed/marketplaces/ecc/skills/fastapi-patterns/SKILL.md +327 -327
- package/seed/marketplaces/ecc/skills/finance-billing-ops/SKILL.md +127 -127
- package/seed/marketplaces/ecc/skills/flox-environments/SKILL.md +496 -496
- package/seed/marketplaces/ecc/skills/flutter-dart-code-review/SKILL.md +435 -435
- package/seed/marketplaces/ecc/skills/foundation-models-on-device/SKILL.md +243 -243
- package/seed/marketplaces/ecc/skills/frontend-a11y/SKILL.md +446 -446
- package/seed/marketplaces/ecc/skills/frontend-design-direction/SKILL.md +92 -92
- package/seed/marketplaces/ecc/skills/frontend-patterns/SKILL.md +642 -642
- package/seed/marketplaces/ecc/skills/frontend-slides/SKILL.md +184 -184
- package/seed/marketplaces/ecc/skills/frontend-slides/STYLE_PRESETS.md +330 -330
- package/seed/marketplaces/ecc/skills/frontend-slides/animation-patterns.md +122 -122
- package/seed/marketplaces/ecc/skills/frontend-slides/html-template.md +419 -419
- package/seed/marketplaces/ecc/skills/frontend-slides/scripts/export-pdf.sh +418 -418
- package/seed/marketplaces/ecc/skills/frontend-slides/scripts/extract-pptx.py +96 -96
- package/seed/marketplaces/ecc/skills/frontend-slides/viewport-base.css +153 -153
- package/seed/marketplaces/ecc/skills/fsharp-testing/SKILL.md +280 -280
- package/seed/marketplaces/ecc/skills/gan-style-harness/SKILL.md +278 -278
- package/seed/marketplaces/ecc/skills/gateguard/SKILL.md +125 -125
- package/seed/marketplaces/ecc/skills/git-workflow/SKILL.md +715 -715
- package/seed/marketplaces/ecc/skills/github-ops/SKILL.md +144 -144
- package/seed/marketplaces/ecc/skills/golang-patterns/SKILL.md +674 -674
- package/seed/marketplaces/ecc/skills/golang-testing/SKILL.md +720 -720
- package/seed/marketplaces/ecc/skills/google-workspace-ops/SKILL.md +95 -95
- package/seed/marketplaces/ecc/skills/healthcare-cdss-patterns/SKILL.md +245 -245
- package/seed/marketplaces/ecc/skills/healthcare-emr-patterns/SKILL.md +159 -159
- package/seed/marketplaces/ecc/skills/healthcare-eval-harness/SKILL.md +207 -207
- package/seed/marketplaces/ecc/skills/healthcare-phi-compliance/SKILL.md +145 -145
- package/seed/marketplaces/ecc/skills/hermes-imports/SKILL.md +88 -88
- package/seed/marketplaces/ecc/skills/hexagonal-architecture/SKILL.md +276 -276
- package/seed/marketplaces/ecc/skills/hipaa-compliance/SKILL.md +78 -78
- package/seed/marketplaces/ecc/skills/homelab-network-readiness/SKILL.md +169 -169
- package/seed/marketplaces/ecc/skills/homelab-network-setup/SKILL.md +129 -129
- package/seed/marketplaces/ecc/skills/homelab-pihole-dns/SKILL.md +274 -274
- package/seed/marketplaces/ecc/skills/homelab-vlan-segmentation/SKILL.md +311 -311
- package/seed/marketplaces/ecc/skills/homelab-wireguard-vpn/SKILL.md +305 -305
- package/seed/marketplaces/ecc/skills/hookify-rules/SKILL.md +128 -128
- package/seed/marketplaces/ecc/skills/inventory-demand-planning/SKILL.md +247 -247
- package/seed/marketplaces/ecc/skills/investor-materials/SKILL.md +96 -96
- package/seed/marketplaces/ecc/skills/investor-outreach/SKILL.md +91 -91
- package/seed/marketplaces/ecc/skills/ios-icon-gen/SKILL.md +157 -157
- package/seed/marketplaces/ecc/skills/ios-icon-gen/scripts/generate_icons.swift +258 -258
- package/seed/marketplaces/ecc/skills/ios-icon-gen/scripts/iconify_gen.sh +235 -235
- package/seed/marketplaces/ecc/skills/iterative-retrieval/SKILL.md +211 -211
- package/seed/marketplaces/ecc/skills/ito-basket-compare/SKILL.md +63 -63
- package/seed/marketplaces/ecc/skills/ito-data-atlas-agent/SKILL.md +63 -63
- package/seed/marketplaces/ecc/skills/ito-market-intelligence/SKILL.md +60 -60
- package/seed/marketplaces/ecc/skills/ito-trade-planner/SKILL.md +67 -67
- package/seed/marketplaces/ecc/skills/java-coding-standards/SKILL.md +383 -383
- package/seed/marketplaces/ecc/skills/jira-integration/SKILL.md +293 -293
- package/seed/marketplaces/ecc/skills/jpa-patterns/SKILL.md +151 -151
- package/seed/marketplaces/ecc/skills/knowledge-ops/SKILL.md +154 -154
- package/seed/marketplaces/ecc/skills/kotlin-coroutines-flows/SKILL.md +284 -284
- package/seed/marketplaces/ecc/skills/kotlin-exposed-patterns/SKILL.md +719 -719
- package/seed/marketplaces/ecc/skills/kotlin-ktor-patterns/SKILL.md +689 -689
- package/seed/marketplaces/ecc/skills/kotlin-patterns/SKILL.md +711 -711
- package/seed/marketplaces/ecc/skills/kotlin-testing/SKILL.md +824 -824
- package/seed/marketplaces/ecc/skills/laravel-patterns/SKILL.md +415 -415
- package/seed/marketplaces/ecc/skills/laravel-plugin-discovery/SKILL.md +229 -229
- package/seed/marketplaces/ecc/skills/laravel-security/SKILL.md +285 -285
- package/seed/marketplaces/ecc/skills/laravel-tdd/SKILL.md +283 -283
- package/seed/marketplaces/ecc/skills/laravel-verification/SKILL.md +179 -179
- package/seed/marketplaces/ecc/skills/latency-critical-systems/SKILL.md +73 -73
- package/seed/marketplaces/ecc/skills/lead-intelligence/SKILL.md +321 -321
- package/seed/marketplaces/ecc/skills/lead-intelligence/agents/enrichment-agent.md +85 -85
- package/seed/marketplaces/ecc/skills/lead-intelligence/agents/mutual-mapper.md +75 -75
- package/seed/marketplaces/ecc/skills/lead-intelligence/agents/outreach-drafter.md +98 -98
- package/seed/marketplaces/ecc/skills/lead-intelligence/agents/signal-scorer.md +60 -60
- package/seed/marketplaces/ecc/skills/liquid-glass-design/SKILL.md +279 -279
- package/seed/marketplaces/ecc/skills/llm-trading-agent-security/SKILL.md +146 -146
- package/seed/marketplaces/ecc/skills/logistics-exception-management/SKILL.md +222 -222
- package/seed/marketplaces/ecc/skills/make-interfaces-feel-better/SKILL.md +151 -151
- package/seed/marketplaces/ecc/skills/manim-video/SKILL.md +89 -89
- package/seed/marketplaces/ecc/skills/manim-video/assets/network_graph_scene.py +52 -52
- package/seed/marketplaces/ecc/skills/market-research/SKILL.md +75 -75
- package/seed/marketplaces/ecc/skills/marketing-campaign/SKILL.md +113 -113
- package/seed/marketplaces/ecc/skills/mcp-server-patterns/SKILL.md +69 -69
- package/seed/marketplaces/ecc/skills/messages-ops/SKILL.md +104 -104
- package/seed/marketplaces/ecc/skills/mle-workflow/SKILL.md +346 -346
- package/seed/marketplaces/ecc/skills/motion-advanced/SKILL.md +596 -596
- package/seed/marketplaces/ecc/skills/motion-foundations/SKILL.md +299 -299
- package/seed/marketplaces/ecc/skills/motion-patterns/SKILL.md +435 -435
- package/seed/marketplaces/ecc/skills/motion-ui/SKILL.md +575 -575
- package/seed/marketplaces/ecc/skills/mysql-patterns/SKILL.md +412 -412
- package/seed/marketplaces/ecc/skills/nanoclaw-repl/SKILL.md +33 -33
- package/seed/marketplaces/ecc/skills/nestjs-patterns/SKILL.md +230 -230
- package/seed/marketplaces/ecc/skills/netmiko-ssh-automation/SKILL.md +173 -173
- package/seed/marketplaces/ecc/skills/network-bgp-diagnostics/SKILL.md +167 -167
- package/seed/marketplaces/ecc/skills/network-config-validation/SKILL.md +210 -210
- package/seed/marketplaces/ecc/skills/network-interface-health/SKILL.md +152 -152
- package/seed/marketplaces/ecc/skills/nextjs-turbopack/SKILL.md +57 -57
- package/seed/marketplaces/ecc/skills/nodejs-keccak256/SKILL.md +102 -102
- package/seed/marketplaces/ecc/skills/nutrient-document-processing/SKILL.md +167 -167
- package/seed/marketplaces/ecc/skills/nuxt4-patterns/SKILL.md +100 -100
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/SKILL.md +288 -288
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/gacha.py +224 -224
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/gacha.sh +5 -5
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/references/avatar-style.md +124 -124
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/references/boundary-rules.md +53 -53
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/references/error-handling.md +53 -53
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/references/identity-tension.md +48 -48
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/references/naming-system.md +39 -39
- package/seed/marketplaces/ecc/skills/openclaw-persona-forge/references/output-template.md +166 -166
- package/seed/marketplaces/ecc/skills/opensource-pipeline/SKILL.md +255 -255
- package/seed/marketplaces/ecc/skills/parallel-execution-optimizer/SKILL.md +72 -72
- package/seed/marketplaces/ecc/skills/perl-patterns/SKILL.md +504 -504
- package/seed/marketplaces/ecc/skills/perl-security/SKILL.md +503 -503
- package/seed/marketplaces/ecc/skills/perl-testing/SKILL.md +475 -475
- package/seed/marketplaces/ecc/skills/plan-orchestrate/SKILL.md +262 -262
- package/seed/marketplaces/ecc/skills/plankton-code-quality/SKILL.md +236 -236
- package/seed/marketplaces/ecc/skills/postgres-patterns/SKILL.md +147 -147
- package/seed/marketplaces/ecc/skills/prediction-market-oracle-research/SKILL.md +63 -63
- package/seed/marketplaces/ecc/skills/prediction-market-risk-review/SKILL.md +60 -60
- package/seed/marketplaces/ecc/skills/prisma-patterns/SKILL.md +371 -371
- package/seed/marketplaces/ecc/skills/product-capability/SKILL.md +141 -141
- package/seed/marketplaces/ecc/skills/product-lens/SKILL.md +92 -92
- package/seed/marketplaces/ecc/skills/production-audit/SKILL.md +206 -206
- package/seed/marketplaces/ecc/skills/production-scheduling/SKILL.md +238 -238
- package/seed/marketplaces/ecc/skills/project-flow-ops/SKILL.md +111 -111
- package/seed/marketplaces/ecc/skills/prompt-optimizer/SKILL.md +398 -398
- package/seed/marketplaces/ecc/skills/python-patterns/SKILL.md +750 -750
- package/seed/marketplaces/ecc/skills/python-testing/SKILL.md +816 -816
- package/seed/marketplaces/ecc/skills/pytorch-patterns/SKILL.md +396 -396
- package/seed/marketplaces/ecc/skills/quality-nonconformance/SKILL.md +260 -260
- package/seed/marketplaces/ecc/skills/quarkus-patterns/SKILL.md +722 -722
- package/seed/marketplaces/ecc/skills/quarkus-security/SKILL.md +467 -467
- package/seed/marketplaces/ecc/skills/quarkus-tdd/SKILL.md +811 -811
- package/seed/marketplaces/ecc/skills/quarkus-verification/SKILL.md +479 -479
- package/seed/marketplaces/ecc/skills/ralphinho-rfc-pipeline/SKILL.md +67 -67
- package/seed/marketplaces/ecc/skills/recsys-pipeline-architect/SKILL.md +114 -114
- package/seed/marketplaces/ecc/skills/recursive-decision-ledger/SKILL.md +79 -79
- package/seed/marketplaces/ecc/skills/redis-patterns/SKILL.md +403 -403
- package/seed/marketplaces/ecc/skills/regex-vs-llm-structured-text/SKILL.md +220 -220
- package/seed/marketplaces/ecc/skills/remotion-video-creation/SKILL.md +43 -43
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/3d.md +86 -86
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/animations.md +29 -29
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/assets/charts-bar-chart.tsx +173 -173
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/assets/text-animations-typewriter.tsx +100 -100
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/assets/text-animations-word-highlight.tsx +108 -108
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/assets.md +78 -78
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/audio.md +172 -172
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/calculate-metadata.md +104 -104
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/can-decode.md +75 -75
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/charts.md +58 -58
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/compositions.md +146 -146
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/display-captions.md +126 -126
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/extract-frames.md +229 -229
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/fonts.md +152 -152
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/get-audio-duration.md +58 -58
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/get-video-dimensions.md +68 -68
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/get-video-duration.md +58 -58
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/gifs.md +138 -138
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/images.md +130 -130
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/import-srt-captions.md +67 -67
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/lottie.md +67 -67
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/measuring-dom-nodes.md +34 -34
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/measuring-text.md +143 -143
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/sequencing.md +106 -106
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/tailwind.md +11 -11
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/text-animations.md +20 -20
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/timing.md +179 -179
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/transcribe-captions.md +19 -19
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/transitions.md +122 -122
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/trimming.md +52 -52
- package/seed/marketplaces/ecc/skills/remotion-video-creation/rules/videos.md +171 -171
- package/seed/marketplaces/ecc/skills/repo-scan/SKILL.md +78 -78
- package/seed/marketplaces/ecc/skills/research-ops/SKILL.md +112 -112
- package/seed/marketplaces/ecc/skills/returns-reverse-logistics/SKILL.md +240 -240
- package/seed/marketplaces/ecc/skills/rules-distill/SKILL.md +264 -264
- package/seed/marketplaces/ecc/skills/rules-distill/scripts/scan-rules.sh +58 -58
- package/seed/marketplaces/ecc/skills/rules-distill/scripts/scan-skills.sh +129 -129
- package/seed/marketplaces/ecc/skills/rust-patterns/SKILL.md +499 -499
- package/seed/marketplaces/ecc/skills/rust-testing/SKILL.md +500 -500
- package/seed/marketplaces/ecc/skills/safety-guard/SKILL.md +75 -75
- package/seed/marketplaces/ecc/skills/santa-method/SKILL.md +306 -306
- package/seed/marketplaces/ecc/skills/scientific-db-pubmed-database/SKILL.md +175 -175
- package/seed/marketplaces/ecc/skills/scientific-db-uspto-database/SKILL.md +177 -177
- package/seed/marketplaces/ecc/skills/scientific-pkg-gget/SKILL.md +166 -166
- package/seed/marketplaces/ecc/skills/scientific-thinking-literature-review/SKILL.md +192 -192
- package/seed/marketplaces/ecc/skills/scientific-thinking-scholar-evaluation/SKILL.md +160 -160
- package/seed/marketplaces/ecc/skills/search-first/SKILL.md +182 -182
- package/seed/marketplaces/ecc/skills/security-bounty-hunter/SKILL.md +99 -99
- package/seed/marketplaces/ecc/skills/security-review/SKILL.md +503 -503
- package/seed/marketplaces/ecc/skills/security-review/cloud-infrastructure-security.md +361 -361
- package/seed/marketplaces/ecc/skills/security-scan/SKILL.md +165 -165
- package/seed/marketplaces/ecc/skills/seo/SKILL.md +154 -154
- package/seed/marketplaces/ecc/skills/skill-comply/SKILL.md +58 -58
- package/seed/marketplaces/ecc/skills/skill-comply/fixtures/compliant_trace.jsonl +5 -5
- package/seed/marketplaces/ecc/skills/skill-comply/fixtures/noncompliant_trace.jsonl +3 -3
- package/seed/marketplaces/ecc/skills/skill-comply/fixtures/tdd_spec.yaml +44 -44
- package/seed/marketplaces/ecc/skills/skill-comply/prompts/classifier.md +24 -24
- package/seed/marketplaces/ecc/skills/skill-comply/prompts/scenario_generator.md +62 -62
- package/seed/marketplaces/ecc/skills/skill-comply/prompts/spec_generator.md +42 -42
- package/seed/marketplaces/ecc/skills/skill-comply/pyproject.toml +15 -15
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/classifier.py +85 -85
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/grader.py +124 -124
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/parser.py +107 -107
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/report.py +170 -170
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/run.py +127 -127
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/runner.py +186 -186
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/scenario_generator.py +70 -70
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/spec_generator.py +72 -72
- package/seed/marketplaces/ecc/skills/skill-comply/scripts/utils.py +13 -13
- package/seed/marketplaces/ecc/skills/skill-comply/tests/test_grader.py +197 -197
- package/seed/marketplaces/ecc/skills/skill-comply/tests/test_parser.py +90 -90
- package/seed/marketplaces/ecc/skills/skill-comply/tests/test_runner.py +172 -172
- package/seed/marketplaces/ecc/skills/skill-scout/SKILL.md +140 -140
- package/seed/marketplaces/ecc/skills/skill-stocktake/SKILL.md +194 -194
- package/seed/marketplaces/ecc/skills/skill-stocktake/scripts/quick-diff.sh +87 -87
- package/seed/marketplaces/ecc/skills/skill-stocktake/scripts/save-results.sh +56 -56
- package/seed/marketplaces/ecc/skills/skill-stocktake/scripts/scan.sh +170 -170
- package/seed/marketplaces/ecc/skills/social-graph-ranker/SKILL.md +154 -154
- package/seed/marketplaces/ecc/skills/social-publisher/SKILL.md +115 -115
- package/seed/marketplaces/ecc/skills/springboot-patterns/SKILL.md +314 -314
- package/seed/marketplaces/ecc/skills/springboot-security/SKILL.md +272 -272
- package/seed/marketplaces/ecc/skills/springboot-tdd/SKILL.md +158 -158
- package/seed/marketplaces/ecc/skills/springboot-verification/SKILL.md +231 -231
- package/seed/marketplaces/ecc/skills/strategic-compact/SKILL.md +131 -131
- package/seed/marketplaces/ecc/skills/swift-actor-persistence/SKILL.md +143 -143
- package/seed/marketplaces/ecc/skills/swift-concurrency-6-2/SKILL.md +216 -216
- package/seed/marketplaces/ecc/skills/swift-protocol-di-testing/SKILL.md +190 -190
- package/seed/marketplaces/ecc/skills/swiftui-patterns/SKILL.md +259 -259
- package/seed/marketplaces/ecc/skills/tdd-workflow/SKILL.md +463 -463
- package/seed/marketplaces/ecc/skills/team-builder/SKILL.md +168 -168
- package/seed/marketplaces/ecc/skills/terminal-ops/SKILL.md +109 -109
- package/seed/marketplaces/ecc/skills/tinystruct-patterns/SKILL.md +203 -203
- package/seed/marketplaces/ecc/skills/tinystruct-patterns/references/architecture.md +90 -90
- package/seed/marketplaces/ecc/skills/tinystruct-patterns/references/data-handling.md +60 -60
- package/seed/marketplaces/ecc/skills/tinystruct-patterns/references/database.md +99 -99
- package/seed/marketplaces/ecc/skills/tinystruct-patterns/references/routing.md +64 -64
- package/seed/marketplaces/ecc/skills/tinystruct-patterns/references/system-usage.md +97 -97
- package/seed/marketplaces/ecc/skills/tinystruct-patterns/references/testing.md +72 -72
- package/seed/marketplaces/ecc/skills/token-budget-advisor/SKILL.md +133 -133
- package/seed/marketplaces/ecc/skills/ui-demo/SKILL.md +465 -465
- package/seed/marketplaces/ecc/skills/ui-to-vue/SKILL.md +134 -134
- package/seed/marketplaces/ecc/skills/uncloud/SKILL.md +343 -343
- package/seed/marketplaces/ecc/skills/unified-notifications-ops/SKILL.md +187 -187
- package/seed/marketplaces/ecc/skills/verification-loop/SKILL.md +126 -126
- package/seed/marketplaces/ecc/skills/video-editing/SKILL.md +310 -310
- package/seed/marketplaces/ecc/skills/videodb/SKILL.md +374 -374
- package/seed/marketplaces/ecc/skills/videodb/reference/api-reference.md +550 -550
- package/seed/marketplaces/ecc/skills/videodb/reference/capture-reference.md +407 -407
- package/seed/marketplaces/ecc/skills/videodb/reference/capture.md +101 -101
- package/seed/marketplaces/ecc/skills/videodb/reference/editor.md +443 -443
- package/seed/marketplaces/ecc/skills/videodb/reference/generative.md +331 -331
- package/seed/marketplaces/ecc/skills/videodb/reference/rtstream-reference.md +564 -564
- package/seed/marketplaces/ecc/skills/videodb/reference/rtstream.md +65 -65
- package/seed/marketplaces/ecc/skills/videodb/reference/search.md +230 -230
- package/seed/marketplaces/ecc/skills/videodb/reference/streaming.md +406 -406
- package/seed/marketplaces/ecc/skills/videodb/reference/use-cases.md +118 -118
- package/seed/marketplaces/ecc/skills/videodb/scripts/ws_listener.py +282 -282
- package/seed/marketplaces/ecc/skills/visa-doc-translate/README.md +86 -86
- package/seed/marketplaces/ecc/skills/visa-doc-translate/SKILL.md +117 -117
- package/seed/marketplaces/ecc/skills/vite-patterns/SKILL.md +449 -449
- package/seed/marketplaces/ecc/skills/windows-desktop-e2e/SKILL.md +887 -887
- package/seed/marketplaces/ecc/skills/workspace-surface-audit/SKILL.md +125 -125
- package/seed/marketplaces/ecc/skills/x-api/SKILL.md +234 -234
- package/seed/marketplaces/ecc/.claude/commands/add-language-rules.md +0 -39
- package/seed/marketplaces/ecc/.claude/commands/database-migration.md +0 -36
- package/seed/marketplaces/ecc/.claude/commands/feature-development.md +0 -38
- package/seed/marketplaces/ecc/.claude/ecc-tools.json +0 -334
- package/seed/marketplaces/ecc/.claude/enterprise/controls.md +0 -15
- package/seed/marketplaces/ecc/.claude/homunculus/instincts/inherited/everything-claude-code-instincts.yaml +0 -162
- package/seed/marketplaces/ecc/.claude/identity.json +0 -14
- package/seed/marketplaces/ecc/.claude/package-manager.json +0 -4
- package/seed/marketplaces/ecc/.claude/research/everything-claude-code-research-playbook.md +0 -21
- package/seed/marketplaces/ecc/.claude/rules/everything-claude-code-guardrails.md +0 -43
- package/seed/marketplaces/ecc/.claude/rules/node.md +0 -56
- package/seed/marketplaces/ecc/.claude/skills/everything-claude-code/SKILL.md +0 -442
- package/seed/marketplaces/ecc/.claude/team/everything-claude-code-team-config.json +0 -15
- package/seed/marketplaces/ecc/.vscode/settings.json +0 -17
package/dist/myclaude.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// MACRO - build-time constants (injected by build.ts)
|
|
5
5
|
// MACRO injected by build script
|
|
6
6
|
globalThis.MACRO = {
|
|
7
|
-
VERSION: "0.1.
|
|
8
|
-
BUILD_TIME: "2026-07-
|
|
7
|
+
VERSION: "0.1.77",
|
|
8
|
+
BUILD_TIME: "2026-07-15T15:45:57.247Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -23,60 +23,39 @@ var __defProp = Object.defineProperty;
|
|
|
23
23
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
24
24
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
25
25
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
26
|
-
function __accessProp(key) {
|
|
27
|
-
return this[key];
|
|
28
|
-
}
|
|
29
|
-
var __toESMCache_node;
|
|
30
|
-
var __toESMCache_esm;
|
|
31
26
|
var __toESM = (mod, isNodeMode, target) => {
|
|
32
|
-
var canCache = mod != null && typeof mod === "object";
|
|
33
|
-
if (canCache) {
|
|
34
|
-
var cache = isNodeMode ? __toESMCache_node ??= new WeakMap : __toESMCache_esm ??= new WeakMap;
|
|
35
|
-
var cached = cache.get(mod);
|
|
36
|
-
if (cached)
|
|
37
|
-
return cached;
|
|
38
|
-
}
|
|
39
27
|
target = mod != null ? __create(__getProtoOf(mod)) : {};
|
|
40
28
|
const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
|
|
41
29
|
for (let key of __getOwnPropNames(mod))
|
|
42
30
|
if (!__hasOwnProp.call(to, key))
|
|
43
31
|
__defProp(to, key, {
|
|
44
|
-
get:
|
|
32
|
+
get: () => mod[key],
|
|
45
33
|
enumerable: true
|
|
46
34
|
});
|
|
47
|
-
if (canCache)
|
|
48
|
-
cache.set(mod, to);
|
|
49
35
|
return to;
|
|
50
36
|
};
|
|
37
|
+
var __moduleCache = /* @__PURE__ */ new WeakMap;
|
|
51
38
|
var __toCommonJS = (from) => {
|
|
52
|
-
var entry =
|
|
39
|
+
var entry = __moduleCache.get(from), desc;
|
|
53
40
|
if (entry)
|
|
54
41
|
return entry;
|
|
55
42
|
entry = __defProp({}, "__esModule", { value: true });
|
|
56
|
-
if (from && typeof from === "object" || typeof from === "function")
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
62
|
-
});
|
|
63
|
-
}
|
|
43
|
+
if (from && typeof from === "object" || typeof from === "function")
|
|
44
|
+
__getOwnPropNames(from).map((key) => !__hasOwnProp.call(entry, key) && __defProp(entry, key, {
|
|
45
|
+
get: () => from[key],
|
|
46
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
47
|
+
}));
|
|
64
48
|
__moduleCache.set(from, entry);
|
|
65
49
|
return entry;
|
|
66
50
|
};
|
|
67
|
-
var __moduleCache;
|
|
68
51
|
var __commonJS = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
|
|
69
|
-
var __returnValue = (v) => v;
|
|
70
|
-
function __exportSetter(name, newValue) {
|
|
71
|
-
this[name] = __returnValue.bind(null, newValue);
|
|
72
|
-
}
|
|
73
52
|
var __export = (target, all) => {
|
|
74
53
|
for (var name in all)
|
|
75
54
|
__defProp(target, name, {
|
|
76
55
|
get: all[name],
|
|
77
56
|
enumerable: true,
|
|
78
57
|
configurable: true,
|
|
79
|
-
set:
|
|
58
|
+
set: (newValue) => all[name] = () => newValue
|
|
80
59
|
});
|
|
81
60
|
};
|
|
82
61
|
var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
|
|
@@ -5996,7 +5975,7 @@ var EMPTY, createPathTagFunction = (pathEncoder = encodeURIPath) => function pat
|
|
|
5996
5975
|
return statics[0];
|
|
5997
5976
|
let postPath = false;
|
|
5998
5977
|
const invalidSegments = [];
|
|
5999
|
-
const
|
|
5978
|
+
const path = statics.reduce((previousValue, currentValue, index) => {
|
|
6000
5979
|
if (/[?#]/.test(currentValue)) {
|
|
6001
5980
|
postPath = true;
|
|
6002
5981
|
}
|
|
@@ -6012,7 +5991,7 @@ var EMPTY, createPathTagFunction = (pathEncoder = encodeURIPath) => function pat
|
|
|
6012
5991
|
}
|
|
6013
5992
|
return previousValue + currentValue + (index === params.length ? "" : encoded);
|
|
6014
5993
|
}, "");
|
|
6015
|
-
const pathOnly =
|
|
5994
|
+
const pathOnly = path.split(/[?#]/, 1)[0];
|
|
6016
5995
|
const invalidSegmentPattern = /(?<=^|\/)(?:\.|%2e){1,2}(?=\/|$)/gi;
|
|
6017
5996
|
let match;
|
|
6018
5997
|
while ((match = invalidSegmentPattern.exec(pathOnly)) !== null) {
|
|
@@ -6034,10 +6013,10 @@ var EMPTY, createPathTagFunction = (pathEncoder = encodeURIPath) => function pat
|
|
|
6034
6013
|
throw new AnthropicError(`Path parameters result in path with invalid segments:
|
|
6035
6014
|
${invalidSegments.map((e) => e.error).join(`
|
|
6036
6015
|
`)}
|
|
6037
|
-
${
|
|
6016
|
+
${path}
|
|
6038
6017
|
${underline}`);
|
|
6039
6018
|
}
|
|
6040
|
-
return
|
|
6019
|
+
return path;
|
|
6041
6020
|
}, path;
|
|
6042
6021
|
var init_path = __esm(() => {
|
|
6043
6022
|
init_error();
|
|
@@ -10228,12 +10207,12 @@ var init_BetaMessageStream = __esm(() => {
|
|
|
10228
10207
|
}
|
|
10229
10208
|
}
|
|
10230
10209
|
}
|
|
10231
|
-
[(_BetaMessageStream_currentMessageSnapshot = new WeakMap, _BetaMessageStream_params = new WeakMap, _BetaMessageStream_connectedPromise = new WeakMap, _BetaMessageStream_resolveConnectedPromise = new WeakMap, _BetaMessageStream_rejectConnectedPromise = new WeakMap, _BetaMessageStream_endPromise = new WeakMap, _BetaMessageStream_resolveEndPromise = new WeakMap, _BetaMessageStream_rejectEndPromise = new WeakMap, _BetaMessageStream_listeners = new WeakMap, _BetaMessageStream_ended = new WeakMap, _BetaMessageStream_errored = new WeakMap, _BetaMessageStream_aborted = new WeakMap, _BetaMessageStream_catchingPromiseCreated = new WeakMap, _BetaMessageStream_response = new WeakMap, _BetaMessageStream_request_id = new WeakMap, _BetaMessageStream_logger = new WeakMap, _BetaMessageStream_handleError = new WeakMap, _BetaMessageStream_instances = new WeakSet, _BetaMessageStream_getFinalMessage = function
|
|
10210
|
+
[(_BetaMessageStream_currentMessageSnapshot = new WeakMap, _BetaMessageStream_params = new WeakMap, _BetaMessageStream_connectedPromise = new WeakMap, _BetaMessageStream_resolveConnectedPromise = new WeakMap, _BetaMessageStream_rejectConnectedPromise = new WeakMap, _BetaMessageStream_endPromise = new WeakMap, _BetaMessageStream_resolveEndPromise = new WeakMap, _BetaMessageStream_rejectEndPromise = new WeakMap, _BetaMessageStream_listeners = new WeakMap, _BetaMessageStream_ended = new WeakMap, _BetaMessageStream_errored = new WeakMap, _BetaMessageStream_aborted = new WeakMap, _BetaMessageStream_catchingPromiseCreated = new WeakMap, _BetaMessageStream_response = new WeakMap, _BetaMessageStream_request_id = new WeakMap, _BetaMessageStream_logger = new WeakMap, _BetaMessageStream_handleError = new WeakMap, _BetaMessageStream_instances = new WeakSet, _BetaMessageStream_getFinalMessage = function _BetaMessageStream_getFinalMessage() {
|
|
10232
10211
|
if (this.receivedMessages.length === 0) {
|
|
10233
10212
|
throw new AnthropicError("stream ended without producing a Message with role=assistant");
|
|
10234
10213
|
}
|
|
10235
10214
|
return this.receivedMessages.at(-1);
|
|
10236
|
-
}, _BetaMessageStream_getFinalText = function
|
|
10215
|
+
}, _BetaMessageStream_getFinalText = function _BetaMessageStream_getFinalText() {
|
|
10237
10216
|
if (this.receivedMessages.length === 0) {
|
|
10238
10217
|
throw new AnthropicError("stream ended without producing a Message with role=assistant");
|
|
10239
10218
|
}
|
|
@@ -10242,11 +10221,11 @@ var init_BetaMessageStream = __esm(() => {
|
|
|
10242
10221
|
throw new AnthropicError("stream ended without producing a content block with type=text");
|
|
10243
10222
|
}
|
|
10244
10223
|
return textBlocks.join(" ");
|
|
10245
|
-
}, _BetaMessageStream_beginRequest = function
|
|
10224
|
+
}, _BetaMessageStream_beginRequest = function _BetaMessageStream_beginRequest() {
|
|
10246
10225
|
if (this.ended)
|
|
10247
10226
|
return;
|
|
10248
10227
|
__classPrivateFieldSet(this, _BetaMessageStream_currentMessageSnapshot, undefined, "f");
|
|
10249
|
-
}, _BetaMessageStream_addStreamEvent = function
|
|
10228
|
+
}, _BetaMessageStream_addStreamEvent = function _BetaMessageStream_addStreamEvent(event) {
|
|
10250
10229
|
if (this.ended)
|
|
10251
10230
|
return;
|
|
10252
10231
|
const messageSnapshot = __classPrivateFieldGet(this, _BetaMessageStream_instances, "m", _BetaMessageStream_accumulateMessage).call(this, event);
|
|
@@ -10320,7 +10299,7 @@ var init_BetaMessageStream = __esm(() => {
|
|
|
10320
10299
|
case "message_delta":
|
|
10321
10300
|
break;
|
|
10322
10301
|
}
|
|
10323
|
-
}, _BetaMessageStream_endRequest = function
|
|
10302
|
+
}, _BetaMessageStream_endRequest = function _BetaMessageStream_endRequest() {
|
|
10324
10303
|
if (this.ended) {
|
|
10325
10304
|
throw new AnthropicError(`stream has ended, this shouldn't happen`);
|
|
10326
10305
|
}
|
|
@@ -10330,7 +10309,7 @@ var init_BetaMessageStream = __esm(() => {
|
|
|
10330
10309
|
}
|
|
10331
10310
|
__classPrivateFieldSet(this, _BetaMessageStream_currentMessageSnapshot, undefined, "f");
|
|
10332
10311
|
return maybeParseBetaMessage(snapshot, __classPrivateFieldGet(this, _BetaMessageStream_params, "f"), { logger: __classPrivateFieldGet(this, _BetaMessageStream_logger, "f") });
|
|
10333
|
-
}, _BetaMessageStream_accumulateMessage = function
|
|
10312
|
+
}, _BetaMessageStream_accumulateMessage = function _BetaMessageStream_accumulateMessage(event) {
|
|
10334
10313
|
let snapshot = __classPrivateFieldGet(this, _BetaMessageStream_currentMessageSnapshot, "f");
|
|
10335
10314
|
if (event.type === "message_start") {
|
|
10336
10315
|
if (snapshot) {
|
|
@@ -10456,7 +10435,7 @@ var init_BetaMessageStream = __esm(() => {
|
|
|
10456
10435
|
return snapshot;
|
|
10457
10436
|
}
|
|
10458
10437
|
}
|
|
10459
|
-
}, _BetaMessageStream_toolInputParseError = function
|
|
10438
|
+
}, _BetaMessageStream_toolInputParseError = function _BetaMessageStream_toolInputParseError(block, err) {
|
|
10460
10439
|
const jsonBuf = block[JSON_BUF_PROPERTY];
|
|
10461
10440
|
return new AnthropicError(`Unable to parse tool parameter JSON from model. Please retry your request or adjust your prompt. Error: ${err}. JSON: ${jsonBuf}`);
|
|
10462
10441
|
}, Symbol.asyncIterator)]() {
|
|
@@ -10628,7 +10607,7 @@ var init_BetaToolRunner = __esm(() => {
|
|
|
10628
10607
|
console.warn("Anthropic: The `compactionControl` parameter is deprecated and will be removed in a future version. " + 'Use server-side compaction instead by passing `edits: [{ type: "compact_20260112" }]` in the params passed to `toolRunner()`. ' + "See https://platform.claude.com/docs/en/build-with-claude/compaction");
|
|
10629
10608
|
}
|
|
10630
10609
|
}
|
|
10631
|
-
async* [(_BetaToolRunner_consumed = new WeakMap, _BetaToolRunner_mutated = new WeakMap, _BetaToolRunner_state = new WeakMap, _BetaToolRunner_options = new WeakMap, _BetaToolRunner_message = new WeakMap, _BetaToolRunner_toolResponse = new WeakMap, _BetaToolRunner_completion = new WeakMap, _BetaToolRunner_iterationCount = new WeakMap, _BetaToolRunner_instances = new WeakSet, _BetaToolRunner_checkAndCompact = async function
|
|
10610
|
+
async* [(_BetaToolRunner_consumed = new WeakMap, _BetaToolRunner_mutated = new WeakMap, _BetaToolRunner_state = new WeakMap, _BetaToolRunner_options = new WeakMap, _BetaToolRunner_message = new WeakMap, _BetaToolRunner_toolResponse = new WeakMap, _BetaToolRunner_completion = new WeakMap, _BetaToolRunner_iterationCount = new WeakMap, _BetaToolRunner_instances = new WeakSet, _BetaToolRunner_checkAndCompact = async function _BetaToolRunner_checkAndCompact() {
|
|
10632
10611
|
const compactionControl = __classPrivateFieldGet(this, _BetaToolRunner_state, "f").params.compactionControl;
|
|
10633
10612
|
if (!compactionControl || !compactionControl.enabled) {
|
|
10634
10613
|
return false;
|
|
@@ -11925,12 +11904,12 @@ var init_MessageStream = __esm(() => {
|
|
|
11925
11904
|
}
|
|
11926
11905
|
}
|
|
11927
11906
|
}
|
|
11928
|
-
[(_MessageStream_currentMessageSnapshot = new WeakMap, _MessageStream_params = new WeakMap, _MessageStream_connectedPromise = new WeakMap, _MessageStream_resolveConnectedPromise = new WeakMap, _MessageStream_rejectConnectedPromise = new WeakMap, _MessageStream_endPromise = new WeakMap, _MessageStream_resolveEndPromise = new WeakMap, _MessageStream_rejectEndPromise = new WeakMap, _MessageStream_listeners = new WeakMap, _MessageStream_ended = new WeakMap, _MessageStream_errored = new WeakMap, _MessageStream_aborted = new WeakMap, _MessageStream_catchingPromiseCreated = new WeakMap, _MessageStream_response = new WeakMap, _MessageStream_request_id = new WeakMap, _MessageStream_logger = new WeakMap, _MessageStream_handleError = new WeakMap, _MessageStream_instances = new WeakSet, _MessageStream_getFinalMessage = function
|
|
11907
|
+
[(_MessageStream_currentMessageSnapshot = new WeakMap, _MessageStream_params = new WeakMap, _MessageStream_connectedPromise = new WeakMap, _MessageStream_resolveConnectedPromise = new WeakMap, _MessageStream_rejectConnectedPromise = new WeakMap, _MessageStream_endPromise = new WeakMap, _MessageStream_resolveEndPromise = new WeakMap, _MessageStream_rejectEndPromise = new WeakMap, _MessageStream_listeners = new WeakMap, _MessageStream_ended = new WeakMap, _MessageStream_errored = new WeakMap, _MessageStream_aborted = new WeakMap, _MessageStream_catchingPromiseCreated = new WeakMap, _MessageStream_response = new WeakMap, _MessageStream_request_id = new WeakMap, _MessageStream_logger = new WeakMap, _MessageStream_handleError = new WeakMap, _MessageStream_instances = new WeakSet, _MessageStream_getFinalMessage = function _MessageStream_getFinalMessage() {
|
|
11929
11908
|
if (this.receivedMessages.length === 0) {
|
|
11930
11909
|
throw new AnthropicError("stream ended without producing a Message with role=assistant");
|
|
11931
11910
|
}
|
|
11932
11911
|
return this.receivedMessages.at(-1);
|
|
11933
|
-
}, _MessageStream_getFinalText = function
|
|
11912
|
+
}, _MessageStream_getFinalText = function _MessageStream_getFinalText() {
|
|
11934
11913
|
if (this.receivedMessages.length === 0) {
|
|
11935
11914
|
throw new AnthropicError("stream ended without producing a Message with role=assistant");
|
|
11936
11915
|
}
|
|
@@ -11939,11 +11918,11 @@ var init_MessageStream = __esm(() => {
|
|
|
11939
11918
|
throw new AnthropicError("stream ended without producing a content block with type=text");
|
|
11940
11919
|
}
|
|
11941
11920
|
return textBlocks.join(" ");
|
|
11942
|
-
}, _MessageStream_beginRequest = function
|
|
11921
|
+
}, _MessageStream_beginRequest = function _MessageStream_beginRequest() {
|
|
11943
11922
|
if (this.ended)
|
|
11944
11923
|
return;
|
|
11945
11924
|
__classPrivateFieldSet(this, _MessageStream_currentMessageSnapshot, undefined, "f");
|
|
11946
|
-
}, _MessageStream_addStreamEvent = function
|
|
11925
|
+
}, _MessageStream_addStreamEvent = function _MessageStream_addStreamEvent(event) {
|
|
11947
11926
|
if (this.ended)
|
|
11948
11927
|
return;
|
|
11949
11928
|
const messageSnapshot = __classPrivateFieldGet(this, _MessageStream_instances, "m", _MessageStream_accumulateMessage).call(this, event);
|
|
@@ -12004,7 +11983,7 @@ var init_MessageStream = __esm(() => {
|
|
|
12004
11983
|
case "message_delta":
|
|
12005
11984
|
break;
|
|
12006
11985
|
}
|
|
12007
|
-
}, _MessageStream_endRequest = function
|
|
11986
|
+
}, _MessageStream_endRequest = function _MessageStream_endRequest() {
|
|
12008
11987
|
if (this.ended) {
|
|
12009
11988
|
throw new AnthropicError(`stream has ended, this shouldn't happen`);
|
|
12010
11989
|
}
|
|
@@ -12014,7 +11993,7 @@ var init_MessageStream = __esm(() => {
|
|
|
12014
11993
|
}
|
|
12015
11994
|
__classPrivateFieldSet(this, _MessageStream_currentMessageSnapshot, undefined, "f");
|
|
12016
11995
|
return maybeParseMessage(snapshot, __classPrivateFieldGet(this, _MessageStream_params, "f"), { logger: __classPrivateFieldGet(this, _MessageStream_logger, "f") });
|
|
12017
|
-
}, _MessageStream_accumulateMessage = function
|
|
11996
|
+
}, _MessageStream_accumulateMessage = function _MessageStream_accumulateMessage(event) {
|
|
12018
11997
|
let snapshot = __classPrivateFieldGet(this, _MessageStream_currentMessageSnapshot, "f");
|
|
12019
11998
|
if (event.type === "message_start") {
|
|
12020
11999
|
if (snapshot) {
|
|
@@ -15268,9 +15247,9 @@ var init_startupProfiler = __esm(() => {
|
|
|
15268
15247
|
}
|
|
15269
15248
|
});
|
|
15270
15249
|
|
|
15271
|
-
//
|
|
15272
|
-
var
|
|
15273
|
-
__export(
|
|
15250
|
+
// shims/ant-claude-for-chrome-mcp/index.ts
|
|
15251
|
+
var exports_ant_claude_for_chrome_mcp = {};
|
|
15252
|
+
__export(exports_ant_claude_for_chrome_mcp, {
|
|
15274
15253
|
createClaudeForChromeMcpServer: () => createClaudeForChromeMcpServer,
|
|
15275
15254
|
BROWSER_TOOLS: () => BROWSER_TOOLS
|
|
15276
15255
|
});
|
|
@@ -15282,7 +15261,7 @@ function createClaudeForChromeMcpServer(_context) {
|
|
|
15282
15261
|
};
|
|
15283
15262
|
}
|
|
15284
15263
|
var BROWSER_TOOLS;
|
|
15285
|
-
var
|
|
15264
|
+
var init_ant_claude_for_chrome_mcp = __esm(() => {
|
|
15286
15265
|
BROWSER_TOOLS = [];
|
|
15287
15266
|
});
|
|
15288
15267
|
|
|
@@ -25982,7 +25961,7 @@ function finalize(ctx, schema) {
|
|
|
25982
25961
|
result.$schema = "http://json-schema.org/draft-07/schema#";
|
|
25983
25962
|
} else if (ctx.target === "draft-04") {
|
|
25984
25963
|
result.$schema = "http://json-schema.org/draft-04/schema#";
|
|
25985
|
-
} else if (ctx.target === "openapi-3.0") {}
|
|
25964
|
+
} else if (ctx.target === "openapi-3.0") {} else {}
|
|
25986
25965
|
if (ctx.external?.uri) {
|
|
25987
25966
|
const id = ctx.external.registry.get(schema)?.id;
|
|
25988
25967
|
if (!id)
|
|
@@ -26247,7 +26226,7 @@ var formatMap, stringProcessor = (schema, ctx, _json, _params) => {
|
|
|
26247
26226
|
if (val === undefined) {
|
|
26248
26227
|
if (ctx.unrepresentable === "throw") {
|
|
26249
26228
|
throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
26250
|
-
}
|
|
26229
|
+
} else {}
|
|
26251
26230
|
} else if (typeof val === "bigint") {
|
|
26252
26231
|
if (ctx.unrepresentable === "throw") {
|
|
26253
26232
|
throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
@@ -31408,6 +31387,7 @@ var init_base = __esm(() => {
|
|
|
31408
31387
|
// node_modules/yoctocolors/index.js
|
|
31409
31388
|
var init_yoctocolors = __esm(() => {
|
|
31410
31389
|
init_base();
|
|
31390
|
+
init_base();
|
|
31411
31391
|
});
|
|
31412
31392
|
|
|
31413
31393
|
// node_modules/execa/lib/verbose/default.js
|
|
@@ -37918,6 +37898,7 @@ var exports_oauth = {};
|
|
|
37918
37898
|
__export(exports_oauth, {
|
|
37919
37899
|
getOauthConfig: () => getOauthConfig,
|
|
37920
37900
|
fileSuffixForOauthConfig: () => fileSuffixForOauthConfig,
|
|
37901
|
+
_resetOauthConfigCache: () => _resetOauthConfigCache,
|
|
37921
37902
|
OAUTH_BETA_HEADER: () => OAUTH_BETA_HEADER,
|
|
37922
37903
|
MCP_CLIENT_METADATA_URL: () => MCP_CLIENT_METADATA_URL,
|
|
37923
37904
|
CONSOLE_OAUTH_SCOPES: () => CONSOLE_OAUTH_SCOPES,
|
|
@@ -37927,14 +37908,6 @@ __export(exports_oauth, {
|
|
|
37927
37908
|
ALL_OAUTH_SCOPES: () => ALL_OAUTH_SCOPES
|
|
37928
37909
|
});
|
|
37929
37910
|
function getOauthConfigType() {
|
|
37930
|
-
if (process.env.USER_TYPE === "ant") {
|
|
37931
|
-
if (isEnvTruthy(process.env.USE_LOCAL_OAUTH)) {
|
|
37932
|
-
return "local";
|
|
37933
|
-
}
|
|
37934
|
-
if (isEnvTruthy(process.env.USE_STAGING_OAUTH)) {
|
|
37935
|
-
return "staging";
|
|
37936
|
-
}
|
|
37937
|
-
}
|
|
37938
37911
|
return "prod";
|
|
37939
37912
|
}
|
|
37940
37913
|
function fileSuffixForOauthConfig() {
|
|
@@ -37971,7 +37944,13 @@ function getLocalOauthConfig() {
|
|
|
37971
37944
|
MCP_PROXY_PATH: "/v1/toolbox/shttp/mcp/{server_id}"
|
|
37972
37945
|
};
|
|
37973
37946
|
}
|
|
37947
|
+
function _resetOauthConfigCache() {
|
|
37948
|
+
_cachedOauthConfig = null;
|
|
37949
|
+
}
|
|
37974
37950
|
function getOauthConfig() {
|
|
37951
|
+
if (_cachedOauthConfig !== null) {
|
|
37952
|
+
return _cachedOauthConfig;
|
|
37953
|
+
}
|
|
37975
37954
|
let config2 = (() => {
|
|
37976
37955
|
switch (getOauthConfigType()) {
|
|
37977
37956
|
case "local":
|
|
@@ -38019,11 +37998,11 @@ function getOauthConfig() {
|
|
|
38019
37998
|
CLIENT_ID: clientIdOverride
|
|
38020
37999
|
};
|
|
38021
38000
|
}
|
|
38001
|
+
_cachedOauthConfig = config2;
|
|
38022
38002
|
return config2;
|
|
38023
38003
|
}
|
|
38024
|
-
var CLAUDE_AI_INFERENCE_SCOPE = "user:inference", CLAUDE_AI_PROFILE_SCOPE = "user:profile", CONSOLE_SCOPE = "org:create_api_key", OAUTH_BETA_HEADER = "oauth-2025-04-20", CONSOLE_OAUTH_SCOPES, CLAUDE_AI_OAUTH_SCOPES, ALL_OAUTH_SCOPES, PROD_OAUTH_CONFIG, MCP_CLIENT_METADATA_URL = "https://claude.ai/oauth/claude-code-client-metadata", STAGING_OAUTH_CONFIG, ALLOWED_OAUTH_BASE_URLS;
|
|
38004
|
+
var CLAUDE_AI_INFERENCE_SCOPE = "user:inference", CLAUDE_AI_PROFILE_SCOPE = "user:profile", CONSOLE_SCOPE = "org:create_api_key", OAUTH_BETA_HEADER = "oauth-2025-04-20", CONSOLE_OAUTH_SCOPES, CLAUDE_AI_OAUTH_SCOPES, ALL_OAUTH_SCOPES, PROD_OAUTH_CONFIG, MCP_CLIENT_METADATA_URL = "https://claude.ai/oauth/claude-code-client-metadata", STAGING_OAUTH_CONFIG, ALLOWED_OAUTH_BASE_URLS, _cachedOauthConfig = null;
|
|
38025
38005
|
var init_oauth = __esm(() => {
|
|
38026
|
-
init_envUtils();
|
|
38027
38006
|
CONSOLE_OAUTH_SCOPES = [
|
|
38028
38007
|
CONSOLE_SCOPE,
|
|
38029
38008
|
CLAUDE_AI_PROFILE_SCOPE
|
|
@@ -40851,6 +40830,8 @@ function isBinaryContent(buffer) {
|
|
|
40851
40830
|
let nonPrintable = 0;
|
|
40852
40831
|
for (let i2 = 0;i2 < checkSize; i2++) {
|
|
40853
40832
|
const byte = buffer[i2];
|
|
40833
|
+
if (byte === undefined)
|
|
40834
|
+
break;
|
|
40854
40835
|
if (byte === 0) {
|
|
40855
40836
|
return true;
|
|
40856
40837
|
}
|
|
@@ -53297,6 +53278,17 @@ var require_db = __commonJS((exports, module) => {
|
|
|
53297
53278
|
};
|
|
53298
53279
|
});
|
|
53299
53280
|
|
|
53281
|
+
// node_modules/form-data/node_modules/mime-types/node_modules/mime-db/index.js
|
|
53282
|
+
var require_mime_db = __commonJS((exports, module) => {
|
|
53283
|
+
/*!
|
|
53284
|
+
* mime-db
|
|
53285
|
+
* Copyright(c) 2014 Jonathan Ong
|
|
53286
|
+
* Copyright(c) 2015-2022 Douglas Christopher Wilson
|
|
53287
|
+
* MIT Licensed
|
|
53288
|
+
*/
|
|
53289
|
+
module.exports = require_db();
|
|
53290
|
+
});
|
|
53291
|
+
|
|
53300
53292
|
// node_modules/form-data/node_modules/mime-types/index.js
|
|
53301
53293
|
var require_mime_types = __commonJS((exports) => {
|
|
53302
53294
|
/*!
|
|
@@ -53305,7 +53297,7 @@ var require_mime_types = __commonJS((exports) => {
|
|
|
53305
53297
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
53306
53298
|
* MIT Licensed
|
|
53307
53299
|
*/
|
|
53308
|
-
var db =
|
|
53300
|
+
var db = require_mime_db();
|
|
53309
53301
|
var extname2 = __require("path").extname;
|
|
53310
53302
|
var EXTRACT_TYPE_REGEXP = /^\s*([^;\s]*)(?:;|\s|$)/;
|
|
53311
53303
|
var TEXT_TYPE_REGEXP = /^text\//i;
|
|
@@ -53652,7 +53644,7 @@ var require_round = __commonJS((exports, module) => {
|
|
|
53652
53644
|
|
|
53653
53645
|
// node_modules/math-intrinsics/isNaN.js
|
|
53654
53646
|
var require_isNaN = __commonJS((exports, module) => {
|
|
53655
|
-
module.exports = Number.isNaN || function
|
|
53647
|
+
module.exports = Number.isNaN || function isNaN(a2) {
|
|
53656
53648
|
return a2 !== a2;
|
|
53657
53649
|
};
|
|
53658
53650
|
});
|
|
@@ -53786,7 +53778,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
53786
53778
|
var toStr = Object.prototype.toString;
|
|
53787
53779
|
var max = Math.max;
|
|
53788
53780
|
var funcType = "[object Function]";
|
|
53789
|
-
var concatty = function
|
|
53781
|
+
var concatty = function concatty(a2, b) {
|
|
53790
53782
|
var arr = [];
|
|
53791
53783
|
for (var i2 = 0;i2 < a2.length; i2 += 1) {
|
|
53792
53784
|
arr[i2] = a2[i2];
|
|
@@ -53796,7 +53788,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
53796
53788
|
}
|
|
53797
53789
|
return arr;
|
|
53798
53790
|
};
|
|
53799
|
-
var slicy = function
|
|
53791
|
+
var slicy = function slicy(arrLike, offset) {
|
|
53800
53792
|
var arr = [];
|
|
53801
53793
|
for (var i2 = offset || 0, j = 0;i2 < arrLike.length; i2 += 1, j += 1) {
|
|
53802
53794
|
arr[j] = arrLike[i2];
|
|
@@ -53813,7 +53805,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
53813
53805
|
}
|
|
53814
53806
|
return str;
|
|
53815
53807
|
};
|
|
53816
|
-
module.exports = function
|
|
53808
|
+
module.exports = function bind(that) {
|
|
53817
53809
|
var target = this;
|
|
53818
53810
|
if (typeof target !== "function" || toStr.apply(target) !== funcType) {
|
|
53819
53811
|
throw new TypeError(ERROR_MESSAGE + target);
|
|
@@ -53837,7 +53829,7 @@ var require_implementation = __commonJS((exports, module) => {
|
|
|
53837
53829
|
}
|
|
53838
53830
|
bound = Function("binder", "return function (" + joiny(boundArgs, ",") + "){ return binder.apply(this,arguments); }")(binder);
|
|
53839
53831
|
if (target.prototype) {
|
|
53840
|
-
var Empty = function
|
|
53832
|
+
var Empty = function Empty() {};
|
|
53841
53833
|
Empty.prototype = target.prototype;
|
|
53842
53834
|
bound.prototype = new Empty;
|
|
53843
53835
|
Empty.prototype = null;
|
|
@@ -54076,7 +54068,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
54076
54068
|
}
|
|
54077
54069
|
}
|
|
54078
54070
|
var errorProto;
|
|
54079
|
-
var doEval = function
|
|
54071
|
+
var doEval = function doEval(name) {
|
|
54080
54072
|
var value;
|
|
54081
54073
|
if (name === "%AsyncFunction%") {
|
|
54082
54074
|
value = getEvalledConstructor("async function () {}");
|
|
@@ -54085,12 +54077,12 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
54085
54077
|
} else if (name === "%AsyncGeneratorFunction%") {
|
|
54086
54078
|
value = getEvalledConstructor("async function* () {}");
|
|
54087
54079
|
} else if (name === "%AsyncGenerator%") {
|
|
54088
|
-
var fn =
|
|
54080
|
+
var fn = doEval("%AsyncGeneratorFunction%");
|
|
54089
54081
|
if (fn) {
|
|
54090
54082
|
value = fn.prototype;
|
|
54091
54083
|
}
|
|
54092
54084
|
} else if (name === "%AsyncIteratorPrototype%") {
|
|
54093
|
-
var gen =
|
|
54085
|
+
var gen = doEval("%AsyncGenerator%");
|
|
54094
54086
|
if (gen && getProto) {
|
|
54095
54087
|
value = getProto(gen.prototype);
|
|
54096
54088
|
}
|
|
@@ -54161,7 +54153,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
54161
54153
|
var $exec = bind2.call($call, RegExp.prototype.exec);
|
|
54162
54154
|
var rePropName2 = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g;
|
|
54163
54155
|
var reEscapeChar2 = /\\(\\)?/g;
|
|
54164
|
-
var stringToPath2 = function
|
|
54156
|
+
var stringToPath2 = function stringToPath(string4) {
|
|
54165
54157
|
var first = $strSlice(string4, 0, 1);
|
|
54166
54158
|
var last = $strSlice(string4, -1);
|
|
54167
54159
|
if (first === "%" && last !== "%") {
|
|
@@ -54175,7 +54167,7 @@ var require_get_intrinsic = __commonJS((exports, module) => {
|
|
|
54175
54167
|
});
|
|
54176
54168
|
return result;
|
|
54177
54169
|
};
|
|
54178
|
-
var getBaseIntrinsic = function
|
|
54170
|
+
var getBaseIntrinsic = function getBaseIntrinsic(name, allowMissing) {
|
|
54179
54171
|
var intrinsicName = name;
|
|
54180
54172
|
var alias;
|
|
54181
54173
|
if (hasOwn2(LEGACY_ALIASES, intrinsicName)) {
|
|
@@ -55427,7 +55419,7 @@ function transformData(fns, response) {
|
|
|
55427
55419
|
const context = response || config2;
|
|
55428
55420
|
const headers = AxiosHeaders_default.from(context.headers);
|
|
55429
55421
|
let data = context.data;
|
|
55430
|
-
utils_default.forEach(fns, function
|
|
55422
|
+
utils_default.forEach(fns, function transform(fn) {
|
|
55431
55423
|
data = fn.call(config2, data, headers.normalize(), response ? response.status : undefined);
|
|
55432
55424
|
});
|
|
55433
55425
|
headers.normalize();
|
|
@@ -57826,12 +57818,12 @@ var init_http = __esm(() => {
|
|
|
57826
57818
|
responseStream.destroy(err);
|
|
57827
57819
|
reject(err);
|
|
57828
57820
|
});
|
|
57829
|
-
responseStream.on("error", function
|
|
57821
|
+
responseStream.on("error", function handleStreamError(err) {
|
|
57830
57822
|
if (req.destroyed)
|
|
57831
57823
|
return;
|
|
57832
57824
|
reject(AxiosError_default.from(err, null, config2, lastRequest));
|
|
57833
57825
|
});
|
|
57834
|
-
responseStream.on("end", function
|
|
57826
|
+
responseStream.on("end", function handleStreamEnd() {
|
|
57835
57827
|
try {
|
|
57836
57828
|
let responseData = responseBuffer.length === 1 ? responseBuffer[0] : Buffer.concat(responseBuffer);
|
|
57837
57829
|
if (responseType !== "arraybuffer") {
|
|
@@ -58162,7 +58154,7 @@ var init_xhr = __esm(() => {
|
|
|
58162
58154
|
setTimeout(onloadend);
|
|
58163
58155
|
};
|
|
58164
58156
|
}
|
|
58165
|
-
request.onabort = function
|
|
58157
|
+
request.onabort = function handleAbort() {
|
|
58166
58158
|
if (!request) {
|
|
58167
58159
|
return;
|
|
58168
58160
|
}
|
|
@@ -64825,7 +64817,7 @@ var require_connect = __commonJS((exports, module) => {
|
|
|
64825
64817
|
const sessionCache2 = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions);
|
|
64826
64818
|
timeout = timeout == null ? 1e4 : timeout;
|
|
64827
64819
|
allowH2 = allowH2 != null ? allowH2 : false;
|
|
64828
|
-
return function
|
|
64820
|
+
return function connect({ hostname: hostname3, host, protocol, port, servername, localAddress, httpSocket }, callback) {
|
|
64829
64821
|
let socket;
|
|
64830
64822
|
if (protocol === "https:") {
|
|
64831
64823
|
if (!tls2) {
|
|
@@ -67116,7 +67108,7 @@ var require_util2 = __commonJS((exports, module) => {
|
|
|
67116
67108
|
writable: true,
|
|
67117
67109
|
enumerable: true,
|
|
67118
67110
|
configurable: true,
|
|
67119
|
-
value: function
|
|
67111
|
+
value: function keys() {
|
|
67120
67112
|
webidl.brandCheck(this, object2);
|
|
67121
67113
|
return makeIterator(this, "key");
|
|
67122
67114
|
}
|
|
@@ -67125,7 +67117,7 @@ var require_util2 = __commonJS((exports, module) => {
|
|
|
67125
67117
|
writable: true,
|
|
67126
67118
|
enumerable: true,
|
|
67127
67119
|
configurable: true,
|
|
67128
|
-
value: function
|
|
67120
|
+
value: function values() {
|
|
67129
67121
|
webidl.brandCheck(this, object2);
|
|
67130
67122
|
return makeIterator(this, "value");
|
|
67131
67123
|
}
|
|
@@ -67143,7 +67135,7 @@ var require_util2 = __commonJS((exports, module) => {
|
|
|
67143
67135
|
writable: true,
|
|
67144
67136
|
enumerable: true,
|
|
67145
67137
|
configurable: true,
|
|
67146
|
-
value: function
|
|
67138
|
+
value: function forEach(callbackfn, thisArg = globalThis) {
|
|
67147
67139
|
webidl.brandCheck(this, object2);
|
|
67148
67140
|
webidl.argumentLengthCheck(arguments, 1, `${name}.forEach`);
|
|
67149
67141
|
if (typeof callbackfn !== "function") {
|
|
@@ -80628,7 +80620,7 @@ var require_fetch = __commonJS((exports, module) => {
|
|
|
80628
80620
|
request.cache = "no-store";
|
|
80629
80621
|
}
|
|
80630
80622
|
const newConnection = forceNewConnection ? "yes" : "no";
|
|
80631
|
-
if (request.mode === "websocket") {}
|
|
80623
|
+
if (request.mode === "websocket") {} else {}
|
|
80632
80624
|
let requestBody = null;
|
|
80633
80625
|
if (request.body == null && fetchParams.processRequestEndOfBody) {
|
|
80634
80626
|
queueMicrotask(() => fetchParams.processRequestEndOfBody());
|
|
@@ -82427,7 +82419,7 @@ var require_frame = __commonJS((exports, module) => {
|
|
|
82427
82419
|
var BUFFER_SIZE = 8 * 1024;
|
|
82428
82420
|
var buffer = null;
|
|
82429
82421
|
var bufIdx = BUFFER_SIZE;
|
|
82430
|
-
var randomFillSync = runtimeFeatures.has("crypto") ? __require("node:crypto").randomFillSync : function
|
|
82422
|
+
var randomFillSync = runtimeFeatures.has("crypto") ? __require("node:crypto").randomFillSync : function randomFillSync(buffer2, _offset, _size2) {
|
|
82431
82423
|
for (let i2 = 0;i2 < buffer2.length; ++i2) {
|
|
82432
82424
|
buffer2[i2] = Math.random() * 255 | 0;
|
|
82433
82425
|
}
|
|
@@ -84415,7 +84407,7 @@ var require_eventsource = __commonJS((exports, module) => {
|
|
|
84415
84407
|
|
|
84416
84408
|
// node_modules/undici/index.js
|
|
84417
84409
|
var require_undici = __commonJS((exports, module) => {
|
|
84418
|
-
var __filename = "
|
|
84410
|
+
var __filename = "/home/runner/work/myclaude/myclaude/node_modules/undici/index.js";
|
|
84419
84411
|
var Client = require_client();
|
|
84420
84412
|
var Dispatcher = require_dispatcher();
|
|
84421
84413
|
var Pool = require_pool();
|
|
@@ -84541,7 +84533,7 @@ var require_undici = __commonJS((exports, module) => {
|
|
|
84541
84533
|
err.stack = stack ? `${stack}
|
|
84542
84534
|
${captureLines}` : capture.stack;
|
|
84543
84535
|
}
|
|
84544
|
-
exports.fetch = function
|
|
84536
|
+
exports.fetch = function fetch(init, options = undefined) {
|
|
84545
84537
|
return fetchImpl(init, options).catch((err) => {
|
|
84546
84538
|
if (currentFilename) {
|
|
84547
84539
|
appendFetchStackTrace(err, currentFilename);
|
|
@@ -89804,7 +89796,7 @@ var require_serde = __commonJS((exports) => {
|
|
|
89804
89796
|
}
|
|
89805
89797
|
return value.slice(idx);
|
|
89806
89798
|
};
|
|
89807
|
-
var LazyJsonString = function
|
|
89799
|
+
var LazyJsonString = function LazyJsonString(val) {
|
|
89808
89800
|
const str = Object.assign(new String(val), {
|
|
89809
89801
|
deserializeJSON() {
|
|
89810
89802
|
return JSON.parse(String(val));
|
|
@@ -92124,7 +92116,7 @@ var require_dist_cjs25 = __commonJS((exports) => {
|
|
|
92124
92116
|
return httpRequest;
|
|
92125
92117
|
}
|
|
92126
92118
|
}
|
|
92127
|
-
var createIsIdentityExpiredFunction = (expirationMs) => function
|
|
92119
|
+
var createIsIdentityExpiredFunction = (expirationMs) => function isIdentityExpired(identity4) {
|
|
92128
92120
|
return doesIdentityRequireRefresh(identity4) && identity4.expiration.getTime() - Date.now() < expirationMs;
|
|
92129
92121
|
};
|
|
92130
92122
|
var EXPIRATION_MS = 300000;
|
|
@@ -95817,7 +95809,7 @@ var require_package = __commonJS((exports, module) => {
|
|
|
95817
95809
|
|
|
95818
95810
|
// node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
|
|
95819
95811
|
var require_dist_cjs41 = __commonJS((exports) => {
|
|
95820
|
-
var __dirname = "
|
|
95812
|
+
var __dirname = "/home/runner/work/myclaude/myclaude/node_modules/@aws-sdk/util-user-agent-node/dist-cjs";
|
|
95821
95813
|
var node_os = __require("node:os");
|
|
95822
95814
|
var node_process = __require("node:process");
|
|
95823
95815
|
var utilConfigProvider = require_dist_cjs35();
|
|
@@ -111607,9 +111599,9 @@ GFS4: `);
|
|
|
111607
111599
|
function readdir6(path12, options, cb) {
|
|
111608
111600
|
if (typeof options === "function")
|
|
111609
111601
|
cb = options, options = null;
|
|
111610
|
-
var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$
|
|
111602
|
+
var go$readdir = noReaddirOptionVersions.test(process.version) ? function go$readdir(path13, options2, cb2, startTime) {
|
|
111611
111603
|
return fs$readdir(path13, fs$readdirCallback(path13, options2, cb2, startTime));
|
|
111612
|
-
} : function go$
|
|
111604
|
+
} : function go$readdir(path13, options2, cb2, startTime) {
|
|
111613
111605
|
return fs$readdir(path13, options2, fs$readdirCallback(path13, options2, cb2, startTime));
|
|
111614
111606
|
};
|
|
111615
111607
|
return go$readdir(path12, options, cb);
|
|
@@ -112084,7 +112076,7 @@ var require_signal_exit = __commonJS((exports, module) => {
|
|
|
112084
112076
|
emitter.on(ev, cb);
|
|
112085
112077
|
return remove;
|
|
112086
112078
|
};
|
|
112087
|
-
unload2 = function
|
|
112079
|
+
unload2 = function unload() {
|
|
112088
112080
|
if (!loaded || !processOk2(global.process)) {
|
|
112089
112081
|
return;
|
|
112090
112082
|
}
|
|
@@ -112099,7 +112091,7 @@ var require_signal_exit = __commonJS((exports, module) => {
|
|
|
112099
112091
|
emitter.count -= 1;
|
|
112100
112092
|
};
|
|
112101
112093
|
module.exports.unload = unload2;
|
|
112102
|
-
emit = function
|
|
112094
|
+
emit = function emit(event, code, signal) {
|
|
112103
112095
|
if (emitter.emitted[event]) {
|
|
112104
112096
|
return;
|
|
112105
112097
|
}
|
|
@@ -112128,7 +112120,7 @@ var require_signal_exit = __commonJS((exports, module) => {
|
|
|
112128
112120
|
return signals2;
|
|
112129
112121
|
};
|
|
112130
112122
|
loaded = false;
|
|
112131
|
-
load2 = function
|
|
112123
|
+
load2 = function load() {
|
|
112132
112124
|
if (loaded || !processOk2(global.process)) {
|
|
112133
112125
|
return;
|
|
112134
112126
|
}
|
|
@@ -112147,7 +112139,7 @@ var require_signal_exit = __commonJS((exports, module) => {
|
|
|
112147
112139
|
};
|
|
112148
112140
|
module.exports.load = load2;
|
|
112149
112141
|
originalProcessReallyExit = process15.reallyExit;
|
|
112150
|
-
processReallyExit = function
|
|
112142
|
+
processReallyExit = function processReallyExit(code) {
|
|
112151
112143
|
if (!processOk2(global.process)) {
|
|
112152
112144
|
return;
|
|
112153
112145
|
}
|
|
@@ -112157,7 +112149,7 @@ var require_signal_exit = __commonJS((exports, module) => {
|
|
|
112157
112149
|
originalProcessReallyExit.call(process15, process15.exitCode);
|
|
112158
112150
|
};
|
|
112159
112151
|
originalProcessEmit = process15.emit;
|
|
112160
|
-
processEmit = function
|
|
112152
|
+
processEmit = function processEmit(ev, arg) {
|
|
112161
112153
|
if (ev === "exit" && processOk2(global.process)) {
|
|
112162
112154
|
if (arg !== undefined) {
|
|
112163
112155
|
process15.exitCode = arg;
|
|
@@ -118991,8 +118983,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
118991
118983
|
|
|
118992
118984
|
// node_modules/react/index.js
|
|
118993
118985
|
var require_react = __commonJS((exports, module) => {
|
|
118986
|
+
var react_development = __toESM(require_react_development());
|
|
118994
118987
|
if (false) {} else {
|
|
118995
|
-
module.exports =
|
|
118988
|
+
module.exports = react_development;
|
|
118996
118989
|
}
|
|
118997
118990
|
});
|
|
118998
118991
|
|
|
@@ -119015,8 +119008,9 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
119015
119008
|
|
|
119016
119009
|
// node_modules/react/compiler-runtime.js
|
|
119017
119010
|
var require_compiler_runtime = __commonJS((exports, module) => {
|
|
119011
|
+
var react_compiler_runtime_development = __toESM(require_react_compiler_runtime_development());
|
|
119018
119012
|
if (false) {} else {
|
|
119019
|
-
module.exports =
|
|
119013
|
+
module.exports = react_compiler_runtime_development;
|
|
119020
119014
|
}
|
|
119021
119015
|
});
|
|
119022
119016
|
|
|
@@ -119330,8 +119324,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
119330
119324
|
|
|
119331
119325
|
// node_modules/react/jsx-dev-runtime.js
|
|
119332
119326
|
var require_jsx_dev_runtime = __commonJS((exports, module) => {
|
|
119327
|
+
var react_jsx_dev_runtime_development = __toESM(require_react_jsx_dev_runtime_development());
|
|
119333
119328
|
if (false) {} else {
|
|
119334
|
-
module.exports =
|
|
119329
|
+
module.exports = react_jsx_dev_runtime_development;
|
|
119335
119330
|
}
|
|
119336
119331
|
});
|
|
119337
119332
|
|
|
@@ -122933,8 +122928,9 @@ var require_scheduler_development = __commonJS((exports) => {
|
|
|
122933
122928
|
|
|
122934
122929
|
// node_modules/scheduler/index.js
|
|
122935
122930
|
var require_scheduler = __commonJS((exports, module) => {
|
|
122931
|
+
var scheduler_development = __toESM(require_scheduler_development());
|
|
122936
122932
|
if (false) {} else {
|
|
122937
|
-
module.exports =
|
|
122933
|
+
module.exports = scheduler_development;
|
|
122938
122934
|
}
|
|
122939
122935
|
});
|
|
122940
122936
|
|
|
@@ -129456,7 +129452,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
129456
129452
|
offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;
|
|
129457
129453
|
wasHidden && !hoistableRoot && !prevOffscreenSubtreeIsHidden && !prevOffscreenSubtreeWasHidden && (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentReappeared(finishedWork, componentEffectStartTime, componentEffectEndTime);
|
|
129458
129454
|
commitReconciliationEffects(finishedWork);
|
|
129459
|
-
if (flags & 8192 && (root2 = finishedWork.stateNode, root2._visibility = hoistableRoot ? root2._visibility & ~OffscreenVisible : root2._visibility | OffscreenVisible, !hoistableRoot || current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")), supportsMutation))
|
|
129455
|
+
if (flags & 8192 && (root2 = finishedWork.stateNode, root2._visibility = hoistableRoot ? root2._visibility & ~OffscreenVisible : root2._visibility | OffscreenVisible, !hoistableRoot || current2 === null || wasHidden || offscreenSubtreeIsHidden || offscreenSubtreeWasHidden || (recursivelyTraverseDisappearLayoutEffects(finishedWork), (finishedWork.mode & 2) !== NoMode && 0 <= componentEffectStartTime && 0 <= componentEffectEndTime && 0.05 < componentEffectEndTime - componentEffectStartTime && logComponentTrigger(finishedWork, componentEffectStartTime, componentEffectEndTime, "Disconnect")), supportsMutation))
|
|
129460
129456
|
a:
|
|
129461
129457
|
if (current2 = null, supportsMutation)
|
|
129462
129458
|
for (root2 = finishedWork;; ) {
|
|
@@ -129506,7 +129502,6 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
|
|
|
129506
129502
|
root2.sibling.return = root2.return;
|
|
129507
129503
|
root2 = root2.sibling;
|
|
129508
129504
|
}
|
|
129509
|
-
}
|
|
129510
129505
|
flags & 4 && (flags = finishedWork.updateQueue, flags !== null && (current2 = flags.retryQueue, current2 !== null && (flags.retryQueue = null, attachSuspenseRetryListeners(finishedWork, current2))));
|
|
129511
129506
|
break;
|
|
129512
129507
|
case 19:
|
|
@@ -141811,10 +141806,10 @@ var require_bidi = __commonJS((exports, module) => {
|
|
|
141811
141806
|
var map3 = new Map;
|
|
141812
141807
|
var reverseMap = includeReverse && new Map;
|
|
141813
141808
|
var prevPair;
|
|
141814
|
-
encodedString.split(",").forEach(function
|
|
141809
|
+
encodedString.split(",").forEach(function visit(entry) {
|
|
141815
141810
|
if (entry.indexOf("+") !== -1) {
|
|
141816
141811
|
for (var i2 = +entry;i2--; ) {
|
|
141817
|
-
|
|
141812
|
+
visit(prevPair);
|
|
141818
141813
|
}
|
|
141819
141814
|
} else {
|
|
141820
141815
|
prevPair = entry;
|
|
@@ -160380,6 +160375,716 @@ function whichSync2(bin) {
|
|
|
160380
160375
|
}
|
|
160381
160376
|
var init_which2 = () => {};
|
|
160382
160377
|
|
|
160378
|
+
// node_modules/lodash-es/_baseFindIndex.js
|
|
160379
|
+
function baseFindIndex(array2, predicate, fromIndex, fromRight) {
|
|
160380
|
+
var length = array2.length, index = fromIndex + (fromRight ? 1 : -1);
|
|
160381
|
+
while (fromRight ? index-- : ++index < length) {
|
|
160382
|
+
if (predicate(array2[index], index, array2)) {
|
|
160383
|
+
return index;
|
|
160384
|
+
}
|
|
160385
|
+
}
|
|
160386
|
+
return -1;
|
|
160387
|
+
}
|
|
160388
|
+
var _baseFindIndex_default;
|
|
160389
|
+
var init__baseFindIndex = __esm(() => {
|
|
160390
|
+
_baseFindIndex_default = baseFindIndex;
|
|
160391
|
+
});
|
|
160392
|
+
|
|
160393
|
+
// node_modules/lodash-es/_baseIsNaN.js
|
|
160394
|
+
function baseIsNaN(value) {
|
|
160395
|
+
return value !== value;
|
|
160396
|
+
}
|
|
160397
|
+
var _baseIsNaN_default;
|
|
160398
|
+
var init__baseIsNaN = __esm(() => {
|
|
160399
|
+
_baseIsNaN_default = baseIsNaN;
|
|
160400
|
+
});
|
|
160401
|
+
|
|
160402
|
+
// node_modules/lodash-es/_strictIndexOf.js
|
|
160403
|
+
function strictIndexOf(array2, value, fromIndex) {
|
|
160404
|
+
var index = fromIndex - 1, length = array2.length;
|
|
160405
|
+
while (++index < length) {
|
|
160406
|
+
if (array2[index] === value) {
|
|
160407
|
+
return index;
|
|
160408
|
+
}
|
|
160409
|
+
}
|
|
160410
|
+
return -1;
|
|
160411
|
+
}
|
|
160412
|
+
var _strictIndexOf_default;
|
|
160413
|
+
var init__strictIndexOf = __esm(() => {
|
|
160414
|
+
_strictIndexOf_default = strictIndexOf;
|
|
160415
|
+
});
|
|
160416
|
+
|
|
160417
|
+
// node_modules/lodash-es/_baseIndexOf.js
|
|
160418
|
+
function baseIndexOf(array2, value, fromIndex) {
|
|
160419
|
+
return value === value ? _strictIndexOf_default(array2, value, fromIndex) : _baseFindIndex_default(array2, _baseIsNaN_default, fromIndex);
|
|
160420
|
+
}
|
|
160421
|
+
var _baseIndexOf_default;
|
|
160422
|
+
var init__baseIndexOf = __esm(() => {
|
|
160423
|
+
init__baseFindIndex();
|
|
160424
|
+
init__baseIsNaN();
|
|
160425
|
+
init__strictIndexOf();
|
|
160426
|
+
_baseIndexOf_default = baseIndexOf;
|
|
160427
|
+
});
|
|
160428
|
+
|
|
160429
|
+
// node_modules/lodash-es/_arrayIncludes.js
|
|
160430
|
+
function arrayIncludes(array2, value) {
|
|
160431
|
+
var length = array2 == null ? 0 : array2.length;
|
|
160432
|
+
return !!length && _baseIndexOf_default(array2, value, 0) > -1;
|
|
160433
|
+
}
|
|
160434
|
+
var _arrayIncludes_default;
|
|
160435
|
+
var init__arrayIncludes = __esm(() => {
|
|
160436
|
+
init__baseIndexOf();
|
|
160437
|
+
_arrayIncludes_default = arrayIncludes;
|
|
160438
|
+
});
|
|
160439
|
+
|
|
160440
|
+
// node_modules/lodash-es/_isFlattenable.js
|
|
160441
|
+
function isFlattenable(value) {
|
|
160442
|
+
return isArray_default(value) || isArguments_default(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
160443
|
+
}
|
|
160444
|
+
var spreadableSymbol, _isFlattenable_default;
|
|
160445
|
+
var init__isFlattenable = __esm(() => {
|
|
160446
|
+
init__Symbol();
|
|
160447
|
+
init_isArguments();
|
|
160448
|
+
init_isArray();
|
|
160449
|
+
spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : undefined;
|
|
160450
|
+
_isFlattenable_default = isFlattenable;
|
|
160451
|
+
});
|
|
160452
|
+
|
|
160453
|
+
// node_modules/lodash-es/_baseFlatten.js
|
|
160454
|
+
function baseFlatten(array2, depth, predicate, isStrict, result) {
|
|
160455
|
+
var index = -1, length = array2.length;
|
|
160456
|
+
predicate || (predicate = _isFlattenable_default);
|
|
160457
|
+
result || (result = []);
|
|
160458
|
+
while (++index < length) {
|
|
160459
|
+
var value = array2[index];
|
|
160460
|
+
if (depth > 0 && predicate(value)) {
|
|
160461
|
+
if (depth > 1) {
|
|
160462
|
+
baseFlatten(value, depth - 1, predicate, isStrict, result);
|
|
160463
|
+
} else {
|
|
160464
|
+
_arrayPush_default(result, value);
|
|
160465
|
+
}
|
|
160466
|
+
} else if (!isStrict) {
|
|
160467
|
+
result[result.length] = value;
|
|
160468
|
+
}
|
|
160469
|
+
}
|
|
160470
|
+
return result;
|
|
160471
|
+
}
|
|
160472
|
+
var _baseFlatten_default;
|
|
160473
|
+
var init__baseFlatten = __esm(() => {
|
|
160474
|
+
init__arrayPush();
|
|
160475
|
+
init__isFlattenable();
|
|
160476
|
+
_baseFlatten_default = baseFlatten;
|
|
160477
|
+
});
|
|
160478
|
+
|
|
160479
|
+
// node_modules/lodash-es/flatten.js
|
|
160480
|
+
function flatten(array2) {
|
|
160481
|
+
var length = array2 == null ? 0 : array2.length;
|
|
160482
|
+
return length ? _baseFlatten_default(array2, 1) : [];
|
|
160483
|
+
}
|
|
160484
|
+
var flatten_default;
|
|
160485
|
+
var init_flatten = __esm(() => {
|
|
160486
|
+
init__baseFlatten();
|
|
160487
|
+
flatten_default = flatten;
|
|
160488
|
+
});
|
|
160489
|
+
|
|
160490
|
+
// node_modules/lodash-es/_flatRest.js
|
|
160491
|
+
function flatRest(func) {
|
|
160492
|
+
return _setToString_default(_overRest_default(func, undefined, flatten_default), func + "");
|
|
160493
|
+
}
|
|
160494
|
+
var _flatRest_default;
|
|
160495
|
+
var init__flatRest = __esm(() => {
|
|
160496
|
+
init_flatten();
|
|
160497
|
+
init__overRest();
|
|
160498
|
+
init__setToString();
|
|
160499
|
+
_flatRest_default = flatRest;
|
|
160500
|
+
});
|
|
160501
|
+
|
|
160502
|
+
// node_modules/lodash-es/_baseSlice.js
|
|
160503
|
+
function baseSlice(array2, start, end) {
|
|
160504
|
+
var index = -1, length = array2.length;
|
|
160505
|
+
if (start < 0) {
|
|
160506
|
+
start = -start > length ? 0 : length + start;
|
|
160507
|
+
}
|
|
160508
|
+
end = end > length ? length : end;
|
|
160509
|
+
if (end < 0) {
|
|
160510
|
+
end += length;
|
|
160511
|
+
}
|
|
160512
|
+
length = start > end ? 0 : end - start >>> 0;
|
|
160513
|
+
start >>>= 0;
|
|
160514
|
+
var result = Array(length);
|
|
160515
|
+
while (++index < length) {
|
|
160516
|
+
result[index] = array2[index + start];
|
|
160517
|
+
}
|
|
160518
|
+
return result;
|
|
160519
|
+
}
|
|
160520
|
+
var _baseSlice_default;
|
|
160521
|
+
var init__baseSlice = __esm(() => {
|
|
160522
|
+
_baseSlice_default = baseSlice;
|
|
160523
|
+
});
|
|
160524
|
+
|
|
160525
|
+
// node_modules/lodash-es/_castSlice.js
|
|
160526
|
+
function castSlice(array2, start, end) {
|
|
160527
|
+
var length = array2.length;
|
|
160528
|
+
end = end === undefined ? length : end;
|
|
160529
|
+
return !start && end >= length ? array2 : _baseSlice_default(array2, start, end);
|
|
160530
|
+
}
|
|
160531
|
+
var _castSlice_default;
|
|
160532
|
+
var init__castSlice = __esm(() => {
|
|
160533
|
+
init__baseSlice();
|
|
160534
|
+
_castSlice_default = castSlice;
|
|
160535
|
+
});
|
|
160536
|
+
|
|
160537
|
+
// node_modules/lodash-es/_hasUnicode.js
|
|
160538
|
+
function hasUnicode(string4) {
|
|
160539
|
+
return reHasUnicode.test(string4);
|
|
160540
|
+
}
|
|
160541
|
+
var rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange, rsVarRange = "\\ufe0e\\ufe0f", rsZWJ = "\\u200d", reHasUnicode, _hasUnicode_default;
|
|
160542
|
+
var init__hasUnicode = __esm(() => {
|
|
160543
|
+
rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
|
|
160544
|
+
reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]");
|
|
160545
|
+
_hasUnicode_default = hasUnicode;
|
|
160546
|
+
});
|
|
160547
|
+
|
|
160548
|
+
// node_modules/lodash-es/_asciiToArray.js
|
|
160549
|
+
function asciiToArray(string4) {
|
|
160550
|
+
return string4.split("");
|
|
160551
|
+
}
|
|
160552
|
+
var _asciiToArray_default;
|
|
160553
|
+
var init__asciiToArray = __esm(() => {
|
|
160554
|
+
_asciiToArray_default = asciiToArray;
|
|
160555
|
+
});
|
|
160556
|
+
|
|
160557
|
+
// node_modules/lodash-es/_unicodeToArray.js
|
|
160558
|
+
function unicodeToArray(string4) {
|
|
160559
|
+
return string4.match(reUnicode) || [];
|
|
160560
|
+
}
|
|
160561
|
+
var rsAstralRange2 = "\\ud800-\\udfff", rsComboMarksRange2 = "\\u0300-\\u036f", reComboHalfMarksRange2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange2 = "\\u20d0-\\u20ff", rsComboRange2, rsVarRange2 = "\\ufe0e\\ufe0f", rsAstral, rsCombo, rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier, rsNonAstral, rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsZWJ2 = "\\u200d", reOptMod, rsOptVar, rsOptJoin, rsSeq, rsSymbol, reUnicode, _unicodeToArray_default;
|
|
160562
|
+
var init__unicodeToArray = __esm(() => {
|
|
160563
|
+
rsComboRange2 = rsComboMarksRange2 + reComboHalfMarksRange2 + rsComboSymbolsRange2;
|
|
160564
|
+
rsAstral = "[" + rsAstralRange2 + "]";
|
|
160565
|
+
rsCombo = "[" + rsComboRange2 + "]";
|
|
160566
|
+
rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
|
|
160567
|
+
rsNonAstral = "[^" + rsAstralRange2 + "]";
|
|
160568
|
+
reOptMod = rsModifier + "?";
|
|
160569
|
+
rsOptVar = "[" + rsVarRange2 + "]?";
|
|
160570
|
+
rsOptJoin = "(?:" + rsZWJ2 + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
|
|
160571
|
+
rsSeq = rsOptVar + reOptMod + rsOptJoin;
|
|
160572
|
+
rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
|
|
160573
|
+
reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
|
|
160574
|
+
_unicodeToArray_default = unicodeToArray;
|
|
160575
|
+
});
|
|
160576
|
+
|
|
160577
|
+
// node_modules/lodash-es/_stringToArray.js
|
|
160578
|
+
function stringToArray(string4) {
|
|
160579
|
+
return _hasUnicode_default(string4) ? _unicodeToArray_default(string4) : _asciiToArray_default(string4);
|
|
160580
|
+
}
|
|
160581
|
+
var _stringToArray_default;
|
|
160582
|
+
var init__stringToArray = __esm(() => {
|
|
160583
|
+
init__asciiToArray();
|
|
160584
|
+
init__hasUnicode();
|
|
160585
|
+
init__unicodeToArray();
|
|
160586
|
+
_stringToArray_default = stringToArray;
|
|
160587
|
+
});
|
|
160588
|
+
|
|
160589
|
+
// node_modules/lodash-es/_createCaseFirst.js
|
|
160590
|
+
function createCaseFirst(methodName) {
|
|
160591
|
+
return function(string4) {
|
|
160592
|
+
string4 = toString_default(string4);
|
|
160593
|
+
var strSymbols = _hasUnicode_default(string4) ? _stringToArray_default(string4) : undefined;
|
|
160594
|
+
var chr = strSymbols ? strSymbols[0] : string4.charAt(0);
|
|
160595
|
+
var trailing = strSymbols ? _castSlice_default(strSymbols, 1).join("") : string4.slice(1);
|
|
160596
|
+
return chr[methodName]() + trailing;
|
|
160597
|
+
};
|
|
160598
|
+
}
|
|
160599
|
+
var _createCaseFirst_default;
|
|
160600
|
+
var init__createCaseFirst = __esm(() => {
|
|
160601
|
+
init__castSlice();
|
|
160602
|
+
init__hasUnicode();
|
|
160603
|
+
init__stringToArray();
|
|
160604
|
+
init_toString();
|
|
160605
|
+
_createCaseFirst_default = createCaseFirst;
|
|
160606
|
+
});
|
|
160607
|
+
|
|
160608
|
+
// node_modules/lodash-es/upperFirst.js
|
|
160609
|
+
var upperFirst, upperFirst_default;
|
|
160610
|
+
var init_upperFirst = __esm(() => {
|
|
160611
|
+
init__createCaseFirst();
|
|
160612
|
+
upperFirst = _createCaseFirst_default("toUpperCase");
|
|
160613
|
+
upperFirst_default = upperFirst;
|
|
160614
|
+
});
|
|
160615
|
+
|
|
160616
|
+
// node_modules/lodash-es/capitalize.js
|
|
160617
|
+
function capitalize2(string4) {
|
|
160618
|
+
return upperFirst_default(toString_default(string4).toLowerCase());
|
|
160619
|
+
}
|
|
160620
|
+
var capitalize_default;
|
|
160621
|
+
var init_capitalize = __esm(() => {
|
|
160622
|
+
init_toString();
|
|
160623
|
+
init_upperFirst();
|
|
160624
|
+
capitalize_default = capitalize2;
|
|
160625
|
+
});
|
|
160626
|
+
|
|
160627
|
+
// node_modules/lodash-es/_arrayAggregator.js
|
|
160628
|
+
function arrayAggregator(array2, setter, iteratee, accumulator) {
|
|
160629
|
+
var index = -1, length = array2 == null ? 0 : array2.length;
|
|
160630
|
+
while (++index < length) {
|
|
160631
|
+
var value = array2[index];
|
|
160632
|
+
setter(accumulator, value, iteratee(value), array2);
|
|
160633
|
+
}
|
|
160634
|
+
return accumulator;
|
|
160635
|
+
}
|
|
160636
|
+
var _arrayAggregator_default;
|
|
160637
|
+
var init__arrayAggregator = __esm(() => {
|
|
160638
|
+
_arrayAggregator_default = arrayAggregator;
|
|
160639
|
+
});
|
|
160640
|
+
|
|
160641
|
+
// node_modules/lodash-es/_baseForOwn.js
|
|
160642
|
+
function baseForOwn(object2, iteratee) {
|
|
160643
|
+
return object2 && _baseFor_default(object2, iteratee, keys_default);
|
|
160644
|
+
}
|
|
160645
|
+
var _baseForOwn_default;
|
|
160646
|
+
var init__baseForOwn = __esm(() => {
|
|
160647
|
+
init__baseFor();
|
|
160648
|
+
init_keys();
|
|
160649
|
+
_baseForOwn_default = baseForOwn;
|
|
160650
|
+
});
|
|
160651
|
+
|
|
160652
|
+
// node_modules/lodash-es/_createBaseEach.js
|
|
160653
|
+
function createBaseEach(eachFunc, fromRight) {
|
|
160654
|
+
return function(collection, iteratee) {
|
|
160655
|
+
if (collection == null) {
|
|
160656
|
+
return collection;
|
|
160657
|
+
}
|
|
160658
|
+
if (!isArrayLike_default(collection)) {
|
|
160659
|
+
return eachFunc(collection, iteratee);
|
|
160660
|
+
}
|
|
160661
|
+
var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
|
|
160662
|
+
while (fromRight ? index-- : ++index < length) {
|
|
160663
|
+
if (iteratee(iterable[index], index, iterable) === false) {
|
|
160664
|
+
break;
|
|
160665
|
+
}
|
|
160666
|
+
}
|
|
160667
|
+
return collection;
|
|
160668
|
+
};
|
|
160669
|
+
}
|
|
160670
|
+
var _createBaseEach_default;
|
|
160671
|
+
var init__createBaseEach = __esm(() => {
|
|
160672
|
+
init_isArrayLike();
|
|
160673
|
+
_createBaseEach_default = createBaseEach;
|
|
160674
|
+
});
|
|
160675
|
+
|
|
160676
|
+
// node_modules/lodash-es/_baseEach.js
|
|
160677
|
+
var baseEach, _baseEach_default;
|
|
160678
|
+
var init__baseEach = __esm(() => {
|
|
160679
|
+
init__baseForOwn();
|
|
160680
|
+
init__createBaseEach();
|
|
160681
|
+
baseEach = _createBaseEach_default(_baseForOwn_default);
|
|
160682
|
+
_baseEach_default = baseEach;
|
|
160683
|
+
});
|
|
160684
|
+
|
|
160685
|
+
// node_modules/lodash-es/_baseAggregator.js
|
|
160686
|
+
function baseAggregator(collection, setter, iteratee, accumulator) {
|
|
160687
|
+
_baseEach_default(collection, function(value, key, collection2) {
|
|
160688
|
+
setter(accumulator, value, iteratee(value), collection2);
|
|
160689
|
+
});
|
|
160690
|
+
return accumulator;
|
|
160691
|
+
}
|
|
160692
|
+
var _baseAggregator_default;
|
|
160693
|
+
var init__baseAggregator = __esm(() => {
|
|
160694
|
+
init__baseEach();
|
|
160695
|
+
_baseAggregator_default = baseAggregator;
|
|
160696
|
+
});
|
|
160697
|
+
|
|
160698
|
+
// node_modules/lodash-es/_createAggregator.js
|
|
160699
|
+
function createAggregator(setter, initializer3) {
|
|
160700
|
+
return function(collection, iteratee) {
|
|
160701
|
+
var func = isArray_default(collection) ? _arrayAggregator_default : _baseAggregator_default, accumulator = initializer3 ? initializer3() : {};
|
|
160702
|
+
return func(collection, setter, _baseIteratee_default(iteratee, 2), accumulator);
|
|
160703
|
+
};
|
|
160704
|
+
}
|
|
160705
|
+
var _createAggregator_default;
|
|
160706
|
+
var init__createAggregator = __esm(() => {
|
|
160707
|
+
init__arrayAggregator();
|
|
160708
|
+
init__baseAggregator();
|
|
160709
|
+
init__baseIteratee();
|
|
160710
|
+
init_isArray();
|
|
160711
|
+
_createAggregator_default = createAggregator;
|
|
160712
|
+
});
|
|
160713
|
+
|
|
160714
|
+
// node_modules/lodash-es/_arrayIncludesWith.js
|
|
160715
|
+
function arrayIncludesWith(array2, value, comparator) {
|
|
160716
|
+
var index = -1, length = array2 == null ? 0 : array2.length;
|
|
160717
|
+
while (++index < length) {
|
|
160718
|
+
if (comparator(value, array2[index])) {
|
|
160719
|
+
return true;
|
|
160720
|
+
}
|
|
160721
|
+
}
|
|
160722
|
+
return false;
|
|
160723
|
+
}
|
|
160724
|
+
var _arrayIncludesWith_default;
|
|
160725
|
+
var init__arrayIncludesWith = __esm(() => {
|
|
160726
|
+
_arrayIncludesWith_default = arrayIncludesWith;
|
|
160727
|
+
});
|
|
160728
|
+
|
|
160729
|
+
// node_modules/lodash-es/_baseFilter.js
|
|
160730
|
+
function baseFilter(collection, predicate) {
|
|
160731
|
+
var result = [];
|
|
160732
|
+
_baseEach_default(collection, function(value, index, collection2) {
|
|
160733
|
+
if (predicate(value, index, collection2)) {
|
|
160734
|
+
result.push(value);
|
|
160735
|
+
}
|
|
160736
|
+
});
|
|
160737
|
+
return result;
|
|
160738
|
+
}
|
|
160739
|
+
var _baseFilter_default;
|
|
160740
|
+
var init__baseFilter = __esm(() => {
|
|
160741
|
+
init__baseEach();
|
|
160742
|
+
_baseFilter_default = baseFilter;
|
|
160743
|
+
});
|
|
160744
|
+
|
|
160745
|
+
// node_modules/lodash-es/_baseValues.js
|
|
160746
|
+
function baseValues(object2, props) {
|
|
160747
|
+
return _arrayMap_default(props, function(key) {
|
|
160748
|
+
return object2[key];
|
|
160749
|
+
});
|
|
160750
|
+
}
|
|
160751
|
+
var _baseValues_default;
|
|
160752
|
+
var init__baseValues = __esm(() => {
|
|
160753
|
+
init__arrayMap();
|
|
160754
|
+
_baseValues_default = baseValues;
|
|
160755
|
+
});
|
|
160756
|
+
|
|
160757
|
+
// node_modules/lodash-es/values.js
|
|
160758
|
+
function values2(object2) {
|
|
160759
|
+
return object2 == null ? [] : _baseValues_default(object2, keys_default(object2));
|
|
160760
|
+
}
|
|
160761
|
+
var values_default;
|
|
160762
|
+
var init_values3 = __esm(() => {
|
|
160763
|
+
init__baseValues();
|
|
160764
|
+
init_keys();
|
|
160765
|
+
values_default = values2;
|
|
160766
|
+
});
|
|
160767
|
+
|
|
160768
|
+
// node_modules/lodash-es/_parent.js
|
|
160769
|
+
function parent(object2, path13) {
|
|
160770
|
+
return path13.length < 2 ? object2 : _baseGet_default(object2, _baseSlice_default(path13, 0, -1));
|
|
160771
|
+
}
|
|
160772
|
+
var _parent_default;
|
|
160773
|
+
var init__parent = __esm(() => {
|
|
160774
|
+
init__baseGet();
|
|
160775
|
+
init__baseSlice();
|
|
160776
|
+
_parent_default = parent;
|
|
160777
|
+
});
|
|
160778
|
+
|
|
160779
|
+
// node_modules/lodash-es/mapValues.js
|
|
160780
|
+
function mapValues(object2, iteratee) {
|
|
160781
|
+
var result = {};
|
|
160782
|
+
iteratee = _baseIteratee_default(iteratee, 3);
|
|
160783
|
+
_baseForOwn_default(object2, function(value, key, object3) {
|
|
160784
|
+
_baseAssignValue_default(result, key, iteratee(value, key, object3));
|
|
160785
|
+
});
|
|
160786
|
+
return result;
|
|
160787
|
+
}
|
|
160788
|
+
var mapValues_default;
|
|
160789
|
+
var init_mapValues = __esm(() => {
|
|
160790
|
+
init__baseAssignValue();
|
|
160791
|
+
init__baseForOwn();
|
|
160792
|
+
init__baseIteratee();
|
|
160793
|
+
mapValues_default = mapValues;
|
|
160794
|
+
});
|
|
160795
|
+
|
|
160796
|
+
// node_modules/lodash-es/negate.js
|
|
160797
|
+
function negate(predicate) {
|
|
160798
|
+
if (typeof predicate != "function") {
|
|
160799
|
+
throw new TypeError(FUNC_ERROR_TEXT4);
|
|
160800
|
+
}
|
|
160801
|
+
return function() {
|
|
160802
|
+
var args = arguments;
|
|
160803
|
+
switch (args.length) {
|
|
160804
|
+
case 0:
|
|
160805
|
+
return !predicate.call(this);
|
|
160806
|
+
case 1:
|
|
160807
|
+
return !predicate.call(this, args[0]);
|
|
160808
|
+
case 2:
|
|
160809
|
+
return !predicate.call(this, args[0], args[1]);
|
|
160810
|
+
case 3:
|
|
160811
|
+
return !predicate.call(this, args[0], args[1], args[2]);
|
|
160812
|
+
}
|
|
160813
|
+
return !predicate.apply(this, args);
|
|
160814
|
+
};
|
|
160815
|
+
}
|
|
160816
|
+
var FUNC_ERROR_TEXT4 = "Expected a function", negate_default;
|
|
160817
|
+
var init_negate = __esm(() => {
|
|
160818
|
+
negate_default = negate;
|
|
160819
|
+
});
|
|
160820
|
+
|
|
160821
|
+
// node_modules/lodash-es/_baseUnset.js
|
|
160822
|
+
function baseUnset(object2, path13) {
|
|
160823
|
+
path13 = _castPath_default(path13, object2);
|
|
160824
|
+
var index = -1, length = path13.length;
|
|
160825
|
+
if (!length) {
|
|
160826
|
+
return true;
|
|
160827
|
+
}
|
|
160828
|
+
var isRootPrimitive = object2 == null || typeof object2 !== "object" && typeof object2 !== "function";
|
|
160829
|
+
while (++index < length) {
|
|
160830
|
+
var key = path13[index];
|
|
160831
|
+
if (typeof key !== "string") {
|
|
160832
|
+
continue;
|
|
160833
|
+
}
|
|
160834
|
+
if (key === "__proto__" && !hasOwnProperty15.call(object2, "__proto__")) {
|
|
160835
|
+
return false;
|
|
160836
|
+
}
|
|
160837
|
+
if (key === "constructor" && index + 1 < length && typeof path13[index + 1] === "string" && path13[index + 1] === "prototype") {
|
|
160838
|
+
if (isRootPrimitive && index === 0) {
|
|
160839
|
+
continue;
|
|
160840
|
+
}
|
|
160841
|
+
return false;
|
|
160842
|
+
}
|
|
160843
|
+
}
|
|
160844
|
+
var obj = _parent_default(object2, path13);
|
|
160845
|
+
return obj == null || delete obj[_toKey_default(last_default(path13))];
|
|
160846
|
+
}
|
|
160847
|
+
var objectProto17, hasOwnProperty15, _baseUnset_default;
|
|
160848
|
+
var init__baseUnset = __esm(() => {
|
|
160849
|
+
init__castPath();
|
|
160850
|
+
init_last();
|
|
160851
|
+
init__parent();
|
|
160852
|
+
init__toKey();
|
|
160853
|
+
objectProto17 = Object.prototype;
|
|
160854
|
+
hasOwnProperty15 = objectProto17.hasOwnProperty;
|
|
160855
|
+
_baseUnset_default = baseUnset;
|
|
160856
|
+
});
|
|
160857
|
+
|
|
160858
|
+
// node_modules/lodash-es/_customOmitClone.js
|
|
160859
|
+
function customOmitClone(value) {
|
|
160860
|
+
return isPlainObject_default(value) ? undefined : value;
|
|
160861
|
+
}
|
|
160862
|
+
var _customOmitClone_default;
|
|
160863
|
+
var init__customOmitClone = __esm(() => {
|
|
160864
|
+
init_isPlainObject();
|
|
160865
|
+
_customOmitClone_default = customOmitClone;
|
|
160866
|
+
});
|
|
160867
|
+
|
|
160868
|
+
// node_modules/lodash-es/omit.js
|
|
160869
|
+
var CLONE_DEEP_FLAG3 = 1, CLONE_FLAT_FLAG2 = 2, CLONE_SYMBOLS_FLAG3 = 4, omit3, omit_default;
|
|
160870
|
+
var init_omit = __esm(() => {
|
|
160871
|
+
init__arrayMap();
|
|
160872
|
+
init__baseClone();
|
|
160873
|
+
init__baseUnset();
|
|
160874
|
+
init__castPath();
|
|
160875
|
+
init__copyObject();
|
|
160876
|
+
init__customOmitClone();
|
|
160877
|
+
init__flatRest();
|
|
160878
|
+
init__getAllKeysIn();
|
|
160879
|
+
omit3 = _flatRest_default(function(object2, paths2) {
|
|
160880
|
+
var result = {};
|
|
160881
|
+
if (object2 == null) {
|
|
160882
|
+
return result;
|
|
160883
|
+
}
|
|
160884
|
+
var isDeep = false;
|
|
160885
|
+
paths2 = _arrayMap_default(paths2, function(path13) {
|
|
160886
|
+
path13 = _castPath_default(path13, object2);
|
|
160887
|
+
isDeep || (isDeep = path13.length > 1);
|
|
160888
|
+
return path13;
|
|
160889
|
+
});
|
|
160890
|
+
_copyObject_default(object2, _getAllKeysIn_default(object2), result);
|
|
160891
|
+
if (isDeep) {
|
|
160892
|
+
result = _baseClone_default(result, CLONE_DEEP_FLAG3 | CLONE_FLAT_FLAG2 | CLONE_SYMBOLS_FLAG3, _customOmitClone_default);
|
|
160893
|
+
}
|
|
160894
|
+
var length = paths2.length;
|
|
160895
|
+
while (length--) {
|
|
160896
|
+
_baseUnset_default(result, paths2[length]);
|
|
160897
|
+
}
|
|
160898
|
+
return result;
|
|
160899
|
+
});
|
|
160900
|
+
omit_default = omit3;
|
|
160901
|
+
});
|
|
160902
|
+
|
|
160903
|
+
// node_modules/lodash-es/partition.js
|
|
160904
|
+
var partition2, partition_default;
|
|
160905
|
+
var init_partition = __esm(() => {
|
|
160906
|
+
init__createAggregator();
|
|
160907
|
+
partition2 = _createAggregator_default(function(result, value, key) {
|
|
160908
|
+
result[key ? 0 : 1].push(value);
|
|
160909
|
+
}, function() {
|
|
160910
|
+
return [[], []];
|
|
160911
|
+
});
|
|
160912
|
+
partition_default = partition2;
|
|
160913
|
+
});
|
|
160914
|
+
|
|
160915
|
+
// node_modules/lodash-es/_baseRandom.js
|
|
160916
|
+
function baseRandom(lower, upper) {
|
|
160917
|
+
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
160918
|
+
}
|
|
160919
|
+
var nativeFloor, nativeRandom, _baseRandom_default;
|
|
160920
|
+
var init__baseRandom = __esm(() => {
|
|
160921
|
+
nativeFloor = Math.floor;
|
|
160922
|
+
nativeRandom = Math.random;
|
|
160923
|
+
_baseRandom_default = baseRandom;
|
|
160924
|
+
});
|
|
160925
|
+
|
|
160926
|
+
// node_modules/lodash-es/reject.js
|
|
160927
|
+
function reject(collection, predicate) {
|
|
160928
|
+
var func = isArray_default(collection) ? _arrayFilter_default : _baseFilter_default;
|
|
160929
|
+
return func(collection, negate_default(_baseIteratee_default(predicate, 3)));
|
|
160930
|
+
}
|
|
160931
|
+
var reject_default;
|
|
160932
|
+
var init_reject2 = __esm(() => {
|
|
160933
|
+
init__arrayFilter();
|
|
160934
|
+
init__baseFilter();
|
|
160935
|
+
init__baseIteratee();
|
|
160936
|
+
init_isArray();
|
|
160937
|
+
init_negate();
|
|
160938
|
+
reject_default = reject;
|
|
160939
|
+
});
|
|
160940
|
+
|
|
160941
|
+
// node_modules/lodash-es/_arraySample.js
|
|
160942
|
+
function arraySample(array2) {
|
|
160943
|
+
var length = array2.length;
|
|
160944
|
+
return length ? array2[_baseRandom_default(0, length - 1)] : undefined;
|
|
160945
|
+
}
|
|
160946
|
+
var _arraySample_default;
|
|
160947
|
+
var init__arraySample = __esm(() => {
|
|
160948
|
+
init__baseRandom();
|
|
160949
|
+
_arraySample_default = arraySample;
|
|
160950
|
+
});
|
|
160951
|
+
|
|
160952
|
+
// node_modules/lodash-es/_baseSample.js
|
|
160953
|
+
function baseSample(collection) {
|
|
160954
|
+
return _arraySample_default(values_default(collection));
|
|
160955
|
+
}
|
|
160956
|
+
var _baseSample_default;
|
|
160957
|
+
var init__baseSample = __esm(() => {
|
|
160958
|
+
init__arraySample();
|
|
160959
|
+
init_values3();
|
|
160960
|
+
_baseSample_default = baseSample;
|
|
160961
|
+
});
|
|
160962
|
+
|
|
160963
|
+
// node_modules/lodash-es/sample.js
|
|
160964
|
+
function sample(collection) {
|
|
160965
|
+
var func = isArray_default(collection) ? _arraySample_default : _baseSample_default;
|
|
160966
|
+
return func(collection);
|
|
160967
|
+
}
|
|
160968
|
+
var sample_default;
|
|
160969
|
+
var init_sample = __esm(() => {
|
|
160970
|
+
init__arraySample();
|
|
160971
|
+
init__baseSample();
|
|
160972
|
+
init_isArray();
|
|
160973
|
+
sample_default = sample;
|
|
160974
|
+
});
|
|
160975
|
+
|
|
160976
|
+
// node_modules/lodash-es/setWith.js
|
|
160977
|
+
function setWith(object2, path13, value, customizer) {
|
|
160978
|
+
customizer = typeof customizer == "function" ? customizer : undefined;
|
|
160979
|
+
return object2 == null ? object2 : _baseSet_default(object2, path13, value, customizer);
|
|
160980
|
+
}
|
|
160981
|
+
var setWith_default;
|
|
160982
|
+
var init_setWith = __esm(() => {
|
|
160983
|
+
init__baseSet();
|
|
160984
|
+
setWith_default = setWith;
|
|
160985
|
+
});
|
|
160986
|
+
|
|
160987
|
+
// node_modules/lodash-es/_createSet.js
|
|
160988
|
+
var INFINITY3, createSet, _createSet_default;
|
|
160989
|
+
var init__createSet = __esm(() => {
|
|
160990
|
+
init__Set();
|
|
160991
|
+
init_noop();
|
|
160992
|
+
init__setToArray();
|
|
160993
|
+
INFINITY3 = 1 / 0;
|
|
160994
|
+
createSet = !(_Set_default && 1 / _setToArray_default(new _Set_default([, -0]))[1] == INFINITY3) ? noop_default : function(values3) {
|
|
160995
|
+
return new _Set_default(values3);
|
|
160996
|
+
};
|
|
160997
|
+
_createSet_default = createSet;
|
|
160998
|
+
});
|
|
160999
|
+
|
|
161000
|
+
// node_modules/lodash-es/_baseUniq.js
|
|
161001
|
+
function baseUniq(array2, iteratee, comparator) {
|
|
161002
|
+
var index = -1, includes = _arrayIncludes_default, length = array2.length, isCommon = true, result = [], seen = result;
|
|
161003
|
+
if (comparator) {
|
|
161004
|
+
isCommon = false;
|
|
161005
|
+
includes = _arrayIncludesWith_default;
|
|
161006
|
+
} else if (length >= LARGE_ARRAY_SIZE2) {
|
|
161007
|
+
var set2 = iteratee ? null : _createSet_default(array2);
|
|
161008
|
+
if (set2) {
|
|
161009
|
+
return _setToArray_default(set2);
|
|
161010
|
+
}
|
|
161011
|
+
isCommon = false;
|
|
161012
|
+
includes = _cacheHas_default;
|
|
161013
|
+
seen = new _SetCache_default;
|
|
161014
|
+
} else {
|
|
161015
|
+
seen = iteratee ? [] : result;
|
|
161016
|
+
}
|
|
161017
|
+
outer:
|
|
161018
|
+
while (++index < length) {
|
|
161019
|
+
var value = array2[index], computed = iteratee ? iteratee(value) : value;
|
|
161020
|
+
value = comparator || value !== 0 ? value : 0;
|
|
161021
|
+
if (isCommon && computed === computed) {
|
|
161022
|
+
var seenIndex = seen.length;
|
|
161023
|
+
while (seenIndex--) {
|
|
161024
|
+
if (seen[seenIndex] === computed) {
|
|
161025
|
+
continue outer;
|
|
161026
|
+
}
|
|
161027
|
+
}
|
|
161028
|
+
if (iteratee) {
|
|
161029
|
+
seen.push(computed);
|
|
161030
|
+
}
|
|
161031
|
+
result.push(value);
|
|
161032
|
+
} else if (!includes(seen, computed, comparator)) {
|
|
161033
|
+
if (seen !== result) {
|
|
161034
|
+
seen.push(computed);
|
|
161035
|
+
}
|
|
161036
|
+
result.push(value);
|
|
161037
|
+
}
|
|
161038
|
+
}
|
|
161039
|
+
return result;
|
|
161040
|
+
}
|
|
161041
|
+
var LARGE_ARRAY_SIZE2 = 200, _baseUniq_default;
|
|
161042
|
+
var init__baseUniq = __esm(() => {
|
|
161043
|
+
init__SetCache();
|
|
161044
|
+
init__arrayIncludes();
|
|
161045
|
+
init__arrayIncludesWith();
|
|
161046
|
+
init__cacheHas();
|
|
161047
|
+
init__createSet();
|
|
161048
|
+
init__setToArray();
|
|
161049
|
+
_baseUniq_default = baseUniq;
|
|
161050
|
+
});
|
|
161051
|
+
|
|
161052
|
+
// node_modules/lodash-es/uniqBy.js
|
|
161053
|
+
function uniqBy(array2, iteratee) {
|
|
161054
|
+
return array2 && array2.length ? _baseUniq_default(array2, _baseIteratee_default(iteratee, 2)) : [];
|
|
161055
|
+
}
|
|
161056
|
+
var uniqBy_default;
|
|
161057
|
+
var init_uniqBy = __esm(() => {
|
|
161058
|
+
init__baseIteratee();
|
|
161059
|
+
init__baseUniq();
|
|
161060
|
+
uniqBy_default = uniqBy;
|
|
161061
|
+
});
|
|
161062
|
+
|
|
161063
|
+
// node_modules/lodash-es/_baseZipObject.js
|
|
161064
|
+
function baseZipObject(props, values3, assignFunc) {
|
|
161065
|
+
var index = -1, length = props.length, valsLength = values3.length, result = {};
|
|
161066
|
+
while (++index < length) {
|
|
161067
|
+
var value = index < valsLength ? values3[index] : undefined;
|
|
161068
|
+
assignFunc(result, props[index], value);
|
|
161069
|
+
}
|
|
161070
|
+
return result;
|
|
161071
|
+
}
|
|
161072
|
+
var _baseZipObject_default;
|
|
161073
|
+
var init__baseZipObject = __esm(() => {
|
|
161074
|
+
_baseZipObject_default = baseZipObject;
|
|
161075
|
+
});
|
|
161076
|
+
|
|
161077
|
+
// node_modules/lodash-es/zipObject.js
|
|
161078
|
+
function zipObject(props, values3) {
|
|
161079
|
+
return _baseZipObject_default(props || [], values3 || [], _assignValue_default);
|
|
161080
|
+
}
|
|
161081
|
+
var zipObject_default;
|
|
161082
|
+
var init_zipObject = __esm(() => {
|
|
161083
|
+
init__assignValue();
|
|
161084
|
+
init__baseZipObject();
|
|
161085
|
+
zipObject_default = zipObject;
|
|
161086
|
+
});
|
|
161087
|
+
|
|
160383
161088
|
// node_modules/lodash-es/lodash.js
|
|
160384
161089
|
var init_lodash = __esm(() => {
|
|
160385
161090
|
init_cloneDeep();
|
|
@@ -160611,7 +161316,7 @@ var require_parse4 = __commonJS((exports, module) => {
|
|
|
160611
161316
|
return typeof arg === "undefined" ? prev : prev.concat(arg);
|
|
160612
161317
|
}, []);
|
|
160613
161318
|
}
|
|
160614
|
-
module.exports = function
|
|
161319
|
+
module.exports = function parse(s, env6, opts) {
|
|
160615
161320
|
var mapped = parseInternal(s, env6, opts);
|
|
160616
161321
|
if (typeof env6 !== "function") {
|
|
160617
161322
|
return mapped;
|
|
@@ -160654,9 +161359,9 @@ async function ripGrep2(args, target, abortSignal, config2 = { command: "rg" })
|
|
|
160654
161359
|
const [stdout, stderr, code] = await Promise.all([
|
|
160655
161360
|
text(child.stdout),
|
|
160656
161361
|
text(child.stderr),
|
|
160657
|
-
new Promise((resolve17,
|
|
161362
|
+
new Promise((resolve17, reject2) => {
|
|
160658
161363
|
child.on("close", resolve17);
|
|
160659
|
-
child.on("error",
|
|
161364
|
+
child.on("error", reject2);
|
|
160660
161365
|
})
|
|
160661
161366
|
]);
|
|
160662
161367
|
if (code === 0) {
|
|
@@ -162201,13 +162906,13 @@ async function startHttpProxyServer(sandboxAskCallback) {
|
|
|
162201
162906
|
getMitmSocketPath,
|
|
162202
162907
|
parentProxy
|
|
162203
162908
|
});
|
|
162204
|
-
return new Promise((resolve19,
|
|
162909
|
+
return new Promise((resolve19, reject2) => {
|
|
162205
162910
|
if (!httpProxyServer) {
|
|
162206
|
-
|
|
162911
|
+
reject2(new Error("HTTP proxy server undefined before listen"));
|
|
162207
162912
|
return;
|
|
162208
162913
|
}
|
|
162209
162914
|
const server = httpProxyServer;
|
|
162210
|
-
server.once("error",
|
|
162915
|
+
server.once("error", reject2);
|
|
162211
162916
|
server.once("listening", () => {
|
|
162212
162917
|
const address = server.address();
|
|
162213
162918
|
if (address && typeof address === "object") {
|
|
@@ -162215,7 +162920,7 @@ async function startHttpProxyServer(sandboxAskCallback) {
|
|
|
162215
162920
|
logForDebugging2(`HTTP proxy listening on localhost:${address.port}`);
|
|
162216
162921
|
resolve19(address.port);
|
|
162217
162922
|
} else {
|
|
162218
|
-
|
|
162923
|
+
reject2(new Error("Failed to get proxy server address"));
|
|
162219
162924
|
}
|
|
162220
162925
|
});
|
|
162221
162926
|
server.listen(0, "127.0.0.1");
|
|
@@ -162226,15 +162931,15 @@ async function startSocksProxyServer(sandboxAskCallback) {
|
|
|
162226
162931
|
filter: (port, host) => filterNetworkRequest(port, host, sandboxAskCallback),
|
|
162227
162932
|
parentProxy
|
|
162228
162933
|
});
|
|
162229
|
-
return new Promise((resolve19,
|
|
162934
|
+
return new Promise((resolve19, reject2) => {
|
|
162230
162935
|
if (!socksProxyServer) {
|
|
162231
|
-
|
|
162936
|
+
reject2(new Error("SOCKS proxy server undefined before listen"));
|
|
162232
162937
|
return;
|
|
162233
162938
|
}
|
|
162234
162939
|
socksProxyServer.listen(0, "127.0.0.1").then((port) => {
|
|
162235
162940
|
socksProxyServer?.unref();
|
|
162236
162941
|
resolve19(port);
|
|
162237
|
-
}).catch(
|
|
162942
|
+
}).catch(reject2);
|
|
162238
162943
|
});
|
|
162239
162944
|
}
|
|
162240
162945
|
async function initialize2(runtimeConfig, sandboxAskCallback, enableLogMonitor = false) {
|
|
@@ -163235,9 +163940,9 @@ var init_errorUtil = __esm(() => {
|
|
|
163235
163940
|
|
|
163236
163941
|
// node_modules/@anthropic-ai/sandbox-runtime/node_modules/zod/v3/types.js
|
|
163237
163942
|
class ParseInputLazyPath {
|
|
163238
|
-
constructor(
|
|
163943
|
+
constructor(parent2, value, path16, key) {
|
|
163239
163944
|
this._cachedPath = [];
|
|
163240
|
-
this.parent =
|
|
163945
|
+
this.parent = parent2;
|
|
163241
163946
|
this.data = value;
|
|
163242
163947
|
this._path = path16;
|
|
163243
163948
|
this._key = key;
|
|
@@ -163694,9 +164399,9 @@ function mergeValues2(a2, b) {
|
|
|
163694
164399
|
return { valid: false };
|
|
163695
164400
|
}
|
|
163696
164401
|
}
|
|
163697
|
-
function createZodEnum(
|
|
164402
|
+
function createZodEnum(values3, params) {
|
|
163698
164403
|
return new ZodEnum2({
|
|
163699
|
-
values:
|
|
164404
|
+
values: values3,
|
|
163700
164405
|
typeName: ZodFirstPartyTypeKind2.ZodEnum,
|
|
163701
164406
|
...processCreateParams(params)
|
|
163702
164407
|
});
|
|
@@ -166046,14 +166751,14 @@ var init_types6 = __esm(() => {
|
|
|
166046
166751
|
}
|
|
166047
166752
|
return enumValues;
|
|
166048
166753
|
}
|
|
166049
|
-
extract(
|
|
166050
|
-
return ZodEnum2.create(
|
|
166754
|
+
extract(values3, newDef = this._def) {
|
|
166755
|
+
return ZodEnum2.create(values3, {
|
|
166051
166756
|
...this._def,
|
|
166052
166757
|
...newDef
|
|
166053
166758
|
});
|
|
166054
166759
|
}
|
|
166055
|
-
exclude(
|
|
166056
|
-
return ZodEnum2.create(this.options.filter((opt) => !
|
|
166760
|
+
exclude(values3, newDef = this._def) {
|
|
166761
|
+
return ZodEnum2.create(this.options.filter((opt) => !values3.includes(opt)), {
|
|
166057
166762
|
...this._def,
|
|
166058
166763
|
...newDef
|
|
166059
166764
|
});
|
|
@@ -166091,9 +166796,9 @@ var init_types6 = __esm(() => {
|
|
|
166091
166796
|
return this._def.values;
|
|
166092
166797
|
}
|
|
166093
166798
|
};
|
|
166094
|
-
ZodNativeEnum.create = (
|
|
166799
|
+
ZodNativeEnum.create = (values3, params) => {
|
|
166095
166800
|
return new ZodNativeEnum({
|
|
166096
|
-
values:
|
|
166801
|
+
values: values3,
|
|
166097
166802
|
typeName: ZodFirstPartyTypeKind2.ZodNativeEnum,
|
|
166098
166803
|
...processCreateParams(params)
|
|
166099
166804
|
});
|
|
@@ -171724,12 +172429,12 @@ var init_promise_polyfill = __esm(() => {
|
|
|
171724
172429
|
PromisePolyfill = class PromisePolyfill extends Promise {
|
|
171725
172430
|
static withResolver() {
|
|
171726
172431
|
let resolve21;
|
|
171727
|
-
let
|
|
172432
|
+
let reject2;
|
|
171728
172433
|
const promise2 = new Promise((res, rej) => {
|
|
171729
172434
|
resolve21 = res;
|
|
171730
|
-
|
|
172435
|
+
reject2 = rej;
|
|
171731
172436
|
});
|
|
171732
|
-
return { promise: promise2, resolve: resolve21, reject };
|
|
172437
|
+
return { promise: promise2, resolve: resolve21, reject: reject2 };
|
|
171733
172438
|
}
|
|
171734
172439
|
};
|
|
171735
172440
|
});
|
|
@@ -171749,10 +172454,10 @@ function createPrompt(view) {
|
|
|
171749
172454
|
output
|
|
171750
172455
|
});
|
|
171751
172456
|
const screen = new ScreenManager(rl);
|
|
171752
|
-
const { promise: promise2, resolve: resolve21, reject } = PromisePolyfill.withResolver();
|
|
171753
|
-
const cancel = () =>
|
|
172457
|
+
const { promise: promise2, resolve: resolve21, reject: reject2 } = PromisePolyfill.withResolver();
|
|
172458
|
+
const cancel = () => reject2(new CancelPromptError);
|
|
171754
172459
|
if (signal) {
|
|
171755
|
-
const abort = () =>
|
|
172460
|
+
const abort = () => reject2(new AbortPromptError({ cause: signal.reason }));
|
|
171756
172461
|
if (signal.aborted) {
|
|
171757
172462
|
abort();
|
|
171758
172463
|
return Object.assign(promise2, { cancel });
|
|
@@ -171761,7 +172466,7 @@ function createPrompt(view) {
|
|
|
171761
172466
|
cleanups.add(() => signal.removeEventListener("abort", abort));
|
|
171762
172467
|
}
|
|
171763
172468
|
cleanups.add(onExit((code, signal2) => {
|
|
171764
|
-
|
|
172469
|
+
reject2(new ExitPromptError(`User force closed the prompt with ${code} ${signal2}`));
|
|
171765
172470
|
}));
|
|
171766
172471
|
const checkCursorPos = () => screen.checkCursorPos();
|
|
171767
172472
|
rl.input.on("keypress", checkCursorPos);
|
|
@@ -171779,7 +172484,7 @@ function createPrompt(view) {
|
|
|
171779
172484
|
screen.render(content, bottomContent);
|
|
171780
172485
|
effectScheduler.run();
|
|
171781
172486
|
} catch (error49) {
|
|
171782
|
-
|
|
172487
|
+
reject2(error49);
|
|
171783
172488
|
}
|
|
171784
172489
|
});
|
|
171785
172490
|
return Object.assign(promise2.then((answer) => {
|
|
@@ -172701,9 +173406,9 @@ var init_errorUtil2 = __esm(() => {
|
|
|
172701
173406
|
|
|
172702
173407
|
// node_modules/@anthropic-ai/mcpb/node_modules/zod/v3/types.js
|
|
172703
173408
|
class ParseInputLazyPath2 {
|
|
172704
|
-
constructor(
|
|
173409
|
+
constructor(parent2, value, path16, key2) {
|
|
172705
173410
|
this._cachedPath = [];
|
|
172706
|
-
this.parent =
|
|
173411
|
+
this.parent = parent2;
|
|
172707
173412
|
this.data = value;
|
|
172708
173413
|
this._path = path16;
|
|
172709
173414
|
this._key = key2;
|
|
@@ -173160,9 +173865,9 @@ function mergeValues3(a2, b) {
|
|
|
173160
173865
|
return { valid: false };
|
|
173161
173866
|
}
|
|
173162
173867
|
}
|
|
173163
|
-
function createZodEnum2(
|
|
173868
|
+
function createZodEnum2(values3, params) {
|
|
173164
173869
|
return new ZodEnum3({
|
|
173165
|
-
values:
|
|
173870
|
+
values: values3,
|
|
173166
173871
|
typeName: ZodFirstPartyTypeKind3.ZodEnum,
|
|
173167
173872
|
...processCreateParams2(params)
|
|
173168
173873
|
});
|
|
@@ -175512,14 +176217,14 @@ var init_types7 = __esm(() => {
|
|
|
175512
176217
|
}
|
|
175513
176218
|
return enumValues;
|
|
175514
176219
|
}
|
|
175515
|
-
extract(
|
|
175516
|
-
return ZodEnum3.create(
|
|
176220
|
+
extract(values3, newDef = this._def) {
|
|
176221
|
+
return ZodEnum3.create(values3, {
|
|
175517
176222
|
...this._def,
|
|
175518
176223
|
...newDef
|
|
175519
176224
|
});
|
|
175520
176225
|
}
|
|
175521
|
-
exclude(
|
|
175522
|
-
return ZodEnum3.create(this.options.filter((opt) => !
|
|
176226
|
+
exclude(values3, newDef = this._def) {
|
|
176227
|
+
return ZodEnum3.create(this.options.filter((opt) => !values3.includes(opt)), {
|
|
175523
176228
|
...this._def,
|
|
175524
176229
|
...newDef
|
|
175525
176230
|
});
|
|
@@ -175557,9 +176262,9 @@ var init_types7 = __esm(() => {
|
|
|
175557
176262
|
return this._def.values;
|
|
175558
176263
|
}
|
|
175559
176264
|
};
|
|
175560
|
-
ZodNativeEnum2.create = (
|
|
176265
|
+
ZodNativeEnum2.create = (values3, params) => {
|
|
175561
176266
|
return new ZodNativeEnum2({
|
|
175562
|
-
values:
|
|
176267
|
+
values: values3,
|
|
175563
176268
|
typeName: ZodFirstPartyTypeKind3.ZodNativeEnum,
|
|
175564
176269
|
...processCreateParams2(params)
|
|
175565
176270
|
});
|
|
@@ -180076,8 +180781,8 @@ var require_universalify = __commonJS((exports) => {
|
|
|
180076
180781
|
if (typeof args[args.length - 1] === "function")
|
|
180077
180782
|
fn.apply(this, args);
|
|
180078
180783
|
else {
|
|
180079
|
-
return new Promise((resolve22,
|
|
180080
|
-
args.push((err2, res) => err2 != null ?
|
|
180784
|
+
return new Promise((resolve22, reject2) => {
|
|
180785
|
+
args.push((err2, res) => err2 != null ? reject2(err2) : resolve22(res));
|
|
180081
180786
|
fn.apply(this, args);
|
|
180082
180787
|
});
|
|
180083
180788
|
}
|
|
@@ -180154,10 +180859,10 @@ var require_fs = __commonJS((exports) => {
|
|
|
180154
180859
|
if (typeof callback === "function") {
|
|
180155
180860
|
return fs10.read(fd2, buffer, offset, length, position, callback);
|
|
180156
180861
|
}
|
|
180157
|
-
return new Promise((resolve22,
|
|
180862
|
+
return new Promise((resolve22, reject2) => {
|
|
180158
180863
|
fs10.read(fd2, buffer, offset, length, position, (err2, bytesRead, buffer2) => {
|
|
180159
180864
|
if (err2)
|
|
180160
|
-
return
|
|
180865
|
+
return reject2(err2);
|
|
180161
180866
|
resolve22({ bytesRead, buffer: buffer2 });
|
|
180162
180867
|
});
|
|
180163
180868
|
});
|
|
@@ -180166,10 +180871,10 @@ var require_fs = __commonJS((exports) => {
|
|
|
180166
180871
|
if (typeof args[args.length - 1] === "function") {
|
|
180167
180872
|
return fs10.write(fd2, buffer, ...args);
|
|
180168
180873
|
}
|
|
180169
|
-
return new Promise((resolve22,
|
|
180874
|
+
return new Promise((resolve22, reject2) => {
|
|
180170
180875
|
fs10.write(fd2, buffer, ...args, (err2, bytesWritten, buffer2) => {
|
|
180171
180876
|
if (err2)
|
|
180172
|
-
return
|
|
180877
|
+
return reject2(err2);
|
|
180173
180878
|
resolve22({ bytesWritten, buffer: buffer2 });
|
|
180174
180879
|
});
|
|
180175
180880
|
});
|
|
@@ -180179,10 +180884,10 @@ var require_fs = __commonJS((exports) => {
|
|
|
180179
180884
|
if (typeof args[args.length - 1] === "function") {
|
|
180180
180885
|
return fs10.writev(fd2, buffers, ...args);
|
|
180181
180886
|
}
|
|
180182
|
-
return new Promise((resolve22,
|
|
180887
|
+
return new Promise((resolve22, reject2) => {
|
|
180183
180888
|
fs10.writev(fd2, buffers, ...args, (err2, bytesWritten, buffers2) => {
|
|
180184
180889
|
if (err2)
|
|
180185
|
-
return
|
|
180890
|
+
return reject2(err2);
|
|
180186
180891
|
resolve22({ bytesWritten, buffers: buffers2 });
|
|
180187
180892
|
});
|
|
180188
180893
|
});
|
|
@@ -181062,7 +181767,7 @@ var require_empty = __commonJS((exports, module) => {
|
|
|
181062
181767
|
var path16 = __require("path");
|
|
181063
181768
|
var mkdir7 = require_mkdirs();
|
|
181064
181769
|
var remove = require_remove();
|
|
181065
|
-
var emptyDir = u2(async function
|
|
181770
|
+
var emptyDir = u2(async function emptyDir(dir) {
|
|
181066
181771
|
let items;
|
|
181067
181772
|
try {
|
|
181068
181773
|
items = await fs10.readdir(dir);
|
|
@@ -181644,9 +182349,9 @@ var require_move = __commonJS((exports, module) => {
|
|
|
181644
182349
|
});
|
|
181645
182350
|
}
|
|
181646
182351
|
function isParentRoot(dest) {
|
|
181647
|
-
const
|
|
181648
|
-
const parsedPath = path16.parse(
|
|
181649
|
-
return parsedPath.root ===
|
|
182352
|
+
const parent2 = path16.dirname(dest);
|
|
182353
|
+
const parsedPath = path16.parse(parent2);
|
|
182354
|
+
return parsedPath.root === parent2;
|
|
181650
182355
|
}
|
|
181651
182356
|
function doRename(src, dest, overwrite, isChangingCase, cb) {
|
|
181652
182357
|
if (isChangingCase)
|
|
@@ -181707,9 +182412,9 @@ var require_move_sync = __commonJS((exports, module) => {
|
|
|
181707
182412
|
return doRename(src, dest, overwrite, isChangingCase);
|
|
181708
182413
|
}
|
|
181709
182414
|
function isParentRoot(dest) {
|
|
181710
|
-
const
|
|
181711
|
-
const parsedPath = path16.parse(
|
|
181712
|
-
return parsedPath.root ===
|
|
182415
|
+
const parent2 = path16.dirname(dest);
|
|
182416
|
+
const parsedPath = path16.parse(parent2);
|
|
182417
|
+
return parsedPath.root === parent2;
|
|
181713
182418
|
}
|
|
181714
182419
|
function doRename(src, dest, overwrite, isChangingCase) {
|
|
181715
182420
|
if (isChangingCase)
|
|
@@ -181990,12 +182695,12 @@ var require_Walker = __commonJS((exports) => {
|
|
|
181990
182695
|
async walkTree() {
|
|
181991
182696
|
d("starting tree walk");
|
|
181992
182697
|
if (!this.cache) {
|
|
181993
|
-
this.cache = new Promise(async (resolve22,
|
|
182698
|
+
this.cache = new Promise(async (resolve22, reject2) => {
|
|
181994
182699
|
this.modules = [];
|
|
181995
182700
|
try {
|
|
181996
182701
|
await this.walkDependenciesForModule(this.rootModule, depTypes_1.DepType.ROOT);
|
|
181997
182702
|
} catch (err2) {
|
|
181998
|
-
|
|
182703
|
+
reject2(err2);
|
|
181999
182704
|
return;
|
|
182000
182705
|
}
|
|
182001
182706
|
resolve22(this.modules);
|
|
@@ -183642,8 +184347,8 @@ var require_util7 = __commonJS((exports, module) => {
|
|
|
183642
184347
|
}.toString(),
|
|
183643
184348
|
")()"
|
|
183644
184349
|
], { type: "application/javascript" }));
|
|
183645
|
-
|
|
183646
|
-
function
|
|
184350
|
+
sample2([], 5, 16);
|
|
184351
|
+
function sample2(max2, samples, numWorkers) {
|
|
183647
184352
|
if (samples === 0) {
|
|
183648
184353
|
var avg = Math.floor(max2.reduce(function(avg2, x3) {
|
|
183649
184354
|
return avg2 + x3;
|
|
@@ -183654,7 +184359,7 @@ var require_util7 = __commonJS((exports, module) => {
|
|
|
183654
184359
|
}
|
|
183655
184360
|
map2(numWorkers, function(err2, results) {
|
|
183656
184361
|
max2.push(reduce(numWorkers, results));
|
|
183657
|
-
|
|
184362
|
+
sample2(max2, samples - 1, numWorkers);
|
|
183658
184363
|
});
|
|
183659
184364
|
}
|
|
183660
184365
|
function map2(numWorkers, callback2) {
|
|
@@ -185198,14 +185903,14 @@ var require_asn1 = __commonJS((exports, module) => {
|
|
|
185198
185903
|
return bytes;
|
|
185199
185904
|
};
|
|
185200
185905
|
asn1.oidToDer = function(oid) {
|
|
185201
|
-
var
|
|
185906
|
+
var values3 = oid.split(".");
|
|
185202
185907
|
var bytes = forge.util.createBuffer();
|
|
185203
|
-
bytes.putByte(40 * parseInt(
|
|
185908
|
+
bytes.putByte(40 * parseInt(values3[0], 10) + parseInt(values3[1], 10));
|
|
185204
185909
|
var last2, valueBytes, value, b;
|
|
185205
|
-
for (var i3 = 2;i3 <
|
|
185910
|
+
for (var i3 = 2;i3 < values3.length; ++i3) {
|
|
185206
185911
|
last2 = true;
|
|
185207
185912
|
valueBytes = [];
|
|
185208
|
-
value = parseInt(
|
|
185913
|
+
value = parseInt(values3[i3], 10);
|
|
185209
185914
|
if (value > 4294967295) {
|
|
185210
185915
|
throw new Error("OID value too large; max is 32-bits.");
|
|
185211
185916
|
}
|
|
@@ -186105,9 +186810,9 @@ var require_pem = __commonJS((exports, module) => {
|
|
|
186105
186810
|
match = line.match(rHeader);
|
|
186106
186811
|
if (match) {
|
|
186107
186812
|
var header = { name: match[1], values: [] };
|
|
186108
|
-
var
|
|
186109
|
-
for (var vi = 0;vi <
|
|
186110
|
-
header.values.push(ltrim(
|
|
186813
|
+
var values3 = match[2].split(",");
|
|
186814
|
+
for (var vi = 0;vi < values3.length; ++vi) {
|
|
186815
|
+
header.values.push(ltrim(values3[vi]));
|
|
186111
186816
|
}
|
|
186112
186817
|
if (!msg.procType) {
|
|
186113
186818
|
if (header.name !== "Proc-Type") {
|
|
@@ -186115,14 +186820,14 @@ var require_pem = __commonJS((exports, module) => {
|
|
|
186115
186820
|
} else if (header.values.length !== 2) {
|
|
186116
186821
|
throw new Error('Invalid PEM formatted message. The "Proc-Type" ' + "header must have two subfields.");
|
|
186117
186822
|
}
|
|
186118
|
-
msg.procType = { version:
|
|
186823
|
+
msg.procType = { version: values3[0], type: values3[1] };
|
|
186119
186824
|
} else if (!msg.contentDomain && header.name === "Content-Domain") {
|
|
186120
|
-
msg.contentDomain =
|
|
186825
|
+
msg.contentDomain = values3[0] || "";
|
|
186121
186826
|
} else if (!msg.dekInfo && header.name === "DEK-Info") {
|
|
186122
186827
|
if (header.values.length === 0) {
|
|
186123
186828
|
throw new Error('Invalid PEM formatted message. The "DEK-Info" ' + "header must have at least one subfield.");
|
|
186124
186829
|
}
|
|
186125
|
-
msg.dekInfo = { algorithm:
|
|
186830
|
+
msg.dekInfo = { algorithm: values3[0], parameters: values3[1] || null };
|
|
186126
186831
|
} else {
|
|
186127
186832
|
msg.headers.push(header);
|
|
186128
186833
|
}
|
|
@@ -186140,14 +186845,14 @@ var require_pem = __commonJS((exports, module) => {
|
|
|
186140
186845
|
};
|
|
186141
186846
|
function foldHeader(header) {
|
|
186142
186847
|
var rval = header.name + ": ";
|
|
186143
|
-
var
|
|
186848
|
+
var values3 = [];
|
|
186144
186849
|
var insertSpace = function(match, $1) {
|
|
186145
186850
|
return " " + $1;
|
|
186146
186851
|
};
|
|
186147
186852
|
for (var i3 = 0;i3 < header.values.length; ++i3) {
|
|
186148
|
-
|
|
186853
|
+
values3.push(header.values[i3].replace(/^(\S+\r\n)/, insertSpace));
|
|
186149
186854
|
}
|
|
186150
|
-
rval +=
|
|
186855
|
+
rval += values3.join(",") + `\r
|
|
186151
186856
|
`;
|
|
186152
186857
|
var length = 0;
|
|
186153
186858
|
var candidate = -1;
|
|
@@ -191887,12 +192592,12 @@ var require_x509 = __commonJS((exports, module) => {
|
|
|
191887
192592
|
for (var si = 0;si < attributes.length; ++si) {
|
|
191888
192593
|
var seq = attributes[si];
|
|
191889
192594
|
var type = asn1.derToOid(seq.value[0].value);
|
|
191890
|
-
var
|
|
191891
|
-
for (var vi = 0;vi <
|
|
192595
|
+
var values3 = seq.value[1].value;
|
|
192596
|
+
for (var vi = 0;vi < values3.length; ++vi) {
|
|
191892
192597
|
var obj = {};
|
|
191893
192598
|
obj.type = type;
|
|
191894
|
-
obj.value =
|
|
191895
|
-
obj.valueTagClass =
|
|
192599
|
+
obj.value = values3[vi].value;
|
|
192600
|
+
obj.valueTagClass = values3[vi].type;
|
|
191896
192601
|
if (obj.type in oids) {
|
|
191897
192602
|
obj.name = oids[obj.type];
|
|
191898
192603
|
if (obj.name in _shortNames) {
|
|
@@ -192241,10 +192946,10 @@ var require_x509 = __commonJS((exports, module) => {
|
|
|
192241
192946
|
}
|
|
192242
192947
|
return rval;
|
|
192243
192948
|
};
|
|
192244
|
-
cert.isIssuer = function(
|
|
192949
|
+
cert.isIssuer = function(parent2) {
|
|
192245
192950
|
var rval = false;
|
|
192246
192951
|
var i3 = cert.issuer;
|
|
192247
|
-
var s =
|
|
192952
|
+
var s = parent2.subject;
|
|
192248
192953
|
if (i3.hash && s.hash) {
|
|
192249
192954
|
rval = i3.hash === s.hash;
|
|
192250
192955
|
} else if (i3.attributes.length === s.attributes.length) {
|
|
@@ -193175,7 +193880,7 @@ var require_x509 = __commonJS((exports, module) => {
|
|
|
193175
193880
|
var depth = 0;
|
|
193176
193881
|
do {
|
|
193177
193882
|
var cert = chain.shift();
|
|
193178
|
-
var
|
|
193883
|
+
var parent2 = null;
|
|
193179
193884
|
var selfSigned = false;
|
|
193180
193885
|
if (validityCheckDate) {
|
|
193181
193886
|
if (validityCheckDate < cert.validity.notBefore || validityCheckDate > cert.validity.notAfter) {
|
|
@@ -193189,23 +193894,23 @@ var require_x509 = __commonJS((exports, module) => {
|
|
|
193189
193894
|
}
|
|
193190
193895
|
}
|
|
193191
193896
|
if (error49 === null) {
|
|
193192
|
-
|
|
193193
|
-
if (
|
|
193897
|
+
parent2 = chain[0] || caStore.getIssuer(cert);
|
|
193898
|
+
if (parent2 === null) {
|
|
193194
193899
|
if (cert.isIssuer(cert)) {
|
|
193195
193900
|
selfSigned = true;
|
|
193196
|
-
|
|
193901
|
+
parent2 = cert;
|
|
193197
193902
|
}
|
|
193198
193903
|
}
|
|
193199
|
-
if (
|
|
193200
|
-
var parents =
|
|
193904
|
+
if (parent2) {
|
|
193905
|
+
var parents = parent2;
|
|
193201
193906
|
if (!forge.util.isArray(parents)) {
|
|
193202
193907
|
parents = [parents];
|
|
193203
193908
|
}
|
|
193204
193909
|
var verified = false;
|
|
193205
193910
|
while (!verified && parents.length > 0) {
|
|
193206
|
-
|
|
193911
|
+
parent2 = parents.shift();
|
|
193207
193912
|
try {
|
|
193208
|
-
verified =
|
|
193913
|
+
verified = parent2.verify(cert);
|
|
193209
193914
|
} catch (ex) {}
|
|
193210
193915
|
}
|
|
193211
193916
|
if (!verified) {
|
|
@@ -193215,14 +193920,14 @@ var require_x509 = __commonJS((exports, module) => {
|
|
|
193215
193920
|
};
|
|
193216
193921
|
}
|
|
193217
193922
|
}
|
|
193218
|
-
if (error49 === null && (!
|
|
193923
|
+
if (error49 === null && (!parent2 || selfSigned) && !caStore.hasCertificate(cert)) {
|
|
193219
193924
|
error49 = {
|
|
193220
193925
|
message: "Certificate is not trusted.",
|
|
193221
193926
|
error: pki.certificateError.unknown_ca
|
|
193222
193927
|
};
|
|
193223
193928
|
}
|
|
193224
193929
|
}
|
|
193225
|
-
if (error49 === null &&
|
|
193930
|
+
if (error49 === null && parent2 && !cert.isIssuer(parent2)) {
|
|
193226
193931
|
error49 = {
|
|
193227
193932
|
message: "Certificate issuer is invalid.",
|
|
193228
193933
|
error: pki.certificateError.bad_certificate
|
|
@@ -193243,7 +193948,7 @@ var require_x509 = __commonJS((exports, module) => {
|
|
|
193243
193948
|
}
|
|
193244
193949
|
}
|
|
193245
193950
|
}
|
|
193246
|
-
if (error49 === null && (!first || chain.length === 0 && (!
|
|
193951
|
+
if (error49 === null && (!first || chain.length === 0 && (!parent2 || selfSigned))) {
|
|
193247
193952
|
var bcExt = cert.getExtension("basicConstraints");
|
|
193248
193953
|
var keyUsageExt = cert.getExtension("keyUsage");
|
|
193249
193954
|
if (keyUsageExt !== null) {
|
|
@@ -199953,10 +200658,10 @@ function saveMcpServerUserConfig(pluginId, serverName, config4, schema) {
|
|
|
199953
200658
|
throw new Error(`Failed to save user configuration for ${pluginId}/${serverName}: ${errorObj.message}`);
|
|
199954
200659
|
}
|
|
199955
200660
|
}
|
|
199956
|
-
function validateUserConfig(
|
|
200661
|
+
function validateUserConfig(values3, schema) {
|
|
199957
200662
|
const errors6 = [];
|
|
199958
200663
|
for (const [key2, fieldSchema] of Object.entries(schema)) {
|
|
199959
|
-
const value =
|
|
200664
|
+
const value = values3[key2];
|
|
199960
200665
|
if (fieldSchema.required && (value === undefined || value === "")) {
|
|
199961
200666
|
errors6.push(`${fieldSchema.title || key2} is required but not provided`);
|
|
199962
200667
|
continue;
|
|
@@ -200335,10 +201040,10 @@ function getPluginStorageId(plugin) {
|
|
|
200335
201040
|
function clearPluginOptionsCache() {
|
|
200336
201041
|
loadPluginOptions.cache?.clear?.();
|
|
200337
201042
|
}
|
|
200338
|
-
function savePluginOptions(pluginId,
|
|
201043
|
+
function savePluginOptions(pluginId, values3, schema) {
|
|
200339
201044
|
const nonSensitive = {};
|
|
200340
201045
|
const sensitive = {};
|
|
200341
|
-
for (const [key2, value] of Object.entries(
|
|
201046
|
+
for (const [key2, value] of Object.entries(values3)) {
|
|
200342
201047
|
if (schema[key2]?.sensitive === true) {
|
|
200343
201048
|
sensitive[key2] = String(value);
|
|
200344
201049
|
} else {
|
|
@@ -202211,13 +202916,13 @@ class Diff {
|
|
|
202211
202916
|
editLength++;
|
|
202212
202917
|
};
|
|
202213
202918
|
if (callback) {
|
|
202214
|
-
(function
|
|
202919
|
+
(function exec() {
|
|
202215
202920
|
setTimeout(function() {
|
|
202216
202921
|
if (editLength > maxEditLength || Date.now() > abortAfterTimestamp) {
|
|
202217
202922
|
return callback(undefined);
|
|
202218
202923
|
}
|
|
202219
202924
|
if (!execEditLength()) {
|
|
202220
|
-
|
|
202925
|
+
exec();
|
|
202221
202926
|
}
|
|
202222
202927
|
}, 0);
|
|
202223
202928
|
})();
|
|
@@ -202330,6 +203035,14 @@ class Diff {
|
|
|
202330
203035
|
}
|
|
202331
203036
|
}
|
|
202332
203037
|
|
|
203038
|
+
// node_modules/diff/libesm/diff/character.js
|
|
203039
|
+
var CharacterDiff, characterDiff;
|
|
203040
|
+
var init_character = __esm(() => {
|
|
203041
|
+
CharacterDiff = class CharacterDiff extends Diff {
|
|
203042
|
+
};
|
|
203043
|
+
characterDiff = new CharacterDiff;
|
|
203044
|
+
});
|
|
203045
|
+
|
|
202333
203046
|
// node_modules/diff/libesm/util/string.js
|
|
202334
203047
|
function longestCommonPrefix(str1, str2) {
|
|
202335
203048
|
let i3;
|
|
@@ -202652,6 +203365,122 @@ var init_line2 = __esm(() => {
|
|
|
202652
203365
|
lineDiff = new LineDiff;
|
|
202653
203366
|
});
|
|
202654
203367
|
|
|
203368
|
+
// node_modules/diff/libesm/diff/sentence.js
|
|
203369
|
+
function isSentenceEndPunct(char) {
|
|
203370
|
+
return char == "." || char == "!" || char == "?";
|
|
203371
|
+
}
|
|
203372
|
+
var SentenceDiff, sentenceDiff;
|
|
203373
|
+
var init_sentence = __esm(() => {
|
|
203374
|
+
SentenceDiff = class SentenceDiff extends Diff {
|
|
203375
|
+
tokenize(value) {
|
|
203376
|
+
var _a4;
|
|
203377
|
+
const result = [];
|
|
203378
|
+
let tokenStartI = 0;
|
|
203379
|
+
for (let i3 = 0;i3 < value.length; i3++) {
|
|
203380
|
+
if (i3 == value.length - 1) {
|
|
203381
|
+
result.push(value.slice(tokenStartI));
|
|
203382
|
+
break;
|
|
203383
|
+
}
|
|
203384
|
+
if (isSentenceEndPunct(value[i3]) && value[i3 + 1].match(/\s/)) {
|
|
203385
|
+
result.push(value.slice(tokenStartI, i3 + 1));
|
|
203386
|
+
i3 = tokenStartI = i3 + 1;
|
|
203387
|
+
while ((_a4 = value[i3 + 1]) === null || _a4 === undefined ? undefined : _a4.match(/\s/)) {
|
|
203388
|
+
i3++;
|
|
203389
|
+
}
|
|
203390
|
+
result.push(value.slice(tokenStartI, i3 + 1));
|
|
203391
|
+
tokenStartI = i3 + 1;
|
|
203392
|
+
}
|
|
203393
|
+
}
|
|
203394
|
+
return result;
|
|
203395
|
+
}
|
|
203396
|
+
};
|
|
203397
|
+
sentenceDiff = new SentenceDiff;
|
|
203398
|
+
});
|
|
203399
|
+
|
|
203400
|
+
// node_modules/diff/libesm/diff/css.js
|
|
203401
|
+
var CssDiff, cssDiff;
|
|
203402
|
+
var init_css = __esm(() => {
|
|
203403
|
+
CssDiff = class CssDiff extends Diff {
|
|
203404
|
+
tokenize(value) {
|
|
203405
|
+
return value.split(/([{}:;,]|\s+)/);
|
|
203406
|
+
}
|
|
203407
|
+
};
|
|
203408
|
+
cssDiff = new CssDiff;
|
|
203409
|
+
});
|
|
203410
|
+
|
|
203411
|
+
// node_modules/diff/libesm/diff/json.js
|
|
203412
|
+
function canonicalize2(obj, stack, replacementStack, replacer, key2) {
|
|
203413
|
+
stack = stack || [];
|
|
203414
|
+
replacementStack = replacementStack || [];
|
|
203415
|
+
if (replacer) {
|
|
203416
|
+
obj = replacer(key2 === undefined ? "" : key2, obj);
|
|
203417
|
+
}
|
|
203418
|
+
let i3;
|
|
203419
|
+
for (i3 = 0;i3 < stack.length; i3 += 1) {
|
|
203420
|
+
if (stack[i3] === obj) {
|
|
203421
|
+
return replacementStack[i3];
|
|
203422
|
+
}
|
|
203423
|
+
}
|
|
203424
|
+
let canonicalizedObj;
|
|
203425
|
+
if (Object.prototype.toString.call(obj) === "[object Array]") {
|
|
203426
|
+
stack.push(obj);
|
|
203427
|
+
canonicalizedObj = new Array(obj.length);
|
|
203428
|
+
replacementStack.push(canonicalizedObj);
|
|
203429
|
+
for (i3 = 0;i3 < obj.length; i3 += 1) {
|
|
203430
|
+
canonicalizedObj[i3] = canonicalize2(obj[i3], stack, replacementStack, replacer, String(i3));
|
|
203431
|
+
}
|
|
203432
|
+
stack.pop();
|
|
203433
|
+
replacementStack.pop();
|
|
203434
|
+
return canonicalizedObj;
|
|
203435
|
+
}
|
|
203436
|
+
if (obj && obj.toJSON) {
|
|
203437
|
+
obj = obj.toJSON();
|
|
203438
|
+
}
|
|
203439
|
+
if (typeof obj === "object" && obj !== null) {
|
|
203440
|
+
stack.push(obj);
|
|
203441
|
+
canonicalizedObj = {};
|
|
203442
|
+
replacementStack.push(canonicalizedObj);
|
|
203443
|
+
const sortedKeys = [];
|
|
203444
|
+
let key3;
|
|
203445
|
+
for (key3 in obj) {
|
|
203446
|
+
if (Object.prototype.hasOwnProperty.call(obj, key3)) {
|
|
203447
|
+
sortedKeys.push(key3);
|
|
203448
|
+
}
|
|
203449
|
+
}
|
|
203450
|
+
sortedKeys.sort();
|
|
203451
|
+
for (i3 = 0;i3 < sortedKeys.length; i3 += 1) {
|
|
203452
|
+
key3 = sortedKeys[i3];
|
|
203453
|
+
canonicalizedObj[key3] = canonicalize2(obj[key3], stack, replacementStack, replacer, key3);
|
|
203454
|
+
}
|
|
203455
|
+
stack.pop();
|
|
203456
|
+
replacementStack.pop();
|
|
203457
|
+
} else {
|
|
203458
|
+
canonicalizedObj = obj;
|
|
203459
|
+
}
|
|
203460
|
+
return canonicalizedObj;
|
|
203461
|
+
}
|
|
203462
|
+
var JsonDiff, jsonDiff;
|
|
203463
|
+
var init_json2 = __esm(() => {
|
|
203464
|
+
init_line2();
|
|
203465
|
+
JsonDiff = class JsonDiff extends Diff {
|
|
203466
|
+
constructor() {
|
|
203467
|
+
super(...arguments);
|
|
203468
|
+
this.tokenize = tokenize5;
|
|
203469
|
+
}
|
|
203470
|
+
get useLongestToken() {
|
|
203471
|
+
return true;
|
|
203472
|
+
}
|
|
203473
|
+
castInput(value, options) {
|
|
203474
|
+
const { undefinedReplacement, stringifyReplacer = (k, v) => typeof v === "undefined" ? undefinedReplacement : v } = options;
|
|
203475
|
+
return typeof value === "string" ? value : JSON.stringify(canonicalize2(value, null, null, stringifyReplacer), null, " ");
|
|
203476
|
+
}
|
|
203477
|
+
equals(left, right, options) {
|
|
203478
|
+
return super.equals(left.replace(/,([\r\n])/g, "$1"), right.replace(/,([\r\n])/g, "$1"), options);
|
|
203479
|
+
}
|
|
203480
|
+
};
|
|
203481
|
+
jsonDiff = new JsonDiff;
|
|
203482
|
+
});
|
|
203483
|
+
|
|
202655
203484
|
// node_modules/diff/libesm/diff/array.js
|
|
202656
203485
|
function diffArrays(oldArr, newArr, options) {
|
|
202657
203486
|
return arrayDiff.diff(oldArr, newArr, options);
|
|
@@ -202671,7 +203500,8 @@ var init_array2 = __esm(() => {
|
|
|
202671
203500
|
};
|
|
202672
203501
|
arrayDiff = new ArrayDiff;
|
|
202673
203502
|
});
|
|
202674
|
-
|
|
203503
|
+
// node_modules/diff/libesm/patch/apply.js
|
|
203504
|
+
var init_apply = () => {};
|
|
202675
203505
|
// node_modules/diff/libesm/patch/create.js
|
|
202676
203506
|
function structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options) {
|
|
202677
203507
|
let optionsObj;
|
|
@@ -202796,12 +203626,16 @@ function splitLines(text2) {
|
|
|
202796
203626
|
var init_create2 = __esm(() => {
|
|
202797
203627
|
init_line2();
|
|
202798
203628
|
});
|
|
202799
|
-
|
|
202800
203629
|
// node_modules/diff/libesm/index.js
|
|
202801
203630
|
var init_libesm = __esm(() => {
|
|
203631
|
+
init_character();
|
|
202802
203632
|
init_word();
|
|
202803
203633
|
init_line2();
|
|
203634
|
+
init_sentence();
|
|
203635
|
+
init_css();
|
|
203636
|
+
init_json2();
|
|
202804
203637
|
init_array2();
|
|
203638
|
+
init_apply();
|
|
202805
203639
|
init_create2();
|
|
202806
203640
|
});
|
|
202807
203641
|
|
|
@@ -204953,11 +205787,11 @@ var require_parse5 = __commonJS((exports, module) => {
|
|
|
204953
205787
|
return value.replace(/\\(.)/g, "$1");
|
|
204954
205788
|
};
|
|
204955
205789
|
var hasRepeatedCharPrefixOverlap = (branches) => {
|
|
204956
|
-
const
|
|
204957
|
-
for (let i3 = 0;i3 <
|
|
204958
|
-
for (let j2 = i3 + 1;j2 <
|
|
204959
|
-
const a2 =
|
|
204960
|
-
const b3 =
|
|
205790
|
+
const values3 = branches.map(normalizeSimpleBranch).filter(Boolean);
|
|
205791
|
+
for (let i3 = 0;i3 < values3.length; i3++) {
|
|
205792
|
+
for (let j2 = i3 + 1;j2 < values3.length; j2++) {
|
|
205793
|
+
const a2 = values3[i3];
|
|
205794
|
+
const b3 = values3[j2];
|
|
204961
205795
|
const char = a2[0];
|
|
204962
205796
|
if (!char || a2 !== char.repeat(a2.length) || b3 !== char.repeat(b3.length)) {
|
|
204963
205797
|
continue;
|
|
@@ -205160,7 +205994,7 @@ var require_parse5 = __commonJS((exports, module) => {
|
|
|
205160
205994
|
state.output += token.output != null ? token.output : token.value;
|
|
205161
205995
|
consume(token.value);
|
|
205162
205996
|
};
|
|
205163
|
-
const
|
|
205997
|
+
const negate2 = () => {
|
|
205164
205998
|
let count3 = 1;
|
|
205165
205999
|
while (peek() === "!" && (peek(2) !== "(" || peek(3) === "?")) {
|
|
205166
206000
|
advance();
|
|
@@ -205581,7 +206415,7 @@ var require_parse5 = __commonJS((exports, module) => {
|
|
|
205581
206415
|
}
|
|
205582
206416
|
}
|
|
205583
206417
|
if (opts.nonegate !== true && state.index === 0) {
|
|
205584
|
-
|
|
206418
|
+
negate2();
|
|
205585
206419
|
continue;
|
|
205586
206420
|
}
|
|
205587
206421
|
}
|
|
@@ -206276,7 +207110,7 @@ function resolveExcludePatterns(patterns) {
|
|
|
206276
207110
|
}
|
|
206277
207111
|
return expanded;
|
|
206278
207112
|
}
|
|
206279
|
-
async function processMemoryFile(filePath, type, processedPaths, includeExternal, depth = 0,
|
|
207113
|
+
async function processMemoryFile(filePath, type, processedPaths, includeExternal, depth = 0, parent2) {
|
|
206280
207114
|
const normalizedPath = normalizePathForComparison(filePath);
|
|
206281
207115
|
if (processedPaths.has(normalizedPath) || depth >= MAX_INCLUDE_DEPTH) {
|
|
206282
207116
|
return [];
|
|
@@ -206293,8 +207127,8 @@ async function processMemoryFile(filePath, type, processedPaths, includeExternal
|
|
|
206293
207127
|
if (!memoryFile || !memoryFile.content.trim()) {
|
|
206294
207128
|
return [];
|
|
206295
207129
|
}
|
|
206296
|
-
if (
|
|
206297
|
-
memoryFile.parent =
|
|
207130
|
+
if (parent2) {
|
|
207131
|
+
memoryFile.parent = parent2;
|
|
206298
207132
|
}
|
|
206299
207133
|
const result = [];
|
|
206300
207134
|
result.push(memoryFile);
|
|
@@ -207093,159 +207927,6 @@ var init_sessionMemoryUtils = __esm(() => {
|
|
|
207093
207927
|
};
|
|
207094
207928
|
});
|
|
207095
207929
|
|
|
207096
|
-
// node_modules/lodash-es/_baseFindIndex.js
|
|
207097
|
-
function baseFindIndex(array2, predicate, fromIndex, fromRight) {
|
|
207098
|
-
var length = array2.length, index = fromIndex + (fromRight ? 1 : -1);
|
|
207099
|
-
while (fromRight ? index-- : ++index < length) {
|
|
207100
|
-
if (predicate(array2[index], index, array2)) {
|
|
207101
|
-
return index;
|
|
207102
|
-
}
|
|
207103
|
-
}
|
|
207104
|
-
return -1;
|
|
207105
|
-
}
|
|
207106
|
-
var _baseFindIndex_default;
|
|
207107
|
-
var init__baseFindIndex = __esm(() => {
|
|
207108
|
-
_baseFindIndex_default = baseFindIndex;
|
|
207109
|
-
});
|
|
207110
|
-
|
|
207111
|
-
// node_modules/lodash-es/_baseIsNaN.js
|
|
207112
|
-
function baseIsNaN(value) {
|
|
207113
|
-
return value !== value;
|
|
207114
|
-
}
|
|
207115
|
-
var _baseIsNaN_default;
|
|
207116
|
-
var init__baseIsNaN = __esm(() => {
|
|
207117
|
-
_baseIsNaN_default = baseIsNaN;
|
|
207118
|
-
});
|
|
207119
|
-
|
|
207120
|
-
// node_modules/lodash-es/_strictIndexOf.js
|
|
207121
|
-
function strictIndexOf(array2, value, fromIndex) {
|
|
207122
|
-
var index = fromIndex - 1, length = array2.length;
|
|
207123
|
-
while (++index < length) {
|
|
207124
|
-
if (array2[index] === value) {
|
|
207125
|
-
return index;
|
|
207126
|
-
}
|
|
207127
|
-
}
|
|
207128
|
-
return -1;
|
|
207129
|
-
}
|
|
207130
|
-
var _strictIndexOf_default;
|
|
207131
|
-
var init__strictIndexOf = __esm(() => {
|
|
207132
|
-
_strictIndexOf_default = strictIndexOf;
|
|
207133
|
-
});
|
|
207134
|
-
|
|
207135
|
-
// node_modules/lodash-es/_baseIndexOf.js
|
|
207136
|
-
function baseIndexOf(array2, value, fromIndex) {
|
|
207137
|
-
return value === value ? _strictIndexOf_default(array2, value, fromIndex) : _baseFindIndex_default(array2, _baseIsNaN_default, fromIndex);
|
|
207138
|
-
}
|
|
207139
|
-
var _baseIndexOf_default;
|
|
207140
|
-
var init__baseIndexOf = __esm(() => {
|
|
207141
|
-
init__baseFindIndex();
|
|
207142
|
-
init__baseIsNaN();
|
|
207143
|
-
init__strictIndexOf();
|
|
207144
|
-
_baseIndexOf_default = baseIndexOf;
|
|
207145
|
-
});
|
|
207146
|
-
|
|
207147
|
-
// node_modules/lodash-es/_arrayIncludes.js
|
|
207148
|
-
function arrayIncludes(array2, value) {
|
|
207149
|
-
var length = array2 == null ? 0 : array2.length;
|
|
207150
|
-
return !!length && _baseIndexOf_default(array2, value, 0) > -1;
|
|
207151
|
-
}
|
|
207152
|
-
var _arrayIncludes_default;
|
|
207153
|
-
var init__arrayIncludes = __esm(() => {
|
|
207154
|
-
init__baseIndexOf();
|
|
207155
|
-
_arrayIncludes_default = arrayIncludes;
|
|
207156
|
-
});
|
|
207157
|
-
|
|
207158
|
-
// node_modules/lodash-es/_arrayIncludesWith.js
|
|
207159
|
-
function arrayIncludesWith(array2, value, comparator) {
|
|
207160
|
-
var index = -1, length = array2 == null ? 0 : array2.length;
|
|
207161
|
-
while (++index < length) {
|
|
207162
|
-
if (comparator(value, array2[index])) {
|
|
207163
|
-
return true;
|
|
207164
|
-
}
|
|
207165
|
-
}
|
|
207166
|
-
return false;
|
|
207167
|
-
}
|
|
207168
|
-
var _arrayIncludesWith_default;
|
|
207169
|
-
var init__arrayIncludesWith = __esm(() => {
|
|
207170
|
-
_arrayIncludesWith_default = arrayIncludesWith;
|
|
207171
|
-
});
|
|
207172
|
-
|
|
207173
|
-
// node_modules/lodash-es/_createSet.js
|
|
207174
|
-
var INFINITY3, createSet, _createSet_default;
|
|
207175
|
-
var init__createSet = __esm(() => {
|
|
207176
|
-
init__Set();
|
|
207177
|
-
init_noop();
|
|
207178
|
-
init__setToArray();
|
|
207179
|
-
INFINITY3 = 1 / 0;
|
|
207180
|
-
createSet = !(_Set_default && 1 / _setToArray_default(new _Set_default([, -0]))[1] == INFINITY3) ? noop_default : function(values2) {
|
|
207181
|
-
return new _Set_default(values2);
|
|
207182
|
-
};
|
|
207183
|
-
_createSet_default = createSet;
|
|
207184
|
-
});
|
|
207185
|
-
|
|
207186
|
-
// node_modules/lodash-es/_baseUniq.js
|
|
207187
|
-
function baseUniq(array2, iteratee, comparator) {
|
|
207188
|
-
var index = -1, includes = _arrayIncludes_default, length = array2.length, isCommon = true, result = [], seen = result;
|
|
207189
|
-
if (comparator) {
|
|
207190
|
-
isCommon = false;
|
|
207191
|
-
includes = _arrayIncludesWith_default;
|
|
207192
|
-
} else if (length >= LARGE_ARRAY_SIZE2) {
|
|
207193
|
-
var set2 = iteratee ? null : _createSet_default(array2);
|
|
207194
|
-
if (set2) {
|
|
207195
|
-
return _setToArray_default(set2);
|
|
207196
|
-
}
|
|
207197
|
-
isCommon = false;
|
|
207198
|
-
includes = _cacheHas_default;
|
|
207199
|
-
seen = new _SetCache_default;
|
|
207200
|
-
} else {
|
|
207201
|
-
seen = iteratee ? [] : result;
|
|
207202
|
-
}
|
|
207203
|
-
outer:
|
|
207204
|
-
while (++index < length) {
|
|
207205
|
-
var value = array2[index], computed = iteratee ? iteratee(value) : value;
|
|
207206
|
-
value = comparator || value !== 0 ? value : 0;
|
|
207207
|
-
if (isCommon && computed === computed) {
|
|
207208
|
-
var seenIndex = seen.length;
|
|
207209
|
-
while (seenIndex--) {
|
|
207210
|
-
if (seen[seenIndex] === computed) {
|
|
207211
|
-
continue outer;
|
|
207212
|
-
}
|
|
207213
|
-
}
|
|
207214
|
-
if (iteratee) {
|
|
207215
|
-
seen.push(computed);
|
|
207216
|
-
}
|
|
207217
|
-
result.push(value);
|
|
207218
|
-
} else if (!includes(seen, computed, comparator)) {
|
|
207219
|
-
if (seen !== result) {
|
|
207220
|
-
seen.push(computed);
|
|
207221
|
-
}
|
|
207222
|
-
result.push(value);
|
|
207223
|
-
}
|
|
207224
|
-
}
|
|
207225
|
-
return result;
|
|
207226
|
-
}
|
|
207227
|
-
var LARGE_ARRAY_SIZE2 = 200, _baseUniq_default;
|
|
207228
|
-
var init__baseUniq = __esm(() => {
|
|
207229
|
-
init__SetCache();
|
|
207230
|
-
init__arrayIncludes();
|
|
207231
|
-
init__arrayIncludesWith();
|
|
207232
|
-
init__cacheHas();
|
|
207233
|
-
init__createSet();
|
|
207234
|
-
init__setToArray();
|
|
207235
|
-
_baseUniq_default = baseUniq;
|
|
207236
|
-
});
|
|
207237
|
-
|
|
207238
|
-
// node_modules/lodash-es/uniqBy.js
|
|
207239
|
-
function uniqBy(array2, iteratee) {
|
|
207240
|
-
return array2 && array2.length ? _baseUniq_default(array2, _baseIteratee_default(iteratee, 2)) : [];
|
|
207241
|
-
}
|
|
207242
|
-
var uniqBy_default;
|
|
207243
|
-
var init_uniqBy = __esm(() => {
|
|
207244
|
-
init__baseIteratee();
|
|
207245
|
-
init__baseUniq();
|
|
207246
|
-
uniqBy_default = uniqBy;
|
|
207247
|
-
});
|
|
207248
|
-
|
|
207249
207930
|
// src/tools/ToolSearchTool/ToolSearchTool.ts
|
|
207250
207931
|
var exports_ToolSearchTool = {};
|
|
207251
207932
|
__export(exports_ToolSearchTool, {
|
|
@@ -209470,26 +210151,26 @@ function createAbortController(maxListeners = DEFAULT_MAX_LISTENERS) {
|
|
|
209470
210151
|
return controller;
|
|
209471
210152
|
}
|
|
209472
210153
|
function propagateAbort(weakChild) {
|
|
209473
|
-
const
|
|
209474
|
-
weakChild.deref()?.abort(
|
|
210154
|
+
const parent2 = this.deref();
|
|
210155
|
+
weakChild.deref()?.abort(parent2?.signal.reason);
|
|
209475
210156
|
}
|
|
209476
210157
|
function removeAbortHandler(weakHandler) {
|
|
209477
|
-
const
|
|
210158
|
+
const parent2 = this.deref();
|
|
209478
210159
|
const handler = weakHandler.deref();
|
|
209479
|
-
if (
|
|
209480
|
-
|
|
210160
|
+
if (parent2 && handler) {
|
|
210161
|
+
parent2.signal.removeEventListener("abort", handler);
|
|
209481
210162
|
}
|
|
209482
210163
|
}
|
|
209483
|
-
function createChildAbortController(
|
|
210164
|
+
function createChildAbortController(parent2, maxListeners) {
|
|
209484
210165
|
const child = createAbortController(maxListeners);
|
|
209485
|
-
if (
|
|
209486
|
-
child.abort(
|
|
210166
|
+
if (parent2.signal.aborted) {
|
|
210167
|
+
child.abort(parent2.signal.reason);
|
|
209487
210168
|
return child;
|
|
209488
210169
|
}
|
|
209489
210170
|
const weakChild = new WeakRef(child);
|
|
209490
|
-
const weakParent = new WeakRef(
|
|
210171
|
+
const weakParent = new WeakRef(parent2);
|
|
209491
210172
|
const handler = propagateAbort.bind(weakParent, weakChild);
|
|
209492
|
-
|
|
210173
|
+
parent2.signal.addEventListener("abort", handler, { once: true });
|
|
209493
210174
|
child.signal.addEventListener("abort", removeAbortHandler.bind(weakParent, new WeakRef(handler)), { once: true });
|
|
209494
210175
|
return child;
|
|
209495
210176
|
}
|
|
@@ -209917,8 +210598,8 @@ var require_core = __commonJS((exports, module) => {
|
|
|
209917
210598
|
delete mode.className;
|
|
209918
210599
|
}
|
|
209919
210600
|
}
|
|
209920
|
-
function beginKeywords(mode,
|
|
209921
|
-
if (!
|
|
210601
|
+
function beginKeywords(mode, parent2) {
|
|
210602
|
+
if (!parent2)
|
|
209922
210603
|
return;
|
|
209923
210604
|
if (!mode.beginKeywords)
|
|
209924
210605
|
return;
|
|
@@ -209946,7 +210627,7 @@ var require_core = __commonJS((exports, module) => {
|
|
|
209946
210627
|
if (mode.relevance === undefined)
|
|
209947
210628
|
mode.relevance = 1;
|
|
209948
210629
|
}
|
|
209949
|
-
var beforeMatchExt = (mode,
|
|
210630
|
+
var beforeMatchExt = (mode, parent2) => {
|
|
209950
210631
|
if (!mode.beforeMatch)
|
|
209951
210632
|
return;
|
|
209952
210633
|
if (mode.starts)
|
|
@@ -210184,7 +210865,7 @@ var require_core = __commonJS((exports, module) => {
|
|
|
210184
210865
|
}
|
|
210185
210866
|
return mm;
|
|
210186
210867
|
}
|
|
210187
|
-
function compileMode(mode,
|
|
210868
|
+
function compileMode(mode, parent2) {
|
|
210188
210869
|
const cmode = mode;
|
|
210189
210870
|
if (mode.isCompiled)
|
|
210190
210871
|
return cmode;
|
|
@@ -210193,14 +210874,14 @@ var require_core = __commonJS((exports, module) => {
|
|
|
210193
210874
|
compileMatch,
|
|
210194
210875
|
MultiClass,
|
|
210195
210876
|
beforeMatchExt
|
|
210196
|
-
].forEach((ext) => ext(mode,
|
|
210197
|
-
language.compilerExtensions.forEach((ext) => ext(mode,
|
|
210877
|
+
].forEach((ext) => ext(mode, parent2));
|
|
210878
|
+
language.compilerExtensions.forEach((ext) => ext(mode, parent2));
|
|
210198
210879
|
mode.__beforeBegin = null;
|
|
210199
210880
|
[
|
|
210200
210881
|
beginKeywords,
|
|
210201
210882
|
compileIllegal,
|
|
210202
210883
|
compileRelevance
|
|
210203
|
-
].forEach((ext) => ext(mode,
|
|
210884
|
+
].forEach((ext) => ext(mode, parent2));
|
|
210204
210885
|
mode.isCompiled = true;
|
|
210205
210886
|
let keywordPattern = null;
|
|
210206
210887
|
if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
|
|
@@ -210213,7 +210894,7 @@ var require_core = __commonJS((exports, module) => {
|
|
|
210213
210894
|
mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
|
|
210214
210895
|
}
|
|
210215
210896
|
cmode.keywordPatternRe = langRe(keywordPattern, true);
|
|
210216
|
-
if (
|
|
210897
|
+
if (parent2) {
|
|
210217
210898
|
if (!mode.begin)
|
|
210218
210899
|
mode.begin = /\B|\b/;
|
|
210219
210900
|
cmode.beginRe = langRe(cmode.begin);
|
|
@@ -210222,8 +210903,8 @@ var require_core = __commonJS((exports, module) => {
|
|
|
210222
210903
|
if (mode.end)
|
|
210223
210904
|
cmode.endRe = langRe(cmode.end);
|
|
210224
210905
|
cmode.terminatorEnd = source(cmode.end) || "";
|
|
210225
|
-
if (mode.endsWithParent &&
|
|
210226
|
-
cmode.terminatorEnd += (mode.end ? "|" : "") +
|
|
210906
|
+
if (mode.endsWithParent && parent2.terminatorEnd) {
|
|
210907
|
+
cmode.terminatorEnd += (mode.end ? "|" : "") + parent2.terminatorEnd;
|
|
210227
210908
|
}
|
|
210228
210909
|
}
|
|
210229
210910
|
if (mode.illegal)
|
|
@@ -210237,7 +210918,7 @@ var require_core = __commonJS((exports, module) => {
|
|
|
210237
210918
|
compileMode(c6, cmode);
|
|
210238
210919
|
});
|
|
210239
210920
|
if (mode.starts) {
|
|
210240
|
-
compileMode(mode.starts,
|
|
210921
|
+
compileMode(mode.starts, parent2);
|
|
210241
210922
|
}
|
|
210242
210923
|
cmode.matcher = buildModeRegex(cmode);
|
|
210243
210924
|
return cmode;
|
|
@@ -267446,8 +268127,8 @@ async function toArray2(generator) {
|
|
|
267446
268127
|
}
|
|
267447
268128
|
return result;
|
|
267448
268129
|
}
|
|
267449
|
-
async function* fromArray(
|
|
267450
|
-
for (const value of
|
|
268130
|
+
async function* fromArray(values3) {
|
|
268131
|
+
for (const value of values3) {
|
|
267451
268132
|
yield value;
|
|
267452
268133
|
}
|
|
267453
268134
|
}
|
|
@@ -268808,10 +269489,10 @@ var require_scope = __commonJS((exports) => {
|
|
|
268808
269489
|
};
|
|
268809
269490
|
|
|
268810
269491
|
class Scope {
|
|
268811
|
-
constructor({ prefixes, parent } = {}) {
|
|
269492
|
+
constructor({ prefixes, parent: parent2 } = {}) {
|
|
268812
269493
|
this._names = {};
|
|
268813
269494
|
this._prefixes = prefixes;
|
|
268814
|
-
this._parent =
|
|
269495
|
+
this._parent = parent2;
|
|
268815
269496
|
}
|
|
268816
269497
|
toName(nameOrPrefix) {
|
|
268817
269498
|
return nameOrPrefix instanceof code_1.Name ? nameOrPrefix : this.name(nameOrPrefix);
|
|
@@ -268887,24 +269568,24 @@ var require_scope = __commonJS((exports) => {
|
|
|
268887
269568
|
return;
|
|
268888
269569
|
return vs.get(keyOrRef);
|
|
268889
269570
|
}
|
|
268890
|
-
scopeRefs(scopeName,
|
|
268891
|
-
return this._reduceValues(
|
|
269571
|
+
scopeRefs(scopeName, values3 = this._values) {
|
|
269572
|
+
return this._reduceValues(values3, (name) => {
|
|
268892
269573
|
if (name.scopePath === undefined)
|
|
268893
269574
|
throw new Error(`CodeGen: name "${name}" has no value`);
|
|
268894
269575
|
return (0, code_1._)`${scopeName}${name.scopePath}`;
|
|
268895
269576
|
});
|
|
268896
269577
|
}
|
|
268897
|
-
scopeCode(
|
|
268898
|
-
return this._reduceValues(
|
|
269578
|
+
scopeCode(values3 = this._values, usedValues, getCode) {
|
|
269579
|
+
return this._reduceValues(values3, (name) => {
|
|
268899
269580
|
if (name.value === undefined)
|
|
268900
269581
|
throw new Error(`CodeGen: name "${name}" has no value`);
|
|
268901
269582
|
return name.value.code;
|
|
268902
269583
|
}, usedValues, getCode);
|
|
268903
269584
|
}
|
|
268904
|
-
_reduceValues(
|
|
269585
|
+
_reduceValues(values3, valueCode, usedValues = {}, getCode) {
|
|
268905
269586
|
let code = code_1.nil;
|
|
268906
|
-
for (const prefix in
|
|
268907
|
-
const vs =
|
|
269587
|
+
for (const prefix in values3) {
|
|
269588
|
+
const vs = values3[prefix];
|
|
268908
269589
|
if (!vs)
|
|
268909
269590
|
continue;
|
|
268910
269591
|
const nameSet = usedValues[prefix] = usedValues[prefix] || new Map;
|
|
@@ -275113,7 +275794,7 @@ var init_tools = __esm(() => {
|
|
|
275113
275794
|
TASK_OUTPUT_TOOL_NAME,
|
|
275114
275795
|
EXIT_PLAN_MODE_V2_TOOL_NAME,
|
|
275115
275796
|
ENTER_PLAN_MODE_TOOL_NAME,
|
|
275116
|
-
|
|
275797
|
+
AGENT_TOOL_NAME,
|
|
275117
275798
|
ASK_USER_QUESTION_TOOL_NAME,
|
|
275118
275799
|
TASK_STOP_TOOL_NAME,
|
|
275119
275800
|
...getFeatureValue_CACHED_MAY_BE_STALE("WORKFLOW_SCRIPTS", false) ? [WORKFLOW_TOOL_NAME] : []
|
|
@@ -275996,9 +276677,9 @@ class Protocol {
|
|
|
275996
276677
|
}
|
|
275997
276678
|
request(request, resultSchema, options) {
|
|
275998
276679
|
const { relatedRequestId, resumptionToken, onresumptiontoken, task, relatedTask } = options ?? {};
|
|
275999
|
-
return new Promise((resolve26,
|
|
276680
|
+
return new Promise((resolve26, reject2) => {
|
|
276000
276681
|
const earlyReject = (error49) => {
|
|
276001
|
-
|
|
276682
|
+
reject2(error49);
|
|
276002
276683
|
};
|
|
276003
276684
|
if (!this._transport) {
|
|
276004
276685
|
earlyReject(new Error("Not connected"));
|
|
@@ -276060,24 +276741,24 @@ class Protocol {
|
|
|
276060
276741
|
}
|
|
276061
276742
|
}, { relatedRequestId, resumptionToken, onresumptiontoken }).catch((error50) => this._onerror(new Error(`Failed to send cancellation: ${error50}`)));
|
|
276062
276743
|
const error49 = reason instanceof McpError ? reason : new McpError(ErrorCode.RequestTimeout, String(reason));
|
|
276063
|
-
|
|
276744
|
+
reject2(error49);
|
|
276064
276745
|
};
|
|
276065
276746
|
this._responseHandlers.set(messageId, (response) => {
|
|
276066
276747
|
if (options?.signal?.aborted) {
|
|
276067
276748
|
return;
|
|
276068
276749
|
}
|
|
276069
276750
|
if (response instanceof Error) {
|
|
276070
|
-
return
|
|
276751
|
+
return reject2(response);
|
|
276071
276752
|
}
|
|
276072
276753
|
try {
|
|
276073
276754
|
const parseResult = safeParse3(resultSchema, response.result);
|
|
276074
276755
|
if (!parseResult.success) {
|
|
276075
|
-
|
|
276756
|
+
reject2(parseResult.error);
|
|
276076
276757
|
} else {
|
|
276077
276758
|
resolve26(parseResult.data);
|
|
276078
276759
|
}
|
|
276079
276760
|
} catch (error49) {
|
|
276080
|
-
|
|
276761
|
+
reject2(error49);
|
|
276081
276762
|
}
|
|
276082
276763
|
});
|
|
276083
276764
|
options?.signal?.addEventListener("abort", () => {
|
|
@@ -276103,12 +276784,12 @@ class Protocol {
|
|
|
276103
276784
|
timestamp: Date.now()
|
|
276104
276785
|
}).catch((error49) => {
|
|
276105
276786
|
this._cleanupTimeout(messageId);
|
|
276106
|
-
|
|
276787
|
+
reject2(error49);
|
|
276107
276788
|
});
|
|
276108
276789
|
} else {
|
|
276109
276790
|
this._transport.send(jsonrpcRequest, { relatedRequestId, resumptionToken, onresumptiontoken }).catch((error49) => {
|
|
276110
276791
|
this._cleanupTimeout(messageId);
|
|
276111
|
-
|
|
276792
|
+
reject2(error49);
|
|
276112
276793
|
});
|
|
276113
276794
|
}
|
|
276114
276795
|
});
|
|
@@ -276265,15 +276946,15 @@ class Protocol {
|
|
|
276265
276946
|
interval = task.pollInterval;
|
|
276266
276947
|
}
|
|
276267
276948
|
} catch {}
|
|
276268
|
-
return new Promise((resolve26,
|
|
276949
|
+
return new Promise((resolve26, reject2) => {
|
|
276269
276950
|
if (signal.aborted) {
|
|
276270
|
-
|
|
276951
|
+
reject2(new McpError(ErrorCode.InvalidRequest, "Request cancelled"));
|
|
276271
276952
|
return;
|
|
276272
276953
|
}
|
|
276273
276954
|
const timeoutId = setTimeout(resolve26, interval);
|
|
276274
276955
|
signal.addEventListener("abort", () => {
|
|
276275
276956
|
clearTimeout(timeoutId);
|
|
276276
|
-
|
|
276957
|
+
reject2(new McpError(ErrorCode.InvalidRequest, "Request cancelled"));
|
|
276277
276958
|
}, { once: true });
|
|
276278
276959
|
});
|
|
276279
276960
|
}
|
|
@@ -276441,7 +277122,7 @@ var require_formats = __commonJS((exports) => {
|
|
|
276441
277122
|
}
|
|
276442
277123
|
var TIME = /^(\d\d):(\d\d):(\d\d(?:\.\d+)?)(z|([+-])(\d\d)(?::?(\d\d))?)?$/i;
|
|
276443
277124
|
function getTime(strictTimeZone) {
|
|
276444
|
-
return function
|
|
277125
|
+
return function time(str) {
|
|
276445
277126
|
const matches = TIME.exec(str);
|
|
276446
277127
|
if (!matches)
|
|
276447
277128
|
return false;
|
|
@@ -278476,7 +279157,7 @@ class SSEClientTransport {
|
|
|
278476
279157
|
}
|
|
278477
279158
|
_startOrAuth() {
|
|
278478
279159
|
const fetchImpl = this?._eventSourceInit?.fetch ?? this._fetch ?? fetch;
|
|
278479
|
-
return new Promise((resolve26,
|
|
279160
|
+
return new Promise((resolve26, reject2) => {
|
|
278480
279161
|
this._eventSource = new EventSource(this._url.href, {
|
|
278481
279162
|
...this._eventSourceInit,
|
|
278482
279163
|
fetch: async (url3, init2) => {
|
|
@@ -278497,11 +279178,11 @@ class SSEClientTransport {
|
|
|
278497
279178
|
this._abortController = new AbortController;
|
|
278498
279179
|
this._eventSource.onerror = (event) => {
|
|
278499
279180
|
if (event.code === 401 && this._authProvider) {
|
|
278500
|
-
this._authThenStart().then(resolve26,
|
|
279181
|
+
this._authThenStart().then(resolve26, reject2);
|
|
278501
279182
|
return;
|
|
278502
279183
|
}
|
|
278503
279184
|
const error49 = new SseError(event.code, event.message, event);
|
|
278504
|
-
|
|
279185
|
+
reject2(error49);
|
|
278505
279186
|
this.onerror?.(error49);
|
|
278506
279187
|
};
|
|
278507
279188
|
this._eventSource.onopen = () => {};
|
|
@@ -278513,7 +279194,7 @@ class SSEClientTransport {
|
|
|
278513
279194
|
throw new Error(`Endpoint origin does not match connection origin: ${this._endpoint.origin}`);
|
|
278514
279195
|
}
|
|
278515
279196
|
} catch (error49) {
|
|
278516
|
-
|
|
279197
|
+
reject2(error49);
|
|
278517
279198
|
this.onerror?.(error49);
|
|
278518
279199
|
this.close();
|
|
278519
279200
|
return;
|
|
@@ -278648,7 +279329,7 @@ class StdioClientTransport {
|
|
|
278648
279329
|
if (this._process) {
|
|
278649
279330
|
throw new Error("StdioClientTransport already started! If using Client class, note that connect() calls start() automatically.");
|
|
278650
279331
|
}
|
|
278651
|
-
return new Promise((resolve26,
|
|
279332
|
+
return new Promise((resolve26, reject2) => {
|
|
278652
279333
|
this._process = import_cross_spawn2.default(this._serverParams.command, this._serverParams.args ?? [], {
|
|
278653
279334
|
env: {
|
|
278654
279335
|
...getDefaultEnvironment(),
|
|
@@ -278660,7 +279341,7 @@ class StdioClientTransport {
|
|
|
278660
279341
|
cwd: this._serverParams.cwd
|
|
278661
279342
|
});
|
|
278662
279343
|
this._process.on("error", (error49) => {
|
|
278663
|
-
|
|
279344
|
+
reject2(error49);
|
|
278664
279345
|
this.onerror?.(error49);
|
|
278665
279346
|
});
|
|
278666
279347
|
this._process.on("spawn", () => {
|
|
@@ -279165,59 +279846,6 @@ var init_streamableHttp = __esm(() => {
|
|
|
279165
279846
|
};
|
|
279166
279847
|
});
|
|
279167
279848
|
|
|
279168
|
-
// node_modules/lodash-es/_baseForOwn.js
|
|
279169
|
-
function baseForOwn(object4, iteratee) {
|
|
279170
|
-
return object4 && _baseFor_default(object4, iteratee, keys_default);
|
|
279171
|
-
}
|
|
279172
|
-
var _baseForOwn_default;
|
|
279173
|
-
var init__baseForOwn = __esm(() => {
|
|
279174
|
-
init__baseFor();
|
|
279175
|
-
init_keys();
|
|
279176
|
-
_baseForOwn_default = baseForOwn;
|
|
279177
|
-
});
|
|
279178
|
-
|
|
279179
|
-
// node_modules/lodash-es/mapValues.js
|
|
279180
|
-
function mapValues(object4, iteratee) {
|
|
279181
|
-
var result = {};
|
|
279182
|
-
iteratee = _baseIteratee_default(iteratee, 3);
|
|
279183
|
-
_baseForOwn_default(object4, function(value, key2, object5) {
|
|
279184
|
-
_baseAssignValue_default(result, key2, iteratee(value, key2, object5));
|
|
279185
|
-
});
|
|
279186
|
-
return result;
|
|
279187
|
-
}
|
|
279188
|
-
var mapValues_default;
|
|
279189
|
-
var init_mapValues = __esm(() => {
|
|
279190
|
-
init__baseAssignValue();
|
|
279191
|
-
init__baseForOwn();
|
|
279192
|
-
init__baseIteratee();
|
|
279193
|
-
mapValues_default = mapValues;
|
|
279194
|
-
});
|
|
279195
|
-
|
|
279196
|
-
// node_modules/lodash-es/_baseZipObject.js
|
|
279197
|
-
function baseZipObject(props, values2, assignFunc) {
|
|
279198
|
-
var index = -1, length = props.length, valsLength = values2.length, result = {};
|
|
279199
|
-
while (++index < length) {
|
|
279200
|
-
var value = index < valsLength ? values2[index] : undefined;
|
|
279201
|
-
assignFunc(result, props[index], value);
|
|
279202
|
-
}
|
|
279203
|
-
return result;
|
|
279204
|
-
}
|
|
279205
|
-
var _baseZipObject_default;
|
|
279206
|
-
var init__baseZipObject = __esm(() => {
|
|
279207
|
-
_baseZipObject_default = baseZipObject;
|
|
279208
|
-
});
|
|
279209
|
-
|
|
279210
|
-
// node_modules/lodash-es/zipObject.js
|
|
279211
|
-
function zipObject(props, values2) {
|
|
279212
|
-
return _baseZipObject_default(props || [], values2 || [], _assignValue_default);
|
|
279213
|
-
}
|
|
279214
|
-
var zipObject_default;
|
|
279215
|
-
var init_zipObject = __esm(() => {
|
|
279216
|
-
init__assignValue();
|
|
279217
|
-
init__baseZipObject();
|
|
279218
|
-
zipObject_default = zipObject;
|
|
279219
|
-
});
|
|
279220
|
-
|
|
279221
279849
|
// node_modules/p-map/index.js
|
|
279222
279850
|
async function pMap(iterable, mapper, {
|
|
279223
279851
|
concurrency = Number.POSITIVE_INFINITY,
|
|
@@ -279244,7 +279872,7 @@ async function pMap(iterable, mapper, {
|
|
|
279244
279872
|
let currentIndex = 0;
|
|
279245
279873
|
const iterator2 = iterable[Symbol.iterator] === undefined ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();
|
|
279246
279874
|
const signalListener = () => {
|
|
279247
|
-
|
|
279875
|
+
reject2(signal.reason);
|
|
279248
279876
|
};
|
|
279249
279877
|
const cleanup = () => {
|
|
279250
279878
|
signal?.removeEventListener("abort", signalListener);
|
|
@@ -279253,7 +279881,7 @@ async function pMap(iterable, mapper, {
|
|
|
279253
279881
|
resolve_(value);
|
|
279254
279882
|
cleanup();
|
|
279255
279883
|
};
|
|
279256
|
-
const
|
|
279884
|
+
const reject2 = (reason) => {
|
|
279257
279885
|
isRejected = true;
|
|
279258
279886
|
isResolved = true;
|
|
279259
279887
|
reject_(reason);
|
|
@@ -279261,7 +279889,7 @@ async function pMap(iterable, mapper, {
|
|
|
279261
279889
|
};
|
|
279262
279890
|
if (signal) {
|
|
279263
279891
|
if (signal.aborted) {
|
|
279264
|
-
|
|
279892
|
+
reject2(signal.reason);
|
|
279265
279893
|
}
|
|
279266
279894
|
signal.addEventListener("abort", signalListener, { once: true });
|
|
279267
279895
|
}
|
|
@@ -279276,7 +279904,7 @@ async function pMap(iterable, mapper, {
|
|
|
279276
279904
|
isIterableDone = true;
|
|
279277
279905
|
if (resolvingCount === 0 && !isResolved) {
|
|
279278
279906
|
if (!stopOnError && errors6.length > 0) {
|
|
279279
|
-
|
|
279907
|
+
reject2(new AggregateError(errors6));
|
|
279280
279908
|
return;
|
|
279281
279909
|
}
|
|
279282
279910
|
isResolved = true;
|
|
@@ -279311,14 +279939,14 @@ async function pMap(iterable, mapper, {
|
|
|
279311
279939
|
await next();
|
|
279312
279940
|
} catch (error49) {
|
|
279313
279941
|
if (stopOnError) {
|
|
279314
|
-
|
|
279942
|
+
reject2(error49);
|
|
279315
279943
|
} else {
|
|
279316
279944
|
errors6.push(error49);
|
|
279317
279945
|
resolvingCount--;
|
|
279318
279946
|
try {
|
|
279319
279947
|
await next();
|
|
279320
279948
|
} catch (error50) {
|
|
279321
|
-
|
|
279949
|
+
reject2(error50);
|
|
279322
279950
|
}
|
|
279323
279951
|
}
|
|
279324
279952
|
}
|
|
@@ -279329,7 +279957,7 @@ async function pMap(iterable, mapper, {
|
|
|
279329
279957
|
try {
|
|
279330
279958
|
await next();
|
|
279331
279959
|
} catch (error49) {
|
|
279332
|
-
|
|
279960
|
+
reject2(error49);
|
|
279333
279961
|
break;
|
|
279334
279962
|
}
|
|
279335
279963
|
if (isIterableDone || isRejected) {
|
|
@@ -282292,95 +282920,6 @@ var init_MCPTool = __esm(() => {
|
|
|
282292
282920
|
});
|
|
282293
282921
|
});
|
|
282294
282922
|
|
|
282295
|
-
// node_modules/lodash-es/_createBaseEach.js
|
|
282296
|
-
function createBaseEach(eachFunc, fromRight) {
|
|
282297
|
-
return function(collection, iteratee) {
|
|
282298
|
-
if (collection == null) {
|
|
282299
|
-
return collection;
|
|
282300
|
-
}
|
|
282301
|
-
if (!isArrayLike_default(collection)) {
|
|
282302
|
-
return eachFunc(collection, iteratee);
|
|
282303
|
-
}
|
|
282304
|
-
var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
|
|
282305
|
-
while (fromRight ? index-- : ++index < length) {
|
|
282306
|
-
if (iteratee(iterable[index], index, iterable) === false) {
|
|
282307
|
-
break;
|
|
282308
|
-
}
|
|
282309
|
-
}
|
|
282310
|
-
return collection;
|
|
282311
|
-
};
|
|
282312
|
-
}
|
|
282313
|
-
var _createBaseEach_default;
|
|
282314
|
-
var init__createBaseEach = __esm(() => {
|
|
282315
|
-
init_isArrayLike();
|
|
282316
|
-
_createBaseEach_default = createBaseEach;
|
|
282317
|
-
});
|
|
282318
|
-
|
|
282319
|
-
// node_modules/lodash-es/_baseEach.js
|
|
282320
|
-
var baseEach, _baseEach_default;
|
|
282321
|
-
var init__baseEach = __esm(() => {
|
|
282322
|
-
init__baseForOwn();
|
|
282323
|
-
init__createBaseEach();
|
|
282324
|
-
baseEach = _createBaseEach_default(_baseForOwn_default);
|
|
282325
|
-
_baseEach_default = baseEach;
|
|
282326
|
-
});
|
|
282327
|
-
|
|
282328
|
-
// node_modules/lodash-es/_baseFilter.js
|
|
282329
|
-
function baseFilter(collection, predicate) {
|
|
282330
|
-
var result = [];
|
|
282331
|
-
_baseEach_default(collection, function(value, index, collection2) {
|
|
282332
|
-
if (predicate(value, index, collection2)) {
|
|
282333
|
-
result.push(value);
|
|
282334
|
-
}
|
|
282335
|
-
});
|
|
282336
|
-
return result;
|
|
282337
|
-
}
|
|
282338
|
-
var _baseFilter_default;
|
|
282339
|
-
var init__baseFilter = __esm(() => {
|
|
282340
|
-
init__baseEach();
|
|
282341
|
-
_baseFilter_default = baseFilter;
|
|
282342
|
-
});
|
|
282343
|
-
|
|
282344
|
-
// node_modules/lodash-es/negate.js
|
|
282345
|
-
function negate(predicate) {
|
|
282346
|
-
if (typeof predicate != "function") {
|
|
282347
|
-
throw new TypeError(FUNC_ERROR_TEXT4);
|
|
282348
|
-
}
|
|
282349
|
-
return function() {
|
|
282350
|
-
var args = arguments;
|
|
282351
|
-
switch (args.length) {
|
|
282352
|
-
case 0:
|
|
282353
|
-
return !predicate.call(this);
|
|
282354
|
-
case 1:
|
|
282355
|
-
return !predicate.call(this, args[0]);
|
|
282356
|
-
case 2:
|
|
282357
|
-
return !predicate.call(this, args[0], args[1]);
|
|
282358
|
-
case 3:
|
|
282359
|
-
return !predicate.call(this, args[0], args[1], args[2]);
|
|
282360
|
-
}
|
|
282361
|
-
return !predicate.apply(this, args);
|
|
282362
|
-
};
|
|
282363
|
-
}
|
|
282364
|
-
var FUNC_ERROR_TEXT4 = "Expected a function", negate_default;
|
|
282365
|
-
var init_negate = __esm(() => {
|
|
282366
|
-
negate_default = negate;
|
|
282367
|
-
});
|
|
282368
|
-
|
|
282369
|
-
// node_modules/lodash-es/reject.js
|
|
282370
|
-
function reject(collection, predicate) {
|
|
282371
|
-
var func = isArray_default(collection) ? _arrayFilter_default : _baseFilter_default;
|
|
282372
|
-
return func(collection, negate_default(_baseIteratee_default(predicate, 3)));
|
|
282373
|
-
}
|
|
282374
|
-
var reject_default;
|
|
282375
|
-
var init_reject2 = __esm(() => {
|
|
282376
|
-
init__arrayFilter();
|
|
282377
|
-
init__baseFilter();
|
|
282378
|
-
init__baseIteratee();
|
|
282379
|
-
init_isArray();
|
|
282380
|
-
init_negate();
|
|
282381
|
-
reject_default = reject;
|
|
282382
|
-
});
|
|
282383
|
-
|
|
282384
282923
|
// node_modules/cssfilter/lib/default.js
|
|
282385
282924
|
var require_default = __commonJS((exports) => {
|
|
282386
282925
|
function getDefaultWhiteList() {
|
|
@@ -288629,131 +289168,6 @@ var init_codeIndexing = __esm(() => {
|
|
|
288629
289168
|
];
|
|
288630
289169
|
});
|
|
288631
289170
|
|
|
288632
|
-
// node_modules/lodash-es/_baseSlice.js
|
|
288633
|
-
function baseSlice(array3, start, end) {
|
|
288634
|
-
var index = -1, length = array3.length;
|
|
288635
|
-
if (start < 0) {
|
|
288636
|
-
start = -start > length ? 0 : length + start;
|
|
288637
|
-
}
|
|
288638
|
-
end = end > length ? length : end;
|
|
288639
|
-
if (end < 0) {
|
|
288640
|
-
end += length;
|
|
288641
|
-
}
|
|
288642
|
-
length = start > end ? 0 : end - start >>> 0;
|
|
288643
|
-
start >>>= 0;
|
|
288644
|
-
var result = Array(length);
|
|
288645
|
-
while (++index < length) {
|
|
288646
|
-
result[index] = array3[index + start];
|
|
288647
|
-
}
|
|
288648
|
-
return result;
|
|
288649
|
-
}
|
|
288650
|
-
var _baseSlice_default;
|
|
288651
|
-
var init__baseSlice = __esm(() => {
|
|
288652
|
-
_baseSlice_default = baseSlice;
|
|
288653
|
-
});
|
|
288654
|
-
|
|
288655
|
-
// node_modules/lodash-es/_castSlice.js
|
|
288656
|
-
function castSlice(array3, start, end) {
|
|
288657
|
-
var length = array3.length;
|
|
288658
|
-
end = end === undefined ? length : end;
|
|
288659
|
-
return !start && end >= length ? array3 : _baseSlice_default(array3, start, end);
|
|
288660
|
-
}
|
|
288661
|
-
var _castSlice_default;
|
|
288662
|
-
var init__castSlice = __esm(() => {
|
|
288663
|
-
init__baseSlice();
|
|
288664
|
-
_castSlice_default = castSlice;
|
|
288665
|
-
});
|
|
288666
|
-
|
|
288667
|
-
// node_modules/lodash-es/_hasUnicode.js
|
|
288668
|
-
function hasUnicode(string5) {
|
|
288669
|
-
return reHasUnicode.test(string5);
|
|
288670
|
-
}
|
|
288671
|
-
var rsAstralRange = "\\ud800-\\udfff", rsComboMarksRange = "\\u0300-\\u036f", reComboHalfMarksRange = "\\ufe20-\\ufe2f", rsComboSymbolsRange = "\\u20d0-\\u20ff", rsComboRange, rsVarRange = "\\ufe0e\\ufe0f", rsZWJ = "\\u200d", reHasUnicode, _hasUnicode_default;
|
|
288672
|
-
var init__hasUnicode = __esm(() => {
|
|
288673
|
-
rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange;
|
|
288674
|
-
reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + "]");
|
|
288675
|
-
_hasUnicode_default = hasUnicode;
|
|
288676
|
-
});
|
|
288677
|
-
|
|
288678
|
-
// node_modules/lodash-es/_asciiToArray.js
|
|
288679
|
-
function asciiToArray(string5) {
|
|
288680
|
-
return string5.split("");
|
|
288681
|
-
}
|
|
288682
|
-
var _asciiToArray_default;
|
|
288683
|
-
var init__asciiToArray = __esm(() => {
|
|
288684
|
-
_asciiToArray_default = asciiToArray;
|
|
288685
|
-
});
|
|
288686
|
-
|
|
288687
|
-
// node_modules/lodash-es/_unicodeToArray.js
|
|
288688
|
-
function unicodeToArray(string5) {
|
|
288689
|
-
return string5.match(reUnicode) || [];
|
|
288690
|
-
}
|
|
288691
|
-
var rsAstralRange2 = "\\ud800-\\udfff", rsComboMarksRange2 = "\\u0300-\\u036f", reComboHalfMarksRange2 = "\\ufe20-\\ufe2f", rsComboSymbolsRange2 = "\\u20d0-\\u20ff", rsComboRange2, rsVarRange2 = "\\ufe0e\\ufe0f", rsAstral, rsCombo, rsFitz = "\\ud83c[\\udffb-\\udfff]", rsModifier, rsNonAstral, rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}", rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]", rsZWJ2 = "\\u200d", reOptMod, rsOptVar, rsOptJoin, rsSeq, rsSymbol, reUnicode, _unicodeToArray_default;
|
|
288692
|
-
var init__unicodeToArray = __esm(() => {
|
|
288693
|
-
rsComboRange2 = rsComboMarksRange2 + reComboHalfMarksRange2 + rsComboSymbolsRange2;
|
|
288694
|
-
rsAstral = "[" + rsAstralRange2 + "]";
|
|
288695
|
-
rsCombo = "[" + rsComboRange2 + "]";
|
|
288696
|
-
rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
|
|
288697
|
-
rsNonAstral = "[^" + rsAstralRange2 + "]";
|
|
288698
|
-
reOptMod = rsModifier + "?";
|
|
288699
|
-
rsOptVar = "[" + rsVarRange2 + "]?";
|
|
288700
|
-
rsOptJoin = "(?:" + rsZWJ2 + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
|
|
288701
|
-
rsSeq = rsOptVar + reOptMod + rsOptJoin;
|
|
288702
|
-
rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
|
|
288703
|
-
reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
|
|
288704
|
-
_unicodeToArray_default = unicodeToArray;
|
|
288705
|
-
});
|
|
288706
|
-
|
|
288707
|
-
// node_modules/lodash-es/_stringToArray.js
|
|
288708
|
-
function stringToArray(string5) {
|
|
288709
|
-
return _hasUnicode_default(string5) ? _unicodeToArray_default(string5) : _asciiToArray_default(string5);
|
|
288710
|
-
}
|
|
288711
|
-
var _stringToArray_default;
|
|
288712
|
-
var init__stringToArray = __esm(() => {
|
|
288713
|
-
init__asciiToArray();
|
|
288714
|
-
init__hasUnicode();
|
|
288715
|
-
init__unicodeToArray();
|
|
288716
|
-
_stringToArray_default = stringToArray;
|
|
288717
|
-
});
|
|
288718
|
-
|
|
288719
|
-
// node_modules/lodash-es/_createCaseFirst.js
|
|
288720
|
-
function createCaseFirst(methodName) {
|
|
288721
|
-
return function(string5) {
|
|
288722
|
-
string5 = toString_default(string5);
|
|
288723
|
-
var strSymbols = _hasUnicode_default(string5) ? _stringToArray_default(string5) : undefined;
|
|
288724
|
-
var chr = strSymbols ? strSymbols[0] : string5.charAt(0);
|
|
288725
|
-
var trailing = strSymbols ? _castSlice_default(strSymbols, 1).join("") : string5.slice(1);
|
|
288726
|
-
return chr[methodName]() + trailing;
|
|
288727
|
-
};
|
|
288728
|
-
}
|
|
288729
|
-
var _createCaseFirst_default;
|
|
288730
|
-
var init__createCaseFirst = __esm(() => {
|
|
288731
|
-
init__castSlice();
|
|
288732
|
-
init__hasUnicode();
|
|
288733
|
-
init__stringToArray();
|
|
288734
|
-
init_toString();
|
|
288735
|
-
_createCaseFirst_default = createCaseFirst;
|
|
288736
|
-
});
|
|
288737
|
-
|
|
288738
|
-
// node_modules/lodash-es/upperFirst.js
|
|
288739
|
-
var upperFirst, upperFirst_default;
|
|
288740
|
-
var init_upperFirst = __esm(() => {
|
|
288741
|
-
init__createCaseFirst();
|
|
288742
|
-
upperFirst = _createCaseFirst_default("toUpperCase");
|
|
288743
|
-
upperFirst_default = upperFirst;
|
|
288744
|
-
});
|
|
288745
|
-
|
|
288746
|
-
// node_modules/lodash-es/capitalize.js
|
|
288747
|
-
function capitalize2(string5) {
|
|
288748
|
-
return upperFirst_default(toString_default(string5).toLowerCase());
|
|
288749
|
-
}
|
|
288750
|
-
var capitalize_default;
|
|
288751
|
-
var init_capitalize = __esm(() => {
|
|
288752
|
-
init_toString();
|
|
288753
|
-
init_upperFirst();
|
|
288754
|
-
capitalize_default = capitalize2;
|
|
288755
|
-
});
|
|
288756
|
-
|
|
288757
289171
|
// src/utils/jetbrains.ts
|
|
288758
289172
|
import { homedir as homedir18, platform as platform3 } from "os";
|
|
288759
289173
|
import { join as join60 } from "path";
|
|
@@ -293417,7 +293831,7 @@ var require_event_target = __commonJS((exports, module) => {
|
|
|
293417
293831
|
}
|
|
293418
293832
|
let wrapper;
|
|
293419
293833
|
if (type === "message") {
|
|
293420
|
-
wrapper = function
|
|
293834
|
+
wrapper = function onMessage(data, isBinary) {
|
|
293421
293835
|
const event = new MessageEvent2("message", {
|
|
293422
293836
|
data: isBinary ? data : data.toString()
|
|
293423
293837
|
});
|
|
@@ -293639,10 +294053,10 @@ var require_extension = __commonJS((exports, module) => {
|
|
|
293639
294053
|
configurations = [configurations];
|
|
293640
294054
|
return configurations.map((params) => {
|
|
293641
294055
|
return [extension].concat(Object.keys(params).map((k2) => {
|
|
293642
|
-
let
|
|
293643
|
-
if (!Array.isArray(
|
|
293644
|
-
|
|
293645
|
-
return
|
|
294056
|
+
let values3 = params[k2];
|
|
294057
|
+
if (!Array.isArray(values3))
|
|
294058
|
+
values3 = [values3];
|
|
294059
|
+
return values3.map((v2) => v2 === true ? k2 : `${k2}=${v2}`).join("; ");
|
|
293646
294060
|
})).join("; ");
|
|
293647
294061
|
}).join(", ");
|
|
293648
294062
|
}).join(", ");
|
|
@@ -294449,7 +294863,7 @@ var require_stream = __commonJS((exports, module) => {
|
|
|
294449
294863
|
if (!duplex2.push(data))
|
|
294450
294864
|
ws.pause();
|
|
294451
294865
|
});
|
|
294452
|
-
ws.once("error", function
|
|
294866
|
+
ws.once("error", function error(err2) {
|
|
294453
294867
|
if (duplex2.destroyed)
|
|
294454
294868
|
return;
|
|
294455
294869
|
terminateOnDestroy = false;
|
|
@@ -294467,7 +294881,7 @@ var require_stream = __commonJS((exports, module) => {
|
|
|
294467
294881
|
return;
|
|
294468
294882
|
}
|
|
294469
294883
|
let called = false;
|
|
294470
|
-
ws.once("error", function
|
|
294884
|
+
ws.once("error", function error(err3) {
|
|
294471
294885
|
called = true;
|
|
294472
294886
|
callback(err3);
|
|
294473
294887
|
});
|
|
@@ -294481,7 +294895,7 @@ var require_stream = __commonJS((exports, module) => {
|
|
|
294481
294895
|
};
|
|
294482
294896
|
duplex2._final = function(callback) {
|
|
294483
294897
|
if (ws.readyState === ws.CONNECTING) {
|
|
294484
|
-
ws.once("open", function
|
|
294898
|
+
ws.once("open", function open() {
|
|
294485
294899
|
duplex2._final(callback);
|
|
294486
294900
|
});
|
|
294487
294901
|
return;
|
|
@@ -294505,7 +294919,7 @@ var require_stream = __commonJS((exports, module) => {
|
|
|
294505
294919
|
};
|
|
294506
294920
|
duplex2._write = function(chunk, encoding, callback) {
|
|
294507
294921
|
if (ws.readyState === ws.CONNECTING) {
|
|
294508
|
-
ws.once("open", function
|
|
294922
|
+
ws.once("open", function open() {
|
|
294509
294923
|
duplex2._write(chunk, encoding, callback);
|
|
294510
294924
|
});
|
|
294511
294925
|
return;
|
|
@@ -296098,7 +296512,7 @@ var init_client6 = __esm(() => {
|
|
|
296098
296512
|
logMCPDebug(name, `claude.ai proxy transport created successfully`);
|
|
296099
296513
|
} else if ((serverRef.type === "stdio" || !serverRef.type) && isClaudeInChromeMCPServer(name)) {
|
|
296100
296514
|
const { createChromeContext } = await Promise.resolve().then(() => (init_mcpServer(), exports_mcpServer));
|
|
296101
|
-
const { createClaudeForChromeMcpServer: createClaudeForChromeMcpServer2 } = await Promise.resolve().then(() => (
|
|
296515
|
+
const { createClaudeForChromeMcpServer: createClaudeForChromeMcpServer2 } = await Promise.resolve().then(() => (init_ant_claude_for_chrome_mcp(), exports_ant_claude_for_chrome_mcp));
|
|
296102
296516
|
const { createLinkedTransportPair: createLinkedTransportPair2 } = await Promise.resolve().then(() => exports_InProcessTransport);
|
|
296103
296517
|
const context = createChromeContext(serverRef.env);
|
|
296104
296518
|
inProcessServer = createClaudeForChromeMcpServer2(context);
|
|
@@ -298592,7 +299006,7 @@ function applyMarkdown(content, theme, highlight = null) {
|
|
|
298592
299006
|
configureMarked();
|
|
298593
299007
|
return g.lexer(stripPromptXMLTags(content)).map((_2) => formatToken(_2, theme, 0, null, null, highlight)).join("").trim();
|
|
298594
299008
|
}
|
|
298595
|
-
function formatToken(token, theme, listDepth = 0, orderedListNumber = null,
|
|
299009
|
+
function formatToken(token, theme, listDepth = 0, orderedListNumber = null, parent2 = null, highlight = null) {
|
|
298596
299010
|
switch (token.type) {
|
|
298597
299011
|
case "blockquote": {
|
|
298598
299012
|
const inner = (token.tokens ?? []).map((_2) => formatToken(_2, theme, 0, null, null, highlight)).join("");
|
|
@@ -298617,9 +299031,9 @@ function formatToken(token, theme, listDepth = 0, orderedListNumber = null, pare
|
|
|
298617
299031
|
return color("permission", theme)(token.text);
|
|
298618
299032
|
}
|
|
298619
299033
|
case "em":
|
|
298620
|
-
return source_default.italic((token.tokens ?? []).map((_2) => formatToken(_2, theme, 0, null,
|
|
299034
|
+
return source_default.italic((token.tokens ?? []).map((_2) => formatToken(_2, theme, 0, null, parent2, highlight)).join(""));
|
|
298621
299035
|
case "strong":
|
|
298622
|
-
return source_default.bold((token.tokens ?? []).map((_2) => formatToken(_2, theme, 0, null,
|
|
299036
|
+
return source_default.bold((token.tokens ?? []).map((_2) => formatToken(_2, theme, 0, null, parent2, highlight)).join(""));
|
|
298623
299037
|
case "heading":
|
|
298624
299038
|
switch (token.depth) {
|
|
298625
299039
|
case 1:
|
|
@@ -298657,10 +299071,10 @@ function formatToken(token, theme, listDepth = 0, orderedListNumber = null, pare
|
|
|
298657
299071
|
case "br":
|
|
298658
299072
|
return EOL2;
|
|
298659
299073
|
case "text":
|
|
298660
|
-
if (
|
|
299074
|
+
if (parent2?.type === "link") {
|
|
298661
299075
|
return token.text;
|
|
298662
299076
|
}
|
|
298663
|
-
if (
|
|
299077
|
+
if (parent2?.type === "list_item") {
|
|
298664
299078
|
return `${orderedListNumber === null ? "-" : getListNumber(listDepth, orderedListNumber) + "."} ${token.tokens ? token.tokens.map((_2) => formatToken(_2, theme, listDepth, orderedListNumber, token, highlight)).join("") : linkifyIssueReferences(token.text)}${EOL2}`;
|
|
298665
299079
|
}
|
|
298666
299080
|
return linkifyIssueReferences(token.text);
|
|
@@ -299115,7 +299529,7 @@ function MarkdownBody(t0) {
|
|
|
299115
299529
|
const tokens = cachedLexer(stripPromptXMLTags(children));
|
|
299116
299530
|
elements = [];
|
|
299117
299531
|
let nonTableContent = "";
|
|
299118
|
-
const flushNonTableContent = function
|
|
299532
|
+
const flushNonTableContent = function flushNonTableContent() {
|
|
299119
299533
|
if (nonTableContent) {
|
|
299120
299534
|
elements.push(/* @__PURE__ */ jsx_dev_runtime44.jsxDEV(Ansi, {
|
|
299121
299535
|
dimColor,
|
|
@@ -301713,7 +302127,7 @@ var require_tracestate_impl = __commonJS((exports) => {
|
|
|
301713
302127
|
const value = listMember.slice(i3 + 1, part.length);
|
|
301714
302128
|
if ((0, tracestate_validators_1.validateKey)(key2) && (0, tracestate_validators_1.validateValue)(value)) {
|
|
301715
302129
|
agg.set(key2, value);
|
|
301716
|
-
}
|
|
302130
|
+
} else {}
|
|
301717
302131
|
}
|
|
301718
302132
|
return agg;
|
|
301719
302133
|
}, new Map);
|
|
@@ -302652,11 +303066,11 @@ var require_version2 = __commonJS((exports) => {
|
|
|
302652
303066
|
var require_utils9 = __commonJS((exports) => {
|
|
302653
303067
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
302654
303068
|
exports.createConstMap = undefined;
|
|
302655
|
-
function createConstMap(
|
|
303069
|
+
function createConstMap(values3) {
|
|
302656
303070
|
let res = {};
|
|
302657
|
-
const len =
|
|
303071
|
+
const len = values3.length;
|
|
302658
303072
|
for (let lp = 0;lp < len; lp++) {
|
|
302659
|
-
const val =
|
|
303073
|
+
const val = values3[lp];
|
|
302660
303074
|
if (val) {
|
|
302661
303075
|
res[String(val).toUpperCase().replace(/[-.]/g, "_")] = val;
|
|
302662
303076
|
}
|
|
@@ -304496,7 +304910,7 @@ var require_TraceState = __commonJS((exports) => {
|
|
|
304496
304910
|
const value = listMember.slice(i3 + 1, part.length);
|
|
304497
304911
|
if ((0, validators_1.validateKey)(key2) && (0, validators_1.validateValue)(value)) {
|
|
304498
304912
|
agg.set(key2, value);
|
|
304499
|
-
}
|
|
304913
|
+
} else {}
|
|
304500
304914
|
}
|
|
304501
304915
|
return agg;
|
|
304502
304916
|
}, new Map);
|
|
@@ -304616,10 +305030,10 @@ var require_lodash_merge = __commonJS((exports) => {
|
|
|
304616
305030
|
var funcToString4 = funcProto4.toString;
|
|
304617
305031
|
var objectCtorString2 = funcToString4.call(Object);
|
|
304618
305032
|
var getPrototypeOf2 = Object.getPrototypeOf;
|
|
304619
|
-
var
|
|
304620
|
-
var
|
|
305033
|
+
var objectProto18 = Object.prototype;
|
|
305034
|
+
var hasOwnProperty16 = objectProto18.hasOwnProperty;
|
|
304621
305035
|
var symToStringTag3 = Symbol ? Symbol.toStringTag : undefined;
|
|
304622
|
-
var nativeObjectToString3 =
|
|
305036
|
+
var nativeObjectToString3 = objectProto18.toString;
|
|
304623
305037
|
function isPlainObject7(value) {
|
|
304624
305038
|
if (!isObjectLike2(value) || baseGetTag2(value) !== objectTag6) {
|
|
304625
305039
|
return false;
|
|
@@ -304628,7 +305042,7 @@ var require_lodash_merge = __commonJS((exports) => {
|
|
|
304628
305042
|
if (proto2 === null) {
|
|
304629
305043
|
return true;
|
|
304630
305044
|
}
|
|
304631
|
-
const Ctor =
|
|
305045
|
+
const Ctor = hasOwnProperty16.call(proto2, "constructor") && proto2.constructor;
|
|
304632
305046
|
return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString4.call(Ctor) === objectCtorString2;
|
|
304633
305047
|
}
|
|
304634
305048
|
exports.isPlainObject = isPlainObject7;
|
|
@@ -304642,7 +305056,7 @@ var require_lodash_merge = __commonJS((exports) => {
|
|
|
304642
305056
|
return symToStringTag3 && symToStringTag3 in Object(value) ? getRawTag2(value) : objectToString4(value);
|
|
304643
305057
|
}
|
|
304644
305058
|
function getRawTag2(value) {
|
|
304645
|
-
const isOwn =
|
|
305059
|
+
const isOwn = hasOwnProperty16.call(value, symToStringTag3), tag = value[symToStringTag3];
|
|
304646
305060
|
let unmasked = false;
|
|
304647
305061
|
try {
|
|
304648
305062
|
value[symToStringTag3] = undefined;
|
|
@@ -316888,7 +317302,7 @@ function ListItem(t0) {
|
|
|
316888
317302
|
const disabled = t3 === undefined ? false : t3;
|
|
316889
317303
|
let t4;
|
|
316890
317304
|
if ($3[0] !== disabled || $3[1] !== isFocused || $3[2] !== showScrollDown || $3[3] !== showScrollUp) {
|
|
316891
|
-
t4 = function
|
|
317305
|
+
t4 = function renderIndicator() {
|
|
316892
317306
|
if (disabled) {
|
|
316893
317307
|
return /* @__PURE__ */ jsx_dev_runtime52.jsxDEV(ThemedText, {
|
|
316894
317308
|
children: " "
|
|
@@ -316927,7 +317341,7 @@ function ListItem(t0) {
|
|
|
316927
317341
|
const renderIndicator = t4;
|
|
316928
317342
|
let t5;
|
|
316929
317343
|
if ($3[5] !== disabled || $3[6] !== isFocused || $3[7] !== isSelected || $3[8] !== styled) {
|
|
316930
|
-
const getTextColor = function
|
|
317344
|
+
const getTextColor = function getTextColor() {
|
|
316931
317345
|
if (disabled) {
|
|
316932
317346
|
return "inactive";
|
|
316933
317347
|
}
|
|
@@ -319171,75 +319585,6 @@ var init_bridgeStatusUtil = __esm(() => {
|
|
|
319171
319585
|
init_intl();
|
|
319172
319586
|
});
|
|
319173
319587
|
|
|
319174
|
-
// node_modules/lodash-es/_baseRandom.js
|
|
319175
|
-
function baseRandom(lower, upper) {
|
|
319176
|
-
return lower + nativeFloor(nativeRandom() * (upper - lower + 1));
|
|
319177
|
-
}
|
|
319178
|
-
var nativeFloor, nativeRandom, _baseRandom_default;
|
|
319179
|
-
var init__baseRandom = __esm(() => {
|
|
319180
|
-
nativeFloor = Math.floor;
|
|
319181
|
-
nativeRandom = Math.random;
|
|
319182
|
-
_baseRandom_default = baseRandom;
|
|
319183
|
-
});
|
|
319184
|
-
|
|
319185
|
-
// node_modules/lodash-es/_arraySample.js
|
|
319186
|
-
function arraySample(array3) {
|
|
319187
|
-
var length = array3.length;
|
|
319188
|
-
return length ? array3[_baseRandom_default(0, length - 1)] : undefined;
|
|
319189
|
-
}
|
|
319190
|
-
var _arraySample_default;
|
|
319191
|
-
var init__arraySample = __esm(() => {
|
|
319192
|
-
init__baseRandom();
|
|
319193
|
-
_arraySample_default = arraySample;
|
|
319194
|
-
});
|
|
319195
|
-
|
|
319196
|
-
// node_modules/lodash-es/_baseValues.js
|
|
319197
|
-
function baseValues(object4, props) {
|
|
319198
|
-
return _arrayMap_default(props, function(key2) {
|
|
319199
|
-
return object4[key2];
|
|
319200
|
-
});
|
|
319201
|
-
}
|
|
319202
|
-
var _baseValues_default;
|
|
319203
|
-
var init__baseValues = __esm(() => {
|
|
319204
|
-
init__arrayMap();
|
|
319205
|
-
_baseValues_default = baseValues;
|
|
319206
|
-
});
|
|
319207
|
-
|
|
319208
|
-
// node_modules/lodash-es/values.js
|
|
319209
|
-
function values2(object4) {
|
|
319210
|
-
return object4 == null ? [] : _baseValues_default(object4, keys_default(object4));
|
|
319211
|
-
}
|
|
319212
|
-
var values_default;
|
|
319213
|
-
var init_values3 = __esm(() => {
|
|
319214
|
-
init__baseValues();
|
|
319215
|
-
init_keys();
|
|
319216
|
-
values_default = values2;
|
|
319217
|
-
});
|
|
319218
|
-
|
|
319219
|
-
// node_modules/lodash-es/_baseSample.js
|
|
319220
|
-
function baseSample(collection) {
|
|
319221
|
-
return _arraySample_default(values_default(collection));
|
|
319222
|
-
}
|
|
319223
|
-
var _baseSample_default;
|
|
319224
|
-
var init__baseSample = __esm(() => {
|
|
319225
|
-
init__arraySample();
|
|
319226
|
-
init_values3();
|
|
319227
|
-
_baseSample_default = baseSample;
|
|
319228
|
-
});
|
|
319229
|
-
|
|
319230
|
-
// node_modules/lodash-es/sample.js
|
|
319231
|
-
function sample(collection) {
|
|
319232
|
-
var func = isArray_default(collection) ? _arraySample_default : _baseSample_default;
|
|
319233
|
-
return func(collection);
|
|
319234
|
-
}
|
|
319235
|
-
var sample_default;
|
|
319236
|
-
var init_sample = __esm(() => {
|
|
319237
|
-
init__arraySample();
|
|
319238
|
-
init__baseSample();
|
|
319239
|
-
init_isArray();
|
|
319240
|
-
sample_default = sample;
|
|
319241
|
-
});
|
|
319242
|
-
|
|
319243
319588
|
// src/utils/activityManager.ts
|
|
319244
319589
|
class ActivityManager {
|
|
319245
319590
|
activeOperations = new Set;
|
|
@@ -360926,10 +361271,10 @@ async function discoverSkillDirsForPaths(filePaths, cwd2) {
|
|
|
360926
361271
|
newDirs.push(skillDir);
|
|
360927
361272
|
} catch {}
|
|
360928
361273
|
}
|
|
360929
|
-
const
|
|
360930
|
-
if (
|
|
361274
|
+
const parent2 = dirname35(currentDir);
|
|
361275
|
+
if (parent2 === currentDir)
|
|
360931
361276
|
break;
|
|
360932
|
-
currentDir =
|
|
361277
|
+
currentDir = parent2;
|
|
360933
361278
|
}
|
|
360934
361279
|
}
|
|
360935
361280
|
return newDirs.sort((a2, b3) => b3.split(pathSep).length - a2.split(pathSep).length);
|
|
@@ -362723,7 +363068,7 @@ var init_color_diff = __esm(() => {
|
|
|
362723
363068
|
};
|
|
362724
363069
|
});
|
|
362725
363070
|
|
|
362726
|
-
//
|
|
363071
|
+
// shims/color-diff-napi/index.ts
|
|
362727
363072
|
var init_color_diff_napi = __esm(() => {
|
|
362728
363073
|
init_color_diff();
|
|
362729
363074
|
});
|
|
@@ -377050,7 +377395,7 @@ function It2SetupPrompt(t0) {
|
|
|
377050
377395
|
use_input_default(t6);
|
|
377051
377396
|
let t7;
|
|
377052
377397
|
if ($3[9] !== packageManager) {
|
|
377053
|
-
t7 = async function
|
|
377398
|
+
t7 = async function handleInstall() {
|
|
377054
377399
|
if (!packageManager) {
|
|
377055
377400
|
setError("No Python package manager found (uvx, pipx, or pip)");
|
|
377056
377401
|
setStep("failed");
|
|
@@ -377073,7 +377418,7 @@ function It2SetupPrompt(t0) {
|
|
|
377073
377418
|
const handleInstall = t7;
|
|
377074
377419
|
let t8;
|
|
377075
377420
|
if ($3[11] !== onDone) {
|
|
377076
|
-
t8 = function
|
|
377421
|
+
t8 = function handleUseTmux() {
|
|
377077
377422
|
setPreferTmuxOverIterm2(true);
|
|
377078
377423
|
onDone("use-tmux");
|
|
377079
377424
|
};
|
|
@@ -408571,7 +408916,7 @@ function prewarm() {
|
|
|
408571
408916
|
var cachedModule = null;
|
|
408572
408917
|
var init_modifiers_napi_src = () => {};
|
|
408573
408918
|
|
|
408574
|
-
//
|
|
408919
|
+
// shims/modifiers-napi/index.ts
|
|
408575
408920
|
var exports_modifiers_napi = {};
|
|
408576
408921
|
__export(exports_modifiers_napi, {
|
|
408577
408922
|
prewarm: () => prewarm,
|
|
@@ -410941,7 +411286,7 @@ function BtwSideQuestion(t0) {
|
|
|
410941
411286
|
useInterval(t1, response || error49 ? null : 80);
|
|
410942
411287
|
let t2;
|
|
410943
411288
|
if ($3[1] !== onDone) {
|
|
410944
|
-
t2 = function
|
|
411289
|
+
t2 = function handleKeyDown(e) {
|
|
410945
411290
|
if (e.key === "escape" || e.key === "return" || e.key === " " || e.ctrl && (e.key === "c" || e.key === "d")) {
|
|
410946
411291
|
e.preventDefault();
|
|
410947
411292
|
onDone(undefined, {
|
|
@@ -410969,7 +411314,7 @@ function BtwSideQuestion(t0) {
|
|
|
410969
411314
|
if ($3[3] !== context || $3[4] !== question) {
|
|
410970
411315
|
t3 = () => {
|
|
410971
411316
|
const abortController = createAbortController();
|
|
410972
|
-
const fetchResponse = async function
|
|
411317
|
+
const fetchResponse = async function fetchResponse() {
|
|
410973
411318
|
try {
|
|
410974
411319
|
const cacheSafeParams = await buildCacheSafeParams(context);
|
|
410975
411320
|
const result = await runSideQuestion({
|
|
@@ -412201,11 +412546,11 @@ function collectDirectoryNames(files2, start, end, out) {
|
|
|
412201
412546
|
for (let i3 = start;i3 < end; i3++) {
|
|
412202
412547
|
let currentDir = path21.dirname(files2[i3]);
|
|
412203
412548
|
while (currentDir !== "." && !out.has(currentDir)) {
|
|
412204
|
-
const
|
|
412205
|
-
if (
|
|
412549
|
+
const parent2 = path21.dirname(currentDir);
|
|
412550
|
+
if (parent2 === currentDir)
|
|
412206
412551
|
break;
|
|
412207
412552
|
out.add(currentDir);
|
|
412208
|
-
currentDir =
|
|
412553
|
+
currentDir = parent2;
|
|
412209
412554
|
}
|
|
412210
412555
|
}
|
|
412211
412556
|
}
|
|
@@ -413786,7 +414131,7 @@ function CopyPicker(t0) {
|
|
|
413786
414131
|
const options = t3;
|
|
413787
414132
|
let t4;
|
|
413788
414133
|
if ($3[6] !== codeBlocks || $3[7] !== fullText) {
|
|
413789
|
-
t4 = function
|
|
414134
|
+
t4 = function getSelectionContent(selected) {
|
|
413790
414135
|
if (selected === "full" || selected === "always") {
|
|
413791
414136
|
return {
|
|
413792
414137
|
text: fullText,
|
|
@@ -413809,7 +414154,7 @@ function CopyPicker(t0) {
|
|
|
413809
414154
|
const getSelectionContent = t4;
|
|
413810
414155
|
let t5;
|
|
413811
414156
|
if ($3[9] !== codeBlocks.length || $3[10] !== getSelectionContent || $3[11] !== messageAge || $3[12] !== onDone) {
|
|
413812
|
-
t5 = async function
|
|
414157
|
+
t5 = async function handleSelect(selected_0) {
|
|
413813
414158
|
const content = getSelectionContent(selected_0);
|
|
413814
414159
|
if (selected_0 === "always") {
|
|
413815
414160
|
if (!getGlobalConfig().copyFullResponse) {
|
|
@@ -413844,7 +414189,7 @@ Preference saved. Use /config to change copyFullResponse`);
|
|
|
413844
414189
|
const handleSelect = t5;
|
|
413845
414190
|
let t6;
|
|
413846
414191
|
if ($3[14] !== codeBlocks.length || $3[15] !== getSelectionContent || $3[16] !== messageAge || $3[17] !== onDone) {
|
|
413847
|
-
const handleWrite = async function
|
|
414192
|
+
const handleWrite = async function handleWrite(selected_1) {
|
|
413848
414193
|
const content_0 = getSelectionContent(selected_1);
|
|
413849
414194
|
logEvent("tengu_copy", {
|
|
413850
414195
|
selected_block: content_0.blockIndex,
|
|
@@ -413860,7 +414205,7 @@ Preference saved. Use /config to change copyFullResponse`);
|
|
|
413860
414205
|
onDone(`Failed to write file: ${e instanceof Error ? e.message : e}`);
|
|
413861
414206
|
}
|
|
413862
414207
|
};
|
|
413863
|
-
t6 = function
|
|
414208
|
+
t6 = function handleKeyDown(e_0) {
|
|
413864
414209
|
if (e_0.key === "w") {
|
|
413865
414210
|
e_0.preventDefault();
|
|
413866
414211
|
handleWrite(focusedRef.current);
|
|
@@ -414355,7 +414700,7 @@ Learn more at ${DESKTOP_DOCS_URL}`, {
|
|
|
414355
414700
|
let t3;
|
|
414356
414701
|
if ($3[4] !== onDone) {
|
|
414357
414702
|
t2 = () => {
|
|
414358
|
-
const performHandoff = async function
|
|
414703
|
+
const performHandoff = async function performHandoff() {
|
|
414359
414704
|
setState("checking");
|
|
414360
414705
|
const installStatus = await getDesktopInstallStatus();
|
|
414361
414706
|
if (installStatus.status === "not-installed") {
|
|
@@ -416214,7 +416559,7 @@ function ModelPicker(t0) {
|
|
|
416214
416559
|
useKeybindings(t12, t13);
|
|
416215
416560
|
let t14;
|
|
416216
416561
|
if ($3[35] !== effort || $3[36] !== hasToggledEffort || $3[37] !== onSelect || $3[38] !== setAppState || $3[39] !== skipSettingsWrite) {
|
|
416217
|
-
t14 = function
|
|
416562
|
+
t14 = function handleSelect(value_0) {
|
|
416218
416563
|
logEvent("tengu_model_command_menu_effort", {
|
|
416219
416564
|
effort
|
|
416220
416565
|
});
|
|
@@ -416823,7 +417168,7 @@ function ChannelDowngradeDialog(t0) {
|
|
|
416823
417168
|
} = t0;
|
|
416824
417169
|
let t1;
|
|
416825
417170
|
if ($3[0] !== onChoice) {
|
|
416826
|
-
t1 = function
|
|
417171
|
+
t1 = function handleSelect(value) {
|
|
416827
417172
|
onChoice(value);
|
|
416828
417173
|
};
|
|
416829
417174
|
$3[0] = onChoice;
|
|
@@ -416834,7 +417179,7 @@ function ChannelDowngradeDialog(t0) {
|
|
|
416834
417179
|
const handleSelect = t1;
|
|
416835
417180
|
let t2;
|
|
416836
417181
|
if ($3[2] !== onChoice) {
|
|
416837
|
-
t2 = function
|
|
417182
|
+
t2 = function handleCancel() {
|
|
416838
417183
|
onChoice("cancel");
|
|
416839
417184
|
};
|
|
416840
417185
|
$3[2] = onChoice;
|
|
@@ -417086,7 +417431,7 @@ function LanguagePicker(t0) {
|
|
|
417086
417431
|
useKeybinding("confirm:no", onCancel, t1);
|
|
417087
417432
|
let t2;
|
|
417088
417433
|
if ($3[1] !== language || $3[2] !== onComplete) {
|
|
417089
|
-
t2 = function
|
|
417434
|
+
t2 = function handleSubmit() {
|
|
417090
417435
|
const trimmed = language?.trim();
|
|
417091
417436
|
onComplete(trimmed || undefined);
|
|
417092
417437
|
};
|
|
@@ -423027,7 +423372,7 @@ function DiffDialog(t0) {
|
|
|
423027
423372
|
const title = t21;
|
|
423028
423373
|
let t22;
|
|
423029
423374
|
if ($3[48] !== onDone || $3[49] !== viewMode) {
|
|
423030
|
-
t22 = function
|
|
423375
|
+
t22 = function handleCancel() {
|
|
423031
423376
|
if (viewMode === "detail") {
|
|
423032
423377
|
setViewMode("list");
|
|
423033
423378
|
} else {
|
|
@@ -423807,17 +424152,6 @@ var init_SandboxDoctorSection = __esm(() => {
|
|
|
423807
424152
|
jsx_dev_runtime191 = __toESM(require_jsx_dev_runtime(), 1);
|
|
423808
424153
|
});
|
|
423809
424154
|
|
|
423810
|
-
// node_modules/lodash-es/setWith.js
|
|
423811
|
-
function setWith(object4, path22, value, customizer) {
|
|
423812
|
-
customizer = typeof customizer == "function" ? customizer : undefined;
|
|
423813
|
-
return object4 == null ? object4 : _baseSet_default(object4, path22, value, customizer);
|
|
423814
|
-
}
|
|
423815
|
-
var setWith_default;
|
|
423816
|
-
var init_setWith = __esm(() => {
|
|
423817
|
-
init__baseSet();
|
|
423818
|
-
setWith_default = setWith;
|
|
423819
|
-
});
|
|
423820
|
-
|
|
423821
424155
|
// src/utils/treeify.ts
|
|
423822
424156
|
function treeify(obj, options = {}) {
|
|
423823
424157
|
const {
|
|
@@ -425583,7 +425917,7 @@ function MemoryFileSelector(t0) {
|
|
|
425583
425917
|
const lastToggleIndex = showDreamRow ? 1 : 0;
|
|
425584
425918
|
let t5;
|
|
425585
425919
|
if ($3[12] !== autoMemoryOn) {
|
|
425586
|
-
t5 = function
|
|
425920
|
+
t5 = function handleToggleAutoMemory() {
|
|
425587
425921
|
const newValue = !autoMemoryOn;
|
|
425588
425922
|
updateSettingsForSource("userSettings", {
|
|
425589
425923
|
autoMemoryEnabled: newValue
|
|
@@ -425601,7 +425935,7 @@ function MemoryFileSelector(t0) {
|
|
|
425601
425935
|
const handleToggleAutoMemory = t5;
|
|
425602
425936
|
let t6;
|
|
425603
425937
|
if ($3[14] !== autoDreamOn) {
|
|
425604
|
-
t6 = function
|
|
425938
|
+
t6 = function handleToggleAutoDream() {
|
|
425605
425939
|
const newValue_0 = !autoDreamOn;
|
|
425606
425940
|
updateSettingsForSource("userSettings", {
|
|
425607
425941
|
autoDreamEnabled: newValue_0
|
|
@@ -427707,7 +428041,7 @@ function IDEOpenSelection(t0) {
|
|
|
427707
428041
|
const options = t3;
|
|
427708
428042
|
let t4;
|
|
427709
428043
|
if ($3[7] !== onDone) {
|
|
427710
|
-
t4 = function
|
|
428044
|
+
t4 = function handleCancel() {
|
|
427711
428045
|
onDone("IDE selection cancelled", {
|
|
427712
428046
|
display: "system"
|
|
427713
428047
|
});
|
|
@@ -427796,7 +428130,7 @@ function RunningIDESelector(t0) {
|
|
|
427796
428130
|
const options = t2;
|
|
427797
428131
|
let t3;
|
|
427798
428132
|
if ($3[4] !== onDone) {
|
|
427799
|
-
t3 = function
|
|
428133
|
+
t3 = function handleCancel() {
|
|
427800
428134
|
onDone("IDE selection cancelled", {
|
|
427801
428135
|
display: "system"
|
|
427802
428136
|
});
|
|
@@ -432845,161 +433179,6 @@ var init_MCPListPanel = __esm(() => {
|
|
|
432845
433179
|
SCOPE_ORDER = ["project", "local", "user", "enterprise"];
|
|
432846
433180
|
});
|
|
432847
433181
|
|
|
432848
|
-
// node_modules/lodash-es/_parent.js
|
|
432849
|
-
function parent(object4, path23) {
|
|
432850
|
-
return path23.length < 2 ? object4 : _baseGet_default(object4, _baseSlice_default(path23, 0, -1));
|
|
432851
|
-
}
|
|
432852
|
-
var _parent_default;
|
|
432853
|
-
var init__parent = __esm(() => {
|
|
432854
|
-
init__baseGet();
|
|
432855
|
-
init__baseSlice();
|
|
432856
|
-
_parent_default = parent;
|
|
432857
|
-
});
|
|
432858
|
-
|
|
432859
|
-
// node_modules/lodash-es/_baseUnset.js
|
|
432860
|
-
function baseUnset(object4, path23) {
|
|
432861
|
-
path23 = _castPath_default(path23, object4);
|
|
432862
|
-
var index = -1, length = path23.length;
|
|
432863
|
-
if (!length) {
|
|
432864
|
-
return true;
|
|
432865
|
-
}
|
|
432866
|
-
var isRootPrimitive = object4 == null || typeof object4 !== "object" && typeof object4 !== "function";
|
|
432867
|
-
while (++index < length) {
|
|
432868
|
-
var key2 = path23[index];
|
|
432869
|
-
if (typeof key2 !== "string") {
|
|
432870
|
-
continue;
|
|
432871
|
-
}
|
|
432872
|
-
if (key2 === "__proto__" && !hasOwnProperty15.call(object4, "__proto__")) {
|
|
432873
|
-
return false;
|
|
432874
|
-
}
|
|
432875
|
-
if (key2 === "constructor" && index + 1 < length && typeof path23[index + 1] === "string" && path23[index + 1] === "prototype") {
|
|
432876
|
-
if (isRootPrimitive && index === 0) {
|
|
432877
|
-
continue;
|
|
432878
|
-
}
|
|
432879
|
-
return false;
|
|
432880
|
-
}
|
|
432881
|
-
}
|
|
432882
|
-
var obj = _parent_default(object4, path23);
|
|
432883
|
-
return obj == null || delete obj[_toKey_default(last_default(path23))];
|
|
432884
|
-
}
|
|
432885
|
-
var objectProto17, hasOwnProperty15, _baseUnset_default;
|
|
432886
|
-
var init__baseUnset = __esm(() => {
|
|
432887
|
-
init__castPath();
|
|
432888
|
-
init_last();
|
|
432889
|
-
init__parent();
|
|
432890
|
-
init__toKey();
|
|
432891
|
-
objectProto17 = Object.prototype;
|
|
432892
|
-
hasOwnProperty15 = objectProto17.hasOwnProperty;
|
|
432893
|
-
_baseUnset_default = baseUnset;
|
|
432894
|
-
});
|
|
432895
|
-
|
|
432896
|
-
// node_modules/lodash-es/_customOmitClone.js
|
|
432897
|
-
function customOmitClone(value) {
|
|
432898
|
-
return isPlainObject_default(value) ? undefined : value;
|
|
432899
|
-
}
|
|
432900
|
-
var _customOmitClone_default;
|
|
432901
|
-
var init__customOmitClone = __esm(() => {
|
|
432902
|
-
init_isPlainObject();
|
|
432903
|
-
_customOmitClone_default = customOmitClone;
|
|
432904
|
-
});
|
|
432905
|
-
|
|
432906
|
-
// node_modules/lodash-es/_isFlattenable.js
|
|
432907
|
-
function isFlattenable(value) {
|
|
432908
|
-
return isArray_default(value) || isArguments_default(value) || !!(spreadableSymbol && value && value[spreadableSymbol]);
|
|
432909
|
-
}
|
|
432910
|
-
var spreadableSymbol, _isFlattenable_default;
|
|
432911
|
-
var init__isFlattenable = __esm(() => {
|
|
432912
|
-
init__Symbol();
|
|
432913
|
-
init_isArguments();
|
|
432914
|
-
init_isArray();
|
|
432915
|
-
spreadableSymbol = _Symbol_default ? _Symbol_default.isConcatSpreadable : undefined;
|
|
432916
|
-
_isFlattenable_default = isFlattenable;
|
|
432917
|
-
});
|
|
432918
|
-
|
|
432919
|
-
// node_modules/lodash-es/_baseFlatten.js
|
|
432920
|
-
function baseFlatten(array3, depth, predicate, isStrict, result) {
|
|
432921
|
-
var index = -1, length = array3.length;
|
|
432922
|
-
predicate || (predicate = _isFlattenable_default);
|
|
432923
|
-
result || (result = []);
|
|
432924
|
-
while (++index < length) {
|
|
432925
|
-
var value = array3[index];
|
|
432926
|
-
if (depth > 0 && predicate(value)) {
|
|
432927
|
-
if (depth > 1) {
|
|
432928
|
-
baseFlatten(value, depth - 1, predicate, isStrict, result);
|
|
432929
|
-
} else {
|
|
432930
|
-
_arrayPush_default(result, value);
|
|
432931
|
-
}
|
|
432932
|
-
} else if (!isStrict) {
|
|
432933
|
-
result[result.length] = value;
|
|
432934
|
-
}
|
|
432935
|
-
}
|
|
432936
|
-
return result;
|
|
432937
|
-
}
|
|
432938
|
-
var _baseFlatten_default;
|
|
432939
|
-
var init__baseFlatten = __esm(() => {
|
|
432940
|
-
init__arrayPush();
|
|
432941
|
-
init__isFlattenable();
|
|
432942
|
-
_baseFlatten_default = baseFlatten;
|
|
432943
|
-
});
|
|
432944
|
-
|
|
432945
|
-
// node_modules/lodash-es/flatten.js
|
|
432946
|
-
function flatten(array3) {
|
|
432947
|
-
var length = array3 == null ? 0 : array3.length;
|
|
432948
|
-
return length ? _baseFlatten_default(array3, 1) : [];
|
|
432949
|
-
}
|
|
432950
|
-
var flatten_default;
|
|
432951
|
-
var init_flatten = __esm(() => {
|
|
432952
|
-
init__baseFlatten();
|
|
432953
|
-
flatten_default = flatten;
|
|
432954
|
-
});
|
|
432955
|
-
|
|
432956
|
-
// node_modules/lodash-es/_flatRest.js
|
|
432957
|
-
function flatRest(func) {
|
|
432958
|
-
return _setToString_default(_overRest_default(func, undefined, flatten_default), func + "");
|
|
432959
|
-
}
|
|
432960
|
-
var _flatRest_default;
|
|
432961
|
-
var init__flatRest = __esm(() => {
|
|
432962
|
-
init_flatten();
|
|
432963
|
-
init__overRest();
|
|
432964
|
-
init__setToString();
|
|
432965
|
-
_flatRest_default = flatRest;
|
|
432966
|
-
});
|
|
432967
|
-
|
|
432968
|
-
// node_modules/lodash-es/omit.js
|
|
432969
|
-
var CLONE_DEEP_FLAG3 = 1, CLONE_FLAT_FLAG2 = 2, CLONE_SYMBOLS_FLAG3 = 4, omit3, omit_default;
|
|
432970
|
-
var init_omit = __esm(() => {
|
|
432971
|
-
init__arrayMap();
|
|
432972
|
-
init__baseClone();
|
|
432973
|
-
init__baseUnset();
|
|
432974
|
-
init__castPath();
|
|
432975
|
-
init__copyObject();
|
|
432976
|
-
init__customOmitClone();
|
|
432977
|
-
init__flatRest();
|
|
432978
|
-
init__getAllKeysIn();
|
|
432979
|
-
omit3 = _flatRest_default(function(object4, paths2) {
|
|
432980
|
-
var result = {};
|
|
432981
|
-
if (object4 == null) {
|
|
432982
|
-
return result;
|
|
432983
|
-
}
|
|
432984
|
-
var isDeep = false;
|
|
432985
|
-
paths2 = _arrayMap_default(paths2, function(path23) {
|
|
432986
|
-
path23 = _castPath_default(path23, object4);
|
|
432987
|
-
isDeep || (isDeep = path23.length > 1);
|
|
432988
|
-
return path23;
|
|
432989
|
-
});
|
|
432990
|
-
_copyObject_default(object4, _getAllKeysIn_default(object4), result);
|
|
432991
|
-
if (isDeep) {
|
|
432992
|
-
result = _baseClone_default(result, CLONE_DEEP_FLAG3 | CLONE_FLAT_FLAG2 | CLONE_SYMBOLS_FLAG3, _customOmitClone_default);
|
|
432993
|
-
}
|
|
432994
|
-
var length = paths2.length;
|
|
432995
|
-
while (length--) {
|
|
432996
|
-
_baseUnset_default(result, paths2[length]);
|
|
432997
|
-
}
|
|
432998
|
-
return result;
|
|
432999
|
-
});
|
|
433000
|
-
omit_default = omit3;
|
|
433001
|
-
});
|
|
433002
|
-
|
|
433003
433182
|
// src/services/mcp/channelAllowlist.ts
|
|
433004
433183
|
function getChannelAllowlist() {
|
|
433005
433184
|
const raw = getFeatureValue_CACHED_MAY_BE_STALE("tengu_harbor_ledger", []);
|
|
@@ -433716,7 +433895,7 @@ function MCPReconnect(t0) {
|
|
|
433716
433895
|
let t2;
|
|
433717
433896
|
if ($3[0] !== onComplete || $3[1] !== reconnectMcpServer || $3[2] !== serverName || $3[3] !== store) {
|
|
433718
433897
|
t1 = () => {
|
|
433719
|
-
const attemptReconnect = async function
|
|
433898
|
+
const attemptReconnect = async function attemptReconnect() {
|
|
433720
433899
|
try {
|
|
433721
433900
|
const server = store.getState().mcp.clients.find((c6) => c6.name === serverName);
|
|
433722
433901
|
if (!server) {
|
|
@@ -435266,7 +435445,7 @@ function MCPToolDetailView(t0) {
|
|
|
435266
435445
|
let t6;
|
|
435267
435446
|
if ($3[10] !== tool) {
|
|
435268
435447
|
t5 = () => {
|
|
435269
|
-
const loadDescription = async function
|
|
435448
|
+
const loadDescription = async function loadDescription() {
|
|
435270
435449
|
try {
|
|
435271
435450
|
const desc = await tool.description({}, {
|
|
435272
435451
|
isNonInteractiveSession: false,
|
|
@@ -435757,7 +435936,7 @@ function MCPSettings(t0) {
|
|
|
435757
435936
|
if ($3[6] !== filteredClients || $3[7] !== mcp.tools) {
|
|
435758
435937
|
t5 = () => {
|
|
435759
435938
|
let cancelled = false;
|
|
435760
|
-
const prepareServers = async function
|
|
435939
|
+
const prepareServers = async function prepareServers() {
|
|
435761
435940
|
const serverInfos = await Promise.all(filteredClients.map(async (client_0) => {
|
|
435762
435941
|
const scope = client_0.config.scope;
|
|
435763
435942
|
const isSSE = client_0.config.type === "sse";
|
|
@@ -444944,7 +445123,7 @@ function ValidatePlugin(t0) {
|
|
|
444944
445123
|
let t2;
|
|
444945
445124
|
if ($3[0] !== onComplete || $3[1] !== path25) {
|
|
444946
445125
|
t1 = () => {
|
|
444947
|
-
const runValidation = async function
|
|
445126
|
+
const runValidation = async function runValidation() {
|
|
444948
445127
|
if (!path25) {
|
|
444949
445128
|
onComplete(`Usage: /plugin validate <path>
|
|
444950
445129
|
|
|
@@ -445061,7 +445240,7 @@ function MarketplaceList(t0) {
|
|
|
445061
445240
|
let t2;
|
|
445062
445241
|
if ($3[0] !== onComplete) {
|
|
445063
445242
|
t1 = () => {
|
|
445064
|
-
const loadList = async function
|
|
445243
|
+
const loadList = async function loadList() {
|
|
445065
445244
|
try {
|
|
445066
445245
|
const config5 = await loadKnownMarketplacesConfig();
|
|
445067
445246
|
const names = Object.keys(config5);
|
|
@@ -446590,7 +446769,7 @@ var require_error_correction_level = __commonJS((exports) => {
|
|
|
446590
446769
|
throw new Error("Unknown EC Level: " + string5);
|
|
446591
446770
|
}
|
|
446592
446771
|
}
|
|
446593
|
-
exports.isValid = function
|
|
446772
|
+
exports.isValid = function isValid(level) {
|
|
446594
446773
|
return level && typeof level.bit !== "undefined" && level.bit >= 0 && level.bit < 4;
|
|
446595
446774
|
};
|
|
446596
446775
|
exports.from = function from(value, defaultValue) {
|
|
@@ -446730,7 +446909,7 @@ var require_mask_pattern = __commonJS((exports) => {
|
|
|
446730
446909
|
N3: 40,
|
|
446731
446910
|
N4: 10
|
|
446732
446911
|
};
|
|
446733
|
-
exports.isValid = function
|
|
446912
|
+
exports.isValid = function isValid(mask) {
|
|
446734
446913
|
return mask != null && mask !== "" && !isNaN(mask) && mask >= 0 && mask <= 7;
|
|
446735
446914
|
};
|
|
446736
446915
|
exports.from = function from(value) {
|
|
@@ -447236,7 +447415,7 @@ var require_galois_field = __commonJS((exports) => {
|
|
|
447236
447415
|
EXP_TABLE[i3] = EXP_TABLE[i3 - 255];
|
|
447237
447416
|
}
|
|
447238
447417
|
})();
|
|
447239
|
-
exports.log = function
|
|
447418
|
+
exports.log = function log(n2) {
|
|
447240
447419
|
if (n2 < 1)
|
|
447241
447420
|
throw new Error("log(" + n2 + ")");
|
|
447242
447421
|
return LOG_TABLE[n2];
|
|
@@ -447295,11 +447474,11 @@ var require_reed_solomon_encoder = __commonJS((exports, module) => {
|
|
|
447295
447474
|
if (this.degree)
|
|
447296
447475
|
this.initialize(this.degree);
|
|
447297
447476
|
}
|
|
447298
|
-
ReedSolomonEncoder.prototype.initialize = function
|
|
447477
|
+
ReedSolomonEncoder.prototype.initialize = function initialize(degree) {
|
|
447299
447478
|
this.degree = degree;
|
|
447300
447479
|
this.genPoly = Polynomial.generateECPolynomial(this.degree);
|
|
447301
447480
|
};
|
|
447302
|
-
ReedSolomonEncoder.prototype.encode = function
|
|
447481
|
+
ReedSolomonEncoder.prototype.encode = function encode(data) {
|
|
447303
447482
|
if (!this.genPoly) {
|
|
447304
447483
|
throw new Error("Encoder not initialized");
|
|
447305
447484
|
}
|
|
@@ -447319,7 +447498,7 @@ var require_reed_solomon_encoder = __commonJS((exports, module) => {
|
|
|
447319
447498
|
|
|
447320
447499
|
// node_modules/qrcode/lib/core/version-check.js
|
|
447321
447500
|
var require_version_check = __commonJS((exports) => {
|
|
447322
|
-
exports.isValid = function
|
|
447501
|
+
exports.isValid = function isValid(version2) {
|
|
447323
447502
|
return !isNaN(version2) && version2 >= 1 && version2 <= 40;
|
|
447324
447503
|
};
|
|
447325
447504
|
});
|
|
@@ -447400,12 +447579,12 @@ var require_mode2 = __commonJS((exports) => {
|
|
|
447400
447579
|
else
|
|
447401
447580
|
return exports.BYTE;
|
|
447402
447581
|
};
|
|
447403
|
-
exports.toString = function
|
|
447582
|
+
exports.toString = function toString(mode) {
|
|
447404
447583
|
if (mode && mode.id)
|
|
447405
447584
|
return mode.id;
|
|
447406
447585
|
throw new Error("Invalid mode");
|
|
447407
447586
|
};
|
|
447408
|
-
exports.isValid = function
|
|
447587
|
+
exports.isValid = function isValid(mode) {
|
|
447409
447588
|
return mode && mode.bit && mode.ccBits;
|
|
447410
447589
|
};
|
|
447411
447590
|
function fromString(string5) {
|
|
@@ -447966,7 +448145,7 @@ var require_segments = __commonJS((exports) => {
|
|
|
447966
448145
|
return new ByteData(data);
|
|
447967
448146
|
}
|
|
447968
448147
|
}
|
|
447969
|
-
exports.fromArray = function
|
|
448148
|
+
exports.fromArray = function fromArray(array3) {
|
|
447970
448149
|
return array3.reduce(function(acc, seg) {
|
|
447971
448150
|
if (typeof seg === "string") {
|
|
447972
448151
|
acc.push(buildSingleSegment(seg, null));
|
|
@@ -450168,7 +450347,7 @@ var require_utils15 = __commonJS((exports) => {
|
|
|
450168
450347
|
hex: "#" + hexCode.slice(0, 6).join("")
|
|
450169
450348
|
};
|
|
450170
450349
|
}
|
|
450171
|
-
exports.getOptions = function
|
|
450350
|
+
exports.getOptions = function getOptions(options) {
|
|
450172
450351
|
if (!options)
|
|
450173
450352
|
options = {};
|
|
450174
450353
|
if (!options.color)
|
|
@@ -450225,7 +450404,7 @@ var require_png2 = __commonJS((exports) => {
|
|
|
450225
450404
|
var fs14 = __require("fs");
|
|
450226
450405
|
var PNG = require_png().PNG;
|
|
450227
450406
|
var Utils = require_utils15();
|
|
450228
|
-
exports.render = function
|
|
450407
|
+
exports.render = function render(qrData, options) {
|
|
450229
450408
|
const opts = Utils.getOptions(options);
|
|
450230
450409
|
const pngOpts = opts.rendererOpts;
|
|
450231
450410
|
const size = Utils.getImageWidth(qrData.modules.size, opts);
|
|
@@ -450493,7 +450672,7 @@ var require_svg_tag = __commonJS((exports) => {
|
|
|
450493
450672
|
}
|
|
450494
450673
|
return path25;
|
|
450495
450674
|
}
|
|
450496
|
-
exports.render = function
|
|
450675
|
+
exports.render = function render(qrData, options, cb) {
|
|
450497
450676
|
const opts = Utils.getOptions(options);
|
|
450498
450677
|
const size = qrData.modules.size;
|
|
450499
450678
|
const data = qrData.modules.data;
|
|
@@ -450546,7 +450725,7 @@ var require_canvas = __commonJS((exports) => {
|
|
|
450546
450725
|
throw new Error("You need to specify a canvas element");
|
|
450547
450726
|
}
|
|
450548
450727
|
}
|
|
450549
|
-
exports.render = function
|
|
450728
|
+
exports.render = function render(qrData, canvas, options) {
|
|
450550
450729
|
let opts = options;
|
|
450551
450730
|
let canvasEl = canvas;
|
|
450552
450731
|
if (typeof opts === "undefined" && (!canvas || !canvas.getContext)) {
|
|
@@ -450748,7 +450927,7 @@ function MobileQRCode(t0) {
|
|
|
450748
450927
|
let t3;
|
|
450749
450928
|
if ($3[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
450750
450929
|
t2 = () => {
|
|
450751
|
-
const generateQRCodes = async function
|
|
450930
|
+
const generateQRCodes = async function generateQRCodes() {
|
|
450752
450931
|
const [ios, android] = await Promise.all([$toString(PLATFORMS.ios.url, {
|
|
450753
450932
|
type: "utf8",
|
|
450754
450933
|
errorCorrectionLevel: "L"
|
|
@@ -450794,7 +450973,7 @@ function MobileQRCode(t0) {
|
|
|
450794
450973
|
useKeybinding("confirm:no", handleClose, t5);
|
|
450795
450974
|
let t6;
|
|
450796
450975
|
if ($3[6] !== onDone) {
|
|
450797
|
-
t6 = function
|
|
450976
|
+
t6 = function handleKeyDown(e) {
|
|
450798
450977
|
if (e.key === "q" || e.ctrl && e.key === "c") {
|
|
450799
450978
|
e.preventDefault();
|
|
450800
450979
|
onDone();
|
|
@@ -461373,7 +461552,7 @@ function SessionInfo(t0) {
|
|
|
461373
461552
|
return;
|
|
461374
461553
|
}
|
|
461375
461554
|
const url3 = remoteSessionUrl;
|
|
461376
|
-
const generateQRCode = async function
|
|
461555
|
+
const generateQRCode = async function generateQRCode() {
|
|
461377
461556
|
const qr = await $toString(url3, {
|
|
461378
461557
|
type: "utf8",
|
|
461379
461558
|
errorCorrectionLevel: "L"
|
|
@@ -462231,7 +462410,7 @@ var init_ccrSession = __esm(() => {
|
|
|
462231
462410
|
|
|
462232
462411
|
// src/utils/ultraplan/prompt.txt
|
|
462233
462412
|
var require_prompt = __commonJS((exports, module) => {
|
|
462234
|
-
module.exports = `Ultraplan is unavailable in the restored development build
|
|
462413
|
+
module.exports = `Ultraplan is unavailable in the restored development build.
|
|
462235
462414
|
`;
|
|
462236
462415
|
});
|
|
462237
462416
|
|
|
@@ -468052,7 +468231,7 @@ function ThinkbackMenu(t0) {
|
|
|
468052
468231
|
const options = t1;
|
|
468053
468232
|
let t2;
|
|
468054
468233
|
if ($3[2] !== onAction || $3[3] !== onDone || $3[4] !== skillDir) {
|
|
468055
|
-
t2 = function
|
|
468234
|
+
t2 = function handleSelect(value) {
|
|
468056
468235
|
setHasSelected(true);
|
|
468057
468236
|
if (value === "play") {
|
|
468058
468237
|
playAnimation(skillDir).then(() => {
|
|
@@ -468074,7 +468253,7 @@ function ThinkbackMenu(t0) {
|
|
|
468074
468253
|
const handleSelect = t2;
|
|
468075
468254
|
let t3;
|
|
468076
468255
|
if ($3[6] !== onDone) {
|
|
468077
|
-
t3 = function
|
|
468256
|
+
t3 = function handleCancel() {
|
|
468078
468257
|
onDone(undefined, {
|
|
468079
468258
|
display: "skip"
|
|
468080
468259
|
});
|
|
@@ -468164,7 +468343,7 @@ function ThinkbackFlow(t0) {
|
|
|
468164
468343
|
const [hasGenerated, setHasGenerated] = import_react166.useState(null);
|
|
468165
468344
|
let t1;
|
|
468166
468345
|
if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
468167
|
-
t1 = function
|
|
468346
|
+
t1 = function handleReady() {
|
|
468168
468347
|
setInstallComplete(true);
|
|
468169
468348
|
};
|
|
468170
468349
|
$3[0] = t1;
|
|
@@ -468237,7 +468416,7 @@ function ThinkbackFlow(t0) {
|
|
|
468237
468416
|
import_react166.useEffect(t5, t6);
|
|
468238
468417
|
let t7;
|
|
468239
468418
|
if ($3[12] !== onDone) {
|
|
468240
|
-
t7 = function
|
|
468419
|
+
t7 = function handleAction(action2) {
|
|
468241
468420
|
const prompts = {
|
|
468242
468421
|
edit: EDIT_PROMPT,
|
|
468243
468422
|
fix: FIX_PROMPT,
|
|
@@ -471218,7 +471397,7 @@ function FastModePicker(t0) {
|
|
|
471218
471397
|
const pricing = t2;
|
|
471219
471398
|
let t3;
|
|
471220
471399
|
if ($3[2] !== enableFastMode || $3[3] !== isUnavailable || $3[4] !== model || $3[5] !== onDone || $3[6] !== setAppState) {
|
|
471221
|
-
t3 = function
|
|
471400
|
+
t3 = function handleConfirm() {
|
|
471222
471401
|
if (isUnavailable) {
|
|
471223
471402
|
return;
|
|
471224
471403
|
}
|
|
@@ -471248,7 +471427,7 @@ function FastModePicker(t0) {
|
|
|
471248
471427
|
const handleConfirm = t3;
|
|
471249
471428
|
let t4;
|
|
471250
471429
|
if ($3[8] !== initialFastMode || $3[9] !== isUnavailable || $3[10] !== onDone || $3[11] !== setAppState) {
|
|
471251
|
-
t4 = function
|
|
471430
|
+
t4 = function handleCancel() {
|
|
471252
471431
|
if (isUnavailable) {
|
|
471253
471432
|
if (initialFastMode) {
|
|
471254
471433
|
applyFastMode(false, setAppState);
|
|
@@ -471274,7 +471453,7 @@ function FastModePicker(t0) {
|
|
|
471274
471453
|
const handleCancel = t4;
|
|
471275
471454
|
let t5;
|
|
471276
471455
|
if ($3[13] !== isUnavailable) {
|
|
471277
|
-
t5 = function
|
|
471456
|
+
t5 = function handleToggle() {
|
|
471278
471457
|
if (isUnavailable) {
|
|
471279
471458
|
return;
|
|
471280
471459
|
}
|
|
@@ -472112,7 +472291,7 @@ function GroveDialog(t0) {
|
|
|
472112
472291
|
let t2;
|
|
472113
472292
|
if ($3[0] !== location || $3[1] !== onDone || $3[2] !== showIfAlreadyViewed) {
|
|
472114
472293
|
t1 = () => {
|
|
472115
|
-
const checkGroveSettings = async function
|
|
472294
|
+
const checkGroveSettings = async function checkGroveSettings() {
|
|
472116
472295
|
const [settingsResult, configResult] = await Promise.all([getGroveSettings(), getGroveNoticeConfig()]);
|
|
472117
472296
|
const config5 = configResult.success ? configResult.data : null;
|
|
472118
472297
|
setGroveConfig(config5);
|
|
@@ -472149,7 +472328,7 @@ function GroveDialog(t0) {
|
|
|
472149
472328
|
}
|
|
472150
472329
|
let t3;
|
|
472151
472330
|
if ($3[5] !== groveConfig?.notice_is_grace_period || $3[6] !== onDone) {
|
|
472152
|
-
t3 = async function
|
|
472331
|
+
t3 = async function onChange(value) {
|
|
472153
472332
|
bb21:
|
|
472154
472333
|
switch (value) {
|
|
472155
472334
|
case "accept_opt_in": {
|
|
@@ -472207,7 +472386,7 @@ function GroveDialog(t0) {
|
|
|
472207
472386
|
const acceptOptions = t4;
|
|
472208
472387
|
let t5;
|
|
472209
472388
|
if ($3[10] !== groveConfig?.notice_is_grace_period || $3[11] !== onChange) {
|
|
472210
|
-
t5 = function
|
|
472389
|
+
t5 = function handleCancel() {
|
|
472211
472390
|
if (groveConfig?.notice_is_grace_period) {
|
|
472212
472391
|
onChange("defer");
|
|
472213
472392
|
return;
|
|
@@ -474659,61 +474838,6 @@ var init_branch2 = __esm(() => {
|
|
|
474659
474838
|
branch_default = branch;
|
|
474660
474839
|
});
|
|
474661
474840
|
|
|
474662
|
-
// node_modules/lodash-es/_arrayAggregator.js
|
|
474663
|
-
function arrayAggregator(array3, setter, iteratee, accumulator) {
|
|
474664
|
-
var index = -1, length = array3 == null ? 0 : array3.length;
|
|
474665
|
-
while (++index < length) {
|
|
474666
|
-
var value = array3[index];
|
|
474667
|
-
setter(accumulator, value, iteratee(value), array3);
|
|
474668
|
-
}
|
|
474669
|
-
return accumulator;
|
|
474670
|
-
}
|
|
474671
|
-
var _arrayAggregator_default;
|
|
474672
|
-
var init__arrayAggregator = __esm(() => {
|
|
474673
|
-
_arrayAggregator_default = arrayAggregator;
|
|
474674
|
-
});
|
|
474675
|
-
|
|
474676
|
-
// node_modules/lodash-es/_baseAggregator.js
|
|
474677
|
-
function baseAggregator(collection, setter, iteratee, accumulator) {
|
|
474678
|
-
_baseEach_default(collection, function(value, key2, collection2) {
|
|
474679
|
-
setter(accumulator, value, iteratee(value), collection2);
|
|
474680
|
-
});
|
|
474681
|
-
return accumulator;
|
|
474682
|
-
}
|
|
474683
|
-
var _baseAggregator_default;
|
|
474684
|
-
var init__baseAggregator = __esm(() => {
|
|
474685
|
-
init__baseEach();
|
|
474686
|
-
_baseAggregator_default = baseAggregator;
|
|
474687
|
-
});
|
|
474688
|
-
|
|
474689
|
-
// node_modules/lodash-es/_createAggregator.js
|
|
474690
|
-
function createAggregator(setter, initializer3) {
|
|
474691
|
-
return function(collection, iteratee) {
|
|
474692
|
-
var func = isArray_default(collection) ? _arrayAggregator_default : _baseAggregator_default, accumulator = initializer3 ? initializer3() : {};
|
|
474693
|
-
return func(collection, setter, _baseIteratee_default(iteratee, 2), accumulator);
|
|
474694
|
-
};
|
|
474695
|
-
}
|
|
474696
|
-
var _createAggregator_default;
|
|
474697
|
-
var init__createAggregator = __esm(() => {
|
|
474698
|
-
init__arrayAggregator();
|
|
474699
|
-
init__baseAggregator();
|
|
474700
|
-
init__baseIteratee();
|
|
474701
|
-
init_isArray();
|
|
474702
|
-
_createAggregator_default = createAggregator;
|
|
474703
|
-
});
|
|
474704
|
-
|
|
474705
|
-
// node_modules/lodash-es/partition.js
|
|
474706
|
-
var partition2, partition_default;
|
|
474707
|
-
var init_partition = __esm(() => {
|
|
474708
|
-
init__createAggregator();
|
|
474709
|
-
partition2 = _createAggregator_default(function(result, value, key2) {
|
|
474710
|
-
result[key2 ? 0 : 1].push(value);
|
|
474711
|
-
}, function() {
|
|
474712
|
-
return [[], []];
|
|
474713
|
-
});
|
|
474714
|
-
partition_default = partition2;
|
|
474715
|
-
});
|
|
474716
|
-
|
|
474717
474841
|
// src/utils/toolPool.ts
|
|
474718
474842
|
function mergeAndFilterTools(initialTools, assembled, mode) {
|
|
474719
474843
|
const [mcp2, builtIn] = partition_default(uniqBy_default([...initialTools, ...assembled], "name"), isMcpTool);
|
|
@@ -475002,7 +475126,7 @@ function AgentDetail(t0) {
|
|
|
475002
475126
|
t4 = $3[6];
|
|
475003
475127
|
}
|
|
475004
475128
|
const handleKeyDown = t4;
|
|
475005
|
-
const renderToolsList = function
|
|
475129
|
+
const renderToolsList = function renderToolsList() {
|
|
475006
475130
|
if (resolvedTools.hasWildcard) {
|
|
475007
475131
|
return /* @__PURE__ */ jsx_dev_runtime309.jsxDEV(ThemedText, {
|
|
475008
475132
|
children: "All tools"
|
|
@@ -482550,7 +482674,7 @@ function OverridesSelect(t0) {
|
|
|
482550
482674
|
const options = t6;
|
|
482551
482675
|
let t7;
|
|
482552
482676
|
if ($3[9] !== onComplete) {
|
|
482553
|
-
t7 = async function
|
|
482677
|
+
t7 = async function handleSelect(value) {
|
|
482554
482678
|
const mode = value;
|
|
482555
482679
|
await SandboxManager2.setSandboxSettings({
|
|
482556
482680
|
allowUnsandboxedCommands: mode === "open"
|
|
@@ -482784,7 +482908,7 @@ function SandboxSettings(t0) {
|
|
|
482784
482908
|
const options = t9;
|
|
482785
482909
|
let t10;
|
|
482786
482910
|
if ($3[13] !== onComplete) {
|
|
482787
|
-
t10 = async function
|
|
482911
|
+
t10 = async function handleSelect(value) {
|
|
482788
482912
|
const mode = value;
|
|
482789
482913
|
bb33:
|
|
482790
482914
|
switch (mode) {
|
|
@@ -483445,7 +483569,7 @@ async function isChromeExtensionInstalled() {
|
|
|
483445
483569
|
}
|
|
483446
483570
|
var CHROME_EXTENSION_RECONNECT_URL = "https://clau.de/chrome/reconnect", NATIVE_HOST_IDENTIFIER = "com.anthropic.claude_code_browser_extension", NATIVE_HOST_MANIFEST_NAME, shouldAutoEnable = undefined;
|
|
483447
483571
|
var init_setup2 = __esm(() => {
|
|
483448
|
-
|
|
483572
|
+
init_ant_claude_for_chrome_mcp();
|
|
483449
483573
|
init_state();
|
|
483450
483574
|
init_growthbook();
|
|
483451
483575
|
init_config();
|
|
@@ -483498,7 +483622,7 @@ function ClaudeInChromeMenu(t0) {
|
|
|
483498
483622
|
const isConnected2 = chromeClient?.type === "connected";
|
|
483499
483623
|
let t3;
|
|
483500
483624
|
if ($3[3] === Symbol.for("react.memo_cache_sentinel")) {
|
|
483501
|
-
t3 = function
|
|
483625
|
+
t3 = function openUrl(url3) {
|
|
483502
483626
|
if (isHomespace) {
|
|
483503
483627
|
openBrowser(url3);
|
|
483504
483628
|
} else {
|
|
@@ -483512,7 +483636,7 @@ function ClaudeInChromeMenu(t0) {
|
|
|
483512
483636
|
const openUrl = t3;
|
|
483513
483637
|
let t4;
|
|
483514
483638
|
if ($3[4] !== enabledByDefault) {
|
|
483515
|
-
t4 = function
|
|
483639
|
+
t4 = function handleAction(action2) {
|
|
483516
483640
|
bb22:
|
|
483517
483641
|
switch (action2) {
|
|
483518
483642
|
case "install-extension": {
|
|
@@ -484750,7 +484874,7 @@ function ExitFlow(t0) {
|
|
|
484750
484874
|
} = t0;
|
|
484751
484875
|
let t1;
|
|
484752
484876
|
if ($3[0] !== onDone) {
|
|
484753
|
-
t1 = async function
|
|
484877
|
+
t1 = async function onExit(resultMessage) {
|
|
484754
484878
|
onDone(resultMessage ?? getRandomGoodbyeMessage());
|
|
484755
484879
|
await gracefulShutdown(0, "prompt_input_exit");
|
|
484756
484880
|
};
|
|
@@ -485203,7 +485327,7 @@ function ModelPickerWrapper(t0) {
|
|
|
485203
485327
|
const setAppState = useSetAppState();
|
|
485204
485328
|
let t1;
|
|
485205
485329
|
if ($3[0] !== mainLoopModel || $3[1] !== onDone) {
|
|
485206
|
-
t1 = function
|
|
485330
|
+
t1 = function handleCancel() {
|
|
485207
485331
|
logEvent("tengu_model_command_menu", {
|
|
485208
485332
|
action: "cancel"
|
|
485209
485333
|
});
|
|
@@ -485221,7 +485345,7 @@ function ModelPickerWrapper(t0) {
|
|
|
485221
485345
|
const handleCancel = t1;
|
|
485222
485346
|
let t2;
|
|
485223
485347
|
if ($3[3] !== isFastMode || $3[4] !== mainLoopModel || $3[5] !== onDone || $3[6] !== setAppState) {
|
|
485224
|
-
t2 = function
|
|
485348
|
+
t2 = function handleSelect(model, effort) {
|
|
485225
485349
|
logEvent("tengu_model_command_menu", {
|
|
485226
485350
|
action: model,
|
|
485227
485351
|
from_model: mainLoopModel,
|
|
@@ -485866,7 +485990,7 @@ function RemoteEnvironmentDialog(t0) {
|
|
|
485866
485990
|
if ($3[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
485867
485991
|
t2 = () => {
|
|
485868
485992
|
let cancelled = false;
|
|
485869
|
-
const fetchInfo = async function
|
|
485993
|
+
const fetchInfo = async function fetchInfo() {
|
|
485870
485994
|
try {
|
|
485871
485995
|
const result = await getEnvironmentSelectionInfo();
|
|
485872
485996
|
if (cancelled) {
|
|
@@ -485902,7 +486026,7 @@ function RemoteEnvironmentDialog(t0) {
|
|
|
485902
486026
|
import_react191.useEffect(t2, t3);
|
|
485903
486027
|
let t4;
|
|
485904
486028
|
if ($3[3] !== environments || $3[4] !== onDone) {
|
|
485905
|
-
t4 = function
|
|
486029
|
+
t4 = function handleSelect(value) {
|
|
485906
486030
|
if (value === "cancel") {
|
|
485907
486031
|
onDone();
|
|
485908
486032
|
return;
|
|
@@ -486511,7 +486635,7 @@ function RateLimitOptionsMenu(t0) {
|
|
|
486511
486635
|
const options = t3;
|
|
486512
486636
|
let t4;
|
|
486513
486637
|
if ($3[13] !== onDone) {
|
|
486514
|
-
t4 = function
|
|
486638
|
+
t4 = function handleCancel() {
|
|
486515
486639
|
logEvent("tengu_rate_limit_options_menu_cancel", {});
|
|
486516
486640
|
onDone(undefined, {
|
|
486517
486641
|
display: "skip"
|
|
@@ -486525,7 +486649,7 @@ function RateLimitOptionsMenu(t0) {
|
|
|
486525
486649
|
const handleCancel = t4;
|
|
486526
486650
|
let t5;
|
|
486527
486651
|
if ($3[15] !== context2 || $3[16] !== handleCancel || $3[17] !== onDone) {
|
|
486528
|
-
t5 = function
|
|
486652
|
+
t5 = function handleSelect(value) {
|
|
486529
486653
|
if (value === "upgrade") {
|
|
486530
486654
|
logEvent("tengu_rate_limit_options_menu_select_upgrade", {});
|
|
486531
486655
|
call70(onDone, context2).then((jsx) => {
|
|
@@ -505502,7 +505626,7 @@ class DebugLogger {
|
|
|
505502
505626
|
}
|
|
505503
505627
|
var EXTENSION_DOWNLOAD_URL = "https://claude.ai/chrome", BUG_REPORT_URL = "https://github.com/anthropics/claude-code/issues/new?labels=bug,claude-in-chrome", SAFE_BRIDGE_STRING_KEYS, PERMISSION_MODES4;
|
|
505504
505628
|
var init_mcpServer = __esm(() => {
|
|
505505
|
-
|
|
505629
|
+
init_ant_claude_for_chrome_mcp();
|
|
505506
505630
|
init_stdio2();
|
|
505507
505631
|
init_datadog();
|
|
505508
505632
|
init_firstPartyEventLogger();
|
|
@@ -505944,7 +506068,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
505944
506068
|
this._name = name;
|
|
505945
506069
|
break;
|
|
505946
506070
|
}
|
|
505947
|
-
if (this._name.
|
|
506071
|
+
if (this._name.endsWith("...")) {
|
|
505948
506072
|
this.variadic = true;
|
|
505949
506073
|
this._name = this._name.slice(0, -3);
|
|
505950
506074
|
}
|
|
@@ -505952,11 +506076,12 @@ var require_argument = __commonJS((exports) => {
|
|
|
505952
506076
|
name() {
|
|
505953
506077
|
return this._name;
|
|
505954
506078
|
}
|
|
505955
|
-
|
|
506079
|
+
_collectValue(value, previous) {
|
|
505956
506080
|
if (previous === this.defaultValue || !Array.isArray(previous)) {
|
|
505957
506081
|
return [value];
|
|
505958
506082
|
}
|
|
505959
|
-
|
|
506083
|
+
previous.push(value);
|
|
506084
|
+
return previous;
|
|
505960
506085
|
}
|
|
505961
506086
|
default(value, description) {
|
|
505962
506087
|
this.defaultValue = value;
|
|
@@ -505974,7 +506099,7 @@ var require_argument = __commonJS((exports) => {
|
|
|
505974
506099
|
throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(", ")}.`);
|
|
505975
506100
|
}
|
|
505976
506101
|
if (this.variadic) {
|
|
505977
|
-
return this.
|
|
506102
|
+
return this._collectValue(arg, previous);
|
|
505978
506103
|
}
|
|
505979
506104
|
return arg;
|
|
505980
506105
|
};
|
|
@@ -506139,7 +506264,11 @@ var require_help = __commonJS((exports) => {
|
|
|
506139
506264
|
extraInfo.push(`env: ${option.envVar}`);
|
|
506140
506265
|
}
|
|
506141
506266
|
if (extraInfo.length > 0) {
|
|
506142
|
-
|
|
506267
|
+
const extraDescription = `(${extraInfo.join(", ")})`;
|
|
506268
|
+
if (option.description) {
|
|
506269
|
+
return `${option.description} ${extraDescription}`;
|
|
506270
|
+
}
|
|
506271
|
+
return extraDescription;
|
|
506143
506272
|
}
|
|
506144
506273
|
return option.description;
|
|
506145
506274
|
}
|
|
@@ -506160,6 +506289,27 @@ var require_help = __commonJS((exports) => {
|
|
|
506160
506289
|
}
|
|
506161
506290
|
return argument.description;
|
|
506162
506291
|
}
|
|
506292
|
+
formatItemList(heading, items, helper) {
|
|
506293
|
+
if (items.length === 0)
|
|
506294
|
+
return [];
|
|
506295
|
+
return [helper.styleTitle(heading), ...items, ""];
|
|
506296
|
+
}
|
|
506297
|
+
groupItems(unsortedItems, visibleItems, getGroup) {
|
|
506298
|
+
const result = new Map;
|
|
506299
|
+
unsortedItems.forEach((item) => {
|
|
506300
|
+
const group = getGroup(item);
|
|
506301
|
+
if (!result.has(group))
|
|
506302
|
+
result.set(group, []);
|
|
506303
|
+
});
|
|
506304
|
+
visibleItems.forEach((item) => {
|
|
506305
|
+
const group = getGroup(item);
|
|
506306
|
+
if (!result.has(group)) {
|
|
506307
|
+
result.set(group, []);
|
|
506308
|
+
}
|
|
506309
|
+
result.get(group).push(item);
|
|
506310
|
+
});
|
|
506311
|
+
return result;
|
|
506312
|
+
}
|
|
506163
506313
|
formatHelp(cmd, helper) {
|
|
506164
506314
|
const termWidth = helper.padWidth(cmd, helper);
|
|
506165
506315
|
const helpWidth = helper.helpWidth ?? 80;
|
|
@@ -506180,45 +506330,27 @@ var require_help = __commonJS((exports) => {
|
|
|
506180
506330
|
const argumentList = helper.visibleArguments(cmd).map((argument) => {
|
|
506181
506331
|
return callFormatItem(helper.styleArgumentTerm(helper.argumentTerm(argument)), helper.styleArgumentDescription(helper.argumentDescription(argument)));
|
|
506182
506332
|
});
|
|
506183
|
-
|
|
506184
|
-
|
|
506185
|
-
|
|
506186
|
-
|
|
506187
|
-
|
|
506188
|
-
|
|
506189
|
-
|
|
506190
|
-
const optionList = helper.visibleOptions(cmd).map((option) => {
|
|
506191
|
-
return callFormatItem(helper.styleOptionTerm(helper.optionTerm(option)), helper.styleOptionDescription(helper.optionDescription(option)));
|
|
506333
|
+
output = output.concat(this.formatItemList("Arguments:", argumentList, helper));
|
|
506334
|
+
const optionGroups = this.groupItems(cmd.options, helper.visibleOptions(cmd), (option) => option.helpGroupHeading ?? "Options:");
|
|
506335
|
+
optionGroups.forEach((options, group) => {
|
|
506336
|
+
const optionList = options.map((option) => {
|
|
506337
|
+
return callFormatItem(helper.styleOptionTerm(helper.optionTerm(option)), helper.styleOptionDescription(helper.optionDescription(option)));
|
|
506338
|
+
});
|
|
506339
|
+
output = output.concat(this.formatItemList(group, optionList, helper));
|
|
506192
506340
|
});
|
|
506193
|
-
if (optionList.length > 0) {
|
|
506194
|
-
output = output.concat([
|
|
506195
|
-
helper.styleTitle("Options:"),
|
|
506196
|
-
...optionList,
|
|
506197
|
-
""
|
|
506198
|
-
]);
|
|
506199
|
-
}
|
|
506200
506341
|
if (helper.showGlobalOptions) {
|
|
506201
506342
|
const globalOptionList = helper.visibleGlobalOptions(cmd).map((option) => {
|
|
506202
506343
|
return callFormatItem(helper.styleOptionTerm(helper.optionTerm(option)), helper.styleOptionDescription(helper.optionDescription(option)));
|
|
506203
506344
|
});
|
|
506204
|
-
|
|
506205
|
-
output = output.concat([
|
|
506206
|
-
helper.styleTitle("Global Options:"),
|
|
506207
|
-
...globalOptionList,
|
|
506208
|
-
""
|
|
506209
|
-
]);
|
|
506210
|
-
}
|
|
506345
|
+
output = output.concat(this.formatItemList("Global Options:", globalOptionList, helper));
|
|
506211
506346
|
}
|
|
506212
|
-
const
|
|
506213
|
-
|
|
506347
|
+
const commandGroups = this.groupItems(cmd.commands, helper.visibleCommands(cmd), (sub) => sub.helpGroup() || "Commands:");
|
|
506348
|
+
commandGroups.forEach((commands, group) => {
|
|
506349
|
+
const commandList = commands.map((sub) => {
|
|
506350
|
+
return callFormatItem(helper.styleSubcommandTerm(helper.subcommandTerm(sub)), helper.styleSubcommandDescription(helper.subcommandDescription(sub)));
|
|
506351
|
+
});
|
|
506352
|
+
output = output.concat(this.formatItemList(group, commandList, helper));
|
|
506214
506353
|
});
|
|
506215
|
-
if (commandList.length > 0) {
|
|
506216
|
-
output = output.concat([
|
|
506217
|
-
helper.styleTitle("Commands:"),
|
|
506218
|
-
...commandList,
|
|
506219
|
-
""
|
|
506220
|
-
]);
|
|
506221
|
-
}
|
|
506222
506354
|
return output.join(`
|
|
506223
506355
|
`);
|
|
506224
506356
|
}
|
|
@@ -506375,6 +506507,7 @@ var require_option = __commonJS((exports) => {
|
|
|
506375
506507
|
this.argChoices = undefined;
|
|
506376
506508
|
this.conflictsWith = [];
|
|
506377
506509
|
this.implied = undefined;
|
|
506510
|
+
this.helpGroupHeading = undefined;
|
|
506378
506511
|
}
|
|
506379
506512
|
default(value, description) {
|
|
506380
506513
|
this.defaultValue = value;
|
|
@@ -506413,11 +506546,12 @@ var require_option = __commonJS((exports) => {
|
|
|
506413
506546
|
this.hidden = !!hide;
|
|
506414
506547
|
return this;
|
|
506415
506548
|
}
|
|
506416
|
-
|
|
506549
|
+
_collectValue(value, previous) {
|
|
506417
506550
|
if (previous === this.defaultValue || !Array.isArray(previous)) {
|
|
506418
506551
|
return [value];
|
|
506419
506552
|
}
|
|
506420
|
-
|
|
506553
|
+
previous.push(value);
|
|
506554
|
+
return previous;
|
|
506421
506555
|
}
|
|
506422
506556
|
choices(values3) {
|
|
506423
506557
|
this.argChoices = values3.slice();
|
|
@@ -506426,7 +506560,7 @@ var require_option = __commonJS((exports) => {
|
|
|
506426
506560
|
throw new InvalidArgumentError(`Allowed choices are ${this.argChoices.join(", ")}.`);
|
|
506427
506561
|
}
|
|
506428
506562
|
if (this.variadic) {
|
|
506429
|
-
return this.
|
|
506563
|
+
return this._collectValue(arg, previous);
|
|
506430
506564
|
}
|
|
506431
506565
|
return arg;
|
|
506432
506566
|
};
|
|
@@ -506444,6 +506578,10 @@ var require_option = __commonJS((exports) => {
|
|
|
506444
506578
|
}
|
|
506445
506579
|
return camelcase(this.name());
|
|
506446
506580
|
}
|
|
506581
|
+
helpGroup(heading) {
|
|
506582
|
+
this.helpGroupHeading = heading;
|
|
506583
|
+
return this;
|
|
506584
|
+
}
|
|
506447
506585
|
is(arg) {
|
|
506448
506586
|
return this.short === arg || this.long === arg;
|
|
506449
506587
|
}
|
|
@@ -506661,6 +506799,9 @@ var require_command = __commonJS((exports) => {
|
|
|
506661
506799
|
this._addImplicitHelpCommand = undefined;
|
|
506662
506800
|
this._helpCommand = undefined;
|
|
506663
506801
|
this._helpConfiguration = {};
|
|
506802
|
+
this._helpGroupHeading = undefined;
|
|
506803
|
+
this._defaultCommandGroup = undefined;
|
|
506804
|
+
this._defaultOptionGroup = undefined;
|
|
506664
506805
|
}
|
|
506665
506806
|
copyInheritedSettings(sourceCommand) {
|
|
506666
506807
|
this._outputConfiguration = sourceCommand._outputConfiguration;
|
|
@@ -506725,7 +506866,10 @@ var require_command = __commonJS((exports) => {
|
|
|
506725
506866
|
configureOutput(configuration) {
|
|
506726
506867
|
if (configuration === undefined)
|
|
506727
506868
|
return this._outputConfiguration;
|
|
506728
|
-
|
|
506869
|
+
this._outputConfiguration = {
|
|
506870
|
+
...this._outputConfiguration,
|
|
506871
|
+
...configuration
|
|
506872
|
+
};
|
|
506729
506873
|
return this;
|
|
506730
506874
|
}
|
|
506731
506875
|
showHelpAfterError(displayHelp = true) {
|
|
@@ -506756,12 +506900,12 @@ var require_command = __commonJS((exports) => {
|
|
|
506756
506900
|
createArgument(name, description) {
|
|
506757
506901
|
return new Argument(name, description);
|
|
506758
506902
|
}
|
|
506759
|
-
argument(name, description,
|
|
506903
|
+
argument(name, description, parseArg, defaultValue) {
|
|
506760
506904
|
const argument = this.createArgument(name, description);
|
|
506761
|
-
if (typeof
|
|
506762
|
-
argument.default(defaultValue).argParser(
|
|
506905
|
+
if (typeof parseArg === "function") {
|
|
506906
|
+
argument.default(defaultValue).argParser(parseArg);
|
|
506763
506907
|
} else {
|
|
506764
|
-
argument.default(
|
|
506908
|
+
argument.default(parseArg);
|
|
506765
506909
|
}
|
|
506766
506910
|
this.addArgument(argument);
|
|
506767
506911
|
return this;
|
|
@@ -506774,7 +506918,7 @@ var require_command = __commonJS((exports) => {
|
|
|
506774
506918
|
}
|
|
506775
506919
|
addArgument(argument) {
|
|
506776
506920
|
const previousArgument = this.registeredArguments.slice(-1)[0];
|
|
506777
|
-
if (previousArgument
|
|
506921
|
+
if (previousArgument?.variadic) {
|
|
506778
506922
|
throw new Error(`only the last argument can be variadic '${previousArgument.name()}'`);
|
|
506779
506923
|
}
|
|
506780
506924
|
if (argument.required && argument.defaultValue !== undefined && argument.parseArg === undefined) {
|
|
@@ -506786,10 +506930,13 @@ var require_command = __commonJS((exports) => {
|
|
|
506786
506930
|
helpCommand(enableOrNameAndArgs, description) {
|
|
506787
506931
|
if (typeof enableOrNameAndArgs === "boolean") {
|
|
506788
506932
|
this._addImplicitHelpCommand = enableOrNameAndArgs;
|
|
506933
|
+
if (enableOrNameAndArgs && this._defaultCommandGroup) {
|
|
506934
|
+
this._initCommandGroup(this._getHelpCommand());
|
|
506935
|
+
}
|
|
506789
506936
|
return this;
|
|
506790
506937
|
}
|
|
506791
|
-
|
|
506792
|
-
const [, helpName, helpArgs] =
|
|
506938
|
+
const nameAndArgs = enableOrNameAndArgs ?? "help [command]";
|
|
506939
|
+
const [, helpName, helpArgs] = nameAndArgs.match(/([^ ]+) *(.*)/);
|
|
506793
506940
|
const helpDescription = description ?? "display help for command";
|
|
506794
506941
|
const helpCommand = this.createCommand(helpName);
|
|
506795
506942
|
helpCommand.helpOption(false);
|
|
@@ -506799,6 +506946,8 @@ var require_command = __commonJS((exports) => {
|
|
|
506799
506946
|
helpCommand.description(helpDescription);
|
|
506800
506947
|
this._addImplicitHelpCommand = true;
|
|
506801
506948
|
this._helpCommand = helpCommand;
|
|
506949
|
+
if (enableOrNameAndArgs || description)
|
|
506950
|
+
this._initCommandGroup(helpCommand);
|
|
506802
506951
|
return this;
|
|
506803
506952
|
}
|
|
506804
506953
|
addHelpCommand(helpCommand, deprecatedDescription) {
|
|
@@ -506808,6 +506957,7 @@ var require_command = __commonJS((exports) => {
|
|
|
506808
506957
|
}
|
|
506809
506958
|
this._addImplicitHelpCommand = true;
|
|
506810
506959
|
this._helpCommand = helpCommand;
|
|
506960
|
+
this._initCommandGroup(helpCommand);
|
|
506811
506961
|
return this;
|
|
506812
506962
|
}
|
|
506813
506963
|
_getHelpCommand() {
|
|
@@ -506840,7 +506990,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
506840
506990
|
this._exitCallback = (err2) => {
|
|
506841
506991
|
if (err2.code !== "commander.executeSubCommandAsync") {
|
|
506842
506992
|
throw err2;
|
|
506843
|
-
}
|
|
506993
|
+
} else {}
|
|
506844
506994
|
};
|
|
506845
506995
|
}
|
|
506846
506996
|
return this;
|
|
@@ -506887,6 +507037,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
506887
507037
|
throw new Error(`Cannot add option '${option.flags}'${this._name && ` to command '${this._name}'`} due to conflicting flag '${matchingFlag}'
|
|
506888
507038
|
- already used by option '${matchingOption.flags}'`);
|
|
506889
507039
|
}
|
|
507040
|
+
this._initOptionGroup(option);
|
|
506890
507041
|
this.options.push(option);
|
|
506891
507042
|
}
|
|
506892
507043
|
_registerCommand(command8) {
|
|
@@ -506899,6 +507050,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
506899
507050
|
const newCmd = knownBy(command8).join("|");
|
|
506900
507051
|
throw new Error(`cannot add command '${newCmd}' as already have command '${existingCmd}'`);
|
|
506901
507052
|
}
|
|
507053
|
+
this._initCommandGroup(command8);
|
|
506902
507054
|
this.commands.push(command8);
|
|
506903
507055
|
}
|
|
506904
507056
|
addOption(option) {
|
|
@@ -506921,7 +507073,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
506921
507073
|
if (val !== null && option.parseArg) {
|
|
506922
507074
|
val = this._callParseArg(option, val, oldValue, invalidValueMessage);
|
|
506923
507075
|
} else if (val !== null && option.variadic) {
|
|
506924
|
-
val = option.
|
|
507076
|
+
val = option._collectValue(val, oldValue);
|
|
506925
507077
|
}
|
|
506926
507078
|
if (val == null) {
|
|
506927
507079
|
if (option.negate) {
|
|
@@ -507296,7 +507448,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507296
507448
|
this.processedArgs = processedArgs;
|
|
507297
507449
|
}
|
|
507298
507450
|
_chainOrCall(promise3, fn) {
|
|
507299
|
-
if (promise3
|
|
507451
|
+
if (promise3?.then && typeof promise3.then === "function") {
|
|
507300
507452
|
return promise3.then(() => fn());
|
|
507301
507453
|
}
|
|
507302
507454
|
return fn();
|
|
@@ -507373,7 +507525,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507373
507525
|
promiseChain = this._chainOrCallHooks(promiseChain, "postAction");
|
|
507374
507526
|
return promiseChain;
|
|
507375
507527
|
}
|
|
507376
|
-
if (this.parent
|
|
507528
|
+
if (this.parent?.listenerCount(commandEvent)) {
|
|
507377
507529
|
checkForUnknownOptions();
|
|
507378
507530
|
this._processArguments();
|
|
507379
507531
|
this.parent.emit(commandEvent, operands, unknown3);
|
|
@@ -507435,24 +507587,31 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507435
507587
|
cmd._checkForConflictingLocalOptions();
|
|
507436
507588
|
});
|
|
507437
507589
|
}
|
|
507438
|
-
parseOptions(
|
|
507590
|
+
parseOptions(args) {
|
|
507439
507591
|
const operands = [];
|
|
507440
507592
|
const unknown3 = [];
|
|
507441
507593
|
let dest = operands;
|
|
507442
|
-
const args = argv.slice();
|
|
507443
507594
|
function maybeOption(arg) {
|
|
507444
507595
|
return arg.length > 1 && arg[0] === "-";
|
|
507445
507596
|
}
|
|
507597
|
+
const negativeNumberArg = (arg) => {
|
|
507598
|
+
if (!/^-(\d+|\d*\.\d+)(e[+-]?\d+)?$/.test(arg))
|
|
507599
|
+
return false;
|
|
507600
|
+
return !this._getCommandAndAncestors().some((cmd) => cmd.options.map((opt) => opt.short).some((short) => /^-\d$/.test(short)));
|
|
507601
|
+
};
|
|
507446
507602
|
let activeVariadicOption = null;
|
|
507447
|
-
|
|
507448
|
-
|
|
507603
|
+
let activeGroup = null;
|
|
507604
|
+
let i3 = 0;
|
|
507605
|
+
while (i3 < args.length || activeGroup) {
|
|
507606
|
+
const arg = activeGroup ?? args[i3++];
|
|
507607
|
+
activeGroup = null;
|
|
507449
507608
|
if (arg === "--") {
|
|
507450
507609
|
if (dest === unknown3)
|
|
507451
507610
|
dest.push(arg);
|
|
507452
|
-
dest.push(...args);
|
|
507611
|
+
dest.push(...args.slice(i3));
|
|
507453
507612
|
break;
|
|
507454
507613
|
}
|
|
507455
|
-
if (activeVariadicOption && !maybeOption(arg)) {
|
|
507614
|
+
if (activeVariadicOption && (!maybeOption(arg) || negativeNumberArg(arg))) {
|
|
507456
507615
|
this.emit(`option:${activeVariadicOption.name()}`, arg);
|
|
507457
507616
|
continue;
|
|
507458
507617
|
}
|
|
@@ -507461,14 +507620,14 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507461
507620
|
const option = this._findOption(arg);
|
|
507462
507621
|
if (option) {
|
|
507463
507622
|
if (option.required) {
|
|
507464
|
-
const value = args
|
|
507623
|
+
const value = args[i3++];
|
|
507465
507624
|
if (value === undefined)
|
|
507466
507625
|
this.optionMissingArgument(option);
|
|
507467
507626
|
this.emit(`option:${option.name()}`, value);
|
|
507468
507627
|
} else if (option.optional) {
|
|
507469
507628
|
let value = null;
|
|
507470
|
-
if (args.length
|
|
507471
|
-
value = args
|
|
507629
|
+
if (i3 < args.length && (!maybeOption(args[i3]) || negativeNumberArg(args[i3]))) {
|
|
507630
|
+
value = args[i3++];
|
|
507472
507631
|
}
|
|
507473
507632
|
this.emit(`option:${option.name()}`, value);
|
|
507474
507633
|
} else {
|
|
@@ -507485,7 +507644,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507485
507644
|
this.emit(`option:${option.name()}`, arg.slice(2));
|
|
507486
507645
|
} else {
|
|
507487
507646
|
this.emit(`option:${option.name()}`);
|
|
507488
|
-
|
|
507647
|
+
activeGroup = `-${arg.slice(2)}`;
|
|
507489
507648
|
}
|
|
507490
507649
|
continue;
|
|
507491
507650
|
}
|
|
@@ -507498,31 +507657,24 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507498
507657
|
continue;
|
|
507499
507658
|
}
|
|
507500
507659
|
}
|
|
507501
|
-
if (maybeOption(arg)) {
|
|
507660
|
+
if (dest === operands && maybeOption(arg) && !(this.commands.length === 0 && negativeNumberArg(arg))) {
|
|
507502
507661
|
dest = unknown3;
|
|
507503
507662
|
}
|
|
507504
507663
|
if ((this._enablePositionalOptions || this._passThroughOptions) && operands.length === 0 && unknown3.length === 0) {
|
|
507505
507664
|
if (this._findCommand(arg)) {
|
|
507506
507665
|
operands.push(arg);
|
|
507507
|
-
|
|
507508
|
-
unknown3.push(...args);
|
|
507666
|
+
unknown3.push(...args.slice(i3));
|
|
507509
507667
|
break;
|
|
507510
507668
|
} else if (this._getHelpCommand() && arg === this._getHelpCommand().name()) {
|
|
507511
|
-
operands.push(arg);
|
|
507512
|
-
if (args.length > 0)
|
|
507513
|
-
operands.push(...args);
|
|
507669
|
+
operands.push(arg, ...args.slice(i3));
|
|
507514
507670
|
break;
|
|
507515
507671
|
} else if (this._defaultCommandName) {
|
|
507516
|
-
unknown3.push(arg);
|
|
507517
|
-
if (args.length > 0)
|
|
507518
|
-
unknown3.push(...args);
|
|
507672
|
+
unknown3.push(arg, ...args.slice(i3));
|
|
507519
507673
|
break;
|
|
507520
507674
|
}
|
|
507521
507675
|
}
|
|
507522
507676
|
if (this._passThroughOptions) {
|
|
507523
|
-
dest.push(arg);
|
|
507524
|
-
if (args.length > 0)
|
|
507525
|
-
dest.push(...args);
|
|
507677
|
+
dest.push(arg, ...args.slice(i3));
|
|
507526
507678
|
break;
|
|
507527
507679
|
}
|
|
507528
507680
|
dest.push(arg);
|
|
@@ -507733,6 +507885,32 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507733
507885
|
this._name = str2;
|
|
507734
507886
|
return this;
|
|
507735
507887
|
}
|
|
507888
|
+
helpGroup(heading) {
|
|
507889
|
+
if (heading === undefined)
|
|
507890
|
+
return this._helpGroupHeading ?? "";
|
|
507891
|
+
this._helpGroupHeading = heading;
|
|
507892
|
+
return this;
|
|
507893
|
+
}
|
|
507894
|
+
commandsGroup(heading) {
|
|
507895
|
+
if (heading === undefined)
|
|
507896
|
+
return this._defaultCommandGroup ?? "";
|
|
507897
|
+
this._defaultCommandGroup = heading;
|
|
507898
|
+
return this;
|
|
507899
|
+
}
|
|
507900
|
+
optionsGroup(heading) {
|
|
507901
|
+
if (heading === undefined)
|
|
507902
|
+
return this._defaultOptionGroup ?? "";
|
|
507903
|
+
this._defaultOptionGroup = heading;
|
|
507904
|
+
return this;
|
|
507905
|
+
}
|
|
507906
|
+
_initOptionGroup(option) {
|
|
507907
|
+
if (this._defaultOptionGroup && !option.helpGroupHeading)
|
|
507908
|
+
option.helpGroup(this._defaultOptionGroup);
|
|
507909
|
+
}
|
|
507910
|
+
_initCommandGroup(cmd) {
|
|
507911
|
+
if (this._defaultCommandGroup && !cmd.helpGroup())
|
|
507912
|
+
cmd.helpGroup(this._defaultCommandGroup);
|
|
507913
|
+
}
|
|
507736
507914
|
nameFromFilename(filename) {
|
|
507737
507915
|
this._name = path25.basename(filename, path25.extname(filename));
|
|
507738
507916
|
return this;
|
|
@@ -507809,15 +507987,19 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507809
507987
|
helpOption(flags, description) {
|
|
507810
507988
|
if (typeof flags === "boolean") {
|
|
507811
507989
|
if (flags) {
|
|
507812
|
-
|
|
507990
|
+
if (this._helpOption === null)
|
|
507991
|
+
this._helpOption = undefined;
|
|
507992
|
+
if (this._defaultOptionGroup) {
|
|
507993
|
+
this._initOptionGroup(this._getHelpOption());
|
|
507994
|
+
}
|
|
507813
507995
|
} else {
|
|
507814
507996
|
this._helpOption = null;
|
|
507815
507997
|
}
|
|
507816
507998
|
return this;
|
|
507817
507999
|
}
|
|
507818
|
-
|
|
507819
|
-
|
|
507820
|
-
|
|
508000
|
+
this._helpOption = this.createOption(flags ?? "-h, --help", description ?? "display help for command");
|
|
508001
|
+
if (flags || description)
|
|
508002
|
+
this._initOptionGroup(this._helpOption);
|
|
507821
508003
|
return this;
|
|
507822
508004
|
}
|
|
507823
508005
|
_getHelpOption() {
|
|
@@ -507828,6 +508010,7 @@ Expecting one of '${allowedValues.join("', '")}'`);
|
|
|
507828
508010
|
}
|
|
507829
508011
|
addHelpOption(option) {
|
|
507830
508012
|
this._helpOption = option;
|
|
508013
|
+
this._initOptionGroup(option);
|
|
507831
508014
|
return this;
|
|
507832
508015
|
}
|
|
507833
508016
|
help(contextOptions) {
|
|
@@ -513673,7 +513856,7 @@ function AskUserQuestionPermissionRequestBody(t0) {
|
|
|
513673
513856
|
const nextPasteIdRef = import_react207.useRef(0);
|
|
513674
513857
|
let t7;
|
|
513675
513858
|
if ($3[16] === Symbol.for("react.memo_cache_sentinel")) {
|
|
513676
|
-
t7 = function
|
|
513859
|
+
t7 = function onImagePaste(questionText, base64Image, mediaType, filename, dimensions, _sourcePath) {
|
|
513677
513860
|
nextPasteIdRef.current = nextPasteIdRef.current + 1;
|
|
513678
513861
|
const pasteId = nextPasteIdRef.current;
|
|
513679
513862
|
const newContent = {
|
|
@@ -513971,7 +514154,7 @@ ${questionsWithAnswers_0}`;
|
|
|
513971
514154
|
const handleQuestionAnswer = t16;
|
|
513972
514155
|
let t17;
|
|
513973
514156
|
if ($3[62] !== answers || $3[63] !== handleCancel || $3[64] !== submitAnswers) {
|
|
513974
|
-
t17 = function
|
|
514157
|
+
t17 = function handleFinalResponse(value) {
|
|
513975
514158
|
if (value === "cancel") {
|
|
513976
514159
|
handleCancel();
|
|
513977
514160
|
return;
|
|
@@ -515003,7 +515186,7 @@ function PermissionDecisionInfoItem(t0) {
|
|
|
515003
515186
|
const [theme2] = useTheme();
|
|
515004
515187
|
let t1;
|
|
515005
515188
|
if ($3[0] !== decisionReason || $3[1] !== theme2) {
|
|
515006
|
-
t1 = function
|
|
515189
|
+
t1 = function formatDecisionReason() {
|
|
515007
515190
|
switch (decisionReason.type) {
|
|
515008
515191
|
case "subcommandResults": {
|
|
515009
515192
|
return /* @__PURE__ */ jsx_dev_runtime374.jsxDEV(ThemedBox_default, {
|
|
@@ -518567,7 +518750,7 @@ function EnterPlanModePermissionRequest(t0) {
|
|
|
518567
518750
|
const toolPermissionContextMode = useAppState(_temp176);
|
|
518568
518751
|
let t1;
|
|
518569
518752
|
if ($3[0] !== onDone || $3[1] !== onReject || $3[2] !== toolPermissionContextMode || $3[3] !== toolUseConfirm) {
|
|
518570
|
-
t1 = function
|
|
518753
|
+
t1 = function handleResponse(value) {
|
|
518571
518754
|
if (value === "yes") {
|
|
518572
518755
|
logEvent("tengu_plan_enter", {
|
|
518573
518756
|
interviewPhaseEnabled: isPlanModeInterviewPhaseEnabled(),
|
|
@@ -522442,7 +522625,7 @@ function WebFetchPermissionRequest(t0) {
|
|
|
522442
522625
|
const options = result;
|
|
522443
522626
|
let t5;
|
|
522444
522627
|
if ($3[10] !== onDone || $3[11] !== onReject || $3[12] !== toolUseConfirm) {
|
|
522445
|
-
t5 = function
|
|
522628
|
+
t5 = function onChange(newValue) {
|
|
522446
522629
|
bb8:
|
|
522447
522630
|
switch (newValue) {
|
|
522448
522631
|
case "yes": {
|
|
@@ -525587,7 +525770,7 @@ function AutoUpdaterWrapper(t0) {
|
|
|
525587
525770
|
let t2;
|
|
525588
525771
|
if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
525589
525772
|
t1 = () => {
|
|
525590
|
-
const checkInstallation = async function
|
|
525773
|
+
const checkInstallation = async function checkInstallation() {
|
|
525591
525774
|
if (false) {}
|
|
525592
525775
|
const installationType = await getCurrentInstallationType();
|
|
525593
525776
|
logForDebugging(`AutoUpdaterWrapper: Installation type: ${installationType}`);
|
|
@@ -527309,7 +527492,8 @@ class FuseIndex {
|
|
|
527309
527492
|
value: item
|
|
527310
527493
|
});
|
|
527311
527494
|
});
|
|
527312
|
-
}
|
|
527495
|
+
} else
|
|
527496
|
+
;
|
|
527313
527497
|
}
|
|
527314
527498
|
record3.$[keyIndex] = subRecords;
|
|
527315
527499
|
} else if (isString2(value) && !isBlank(value)) {
|
|
@@ -530777,7 +530961,7 @@ function ThinkingToggle(t0) {
|
|
|
530777
530961
|
useKeybinding("confirm:yes", t4, t6);
|
|
530778
530962
|
let t7;
|
|
530779
530963
|
if ($3[10] !== currentValue || $3[11] !== isMidConversation || $3[12] !== onSelect) {
|
|
530780
|
-
t7 = function
|
|
530964
|
+
t7 = function handleSelectChange(value) {
|
|
530781
530965
|
const selected = value === "true";
|
|
530782
530966
|
if (isMidConversation && selected !== currentValue) {
|
|
530783
530967
|
setConfirmationPending(selected);
|
|
@@ -536043,7 +536227,7 @@ function PromptInput({
|
|
|
536043
536227
|
clearBuffer();
|
|
536044
536228
|
resetHistory();
|
|
536045
536229
|
return;
|
|
536046
|
-
} else if (result.error === "no_team_context") {}
|
|
536230
|
+
} else if (result.error === "no_team_context") {} else {}
|
|
536047
536231
|
}
|
|
536048
536232
|
}
|
|
536049
536233
|
if (inputParam.trim() === "" && !hasImages) {
|
|
@@ -543780,7 +543964,7 @@ function useIDEIntegration(t0) {
|
|
|
543780
543964
|
let t2;
|
|
543781
543965
|
if ($3[0] !== autoConnectIdeFlag || $3[1] !== ideToInstallExtension || $3[2] !== setDynamicMcpConfig || $3[3] !== setIDEInstallationState || $3[4] !== setShowIdeOnboarding) {
|
|
543782
543966
|
t1 = () => {
|
|
543783
|
-
const addIde = function
|
|
543967
|
+
const addIde = function addIde(ide2) {
|
|
543784
543968
|
if (!ide2) {
|
|
543785
543969
|
return;
|
|
543786
543970
|
}
|
|
@@ -546214,7 +546398,7 @@ function DesktopUpsellStartup(t0) {
|
|
|
546214
546398
|
}
|
|
546215
546399
|
let t2;
|
|
546216
546400
|
if ($3[3] !== onDone) {
|
|
546217
|
-
t2 = function
|
|
546401
|
+
t2 = function handleSelect(value) {
|
|
546218
546402
|
switch (value) {
|
|
546219
546403
|
case "try": {
|
|
546220
546404
|
setShowHandoff(true);
|
|
@@ -547870,7 +548054,7 @@ function SandboxPermissionRequest(t0) {
|
|
|
547870
548054
|
} = t1;
|
|
547871
548055
|
let t2;
|
|
547872
548056
|
if ($3[0] !== onUserResponse) {
|
|
547873
|
-
t2 = function
|
|
548057
|
+
t2 = function onSelect(value) {
|
|
547874
548058
|
bb4:
|
|
547875
548059
|
switch (value) {
|
|
547876
548060
|
case "yes": {
|
|
@@ -555623,7 +555807,7 @@ function MCPServerApprovalDialog(t0) {
|
|
|
555623
555807
|
} = t0;
|
|
555624
555808
|
let t1;
|
|
555625
555809
|
if ($3[0] !== onDone || $3[1] !== serverName) {
|
|
555626
|
-
t1 = function
|
|
555810
|
+
t1 = function onChange(value) {
|
|
555627
555811
|
logEvent("tengu_mcp_dialog_choice", {
|
|
555628
555812
|
choice: value
|
|
555629
555813
|
});
|
|
@@ -555749,7 +555933,7 @@ function MCPServerMultiselectDialog(t0) {
|
|
|
555749
555933
|
} = t0;
|
|
555750
555934
|
let t1;
|
|
555751
555935
|
if ($3[0] !== onDone || $3[1] !== serverNames) {
|
|
555752
|
-
t1 = function
|
|
555936
|
+
t1 = function onSubmit(selectedServers) {
|
|
555753
555937
|
const currentSettings = getSettings_DEPRECATED() || {};
|
|
555754
555938
|
const enabledServers = currentSettings.enabledMcpjsonServers || [];
|
|
555755
555939
|
const disabledServers = currentSettings.disabledMcpjsonServers || [];
|
|
@@ -556178,7 +556362,7 @@ function PreflightStep(t0) {
|
|
|
556178
556362
|
let t2;
|
|
556179
556363
|
if ($3[0] === Symbol.for("react.memo_cache_sentinel")) {
|
|
556180
556364
|
t1 = () => {
|
|
556181
|
-
const run = async function
|
|
556365
|
+
const run = async function run() {
|
|
556182
556366
|
const checkResult = await checkEndpoints();
|
|
556183
556367
|
setResult(checkResult);
|
|
556184
556368
|
setIsChecking(false);
|
|
@@ -556325,7 +556509,7 @@ function ApproveApiKey(t0) {
|
|
|
556325
556509
|
} = t0;
|
|
556326
556510
|
let t1;
|
|
556327
556511
|
if ($3[0] !== customApiKeyTruncated || $3[1] !== onDone) {
|
|
556328
|
-
t1 = function
|
|
556512
|
+
t1 = function onChange(value) {
|
|
556329
556513
|
bb2:
|
|
556330
556514
|
switch (value) {
|
|
556331
556515
|
case "yes": {
|
|
@@ -558186,7 +558370,7 @@ function TrustDialog(t0) {
|
|
|
558186
558370
|
import_react325.default.useEffect(t12, t13);
|
|
558187
558371
|
let t14;
|
|
558188
558372
|
if ($3[16] !== hasAnyBashExecution || $3[17] !== onDone) {
|
|
558189
|
-
t14 = function
|
|
558373
|
+
t14 = function onChange(value) {
|
|
558190
558374
|
if (value === "exit") {
|
|
558191
558375
|
gracefulShutdownSync(1);
|
|
558192
558376
|
return;
|
|
@@ -558412,7 +558596,7 @@ function BypassPermissionsModeDialog(t0) {
|
|
|
558412
558596
|
import_react326.default.useEffect(_temp304, t1);
|
|
558413
558597
|
let t2;
|
|
558414
558598
|
if ($3[1] !== onAccept) {
|
|
558415
|
-
t2 = function
|
|
558599
|
+
t2 = function onChange(value) {
|
|
558416
558600
|
bb3:
|
|
558417
558601
|
switch (value) {
|
|
558418
558602
|
case "accept": {
|
|
@@ -558946,7 +559130,7 @@ function InvalidSettingsDialog(t0) {
|
|
|
558946
559130
|
} = t0;
|
|
558947
559131
|
let t1;
|
|
558948
559132
|
if ($3[0] !== onContinue || $3[1] !== onExit2) {
|
|
558949
|
-
t1 = function
|
|
559133
|
+
t1 = function handleSelect(value) {
|
|
558950
559134
|
if (value === "exit") {
|
|
558951
559135
|
onExit2();
|
|
558952
559136
|
} else {
|
|
@@ -560775,7 +560959,7 @@ Now that this skill is invoked, you have access to Chrome browser automation too
|
|
|
560775
560959
|
IMPORTANT: Start by calling mcp__claude-in-chrome__tabs_context_mcp to get information about the user's current browser tabs.
|
|
560776
560960
|
`;
|
|
560777
560961
|
var init_claudeInChrome = __esm(() => {
|
|
560778
|
-
|
|
560962
|
+
init_ant_claude_for_chrome_mcp();
|
|
560779
560963
|
init_setup2();
|
|
560780
560964
|
init_bundledSkills();
|
|
560781
560965
|
CLAUDE_IN_CHROME_MCP_TOOLS = BROWSER_TOOLS.map((tool) => `mcp__claude-in-chrome__${tool.name}`);
|
|
@@ -562477,21 +562661,15 @@ If a hook isn't running:
|
|
|
562477
562661
|
});
|
|
562478
562662
|
|
|
562479
562663
|
// src/skills/bundled/verify/examples/cli.md
|
|
562480
|
-
var cli_default =
|
|
562481
|
-
<p>Restored placeholder content.</p>
|
|
562482
|
-
`;
|
|
562664
|
+
var cli_default = "./cli-mvr5k580.md";
|
|
562483
562665
|
var init_cli = () => {};
|
|
562484
562666
|
|
|
562485
562667
|
// src/skills/bundled/verify/examples/server.md
|
|
562486
|
-
var server_default =
|
|
562487
|
-
<p>Restored placeholder content.</p>
|
|
562488
|
-
`;
|
|
562668
|
+
var server_default = "./server-zyhc2a9z.md";
|
|
562489
562669
|
var init_server2 = () => {};
|
|
562490
562670
|
|
|
562491
562671
|
// src/skills/bundled/verify/SKILL.md
|
|
562492
|
-
var SKILL_default =
|
|
562493
|
-
<p>Restored placeholder content.</p>
|
|
562494
|
-
`;
|
|
562672
|
+
var SKILL_default = "./SKILL-r7zmg5v7.md";
|
|
562495
562673
|
var init_SKILL = () => {};
|
|
562496
562674
|
|
|
562497
562675
|
// src/skills/bundled/verifyContent.ts
|
|
@@ -572821,7 +572999,7 @@ function MCPServerDesktopImportDialog(t0) {
|
|
|
572821
572999
|
t5 = $3[7];
|
|
572822
573000
|
}
|
|
572823
573001
|
const collisions = t5;
|
|
572824
|
-
const onSubmit = async function
|
|
573002
|
+
const onSubmit = async function onSubmit(selectedServers) {
|
|
572825
573003
|
let importedCount = 0;
|
|
572826
573004
|
for (const serverName of selectedServers) {
|
|
572827
573005
|
const serverConfig = servers[serverName];
|