@cartanova/qgrid-cli 2.11.0 → 2.12.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.
Files changed (88) hide show
  1. package/bundle/dist/application/qgrid/qgrid-response-format.js +9 -1
  2. package/bundle/dist/application/qgrid/qgrid-run-lifecycle.js +28 -4
  3. package/bundle/dist/application/qgrid/qgrid.dispatcher.js +7 -4
  4. package/bundle/dist/application/qgrid/qgrid.frame.js +25 -4
  5. package/bundle/dist/application/request-log/request-log.model.js +5 -1
  6. package/bundle/dist/utils/providers/anthropic/anthropic-dispatcher.js +7 -2
  7. package/bundle/dist/utils/providers/anthropic/claude-session.js +10 -2
  8. package/bundle/dist/utils/providers/grok/grok-backend-protocol.js +1 -1
  9. package/bundle/dist/utils/providers/grok/grok-dispatcher.js +43 -12
  10. package/bundle/dist/utils/providers/grok/grok-types.js +2 -2
  11. package/bundle/dist/utils/providers/openai/openai-dispatcher.js +9 -3
  12. package/bundle/src/application/qgrid/qgrid-response-format.ts +9 -0
  13. package/bundle/src/application/qgrid/qgrid-run-lifecycle.test.ts +63 -0
  14. package/bundle/src/application/qgrid/qgrid-run-lifecycle.ts +49 -7
  15. package/bundle/src/application/qgrid/qgrid.dispatcher.ts +6 -0
  16. package/bundle/src/application/qgrid/qgrid.frame.test.ts +9 -2
  17. package/bundle/src/application/qgrid/qgrid.frame.ts +39 -3
  18. package/bundle/src/application/request-log/request-log.model.ts +11 -0
  19. package/bundle/src/utils/providers/anthropic/anthropic-dispatcher.ts +2 -0
  20. package/bundle/src/utils/providers/anthropic/claude-session.ts +15 -1
  21. package/bundle/src/utils/providers/common/provider-dispatcher.ts +10 -0
  22. package/bundle/src/utils/providers/grok/grok-backend-protocol.ts +6 -1
  23. package/bundle/src/utils/providers/grok/grok-dispatcher.test.ts +74 -3
  24. package/bundle/src/utils/providers/grok/grok-dispatcher.ts +66 -18
  25. package/bundle/src/utils/providers/grok/grok-quota.test.ts +18 -0
  26. package/bundle/src/utils/providers/grok/grok-types.ts +2 -1
  27. package/bundle/src/utils/providers/openai/openai-dispatcher.test.ts +18 -0
  28. package/bundle/src/utils/providers/openai/openai-dispatcher.ts +10 -2
  29. package/bundle/web-dist/client/assets/index-CK9LwGNV.js +32 -0
  30. package/bundle/web-dist/client/assets/logs-DjQcEivP.js +1 -0
  31. package/bundle/web-dist/client/assets/monit-RTxpU7oZ.js +1 -0
  32. package/bundle/web-dist/client/assets/plus-DDvVTvQP.js +1 -0
  33. package/bundle/web-dist/client/assets/refresh-cw-CTQsNddA.js +1 -0
  34. package/bundle/web-dist/client/assets/request-model-DliRuPcw.js +1 -0
  35. package/bundle/web-dist/client/assets/routes-DVHoo-YF.js +5 -0
  36. package/bundle/web-dist/client/assets/{services.generated-CefiDXEv.js → services.generated-B5lc3aIC.js} +1 -1
  37. package/bundle/web-dist/client/assets/settings-BQUz6UFr.js +1 -0
  38. package/bundle/web-dist/client/assets/show-CalQG1Ew.js +2 -0
  39. package/bundle/web-dist/client/assets/tokens-DU4fWXI9.js +1 -0
  40. package/bundle/web-dist/client/assets/use-oauth-login-flow-BfxYI4Oh.js +1 -0
  41. package/bundle/web-dist/client/assets/use-update-token-mutation-qKBC2sn7.js +1 -0
  42. package/bundle/web-dist/client/assets/vendor-react-DH4kUfK2.js +9 -0
  43. package/bundle/web-dist/client/assets/vendor-tanstack-DRPs09ai.js +1 -0
  44. package/bundle/web-dist/client/index.html +4 -4
  45. package/bundle/web-dist/server/assets/{lazyRouteComponent-D8iTIHyn.js → lazyRouteComponent-AKiHfZWp.js} +2 -2
  46. package/bundle/web-dist/server/assets/logs-B5M5B7pN.js +531 -0
  47. package/bundle/web-dist/server/assets/{monit-B2hqorPe.js → monit-p6JM8MMl.js} +117 -375
  48. package/bundle/web-dist/server/assets/plus-I0FfLVgU.js +19 -0
  49. package/bundle/web-dist/server/assets/{react-dom-BIYQzBqG.js → react-dom-Cv23mm1K.js} +1 -1
  50. package/bundle/web-dist/server/assets/refresh-cw-DYsnffRC.js +23 -0
  51. package/bundle/web-dist/server/assets/{request-model-I6OdODSH.js → request-model-Cp6h5EuP.js} +7 -16
  52. package/bundle/web-dist/server/assets/{routes-B95YlUv2.js → routes-rIXpkI-t.js} +200 -691
  53. package/bundle/web-dist/server/assets/{services.generated-DQATJ6qf.js → services.generated-CMJ8AHbO.js} +3796 -4012
  54. package/bundle/web-dist/server/assets/settings-_MoaFGxj.js +461 -0
  55. package/bundle/web-dist/server/assets/{show-Bxaj3rhH.js → show-Cfm9UeDr.js} +375 -1271
  56. package/bundle/web-dist/server/assets/tokens-DMSHDg9D.js +560 -0
  57. package/bundle/web-dist/server/assets/{use-oauth-login-flow-CKDHgc3U.js → use-oauth-login-flow-jkAkT3X6.js} +16 -50
  58. package/bundle/web-dist/server/assets/{use-update-token-mutation-BEbgOzaa.js → use-update-token-mutation-Sm6kh02m.js} +1 -1
  59. package/bundle/web-dist/server/entry-server.generated.js +1177 -2657
  60. package/package.json +1 -1
  61. package/skills/qgrid/references/ai-sdk-provider-contract.md +1 -1
  62. package/skills/qgrid/references/cli-env-and-server-boot.md +4 -3
  63. package/skills/qgrid/references/decision-rationale.md +2 -1
  64. package/skills/qgrid/references/grok-runtime.md +7 -1
  65. package/skills/qgrid/references/repo-map.md +2 -0
  66. package/skills/qgrid/references/request-log-run-lifecycle.md +5 -0
  67. package/skills/qgrid/references/verification-and-debugging.md +24 -5
  68. package/bundle/web-dist/client/assets/index-BA7uQ-6c.js +0 -31
  69. package/bundle/web-dist/client/assets/logs-C47OJGEI.js +0 -1
  70. package/bundle/web-dist/client/assets/monit-BS9no0dU.js +0 -4
  71. package/bundle/web-dist/client/assets/plus-sdACTfH0.js +0 -1
  72. package/bundle/web-dist/client/assets/refresh-cw-CY8o_1cT.js +0 -1
  73. package/bundle/web-dist/client/assets/request-model-BRtFuZvj.js +0 -1
  74. package/bundle/web-dist/client/assets/routes-kqgkUxE8.js +0 -5
  75. package/bundle/web-dist/client/assets/settings-DNDvFGSw.js +0 -1
  76. package/bundle/web-dist/client/assets/show-u8Np69q3.js +0 -2
  77. package/bundle/web-dist/client/assets/tokens-QvP410NW.js +0 -1
  78. package/bundle/web-dist/client/assets/total-cost-MnfKU8IN.js +0 -1
  79. package/bundle/web-dist/client/assets/use-oauth-login-flow-Bzdh28Ws.js +0 -1
  80. package/bundle/web-dist/client/assets/use-update-token-mutation-CfJKaxmR.js +0 -1
  81. package/bundle/web-dist/client/assets/vendor-react-CUFFrVN9.js +0 -244
  82. package/bundle/web-dist/client/assets/vendor-tanstack-Bf_jag9G.js +0 -1
  83. package/bundle/web-dist/server/assets/logs-B3OTd9hy.js +0 -825
  84. package/bundle/web-dist/server/assets/plus-DwG7h9kq.js +0 -28
  85. package/bundle/web-dist/server/assets/refresh-cw-mMBkwOq0.js +0 -44
  86. package/bundle/web-dist/server/assets/settings-C3gbGk0m.js +0 -830
  87. package/bundle/web-dist/server/assets/tokens-CZjH3cB7.js +0 -1038
  88. package/bundle/web-dist/server/assets/total-cost-fTE9Xy82.js +0 -18
@@ -0,0 +1,19 @@
1
+ import { M as require_jsx_runtime, N as require_react } from "./services.generated-CMJ8AHbO.js";
2
+ require_react();
3
+ var import_jsx_runtime = require_jsx_runtime();
4
+ var lucidePlus = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
5
+ viewBox: "0 0 24 24",
6
+ width: "1.2em",
7
+ height: "1.2em",
8
+ ...props,
9
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
10
+ fill: "none",
11
+ stroke: "currentColor",
12
+ strokeLinecap: "round",
13
+ strokeLinejoin: "round",
14
+ strokeWidth: 2,
15
+ d: "M5 12h14m-7-7v14"
16
+ })
17
+ });
18
+ //#endregion
19
+ export { lucidePlus as t };
@@ -1,4 +1,4 @@
1
- import { F as require_react, Q as __commonJSMin } from "./services.generated-DQATJ6qf.js";
1
+ import { N as require_react, X as __commonJSMin } from "./services.generated-CMJ8AHbO.js";
2
2
  //#region ../../node_modules/.pnpm/react-dom@19.2.4_react@19.2.4/node_modules/react-dom/cjs/react-dom.production.js
3
3
  /**
4
4
  * @license React
@@ -0,0 +1,23 @@
1
+ import { M as require_jsx_runtime, N as require_react } from "./services.generated-CMJ8AHbO.js";
2
+ require_react();
3
+ var import_jsx_runtime = require_jsx_runtime();
4
+ var lucideRefreshCw = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
5
+ viewBox: "0 0 24 24",
6
+ width: "1.2em",
7
+ height: "1.2em",
8
+ ...props,
9
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
10
+ fill: "none",
11
+ stroke: "currentColor",
12
+ strokeLinecap: "round",
13
+ strokeLinejoin: "round",
14
+ strokeWidth: 2,
15
+ children: [
16
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M3 12a9 9 0 0 1 9-9a9.75 9.75 0 0 1 6.74 2.74L21 8" }),
17
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M21 3v5h-5m5 4a9 9 0 0 1-9 9a9.75 9.75 0 0 1-6.74-2.74L3 16" }),
18
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", { d: "M8 16H3v5" })
19
+ ]
20
+ })
21
+ });
22
+ //#endregion
23
+ export { lucideRefreshCw as t };
@@ -1,33 +1,24 @@
1
- import { F as require_react, k as require_jsx_dev_runtime } from "./services.generated-DQATJ6qf.js";
1
+ import { M as require_jsx_runtime, N as require_react } from "./services.generated-CMJ8AHbO.js";
2
2
  require_react();
3
- var import_jsx_dev_runtime = require_jsx_dev_runtime();
4
- var _jsxFileName = "~icons/lucide/zap.jsx";
5
- var lucideZap = (props) => /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("svg", {
3
+ var import_jsx_runtime = require_jsx_runtime();
4
+ var lucideZap = (props) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
6
5
  viewBox: "0 0 24 24",
7
6
  width: "1.2em",
8
7
  height: "1.2em",
9
8
  ...props,
10
- children: /* @__PURE__ */ (0, import_jsx_dev_runtime.jsxDEV)("path", {
9
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
11
10
  fill: "none",
12
11
  stroke: "currentColor",
13
12
  strokeLinecap: "round",
14
13
  strokeLinejoin: "round",
15
14
  strokeWidth: 2,
16
15
  d: "M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z"
17
- }, void 0, false, {
18
- fileName: _jsxFileName,
19
- lineNumber: 2,
20
- columnNumber: 93
21
- }, void 0)
22
- }, void 0, false, {
23
- fileName: _jsxFileName,
24
- lineNumber: 2,
25
- columnNumber: 28
26
- }, void 0);
16
+ })
17
+ });
27
18
  //#endregion
28
19
  //#region src/lib/request-model.ts
29
20
  function requestModelDisplay({ status, requestedModel, servedModel, imageCostMethod }) {
30
- if (status === "running") return { label: "실행 중" };
21
+ if (status === "running") return { label: requestedModel && servedModel && requestedModel !== servedModel ? `${requestedModel} → ${servedModel}` : servedModel ?? requestedModel ?? "—" };
31
22
  const loggedImageModel = /^(?:assumed|estimated):(gpt-image-[^:]+):/.exec(imageCostMethod ?? "")?.[1];
32
23
  const imageModel = servedModel?.startsWith("openai/gpt-image-") ? servedModel : loggedImageModel ? `openai/${loggedImageModel}` : null;
33
24
  if (imageModel) {