@ailog/cli 0.1.4 → 0.2.2

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 (126) hide show
  1. package/dist/bin/cli.js +4 -3
  2. package/dist/standalone/.next/BUILD_ID +1 -1
  3. package/dist/standalone/.next/build-manifest.json +2 -2
  4. package/dist/standalone/.next/prerender-manifest.json +3 -3
  5. package/dist/standalone/.next/server/app/_global-error.html +2 -2
  6. package/dist/standalone/.next/server/app/_global-error.rsc +1 -1
  7. package/dist/standalone/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  8. package/dist/standalone/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  9. package/dist/standalone/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
  10. package/dist/standalone/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
  11. package/dist/standalone/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  12. package/dist/standalone/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  13. package/dist/standalone/.next/server/app/_not-found.html +1 -1
  14. package/dist/standalone/.next/server/app/_not-found.rsc +7 -7
  15. package/dist/standalone/.next/server/app/_not-found.segments/_full.segment.rsc +7 -7
  16. package/dist/standalone/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
  17. package/dist/standalone/.next/server/app/_not-found.segments/_index.segment.rsc +7 -7
  18. package/dist/standalone/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
  19. package/dist/standalone/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
  20. package/dist/standalone/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
  21. package/dist/standalone/.next/server/app/api/[[...route]]/route.js.nft.json +1 -1
  22. package/dist/standalone/.next/server/app/apps/[appId]/page.js.nft.json +1 -1
  23. package/dist/standalone/.next/server/app/apps/[appId]/page_client-reference-manifest.js +1 -1
  24. package/dist/standalone/.next/server/app/apps/[appId]/settings/page.js.nft.json +1 -1
  25. package/dist/standalone/.next/server/app/apps/[appId]/settings/page_client-reference-manifest.js +1 -1
  26. package/dist/standalone/.next/server/app/apps/[appId]/threads/[threadId]/page.js.nft.json +1 -1
  27. package/dist/standalone/.next/server/app/apps/[appId]/threads/[threadId]/page_client-reference-manifest.js +1 -1
  28. package/dist/standalone/.next/server/app/index.html +1 -1
  29. package/dist/standalone/.next/server/app/index.rsc +8 -8
  30. package/dist/standalone/.next/server/app/index.segments/__PAGE__.segment.rsc +2 -2
  31. package/dist/standalone/.next/server/app/index.segments/_full.segment.rsc +8 -8
  32. package/dist/standalone/.next/server/app/index.segments/_head.segment.rsc +1 -1
  33. package/dist/standalone/.next/server/app/index.segments/_index.segment.rsc +7 -7
  34. package/dist/standalone/.next/server/app/index.segments/_tree.segment.rsc +2 -2
  35. package/dist/standalone/.next/server/app/page.js.nft.json +1 -1
  36. package/dist/standalone/.next/server/app/page_client-reference-manifest.js +1 -1
  37. package/dist/standalone/.next/server/chunks/[root-of-the-server]__a0f47697._.js +2 -2
  38. package/dist/standalone/.next/server/chunks/ssr/{_d7dc3d79._.js → _289820d0._.js} +2 -2
  39. package/dist/standalone/.next/server/chunks/ssr/_70dfbe56._.js +3 -0
  40. package/dist/standalone/.next/server/chunks/ssr/_8c0bfb07._.js +3 -0
  41. package/dist/standalone/.next/server/chunks/ssr/{_ebd188d6._.js → _e5c457a7._.js} +2 -2
  42. package/dist/standalone/.next/server/chunks/ssr/_fce9eb14._.js +1 -1
  43. package/dist/standalone/.next/server/chunks/ssr/apps_web_app_apps_[appId]_threads_[threadId]_page_tsx_7dd7d764._.js +37 -1
  44. package/dist/standalone/.next/server/chunks/ssr/apps_web_app_page_tsx_66bf978b._.js +1 -1
  45. package/dist/standalone/.next/server/chunks/ssr/apps_web_components_ui_9822aec4._.js +3 -0
  46. package/dist/standalone/.next/server/chunks/ssr/{_877d9b8d._.js → apps_web_components_ui_alert-dialog_tsx_9188904e._.js} +2 -2
  47. package/dist/standalone/.next/server/chunks/ssr/apps_web_components_ui_cbe5b2b9._.js +3 -0
  48. package/dist/standalone/.next/server/chunks/ssr/{apps_web_components_ui_15d0ea42._.js → apps_web_components_ui_cc5b288d._.js} +2 -2
  49. package/dist/standalone/.next/server/chunks/ssr/node_modules__bun_2e4b1ed0._.js +3 -0
  50. package/dist/standalone/.next/server/chunks/ssr/node_modules__bun_4bd60410._.js +1 -1
  51. package/dist/standalone/.next/server/chunks/ssr/node_modules__bun_d2520564._.js +3 -0
  52. package/dist/standalone/.next/server/pages/404.html +1 -1
  53. package/dist/standalone/.next/server/pages/500.html +2 -2
  54. package/dist/standalone/.next/server/server-reference-manifest.js +1 -1
  55. package/dist/standalone/.next/server/server-reference-manifest.json +1 -1
  56. package/dist/standalone/.next/static/chunks/5521918d58602ba4.css +4 -0
  57. package/dist/standalone/.next/static/chunks/61ce30fe62669a20.js +1 -0
  58. package/dist/standalone/.next/static/chunks/6ee1158d12a0c765.js +1 -0
  59. package/dist/standalone/.next/static/chunks/8bd29684c211a1e1.js +37 -0
  60. package/dist/standalone/.next/static/chunks/8ef339e3fd7a82de.js +1 -0
  61. package/dist/standalone/.next/static/chunks/{f9feac1b69b1185e.js → b337946fdc3c17b3.js} +1 -1
  62. package/dist/standalone/.next/static/chunks/{6b7a6f475b2cb221.js → b46c6c394477214a.js} +1 -1
  63. package/dist/standalone/.next/static/chunks/bbf59b867827b224.js +7 -0
  64. package/dist/standalone/.next/static/chunks/c416de6f3efbbe15.js +7 -0
  65. package/dist/standalone/.next/static/chunks/d70eda393c3966c3.js +1 -0
  66. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/layout.tsx +3 -0
  67. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/page.tsx +238 -0
  68. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/settings/page.tsx +224 -0
  69. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/threads/[threadId]/page.tsx +283 -0
  70. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components/apps-table.tsx +274 -0
  71. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components.json +24 -0
  72. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/layout.tsx +3 -0
  73. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/page.tsx +238 -0
  74. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/settings/page.tsx +224 -0
  75. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/threads/[threadId]/page.tsx +283 -0
  76. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components/apps-table.tsx +274 -0
  77. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components.json +24 -0
  78. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/layout.tsx +3 -0
  79. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/page.tsx +238 -0
  80. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/settings/page.tsx +224 -0
  81. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/threads/[threadId]/page.tsx +283 -0
  82. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components/apps-table.tsx +274 -0
  83. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components.json +24 -0
  84. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/layout.tsx +3 -0
  85. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/page.tsx +238 -0
  86. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/settings/page.tsx +224 -0
  87. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/threads/[threadId]/page.tsx +283 -0
  88. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components/apps-table.tsx +274 -0
  89. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components.json +24 -0
  90. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/layout.tsx +3 -0
  91. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/page.tsx +238 -0
  92. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/settings/page.tsx +224 -0
  93. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/app/apps/[appId]/threads/[threadId]/page.tsx +283 -0
  94. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components/apps-table.tsx +274 -0
  95. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/components.json +24 -0
  96. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/package.json +66 -0
  97. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/tsconfig.json +34 -0
  98. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/package.json +65 -0
  99. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/tsconfig.json +34 -0
  100. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/package.json +65 -0
  101. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/tsconfig.json +34 -0
  102. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/package.json +65 -0
  103. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/tsconfig.json +34 -0
  104. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/package.json +65 -0
  105. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/tsconfig.json +34 -0
  106. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/dist/standalone/package.json +4 -4
  107. package/dist/standalone/dist/standalone/dist/standalone/dist/standalone/package.json +4 -3
  108. package/dist/standalone/dist/standalone/dist/standalone/package.json +4 -3
  109. package/dist/standalone/dist/standalone/package.json +4 -3
  110. package/dist/standalone/package.json +4 -3
  111. package/package.json +4 -3
  112. package/dist/standalone/.next/server/chunks/ssr/_1b351fd8._.js +0 -3
  113. package/dist/standalone/.next/server/chunks/ssr/_82db472c._.js +0 -3
  114. package/dist/standalone/.next/server/chunks/ssr/_ba4460f0._.js +0 -3
  115. package/dist/standalone/.next/server/chunks/ssr/apps_web_components_ui_1626551a._.js +0 -3
  116. package/dist/standalone/.next/static/chunks/0a3222f50a8ba36d.js +0 -1
  117. package/dist/standalone/.next/static/chunks/0d93d2e4091cb1d5.js +0 -1
  118. package/dist/standalone/.next/static/chunks/15389c2c0efe0c58.js +0 -7
  119. package/dist/standalone/.next/static/chunks/46a444f4110b5209.js +0 -7
  120. package/dist/standalone/.next/static/chunks/540b3a38f32c78d0.js +0 -1
  121. package/dist/standalone/.next/static/chunks/5966736c7dbc65d2.js +0 -1
  122. package/dist/standalone/.next/static/chunks/b7ea835c5478b248.js +0 -1
  123. package/dist/standalone/.next/static/chunks/e4876b96721a69ca.css +0 -4
  124. /package/dist/standalone/.next/static/{HzNPAAEgDfSt2GDQklLOp → XXfaoTsbOv2IAuUUXz1R4}/_buildManifest.js +0 -0
  125. /package/dist/standalone/.next/static/{HzNPAAEgDfSt2GDQklLOp → XXfaoTsbOv2IAuUUXz1R4}/_clientMiddlewareManifest.json +0 -0
  126. /package/dist/standalone/.next/static/{HzNPAAEgDfSt2GDQklLOp → XXfaoTsbOv2IAuUUXz1R4}/_ssgManifest.js +0 -0
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@ailog/cli",
3
+ "version": "0.1.2",
4
+ "description": "CLI to run the ailog LLM logging dashboard",
5
+ "private": false,
6
+ "type": "module",
7
+ "bin": {
8
+ "ailog": "./dist/bin/cli.js"
9
+ },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "dev": "next dev --port 9000",
15
+ "build": "next build",
16
+ "build:cli": "next build && bun scripts/build-cli.ts",
17
+ "start": "next start",
18
+ "start:cli": "node dist/bin/cli.js start",
19
+ "prepublishOnly": "bun run build:cli",
20
+ "lint": "eslint --max-warnings=0 .",
21
+ "lint:fix": "eslint --fix ."
22
+ },
23
+ "dependencies": {
24
+ "commander": "^12.0.0",
25
+ "next": "16.0.10",
26
+ "pg": "^8.16.3",
27
+ "react": "19.2.1",
28
+ "react-dom": "19.2.1",
29
+ "styled-jsx": "^5.1.6",
30
+ "@swc/helpers": "^0.5.15",
31
+ "client-only": "^0.0.1"
32
+ },
33
+ "optionalDependencies": {
34
+ "sharp": "^0.34.5"
35
+ },
36
+ "devDependencies": {
37
+ "@ailog/server": "*",
38
+ "@base-ui/react": "^1.0.0",
39
+ "@hugeicons/core-free-icons": "^2.0.0",
40
+ "@hugeicons/react": "^1.1.1",
41
+ "@tailwindcss/postcss": "^4",
42
+ "@tanstack/react-table": "^8.21.3",
43
+ "@types/bun": "^1.3.5",
44
+ "@types/node": "^20",
45
+ "@types/react": "^19",
46
+ "@types/react-dom": "^19",
47
+ "class-variance-authority": "^0.7.1",
48
+ "clsx": "^2.1.1",
49
+ "eslint": "^9",
50
+ "eslint-config-next": "16.0.10",
51
+ "hono": "^4.11.0",
52
+ "next-themes": "^0.4.6",
53
+ "nuqs": "^2.8.5",
54
+ "radix-ui": "^1.4.3",
55
+ "shadcn": "^3.6.1",
56
+ "sonner": "^2.0.7",
57
+ "tailwind-merge": "^3.4.0",
58
+ "tailwindcss": "^4",
59
+ "tw-animate-css": "^1.4.0",
60
+ "typescript": "^5"
61
+ },
62
+ "engines": {
63
+ "node": ">=18"
64
+ }
65
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx",
15
+ "incremental": true,
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./*"]
23
+ }
24
+ },
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
33
+ "exclude": ["node_modules"]
34
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@ailog/cli",
3
+ "version": "0.1.2",
4
+ "description": "CLI to run the ailog LLM logging dashboard",
5
+ "private": false,
6
+ "type": "module",
7
+ "bin": {
8
+ "ailog": "./dist/bin/cli.js"
9
+ },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "dev": "next dev --port 9000",
15
+ "build": "next build",
16
+ "build:cli": "next build && bun scripts/build-cli.ts",
17
+ "start": "next start",
18
+ "start:cli": "node dist/bin/cli.js start",
19
+ "prepublishOnly": "bun run build:cli",
20
+ "lint": "eslint --max-warnings=0 .",
21
+ "lint:fix": "eslint --fix ."
22
+ },
23
+ "dependencies": {
24
+ "commander": "^12.0.0",
25
+ "next": "16.0.10",
26
+ "pg": "^8.16.3",
27
+ "react": "19.2.1",
28
+ "react-dom": "19.2.1",
29
+ "styled-jsx": "^5.1.6",
30
+ "@swc/helpers": "^0.5.15",
31
+ "client-only": "^0.0.1"
32
+ },
33
+ "optionalDependencies": {
34
+ "sharp": "^0.34.5"
35
+ },
36
+ "devDependencies": {
37
+ "@ailog/server": "*",
38
+ "@base-ui/react": "^1.0.0",
39
+ "@hugeicons/core-free-icons": "^2.0.0",
40
+ "@hugeicons/react": "^1.1.1",
41
+ "@tailwindcss/postcss": "^4",
42
+ "@tanstack/react-table": "^8.21.3",
43
+ "@types/bun": "^1.3.5",
44
+ "@types/node": "^20",
45
+ "@types/react": "^19",
46
+ "@types/react-dom": "^19",
47
+ "class-variance-authority": "^0.7.1",
48
+ "clsx": "^2.1.1",
49
+ "eslint": "^9",
50
+ "eslint-config-next": "16.0.10",
51
+ "hono": "^4.11.0",
52
+ "next-themes": "^0.4.6",
53
+ "nuqs": "^2.8.5",
54
+ "radix-ui": "^1.4.3",
55
+ "shadcn": "^3.6.1",
56
+ "sonner": "^2.0.7",
57
+ "tailwind-merge": "^3.4.0",
58
+ "tailwindcss": "^4",
59
+ "tw-animate-css": "^1.4.0",
60
+ "typescript": "^5"
61
+ },
62
+ "engines": {
63
+ "node": ">=18"
64
+ }
65
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx",
15
+ "incremental": true,
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./*"]
23
+ }
24
+ },
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
33
+ "exclude": ["node_modules"]
34
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@ailog/cli",
3
+ "version": "0.1.3",
4
+ "description": "CLI to run the ailog LLM logging dashboard",
5
+ "private": false,
6
+ "type": "module",
7
+ "bin": {
8
+ "ailog": "./dist/bin/cli.js"
9
+ },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "dev": "next dev --port 9000",
15
+ "build": "next build",
16
+ "build:cli": "next build && bun scripts/build-cli.ts",
17
+ "start": "next start",
18
+ "start:cli": "node dist/bin/cli.js start",
19
+ "prepublishOnly": "bun run build:cli",
20
+ "lint": "eslint --max-warnings=0 .",
21
+ "lint:fix": "eslint --fix ."
22
+ },
23
+ "dependencies": {
24
+ "commander": "^12.0.0",
25
+ "next": "16.0.10",
26
+ "pg": "^8.16.3",
27
+ "react": "19.2.1",
28
+ "react-dom": "19.2.1",
29
+ "styled-jsx": "^5.1.6",
30
+ "@swc/helpers": "^0.5.15",
31
+ "client-only": "^0.0.1"
32
+ },
33
+ "optionalDependencies": {
34
+ "sharp": "^0.34.5"
35
+ },
36
+ "devDependencies": {
37
+ "@ailog/server": "*",
38
+ "@base-ui/react": "^1.0.0",
39
+ "@hugeicons/core-free-icons": "^2.0.0",
40
+ "@hugeicons/react": "^1.1.1",
41
+ "@tailwindcss/postcss": "^4",
42
+ "@tanstack/react-table": "^8.21.3",
43
+ "@types/bun": "^1.3.5",
44
+ "@types/node": "^20",
45
+ "@types/react": "^19",
46
+ "@types/react-dom": "^19",
47
+ "class-variance-authority": "^0.7.1",
48
+ "clsx": "^2.1.1",
49
+ "eslint": "^9",
50
+ "eslint-config-next": "16.0.10",
51
+ "hono": "^4.11.0",
52
+ "next-themes": "^0.4.6",
53
+ "nuqs": "^2.8.5",
54
+ "radix-ui": "^1.4.3",
55
+ "shadcn": "^3.6.1",
56
+ "sonner": "^2.0.7",
57
+ "tailwind-merge": "^3.4.0",
58
+ "tailwindcss": "^4",
59
+ "tw-animate-css": "^1.4.0",
60
+ "typescript": "^5"
61
+ },
62
+ "engines": {
63
+ "node": ">=18"
64
+ }
65
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx",
15
+ "incremental": true,
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./*"]
23
+ }
24
+ },
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
33
+ "exclude": ["node_modules"]
34
+ }
@@ -0,0 +1,65 @@
1
+ {
2
+ "name": "@ailog/cli",
3
+ "version": "0.1.4",
4
+ "description": "CLI to run the ailog LLM logging dashboard",
5
+ "private": false,
6
+ "type": "module",
7
+ "bin": {
8
+ "ailog": "./dist/bin/cli.js"
9
+ },
10
+ "files": [
11
+ "dist"
12
+ ],
13
+ "scripts": {
14
+ "dev": "next dev --port 9000",
15
+ "build": "next build",
16
+ "build:cli": "next build && bun scripts/build-cli.ts",
17
+ "start": "next start",
18
+ "start:cli": "node dist/bin/cli.js start",
19
+ "prepublishOnly": "bun run build:cli",
20
+ "lint": "eslint --max-warnings=0 .",
21
+ "lint:fix": "eslint --fix ."
22
+ },
23
+ "dependencies": {
24
+ "commander": "^12.0.0",
25
+ "next": "16.0.10",
26
+ "pg": "^8.16.3",
27
+ "react": "19.2.1",
28
+ "react-dom": "19.2.1",
29
+ "styled-jsx": "^5.1.6",
30
+ "@swc/helpers": "^0.5.15",
31
+ "client-only": "^0.0.1"
32
+ },
33
+ "optionalDependencies": {
34
+ "sharp": "^0.34.5"
35
+ },
36
+ "devDependencies": {
37
+ "@ailog/server": "*",
38
+ "@base-ui/react": "^1.0.0",
39
+ "@hugeicons/core-free-icons": "^2.0.0",
40
+ "@hugeicons/react": "^1.1.1",
41
+ "@tailwindcss/postcss": "^4",
42
+ "@tanstack/react-table": "^8.21.3",
43
+ "@types/bun": "^1.3.5",
44
+ "@types/node": "^20",
45
+ "@types/react": "^19",
46
+ "@types/react-dom": "^19",
47
+ "class-variance-authority": "^0.7.1",
48
+ "clsx": "^2.1.1",
49
+ "eslint": "^9",
50
+ "eslint-config-next": "16.0.10",
51
+ "hono": "^4.11.0",
52
+ "next-themes": "^0.4.6",
53
+ "nuqs": "^2.8.5",
54
+ "radix-ui": "^1.4.3",
55
+ "shadcn": "^3.6.1",
56
+ "sonner": "^2.0.7",
57
+ "tailwind-merge": "^3.4.0",
58
+ "tailwindcss": "^4",
59
+ "tw-animate-css": "^1.4.0",
60
+ "typescript": "^5"
61
+ },
62
+ "engines": {
63
+ "node": ">=18"
64
+ }
65
+ }
@@ -0,0 +1,34 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2017",
4
+ "lib": ["dom", "dom.iterable", "esnext"],
5
+ "allowJs": true,
6
+ "skipLibCheck": true,
7
+ "strict": true,
8
+ "noEmit": true,
9
+ "esModuleInterop": true,
10
+ "module": "esnext",
11
+ "moduleResolution": "bundler",
12
+ "resolveJsonModule": true,
13
+ "isolatedModules": true,
14
+ "jsx": "react-jsx",
15
+ "incremental": true,
16
+ "plugins": [
17
+ {
18
+ "name": "next"
19
+ }
20
+ ],
21
+ "paths": {
22
+ "@/*": ["./*"]
23
+ }
24
+ },
25
+ "include": [
26
+ "next-env.d.ts",
27
+ "**/*.ts",
28
+ "**/*.tsx",
29
+ ".next/types/**/*.ts",
30
+ ".next/dev/types/**/*.ts",
31
+ "**/*.mts"
32
+ ],
33
+ "exclude": ["node_modules"]
34
+ }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailog/cli",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "description": "CLI to run the ailog LLM logging dashboard",
5
5
  "private": false,
6
6
  "type": "module",
@@ -21,14 +21,15 @@
21
21
  "lint:fix": "eslint --fix ."
22
22
  },
23
23
  "dependencies": {
24
+ "@swc/helpers": "^0.5.15",
25
+ "client-only": "^0.0.1",
24
26
  "commander": "^12.0.0",
25
27
  "next": "16.0.10",
26
28
  "pg": "^8.16.3",
27
29
  "react": "19.2.1",
28
30
  "react-dom": "19.2.1",
29
31
  "styled-jsx": "^5.1.6",
30
- "@swc/helpers": "^0.5.15",
31
- "client-only": "^0.0.1"
32
+ "zod": "^4.3.0"
32
33
  },
33
34
  "optionalDependencies": {
34
35
  "sharp": "^0.34.5"
@@ -49,7 +50,6 @@
49
50
  "eslint": "^9",
50
51
  "eslint-config-next": "16.0.10",
51
52
  "hono": "^4.11.0",
52
- "ignore": "^7.0.5",
53
53
  "next-themes": "^0.4.6",
54
54
  "nuqs": "^2.8.5",
55
55
  "radix-ui": "^1.4.3",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailog/cli",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "CLI to run the ailog LLM logging dashboard",
5
5
  "private": false,
6
6
  "type": "module",
@@ -21,14 +21,15 @@
21
21
  "lint:fix": "eslint --fix ."
22
22
  },
23
23
  "dependencies": {
24
+ "@swc/helpers": "^0.5.15",
25
+ "client-only": "^0.0.1",
24
26
  "commander": "^12.0.0",
25
27
  "next": "16.0.10",
26
28
  "pg": "^8.16.3",
27
29
  "react": "19.2.1",
28
30
  "react-dom": "19.2.1",
29
31
  "styled-jsx": "^5.1.6",
30
- "@swc/helpers": "^0.5.15",
31
- "client-only": "^0.0.1"
32
+ "zod": "^4.3.0"
32
33
  },
33
34
  "optionalDependencies": {
34
35
  "sharp": "^0.34.5"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailog/cli",
3
- "version": "0.1.2",
3
+ "version": "0.2.0",
4
4
  "description": "CLI to run the ailog LLM logging dashboard",
5
5
  "private": false,
6
6
  "type": "module",
@@ -21,14 +21,15 @@
21
21
  "lint:fix": "eslint --fix ."
22
22
  },
23
23
  "dependencies": {
24
+ "@swc/helpers": "^0.5.15",
25
+ "client-only": "^0.0.1",
24
26
  "commander": "^12.0.0",
25
27
  "next": "16.0.10",
26
28
  "pg": "^8.16.3",
27
29
  "react": "19.2.1",
28
30
  "react-dom": "19.2.1",
29
31
  "styled-jsx": "^5.1.6",
30
- "@swc/helpers": "^0.5.15",
31
- "client-only": "^0.0.1"
32
+ "zod": "^4.3.0"
32
33
  },
33
34
  "optionalDependencies": {
34
35
  "sharp": "^0.34.5"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailog/cli",
3
- "version": "0.1.3",
3
+ "version": "0.2.2",
4
4
  "description": "CLI to run the ailog LLM logging dashboard",
5
5
  "private": false,
6
6
  "type": "module",
@@ -21,14 +21,15 @@
21
21
  "lint:fix": "eslint --fix ."
22
22
  },
23
23
  "dependencies": {
24
+ "@swc/helpers": "^0.5.15",
25
+ "client-only": "^0.0.1",
24
26
  "commander": "^12.0.0",
25
27
  "next": "16.0.10",
26
28
  "pg": "^8.16.3",
27
29
  "react": "19.2.1",
28
30
  "react-dom": "19.2.1",
29
31
  "styled-jsx": "^5.1.6",
30
- "@swc/helpers": "^0.5.15",
31
- "client-only": "^0.0.1"
32
+ "zod": "^4.3.0"
32
33
  },
33
34
  "optionalDependencies": {
34
35
  "sharp": "^0.34.5"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailog/cli",
3
- "version": "0.1.4",
3
+ "version": "0.2.2",
4
4
  "description": "CLI to run the ailog LLM logging dashboard",
5
5
  "private": false,
6
6
  "type": "module",
@@ -21,14 +21,15 @@
21
21
  "lint:fix": "eslint --fix ."
22
22
  },
23
23
  "dependencies": {
24
+ "@swc/helpers": "^0.5.15",
25
+ "client-only": "^0.0.1",
24
26
  "commander": "^12.0.0",
25
27
  "next": "16.0.10",
26
28
  "pg": "^8.16.3",
27
29
  "react": "19.2.1",
28
30
  "react-dom": "19.2.1",
29
31
  "styled-jsx": "^5.1.6",
30
- "@swc/helpers": "^0.5.15",
31
- "client-only": "^0.0.1"
32
+ "zod": "^4.3.0"
32
33
  },
33
34
  "optionalDependencies": {
34
35
  "sharp": "^0.34.5"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ailog/cli",
3
- "version": "0.1.4",
3
+ "version": "0.2.2",
4
4
  "description": "CLI to run the ailog LLM logging dashboard",
5
5
  "private": false,
6
6
  "type": "module",
@@ -21,14 +21,15 @@
21
21
  "lint:fix": "eslint --fix ."
22
22
  },
23
23
  "dependencies": {
24
+ "@swc/helpers": "^0.5.15",
25
+ "client-only": "^0.0.1",
24
26
  "commander": "^12.0.0",
25
27
  "next": "16.0.10",
26
28
  "pg": "^8.16.3",
27
29
  "react": "19.2.1",
28
30
  "react-dom": "19.2.1",
29
31
  "styled-jsx": "^5.1.6",
30
- "@swc/helpers": "^0.5.15",
31
- "client-only": "^0.0.1"
32
+ "zod": "^4.3.0"
32
33
  },
33
34
  "optionalDependencies": {
34
35
  "sharp": "^0.34.5"
@@ -1,3 +0,0 @@
1
- module.exports=[11568,a=>{"use strict";var b=a.i(67651);a.i(29555);var c=b.createContext(void 0);function d(a){let d=b.useContext(c);return a||d||"ltr"}a.s(["useDirection",()=>d])},32714,a=>{"use strict";var b=a.i(29555),c=a.i(74192);function d({className:a,size:d="default",...e}){return(0,b.jsx)("div",{"data-slot":"card","data-size":d,className:(0,c.cn)("ring-foreground/10 bg-card text-card-foreground group/card flex flex-col gap-4 overflow-hidden rounded-none py-4 text-xs/relaxed ring-1 has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-2 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-none *:[img:last-child]:rounded-none",a),...e})}function e({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-header",className:(0,c.cn)("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-none px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3",a),...d})}function f({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-title",className:(0,c.cn)("text-sm font-medium group-data-[size=sm]/card:text-sm",a),...d})}function g({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-description",className:(0,c.cn)("text-muted-foreground text-xs/relaxed",a),...d})}function h({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"card-content",className:(0,c.cn)("px-4 group-data-[size=sm]/card:px-3",a),...d})}a.s(["Card",()=>d,"CardContent",()=>h,"CardDescription",()=>g,"CardHeader",()=>e,"CardTitle",()=>f])},99574,a=>{"use strict";var b=a.i(29555),c=a.i(13801),d=a.i(88260),e=a.i(74192);let f=(0,c.cva)("h-5 gap-1 rounded-none border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-colors overflow-hidden group/badge",{variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",secondary:"bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",destructive:"bg-destructive/10 [a]:hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 text-destructive dark:bg-destructive/20",outline:"border-border text-foreground [a]:hover:bg-muted [a]:hover:text-muted-foreground",ghost:"hover:bg-muted hover:text-muted-foreground dark:hover:bg-muted/50",link:"text-primary underline-offset-4 hover:underline"}},defaultVariants:{variant:"default"}});function g({className:a,variant:c="default",asChild:g=!1,...h}){let i=g?d.Slot.Root:"span";return(0,b.jsx)(i,{"data-slot":"badge","data-variant":c,className:(0,e.cn)(f({variant:c}),a),...h})}a.s(["Badge",()=>g])}];
2
-
3
- //# sourceMappingURL=_1b351fd8._.js.map
@@ -1,3 +0,0 @@
1
- module.exports=[95507,a=>{"use strict";var b=a.i(29555),c=a.i(74192);function d({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"skeleton",className:(0,c.cn)("bg-muted animate-pulse rounded-none",a),...d})}a.s(["Skeleton",()=>d])},39807,a=>{"use strict";var b=a.i(67651),c=globalThis?.document?b.useLayoutEffect:()=>{};a.s(["useLayoutEffect",()=>c])},19341,a=>{"use strict";var b=a.i(67651),c=a.i(26040),d=a.i(39807),e=a=>{var e;let g,h,{present:i,children:j}=a,k=function(a){var c,e;let[g,h]=b.useState(),i=b.useRef(null),j=b.useRef(a),k=b.useRef("none"),[l,m]=(c=a?"mounted":"unmounted",e={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},b.useReducer((a,b)=>e[a][b]??a,c));return b.useEffect(()=>{let a=f(i.current);k.current="mounted"===l?a:"none"},[l]),(0,d.useLayoutEffect)(()=>{let b=i.current,c=j.current;if(c!==a){let d=k.current,e=f(b);a?m("MOUNT"):"none"===e||b?.display==="none"?m("UNMOUNT"):c&&d!==e?m("ANIMATION_OUT"):m("UNMOUNT"),j.current=a}},[a,m]),(0,d.useLayoutEffect)(()=>{if(g){let a,b=g.ownerDocument.defaultView??window,c=c=>{let d=f(i.current).includes(CSS.escape(c.animationName));if(c.target===g&&d&&(m("ANIMATION_END"),!j.current)){let c=g.style.animationFillMode;g.style.animationFillMode="forwards",a=b.setTimeout(()=>{"forwards"===g.style.animationFillMode&&(g.style.animationFillMode=c)})}},d=a=>{a.target===g&&(k.current=f(i.current))};return g.addEventListener("animationstart",d),g.addEventListener("animationcancel",c),g.addEventListener("animationend",c),()=>{b.clearTimeout(a),g.removeEventListener("animationstart",d),g.removeEventListener("animationcancel",c),g.removeEventListener("animationend",c)}}m("ANIMATION_END")},[g,m]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:b.useCallback(a=>{i.current=a?getComputedStyle(a):null,h(a)},[])}}(i),l="function"==typeof j?j({present:k.isPresent}):b.Children.only(j),m=(0,c.useComposedRefs)(k.ref,(e=l,(h=(g=Object.getOwnPropertyDescriptor(e.props,"ref")?.get)&&"isReactWarning"in g&&g.isReactWarning)?e.ref:(h=(g=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in g&&g.isReactWarning)?e.props.ref:e.props.ref||e.ref));return"function"==typeof j||k.isPresent?b.cloneElement(l,{ref:m}):null};function f(a){return a?.animationName||"none"}e.displayName="Presence",a.s(["Presence",()=>e])},46120,a=>{"use strict";var b=a.i(67651),c=a.i(29555);function d(a,d){let e=b.createContext(d),f=a=>{let{children:d,...f}=a,g=b.useMemo(()=>f,Object.values(f));return(0,c.jsx)(e.Provider,{value:g,children:d})};return f.displayName=a+"Provider",[f,function(c){let f=b.useContext(e);if(f)return f;if(void 0!==d)return d;throw Error(`\`${c}\` must be used within \`${a}\``)}]}function e(a,d=[]){let f=[],g=()=>{let c=f.map(a=>b.createContext(a));return function(d){let e=d?.[a]||c;return b.useMemo(()=>({[`__scope${a}`]:{...d,[a]:e}}),[d,e])}};return g.scopeName=a,[function(d,e){let g=b.createContext(e),h=f.length;f=[...f,e];let i=d=>{let{scope:e,children:f,...i}=d,j=e?.[a]?.[h]||g,k=b.useMemo(()=>i,Object.values(i));return(0,c.jsx)(j.Provider,{value:k,children:f})};return i.displayName=d+"Provider",[i,function(c,f){let i=f?.[a]?.[h]||g,j=b.useContext(i);if(j)return j;if(void 0!==e)return e;throw Error(`\`${c}\` must be used within \`${d}\``)}]},function(...a){let c=a[0];if(1===a.length)return c;let d=()=>{let d=a.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let e=d.reduce((b,{useScope:c,scopeName:d})=>{let e=c(a)[`__scope${d}`];return{...b,...e}},{});return b.useMemo(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return d.scopeName=c.scopeName,d}(g,...d)]}a.s(["createContext",()=>d,"createContextScope",()=>e])},42175,a=>{"use strict";var b=a.i(67651);function c(a){let c=b.useRef(a);return b.useEffect(()=>{c.current=a}),b.useMemo(()=>(...a)=>c.current?.(...a),[])}a.s(["useCallbackRef",()=>c])},72521,a=>{"use strict";function b(a,c,{checkForDefaultPrevented:d=!0}={}){return function(b){if(a?.(b),!1===d||!b.defaultPrevented)return c?.(b)}}a.s(["composeEventHandlers",()=>b])},76837,a=>{"use strict";var b=a.i(67651),c=a.i(39807);b[" useEffectEvent ".trim().toString()],b[" useInsertionEffect ".trim().toString()];var d=b[" useInsertionEffect ".trim().toString()]||c.useLayoutEffect;function e({prop:a,defaultProp:c,onChange:e=()=>{},caller:f}){let[g,h,i]=function({defaultProp:a,onChange:c}){let[e,f]=b.useState(a),g=b.useRef(e),h=b.useRef(c);return d(()=>{h.current=c},[c]),b.useEffect(()=>{g.current!==e&&(h.current?.(e),g.current=e)},[e,g]),[e,f,h]}({defaultProp:c,onChange:e}),j=void 0!==a,k=j?a:g;{let c=b.useRef(void 0!==a);b.useEffect(()=>{let a=c.current;if(a!==j){let b=j?"controlled":"uncontrolled";console.warn(`${f} is changing from ${a?"controlled":"uncontrolled"} to ${b}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}c.current=j},[j,f])}return[k,b.useCallback(b=>{if(j){let c="function"==typeof b?b(a):b;c!==a&&i.current?.(c)}else h(b)},[j,a,h,i])]}Symbol("RADIX:SYNC_STATE"),a.s(["useControllableState",()=>e],76837)},77866,a=>{"use strict";var b=a.i(67651),c=a.i(39807),d=b[" useId ".trim().toString()]||(()=>void 0),e=0;function f(a){let[f,g]=b.useState(d());return(0,c.useLayoutEffect)(()=>{a||g(a=>a??String(e++))},[a]),a||(f?`radix-${f}`:"")}a.s(["useId",()=>f])},62085,a=>{"use strict";var b,c=a.i(67651),d=a.i(72521),e=a.i(25239),f=a.i(26040),g=a.i(42175),h=a.i(29555),i="dismissableLayer.update",j=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=c.forwardRef((a,k)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:p,onFocusOutside:q,onInteractOutside:r,onDismiss:s,...t}=a,u=c.useContext(j),[v,w]=c.useState(null),x=v?.ownerDocument??globalThis?.document,[,y]=c.useState({}),z=(0,f.useComposedRefs)(k,a=>w(a)),A=Array.from(u.layers),[B]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),C=A.indexOf(B),D=v?A.indexOf(v):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,F=D>=C,G=function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a),e=c.useRef(!1),f=c.useRef(()=>{});return c.useEffect(()=>{let a=a=>{if(a.target&&!e.current){let c=function(){m("dismissableLayer.pointerDownOutside",d,e,{discrete:!0})},e={originalEvent:a};"touch"===a.pointerType?(b.removeEventListener("click",f.current),f.current=c,b.addEventListener("click",f.current,{once:!0})):c()}else b.removeEventListener("click",f.current);e.current=!1},c=window.setTimeout(()=>{b.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(c),b.removeEventListener("pointerdown",a),b.removeEventListener("click",f.current)}},[b,d]),{onPointerDownCapture:()=>e.current=!0}}(a=>{let b=a.target,c=[...u.branches].some(a=>a.contains(b));F&&!c&&(p?.(a),r?.(a),a.defaultPrevented||s?.())},x),H=function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a),e=c.useRef(!1);return c.useEffect(()=>{let a=a=>{a.target&&!e.current&&m("dismissableLayer.focusOutside",d,{originalEvent:a},{discrete:!1})};return b.addEventListener("focusin",a),()=>b.removeEventListener("focusin",a)},[b,d]),{onFocusCapture:()=>e.current=!0,onBlurCapture:()=>e.current=!1}}(a=>{let b=a.target;![...u.branches].some(a=>a.contains(b))&&(q?.(a),r?.(a),a.defaultPrevented||s?.())},x);return!function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a);c.useEffect(()=>{let a=a=>{"Escape"===a.key&&d(a)};return b.addEventListener("keydown",a,{capture:!0}),()=>b.removeEventListener("keydown",a,{capture:!0})},[d,b])}(a=>{D===u.layers.size-1&&(o?.(a),!a.defaultPrevented&&s&&(a.preventDefault(),s()))},x),c.useEffect(()=>{if(v)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(b=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(v)),u.layers.add(v),l(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=b)}},[v,x,n,u]),c.useEffect(()=>()=>{v&&(u.layers.delete(v),u.layersWithOutsidePointerEventsDisabled.delete(v),l())},[v,u]),c.useEffect(()=>{let a=()=>y({});return document.addEventListener(i,a),()=>document.removeEventListener(i,a)},[]),(0,h.jsx)(e.Primitive.div,{...t,ref:z,style:{pointerEvents:E?F?"auto":"none":void 0,...a.style},onFocusCapture:(0,d.composeEventHandlers)(a.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,d.composeEventHandlers)(a.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,d.composeEventHandlers)(a.onPointerDownCapture,G.onPointerDownCapture)})});function l(){let a=new CustomEvent(i);document.dispatchEvent(a)}function m(a,b,c,{discrete:d}){let f=c.originalEvent.target,g=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:c});b&&f.addEventListener(a,b,{once:!0}),d?(0,e.dispatchDiscreteCustomEvent)(f,g):f.dispatchEvent(g)}k.displayName="DismissableLayer",c.forwardRef((a,b)=>{let d=c.useContext(j),g=c.useRef(null),i=(0,f.useComposedRefs)(b,g);return c.useEffect(()=>{let a=g.current;if(a)return d.branches.add(a),()=>{d.branches.delete(a)}},[d.branches]),(0,h.jsx)(e.Primitive.div,{...a,ref:i})}).displayName="DismissableLayerBranch",a.s(["DismissableLayer",()=>k],62085)},9096,a=>{"use strict";var b=a.i(67651),c=a.i(7986),d=a.i(25239),e=a.i(39807),f=a.i(29555),g=b.forwardRef((a,g)=>{let{container:h,...i}=a,[j,k]=b.useState(!1);(0,e.useLayoutEffect)(()=>k(!0),[]);let l=h||j&&globalThis?.document?.body;return l?c.default.createPortal((0,f.jsx)(d.Primitive.div,{...i,ref:g}),l):null});g.displayName="Portal",a.s(["Portal",()=>g])}];
2
-
3
- //# sourceMappingURL=_82db472c._.js.map
@@ -1,3 +0,0 @@
1
- module.exports=[95507,a=>{"use strict";var b=a.i(29555),c=a.i(74192);function d({className:a,...d}){return(0,b.jsx)("div",{"data-slot":"skeleton",className:(0,c.cn)("bg-muted animate-pulse rounded-none",a),...d})}a.s(["Skeleton",()=>d])},46120,a=>{"use strict";var b=a.i(67651),c=a.i(29555);function d(a,d){let e=b.createContext(d),f=a=>{let{children:d,...f}=a,g=b.useMemo(()=>f,Object.values(f));return(0,c.jsx)(e.Provider,{value:g,children:d})};return f.displayName=a+"Provider",[f,function(c){let f=b.useContext(e);if(f)return f;if(void 0!==d)return d;throw Error(`\`${c}\` must be used within \`${a}\``)}]}function e(a,d=[]){let f=[],g=()=>{let c=f.map(a=>b.createContext(a));return function(d){let e=d?.[a]||c;return b.useMemo(()=>({[`__scope${a}`]:{...d,[a]:e}}),[d,e])}};return g.scopeName=a,[function(d,e){let g=b.createContext(e),h=f.length;f=[...f,e];let i=d=>{let{scope:e,children:f,...i}=d,j=e?.[a]?.[h]||g,k=b.useMemo(()=>i,Object.values(i));return(0,c.jsx)(j.Provider,{value:k,children:f})};return i.displayName=d+"Provider",[i,function(c,f){let i=f?.[a]?.[h]||g,j=b.useContext(i);if(j)return j;if(void 0!==e)return e;throw Error(`\`${c}\` must be used within \`${d}\``)}]},function(...a){let c=a[0];if(1===a.length)return c;let d=()=>{let d=a.map(a=>({useScope:a(),scopeName:a.scopeName}));return function(a){let e=d.reduce((b,{useScope:c,scopeName:d})=>{let e=c(a)[`__scope${d}`];return{...b,...e}},{});return b.useMemo(()=>({[`__scope${c.scopeName}`]:e}),[e])}};return d.scopeName=c.scopeName,d}(g,...d)]}a.s(["createContext",()=>d,"createContextScope",()=>e])},72521,a=>{"use strict";function b(a,c,{checkForDefaultPrevented:d=!0}={}){return function(b){if(a?.(b),!1===d||!b.defaultPrevented)return c?.(b)}}a.s(["composeEventHandlers",()=>b])},39807,a=>{"use strict";var b=a.i(67651),c=globalThis?.document?b.useLayoutEffect:()=>{};a.s(["useLayoutEffect",()=>c])},77866,a=>{"use strict";var b=a.i(67651),c=a.i(39807),d=b[" useId ".trim().toString()]||(()=>void 0),e=0;function f(a){let[f,g]=b.useState(d());return(0,c.useLayoutEffect)(()=>{a||g(a=>a??String(e++))},[a]),a||(f?`radix-${f}`:"")}a.s(["useId",()=>f])},76837,a=>{"use strict";var b=a.i(67651),c=a.i(39807);b[" useEffectEvent ".trim().toString()],b[" useInsertionEffect ".trim().toString()];var d=b[" useInsertionEffect ".trim().toString()]||c.useLayoutEffect;function e({prop:a,defaultProp:c,onChange:e=()=>{},caller:f}){let[g,h,i]=function({defaultProp:a,onChange:c}){let[e,f]=b.useState(a),g=b.useRef(e),h=b.useRef(c);return d(()=>{h.current=c},[c]),b.useEffect(()=>{g.current!==e&&(h.current?.(e),g.current=e)},[e,g]),[e,f,h]}({defaultProp:c,onChange:e}),j=void 0!==a,k=j?a:g;{let c=b.useRef(void 0!==a);b.useEffect(()=>{let a=c.current;if(a!==j){let b=j?"controlled":"uncontrolled";console.warn(`${f} is changing from ${a?"controlled":"uncontrolled"} to ${b}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}c.current=j},[j,f])}return[k,b.useCallback(b=>{if(j){let c="function"==typeof b?b(a):b;c!==a&&i.current?.(c)}else h(b)},[j,a,h,i])]}Symbol("RADIX:SYNC_STATE"),a.s(["useControllableState",()=>e],76837)},42175,a=>{"use strict";var b=a.i(67651);function c(a){let c=b.useRef(a);return b.useEffect(()=>{c.current=a}),b.useMemo(()=>(...a)=>c.current?.(...a),[])}a.s(["useCallbackRef",()=>c])},62085,a=>{"use strict";var b,c=a.i(67651),d=a.i(72521),e=a.i(25239),f=a.i(26040),g=a.i(42175),h=a.i(29555),i="dismissableLayer.update",j=c.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),k=c.forwardRef((a,k)=>{let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:o,onPointerDownOutside:p,onFocusOutside:q,onInteractOutside:r,onDismiss:s,...t}=a,u=c.useContext(j),[v,w]=c.useState(null),x=v?.ownerDocument??globalThis?.document,[,y]=c.useState({}),z=(0,f.useComposedRefs)(k,a=>w(a)),A=Array.from(u.layers),[B]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),C=A.indexOf(B),D=v?A.indexOf(v):-1,E=u.layersWithOutsidePointerEventsDisabled.size>0,F=D>=C,G=function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a),e=c.useRef(!1),f=c.useRef(()=>{});return c.useEffect(()=>{let a=a=>{if(a.target&&!e.current){let c=function(){m("dismissableLayer.pointerDownOutside",d,e,{discrete:!0})},e={originalEvent:a};"touch"===a.pointerType?(b.removeEventListener("click",f.current),f.current=c,b.addEventListener("click",f.current,{once:!0})):c()}else b.removeEventListener("click",f.current);e.current=!1},c=window.setTimeout(()=>{b.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(c),b.removeEventListener("pointerdown",a),b.removeEventListener("click",f.current)}},[b,d]),{onPointerDownCapture:()=>e.current=!0}}(a=>{let b=a.target,c=[...u.branches].some(a=>a.contains(b));F&&!c&&(p?.(a),r?.(a),a.defaultPrevented||s?.())},x),H=function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a),e=c.useRef(!1);return c.useEffect(()=>{let a=a=>{a.target&&!e.current&&m("dismissableLayer.focusOutside",d,{originalEvent:a},{discrete:!1})};return b.addEventListener("focusin",a),()=>b.removeEventListener("focusin",a)},[b,d]),{onFocusCapture:()=>e.current=!0,onBlurCapture:()=>e.current=!1}}(a=>{let b=a.target;![...u.branches].some(a=>a.contains(b))&&(q?.(a),r?.(a),a.defaultPrevented||s?.())},x);return!function(a,b=globalThis?.document){let d=(0,g.useCallbackRef)(a);c.useEffect(()=>{let a=a=>{"Escape"===a.key&&d(a)};return b.addEventListener("keydown",a,{capture:!0}),()=>b.removeEventListener("keydown",a,{capture:!0})},[d,b])}(a=>{D===u.layers.size-1&&(o?.(a),!a.defaultPrevented&&s&&(a.preventDefault(),s()))},x),c.useEffect(()=>{if(v)return n&&(0===u.layersWithOutsidePointerEventsDisabled.size&&(b=x.body.style.pointerEvents,x.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(v)),u.layers.add(v),l(),()=>{n&&1===u.layersWithOutsidePointerEventsDisabled.size&&(x.body.style.pointerEvents=b)}},[v,x,n,u]),c.useEffect(()=>()=>{v&&(u.layers.delete(v),u.layersWithOutsidePointerEventsDisabled.delete(v),l())},[v,u]),c.useEffect(()=>{let a=()=>y({});return document.addEventListener(i,a),()=>document.removeEventListener(i,a)},[]),(0,h.jsx)(e.Primitive.div,{...t,ref:z,style:{pointerEvents:E?F?"auto":"none":void 0,...a.style},onFocusCapture:(0,d.composeEventHandlers)(a.onFocusCapture,H.onFocusCapture),onBlurCapture:(0,d.composeEventHandlers)(a.onBlurCapture,H.onBlurCapture),onPointerDownCapture:(0,d.composeEventHandlers)(a.onPointerDownCapture,G.onPointerDownCapture)})});function l(){let a=new CustomEvent(i);document.dispatchEvent(a)}function m(a,b,c,{discrete:d}){let f=c.originalEvent.target,g=new CustomEvent(a,{bubbles:!1,cancelable:!0,detail:c});b&&f.addEventListener(a,b,{once:!0}),d?(0,e.dispatchDiscreteCustomEvent)(f,g):f.dispatchEvent(g)}k.displayName="DismissableLayer",c.forwardRef((a,b)=>{let d=c.useContext(j),g=c.useRef(null),i=(0,f.useComposedRefs)(b,g);return c.useEffect(()=>{let a=g.current;if(a)return d.branches.add(a),()=>{d.branches.delete(a)}},[d.branches]),(0,h.jsx)(e.Primitive.div,{...a,ref:i})}).displayName="DismissableLayerBranch",a.s(["DismissableLayer",()=>k],62085)},9096,a=>{"use strict";var b=a.i(67651),c=a.i(7986),d=a.i(25239),e=a.i(39807),f=a.i(29555),g=b.forwardRef((a,g)=>{let{container:h,...i}=a,[j,k]=b.useState(!1);(0,e.useLayoutEffect)(()=>k(!0),[]);let l=h||j&&globalThis?.document?.body;return l?c.default.createPortal((0,f.jsx)(d.Primitive.div,{...i,ref:g}),l):null});g.displayName="Portal",a.s(["Portal",()=>g])},19341,a=>{"use strict";var b=a.i(67651),c=a.i(26040),d=a.i(39807),e=a=>{var e;let g,h,{present:i,children:j}=a,k=function(a){var c,e;let[g,h]=b.useState(),i=b.useRef(null),j=b.useRef(a),k=b.useRef("none"),[l,m]=(c=a?"mounted":"unmounted",e={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},b.useReducer((a,b)=>e[a][b]??a,c));return b.useEffect(()=>{let a=f(i.current);k.current="mounted"===l?a:"none"},[l]),(0,d.useLayoutEffect)(()=>{let b=i.current,c=j.current;if(c!==a){let d=k.current,e=f(b);a?m("MOUNT"):"none"===e||b?.display==="none"?m("UNMOUNT"):c&&d!==e?m("ANIMATION_OUT"):m("UNMOUNT"),j.current=a}},[a,m]),(0,d.useLayoutEffect)(()=>{if(g){let a,b=g.ownerDocument.defaultView??window,c=c=>{let d=f(i.current).includes(CSS.escape(c.animationName));if(c.target===g&&d&&(m("ANIMATION_END"),!j.current)){let c=g.style.animationFillMode;g.style.animationFillMode="forwards",a=b.setTimeout(()=>{"forwards"===g.style.animationFillMode&&(g.style.animationFillMode=c)})}},d=a=>{a.target===g&&(k.current=f(i.current))};return g.addEventListener("animationstart",d),g.addEventListener("animationcancel",c),g.addEventListener("animationend",c),()=>{b.clearTimeout(a),g.removeEventListener("animationstart",d),g.removeEventListener("animationcancel",c),g.removeEventListener("animationend",c)}}m("ANIMATION_END")},[g,m]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:b.useCallback(a=>{i.current=a?getComputedStyle(a):null,h(a)},[])}}(i),l="function"==typeof j?j({present:k.isPresent}):b.Children.only(j),m=(0,c.useComposedRefs)(k.ref,(e=l,(h=(g=Object.getOwnPropertyDescriptor(e.props,"ref")?.get)&&"isReactWarning"in g&&g.isReactWarning)?e.ref:(h=(g=Object.getOwnPropertyDescriptor(e,"ref")?.get)&&"isReactWarning"in g&&g.isReactWarning)?e.props.ref:e.props.ref||e.ref));return"function"==typeof j||k.isPresent?b.cloneElement(l,{ref:m}):null};function f(a){return a?.animationName||"none"}e.displayName="Presence",a.s(["Presence",()=>e])}];
2
-
3
- //# sourceMappingURL=_ba4460f0._.js.map