@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
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { $ as __toESM, M as require_jsx_runtime, N as require_react, X as __commonJSMin } from "./services.generated-CMJ8AHbO.js";
|
|
2
|
+
import { t as require_react_dom } from "./react-dom-Cv23mm1K.js";
|
|
3
3
|
//#region ../../node_modules/.pnpm/@tanstack+router-core@1.143.6/node_modules/@tanstack/router-core/dist/esm/utils.js
|
|
4
4
|
function last(arr) {
|
|
5
5
|
return arr[arr.length - 1];
|
|
@@ -1062,6 +1062,133 @@ function warning(condition, message) {
|
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
1064
|
//#endregion
|
|
1065
|
+
//#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
|
|
1066
|
+
/**
|
|
1067
|
+
* @license React
|
|
1068
|
+
* use-sync-external-store-shim.production.js
|
|
1069
|
+
*
|
|
1070
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1071
|
+
*
|
|
1072
|
+
* This source code is licensed under the MIT license found in the
|
|
1073
|
+
* LICENSE file in the root directory of this source tree.
|
|
1074
|
+
*/
|
|
1075
|
+
var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1076
|
+
var React = require_react();
|
|
1077
|
+
function is(x, y) {
|
|
1078
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
1079
|
+
}
|
|
1080
|
+
var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue;
|
|
1081
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
1082
|
+
var value = getSnapshot(), _useState = useState({ inst: {
|
|
1083
|
+
value,
|
|
1084
|
+
getSnapshot
|
|
1085
|
+
} }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
1086
|
+
useLayoutEffect(function() {
|
|
1087
|
+
inst.value = value;
|
|
1088
|
+
inst.getSnapshot = getSnapshot;
|
|
1089
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
1090
|
+
}, [
|
|
1091
|
+
subscribe,
|
|
1092
|
+
value,
|
|
1093
|
+
getSnapshot
|
|
1094
|
+
]);
|
|
1095
|
+
useEffect(function() {
|
|
1096
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
1097
|
+
return subscribe(function() {
|
|
1098
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
1099
|
+
});
|
|
1100
|
+
}, [subscribe]);
|
|
1101
|
+
useDebugValue(value);
|
|
1102
|
+
return value;
|
|
1103
|
+
}
|
|
1104
|
+
function checkIfSnapshotChanged(inst) {
|
|
1105
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
1106
|
+
inst = inst.value;
|
|
1107
|
+
try {
|
|
1108
|
+
var nextValue = latestGetSnapshot();
|
|
1109
|
+
return !objectIs(inst, nextValue);
|
|
1110
|
+
} catch (error) {
|
|
1111
|
+
return !0;
|
|
1112
|
+
}
|
|
1113
|
+
}
|
|
1114
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
1115
|
+
return getSnapshot();
|
|
1116
|
+
}
|
|
1117
|
+
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
1118
|
+
exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
1119
|
+
}));
|
|
1120
|
+
//#endregion
|
|
1121
|
+
//#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
|
|
1122
|
+
/**
|
|
1123
|
+
* @license React
|
|
1124
|
+
* use-sync-external-store-shim.development.js
|
|
1125
|
+
*
|
|
1126
|
+
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
1127
|
+
*
|
|
1128
|
+
* This source code is licensed under the MIT license found in the
|
|
1129
|
+
* LICENSE file in the root directory of this source tree.
|
|
1130
|
+
*/
|
|
1131
|
+
var require_use_sync_external_store_shim_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
1132
|
+
"production" !== process.env.NODE_ENV && (function() {
|
|
1133
|
+
function is(x, y) {
|
|
1134
|
+
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
1135
|
+
}
|
|
1136
|
+
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
1137
|
+
didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
1138
|
+
var value = getSnapshot();
|
|
1139
|
+
if (!didWarnUncachedGetSnapshot) {
|
|
1140
|
+
var cachedValue = getSnapshot();
|
|
1141
|
+
objectIs(value, cachedValue) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0);
|
|
1142
|
+
}
|
|
1143
|
+
cachedValue = useState({ inst: {
|
|
1144
|
+
value,
|
|
1145
|
+
getSnapshot
|
|
1146
|
+
} });
|
|
1147
|
+
var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
|
|
1148
|
+
useLayoutEffect(function() {
|
|
1149
|
+
inst.value = value;
|
|
1150
|
+
inst.getSnapshot = getSnapshot;
|
|
1151
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
1152
|
+
}, [
|
|
1153
|
+
subscribe,
|
|
1154
|
+
value,
|
|
1155
|
+
getSnapshot
|
|
1156
|
+
]);
|
|
1157
|
+
useEffect(function() {
|
|
1158
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
1159
|
+
return subscribe(function() {
|
|
1160
|
+
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
1161
|
+
});
|
|
1162
|
+
}, [subscribe]);
|
|
1163
|
+
useDebugValue(value);
|
|
1164
|
+
return value;
|
|
1165
|
+
}
|
|
1166
|
+
function checkIfSnapshotChanged(inst) {
|
|
1167
|
+
var latestGetSnapshot = inst.getSnapshot;
|
|
1168
|
+
inst = inst.value;
|
|
1169
|
+
try {
|
|
1170
|
+
var nextValue = latestGetSnapshot();
|
|
1171
|
+
return !objectIs(inst, nextValue);
|
|
1172
|
+
} catch (error) {
|
|
1173
|
+
return !0;
|
|
1174
|
+
}
|
|
1175
|
+
}
|
|
1176
|
+
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
1177
|
+
return getSnapshot();
|
|
1178
|
+
}
|
|
1179
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
1180
|
+
var React = require_react(), objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = !1, didWarnUncachedGetSnapshot = !1, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
1181
|
+
exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
1182
|
+
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
1183
|
+
})();
|
|
1184
|
+
}));
|
|
1185
|
+
//#endregion
|
|
1186
|
+
//#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/shim/index.js
|
|
1187
|
+
var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
1188
|
+
if (process.env.NODE_ENV === "production") module.exports = require_use_sync_external_store_shim_production();
|
|
1189
|
+
else module.exports = require_use_sync_external_store_shim_development();
|
|
1190
|
+
}));
|
|
1191
|
+
//#endregion
|
|
1065
1192
|
//#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js
|
|
1066
1193
|
/**
|
|
1067
1194
|
* @license React
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as Link, o as useNavigate } from "./lazyRouteComponent-
|
|
1
|
+
import { M as require_jsx_runtime, N as require_react, T as string, n as QgridService, o as TokenService, r as RequestLogService, w as object } from "./services.generated-CMJ8AHbO.js";
|
|
2
|
+
import { a as Link, o as useNavigate } from "./lazyRouteComponent-AKiHfZWp.js";
|
|
3
3
|
import { i as RequestLogOrderBy, n as Route, r as RequestLogBaseListParams } from "../entry-server.generated.js";
|
|
4
|
-
import { i as formatUsd, r as formatRequestCost, t as cacheHitRate } from "./cost-
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
4
|
+
import { i as formatUsd, r as formatRequestCost, t as cacheHitRate } from "./cost-BC9yzyA9.js";
|
|
5
|
+
import { n as unpricedRequestTitle, t as unpricedRequestLabel } from "./total-cost-fTE9Xy82.js";
|
|
6
|
+
import { t as lucideRefreshCw } from "./refresh-cw-BpXNsAy-.js";
|
|
7
|
+
import { n as lucideZap, t as requestModelDisplay } from "./request-model-eHE6YbaF.js";
|
|
7
8
|
require_react();
|
|
8
9
|
var import_jsx_runtime = require_jsx_runtime();
|
|
9
10
|
var lucideChevronLeft = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
@@ -40,8 +41,8 @@ var lucideChevronRight = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
|
40
41
|
//#region src/components/qgrid/RequestLogTable.tsx
|
|
41
42
|
var PAGE_SIZE = 50;
|
|
42
43
|
var UNASSIGNED = "__unassigned__";
|
|
43
|
-
function formatDateTime(
|
|
44
|
-
const d = new Date(
|
|
44
|
+
function formatDateTime(value) {
|
|
45
|
+
const d = new Date(value);
|
|
45
46
|
return `${String(d.getMonth() + 1).padStart(2, "0")}-${String(d.getDate()).padStart(2, "0")} ${String(d.getHours()).padStart(2, "0")}:${String(d.getMinutes()).padStart(2, "0")}`;
|
|
46
47
|
}
|
|
47
48
|
function formatNum(n) {
|
|
@@ -187,11 +188,10 @@ function RequestLogTable({ search, onSearchChange }) {
|
|
|
187
188
|
if (projectFilter) return { project_name: projectFilter };
|
|
188
189
|
return {};
|
|
189
190
|
})();
|
|
190
|
-
const listFilters = {
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
};
|
|
191
|
+
const listFilters = {};
|
|
192
|
+
if (tokenFilter) listFilters.token_name = tokenFilter;
|
|
193
|
+
Object.assign(listFilters, projectFilterParam);
|
|
194
|
+
if (modelFilter) listFilters.model_name = modelFilter;
|
|
195
195
|
const sort = search.sort ?? "id-desc";
|
|
196
196
|
const separator = sort.lastIndexOf("-");
|
|
197
197
|
const sortColumn = sort.slice(0, separator);
|
|
@@ -285,9 +285,13 @@ function RequestLogTable({ search, onSearchChange }) {
|
|
|
285
285
|
role: "alert",
|
|
286
286
|
className: "text-[11px] text-danger-500",
|
|
287
287
|
children: "Failed to load total cost."
|
|
288
|
-
}) : /* @__PURE__ */ (0, import_jsx_runtime.
|
|
288
|
+
}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
289
289
|
className: "text-[11px] tabular-nums font-medium text-sienna-600",
|
|
290
|
-
children: costData ? formatUsd(costData.usd) : "—"
|
|
290
|
+
children: [costData ? formatUsd(costData.usd) : "—", costData && unpricedRequestLabel(costData) ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
291
|
+
className: "ml-1 font-normal text-sand-400",
|
|
292
|
+
title: unpricedRequestTitle(costData) ?? void 0,
|
|
293
|
+
children: unpricedRequestLabel(costData)
|
|
294
|
+
}) : null]
|
|
291
295
|
})
|
|
292
296
|
]
|
|
293
297
|
}), isError ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as require_react_dom } from "./react-dom-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { t as
|
|
1
|
+
import { $ as __toESM, M as require_jsx_runtime, N as require_react, k as useQuery, m as _enum, t as MonitService, w as object } from "./services.generated-CMJ8AHbO.js";
|
|
2
|
+
import { t as require_react_dom } from "./react-dom-Cv23mm1K.js";
|
|
3
|
+
import { t as clsx } from "./clsx-D_N5PN_2.js";
|
|
4
|
+
import { a as Route } from "../entry-server.generated.js";
|
|
5
|
+
import { t as cacheHitRate } from "./cost-BC9yzyA9.js";
|
|
6
|
+
import { t as lucideRefreshCw } from "./refresh-cw-BpXNsAy-.js";
|
|
6
7
|
//#region ../../node_modules/.pnpm/@tanstack+virtual-core@3.17.4/node_modules/@tanstack/virtual-core/dist/esm/lazy-measurements.js
|
|
7
8
|
var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
|
|
8
9
|
var import_react_dom = /* @__PURE__ */ __toESM(require_react_dom(), 1);
|
|
@@ -1186,22 +1187,22 @@ var import_jsx_runtime = require_jsx_runtime();
|
|
|
1186
1187
|
var POLL_INTERVAL_MS = 1e3;
|
|
1187
1188
|
var STALE_AFTER_MS = 5e3;
|
|
1188
1189
|
var MIRROR_CAP = 4e3;
|
|
1189
|
-
var LEVEL_RANK = {
|
|
1190
|
+
var LEVEL_RANK = new Map(Object.entries({
|
|
1190
1191
|
trace: 0,
|
|
1191
1192
|
debug: 1,
|
|
1192
1193
|
info: 2,
|
|
1193
1194
|
warning: 3,
|
|
1194
1195
|
error: 4,
|
|
1195
1196
|
fatal: 5
|
|
1196
|
-
};
|
|
1197
|
-
var LEVEL_LABEL = {
|
|
1197
|
+
}));
|
|
1198
|
+
var LEVEL_LABEL = new Map(Object.entries({
|
|
1198
1199
|
trace: "TRC",
|
|
1199
1200
|
debug: "DBG",
|
|
1200
1201
|
info: "INF",
|
|
1201
1202
|
warning: "WRN",
|
|
1202
1203
|
error: "ERR",
|
|
1203
1204
|
fatal: "FTL"
|
|
1204
|
-
};
|
|
1205
|
+
}));
|
|
1205
1206
|
var TIME_FORMATTER = new Intl.DateTimeFormat("en-GB", {
|
|
1206
1207
|
hour: "2-digit",
|
|
1207
1208
|
minute: "2-digit",
|
|
@@ -1345,8 +1346,8 @@ function MonitConsole({ search, onSearchChange }) {
|
|
|
1345
1346
|
return items.filter((item) => {
|
|
1346
1347
|
if (item.kind !== "log") return true;
|
|
1347
1348
|
switch (search.level) {
|
|
1348
|
-
case "warn": return (LEVEL_RANK
|
|
1349
|
-
case "error": return (LEVEL_RANK
|
|
1349
|
+
case "warn": return (LEVEL_RANK.get(item.entry.level) ?? 2) >= 3;
|
|
1350
|
+
case "error": return (LEVEL_RANK.get(item.entry.level) ?? 2) >= 4;
|
|
1350
1351
|
default: return true;
|
|
1351
1352
|
}
|
|
1352
1353
|
});
|
|
@@ -1614,7 +1615,7 @@ function LogLine({ item }) {
|
|
|
1614
1615
|
" ",
|
|
1615
1616
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
1616
1617
|
className: clsx("font-semibold", entry.level === "fatal" || entry.level === "error" ? "text-danger-400" : entry.level === "warning" ? "text-caution-400" : "text-sand-400"),
|
|
1617
|
-
children: LEVEL_LABEL
|
|
1618
|
+
children: LEVEL_LABEL.get(entry.level) ?? entry.level.slice(0, 3).toUpperCase()
|
|
1618
1619
|
}),
|
|
1619
1620
|
" ",
|
|
1620
1621
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as require_jsx_runtime, N as require_react } from "./services.generated-CMJ8AHbO.js";
|
|
2
2
|
require_react();
|
|
3
3
|
var import_jsx_runtime = require_jsx_runtime();
|
|
4
4
|
var lucidePlus = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
@@ -1,131 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.js
|
|
3
|
-
/**
|
|
4
|
-
* @license React
|
|
5
|
-
* use-sync-external-store-shim.production.js
|
|
6
|
-
*
|
|
7
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the MIT license found in the
|
|
10
|
-
* LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
var require_use_sync_external_store_shim_production = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
13
|
-
var React = require_react();
|
|
14
|
-
function is(x, y) {
|
|
15
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
16
|
-
}
|
|
17
|
-
var objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue;
|
|
18
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
19
|
-
var value = getSnapshot(), _useState = useState({ inst: {
|
|
20
|
-
value,
|
|
21
|
-
getSnapshot
|
|
22
|
-
} }), inst = _useState[0].inst, forceUpdate = _useState[1];
|
|
23
|
-
useLayoutEffect(function() {
|
|
24
|
-
inst.value = value;
|
|
25
|
-
inst.getSnapshot = getSnapshot;
|
|
26
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
27
|
-
}, [
|
|
28
|
-
subscribe,
|
|
29
|
-
value,
|
|
30
|
-
getSnapshot
|
|
31
|
-
]);
|
|
32
|
-
useEffect(function() {
|
|
33
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
34
|
-
return subscribe(function() {
|
|
35
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
36
|
-
});
|
|
37
|
-
}, [subscribe]);
|
|
38
|
-
useDebugValue(value);
|
|
39
|
-
return value;
|
|
40
|
-
}
|
|
41
|
-
function checkIfSnapshotChanged(inst) {
|
|
42
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
43
|
-
inst = inst.value;
|
|
44
|
-
try {
|
|
45
|
-
var nextValue = latestGetSnapshot();
|
|
46
|
-
return !objectIs(inst, nextValue);
|
|
47
|
-
} catch (error) {
|
|
48
|
-
return !0;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
52
|
-
return getSnapshot();
|
|
53
|
-
}
|
|
54
|
-
var shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
55
|
-
exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
56
|
-
}));
|
|
57
|
-
//#endregion
|
|
58
|
-
//#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
|
|
59
|
-
/**
|
|
60
|
-
* @license React
|
|
61
|
-
* use-sync-external-store-shim.development.js
|
|
62
|
-
*
|
|
63
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
64
|
-
*
|
|
65
|
-
* This source code is licensed under the MIT license found in the
|
|
66
|
-
* LICENSE file in the root directory of this source tree.
|
|
67
|
-
*/
|
|
68
|
-
var require_use_sync_external_store_shim_development = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
69
|
-
"production" !== process.env.NODE_ENV && (function() {
|
|
70
|
-
function is(x, y) {
|
|
71
|
-
return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
|
|
72
|
-
}
|
|
73
|
-
function useSyncExternalStore$2(subscribe, getSnapshot) {
|
|
74
|
-
didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
|
|
75
|
-
var value = getSnapshot();
|
|
76
|
-
if (!didWarnUncachedGetSnapshot) {
|
|
77
|
-
var cachedValue = getSnapshot();
|
|
78
|
-
objectIs(value, cachedValue) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0);
|
|
79
|
-
}
|
|
80
|
-
cachedValue = useState({ inst: {
|
|
81
|
-
value,
|
|
82
|
-
getSnapshot
|
|
83
|
-
} });
|
|
84
|
-
var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
|
|
85
|
-
useLayoutEffect(function() {
|
|
86
|
-
inst.value = value;
|
|
87
|
-
inst.getSnapshot = getSnapshot;
|
|
88
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
89
|
-
}, [
|
|
90
|
-
subscribe,
|
|
91
|
-
value,
|
|
92
|
-
getSnapshot
|
|
93
|
-
]);
|
|
94
|
-
useEffect(function() {
|
|
95
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
96
|
-
return subscribe(function() {
|
|
97
|
-
checkIfSnapshotChanged(inst) && forceUpdate({ inst });
|
|
98
|
-
});
|
|
99
|
-
}, [subscribe]);
|
|
100
|
-
useDebugValue(value);
|
|
101
|
-
return value;
|
|
102
|
-
}
|
|
103
|
-
function checkIfSnapshotChanged(inst) {
|
|
104
|
-
var latestGetSnapshot = inst.getSnapshot;
|
|
105
|
-
inst = inst.value;
|
|
106
|
-
try {
|
|
107
|
-
var nextValue = latestGetSnapshot();
|
|
108
|
-
return !objectIs(inst, nextValue);
|
|
109
|
-
} catch (error) {
|
|
110
|
-
return !0;
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
function useSyncExternalStore$1(subscribe, getSnapshot) {
|
|
114
|
-
return getSnapshot();
|
|
115
|
-
}
|
|
116
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
117
|
-
var React = require_react(), objectIs = "function" === typeof Object.is ? Object.is : is, useState = React.useState, useEffect = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = !1, didWarnUncachedGetSnapshot = !1, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
|
|
118
|
-
exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
|
|
119
|
-
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
120
|
-
})();
|
|
121
|
-
}));
|
|
122
|
-
//#endregion
|
|
123
|
-
//#region ../../node_modules/.pnpm/use-sync-external-store@1.6.0_react@19.2.4/node_modules/use-sync-external-store/shim/index.js
|
|
124
|
-
var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
125
|
-
if (process.env.NODE_ENV === "production") module.exports = require_use_sync_external_store_shim_production();
|
|
126
|
-
else module.exports = require_use_sync_external_store_shim_development();
|
|
127
|
-
}));
|
|
128
|
-
//#endregion
|
|
1
|
+
import { N as require_react, X as __commonJSMin } from "./services.generated-CMJ8AHbO.js";
|
|
129
2
|
//#region ../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.production.js
|
|
130
3
|
/**
|
|
131
4
|
* @license React
|
|
@@ -459,4 +332,4 @@ var require_react_dom = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
|
459
332
|
} else module.exports = require_react_dom_development();
|
|
460
333
|
}));
|
|
461
334
|
//#endregion
|
|
462
|
-
export {
|
|
335
|
+
export { require_react_dom as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as require_jsx_runtime, N as require_react } from "./services.generated-CMJ8AHbO.js";
|
|
2
2
|
require_react();
|
|
3
3
|
var import_jsx_runtime = require_jsx_runtime();
|
|
4
4
|
var lucideRefreshCw = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
package/bundle/web-dist/server/assets/{request-model-DjGldb-h.js → request-model-eHE6YbaF.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { M as require_jsx_runtime, N as require_react } from "./services.generated-CMJ8AHbO.js";
|
|
2
2
|
require_react();
|
|
3
3
|
var import_jsx_runtime = require_jsx_runtime();
|
|
4
4
|
var lucideZap = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|