@cartanova/qgrid-cli 2.10.10 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/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-BA7uQ-6c.js +31 -0
- package/bundle/web-dist/client/assets/index-Be2qCZmI.css +1 -0
- package/bundle/web-dist/client/assets/logs-C47OJGEI.js +1 -0
- package/bundle/web-dist/client/assets/monit-BS9no0dU.js +4 -0
- package/bundle/web-dist/client/assets/plus-sdACTfH0.js +1 -0
- package/bundle/web-dist/client/assets/refresh-cw-CY8o_1cT.js +1 -0
- package/bundle/web-dist/client/assets/request-model-BRtFuZvj.js +1 -0
- package/bundle/web-dist/client/assets/routes-kqgkUxE8.js +5 -0
- package/bundle/web-dist/client/assets/{services.generated-NP-ValHd.js → services.generated-CefiDXEv.js} +5 -5
- package/bundle/web-dist/client/assets/settings-DNDvFGSw.js +1 -0
- package/bundle/web-dist/client/assets/show-u8Np69q3.js +2 -0
- package/bundle/web-dist/client/assets/tokens-QvP410NW.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-Bzdh28Ws.js +1 -0
- package/bundle/web-dist/client/assets/use-update-token-mutation-CfJKaxmR.js +1 -0
- package/bundle/web-dist/client/assets/vendor-react-CUFFrVN9.js +244 -0
- package/bundle/web-dist/client/assets/vendor-tanstack-Bf_jag9G.js +1 -0
- package/bundle/web-dist/client/index.html +6 -6
- package/bundle/web-dist/server/assets/clsx-D_N5PN_2.js +16 -0
- package/bundle/web-dist/server/assets/{lazyRouteComponent-CgBdabgd.js → lazyRouteComponent-D8iTIHyn.js} +129 -2
- package/bundle/web-dist/server/assets/logs-B3OTd9hy.js +825 -0
- package/bundle/web-dist/server/assets/{monit-ZPt66W5M.js → monit-B2hqorPe.js} +385 -126
- package/bundle/web-dist/server/assets/plus-DwG7h9kq.js +28 -0
- package/bundle/web-dist/server/assets/{react-dom-Ds75e4Jl.js → react-dom-BIYQzBqG.js} +2 -129
- package/bundle/web-dist/server/assets/refresh-cw-mMBkwOq0.js +44 -0
- package/bundle/web-dist/server/assets/{request-model-DjGldb-h.js → request-model-I6OdODSH.js} +15 -6
- package/bundle/web-dist/server/assets/{routes-Ct-k7nBA.js → routes-B95YlUv2.js} +760 -213
- package/bundle/web-dist/server/assets/{services.generated-BA4AcAf5.js → services.generated-DQATJ6qf.js} +12820 -12194
- package/bundle/web-dist/server/assets/settings-C3gbGk0m.js +830 -0
- package/bundle/web-dist/server/assets/{show-LSFIzvO2.js → show-Bxaj3rhH.js} +1350 -418
- package/bundle/web-dist/server/assets/tokens-CZjH3cB7.js +1038 -0
- package/bundle/web-dist/server/assets/total-cost-fTE9Xy82.js +18 -0
- package/bundle/web-dist/server/assets/use-oauth-login-flow-CKDHgc3U.js +2379 -0
- package/bundle/web-dist/server/assets/{use-update-token-mutation-pkArIzCP.js → use-update-token-mutation-BEbgOzaa.js} +1 -1
- package/bundle/web-dist/server/entry-server.generated.js +4295 -22810
- 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/plus-B62CuqT8.js +0 -1
- package/bundle/web-dist/client/assets/refresh-cw-NNcU0Cmq.js +0 -1
- package/bundle/web-dist/client/assets/request-model-CojtinqK.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/client/assets/vendor-react-DH4kUfK2.js +0 -9
- package/bundle/web-dist/client/assets/vendor-tanstack-DJRQAbrY.js +0 -1
- package/bundle/web-dist/server/assets/logs-BMyR98rU.js +0 -509
- package/bundle/web-dist/server/assets/plus-BZ9I0VgC.js +0 -19
- package/bundle/web-dist/server/assets/refresh-cw-CztCFis-.js +0 -23
- package/bundle/web-dist/server/assets/settings-CBUZ47Xx.js +0 -461
- package/bundle/web-dist/server/assets/tokens-DxrBW512.js +0 -448
- 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/{preload-helper-ca-nBW7U.js → preload-helper-DWTEM3RW.js} +0 -0
- /package/bundle/web-dist/server/assets/{cost-eEHeTRT5.js → cost-BC9yzyA9.js} +0 -0
|
@@ -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 { F as require_react, j as useQuery, k as require_jsx_dev_runtime, m as _enum, t as MonitService, tt as __toESM, w as object } from "./services.generated-DQATJ6qf.js";
|
|
2
|
+
import { t as require_react_dom } from "./react-dom-BIYQzBqG.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-mMBkwOq0.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);
|
|
@@ -1182,26 +1183,27 @@ function useVirtualizer(options) {
|
|
|
1182
1183
|
}
|
|
1183
1184
|
//#endregion
|
|
1184
1185
|
//#region src/components/qgrid/MonitConsole.tsx
|
|
1185
|
-
var
|
|
1186
|
+
var import_jsx_dev_runtime = require_jsx_dev_runtime();
|
|
1187
|
+
var _jsxFileName$1 = "/home/runner/work/qgrid/qgrid/packages/web/src/components/qgrid/MonitConsole.tsx";
|
|
1186
1188
|
var POLL_INTERVAL_MS = 1e3;
|
|
1187
1189
|
var STALE_AFTER_MS = 5e3;
|
|
1188
1190
|
var MIRROR_CAP = 4e3;
|
|
1189
|
-
var LEVEL_RANK = {
|
|
1191
|
+
var LEVEL_RANK = new Map(Object.entries({
|
|
1190
1192
|
trace: 0,
|
|
1191
1193
|
debug: 1,
|
|
1192
1194
|
info: 2,
|
|
1193
1195
|
warning: 3,
|
|
1194
1196
|
error: 4,
|
|
1195
1197
|
fatal: 5
|
|
1196
|
-
};
|
|
1197
|
-
var LEVEL_LABEL = {
|
|
1198
|
+
}));
|
|
1199
|
+
var LEVEL_LABEL = new Map(Object.entries({
|
|
1198
1200
|
trace: "TRC",
|
|
1199
1201
|
debug: "DBG",
|
|
1200
1202
|
info: "INF",
|
|
1201
1203
|
warning: "WRN",
|
|
1202
1204
|
error: "ERR",
|
|
1203
1205
|
fatal: "FTL"
|
|
1204
|
-
};
|
|
1206
|
+
}));
|
|
1205
1207
|
var TIME_FORMATTER = new Intl.DateTimeFormat("en-GB", {
|
|
1206
1208
|
hour: "2-digit",
|
|
1207
1209
|
minute: "2-digit",
|
|
@@ -1233,13 +1235,13 @@ function Sparkline({ values }) {
|
|
|
1233
1235
|
const y = height - 1 - v / max * (height - 2);
|
|
1234
1236
|
return `${x.toFixed(1)},${y.toFixed(1)}`;
|
|
1235
1237
|
}).join(" ");
|
|
1236
|
-
return /* @__PURE__ */ (0,
|
|
1238
|
+
return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("svg", {
|
|
1237
1239
|
width,
|
|
1238
1240
|
height,
|
|
1239
1241
|
viewBox: `0 0 ${width} ${height}`,
|
|
1240
1242
|
className: "shrink-0",
|
|
1241
1243
|
"aria-hidden": "true",
|
|
1242
|
-
children: /* @__PURE__ */ (0,
|
|
1244
|
+
children: /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("polyline", {
|
|
1243
1245
|
points,
|
|
1244
1246
|
fill: "none",
|
|
1245
1247
|
stroke: "currentColor",
|
|
@@ -1247,29 +1249,57 @@ function Sparkline({ values }) {
|
|
|
1247
1249
|
strokeLinejoin: "round",
|
|
1248
1250
|
strokeLinecap: "round",
|
|
1249
1251
|
className: "text-sand-300"
|
|
1250
|
-
}
|
|
1251
|
-
|
|
1252
|
+
}, void 0, false, {
|
|
1253
|
+
fileName: _jsxFileName$1,
|
|
1254
|
+
lineNumber: 100,
|
|
1255
|
+
columnNumber: 7
|
|
1256
|
+
}, this)
|
|
1257
|
+
}, void 0, false, {
|
|
1258
|
+
fileName: _jsxFileName$1,
|
|
1259
|
+
lineNumber: 93,
|
|
1260
|
+
columnNumber: 5
|
|
1261
|
+
}, this);
|
|
1252
1262
|
}
|
|
1253
1263
|
function QuotaGauge({ usedPercent, threshold, blocked }) {
|
|
1254
1264
|
if (usedPercent === null) return null;
|
|
1255
1265
|
const clamped = Math.max(0, Math.min(usedPercent, 100));
|
|
1256
1266
|
const over = blocked || threshold !== null && usedPercent >= threshold;
|
|
1257
|
-
return /* @__PURE__ */ (0,
|
|
1267
|
+
return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1258
1268
|
className: "inline-flex items-center gap-1",
|
|
1259
|
-
children: [/* @__PURE__ */ (0,
|
|
1269
|
+
children: [/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1260
1270
|
className: "relative inline-block h-[4px] w-9 overflow-hidden rounded-full bg-sand-100",
|
|
1261
|
-
children: [/* @__PURE__ */ (0,
|
|
1271
|
+
children: [/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1262
1272
|
className: clsx("absolute inset-y-0 left-0 rounded-full", over ? "bg-caution-500" : "bg-sand-400"),
|
|
1263
1273
|
style: { width: `${clamped}%` }
|
|
1264
|
-
}
|
|
1274
|
+
}, void 0, false, {
|
|
1275
|
+
fileName: _jsxFileName$1,
|
|
1276
|
+
lineNumber: 131,
|
|
1277
|
+
columnNumber: 9
|
|
1278
|
+
}, this), threshold !== null && /* @__PURE__ */ (void 0)("span", {
|
|
1265
1279
|
className: "absolute inset-y-0 w-px bg-sand-500",
|
|
1266
1280
|
style: { left: `${Math.min(threshold, 100)}%` }
|
|
1267
|
-
}
|
|
1268
|
-
|
|
1281
|
+
}, void 0, false, {
|
|
1282
|
+
fileName: _jsxFileName$1,
|
|
1283
|
+
lineNumber: 139,
|
|
1284
|
+
columnNumber: 11
|
|
1285
|
+
}, this)]
|
|
1286
|
+
}, void 0, true, {
|
|
1287
|
+
fileName: _jsxFileName$1,
|
|
1288
|
+
lineNumber: 130,
|
|
1289
|
+
columnNumber: 7
|
|
1290
|
+
}, this), /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1269
1291
|
className: clsx("font-mono text-[10px] tabular-nums", over ? "font-semibold text-caution-500" : "text-sand-500"),
|
|
1270
1292
|
children: [Math.round(usedPercent), "%"]
|
|
1271
|
-
}
|
|
1272
|
-
|
|
1293
|
+
}, void 0, true, {
|
|
1294
|
+
fileName: _jsxFileName$1,
|
|
1295
|
+
lineNumber: 145,
|
|
1296
|
+
columnNumber: 7
|
|
1297
|
+
}, this)]
|
|
1298
|
+
}, void 0, true, {
|
|
1299
|
+
fileName: _jsxFileName$1,
|
|
1300
|
+
lineNumber: 129,
|
|
1301
|
+
columnNumber: 5
|
|
1302
|
+
}, this);
|
|
1273
1303
|
}
|
|
1274
1304
|
function MonitConsole({ search, onSearchChange }) {
|
|
1275
1305
|
const [items, setItems] = (0, import_react.useState)([]);
|
|
@@ -1345,8 +1375,8 @@ function MonitConsole({ search, onSearchChange }) {
|
|
|
1345
1375
|
return items.filter((item) => {
|
|
1346
1376
|
if (item.kind !== "log") return true;
|
|
1347
1377
|
switch (search.level) {
|
|
1348
|
-
case "warn": return (LEVEL_RANK
|
|
1349
|
-
case "error": return (LEVEL_RANK
|
|
1378
|
+
case "warn": return (LEVEL_RANK.get(item.entry.level) ?? 2) >= 3;
|
|
1379
|
+
case "error": return (LEVEL_RANK.get(item.entry.level) ?? 2) >= 4;
|
|
1350
1380
|
default: return true;
|
|
1351
1381
|
}
|
|
1352
1382
|
});
|
|
@@ -1365,27 +1395,43 @@ function MonitConsole({ search, onSearchChange }) {
|
|
|
1365
1395
|
const atEnd = virtualizer.isAtEnd();
|
|
1366
1396
|
const hasFirstData = query.dataUpdatedAt > 0;
|
|
1367
1397
|
const firstLoadFailed = !hasFirstData && query.isError;
|
|
1368
|
-
return /* @__PURE__ */ (0,
|
|
1398
|
+
return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("section", {
|
|
1369
1399
|
className: "panel overflow-hidden",
|
|
1370
1400
|
children: [
|
|
1371
|
-
/* @__PURE__ */ (0,
|
|
1401
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("header", {
|
|
1372
1402
|
className: "panel-header flex min-h-11 flex-wrap items-center gap-x-3 gap-y-2 px-4 py-2 sm:px-5",
|
|
1373
1403
|
children: [
|
|
1374
|
-
/* @__PURE__ */ (0,
|
|
1404
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("h2", {
|
|
1375
1405
|
className: "text-[13px] font-semibold tracking-[-0.01em] text-sand-800",
|
|
1376
1406
|
children: "Server logs"
|
|
1377
|
-
}
|
|
1378
|
-
|
|
1407
|
+
}, void 0, false, {
|
|
1408
|
+
fileName: _jsxFileName$1,
|
|
1409
|
+
lineNumber: 294,
|
|
1410
|
+
columnNumber: 9
|
|
1411
|
+
}, this),
|
|
1412
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1379
1413
|
className: "inline-flex items-center gap-1.5 text-[11px] font-medium text-sand-700",
|
|
1380
|
-
children: [/* @__PURE__ */ (0,
|
|
1381
|
-
|
|
1382
|
-
|
|
1414
|
+
children: [/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", { className: clsx("size-1.5 rounded-full", isStale || firstLoadFailed ? "bg-danger-400" : "bg-sienna-500 motion-safe:animate-pulse") }, void 0, false, {
|
|
1415
|
+
fileName: _jsxFileName$1,
|
|
1416
|
+
lineNumber: 296,
|
|
1417
|
+
columnNumber: 11
|
|
1418
|
+
}, this), firstLoadFailed ? "Disconnected" : isStale ? "Stale" : hasFirstData ? "Live" : "…"]
|
|
1419
|
+
}, void 0, true, {
|
|
1420
|
+
fileName: _jsxFileName$1,
|
|
1421
|
+
lineNumber: 295,
|
|
1422
|
+
columnNumber: 9
|
|
1423
|
+
}, this),
|
|
1424
|
+
epochRef.current !== void 0 && /* @__PURE__ */ (void 0)("span", {
|
|
1383
1425
|
className: "text-[11px] text-sand-500",
|
|
1384
1426
|
children: ["ephemeral · resets on restart · since ", formatTime(epochRef.current)]
|
|
1385
|
-
}
|
|
1386
|
-
|
|
1427
|
+
}, void 0, true, {
|
|
1428
|
+
fileName: _jsxFileName$1,
|
|
1429
|
+
lineNumber: 307,
|
|
1430
|
+
columnNumber: 11
|
|
1431
|
+
}, this),
|
|
1432
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1387
1433
|
className: "ml-auto flex flex-wrap items-center gap-2",
|
|
1388
|
-
children: /* @__PURE__ */ (0,
|
|
1434
|
+
children: /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1389
1435
|
className: "segmented-control inline-flex",
|
|
1390
1436
|
role: "tablist",
|
|
1391
1437
|
"aria-label": "Log filter",
|
|
@@ -1402,7 +1448,7 @@ function MonitConsole({ search, onSearchChange }) {
|
|
|
1402
1448
|
value: "error",
|
|
1403
1449
|
label: "Err+"
|
|
1404
1450
|
}
|
|
1405
|
-
].map((option) => /* @__PURE__ */ (0,
|
|
1451
|
+
].map((option) => /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("button", {
|
|
1406
1452
|
type: "button",
|
|
1407
1453
|
"data-active": search.level === option.value,
|
|
1408
1454
|
onClick: () => onSearchChange({
|
|
@@ -1411,223 +1457,428 @@ function MonitConsole({ search, onSearchChange }) {
|
|
|
1411
1457
|
}),
|
|
1412
1458
|
className: "rounded-[6px] px-2.5 py-1 text-[11px] font-medium text-sand-500 transition-colors hover:text-sand-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sienna-300 data-[active=true]:text-sand-900",
|
|
1413
1459
|
children: option.label
|
|
1414
|
-
}, option.value
|
|
1415
|
-
|
|
1416
|
-
|
|
1460
|
+
}, option.value, false, {
|
|
1461
|
+
fileName: _jsxFileName$1,
|
|
1462
|
+
lineNumber: 321,
|
|
1463
|
+
columnNumber: 15
|
|
1464
|
+
}, this))
|
|
1465
|
+
}, void 0, false, {
|
|
1466
|
+
fileName: _jsxFileName$1,
|
|
1467
|
+
lineNumber: 313,
|
|
1468
|
+
columnNumber: 11
|
|
1469
|
+
}, this)
|
|
1470
|
+
}, void 0, false, {
|
|
1471
|
+
fileName: _jsxFileName$1,
|
|
1472
|
+
lineNumber: 312,
|
|
1473
|
+
columnNumber: 9
|
|
1474
|
+
}, this)
|
|
1417
1475
|
]
|
|
1418
|
-
}
|
|
1419
|
-
|
|
1476
|
+
}, void 0, true, {
|
|
1477
|
+
fileName: _jsxFileName$1,
|
|
1478
|
+
lineNumber: 293,
|
|
1479
|
+
columnNumber: 7
|
|
1480
|
+
}, this),
|
|
1481
|
+
info && /* @__PURE__ */ (void 0)("div", {
|
|
1420
1482
|
className: "flex flex-wrap items-center gap-x-5 gap-y-1 border-b border-sand-100 bg-sand-50/60 px-4 py-2 text-[11px] text-sand-600 sm:px-5",
|
|
1421
1483
|
children: [
|
|
1422
|
-
/* @__PURE__ */ (0
|
|
1484
|
+
/* @__PURE__ */ (void 0)("span", { children: ["server ", /* @__PURE__ */ (void 0)("span", {
|
|
1423
1485
|
className: "font-mono text-sand-800",
|
|
1424
1486
|
children: info.serverUrl
|
|
1425
|
-
}
|
|
1426
|
-
|
|
1487
|
+
}, void 0, false, {
|
|
1488
|
+
fileName: _jsxFileName$1,
|
|
1489
|
+
lineNumber: 338,
|
|
1490
|
+
columnNumber: 20
|
|
1491
|
+
}, this)] }, void 0, true, {
|
|
1492
|
+
fileName: _jsxFileName$1,
|
|
1493
|
+
lineNumber: 337,
|
|
1494
|
+
columnNumber: 11
|
|
1495
|
+
}, this),
|
|
1496
|
+
/* @__PURE__ */ (void 0)("span", { children: [
|
|
1427
1497
|
"db",
|
|
1428
1498
|
" ",
|
|
1429
|
-
/* @__PURE__ */ (0
|
|
1499
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1430
1500
|
className: "font-mono text-sand-800",
|
|
1431
1501
|
children: [
|
|
1432
1502
|
info.dbHost,
|
|
1433
1503
|
"/",
|
|
1434
1504
|
info.dbName
|
|
1435
1505
|
]
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
|
|
1506
|
+
}, void 0, true, {
|
|
1507
|
+
fileName: _jsxFileName$1,
|
|
1508
|
+
lineNumber: 342,
|
|
1509
|
+
columnNumber: 13
|
|
1510
|
+
}, this)
|
|
1511
|
+
] }, void 0, true, {
|
|
1512
|
+
fileName: _jsxFileName$1,
|
|
1513
|
+
lineNumber: 340,
|
|
1514
|
+
columnNumber: 11
|
|
1515
|
+
}, this),
|
|
1516
|
+
/* @__PURE__ */ (void 0)("span", { children: [
|
|
1439
1517
|
"openai transport",
|
|
1440
1518
|
" ",
|
|
1441
|
-
/* @__PURE__ */ (0
|
|
1519
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1442
1520
|
className: "font-mono text-sand-800",
|
|
1443
1521
|
children: info.openai.transport
|
|
1444
|
-
}
|
|
1445
|
-
|
|
1446
|
-
|
|
1522
|
+
}, void 0, false, {
|
|
1523
|
+
fileName: _jsxFileName$1,
|
|
1524
|
+
lineNumber: 348,
|
|
1525
|
+
columnNumber: 13
|
|
1526
|
+
}, this)
|
|
1527
|
+
] }, void 0, true, {
|
|
1528
|
+
fileName: _jsxFileName$1,
|
|
1529
|
+
lineNumber: 346,
|
|
1530
|
+
columnNumber: 11
|
|
1531
|
+
}, this),
|
|
1532
|
+
vitals && /* @__PURE__ */ (void 0)(import_jsx_dev_runtime.Fragment, { children: [/* @__PURE__ */ (void 0)("span", {
|
|
1447
1533
|
className: "inline-flex items-center gap-1.5",
|
|
1448
1534
|
children: [
|
|
1449
1535
|
"openai in-flight",
|
|
1450
1536
|
" ",
|
|
1451
|
-
/* @__PURE__ */ (0
|
|
1537
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1452
1538
|
className: "font-mono text-sand-800",
|
|
1453
1539
|
children: vitals.openaiInFlight
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1540
|
+
}, void 0, false, {
|
|
1541
|
+
fileName: _jsxFileName$1,
|
|
1542
|
+
lineNumber: 354,
|
|
1543
|
+
columnNumber: 17
|
|
1544
|
+
}, this),
|
|
1545
|
+
/* @__PURE__ */ (void 0)(Sparkline, { values: inFlightSparkRef.current }, void 0, false, {
|
|
1546
|
+
fileName: _jsxFileName$1,
|
|
1547
|
+
lineNumber: 355,
|
|
1548
|
+
columnNumber: 17
|
|
1549
|
+
}, this)
|
|
1456
1550
|
]
|
|
1457
|
-
}
|
|
1551
|
+
}, void 0, true, {
|
|
1552
|
+
fileName: _jsxFileName$1,
|
|
1553
|
+
lineNumber: 352,
|
|
1554
|
+
columnNumber: 15
|
|
1555
|
+
}, this), vitals.anthropicTokenCount > 0 && /* @__PURE__ */ (void 0)("span", { children: [
|
|
1458
1556
|
"anthropic running",
|
|
1459
1557
|
" ",
|
|
1460
|
-
/* @__PURE__ */ (0
|
|
1558
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1461
1559
|
className: "font-mono text-sand-800",
|
|
1462
1560
|
children: vitals.anthropicInFlight
|
|
1463
|
-
}
|
|
1464
|
-
|
|
1465
|
-
|
|
1561
|
+
}, void 0, false, {
|
|
1562
|
+
fileName: _jsxFileName$1,
|
|
1563
|
+
lineNumber: 360,
|
|
1564
|
+
columnNumber: 19
|
|
1565
|
+
}, this)
|
|
1566
|
+
] }, void 0, true, {
|
|
1567
|
+
fileName: _jsxFileName$1,
|
|
1568
|
+
lineNumber: 358,
|
|
1569
|
+
columnNumber: 17
|
|
1570
|
+
}, this)] }, void 0, true),
|
|
1571
|
+
stats?.providers.map((p) => /* @__PURE__ */ (void 0)("span", {
|
|
1466
1572
|
className: "text-sand-500",
|
|
1467
1573
|
children: [
|
|
1468
1574
|
"1h ",
|
|
1469
1575
|
p.provider,
|
|
1470
1576
|
" ",
|
|
1471
|
-
/* @__PURE__ */ (0
|
|
1577
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1472
1578
|
className: "font-mono text-sand-700",
|
|
1473
1579
|
children: p.requests
|
|
1474
|
-
}
|
|
1580
|
+
}, void 0, false, {
|
|
1581
|
+
fileName: _jsxFileName$1,
|
|
1582
|
+
lineNumber: 368,
|
|
1583
|
+
columnNumber: 31
|
|
1584
|
+
}, this),
|
|
1475
1585
|
" req",
|
|
1476
|
-
p.errors > 0 && /* @__PURE__ */ (0
|
|
1586
|
+
p.errors > 0 && /* @__PURE__ */ (void 0)(import_jsx_dev_runtime.Fragment, { children: [
|
|
1477
1587
|
" · ",
|
|
1478
|
-
/* @__PURE__ */ (0
|
|
1588
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1479
1589
|
className: "font-mono font-semibold text-caution-500",
|
|
1480
1590
|
children: p.errors
|
|
1481
|
-
}
|
|
1591
|
+
}, void 0, false, {
|
|
1592
|
+
fileName: _jsxFileName$1,
|
|
1593
|
+
lineNumber: 372,
|
|
1594
|
+
columnNumber: 19
|
|
1595
|
+
}, this),
|
|
1482
1596
|
" err"
|
|
1483
|
-
] }),
|
|
1597
|
+
] }, void 0, true),
|
|
1484
1598
|
" · hit ",
|
|
1485
|
-
/* @__PURE__ */ (0
|
|
1599
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1486
1600
|
className: "font-mono text-sand-700",
|
|
1487
1601
|
children: cacheHitRate({
|
|
1488
1602
|
input_tokens: p.inputTokens,
|
|
1489
1603
|
cache_read_tokens: p.cacheReadTokens
|
|
1490
1604
|
})
|
|
1491
|
-
}
|
|
1605
|
+
}, void 0, false, {
|
|
1606
|
+
fileName: _jsxFileName$1,
|
|
1607
|
+
lineNumber: 376,
|
|
1608
|
+
columnNumber: 15
|
|
1609
|
+
}, this)
|
|
1492
1610
|
]
|
|
1493
|
-
}, p.provider
|
|
1611
|
+
}, p.provider, true, {
|
|
1612
|
+
fileName: _jsxFileName$1,
|
|
1613
|
+
lineNumber: 367,
|
|
1614
|
+
columnNumber: 13
|
|
1615
|
+
}, this))
|
|
1494
1616
|
]
|
|
1495
|
-
}
|
|
1496
|
-
|
|
1617
|
+
}, void 0, true, {
|
|
1618
|
+
fileName: _jsxFileName$1,
|
|
1619
|
+
lineNumber: 336,
|
|
1620
|
+
columnNumber: 9
|
|
1621
|
+
}, this),
|
|
1622
|
+
vitals && (vitals.openaiQuotaByToken.length > 0 || vitals.anthropicTokenNames.length > 0) && /* @__PURE__ */ (void 0)("div", {
|
|
1497
1623
|
className: "space-y-1.5 border-b border-sand-100 px-4 py-2.5 sm:px-5",
|
|
1498
|
-
children: [vitals.openaiQuotaByToken.length > 0 && /* @__PURE__ */ (0
|
|
1624
|
+
children: [vitals.openaiQuotaByToken.length > 0 && /* @__PURE__ */ (void 0)("div", {
|
|
1499
1625
|
className: "flex flex-wrap items-center gap-2",
|
|
1500
|
-
children: [/* @__PURE__ */ (0
|
|
1626
|
+
children: [/* @__PURE__ */ (void 0)("span", {
|
|
1501
1627
|
className: "w-[4.5rem] shrink-0 text-[10px] font-medium uppercase tracking-[0.08em] text-sand-400",
|
|
1502
1628
|
children: "openai"
|
|
1503
|
-
}
|
|
1629
|
+
}, void 0, false, {
|
|
1630
|
+
fileName: _jsxFileName$1,
|
|
1631
|
+
lineNumber: 392,
|
|
1632
|
+
columnNumber: 17
|
|
1633
|
+
}, this), vitals.openaiQuotaByToken.map((quota) => {
|
|
1504
1634
|
const quotaTitle = quota.usedPercent === null ? "quota not sampled yet" : `quota ${Math.round(quota.usedPercent)}%${quota.threshold !== null ? ` / threshold ${quota.threshold}%` : ""}${quota.resetsAt ? ` · resets ${formatTime(quota.resetsAt)}` : ""}`;
|
|
1505
|
-
return /* @__PURE__ */ (0
|
|
1635
|
+
return /* @__PURE__ */ (void 0)("span", {
|
|
1506
1636
|
title: `${quota.name} · ${quotaTitle}`,
|
|
1507
1637
|
className: "inline-flex items-center gap-1.5 rounded-md border border-sand-200 bg-white px-2 py-1",
|
|
1508
1638
|
children: [
|
|
1509
|
-
/* @__PURE__ */ (0
|
|
1639
|
+
/* @__PURE__ */ (void 0)("span", {
|
|
1510
1640
|
className: "font-mono text-[11px] text-sand-600",
|
|
1511
1641
|
children: quota.name.split("/").pop()
|
|
1512
|
-
}
|
|
1513
|
-
|
|
1642
|
+
}, void 0, false, {
|
|
1643
|
+
fileName: _jsxFileName$1,
|
|
1644
|
+
lineNumber: 409,
|
|
1645
|
+
columnNumber: 23
|
|
1646
|
+
}, this),
|
|
1647
|
+
/* @__PURE__ */ (void 0)(QuotaGauge, {
|
|
1514
1648
|
usedPercent: quota.usedPercent,
|
|
1515
1649
|
threshold: quota.threshold,
|
|
1516
1650
|
blocked: quota.blocked
|
|
1517
|
-
}
|
|
1518
|
-
|
|
1651
|
+
}, void 0, false, {
|
|
1652
|
+
fileName: _jsxFileName$1,
|
|
1653
|
+
lineNumber: 412,
|
|
1654
|
+
columnNumber: 23
|
|
1655
|
+
}, this),
|
|
1656
|
+
quota.blocked && /* @__PURE__ */ (void 0)("span", {
|
|
1519
1657
|
className: "rounded-full bg-caution-500/10 px-1.5 py-0.5 text-[9px] font-semibold text-caution-500",
|
|
1520
1658
|
children: "quota"
|
|
1521
|
-
}
|
|
1659
|
+
}, void 0, false, {
|
|
1660
|
+
fileName: _jsxFileName$1,
|
|
1661
|
+
lineNumber: 418,
|
|
1662
|
+
columnNumber: 25
|
|
1663
|
+
}, this)
|
|
1522
1664
|
]
|
|
1523
|
-
}, quota.name
|
|
1665
|
+
}, quota.name, true, {
|
|
1666
|
+
fileName: _jsxFileName$1,
|
|
1667
|
+
lineNumber: 404,
|
|
1668
|
+
columnNumber: 21
|
|
1669
|
+
}, this);
|
|
1524
1670
|
})]
|
|
1525
|
-
}
|
|
1671
|
+
}, void 0, true, {
|
|
1672
|
+
fileName: _jsxFileName$1,
|
|
1673
|
+
lineNumber: 391,
|
|
1674
|
+
columnNumber: 15
|
|
1675
|
+
}, this), vitals.anthropicTokenNames.length > 0 && /* @__PURE__ */ (void 0)("div", {
|
|
1526
1676
|
className: "flex flex-wrap items-center gap-2",
|
|
1527
|
-
children: [/* @__PURE__ */ (0
|
|
1677
|
+
children: [/* @__PURE__ */ (void 0)("span", {
|
|
1528
1678
|
className: "w-[4.5rem] shrink-0 text-[10px] font-medium uppercase tracking-[0.08em] text-sand-400",
|
|
1529
1679
|
children: "anthropic"
|
|
1530
|
-
}
|
|
1680
|
+
}, void 0, false, {
|
|
1681
|
+
fileName: _jsxFileName$1,
|
|
1682
|
+
lineNumber: 429,
|
|
1683
|
+
columnNumber: 17
|
|
1684
|
+
}, this), vitals.anthropicTokenNames.map((name) => /* @__PURE__ */ (void 0)("span", {
|
|
1531
1685
|
title: name,
|
|
1532
1686
|
className: "inline-flex items-baseline rounded-md border border-sand-200 bg-white px-2 py-1 font-mono text-[11px] text-sand-600",
|
|
1533
1687
|
children: name.split("/").pop()
|
|
1534
|
-
}, name
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1688
|
+
}, name, false, {
|
|
1689
|
+
fileName: _jsxFileName$1,
|
|
1690
|
+
lineNumber: 433,
|
|
1691
|
+
columnNumber: 19
|
|
1692
|
+
}, this))]
|
|
1693
|
+
}, void 0, true, {
|
|
1694
|
+
fileName: _jsxFileName$1,
|
|
1695
|
+
lineNumber: 428,
|
|
1696
|
+
columnNumber: 15
|
|
1697
|
+
}, this)]
|
|
1698
|
+
}, void 0, true, {
|
|
1699
|
+
fileName: _jsxFileName$1,
|
|
1700
|
+
lineNumber: 389,
|
|
1701
|
+
columnNumber: 11
|
|
1702
|
+
}, this),
|
|
1703
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1538
1704
|
className: "relative",
|
|
1539
|
-
children: [/* @__PURE__ */ (0,
|
|
1705
|
+
children: [/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1540
1706
|
ref: parentRef,
|
|
1541
1707
|
role: "log",
|
|
1542
1708
|
"aria-label": "Server process logs",
|
|
1543
1709
|
tabIndex: 0,
|
|
1544
1710
|
className: "main-scroll h-[calc(100vh-232px)] min-h-[320px] overflow-y-auto bg-sand-900 px-4 py-3 font-mono text-[12px] leading-[1.6] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-sienna-400",
|
|
1545
|
-
children: firstLoadFailed ? /* @__PURE__ */ (0,
|
|
1711
|
+
children: firstLoadFailed ? /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1546
1712
|
className: "flex h-full flex-col items-center justify-center gap-3 text-sand-400",
|
|
1547
|
-
children: [/* @__PURE__ */ (0,
|
|
1713
|
+
children: [/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("p", {
|
|
1548
1714
|
className: "text-[12px]",
|
|
1549
|
-
children: ["Could not reach the qgrid server — is it running?", query.error instanceof Error && /* @__PURE__ */ (0
|
|
1715
|
+
children: ["Could not reach the qgrid server — is it running?", query.error instanceof Error && /* @__PURE__ */ (void 0)("span", {
|
|
1550
1716
|
className: "block text-center text-[11px] text-sand-500",
|
|
1551
1717
|
children: query.error.message
|
|
1552
|
-
}
|
|
1553
|
-
|
|
1718
|
+
}, void 0, false, {
|
|
1719
|
+
fileName: _jsxFileName$1,
|
|
1720
|
+
lineNumber: 459,
|
|
1721
|
+
columnNumber: 19
|
|
1722
|
+
}, this)]
|
|
1723
|
+
}, void 0, true, {
|
|
1724
|
+
fileName: _jsxFileName$1,
|
|
1725
|
+
lineNumber: 456,
|
|
1726
|
+
columnNumber: 15
|
|
1727
|
+
}, this), /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("button", {
|
|
1554
1728
|
type: "button",
|
|
1555
1729
|
onClick: () => void query.refetch(),
|
|
1556
1730
|
className: "inline-flex items-center gap-1.5 rounded-md border border-sand-600 px-2.5 py-1.5 text-[11px] font-medium text-sand-300 transition-colors hover:bg-sand-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sienna-400",
|
|
1557
|
-
children: [/* @__PURE__ */ (0,
|
|
1558
|
-
|
|
1559
|
-
|
|
1731
|
+
children: [/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(lucideRefreshCw, { className: "size-3" }, void 0, false, {
|
|
1732
|
+
fileName: _jsxFileName$1,
|
|
1733
|
+
lineNumber: 469,
|
|
1734
|
+
columnNumber: 17
|
|
1735
|
+
}, this), "Retry now"]
|
|
1736
|
+
}, void 0, true, {
|
|
1737
|
+
fileName: _jsxFileName$1,
|
|
1738
|
+
lineNumber: 464,
|
|
1739
|
+
columnNumber: 15
|
|
1740
|
+
}, this)]
|
|
1741
|
+
}, void 0, true, {
|
|
1742
|
+
fileName: _jsxFileName$1,
|
|
1743
|
+
lineNumber: 455,
|
|
1744
|
+
columnNumber: 13
|
|
1745
|
+
}, this) : !hasFirstData ? /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1560
1746
|
className: "flex h-full items-center justify-center text-[12px] text-sand-500",
|
|
1561
1747
|
children: "Connecting to server logs…"
|
|
1562
|
-
}
|
|
1748
|
+
}, void 0, false, {
|
|
1749
|
+
fileName: _jsxFileName$1,
|
|
1750
|
+
lineNumber: 474,
|
|
1751
|
+
columnNumber: 13
|
|
1752
|
+
}, this) : visible.length === 0 ? /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1563
1753
|
className: "flex h-full items-center justify-center text-[12px] text-sand-500",
|
|
1564
1754
|
children: items.length === 0 ? `No log lines yet — waiting for activity since ${epochRef.current !== void 0 ? formatTime(epochRef.current) : "startup"}.` : "No lines match the current filters."
|
|
1565
|
-
}
|
|
1755
|
+
}, void 0, false, {
|
|
1756
|
+
fileName: _jsxFileName$1,
|
|
1757
|
+
lineNumber: 478,
|
|
1758
|
+
columnNumber: 13
|
|
1759
|
+
}, this) : /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1566
1760
|
className: "relative w-full",
|
|
1567
1761
|
style: { height: `${virtualizer.getTotalSize()}px` },
|
|
1568
1762
|
children: virtualizer.getVirtualItems().map((virtualRow) => {
|
|
1569
1763
|
const item = visible[virtualRow.index];
|
|
1570
|
-
return /* @__PURE__ */ (0,
|
|
1764
|
+
return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1571
1765
|
ref: virtualizer.measureElement,
|
|
1572
1766
|
"data-index": virtualRow.index,
|
|
1573
1767
|
className: "absolute left-0 top-0 w-full",
|
|
1574
1768
|
style: { transform: `translateY(${virtualRow.start}px)` },
|
|
1575
|
-
children: /* @__PURE__ */ (0,
|
|
1576
|
-
|
|
1769
|
+
children: /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(LogLine, { item }, void 0, false, {
|
|
1770
|
+
fileName: _jsxFileName$1,
|
|
1771
|
+
lineNumber: 498,
|
|
1772
|
+
columnNumber: 21
|
|
1773
|
+
}, this)
|
|
1774
|
+
}, virtualRow.key, false, {
|
|
1775
|
+
fileName: _jsxFileName$1,
|
|
1776
|
+
lineNumber: 491,
|
|
1777
|
+
columnNumber: 19
|
|
1778
|
+
}, this);
|
|
1577
1779
|
})
|
|
1578
|
-
}
|
|
1579
|
-
|
|
1780
|
+
}, void 0, false, {
|
|
1781
|
+
fileName: _jsxFileName$1,
|
|
1782
|
+
lineNumber: 486,
|
|
1783
|
+
columnNumber: 13
|
|
1784
|
+
}, this)
|
|
1785
|
+
}, void 0, false, {
|
|
1786
|
+
fileName: _jsxFileName$1,
|
|
1787
|
+
lineNumber: 447,
|
|
1788
|
+
columnNumber: 9
|
|
1789
|
+
}, this), hasFirstData && !firstLoadFailed && !atEnd && /* @__PURE__ */ (void 0)("button", {
|
|
1580
1790
|
type: "button",
|
|
1581
1791
|
onClick: () => virtualizer.scrollToEnd(),
|
|
1582
1792
|
className: "absolute bottom-4 right-5 inline-flex items-center gap-1.5 rounded-full border border-sand-600 bg-sand-800/90 px-3 py-1.5 text-[11px] font-medium text-sand-200 shadow-lg backdrop-blur transition-colors hover:bg-sand-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-sienna-400",
|
|
1583
1793
|
children: "↓ Jump to live"
|
|
1584
|
-
}
|
|
1585
|
-
|
|
1794
|
+
}, void 0, false, {
|
|
1795
|
+
fileName: _jsxFileName$1,
|
|
1796
|
+
lineNumber: 507,
|
|
1797
|
+
columnNumber: 11
|
|
1798
|
+
}, this)]
|
|
1799
|
+
}, void 0, true, {
|
|
1800
|
+
fileName: _jsxFileName$1,
|
|
1801
|
+
lineNumber: 446,
|
|
1802
|
+
columnNumber: 7
|
|
1803
|
+
}, this)
|
|
1586
1804
|
]
|
|
1587
|
-
}
|
|
1805
|
+
}, void 0, true, {
|
|
1806
|
+
fileName: _jsxFileName$1,
|
|
1807
|
+
lineNumber: 292,
|
|
1808
|
+
columnNumber: 5
|
|
1809
|
+
}, this);
|
|
1588
1810
|
}
|
|
1589
1811
|
function LogLine({ item }) {
|
|
1590
|
-
if (item.kind === "restart") return /* @__PURE__ */ (0,
|
|
1812
|
+
if (item.kind === "restart") return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1591
1813
|
className: "py-1 text-center text-[11px] text-caution-400",
|
|
1592
1814
|
children: [
|
|
1593
1815
|
"── process restarted · ",
|
|
1594
1816
|
formatTime(item.processStartedAt),
|
|
1595
1817
|
" ──"
|
|
1596
1818
|
]
|
|
1597
|
-
}
|
|
1598
|
-
|
|
1819
|
+
}, void 0, true, {
|
|
1820
|
+
fileName: _jsxFileName$1,
|
|
1821
|
+
lineNumber: 523,
|
|
1822
|
+
columnNumber: 7
|
|
1823
|
+
}, this);
|
|
1824
|
+
if (item.kind === "dropped") return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1599
1825
|
className: "py-1 text-center text-[11px] italic text-sand-500",
|
|
1600
1826
|
children: [
|
|
1601
1827
|
"── ",
|
|
1602
1828
|
item.count,
|
|
1603
1829
|
" lines dropped (buffer overflow) ──"
|
|
1604
1830
|
]
|
|
1605
|
-
}
|
|
1831
|
+
}, void 0, true, {
|
|
1832
|
+
fileName: _jsxFileName$1,
|
|
1833
|
+
lineNumber: 531,
|
|
1834
|
+
columnNumber: 7
|
|
1835
|
+
}, this);
|
|
1606
1836
|
const { entry } = item;
|
|
1607
|
-
return /* @__PURE__ */ (0,
|
|
1837
|
+
return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1608
1838
|
className: "whitespace-pre-wrap break-words text-sand-200",
|
|
1609
1839
|
children: [
|
|
1610
|
-
/* @__PURE__ */ (0,
|
|
1840
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1611
1841
|
className: "text-sand-500",
|
|
1612
1842
|
children: formatTime(entry.timestamp)
|
|
1613
|
-
}
|
|
1843
|
+
}, void 0, false, {
|
|
1844
|
+
fileName: _jsxFileName$1,
|
|
1845
|
+
lineNumber: 541,
|
|
1846
|
+
columnNumber: 7
|
|
1847
|
+
}, this),
|
|
1614
1848
|
" ",
|
|
1615
|
-
/* @__PURE__ */ (0,
|
|
1849
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1616
1850
|
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
|
-
}
|
|
1851
|
+
children: LEVEL_LABEL.get(entry.level) ?? entry.level.slice(0, 3).toUpperCase()
|
|
1852
|
+
}, void 0, false, {
|
|
1853
|
+
fileName: _jsxFileName$1,
|
|
1854
|
+
lineNumber: 542,
|
|
1855
|
+
columnNumber: 7
|
|
1856
|
+
}, this),
|
|
1619
1857
|
" ",
|
|
1620
|
-
/* @__PURE__ */ (0,
|
|
1858
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", {
|
|
1621
1859
|
className: "text-sienna-300",
|
|
1622
1860
|
children: categoryLabel(entry.category)
|
|
1623
|
-
}
|
|
1861
|
+
}, void 0, false, {
|
|
1862
|
+
fileName: _jsxFileName$1,
|
|
1863
|
+
lineNumber: 554,
|
|
1864
|
+
columnNumber: 7
|
|
1865
|
+
}, this),
|
|
1624
1866
|
" ",
|
|
1625
|
-
/* @__PURE__ */ (0,
|
|
1867
|
+
/* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("span", { children: entry.text }, void 0, false, {
|
|
1868
|
+
fileName: _jsxFileName$1,
|
|
1869
|
+
lineNumber: 555,
|
|
1870
|
+
columnNumber: 7
|
|
1871
|
+
}, this)
|
|
1626
1872
|
]
|
|
1627
|
-
}
|
|
1873
|
+
}, void 0, true, {
|
|
1874
|
+
fileName: _jsxFileName$1,
|
|
1875
|
+
lineNumber: 540,
|
|
1876
|
+
columnNumber: 5
|
|
1877
|
+
}, this);
|
|
1628
1878
|
}
|
|
1629
1879
|
//#endregion
|
|
1630
1880
|
//#region src/routes/monit.tsx?tsr-split=component
|
|
1881
|
+
var _jsxFileName = "/home/runner/work/qgrid/qgrid/packages/web/src/routes/monit.tsx?tsr-split=component";
|
|
1631
1882
|
object({ level: _enum([
|
|
1632
1883
|
"all",
|
|
1633
1884
|
"warn",
|
|
@@ -1636,16 +1887,24 @@ object({ level: _enum([
|
|
|
1636
1887
|
function MonitPage() {
|
|
1637
1888
|
const search = Route.useSearch();
|
|
1638
1889
|
const navigate = Route.useNavigate();
|
|
1639
|
-
return /* @__PURE__ */ (0,
|
|
1890
|
+
return /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("div", {
|
|
1640
1891
|
className: "max-w-[100rem] mx-auto",
|
|
1641
|
-
children: /* @__PURE__ */ (0,
|
|
1892
|
+
children: /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)(MonitConsole, {
|
|
1642
1893
|
search,
|
|
1643
1894
|
onSearchChange: (next) => navigate({
|
|
1644
1895
|
search: next,
|
|
1645
1896
|
replace: true
|
|
1646
1897
|
})
|
|
1647
|
-
}
|
|
1648
|
-
|
|
1898
|
+
}, void 0, false, {
|
|
1899
|
+
fileName: _jsxFileName,
|
|
1900
|
+
lineNumber: 14,
|
|
1901
|
+
columnNumber: 7
|
|
1902
|
+
}, this)
|
|
1903
|
+
}, void 0, false, {
|
|
1904
|
+
fileName: _jsxFileName,
|
|
1905
|
+
lineNumber: 13,
|
|
1906
|
+
columnNumber: 10
|
|
1907
|
+
}, this);
|
|
1649
1908
|
}
|
|
1650
1909
|
//#endregion
|
|
1651
1910
|
export { MonitPage as component };
|