@cartanova/qgrid-cli 2.10.10 → 2.11.1
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/bundle/dist/_virtual/_rolldown/runtime.js +1 -10
- package/bundle/dist/application/monit/log-buffer.js +12 -6
- package/bundle/dist/application/monit/monit.frame.js +11 -3
- package/bundle/dist/application/monit/monit.types.js +1 -1
- package/bundle/dist/application/qgrid/conv-routing.js +9 -6
- package/bundle/dist/application/qgrid/expired-token-reminder.js +2 -2
- package/bundle/dist/application/qgrid/oauth.js +31 -4
- package/bundle/dist/application/qgrid/qgrid-image-generation.js +1 -1
- package/bundle/dist/application/qgrid/qgrid-response-format.js +21 -19
- package/bundle/dist/application/qgrid/qgrid-run-lifecycle.js +40 -33
- package/bundle/dist/application/qgrid/qgrid.dispatcher.js +128 -93
- package/bundle/dist/application/qgrid/qgrid.frame.js +930 -49
- package/bundle/dist/application/qgrid/qgrid.types.js +212 -5
- package/bundle/dist/application/qgrid/schema-prompt.js +75 -48
- package/bundle/dist/application/qgrid/slack-user-map.js +1 -1
- package/bundle/dist/application/qgrid/token-death.js +1 -1
- package/bundle/dist/application/qgrid/token-subscriber.js +83 -30
- package/bundle/dist/application/qgrid/token-trigger-setup.js +1 -1
- package/bundle/dist/application/qgrid/token-window-keepalive.js +8 -6
- package/bundle/dist/application/qgrid/tool-emulation-schema.js +13 -13
- package/bundle/dist/application/qgrid/tool-emulation.js +19 -15
- package/bundle/dist/application/request-log/json-schema-type-text.js +29 -12
- package/bundle/dist/application/request-log/request-log.model.js +83 -70
- package/bundle/dist/application/request-log/request-log.types.js +1 -1
- package/bundle/dist/application/request-log/zod-code-format.js +1 -1
- package/bundle/dist/application/request-log-step/request-log-step.model.js +1 -1
- package/bundle/dist/application/request-log-step/request-log-step.types.js +1 -1
- package/bundle/dist/application/setting/setting.constant.js +1 -1
- package/bundle/dist/application/setting/setting.model.js +2 -2
- package/bundle/dist/application/setting/setting.store.js +2 -2
- package/bundle/dist/application/setting/setting.types.js +1 -1
- package/bundle/dist/application/sonamu.generated.js +32 -16
- package/bundle/dist/application/sonamu.generated.sso.js +1 -1
- package/bundle/dist/application/token/token.model.js +26 -9
- package/bundle/dist/application/token/token.types.js +20 -3
- package/bundle/dist/i18n/en.js +15 -1
- package/bundle/dist/i18n/ko.js +15 -1
- package/bundle/dist/i18n/sd.generated.js +1 -1
- package/bundle/dist/migrations/20260807133553_manual__backfill_request_log_cost.js +8 -6
- package/bundle/dist/server-bootstrap.js +4 -2
- package/bundle/dist/server-error-handler.js +1 -1
- package/bundle/dist/sonamu.config.js +37 -8
- package/bundle/dist/startup-migrations.js +17 -7
- package/bundle/dist/testing/global.js +1 -1
- package/bundle/dist/testing/schema-bench.js +0 -0
- package/bundle/dist/testing/test-database-name.js +1 -1
- package/bundle/dist/utils/providers/anthropic/anthropic-constants.js +1 -1
- package/bundle/dist/utils/providers/anthropic/anthropic-dispatcher.js +11 -5
- package/bundle/dist/utils/providers/anthropic/anthropic-quota.js +4 -4
- package/bundle/dist/utils/providers/anthropic/anthropic-thinking.js +1 -1
- package/bundle/dist/utils/providers/anthropic/claude-session.js +20 -19
- package/bundle/dist/utils/providers/anthropic/fence-strip.js +1 -1
- package/bundle/dist/utils/providers/anthropic/stream-json-adapter.js +49 -23
- package/bundle/dist/utils/providers/common/credentials.js +5 -1
- package/bundle/dist/utils/providers/common/effort.js +3 -3
- package/bundle/dist/utils/providers/common/model-cost.js +69 -14
- package/bundle/dist/utils/providers/common/provider-types.js +29 -1
- package/bundle/dist/utils/providers/common/schema-validation.js +78 -40
- package/bundle/dist/utils/providers/common/smooth-weighted-round-robin.js +1 -1
- package/bundle/dist/utils/providers/common/strictifier.js +62 -43
- package/bundle/dist/utils/providers/common/thinking.js +3 -2
- package/bundle/dist/utils/providers/common/ttft.js +1 -1
- package/bundle/dist/utils/providers/grok/grok-backend-protocol.js +427 -0
- package/bundle/dist/utils/providers/grok/grok-constants.js +55 -0
- package/bundle/dist/utils/providers/grok/grok-direct-client.js +196 -0
- package/bundle/dist/utils/providers/grok/grok-dispatcher.js +1313 -0
- package/bundle/dist/utils/providers/grok/grok-headers.js +118 -0
- package/bundle/dist/utils/providers/grok/grok-media-client.js +420 -0
- package/bundle/dist/utils/providers/grok/grok-models.js +114 -0
- package/bundle/dist/utils/providers/grok/grok-oauth.js +455 -0
- package/bundle/dist/utils/providers/grok/grok-quota.js +119 -0
- package/bundle/dist/utils/providers/grok/grok-refresh.js +192 -0
- package/bundle/dist/utils/providers/grok/grok-types.js +186 -0
- package/bundle/dist/utils/providers/grok/grok-voice-client.js +199 -0
- package/bundle/dist/utils/providers/grok/index.js +11 -0
- package/bundle/dist/utils/providers/openai/openai-backend-protocol.js +111 -83
- package/bundle/dist/utils/providers/openai/openai-callback-relay.js +3 -2
- package/bundle/dist/utils/providers/openai/openai-constants.js +1 -1
- package/bundle/dist/utils/providers/openai/openai-direct-client.js +23 -7
- package/bundle/dist/utils/providers/openai/openai-dispatcher.js +143 -106
- package/bundle/dist/utils/providers/openai/openai-image-generation.js +48 -33
- package/bundle/dist/utils/providers/openai/openai-oauth.js +28 -13
- package/bundle/dist/utils/providers/openai/openai-quota.js +38 -27
- package/bundle/dist/utils/providers/openai/openai-refresh.js +17 -9
- package/bundle/dist/utils/providers/openai/openai-sse.js +1 -1
- package/bundle/dist/utils/providers/openai/openai-transport-config.js +1 -1
- package/bundle/dist/utils/quiet-hours.js +1 -1
- package/bundle/dist/utils/slack-notify.js +14 -8
- package/bundle/dist/utils/subset-loaders.js +4 -5
- package/bundle/src/application/monit/log-buffer.ts +23 -9
- package/bundle/src/application/monit/monit.frame.ts +22 -5
- package/bundle/src/application/monit/monit.types.ts +6 -0
- package/bundle/src/application/qgrid/conv-routing.test.ts +76 -4
- package/bundle/src/application/qgrid/conv-routing.ts +35 -9
- package/bundle/src/application/qgrid/expired-token-reminder.ts +9 -1
- package/bundle/src/application/qgrid/oauth.ts +51 -15
- package/bundle/src/application/qgrid/qgrid-image-generation.ts +9 -0
- package/bundle/src/application/qgrid/qgrid-response-format.ts +50 -25
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.test.ts +19 -0
- package/bundle/src/application/qgrid/qgrid-run-lifecycle.ts +84 -40
- package/bundle/src/application/qgrid/qgrid.dispatcher.test.ts +97 -0
- package/bundle/src/application/qgrid/qgrid.dispatcher.ts +274 -126
- package/bundle/src/application/qgrid/qgrid.frame.test.ts +1013 -3
- package/bundle/src/application/qgrid/qgrid.frame.ts +1415 -60
- package/bundle/src/application/qgrid/qgrid.types.ts +335 -0
- package/bundle/src/application/qgrid/schema-prompt.ts +105 -41
- package/bundle/src/application/qgrid/slack-user-map.ts +5 -0
- package/bundle/src/application/qgrid/token-death.ts +4 -0
- package/bundle/src/application/qgrid/token-subscriber.test.ts +21 -19
- package/bundle/src/application/qgrid/token-subscriber.ts +186 -53
- package/bundle/src/application/qgrid/token-trigger-setup.ts +2 -0
- package/bundle/src/application/qgrid/token-window-keepalive.ts +49 -6
- package/bundle/src/application/qgrid/tool-emulation-schema.ts +33 -29
- package/bundle/src/application/qgrid/tool-emulation.ts +52 -27
- package/bundle/src/application/request-log/json-schema-type-text.test.ts +5 -5
- package/bundle/src/application/request-log/json-schema-type-text.ts +81 -26
- package/bundle/src/application/request-log/request-log.model.test.ts +111 -4
- package/bundle/src/application/request-log/request-log.model.ts +277 -146
- package/bundle/src/application/request-log/request-log.types.ts +6 -0
- package/bundle/src/application/request-log/zod-code-format.ts +11 -0
- package/bundle/src/application/request-log-step/request-log-step.model.ts +1 -0
- package/bundle/src/application/request-log-step/request-log-step.types.ts +2 -0
- package/bundle/src/application/setting/setting.constant.ts +9 -0
- package/bundle/src/application/setting/setting.model.ts +12 -2
- package/bundle/src/application/setting/setting.store.ts +5 -1
- package/bundle/src/application/setting/setting.types.ts +8 -0
- package/bundle/src/application/sonamu.generated.http +133 -0
- package/bundle/src/application/sonamu.generated.sso.ts +2 -0
- package/bundle/src/application/sonamu.generated.ts +15 -0
- package/bundle/src/application/token/token.identity.test.ts +20 -0
- package/bundle/src/application/token/token.model.ts +66 -7
- package/bundle/src/application/token/token.types.ts +24 -1
- package/bundle/src/i18n/en.ts +19 -0
- package/bundle/src/i18n/ko.ts +21 -0
- package/bundle/src/i18n/sd.generated.ts +23 -2
- package/bundle/src/migrations/20260807133553_manual__backfill_request_log_cost.ts +16 -8
- package/bundle/src/server-bootstrap.ts +4 -2
- package/bundle/src/server-error-handler.ts +1 -0
- package/bundle/src/sonamu.config.ts +69 -7
- package/bundle/src/startup-migrations.ts +27 -9
- package/bundle/src/testing/global.ts +20 -0
- package/bundle/src/testing/schema-bench.ts +105 -30
- package/bundle/src/testing/test-database-name.ts +2 -0
- package/bundle/src/utils/providers/anthropic/anthropic-constants.ts +8 -0
- package/bundle/src/utils/providers/anthropic/anthropic-dispatcher.ts +41 -6
- package/bundle/src/utils/providers/anthropic/anthropic-quota.ts +7 -3
- package/bundle/src/utils/providers/anthropic/anthropic-thinking.ts +6 -0
- package/bundle/src/utils/providers/anthropic/claude-session.ts +58 -24
- package/bundle/src/utils/providers/anthropic/fence-strip.ts +11 -0
- package/bundle/src/utils/providers/anthropic/stream-json-adapter.ts +110 -45
- package/bundle/src/utils/providers/common/credentials.ts +8 -0
- package/bundle/src/utils/providers/common/effort.ts +9 -2
- package/bundle/src/utils/providers/common/model-cost.test.ts +48 -1
- package/bundle/src/utils/providers/common/model-cost.ts +259 -158
- package/bundle/src/utils/providers/common/provider-dispatcher.ts +98 -2
- package/bundle/src/utils/providers/common/provider-types.ts +46 -3
- package/bundle/src/utils/providers/common/schema-validation.test.ts +5 -1
- package/bundle/src/utils/providers/common/schema-validation.ts +124 -56
- package/bundle/src/utils/providers/common/smooth-weighted-round-robin.ts +4 -0
- package/bundle/src/utils/providers/common/strictifier.ts +185 -59
- package/bundle/src/utils/providers/common/thinking.ts +2 -2
- package/bundle/src/utils/providers/common/ttft.ts +4 -2
- package/bundle/src/utils/providers/grok/__fixtures__/golden-responses-1.0.60.json +164 -0
- package/bundle/src/utils/providers/grok/grok-backend-protocol.test.ts +325 -0
- package/bundle/src/utils/providers/grok/grok-backend-protocol.ts +721 -0
- package/bundle/src/utils/providers/grok/grok-constants.ts +105 -0
- package/bundle/src/utils/providers/grok/grok-direct-client.test.ts +179 -0
- package/bundle/src/utils/providers/grok/grok-direct-client.ts +313 -0
- package/bundle/src/utils/providers/grok/grok-dispatcher.test.ts +1395 -0
- package/bundle/src/utils/providers/grok/grok-dispatcher.ts +2105 -0
- package/bundle/src/utils/providers/grok/grok-headers.test.ts +149 -0
- package/bundle/src/utils/providers/grok/grok-headers.ts +199 -0
- package/bundle/src/utils/providers/grok/grok-media-client.test.ts +446 -0
- package/bundle/src/utils/providers/grok/grok-media-client.ts +703 -0
- package/bundle/src/utils/providers/grok/grok-models.test.ts +96 -0
- package/bundle/src/utils/providers/grok/grok-models.ts +161 -0
- package/bundle/src/utils/providers/grok/grok-oauth.test.ts +406 -0
- package/bundle/src/utils/providers/grok/grok-oauth.ts +771 -0
- package/bundle/src/utils/providers/grok/grok-quota.test.ts +142 -0
- package/bundle/src/utils/providers/grok/grok-quota.ts +198 -0
- package/bundle/src/utils/providers/grok/grok-refresh.test.ts +239 -0
- package/bundle/src/utils/providers/grok/grok-refresh.ts +325 -0
- package/bundle/src/utils/providers/grok/grok-types.test.ts +252 -0
- package/bundle/src/utils/providers/grok/grok-types.ts +374 -0
- package/bundle/src/utils/providers/grok/grok-voice-client.test.ts +321 -0
- package/bundle/src/utils/providers/grok/grok-voice-client.ts +284 -0
- package/bundle/src/utils/providers/grok/index.ts +20 -0
- package/bundle/src/utils/providers/openai/openai-backend-protocol.ts +221 -137
- package/bundle/src/utils/providers/openai/openai-callback-relay.ts +12 -1
- package/bundle/src/utils/providers/openai/openai-constants.ts +2 -0
- package/bundle/src/utils/providers/openai/openai-direct-client.ts +111 -21
- package/bundle/src/utils/providers/openai/openai-dispatcher.ts +322 -169
- package/bundle/src/utils/providers/openai/openai-image-generation.ts +116 -36
- package/bundle/src/utils/providers/openai/openai-oauth.ts +48 -20
- package/bundle/src/utils/providers/openai/openai-quota.ts +77 -46
- package/bundle/src/utils/providers/openai/openai-refresh.ts +42 -18
- package/bundle/src/utils/providers/openai/openai-sse.ts +27 -3
- package/bundle/src/utils/providers/openai/openai-transport-config.ts +2 -0
- package/bundle/src/utils/quiet-hours.ts +12 -1
- package/bundle/src/utils/slack-notify.ts +44 -13
- package/bundle/src/utils/subset-loaders.ts +7 -7
- package/bundle/web-dist/client/assets/clsx-5XM_pHvN.js +1 -0
- package/bundle/web-dist/client/assets/index-Be2qCZmI.css +1 -0
- package/bundle/web-dist/client/assets/index-C96h3feE.js +32 -0
- package/bundle/web-dist/client/assets/logs-DBM6U0QD.js +1 -0
- package/bundle/web-dist/client/assets/monit-BBjXa7vB.js +1 -0
- package/bundle/web-dist/client/assets/routes-Crz_PQzi.js +5 -0
- package/bundle/web-dist/client/assets/{services.generated-NP-ValHd.js → services.generated-B5lc3aIC.js} +5 -5
- package/bundle/web-dist/client/assets/settings-Cdwm3OBB.js +1 -0
- package/bundle/web-dist/client/assets/show-DBUhALT1.js +2 -0
- package/bundle/web-dist/client/assets/tokens-CVQAVJTo.js +1 -0
- package/bundle/web-dist/client/assets/total-cost-MnfKU8IN.js +1 -0
- package/bundle/web-dist/client/assets/use-oauth-login-flow-BfxYI4Oh.js +1 -0
- package/bundle/web-dist/client/assets/use-update-token-mutation-qKBC2sn7.js +1 -0
- package/bundle/web-dist/client/assets/{vendor-tanstack-DJRQAbrY.js → vendor-tanstack-DRPs09ai.js} +1 -1
- package/bundle/web-dist/client/index.html +5 -5
- package/bundle/web-dist/server/assets/clsx-D_N5PN_2.js +16 -0
- package/bundle/web-dist/server/assets/{lazyRouteComponent-CgBdabgd.js → lazyRouteComponent-AKiHfZWp.js} +129 -2
- package/bundle/web-dist/server/assets/{logs-BMyR98rU.js → logs-B7QmGJq3.js} +18 -14
- package/bundle/web-dist/server/assets/{monit-ZPt66W5M.js → monit-DFt7x3bh.js} +13 -12
- package/bundle/web-dist/server/assets/{plus-BZ9I0VgC.js → plus-DaYQRpBt.js} +1 -1
- package/bundle/web-dist/server/assets/{react-dom-Ds75e4Jl.js → react-dom-Cv23mm1K.js} +2 -129
- package/bundle/web-dist/server/assets/{refresh-cw-CztCFis-.js → refresh-cw-BpXNsAy-.js} +1 -1
- package/bundle/web-dist/server/assets/{request-model-DjGldb-h.js → request-model-eHE6YbaF.js} +1 -1
- package/bundle/web-dist/server/assets/{routes-Ct-k7nBA.js → routes-_Y-PJfgO.js} +110 -39
- package/bundle/web-dist/server/assets/{services.generated-BA4AcAf5.js → services.generated-CMJ8AHbO.js} +582 -172
- package/bundle/web-dist/server/assets/{settings-CBUZ47Xx.js → settings-JwJKxn2e.js} +14 -14
- package/bundle/web-dist/server/assets/{show-LSFIzvO2.js → show-BEv6z1v_.js} +90 -60
- package/bundle/web-dist/server/assets/{tokens-DxrBW512.js → tokens-CNT4mI-f.js} +162 -50
- package/bundle/web-dist/server/assets/total-cost-fTE9Xy82.js +18 -0
- package/bundle/web-dist/server/assets/use-oauth-login-flow-jkAkT3X6.js +2345 -0
- package/bundle/web-dist/server/assets/{use-update-token-mutation-pkArIzCP.js → use-update-token-mutation-Sm6kh02m.js} +1 -1
- package/bundle/web-dist/server/entry-server.generated.js +1644 -21655
- package/dist/cli.js +9 -9
- package/package.json +4 -11
- package/postinstall.mjs +12 -0
- package/skills/qgrid/SKILL.md +1 -0
- package/skills/qgrid/references/cli-env-and-server-boot.md +4 -1
- package/skills/qgrid/references/decision-rationale.md +23 -0
- package/skills/qgrid/references/grok-runtime.md +89 -0
- package/skills/qgrid/references/provider-runtime-differences.md +30 -29
- package/skills/qgrid/references/repo-map.md +10 -0
- package/skills/qgrid/references/token-auth-quota-lifecycle.md +56 -3
- package/bundle/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.js +0 -406
- package/bundle/dist/node_modules/.pnpm/@vitest_expect@4.1.10/node_modules/@vitest/expect/dist/index.js +0 -1507
- package/bundle/dist/node_modules/.pnpm/@vitest_pretty-format@4.1.10/node_modules/@vitest/pretty-format/dist/index.js +0 -887
- package/bundle/dist/node_modules/.pnpm/@vitest_runner@4.1.10/node_modules/@vitest/runner/dist/chunk-artifact.js +0 -2756
- package/bundle/dist/node_modules/.pnpm/@vitest_runner@4.1.10/node_modules/@vitest/runner/dist/index.js +0 -8
- package/bundle/dist/node_modules/.pnpm/@vitest_runner@4.1.10/node_modules/@vitest/runner/dist/utils.js +0 -8
- package/bundle/dist/node_modules/.pnpm/@vitest_snapshot@4.1.10/node_modules/@vitest/snapshot/dist/index.js +0 -922
- package/bundle/dist/node_modules/.pnpm/@vitest_spy@4.1.10/node_modules/@vitest/spy/dist/index.js +0 -386
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/chunk-pathe.M-eThtNZ.js +0 -121
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/constants.js +0 -51
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/diff.js +0 -1317
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/display.js +0 -561
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/error.js +0 -40
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/helpers.js +0 -272
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/offset.js +0 -27
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/serialize.js +0 -77
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/source-map.js +0 -381
- package/bundle/dist/node_modules/.pnpm/@vitest_utils@4.1.10/node_modules/@vitest/utils/dist/timers.js +0 -51
- package/bundle/dist/node_modules/.pnpm/chai@6.2.2/node_modules/chai/index.js +0 -2986
- package/bundle/dist/node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/branding.js +0 -10
- package/bundle/dist/node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/index.js +0 -109
- package/bundle/dist/node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/messages.js +0 -10
- package/bundle/dist/node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/overloads.js +0 -10
- package/bundle/dist/node_modules/.pnpm/expect-type@1.3.0/node_modules/expect-type/dist/utils.js +0 -10
- package/bundle/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.js +0 -1126
- package/bundle/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/index.js +0 -21
- package/bundle/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.js +0 -432
- package/bundle/dist/node_modules/.pnpm/tinybench@2.9.0/node_modules/tinybench/dist/index.js +0 -517
- package/bundle/dist/node_modules/.pnpm/tinyrainbow@3.1.0/node_modules/tinyrainbow/dist/index.js +0 -101
- package/bundle/dist/node_modules/.pnpm/vite@8.0.3_@emnapi_core@1.11.2_@emnapi_runtime@1.11.2_@types_node@25.0.7_esbuild@0.27.4_5b35fc1fb85d2af4d105e0d74f940f50/node_modules/vite/dist/node/module-runner.js +0 -1265
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/_commonjsHelpers.D26ty3Ew.js +0 -9
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/benchmark.CX_oY03V.js +0 -41
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/evaluatedModules.Dg1zASAC.js +0 -19
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/index.Chj8NDwU.js +0 -202
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/index.DdgEv5B1.js +0 -46
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/rpc.MzXet3jl.js +0 -119
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/test.DNmyFkvJ.js +0 -3044
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js +0 -59
- package/bundle/dist/node_modules/.pnpm/vitest@4.1.10_@opentelemetry_api@1.9.0_@types_node@25.0.7_@vitest_coverage-v8@4.1.10_vi_a1977b93af7bb69308bcb1dbab39b618/node_modules/vitest/dist/index.js +0 -28
- package/bundle/dist/testing/setup-mocks.js +0 -16
- package/bundle/src/testing/setup-mocks.ts +0 -44
- package/bundle/web-dist/client/assets/index-Bw2s88Ot.css +0 -1
- package/bundle/web-dist/client/assets/index-DZwzUfI-.js +0 -106
- package/bundle/web-dist/client/assets/logs-Cog79DU5.js +0 -1
- package/bundle/web-dist/client/assets/monit-2auznBys.js +0 -1
- package/bundle/web-dist/client/assets/routes-B0lTeLK-.js +0 -5
- package/bundle/web-dist/client/assets/settings-D8ZxZGSJ.js +0 -1
- package/bundle/web-dist/client/assets/show-CFSERlnM.js +0 -2
- package/bundle/web-dist/client/assets/tokens-CZXUyI7O.js +0 -1
- package/bundle/web-dist/client/assets/use-oauth-login-flow-hboOs3wG.js +0 -1
- package/bundle/web-dist/client/assets/use-update-token-mutation-BQHS0byG.js +0 -1
- package/bundle/web-dist/server/assets/use-oauth-login-flow-Gn8flMK5.js +0 -178
- package/dist/cli.d.ts +0 -10
- /package/bundle/web-dist/client/assets/{cost-DH2jZbrw.js → cost-DB3HbU7T.js} +0 -0
- /package/bundle/web-dist/client/assets/{plus-B62CuqT8.js → plus-BsQdY7PS.js} +0 -0
- /package/bundle/web-dist/client/assets/{preload-helper-ca-nBW7U.js → preload-helper-DWTEM3RW.js} +0 -0
- /package/bundle/web-dist/client/assets/{refresh-cw-NNcU0Cmq.js → refresh-cw-D9IUmT23.js} +0 -0
- /package/bundle/web-dist/client/assets/{request-model-CojtinqK.js → request-model-Bpp_rkK8.js} +0 -0
- /package/bundle/web-dist/server/assets/{cost-eEHeTRT5.js → cost-BC9yzyA9.js} +0 -0
|
@@ -2,10 +2,13 @@ import { createRequire } from "node:module";
|
|
|
2
2
|
import util from "util";
|
|
3
3
|
import crypto from "crypto";
|
|
4
4
|
import stream, { Readable } from "stream";
|
|
5
|
+
import process$1 from "node:process";
|
|
5
6
|
import http from "http";
|
|
6
7
|
import https from "https";
|
|
7
8
|
import url from "url";
|
|
8
9
|
import http2 from "http2";
|
|
10
|
+
import os from "node:os";
|
|
11
|
+
import tty from "node:tty";
|
|
9
12
|
import zlib from "zlib";
|
|
10
13
|
import { EventEmitter } from "events";
|
|
11
14
|
//#region \0rolldown/runtime.js
|
|
@@ -5234,7 +5237,7 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
5234
5237
|
};
|
|
5235
5238
|
}));
|
|
5236
5239
|
//#endregion
|
|
5237
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
5240
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/bind.js
|
|
5238
5241
|
/**
|
|
5239
5242
|
* Create a bound version of a function with a specified `this` context
|
|
5240
5243
|
*
|
|
@@ -5248,7 +5251,7 @@ function bind(fn, thisArg) {
|
|
|
5248
5251
|
};
|
|
5249
5252
|
}
|
|
5250
5253
|
//#endregion
|
|
5251
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
5254
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/utils.js
|
|
5252
5255
|
var { toString } = Object.prototype;
|
|
5253
5256
|
var { getPrototypeOf } = Object;
|
|
5254
5257
|
var { iterator, toStringTag } = Symbol;
|
|
@@ -5944,7 +5947,7 @@ var utils_default = {
|
|
|
5944
5947
|
isIterable
|
|
5945
5948
|
};
|
|
5946
5949
|
//#endregion
|
|
5947
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
5950
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/AxiosError.js
|
|
5948
5951
|
var AxiosError = class AxiosError extends Error {
|
|
5949
5952
|
static from(error, code, config, request, response, customProps) {
|
|
5950
5953
|
const axiosError = new AxiosError(error.message, code || error.code, config, request, response);
|
|
@@ -13949,7 +13952,7 @@ var FormData_default = (/* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin((
|
|
|
13949
13952
|
module.exports = FormData;
|
|
13950
13953
|
})))(), 1)).default;
|
|
13951
13954
|
//#endregion
|
|
13952
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
13955
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/toFormData.js
|
|
13953
13956
|
/**
|
|
13954
13957
|
* Determines if the given thing is a array or js object.
|
|
13955
13958
|
*
|
|
@@ -14097,7 +14100,7 @@ function toFormData(obj, formData, options) {
|
|
|
14097
14100
|
return formData;
|
|
14098
14101
|
}
|
|
14099
14102
|
//#endregion
|
|
14100
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14103
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
|
|
14101
14104
|
/**
|
|
14102
14105
|
* It encodes a string by replacing all characters that are not in the unreserved set with
|
|
14103
14106
|
* their percent-encoded equivalents
|
|
@@ -14145,7 +14148,7 @@ prototype.toString = function toString(encoder) {
|
|
|
14145
14148
|
}, "").join("&");
|
|
14146
14149
|
};
|
|
14147
14150
|
//#endregion
|
|
14148
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14151
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/buildURL.js
|
|
14149
14152
|
/**
|
|
14150
14153
|
* It replaces URL-encoded forms of `:`, `$`, `,`, and spaces with
|
|
14151
14154
|
* their plain counterparts (`:`, `$`, `,`, `+`).
|
|
@@ -14182,7 +14185,7 @@ function buildURL(url, params, options) {
|
|
|
14182
14185
|
return url;
|
|
14183
14186
|
}
|
|
14184
14187
|
//#endregion
|
|
14185
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14188
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/InterceptorManager.js
|
|
14186
14189
|
var InterceptorManager = class {
|
|
14187
14190
|
constructor() {
|
|
14188
14191
|
this.handlers = [];
|
|
@@ -14240,7 +14243,7 @@ var InterceptorManager = class {
|
|
|
14240
14243
|
}
|
|
14241
14244
|
};
|
|
14242
14245
|
//#endregion
|
|
14243
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14246
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/defaults/transitional.js
|
|
14244
14247
|
var transitional_default = {
|
|
14245
14248
|
silentJSONParsing: true,
|
|
14246
14249
|
forcedJSONParsing: true,
|
|
@@ -14248,10 +14251,10 @@ var transitional_default = {
|
|
|
14248
14251
|
legacyInterceptorReqResOrdering: true
|
|
14249
14252
|
};
|
|
14250
14253
|
//#endregion
|
|
14251
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14254
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
|
|
14252
14255
|
var URLSearchParams_default = url.URLSearchParams;
|
|
14253
14256
|
//#endregion
|
|
14254
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14257
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/platform/node/index.js
|
|
14255
14258
|
var ALPHA = "abcdefghijklmnopqrstuvwxyz";
|
|
14256
14259
|
var DIGIT = "0123456789";
|
|
14257
14260
|
var ALPHABET = {
|
|
@@ -14284,7 +14287,7 @@ var node_default = {
|
|
|
14284
14287
|
]
|
|
14285
14288
|
};
|
|
14286
14289
|
//#endregion
|
|
14287
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14290
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/platform/common/utils.js
|
|
14288
14291
|
var utils_exports = /* @__PURE__ */ __exportAll({
|
|
14289
14292
|
hasBrowserEnv: () => hasBrowserEnv,
|
|
14290
14293
|
hasStandardBrowserEnv: () => hasStandardBrowserEnv,
|
|
@@ -14328,13 +14331,13 @@ var hasStandardBrowserEnv = hasBrowserEnv && (!_navigator || [
|
|
|
14328
14331
|
var hasStandardBrowserWebWorkerEnv = typeof WorkerGlobalScope !== "undefined" && self instanceof WorkerGlobalScope && typeof self.importScripts === "function";
|
|
14329
14332
|
var origin = hasBrowserEnv && window.location.href || "http://localhost";
|
|
14330
14333
|
//#endregion
|
|
14331
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14334
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/platform/index.js
|
|
14332
14335
|
var platform_default = {
|
|
14333
14336
|
...utils_exports,
|
|
14334
14337
|
...node_default
|
|
14335
14338
|
};
|
|
14336
14339
|
//#endregion
|
|
14337
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14340
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/toURLEncodedForm.js
|
|
14338
14341
|
function toURLEncodedForm(data, options) {
|
|
14339
14342
|
return toFormData(data, new platform_default.classes.URLSearchParams(), {
|
|
14340
14343
|
visitor: function(value, key, path, helpers) {
|
|
@@ -14348,7 +14351,7 @@ function toURLEncodedForm(data, options) {
|
|
|
14348
14351
|
});
|
|
14349
14352
|
}
|
|
14350
14353
|
//#endregion
|
|
14351
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14354
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/formDataToJSON.js
|
|
14352
14355
|
/**
|
|
14353
14356
|
* It takes a string like `foo[x][y][z]` and returns an array like `['foo', 'x', 'y', 'z']
|
|
14354
14357
|
*
|
|
@@ -14413,7 +14416,7 @@ function formDataToJSON(formData) {
|
|
|
14413
14416
|
return null;
|
|
14414
14417
|
}
|
|
14415
14418
|
//#endregion
|
|
14416
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14419
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/defaults/index.js
|
|
14417
14420
|
/**
|
|
14418
14421
|
* It takes a string, tries to parse it, and if it fails, it returns the stringified version
|
|
14419
14422
|
* of the input
|
|
@@ -14512,7 +14515,7 @@ utils_default.forEach([
|
|
|
14512
14515
|
defaults.headers[method] = {};
|
|
14513
14516
|
});
|
|
14514
14517
|
//#endregion
|
|
14515
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14518
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/parseHeaders.js
|
|
14516
14519
|
var ignoreDuplicateOf = utils_default.toObjectSet([
|
|
14517
14520
|
"age",
|
|
14518
14521
|
"authorization",
|
|
@@ -14563,7 +14566,7 @@ var parseHeaders_default = (rawHeaders) => {
|
|
|
14563
14566
|
return parsed;
|
|
14564
14567
|
};
|
|
14565
14568
|
//#endregion
|
|
14566
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14569
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/AxiosHeaders.js
|
|
14567
14570
|
var $internals = Symbol("internals");
|
|
14568
14571
|
function normalizeHeader(header) {
|
|
14569
14572
|
return header && String(header).trim().toLowerCase();
|
|
@@ -14764,7 +14767,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
|
|
|
14764
14767
|
});
|
|
14765
14768
|
utils_default.freezeMethods(AxiosHeaders);
|
|
14766
14769
|
//#endregion
|
|
14767
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14770
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/transformData.js
|
|
14768
14771
|
/**
|
|
14769
14772
|
* Transform the data for a request or a response
|
|
14770
14773
|
*
|
|
@@ -14785,12 +14788,12 @@ function transformData(fns, response) {
|
|
|
14785
14788
|
return data;
|
|
14786
14789
|
}
|
|
14787
14790
|
//#endregion
|
|
14788
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14791
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/cancel/isCancel.js
|
|
14789
14792
|
function isCancel(value) {
|
|
14790
14793
|
return !!(value && value.__CANCEL__);
|
|
14791
14794
|
}
|
|
14792
14795
|
//#endregion
|
|
14793
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14796
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/cancel/CanceledError.js
|
|
14794
14797
|
var CanceledError = class extends AxiosError {
|
|
14795
14798
|
/**
|
|
14796
14799
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
@@ -14808,7 +14811,7 @@ var CanceledError = class extends AxiosError {
|
|
|
14808
14811
|
}
|
|
14809
14812
|
};
|
|
14810
14813
|
//#endregion
|
|
14811
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14814
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/settle.js
|
|
14812
14815
|
/**
|
|
14813
14816
|
* Resolve or reject a Promise based on response status.
|
|
14814
14817
|
*
|
|
@@ -14824,7 +14827,7 @@ function settle(resolve, reject, response) {
|
|
|
14824
14827
|
else reject(new AxiosError("Request failed with status code " + response.status, [AxiosError.ERR_BAD_REQUEST, AxiosError.ERR_BAD_RESPONSE][Math.floor(response.status / 100) - 4], response.config, response.request, response));
|
|
14825
14828
|
}
|
|
14826
14829
|
//#endregion
|
|
14827
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14830
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/isAbsoluteURL.js
|
|
14828
14831
|
/**
|
|
14829
14832
|
* Determines whether the specified URL is absolute
|
|
14830
14833
|
*
|
|
@@ -14837,7 +14840,7 @@ function isAbsoluteURL(url) {
|
|
|
14837
14840
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
|
|
14838
14841
|
}
|
|
14839
14842
|
//#endregion
|
|
14840
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14843
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/combineURLs.js
|
|
14841
14844
|
/**
|
|
14842
14845
|
* Creates a new URL by combining the specified URLs
|
|
14843
14846
|
*
|
|
@@ -14850,7 +14853,7 @@ function combineURLs(baseURL, relativeURL) {
|
|
|
14850
14853
|
return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
|
|
14851
14854
|
}
|
|
14852
14855
|
//#endregion
|
|
14853
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
14856
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/buildFullPath.js
|
|
14854
14857
|
/**
|
|
14855
14858
|
* Creates a new URL by combining the baseURL with the requestedURL,
|
|
14856
14859
|
* only when the requestedURL is not already an absolute URL.
|
|
@@ -15055,7 +15058,7 @@ var require_ms = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15055
15058
|
}
|
|
15056
15059
|
}));
|
|
15057
15060
|
//#endregion
|
|
15058
|
-
//#region ../../node_modules/.pnpm/debug@4.4.
|
|
15061
|
+
//#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@10.2.2/node_modules/debug/src/common.js
|
|
15059
15062
|
var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15060
15063
|
/**
|
|
15061
15064
|
* This is the common logic for both the Node.js and web browser
|
|
@@ -15257,7 +15260,7 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15257
15260
|
module.exports = setup;
|
|
15258
15261
|
}));
|
|
15259
15262
|
//#endregion
|
|
15260
|
-
//#region ../../node_modules/.pnpm/debug@4.4.
|
|
15263
|
+
//#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@10.2.2/node_modules/debug/src/browser.js
|
|
15261
15264
|
var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15262
15265
|
/**
|
|
15263
15266
|
* This is the web browser implementation of `debug()`.
|
|
@@ -15453,90 +15456,113 @@ var require_browser = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15453
15456
|
};
|
|
15454
15457
|
}));
|
|
15455
15458
|
//#endregion
|
|
15456
|
-
//#region ../../node_modules/.pnpm/
|
|
15457
|
-
var
|
|
15458
|
-
|
|
15459
|
-
|
|
15460
|
-
|
|
15461
|
-
|
|
15462
|
-
|
|
15463
|
-
|
|
15464
|
-
|
|
15465
|
-
|
|
15466
|
-
|
|
15467
|
-
|
|
15468
|
-
|
|
15469
|
-
|
|
15470
|
-
|
|
15471
|
-
|
|
15472
|
-
|
|
15473
|
-
if (
|
|
15474
|
-
|
|
15475
|
-
|
|
15476
|
-
|
|
15477
|
-
|
|
15478
|
-
|
|
15479
|
-
|
|
15480
|
-
|
|
15481
|
-
|
|
15482
|
-
|
|
15483
|
-
|
|
15484
|
-
|
|
15485
|
-
|
|
15486
|
-
|
|
15487
|
-
|
|
15488
|
-
|
|
15459
|
+
//#region ../../node_modules/.pnpm/supports-color@10.2.2/node_modules/supports-color/index.js
|
|
15460
|
+
var supports_color_exports = /* @__PURE__ */ __exportAll({
|
|
15461
|
+
createSupportsColor: () => createSupportsColor,
|
|
15462
|
+
default: () => supportsColor
|
|
15463
|
+
});
|
|
15464
|
+
function hasFlag(flag, argv = globalThis.Deno ? globalThis.Deno.args : process$1.argv) {
|
|
15465
|
+
const prefix = flag.startsWith("-") ? "" : flag.length === 1 ? "-" : "--";
|
|
15466
|
+
const position = argv.indexOf(prefix + flag);
|
|
15467
|
+
const terminatorPosition = argv.indexOf("--");
|
|
15468
|
+
return position !== -1 && (terminatorPosition === -1 || position < terminatorPosition);
|
|
15469
|
+
}
|
|
15470
|
+
function envForceColor() {
|
|
15471
|
+
if (!("FORCE_COLOR" in env)) return;
|
|
15472
|
+
if (env.FORCE_COLOR === "true") return 1;
|
|
15473
|
+
if (env.FORCE_COLOR === "false") return 0;
|
|
15474
|
+
if (env.FORCE_COLOR.length === 0) return 1;
|
|
15475
|
+
const level = Math.min(Number.parseInt(env.FORCE_COLOR, 10), 3);
|
|
15476
|
+
if (![
|
|
15477
|
+
0,
|
|
15478
|
+
1,
|
|
15479
|
+
2,
|
|
15480
|
+
3
|
|
15481
|
+
].includes(level)) return;
|
|
15482
|
+
return level;
|
|
15483
|
+
}
|
|
15484
|
+
function translateLevel(level) {
|
|
15485
|
+
if (level === 0) return false;
|
|
15486
|
+
return {
|
|
15487
|
+
level,
|
|
15488
|
+
hasBasic: true,
|
|
15489
|
+
has256: level >= 2,
|
|
15490
|
+
has16m: level >= 3
|
|
15491
|
+
};
|
|
15492
|
+
}
|
|
15493
|
+
function _supportsColor(haveStream, { streamIsTTY, sniffFlags = true } = {}) {
|
|
15494
|
+
const noFlagForceColor = envForceColor();
|
|
15495
|
+
if (noFlagForceColor !== void 0) flagForceColor = noFlagForceColor;
|
|
15496
|
+
const forceColor = sniffFlags ? flagForceColor : noFlagForceColor;
|
|
15497
|
+
if (forceColor === 0) return 0;
|
|
15498
|
+
if (sniffFlags) {
|
|
15489
15499
|
if (hasFlag("color=16m") || hasFlag("color=full") || hasFlag("color=truecolor")) return 3;
|
|
15490
15500
|
if (hasFlag("color=256")) return 2;
|
|
15491
|
-
if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
|
|
15492
|
-
const min = forceColor || 0;
|
|
15493
|
-
if (env.TERM === "dumb") return min;
|
|
15494
|
-
if (process.platform === "win32") {
|
|
15495
|
-
const osRelease = os.release().split(".");
|
|
15496
|
-
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
15497
|
-
return 1;
|
|
15498
|
-
}
|
|
15499
|
-
if ("CI" in env) {
|
|
15500
|
-
if ([
|
|
15501
|
-
"TRAVIS",
|
|
15502
|
-
"CIRCLECI",
|
|
15503
|
-
"APPVEYOR",
|
|
15504
|
-
"GITLAB_CI",
|
|
15505
|
-
"GITHUB_ACTIONS",
|
|
15506
|
-
"BUILDKITE"
|
|
15507
|
-
].some((sign) => sign in env) || env.CI_NAME === "codeship") return 1;
|
|
15508
|
-
return min;
|
|
15509
|
-
}
|
|
15510
|
-
if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
15511
|
-
if (env.COLORTERM === "truecolor") return 3;
|
|
15512
|
-
if ("TERM_PROGRAM" in env) {
|
|
15513
|
-
const version = parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
15514
|
-
switch (env.TERM_PROGRAM) {
|
|
15515
|
-
case "iTerm.app": return version >= 3 ? 3 : 2;
|
|
15516
|
-
case "Apple_Terminal": return 2;
|
|
15517
|
-
}
|
|
15518
|
-
}
|
|
15519
|
-
if (/-256(color)?$/i.test(env.TERM)) return 2;
|
|
15520
|
-
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
|
|
15521
|
-
if ("COLORTERM" in env) return 1;
|
|
15522
|
-
return min;
|
|
15523
15501
|
}
|
|
15524
|
-
|
|
15525
|
-
|
|
15502
|
+
if ("TF_BUILD" in env && "AGENT_NAME" in env) return 1;
|
|
15503
|
+
if (haveStream && !streamIsTTY && forceColor === void 0) return 0;
|
|
15504
|
+
const min = forceColor || 0;
|
|
15505
|
+
if (env.TERM === "dumb") return min;
|
|
15506
|
+
if (process$1.platform === "win32") {
|
|
15507
|
+
const osRelease = os.release().split(".");
|
|
15508
|
+
if (Number(osRelease[0]) >= 10 && Number(osRelease[2]) >= 10586) return Number(osRelease[2]) >= 14931 ? 3 : 2;
|
|
15509
|
+
return 1;
|
|
15510
|
+
}
|
|
15511
|
+
if ("CI" in env) {
|
|
15512
|
+
if ([
|
|
15513
|
+
"GITHUB_ACTIONS",
|
|
15514
|
+
"GITEA_ACTIONS",
|
|
15515
|
+
"CIRCLECI"
|
|
15516
|
+
].some((key) => key in env)) return 3;
|
|
15517
|
+
if ([
|
|
15518
|
+
"TRAVIS",
|
|
15519
|
+
"APPVEYOR",
|
|
15520
|
+
"GITLAB_CI",
|
|
15521
|
+
"BUILDKITE",
|
|
15522
|
+
"DRONE"
|
|
15523
|
+
].some((sign) => sign in env) || env.CI_NAME === "codeship") return 1;
|
|
15524
|
+
return min;
|
|
15526
15525
|
}
|
|
15527
|
-
|
|
15528
|
-
|
|
15529
|
-
|
|
15530
|
-
|
|
15526
|
+
if ("TEAMCITY_VERSION" in env) return /^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(env.TEAMCITY_VERSION) ? 1 : 0;
|
|
15527
|
+
if (env.COLORTERM === "truecolor") return 3;
|
|
15528
|
+
if (env.TERM === "xterm-kitty") return 3;
|
|
15529
|
+
if (env.TERM === "xterm-ghostty") return 3;
|
|
15530
|
+
if (env.TERM === "wezterm") return 3;
|
|
15531
|
+
if ("TERM_PROGRAM" in env) {
|
|
15532
|
+
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || "").split(".")[0], 10);
|
|
15533
|
+
switch (env.TERM_PROGRAM) {
|
|
15534
|
+
case "iTerm.app": return version >= 3 ? 3 : 2;
|
|
15535
|
+
case "Apple_Terminal": return 2;
|
|
15536
|
+
}
|
|
15537
|
+
}
|
|
15538
|
+
if (/-256(color)?$/i.test(env.TERM)) return 2;
|
|
15539
|
+
if (/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(env.TERM)) return 1;
|
|
15540
|
+
if ("COLORTERM" in env) return 1;
|
|
15541
|
+
return min;
|
|
15542
|
+
}
|
|
15543
|
+
function createSupportsColor(stream, options = {}) {
|
|
15544
|
+
return translateLevel(_supportsColor(stream, {
|
|
15545
|
+
streamIsTTY: stream && stream.isTTY,
|
|
15546
|
+
...options
|
|
15547
|
+
}));
|
|
15548
|
+
}
|
|
15549
|
+
var env, flagForceColor, supportsColor;
|
|
15550
|
+
var init_supports_color = __esmMin((() => {
|
|
15551
|
+
({env} = process$1);
|
|
15552
|
+
if (hasFlag("no-color") || hasFlag("no-colors") || hasFlag("color=false") || hasFlag("color=never")) flagForceColor = 0;
|
|
15553
|
+
else if (hasFlag("color") || hasFlag("colors") || hasFlag("color=true") || hasFlag("color=always")) flagForceColor = 1;
|
|
15554
|
+
supportsColor = {
|
|
15555
|
+
stdout: createSupportsColor({ isTTY: tty.isatty(1) }),
|
|
15556
|
+
stderr: createSupportsColor({ isTTY: tty.isatty(2) })
|
|
15531
15557
|
};
|
|
15532
15558
|
}));
|
|
15533
15559
|
//#endregion
|
|
15534
|
-
//#region ../../node_modules/.pnpm/debug@4.4.
|
|
15560
|
+
//#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@10.2.2/node_modules/debug/src/node.js
|
|
15535
15561
|
var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15536
15562
|
/**
|
|
15537
15563
|
* Module dependencies.
|
|
15538
15564
|
*/
|
|
15539
|
-
var tty = __require("tty");
|
|
15565
|
+
var tty$1 = __require("tty");
|
|
15540
15566
|
var util$1 = __require("util");
|
|
15541
15567
|
/**
|
|
15542
15568
|
* This is the Node.js implementation of `debug()`.
|
|
@@ -15560,7 +15586,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15560
15586
|
1
|
|
15561
15587
|
];
|
|
15562
15588
|
try {
|
|
15563
|
-
const supportsColor =
|
|
15589
|
+
const supportsColor = (init_supports_color(), __toCommonJS(supports_color_exports));
|
|
15564
15590
|
if (supportsColor && (supportsColor.stderr || supportsColor).level >= 2) exports.colors = [
|
|
15565
15591
|
20,
|
|
15566
15592
|
21,
|
|
@@ -15663,7 +15689,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15663
15689
|
* Is stdout a TTY? Colored output is enabled when `true`.
|
|
15664
15690
|
*/
|
|
15665
15691
|
function useColors() {
|
|
15666
|
-
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
|
|
15692
|
+
return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty$1.isatty(process.stderr.fd);
|
|
15667
15693
|
}
|
|
15668
15694
|
/**
|
|
15669
15695
|
* Adds ANSI color escape codes if enabled.
|
|
@@ -15738,7 +15764,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15738
15764
|
};
|
|
15739
15765
|
}));
|
|
15740
15766
|
//#endregion
|
|
15741
|
-
//#region ../../node_modules/.pnpm/debug@4.4.
|
|
15767
|
+
//#region ../../node_modules/.pnpm/debug@4.4.3_supports-color@10.2.2/node_modules/debug/src/index.js
|
|
15742
15768
|
var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15743
15769
|
/**
|
|
15744
15770
|
* Detect Electron renderer / nwjs process, which is node, but we should
|
|
@@ -15748,7 +15774,7 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15748
15774
|
else module.exports = require_node();
|
|
15749
15775
|
}));
|
|
15750
15776
|
//#endregion
|
|
15751
|
-
//#region ../../node_modules/.pnpm/follow-redirects@1.15.
|
|
15777
|
+
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3_supports-color@10.2.2_/node_modules/follow-redirects/debug.js
|
|
15752
15778
|
var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15753
15779
|
var debug;
|
|
15754
15780
|
module.exports = function() {
|
|
@@ -15762,7 +15788,7 @@ var require_debug = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
15762
15788
|
};
|
|
15763
15789
|
}));
|
|
15764
15790
|
//#endregion
|
|
15765
|
-
//#region ../../node_modules/.pnpm/follow-redirects@1.15.
|
|
15791
|
+
//#region ../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.4.3_supports-color@10.2.2_/node_modules/follow-redirects/index.js
|
|
15766
15792
|
var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
15767
15793
|
var url$1 = __require("url");
|
|
15768
15794
|
var URL = url$1.URL;
|
|
@@ -16194,16 +16220,16 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
|
|
|
16194
16220
|
module.exports.wrap = wrap;
|
|
16195
16221
|
}));
|
|
16196
16222
|
//#endregion
|
|
16197
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16223
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/env/data.js
|
|
16198
16224
|
var VERSION = "1.14.0";
|
|
16199
16225
|
//#endregion
|
|
16200
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16226
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/parseProtocol.js
|
|
16201
16227
|
function parseProtocol(url) {
|
|
16202
16228
|
const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url);
|
|
16203
16229
|
return match && match[1] || "";
|
|
16204
16230
|
}
|
|
16205
16231
|
//#endregion
|
|
16206
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16232
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/fromDataURI.js
|
|
16207
16233
|
var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
|
|
16208
16234
|
/**
|
|
16209
16235
|
* Parse data uri to a Buffer or Blob
|
|
@@ -16236,7 +16262,7 @@ function fromDataURI(uri, asBlob, options) {
|
|
|
16236
16262
|
throw new AxiosError("Unsupported protocol " + protocol, AxiosError.ERR_NOT_SUPPORT);
|
|
16237
16263
|
}
|
|
16238
16264
|
//#endregion
|
|
16239
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16265
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/AxiosTransformStream.js
|
|
16240
16266
|
var kInternals = Symbol("internals");
|
|
16241
16267
|
var AxiosTransformStream = class extends stream.Transform {
|
|
16242
16268
|
constructor(options) {
|
|
@@ -16330,7 +16356,7 @@ var AxiosTransformStream = class extends stream.Transform {
|
|
|
16330
16356
|
}
|
|
16331
16357
|
};
|
|
16332
16358
|
//#endregion
|
|
16333
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16359
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/readBlob.js
|
|
16334
16360
|
var { asyncIterator } = Symbol;
|
|
16335
16361
|
var readBlob = async function* (blob) {
|
|
16336
16362
|
if (blob.stream) yield* blob.stream();
|
|
@@ -16339,7 +16365,7 @@ var readBlob = async function* (blob) {
|
|
|
16339
16365
|
else yield blob;
|
|
16340
16366
|
};
|
|
16341
16367
|
//#endregion
|
|
16342
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16368
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/formDataToStream.js
|
|
16343
16369
|
var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
|
|
16344
16370
|
var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new util.TextEncoder();
|
|
16345
16371
|
var CRLF = "\r\n";
|
|
@@ -16399,7 +16425,7 @@ var formDataToStream = (form, headersHandler, options) => {
|
|
|
16399
16425
|
})());
|
|
16400
16426
|
};
|
|
16401
16427
|
//#endregion
|
|
16402
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16428
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
|
|
16403
16429
|
var ZlibHeaderTransformStream = class extends stream.Transform {
|
|
16404
16430
|
__transform(chunk, encoding, callback) {
|
|
16405
16431
|
this.push(chunk);
|
|
@@ -16419,7 +16445,7 @@ var ZlibHeaderTransformStream = class extends stream.Transform {
|
|
|
16419
16445
|
}
|
|
16420
16446
|
};
|
|
16421
16447
|
//#endregion
|
|
16422
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16448
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/callbackify.js
|
|
16423
16449
|
var callbackify = (fn, reducer) => {
|
|
16424
16450
|
return utils_default.isAsyncFn(fn) ? function(...args) {
|
|
16425
16451
|
const cb = args.pop();
|
|
@@ -16433,7 +16459,7 @@ var callbackify = (fn, reducer) => {
|
|
|
16433
16459
|
} : fn;
|
|
16434
16460
|
};
|
|
16435
16461
|
//#endregion
|
|
16436
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16462
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/speedometer.js
|
|
16437
16463
|
/**
|
|
16438
16464
|
* Calculate data maxRate
|
|
16439
16465
|
* @param {Number} [samplesCount= 10]
|
|
@@ -16468,7 +16494,7 @@ function speedometer(samplesCount, min) {
|
|
|
16468
16494
|
};
|
|
16469
16495
|
}
|
|
16470
16496
|
//#endregion
|
|
16471
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16497
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/throttle.js
|
|
16472
16498
|
/**
|
|
16473
16499
|
* Throttle decorator
|
|
16474
16500
|
* @param {Function} fn
|
|
@@ -16505,7 +16531,7 @@ function throttle(fn, freq) {
|
|
|
16505
16531
|
return [throttled, flush];
|
|
16506
16532
|
}
|
|
16507
16533
|
//#endregion
|
|
16508
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16534
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/progressEventReducer.js
|
|
16509
16535
|
var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
|
|
16510
16536
|
let bytesNotified = 0;
|
|
16511
16537
|
const _speedometer = speedometer(50, 250);
|
|
@@ -16539,7 +16565,7 @@ var progressEventDecorator = (total, throttled) => {
|
|
|
16539
16565
|
};
|
|
16540
16566
|
var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
|
|
16541
16567
|
//#endregion
|
|
16542
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16568
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
|
|
16543
16569
|
/**
|
|
16544
16570
|
* Estimate decoded byte length of a data:// URL *without* allocating large buffers.
|
|
16545
16571
|
* - For base64: compute exact decoded size using length and padding;
|
|
@@ -16589,7 +16615,7 @@ function estimateDataURLDecodedBytes(url) {
|
|
|
16589
16615
|
return Buffer.byteLength(body, "utf8");
|
|
16590
16616
|
}
|
|
16591
16617
|
//#endregion
|
|
16592
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
16618
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/adapters/http.js
|
|
16593
16619
|
var import_follow_redirects = /* @__PURE__ */ __toESM(require_follow_redirects(), 1);
|
|
16594
16620
|
var zlibOptions = {
|
|
16595
16621
|
flush: zlib.constants.Z_SYNC_FLUSH,
|
|
@@ -17086,13 +17112,13 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
|
|
|
17086
17112
|
});
|
|
17087
17113
|
};
|
|
17088
17114
|
//#endregion
|
|
17089
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17115
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/isURLSameOrigin.js
|
|
17090
17116
|
var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
|
|
17091
17117
|
url = new URL(url, platform_default.origin);
|
|
17092
17118
|
return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
|
|
17093
17119
|
})(new URL(platform_default.origin), platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)) : () => true;
|
|
17094
17120
|
//#endregion
|
|
17095
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17121
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/cookies.js
|
|
17096
17122
|
var cookies_default = platform_default.hasStandardBrowserEnv ? {
|
|
17097
17123
|
write(name, value, expires, path, domain, secure, sameSite) {
|
|
17098
17124
|
if (typeof document === "undefined") return;
|
|
@@ -17120,7 +17146,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? {
|
|
|
17120
17146
|
remove() {}
|
|
17121
17147
|
};
|
|
17122
17148
|
//#endregion
|
|
17123
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17149
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/mergeConfig.js
|
|
17124
17150
|
var headersToObject = (thing) => thing instanceof AxiosHeaders ? { ...thing } : thing;
|
|
17125
17151
|
/**
|
|
17126
17152
|
* Config-specific merge-function which creates a new config-object
|
|
@@ -17198,7 +17224,7 @@ function mergeConfig(config1, config2) {
|
|
|
17198
17224
|
return config;
|
|
17199
17225
|
}
|
|
17200
17226
|
//#endregion
|
|
17201
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17227
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/resolveConfig.js
|
|
17202
17228
|
var resolveConfig_default = (config) => {
|
|
17203
17229
|
const newConfig = mergeConfig({}, config);
|
|
17204
17230
|
let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
|
|
@@ -17319,7 +17345,7 @@ var xhr_default = typeof XMLHttpRequest !== "undefined" && function(config) {
|
|
|
17319
17345
|
});
|
|
17320
17346
|
};
|
|
17321
17347
|
//#endregion
|
|
17322
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17348
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/composeSignals.js
|
|
17323
17349
|
var composeSignals = (signals, timeout) => {
|
|
17324
17350
|
const { length } = signals = signals ? signals.filter(Boolean) : [];
|
|
17325
17351
|
if (timeout || length) {
|
|
@@ -17354,7 +17380,7 @@ var composeSignals = (signals, timeout) => {
|
|
|
17354
17380
|
}
|
|
17355
17381
|
};
|
|
17356
17382
|
//#endregion
|
|
17357
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17383
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/trackStream.js
|
|
17358
17384
|
var streamChunk = function* (chunk, chunkSize) {
|
|
17359
17385
|
let len = chunk.byteLength;
|
|
17360
17386
|
if (!chunkSize || len < chunkSize) {
|
|
@@ -17422,7 +17448,7 @@ var trackStream = (stream, chunkSize, onProgress, onFinish) => {
|
|
|
17422
17448
|
}, { highWaterMark: 2 });
|
|
17423
17449
|
};
|
|
17424
17450
|
//#endregion
|
|
17425
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17451
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/adapters/fetch.js
|
|
17426
17452
|
var DEFAULT_CHUNK_SIZE = 64 * 1024;
|
|
17427
17453
|
var { isFunction } = utils_default;
|
|
17428
17454
|
var globalFetchAPI = (({ Request, Response }) => ({
|
|
@@ -17584,7 +17610,7 @@ var getFetch = (config) => {
|
|
|
17584
17610
|
};
|
|
17585
17611
|
getFetch();
|
|
17586
17612
|
//#endregion
|
|
17587
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17613
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/adapters/adapters.js
|
|
17588
17614
|
/**
|
|
17589
17615
|
* Known adapters mapping.
|
|
17590
17616
|
* Provides environment-specific adapters for Axios:
|
|
@@ -17662,7 +17688,7 @@ var adapters_default = {
|
|
|
17662
17688
|
adapters: knownAdapters
|
|
17663
17689
|
};
|
|
17664
17690
|
//#endregion
|
|
17665
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17691
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/dispatchRequest.js
|
|
17666
17692
|
/**
|
|
17667
17693
|
* Throws a `CanceledError` if cancellation has been requested.
|
|
17668
17694
|
*
|
|
@@ -17707,7 +17733,7 @@ function dispatchRequest(config) {
|
|
|
17707
17733
|
});
|
|
17708
17734
|
}
|
|
17709
17735
|
//#endregion
|
|
17710
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17736
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/validator.js
|
|
17711
17737
|
var validators$1 = {};
|
|
17712
17738
|
[
|
|
17713
17739
|
"object",
|
|
@@ -17780,7 +17806,7 @@ var validator_default = {
|
|
|
17780
17806
|
validators: validators$1
|
|
17781
17807
|
};
|
|
17782
17808
|
//#endregion
|
|
17783
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17809
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/core/Axios.js
|
|
17784
17810
|
var validators = validator_default.validators;
|
|
17785
17811
|
/**
|
|
17786
17812
|
* Create a new instance of Axios
|
|
@@ -17944,7 +17970,7 @@ utils_default.forEach([
|
|
|
17944
17970
|
Axios.prototype[method + "Form"] = generateHTTPMethod(true);
|
|
17945
17971
|
});
|
|
17946
17972
|
//#endregion
|
|
17947
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
17973
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/cancel/CancelToken.js
|
|
17948
17974
|
/**
|
|
17949
17975
|
* A `CancelToken` is an object that can be used to request cancellation of an operation.
|
|
17950
17976
|
*
|
|
@@ -18032,7 +18058,7 @@ var CancelToken = class CancelToken {
|
|
|
18032
18058
|
}
|
|
18033
18059
|
};
|
|
18034
18060
|
//#endregion
|
|
18035
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
18061
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/spread.js
|
|
18036
18062
|
/**
|
|
18037
18063
|
* Syntactic sugar for invoking a function and expanding an array for arguments.
|
|
18038
18064
|
*
|
|
@@ -18060,7 +18086,7 @@ function spread(callback) {
|
|
|
18060
18086
|
};
|
|
18061
18087
|
}
|
|
18062
18088
|
//#endregion
|
|
18063
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
18089
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/isAxiosError.js
|
|
18064
18090
|
/**
|
|
18065
18091
|
* Determines whether the payload is an error thrown by Axios
|
|
18066
18092
|
*
|
|
@@ -18072,7 +18098,7 @@ function isAxiosError(payload) {
|
|
|
18072
18098
|
return utils_default.isObject(payload) && payload.isAxiosError === true;
|
|
18073
18099
|
}
|
|
18074
18100
|
//#endregion
|
|
18075
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
18101
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/helpers/HttpStatusCode.js
|
|
18076
18102
|
var HttpStatusCode = {
|
|
18077
18103
|
Continue: 100,
|
|
18078
18104
|
SwitchingProtocols: 101,
|
|
@@ -18148,7 +18174,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
|
|
|
18148
18174
|
HttpStatusCode[value] = key;
|
|
18149
18175
|
});
|
|
18150
18176
|
//#endregion
|
|
18151
|
-
//#region ../../node_modules/.pnpm/axios@1.14.
|
|
18177
|
+
//#region ../../node_modules/.pnpm/axios@1.14.0_debug@4.4.3_supports-color@10.2.2_/node_modules/axios/lib/axios.js
|
|
18152
18178
|
/**
|
|
18153
18179
|
* Create an instance of Axios
|
|
18154
18180
|
*
|
|
@@ -19092,6 +19118,7 @@ var string$1 = (params) => {
|
|
|
19092
19118
|
var integer = /^-?\d+$/;
|
|
19093
19119
|
var number$1 = /^-?\d+(?:\.\d+)?$/;
|
|
19094
19120
|
var boolean$1 = /^(?:true|false)$/i;
|
|
19121
|
+
var _null$2 = /^null$/i;
|
|
19095
19122
|
var lowercase = /^[^A-Z]*$/;
|
|
19096
19123
|
var uppercase = /^[^a-z]*$/;
|
|
19097
19124
|
//#endregion
|
|
@@ -19884,6 +19911,22 @@ var $ZodBoolean = /* @__PURE__ */ $constructor("$ZodBoolean", (inst, def) => {
|
|
|
19884
19911
|
return payload;
|
|
19885
19912
|
};
|
|
19886
19913
|
});
|
|
19914
|
+
var $ZodNull = /* @__PURE__ */ $constructor("$ZodNull", (inst, def) => {
|
|
19915
|
+
$ZodType.init(inst, def);
|
|
19916
|
+
inst._zod.pattern = _null$2;
|
|
19917
|
+
inst._zod.values = new Set([null]);
|
|
19918
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
19919
|
+
const input = payload.value;
|
|
19920
|
+
if (input === null) return payload;
|
|
19921
|
+
payload.issues.push({
|
|
19922
|
+
expected: "null",
|
|
19923
|
+
code: "invalid_type",
|
|
19924
|
+
input,
|
|
19925
|
+
inst
|
|
19926
|
+
});
|
|
19927
|
+
return payload;
|
|
19928
|
+
};
|
|
19929
|
+
});
|
|
19887
19930
|
var $ZodUnknown = /* @__PURE__ */ $constructor("$ZodUnknown", (inst, def) => {
|
|
19888
19931
|
$ZodType.init(inst, def);
|
|
19889
19932
|
inst._zod.parse = (payload) => payload;
|
|
@@ -20306,6 +20349,97 @@ function handleIntersectionResults(result, left, right) {
|
|
|
20306
20349
|
result.value = merged.data;
|
|
20307
20350
|
return result;
|
|
20308
20351
|
}
|
|
20352
|
+
var $ZodRecord = /* @__PURE__ */ $constructor("$ZodRecord", (inst, def) => {
|
|
20353
|
+
$ZodType.init(inst, def);
|
|
20354
|
+
inst._zod.parse = (payload, ctx) => {
|
|
20355
|
+
const input = payload.value;
|
|
20356
|
+
if (!isPlainObject(input)) {
|
|
20357
|
+
payload.issues.push({
|
|
20358
|
+
expected: "record",
|
|
20359
|
+
code: "invalid_type",
|
|
20360
|
+
input,
|
|
20361
|
+
inst
|
|
20362
|
+
});
|
|
20363
|
+
return payload;
|
|
20364
|
+
}
|
|
20365
|
+
const proms = [];
|
|
20366
|
+
const values = def.keyType._zod.values;
|
|
20367
|
+
if (values) {
|
|
20368
|
+
payload.value = {};
|
|
20369
|
+
const recordKeys = /* @__PURE__ */ new Set();
|
|
20370
|
+
for (const key of values) if (typeof key === "string" || typeof key === "number" || typeof key === "symbol") {
|
|
20371
|
+
recordKeys.add(typeof key === "number" ? key.toString() : key);
|
|
20372
|
+
const result = def.valueType._zod.run({
|
|
20373
|
+
value: input[key],
|
|
20374
|
+
issues: []
|
|
20375
|
+
}, ctx);
|
|
20376
|
+
if (result instanceof Promise) proms.push(result.then((result) => {
|
|
20377
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
20378
|
+
payload.value[key] = result.value;
|
|
20379
|
+
}));
|
|
20380
|
+
else {
|
|
20381
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
20382
|
+
payload.value[key] = result.value;
|
|
20383
|
+
}
|
|
20384
|
+
}
|
|
20385
|
+
let unrecognized;
|
|
20386
|
+
for (const key in input) if (!recordKeys.has(key)) {
|
|
20387
|
+
unrecognized = unrecognized ?? [];
|
|
20388
|
+
unrecognized.push(key);
|
|
20389
|
+
}
|
|
20390
|
+
if (unrecognized && unrecognized.length > 0) payload.issues.push({
|
|
20391
|
+
code: "unrecognized_keys",
|
|
20392
|
+
input,
|
|
20393
|
+
inst,
|
|
20394
|
+
keys: unrecognized
|
|
20395
|
+
});
|
|
20396
|
+
} else {
|
|
20397
|
+
payload.value = {};
|
|
20398
|
+
for (const key of Reflect.ownKeys(input)) {
|
|
20399
|
+
if (key === "__proto__") continue;
|
|
20400
|
+
let keyResult = def.keyType._zod.run({
|
|
20401
|
+
value: key,
|
|
20402
|
+
issues: []
|
|
20403
|
+
}, ctx);
|
|
20404
|
+
if (keyResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
20405
|
+
if (typeof key === "string" && number$1.test(key) && keyResult.issues.length) {
|
|
20406
|
+
const retryResult = def.keyType._zod.run({
|
|
20407
|
+
value: Number(key),
|
|
20408
|
+
issues: []
|
|
20409
|
+
}, ctx);
|
|
20410
|
+
if (retryResult instanceof Promise) throw new Error("Async schemas not supported in object keys currently");
|
|
20411
|
+
if (retryResult.issues.length === 0) keyResult = retryResult;
|
|
20412
|
+
}
|
|
20413
|
+
if (keyResult.issues.length) {
|
|
20414
|
+
if (def.mode === "loose") payload.value[key] = input[key];
|
|
20415
|
+
else payload.issues.push({
|
|
20416
|
+
code: "invalid_key",
|
|
20417
|
+
origin: "record",
|
|
20418
|
+
issues: keyResult.issues.map((iss) => finalizeIssue(iss, ctx, config())),
|
|
20419
|
+
input: key,
|
|
20420
|
+
path: [key],
|
|
20421
|
+
inst
|
|
20422
|
+
});
|
|
20423
|
+
continue;
|
|
20424
|
+
}
|
|
20425
|
+
const result = def.valueType._zod.run({
|
|
20426
|
+
value: input[key],
|
|
20427
|
+
issues: []
|
|
20428
|
+
}, ctx);
|
|
20429
|
+
if (result instanceof Promise) proms.push(result.then((result) => {
|
|
20430
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
20431
|
+
payload.value[keyResult.value] = result.value;
|
|
20432
|
+
}));
|
|
20433
|
+
else {
|
|
20434
|
+
if (result.issues.length) payload.issues.push(...prefixIssues(key, result.issues));
|
|
20435
|
+
payload.value[keyResult.value] = result.value;
|
|
20436
|
+
}
|
|
20437
|
+
}
|
|
20438
|
+
}
|
|
20439
|
+
if (proms.length) return Promise.all(proms).then(() => payload);
|
|
20440
|
+
return payload;
|
|
20441
|
+
};
|
|
20442
|
+
});
|
|
20309
20443
|
var $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
|
|
20310
20444
|
$ZodType.init(inst, def);
|
|
20311
20445
|
const values = getEnumValues(def.entries);
|
|
@@ -20324,6 +20458,24 @@ var $ZodEnum = /* @__PURE__ */ $constructor("$ZodEnum", (inst, def) => {
|
|
|
20324
20458
|
return payload;
|
|
20325
20459
|
};
|
|
20326
20460
|
});
|
|
20461
|
+
var $ZodLiteral = /* @__PURE__ */ $constructor("$ZodLiteral", (inst, def) => {
|
|
20462
|
+
$ZodType.init(inst, def);
|
|
20463
|
+
if (def.values.length === 0) throw new Error("Cannot create literal schema with no valid values");
|
|
20464
|
+
const values = new Set(def.values);
|
|
20465
|
+
inst._zod.values = values;
|
|
20466
|
+
inst._zod.pattern = new RegExp(`^(${def.values.map((o) => typeof o === "string" ? escapeRegex(o) : o ? escapeRegex(o.toString()) : String(o)).join("|")})$`);
|
|
20467
|
+
inst._zod.parse = (payload, _ctx) => {
|
|
20468
|
+
const input = payload.value;
|
|
20469
|
+
if (values.has(input)) return payload;
|
|
20470
|
+
payload.issues.push({
|
|
20471
|
+
code: "invalid_value",
|
|
20472
|
+
values: def.values,
|
|
20473
|
+
input,
|
|
20474
|
+
inst
|
|
20475
|
+
});
|
|
20476
|
+
return payload;
|
|
20477
|
+
};
|
|
20478
|
+
});
|
|
20327
20479
|
var $ZodTransform = /* @__PURE__ */ $constructor("$ZodTransform", (inst, def) => {
|
|
20328
20480
|
$ZodType.init(inst, def);
|
|
20329
20481
|
inst._zod.parse = (payload, ctx) => {
|
|
@@ -20519,6 +20671,17 @@ function handleReadonlyResult(payload) {
|
|
|
20519
20671
|
payload.value = Object.freeze(payload.value);
|
|
20520
20672
|
return payload;
|
|
20521
20673
|
}
|
|
20674
|
+
var $ZodLazy = /* @__PURE__ */ $constructor("$ZodLazy", (inst, def) => {
|
|
20675
|
+
$ZodType.init(inst, def);
|
|
20676
|
+
defineLazy(inst._zod, "innerType", () => def.getter());
|
|
20677
|
+
defineLazy(inst._zod, "pattern", () => inst._zod.innerType?._zod?.pattern);
|
|
20678
|
+
defineLazy(inst._zod, "propValues", () => inst._zod.innerType?._zod?.propValues);
|
|
20679
|
+
defineLazy(inst._zod, "optin", () => inst._zod.innerType?._zod?.optin ?? void 0);
|
|
20680
|
+
defineLazy(inst._zod, "optout", () => inst._zod.innerType?._zod?.optout ?? void 0);
|
|
20681
|
+
inst._zod.parse = (payload, ctx) => {
|
|
20682
|
+
return inst._zod.innerType._zod.run(payload, ctx);
|
|
20683
|
+
};
|
|
20684
|
+
});
|
|
20522
20685
|
var $ZodCustom = /* @__PURE__ */ $constructor("$ZodCustom", (inst, def) => {
|
|
20523
20686
|
$ZodCheck.init(inst, def);
|
|
20524
20687
|
$ZodType.init(inst, def);
|
|
@@ -20890,6 +21053,13 @@ function _boolean(Class, params) {
|
|
|
20890
21053
|
});
|
|
20891
21054
|
}
|
|
20892
21055
|
/* @__NO_SIDE_EFFECTS__ */
|
|
21056
|
+
function _null$1(Class, params) {
|
|
21057
|
+
return new Class({
|
|
21058
|
+
type: "null",
|
|
21059
|
+
...normalizeParams(params)
|
|
21060
|
+
});
|
|
21061
|
+
}
|
|
21062
|
+
/* @__NO_SIDE_EFFECTS__ */
|
|
20893
21063
|
function _unknown(Class) {
|
|
20894
21064
|
return new Class({ type: "unknown" });
|
|
20895
21065
|
}
|
|
@@ -21130,7 +21300,7 @@ function initializeContext(params) {
|
|
|
21130
21300
|
external: params?.external ?? void 0
|
|
21131
21301
|
};
|
|
21132
21302
|
}
|
|
21133
|
-
function process$
|
|
21303
|
+
function process$2(schema, ctx, _params = {
|
|
21134
21304
|
path: [],
|
|
21135
21305
|
schemaPath: []
|
|
21136
21306
|
}) {
|
|
@@ -21167,7 +21337,7 @@ function process$1(schema, ctx, _params = {
|
|
|
21167
21337
|
const parent = schema._zod.parent;
|
|
21168
21338
|
if (parent) {
|
|
21169
21339
|
if (!result.ref) result.ref = parent;
|
|
21170
|
-
process$
|
|
21340
|
+
process$2(parent, ctx, params);
|
|
21171
21341
|
ctx.seen.get(parent).isParent = true;
|
|
21172
21342
|
}
|
|
21173
21343
|
}
|
|
@@ -21379,7 +21549,7 @@ var createToJSONSchemaMethod = (schema, processors = {}) => (params) => {
|
|
|
21379
21549
|
...params,
|
|
21380
21550
|
processors
|
|
21381
21551
|
});
|
|
21382
|
-
process$
|
|
21552
|
+
process$2(schema, ctx);
|
|
21383
21553
|
extractDefs(ctx, schema);
|
|
21384
21554
|
return finalize(ctx, schema);
|
|
21385
21555
|
};
|
|
@@ -21391,7 +21561,7 @@ var createStandardJSONSchemaMethod = (schema, io, processors = {}) => (params) =
|
|
|
21391
21561
|
io,
|
|
21392
21562
|
processors
|
|
21393
21563
|
});
|
|
21394
|
-
process$
|
|
21564
|
+
process$2(schema, ctx);
|
|
21395
21565
|
extractDefs(ctx, schema);
|
|
21396
21566
|
return finalize(ctx, schema);
|
|
21397
21567
|
};
|
|
@@ -21453,6 +21623,13 @@ var numberProcessor = (schema, ctx, _json, _params) => {
|
|
|
21453
21623
|
var booleanProcessor = (_schema, _ctx, json, _params) => {
|
|
21454
21624
|
json.type = "boolean";
|
|
21455
21625
|
};
|
|
21626
|
+
var nullProcessor = (_schema, ctx, json, _params) => {
|
|
21627
|
+
if (ctx.target === "openapi-3.0") {
|
|
21628
|
+
json.type = "string";
|
|
21629
|
+
json.nullable = true;
|
|
21630
|
+
json.enum = [null];
|
|
21631
|
+
} else json.type = "null";
|
|
21632
|
+
};
|
|
21456
21633
|
var neverProcessor = (_schema, _ctx, json, _params) => {
|
|
21457
21634
|
json.not = {};
|
|
21458
21635
|
};
|
|
@@ -21467,6 +21644,27 @@ var enumProcessor = (schema, _ctx, json, _params) => {
|
|
|
21467
21644
|
if (values.every((v) => typeof v === "string")) json.type = "string";
|
|
21468
21645
|
json.enum = values;
|
|
21469
21646
|
};
|
|
21647
|
+
var literalProcessor = (schema, ctx, json, _params) => {
|
|
21648
|
+
const def = schema._zod.def;
|
|
21649
|
+
const vals = [];
|
|
21650
|
+
for (const val of def.values) if (val === void 0) {
|
|
21651
|
+
if (ctx.unrepresentable === "throw") throw new Error("Literal `undefined` cannot be represented in JSON Schema");
|
|
21652
|
+
} else if (typeof val === "bigint") if (ctx.unrepresentable === "throw") throw new Error("BigInt literals cannot be represented in JSON Schema");
|
|
21653
|
+
else vals.push(Number(val));
|
|
21654
|
+
else vals.push(val);
|
|
21655
|
+
if (vals.length === 0) {} else if (vals.length === 1) {
|
|
21656
|
+
const val = vals[0];
|
|
21657
|
+
json.type = val === null ? "null" : typeof val;
|
|
21658
|
+
if (ctx.target === "draft-04" || ctx.target === "openapi-3.0") json.enum = [val];
|
|
21659
|
+
else json.const = val;
|
|
21660
|
+
} else {
|
|
21661
|
+
if (vals.every((v) => typeof v === "number")) json.type = "number";
|
|
21662
|
+
if (vals.every((v) => typeof v === "string")) json.type = "string";
|
|
21663
|
+
if (vals.every((v) => typeof v === "boolean")) json.type = "boolean";
|
|
21664
|
+
if (vals.every((v) => v === null)) json.type = "null";
|
|
21665
|
+
json.enum = vals;
|
|
21666
|
+
}
|
|
21667
|
+
};
|
|
21470
21668
|
var customProcessor = (_schema, ctx, _json, _params) => {
|
|
21471
21669
|
if (ctx.unrepresentable === "throw") throw new Error("Custom types cannot be represented in JSON Schema");
|
|
21472
21670
|
};
|
|
@@ -21480,7 +21678,7 @@ var arrayProcessor = (schema, ctx, _json, params) => {
|
|
|
21480
21678
|
if (typeof minimum === "number") json.minItems = minimum;
|
|
21481
21679
|
if (typeof maximum === "number") json.maxItems = maximum;
|
|
21482
21680
|
json.type = "array";
|
|
21483
|
-
json.items = process$
|
|
21681
|
+
json.items = process$2(def.element, ctx, {
|
|
21484
21682
|
...params,
|
|
21485
21683
|
path: [...params.path, "items"]
|
|
21486
21684
|
});
|
|
@@ -21491,7 +21689,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
21491
21689
|
json.type = "object";
|
|
21492
21690
|
json.properties = {};
|
|
21493
21691
|
const shape = def.shape;
|
|
21494
|
-
for (const key in shape) json.properties[key] = process$
|
|
21692
|
+
for (const key in shape) json.properties[key] = process$2(shape[key], ctx, {
|
|
21495
21693
|
...params,
|
|
21496
21694
|
path: [
|
|
21497
21695
|
...params.path,
|
|
@@ -21509,7 +21707,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
21509
21707
|
if (def.catchall?._zod.def.type === "never") json.additionalProperties = false;
|
|
21510
21708
|
else if (!def.catchall) {
|
|
21511
21709
|
if (ctx.io === "output") json.additionalProperties = false;
|
|
21512
|
-
} else if (def.catchall) json.additionalProperties = process$
|
|
21710
|
+
} else if (def.catchall) json.additionalProperties = process$2(def.catchall, ctx, {
|
|
21513
21711
|
...params,
|
|
21514
21712
|
path: [...params.path, "additionalProperties"]
|
|
21515
21713
|
});
|
|
@@ -21517,7 +21715,7 @@ var objectProcessor = (schema, ctx, _json, params) => {
|
|
|
21517
21715
|
var unionProcessor = (schema, ctx, json, params) => {
|
|
21518
21716
|
const def = schema._zod.def;
|
|
21519
21717
|
const isExclusive = def.inclusive === false;
|
|
21520
|
-
const options = def.options.map((x, i) => process$
|
|
21718
|
+
const options = def.options.map((x, i) => process$2(x, ctx, {
|
|
21521
21719
|
...params,
|
|
21522
21720
|
path: [
|
|
21523
21721
|
...params.path,
|
|
@@ -21530,7 +21728,7 @@ var unionProcessor = (schema, ctx, json, params) => {
|
|
|
21530
21728
|
};
|
|
21531
21729
|
var intersectionProcessor = (schema, ctx, json, params) => {
|
|
21532
21730
|
const def = schema._zod.def;
|
|
21533
|
-
const a = process$
|
|
21731
|
+
const a = process$2(def.left, ctx, {
|
|
21534
21732
|
...params,
|
|
21535
21733
|
path: [
|
|
21536
21734
|
...params.path,
|
|
@@ -21538,7 +21736,7 @@ var intersectionProcessor = (schema, ctx, json, params) => {
|
|
|
21538
21736
|
0
|
|
21539
21737
|
]
|
|
21540
21738
|
});
|
|
21541
|
-
const b = process$
|
|
21739
|
+
const b = process$2(def.right, ctx, {
|
|
21542
21740
|
...params,
|
|
21543
21741
|
path: [
|
|
21544
21742
|
...params.path,
|
|
@@ -21549,9 +21747,42 @@ var intersectionProcessor = (schema, ctx, json, params) => {
|
|
|
21549
21747
|
const isSimpleIntersection = (val) => "allOf" in val && Object.keys(val).length === 1;
|
|
21550
21748
|
json.allOf = [...isSimpleIntersection(a) ? a.allOf : [a], ...isSimpleIntersection(b) ? b.allOf : [b]];
|
|
21551
21749
|
};
|
|
21750
|
+
var recordProcessor = (schema, ctx, _json, params) => {
|
|
21751
|
+
const json = _json;
|
|
21752
|
+
const def = schema._zod.def;
|
|
21753
|
+
json.type = "object";
|
|
21754
|
+
const keyType = def.keyType;
|
|
21755
|
+
const patterns = keyType._zod.bag?.patterns;
|
|
21756
|
+
if (def.mode === "loose" && patterns && patterns.size > 0) {
|
|
21757
|
+
const valueSchema = process$2(def.valueType, ctx, {
|
|
21758
|
+
...params,
|
|
21759
|
+
path: [
|
|
21760
|
+
...params.path,
|
|
21761
|
+
"patternProperties",
|
|
21762
|
+
"*"
|
|
21763
|
+
]
|
|
21764
|
+
});
|
|
21765
|
+
json.patternProperties = {};
|
|
21766
|
+
for (const pattern of patterns) json.patternProperties[pattern.source] = valueSchema;
|
|
21767
|
+
} else {
|
|
21768
|
+
if (ctx.target === "draft-07" || ctx.target === "draft-2020-12") json.propertyNames = process$2(def.keyType, ctx, {
|
|
21769
|
+
...params,
|
|
21770
|
+
path: [...params.path, "propertyNames"]
|
|
21771
|
+
});
|
|
21772
|
+
json.additionalProperties = process$2(def.valueType, ctx, {
|
|
21773
|
+
...params,
|
|
21774
|
+
path: [...params.path, "additionalProperties"]
|
|
21775
|
+
});
|
|
21776
|
+
}
|
|
21777
|
+
const keyValues = keyType._zod.values;
|
|
21778
|
+
if (keyValues) {
|
|
21779
|
+
const validKeyValues = [...keyValues].filter((v) => typeof v === "string" || typeof v === "number");
|
|
21780
|
+
if (validKeyValues.length > 0) json.required = validKeyValues;
|
|
21781
|
+
}
|
|
21782
|
+
};
|
|
21552
21783
|
var nullableProcessor = (schema, ctx, json, params) => {
|
|
21553
21784
|
const def = schema._zod.def;
|
|
21554
|
-
const inner = process$
|
|
21785
|
+
const inner = process$2(def.innerType, ctx, params);
|
|
21555
21786
|
const seen = ctx.seen.get(schema);
|
|
21556
21787
|
if (ctx.target === "openapi-3.0") {
|
|
21557
21788
|
seen.ref = def.innerType;
|
|
@@ -21560,27 +21791,27 @@ var nullableProcessor = (schema, ctx, json, params) => {
|
|
|
21560
21791
|
};
|
|
21561
21792
|
var nonoptionalProcessor = (schema, ctx, _json, params) => {
|
|
21562
21793
|
const def = schema._zod.def;
|
|
21563
|
-
process$
|
|
21794
|
+
process$2(def.innerType, ctx, params);
|
|
21564
21795
|
const seen = ctx.seen.get(schema);
|
|
21565
21796
|
seen.ref = def.innerType;
|
|
21566
21797
|
};
|
|
21567
21798
|
var defaultProcessor = (schema, ctx, json, params) => {
|
|
21568
21799
|
const def = schema._zod.def;
|
|
21569
|
-
process$
|
|
21800
|
+
process$2(def.innerType, ctx, params);
|
|
21570
21801
|
const seen = ctx.seen.get(schema);
|
|
21571
21802
|
seen.ref = def.innerType;
|
|
21572
21803
|
json.default = JSON.parse(JSON.stringify(def.defaultValue));
|
|
21573
21804
|
};
|
|
21574
21805
|
var prefaultProcessor = (schema, ctx, json, params) => {
|
|
21575
21806
|
const def = schema._zod.def;
|
|
21576
|
-
process$
|
|
21807
|
+
process$2(def.innerType, ctx, params);
|
|
21577
21808
|
const seen = ctx.seen.get(schema);
|
|
21578
21809
|
seen.ref = def.innerType;
|
|
21579
21810
|
if (ctx.io === "input") json._prefault = JSON.parse(JSON.stringify(def.defaultValue));
|
|
21580
21811
|
};
|
|
21581
21812
|
var catchProcessor = (schema, ctx, json, params) => {
|
|
21582
21813
|
const def = schema._zod.def;
|
|
21583
|
-
process$
|
|
21814
|
+
process$2(def.innerType, ctx, params);
|
|
21584
21815
|
const seen = ctx.seen.get(schema);
|
|
21585
21816
|
seen.ref = def.innerType;
|
|
21586
21817
|
let catchValue;
|
|
@@ -21594,23 +21825,29 @@ var catchProcessor = (schema, ctx, json, params) => {
|
|
|
21594
21825
|
var pipeProcessor = (schema, ctx, _json, params) => {
|
|
21595
21826
|
const def = schema._zod.def;
|
|
21596
21827
|
const innerType = ctx.io === "input" ? def.in._zod.def.type === "transform" ? def.out : def.in : def.out;
|
|
21597
|
-
process$
|
|
21828
|
+
process$2(innerType, ctx, params);
|
|
21598
21829
|
const seen = ctx.seen.get(schema);
|
|
21599
21830
|
seen.ref = innerType;
|
|
21600
21831
|
};
|
|
21601
21832
|
var readonlyProcessor = (schema, ctx, json, params) => {
|
|
21602
21833
|
const def = schema._zod.def;
|
|
21603
|
-
process$
|
|
21834
|
+
process$2(def.innerType, ctx, params);
|
|
21604
21835
|
const seen = ctx.seen.get(schema);
|
|
21605
21836
|
seen.ref = def.innerType;
|
|
21606
21837
|
json.readOnly = true;
|
|
21607
21838
|
};
|
|
21608
21839
|
var optionalProcessor = (schema, ctx, _json, params) => {
|
|
21609
21840
|
const def = schema._zod.def;
|
|
21610
|
-
process$
|
|
21841
|
+
process$2(def.innerType, ctx, params);
|
|
21611
21842
|
const seen = ctx.seen.get(schema);
|
|
21612
21843
|
seen.ref = def.innerType;
|
|
21613
21844
|
};
|
|
21845
|
+
var lazyProcessor = (schema, ctx, _json, params) => {
|
|
21846
|
+
const innerType = schema._zod.innerType;
|
|
21847
|
+
process$2(innerType, ctx, params);
|
|
21848
|
+
const seen = ctx.seen.get(schema);
|
|
21849
|
+
seen.ref = innerType;
|
|
21850
|
+
};
|
|
21614
21851
|
//#endregion
|
|
21615
21852
|
//#region ../../node_modules/.pnpm/zod@4.3.6/node_modules/zod/v4/classic/iso.js
|
|
21616
21853
|
var ZodISODateTime = /* @__PURE__ */ $constructor("ZodISODateTime", (inst, def) => {
|
|
@@ -21939,6 +22176,14 @@ var ZodBoolean = /* @__PURE__ */ $constructor("ZodBoolean", (inst, def) => {
|
|
|
21939
22176
|
function boolean(params) {
|
|
21940
22177
|
return /* @__PURE__ */ _boolean(ZodBoolean, params);
|
|
21941
22178
|
}
|
|
22179
|
+
var ZodNull = /* @__PURE__ */ $constructor("ZodNull", (inst, def) => {
|
|
22180
|
+
$ZodNull.init(inst, def);
|
|
22181
|
+
ZodType.init(inst, def);
|
|
22182
|
+
inst._zod.processJSONSchema = (ctx, json, params) => nullProcessor(inst, ctx, json, params);
|
|
22183
|
+
});
|
|
22184
|
+
function _null(params) {
|
|
22185
|
+
return /* @__PURE__ */ _null$1(ZodNull, params);
|
|
22186
|
+
}
|
|
21942
22187
|
var ZodUnknown = /* @__PURE__ */ $constructor("ZodUnknown", (inst, def) => {
|
|
21943
22188
|
$ZodUnknown.init(inst, def);
|
|
21944
22189
|
ZodType.init(inst, def);
|
|
@@ -22029,6 +22274,14 @@ function object(shape, params) {
|
|
|
22029
22274
|
...normalizeParams(params)
|
|
22030
22275
|
});
|
|
22031
22276
|
}
|
|
22277
|
+
function looseObject(shape, params) {
|
|
22278
|
+
return new ZodObject({
|
|
22279
|
+
type: "object",
|
|
22280
|
+
shape,
|
|
22281
|
+
catchall: unknown(),
|
|
22282
|
+
...normalizeParams(params)
|
|
22283
|
+
});
|
|
22284
|
+
}
|
|
22032
22285
|
var ZodUnion = /* @__PURE__ */ $constructor("ZodUnion", (inst, def) => {
|
|
22033
22286
|
$ZodUnion.init(inst, def);
|
|
22034
22287
|
ZodType.init(inst, def);
|
|
@@ -22054,6 +22307,21 @@ function intersection(left, right) {
|
|
|
22054
22307
|
right
|
|
22055
22308
|
});
|
|
22056
22309
|
}
|
|
22310
|
+
var ZodRecord = /* @__PURE__ */ $constructor("ZodRecord", (inst, def) => {
|
|
22311
|
+
$ZodRecord.init(inst, def);
|
|
22312
|
+
ZodType.init(inst, def);
|
|
22313
|
+
inst._zod.processJSONSchema = (ctx, json, params) => recordProcessor(inst, ctx, json, params);
|
|
22314
|
+
inst.keyType = def.keyType;
|
|
22315
|
+
inst.valueType = def.valueType;
|
|
22316
|
+
});
|
|
22317
|
+
function record(keyType, valueType, params) {
|
|
22318
|
+
return new ZodRecord({
|
|
22319
|
+
type: "record",
|
|
22320
|
+
keyType,
|
|
22321
|
+
valueType,
|
|
22322
|
+
...normalizeParams(params)
|
|
22323
|
+
});
|
|
22324
|
+
}
|
|
22057
22325
|
var ZodEnum = /* @__PURE__ */ $constructor("ZodEnum", (inst, def) => {
|
|
22058
22326
|
$ZodEnum.init(inst, def);
|
|
22059
22327
|
ZodType.init(inst, def);
|
|
@@ -22091,6 +22359,23 @@ function _enum(values, params) {
|
|
|
22091
22359
|
...normalizeParams(params)
|
|
22092
22360
|
});
|
|
22093
22361
|
}
|
|
22362
|
+
var ZodLiteral = /* @__PURE__ */ $constructor("ZodLiteral", (inst, def) => {
|
|
22363
|
+
$ZodLiteral.init(inst, def);
|
|
22364
|
+
ZodType.init(inst, def);
|
|
22365
|
+
inst._zod.processJSONSchema = (ctx, json, params) => literalProcessor(inst, ctx, json, params);
|
|
22366
|
+
inst.values = new Set(def.values);
|
|
22367
|
+
Object.defineProperty(inst, "value", { get() {
|
|
22368
|
+
if (def.values.length > 1) throw new Error("This schema contains multiple valid literal values. Use `.values` instead.");
|
|
22369
|
+
return def.values[0];
|
|
22370
|
+
} });
|
|
22371
|
+
});
|
|
22372
|
+
function literal(value, params) {
|
|
22373
|
+
return new ZodLiteral({
|
|
22374
|
+
type: "literal",
|
|
22375
|
+
values: Array.isArray(value) ? value : [value],
|
|
22376
|
+
...normalizeParams(params)
|
|
22377
|
+
});
|
|
22378
|
+
}
|
|
22094
22379
|
var ZodTransform = /* @__PURE__ */ $constructor("ZodTransform", (inst, def) => {
|
|
22095
22380
|
$ZodTransform.init(inst, def);
|
|
22096
22381
|
ZodType.init(inst, def);
|
|
@@ -22243,6 +22528,18 @@ function readonly(innerType) {
|
|
|
22243
22528
|
innerType
|
|
22244
22529
|
});
|
|
22245
22530
|
}
|
|
22531
|
+
var ZodLazy = /* @__PURE__ */ $constructor("ZodLazy", (inst, def) => {
|
|
22532
|
+
$ZodLazy.init(inst, def);
|
|
22533
|
+
ZodType.init(inst, def);
|
|
22534
|
+
inst._zod.processJSONSchema = (ctx, json, params) => lazyProcessor(inst, ctx, json, params);
|
|
22535
|
+
inst.unwrap = () => inst._zod.def.getter();
|
|
22536
|
+
});
|
|
22537
|
+
function lazy(getter) {
|
|
22538
|
+
return new ZodLazy({
|
|
22539
|
+
type: "lazy",
|
|
22540
|
+
getter
|
|
22541
|
+
});
|
|
22542
|
+
}
|
|
22246
22543
|
var ZodCustom = /* @__PURE__ */ $constructor("ZodCustom", (inst, def) => {
|
|
22247
22544
|
$ZodCustom.init(inst, def);
|
|
22248
22545
|
ZodType.init(inst, def);
|
|
@@ -22257,6 +22554,19 @@ function refine(fn, _params = {}) {
|
|
|
22257
22554
|
function superRefine(fn) {
|
|
22258
22555
|
return /* @__PURE__ */ _superRefine(fn);
|
|
22259
22556
|
}
|
|
22557
|
+
function json(params) {
|
|
22558
|
+
const jsonSchema = lazy(() => {
|
|
22559
|
+
return union([
|
|
22560
|
+
string(params),
|
|
22561
|
+
number(),
|
|
22562
|
+
boolean(),
|
|
22563
|
+
_null(),
|
|
22564
|
+
array(jsonSchema),
|
|
22565
|
+
record(string(), jsonSchema)
|
|
22566
|
+
]);
|
|
22567
|
+
});
|
|
22568
|
+
return jsonSchema;
|
|
22569
|
+
}
|
|
22260
22570
|
//#endregion
|
|
22261
22571
|
//#region src/i18n/en.ts
|
|
22262
22572
|
/**
|
|
@@ -22306,6 +22616,7 @@ var en_default = {
|
|
|
22306
22616
|
"entity.listManage": (name) => `Manage ${name} List`,
|
|
22307
22617
|
"error.alreadyProcessed": "Already processed",
|
|
22308
22618
|
"error.badRequest": "Bad request",
|
|
22619
|
+
"error.detail": (detail) => detail,
|
|
22309
22620
|
"error.duplicateRow": "Duplicate data",
|
|
22310
22621
|
"error.forbidden": "Forbidden",
|
|
22311
22622
|
"error.internalServerError": "Internal server error",
|
|
@@ -22315,6 +22626,19 @@ var en_default = {
|
|
|
22315
22626
|
"setting.unknownKey": (key) => `Unknown setting key ${key}`,
|
|
22316
22627
|
"qgrid.dispatcherFailed": (provider) => `${provider} dispatcher failed to initialize`,
|
|
22317
22628
|
"qgrid.dispatcherStarting": (provider) => `${provider} dispatcher is starting up. Please retry shortly`,
|
|
22629
|
+
"qgrid.grokCapabilityUnavailable": (detail) => `Grok capability unavailable: ${detail}`,
|
|
22630
|
+
"qgrid.grokCapacity": "All Grok tokens are at their in-flight request cap. Please retry shortly",
|
|
22631
|
+
"qgrid.grokContentPolicy": (detail) => `Grok generation blocked by content policy: ${detail}`,
|
|
22632
|
+
"qgrid.grokInvalidRequest": (detail) => `Invalid Grok request: ${detail}`,
|
|
22633
|
+
"qgrid.grokLoginFailed": (detail) => `Grok login failed: ${detail}`,
|
|
22634
|
+
"qgrid.grokNotOAuthToken": "Grok login returned credentials that are not an xAI OAuth token",
|
|
22635
|
+
"qgrid.grokNoWorkers": (detail) => `No Grok token is available: ${detail}`,
|
|
22636
|
+
"qgrid.grokRateLimited": (retryAfterSec) => `All Grok tokens are rate limited. Retry after ${retryAfterSec} seconds`,
|
|
22637
|
+
"qgrid.grokOnDemandExcluded": (tokens) => `All Grok tokens are excluded because on-demand billing is enabled at xAI: ${tokens}. Turn off on-demand billing, or add another account`,
|
|
22638
|
+
"qgrid.grokZdrVideoUnavailable": (tokens) => `Grok video is unavailable because Zero Data Retention is on for: ${tokens}. Turn off the data-retention opt-out at xAI, or use a non-ZDR account`,
|
|
22639
|
+
"qgrid.invalidInput": (detail) => `qgrid: invalid input: ${detail}`,
|
|
22640
|
+
"qgrid.requestBodyTooLarge": (limitMiB) => `Request body exceeds the ${limitMiB} MiB limit`,
|
|
22641
|
+
"qgrid.videoJobNotFound": "video job not found",
|
|
22318
22642
|
"error.unauthorized": "Unauthorized",
|
|
22319
22643
|
notFound: (name, id) => `${name} ID ${id} not found`,
|
|
22320
22644
|
"validation.email": "Invalid email format",
|
|
@@ -22369,6 +22693,7 @@ var ko_default = {
|
|
|
22369
22693
|
"entity.listManage": (name) => `${name} 목록 관리`,
|
|
22370
22694
|
"error.alreadyProcessed": "이미 처리되었습니다",
|
|
22371
22695
|
"error.badRequest": "잘못된 요청입니다",
|
|
22696
|
+
"error.detail": (detail) => detail,
|
|
22372
22697
|
"error.duplicateRow": "중복된 데이터입니다",
|
|
22373
22698
|
"error.entityNotFound": (name, id) => `존재하지 않는 ${name} ID ${id}`,
|
|
22374
22699
|
"error.forbidden": "권한이 없습니다",
|
|
@@ -22379,6 +22704,19 @@ var ko_default = {
|
|
|
22379
22704
|
"setting.unknownKey": (key) => `알 수 없는 설정 키 ${key}`,
|
|
22380
22705
|
"qgrid.dispatcherFailed": (provider) => `${provider} dispatcher 초기화에 실패했습니다`,
|
|
22381
22706
|
"qgrid.dispatcherStarting": (provider) => `${provider} dispatcher 기동 중입니다. 잠시 후 다시 시도해주세요`,
|
|
22707
|
+
"qgrid.grokCapabilityUnavailable": (detail) => `Grok 기능을 사용할 수 없습니다: ${detail}`,
|
|
22708
|
+
"qgrid.grokCapacity": "모든 Grok 토큰이 동시 요청 한도에 도달했습니다. 잠시 후 다시 시도해주세요",
|
|
22709
|
+
"qgrid.grokContentPolicy": (detail) => `콘텐츠 정책 위반으로 Grok 생성이 차단되었습니다: ${detail}`,
|
|
22710
|
+
"qgrid.grokInvalidRequest": (detail) => `잘못된 Grok 요청입니다: ${detail}`,
|
|
22711
|
+
"qgrid.grokLoginFailed": (detail) => `Grok 로그인에 실패했습니다: ${detail}`,
|
|
22712
|
+
"qgrid.grokNotOAuthToken": "Grok 로그인 결과가 xAI OAuth 토큰이 아닙니다",
|
|
22713
|
+
"qgrid.grokNoWorkers": (detail) => `사용 가능한 Grok 토큰이 없습니다: ${detail}`,
|
|
22714
|
+
"qgrid.grokRateLimited": (retryAfterSec) => `모든 Grok 토큰이 요청 한도에 걸렸습니다. ${retryAfterSec}초 후 다시 시도해주세요`,
|
|
22715
|
+
"qgrid.grokOnDemandExcluded": (tokens) => `xAI에서 on-demand 과금이 켜져 있어 모든 Grok 토큰이 제외되었습니다: ${tokens}. on-demand 과금을 끄거나 다른 계정을 추가해주세요`,
|
|
22716
|
+
"qgrid.grokZdrVideoUnavailable": (tokens) => `Zero Data Retention이 켜져 있어 Grok 비디오를 사용할 수 없습니다: ${tokens}. xAI에서 data-retention opt-out을 끄거나 ZDR이 아닌 계정을 사용해주세요`,
|
|
22717
|
+
"qgrid.invalidInput": (detail) => `qgrid: 잘못된 입력입니다: ${detail}`,
|
|
22718
|
+
"qgrid.requestBodyTooLarge": (limitMiB) => `요청 본문이 ${limitMiB} MiB 제한을 초과했습니다`,
|
|
22719
|
+
"qgrid.videoJobNotFound": "비디오 작업을 찾을 수 없습니다",
|
|
22382
22720
|
"error.unauthorized": "인증이 필요합니다",
|
|
22383
22721
|
"error.unknownSearchField": (field) => `구현되지 않은 검색 필드 ${field}`,
|
|
22384
22722
|
notFound: (name, id) => `존재하지 않는 ${name} ID ${id}`,
|
|
@@ -23076,7 +23414,7 @@ var TokenService;
|
|
|
23076
23414
|
});
|
|
23077
23415
|
}
|
|
23078
23416
|
_TokenService.reorder = reorder;
|
|
23079
|
-
_TokenService.useReorderMutation = () => useMutation({ mutationFn: (params) => reorder(params.ids) });
|
|
23417
|
+
_TokenService.useReorderMutation = () => useMutation({ mutationFn: (params) => TokenService.reorder(params.ids) });
|
|
23080
23418
|
async function del(ids) {
|
|
23081
23419
|
return fetch$1({
|
|
23082
23420
|
method: "POST",
|
|
@@ -23085,7 +23423,7 @@ var TokenService;
|
|
|
23085
23423
|
});
|
|
23086
23424
|
}
|
|
23087
23425
|
_TokenService.del = del;
|
|
23088
|
-
_TokenService.useDelMutation = () => useMutation({ mutationFn: (params) => del(params.ids) });
|
|
23426
|
+
_TokenService.useDelMutation = () => useMutation({ mutationFn: (params) => TokenService.del(params.ids) });
|
|
23089
23427
|
})(TokenService || (TokenService = {}));
|
|
23090
23428
|
var SettingService;
|
|
23091
23429
|
(function(_SettingService) {
|
|
@@ -23184,7 +23522,7 @@ var SettingService;
|
|
|
23184
23522
|
});
|
|
23185
23523
|
}
|
|
23186
23524
|
_SettingService.updateSetting = updateSetting;
|
|
23187
|
-
_SettingService.useUpdateSettingMutation = () => useMutation({ mutationFn: (params) => updateSetting(params.key, params.value) });
|
|
23525
|
+
_SettingService.useUpdateSettingMutation = () => useMutation({ mutationFn: (params) => SettingService.updateSetting(params.key, params.value) });
|
|
23188
23526
|
async function resetSetting(key) {
|
|
23189
23527
|
return fetch$1({
|
|
23190
23528
|
method: "POST",
|
|
@@ -23193,7 +23531,7 @@ var SettingService;
|
|
|
23193
23531
|
});
|
|
23194
23532
|
}
|
|
23195
23533
|
_SettingService.resetSetting = resetSetting;
|
|
23196
|
-
_SettingService.useResetSettingMutation = () => useMutation({ mutationFn: (params) => resetSetting(params.key) });
|
|
23534
|
+
_SettingService.useResetSettingMutation = () => useMutation({ mutationFn: (params) => SettingService.resetSetting(params.key) });
|
|
23197
23535
|
async function triggerExpiryReminder() {
|
|
23198
23536
|
return fetch$1({
|
|
23199
23537
|
method: "POST",
|
|
@@ -23201,7 +23539,7 @@ var SettingService;
|
|
|
23201
23539
|
});
|
|
23202
23540
|
}
|
|
23203
23541
|
_SettingService.triggerExpiryReminder = triggerExpiryReminder;
|
|
23204
|
-
_SettingService.useTriggerExpiryReminderMutation = () => useMutation({ mutationFn: (params) => triggerExpiryReminder() });
|
|
23542
|
+
_SettingService.useTriggerExpiryReminderMutation = () => useMutation({ mutationFn: (params) => SettingService.triggerExpiryReminder() });
|
|
23205
23543
|
})(SettingService || (SettingService = {}));
|
|
23206
23544
|
var RequestLogStepService;
|
|
23207
23545
|
(function(_RequestLogStepService) {
|
|
@@ -23282,7 +23620,7 @@ var RequestLogStepService;
|
|
|
23282
23620
|
});
|
|
23283
23621
|
}
|
|
23284
23622
|
_RequestLogStepService.save = save;
|
|
23285
|
-
_RequestLogStepService.useSaveMutation = () => useMutation({ mutationFn: (params) => save(params.spa) });
|
|
23623
|
+
_RequestLogStepService.useSaveMutation = () => useMutation({ mutationFn: (params) => RequestLogStepService.save(params.spa) });
|
|
23286
23624
|
async function del(ids) {
|
|
23287
23625
|
return fetch$1({
|
|
23288
23626
|
method: "POST",
|
|
@@ -23291,7 +23629,7 @@ var RequestLogStepService;
|
|
|
23291
23629
|
});
|
|
23292
23630
|
}
|
|
23293
23631
|
_RequestLogStepService.del = del;
|
|
23294
|
-
_RequestLogStepService.useDelMutation = () => useMutation({ mutationFn: (params) => del(params.ids) });
|
|
23632
|
+
_RequestLogStepService.useDelMutation = () => useMutation({ mutationFn: (params) => RequestLogStepService.del(params.ids) });
|
|
23295
23633
|
})(RequestLogStepService || (RequestLogStepService = {}));
|
|
23296
23634
|
var RequestLogService;
|
|
23297
23635
|
(function(_RequestLogService) {
|
|
@@ -23372,7 +23710,7 @@ var RequestLogService;
|
|
|
23372
23710
|
});
|
|
23373
23711
|
}
|
|
23374
23712
|
_RequestLogService.save = save;
|
|
23375
|
-
_RequestLogService.useSaveMutation = () => useMutation({ mutationFn: (params) => save(params.spa) });
|
|
23713
|
+
_RequestLogService.useSaveMutation = () => useMutation({ mutationFn: (params) => RequestLogService.save(params.spa) });
|
|
23376
23714
|
async function responseTypeTs(id) {
|
|
23377
23715
|
return fetch$1({
|
|
23378
23716
|
method: "GET",
|
|
@@ -23419,7 +23757,7 @@ var RequestLogService;
|
|
|
23419
23757
|
});
|
|
23420
23758
|
}
|
|
23421
23759
|
_RequestLogService.del = del;
|
|
23422
|
-
_RequestLogService.useDelMutation = () => useMutation({ mutationFn: (params) => del(params.ids) });
|
|
23760
|
+
_RequestLogService.useDelMutation = () => useMutation({ mutationFn: (params) => RequestLogService.del(params.ids) });
|
|
23423
23761
|
})(RequestLogService || (RequestLogService = {}));
|
|
23424
23762
|
var QgridService;
|
|
23425
23763
|
(function(_QgridService) {
|
|
@@ -23431,7 +23769,7 @@ var QgridService;
|
|
|
23431
23769
|
});
|
|
23432
23770
|
}
|
|
23433
23771
|
_QgridService.query = query;
|
|
23434
|
-
_QgridService.useQueryMutation = () => useMutation({ mutationFn: (params) => query(params.args) });
|
|
23772
|
+
_QgridService.useQueryMutation = () => useMutation({ mutationFn: (params) => QgridService.query(params.args) });
|
|
23435
23773
|
async function prepareStream(args) {
|
|
23436
23774
|
return fetch$1({
|
|
23437
23775
|
method: "POST",
|
|
@@ -23440,7 +23778,7 @@ var QgridService;
|
|
|
23440
23778
|
});
|
|
23441
23779
|
}
|
|
23442
23780
|
_QgridService.prepareStream = prepareStream;
|
|
23443
|
-
_QgridService.usePrepareStreamMutation = () => useMutation({ mutationFn: (params) => prepareStream(params.args) });
|
|
23781
|
+
_QgridService.usePrepareStreamMutation = () => useMutation({ mutationFn: (params) => QgridService.prepareStream(params.args) });
|
|
23444
23782
|
function useQueryStream(params, handlers, options) {
|
|
23445
23783
|
return useSSEStream(`/api/qgrid/queryStream`, params, handlers, options);
|
|
23446
23784
|
}
|
|
@@ -23453,7 +23791,7 @@ var QgridService;
|
|
|
23453
23791
|
});
|
|
23454
23792
|
}
|
|
23455
23793
|
_QgridService.createRun = createRun;
|
|
23456
|
-
_QgridService.useCreateRunMutation = () => useMutation({ mutationFn: (params) => createRun(params.input) });
|
|
23794
|
+
_QgridService.useCreateRunMutation = () => useMutation({ mutationFn: (params) => QgridService.createRun(params.input) });
|
|
23457
23795
|
async function appendStep(input) {
|
|
23458
23796
|
return fetch$1({
|
|
23459
23797
|
method: "POST",
|
|
@@ -23462,7 +23800,7 @@ var QgridService;
|
|
|
23462
23800
|
});
|
|
23463
23801
|
}
|
|
23464
23802
|
_QgridService.appendStep = appendStep;
|
|
23465
|
-
_QgridService.useAppendStepMutation = () => useMutation({ mutationFn: (params) => appendStep(params.input) });
|
|
23803
|
+
_QgridService.useAppendStepMutation = () => useMutation({ mutationFn: (params) => QgridService.appendStep(params.input) });
|
|
23466
23804
|
async function finishRun(input) {
|
|
23467
23805
|
return fetch$1({
|
|
23468
23806
|
method: "POST",
|
|
@@ -23471,7 +23809,7 @@ var QgridService;
|
|
|
23471
23809
|
});
|
|
23472
23810
|
}
|
|
23473
23811
|
_QgridService.finishRun = finishRun;
|
|
23474
|
-
_QgridService.useFinishRunMutation = () => useMutation({ mutationFn: (params) => finishRun(params.input) });
|
|
23812
|
+
_QgridService.useFinishRunMutation = () => useMutation({ mutationFn: (params) => QgridService.finishRun(params.input) });
|
|
23475
23813
|
async function stats() {
|
|
23476
23814
|
return fetch$1({
|
|
23477
23815
|
method: "GET",
|
|
@@ -23548,7 +23886,7 @@ var QgridService;
|
|
|
23548
23886
|
});
|
|
23549
23887
|
}
|
|
23550
23888
|
_QgridService.addToken = addToken;
|
|
23551
|
-
_QgridService.useAddTokenMutation = () => useMutation({ mutationFn: (params) => addToken(params.provider, params.credentials, params.name) });
|
|
23889
|
+
_QgridService.useAddTokenMutation = () => useMutation({ mutationFn: (params) => QgridService.addToken(params.provider, params.credentials, params.name) });
|
|
23552
23890
|
async function updateToken(id, name, quotaThreshold, weight, keepaliveEnabled) {
|
|
23553
23891
|
return fetch$1({
|
|
23554
23892
|
method: "POST",
|
|
@@ -23571,7 +23909,7 @@ var QgridService;
|
|
|
23571
23909
|
});
|
|
23572
23910
|
}
|
|
23573
23911
|
_QgridService.removeToken = removeToken;
|
|
23574
|
-
_QgridService.useRemoveTokenMutation = () => useMutation({ mutationFn: (params) => removeToken(params.id) });
|
|
23912
|
+
_QgridService.useRemoveTokenMutation = () => useMutation({ mutationFn: (params) => QgridService.removeToken(params.id) });
|
|
23575
23913
|
async function toggleToken(id) {
|
|
23576
23914
|
return fetch$1({
|
|
23577
23915
|
method: "POST",
|
|
@@ -23580,7 +23918,7 @@ var QgridService;
|
|
|
23580
23918
|
});
|
|
23581
23919
|
}
|
|
23582
23920
|
_QgridService.toggleToken = toggleToken;
|
|
23583
|
-
_QgridService.useToggleTokenMutation = () => useMutation({ mutationFn: (params) => toggleToken(params.id) });
|
|
23921
|
+
_QgridService.useToggleTokenMutation = () => useMutation({ mutationFn: (params) => QgridService.toggleToken(params.id) });
|
|
23584
23922
|
async function oauthStart(name) {
|
|
23585
23923
|
return fetch$1({
|
|
23586
23924
|
method: "POST",
|
|
@@ -23589,7 +23927,7 @@ var QgridService;
|
|
|
23589
23927
|
});
|
|
23590
23928
|
}
|
|
23591
23929
|
_QgridService.oauthStart = oauthStart;
|
|
23592
|
-
_QgridService.useOauthStartMutation = () => useMutation({ mutationFn: (params) => oauthStart(params.name) });
|
|
23930
|
+
_QgridService.useOauthStartMutation = () => useMutation({ mutationFn: (params) => QgridService.oauthStart(params.name) });
|
|
23593
23931
|
async function oauthComplete(pastedCode) {
|
|
23594
23932
|
return fetch$1({
|
|
23595
23933
|
method: "POST",
|
|
@@ -23598,7 +23936,7 @@ var QgridService;
|
|
|
23598
23936
|
});
|
|
23599
23937
|
}
|
|
23600
23938
|
_QgridService.oauthComplete = oauthComplete;
|
|
23601
|
-
_QgridService.useOauthCompleteMutation = () => useMutation({ mutationFn: (params) => oauthComplete(params.pastedCode) });
|
|
23939
|
+
_QgridService.useOauthCompleteMutation = () => useMutation({ mutationFn: (params) => QgridService.oauthComplete(params.pastedCode) });
|
|
23602
23940
|
async function oauthStartOpenAI(name) {
|
|
23603
23941
|
return fetch$1({
|
|
23604
23942
|
method: "POST",
|
|
@@ -23607,7 +23945,79 @@ var QgridService;
|
|
|
23607
23945
|
});
|
|
23608
23946
|
}
|
|
23609
23947
|
_QgridService.oauthStartOpenAI = oauthStartOpenAI;
|
|
23610
|
-
_QgridService.useOauthStartOpenAIMutation = () => useMutation({ mutationFn: (params) => oauthStartOpenAI(params.name) });
|
|
23948
|
+
_QgridService.useOauthStartOpenAIMutation = () => useMutation({ mutationFn: (params) => QgridService.oauthStartOpenAI(params.name) });
|
|
23949
|
+
async function oauthStartGrok(name) {
|
|
23950
|
+
return fetch$1({
|
|
23951
|
+
method: "POST",
|
|
23952
|
+
url: `/api/qgrid/oauthStartGrok`,
|
|
23953
|
+
data: { name }
|
|
23954
|
+
});
|
|
23955
|
+
}
|
|
23956
|
+
_QgridService.oauthStartGrok = oauthStartGrok;
|
|
23957
|
+
_QgridService.useOauthStartGrokMutation = () => useMutation({ mutationFn: (params) => QgridService.oauthStartGrok(params.name) });
|
|
23958
|
+
async function oauthStartGrokDevice(name) {
|
|
23959
|
+
return fetch$1({
|
|
23960
|
+
method: "POST",
|
|
23961
|
+
url: `/api/qgrid/oauthStartGrokDevice`,
|
|
23962
|
+
data: { name }
|
|
23963
|
+
});
|
|
23964
|
+
}
|
|
23965
|
+
_QgridService.oauthStartGrokDevice = oauthStartGrokDevice;
|
|
23966
|
+
_QgridService.useOauthStartGrokDeviceMutation = () => useMutation({ mutationFn: (params) => QgridService.oauthStartGrokDevice(params.name) });
|
|
23967
|
+
async function oauthPollGrokDevice(deviceCode) {
|
|
23968
|
+
return fetch$1({
|
|
23969
|
+
method: "POST",
|
|
23970
|
+
url: `/api/qgrid/oauthPollGrokDevice`,
|
|
23971
|
+
data: { deviceCode }
|
|
23972
|
+
});
|
|
23973
|
+
}
|
|
23974
|
+
_QgridService.oauthPollGrokDevice = oauthPollGrokDevice;
|
|
23975
|
+
_QgridService.useOauthPollGrokDeviceMutation = () => useMutation({ mutationFn: (params) => QgridService.oauthPollGrokDevice(params.deviceCode) });
|
|
23976
|
+
async function generateImages(params) {
|
|
23977
|
+
return fetch$1({
|
|
23978
|
+
method: "POST",
|
|
23979
|
+
url: `/api/qgrid/generateImages`,
|
|
23980
|
+
data: { params }
|
|
23981
|
+
});
|
|
23982
|
+
}
|
|
23983
|
+
_QgridService.generateImages = generateImages;
|
|
23984
|
+
_QgridService.useGenerateImagesMutation = () => useMutation({ mutationFn: (params) => QgridService.generateImages(params.params) });
|
|
23985
|
+
async function videoStart(params) {
|
|
23986
|
+
return fetch$1({
|
|
23987
|
+
method: "POST",
|
|
23988
|
+
url: `/api/qgrid/videoStart`,
|
|
23989
|
+
data: { params }
|
|
23990
|
+
});
|
|
23991
|
+
}
|
|
23992
|
+
_QgridService.videoStart = videoStart;
|
|
23993
|
+
_QgridService.useVideoStartMutation = () => useMutation({ mutationFn: (params) => QgridService.videoStart(params.params) });
|
|
23994
|
+
async function videoStatus(params) {
|
|
23995
|
+
return fetch$1({
|
|
23996
|
+
method: "POST",
|
|
23997
|
+
url: `/api/qgrid/videoStatus`,
|
|
23998
|
+
data: { params }
|
|
23999
|
+
});
|
|
24000
|
+
}
|
|
24001
|
+
_QgridService.videoStatus = videoStatus;
|
|
24002
|
+
_QgridService.useVideoStatusMutation = () => useMutation({ mutationFn: (params) => QgridService.videoStatus(params.params) });
|
|
24003
|
+
async function transcribe(params) {
|
|
24004
|
+
return fetch$1({
|
|
24005
|
+
method: "POST",
|
|
24006
|
+
url: `/api/qgrid/transcribe`,
|
|
24007
|
+
data: { params }
|
|
24008
|
+
});
|
|
24009
|
+
}
|
|
24010
|
+
_QgridService.transcribe = transcribe;
|
|
24011
|
+
_QgridService.useTranscribeMutation = () => useMutation({ mutationFn: (params) => QgridService.transcribe(params.params) });
|
|
24012
|
+
async function speak(params) {
|
|
24013
|
+
return fetch$1({
|
|
24014
|
+
method: "POST",
|
|
24015
|
+
url: `/api/qgrid/speak`,
|
|
24016
|
+
data: { params }
|
|
24017
|
+
});
|
|
24018
|
+
}
|
|
24019
|
+
_QgridService.speak = speak;
|
|
24020
|
+
_QgridService.useSpeakMutation = () => useMutation({ mutationFn: (params) => QgridService.speak(params.params) });
|
|
23611
24021
|
async function usage(tokenId) {
|
|
23612
24022
|
return fetch$1({
|
|
23613
24023
|
method: "GET",
|
|
@@ -23700,4 +24110,4 @@ RequestLogStepService.useRequestLogSteps, RequestLogStepService.useRequestLogSte
|
|
|
23700
24110
|
SettingService.useSettings, SettingService.useSettingsInfinite;
|
|
23701
24111
|
TokenService.useTokens, TokenService.useTokensInfinite;
|
|
23702
24112
|
//#endregion
|
|
23703
|
-
export {
|
|
24113
|
+
export { __toESM as $, QueryClientProvider as A, hashKey as B, number as C, unknown as D, union as E, infiniteQueryBehavior as F, partialMatchKey as G, matchMutation as H, Query as I, focusManager as J, resolveStaleTime as K, onlineManager as L, require_jsx_runtime as M, require_react as N, useMutation as O, Mutation as P, __require as Q, notifyManager as R, looseObject as S, string as T, matchQuery as U, hashQueryKeyByOptions as V, noop$2 as W, __commonJSMin as X, Subscribable as Y, __exportAll as Z, custom as _, SettingService as a, json as b, fetch$1 as c, SD as d, SUPPORTED_LOCALES as f, boolean as g, array as h, RequestLogStepService as i, useQueryClient as j, useQuery as k, isSonamuError as l, _enum as m, QgridService as n, TokenService as o, setLocale as p, skipToken as q, RequestLogService as r, SonamuQueryMode as s, MonitService as t, zArrayable as u, date as v, object as w, literal as x, int as y, functionalUpdate as z };
|