@weppy/roblox-mcp 2.6.4 → 2.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/CHANGELOG.md +24 -0
  3. package/README.md +22 -11
  4. package/install.ps1 +85 -19
  5. package/install.sh +60 -15
  6. package/llms-full.txt +1 -2
  7. package/llms.txt +4 -3
  8. package/package.json +1 -1
  9. package/plugins/weppy-roblox-mcp/.claude-plugin/plugin.json +1 -1
  10. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{ChangelogDetailPage-DYQthxhC.js → ChangelogDetailPage-DxktONbL.js} +1 -1
  11. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ChangelogPage-CNxAGfwG.css +1 -0
  12. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ChangelogPage-DOY-SmWM.js +1 -0
  13. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{ConfirmModal-CM3ElkBC.js → ConfirmModal-CmJCz5rg.js} +1 -1
  14. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{ConnectionPage-DdKcJZt6.js → ConnectionPage-BiiIQs7f.js} +1 -1
  15. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{GameChangeDetail-DGphCFbI.js → GameChangeDetail-D1kE2L_v.js} +1 -1
  16. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{InfoLabel-CMSu30c4.js → InfoLabel-B9KT3kfU.js} +1 -1
  17. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{OverviewPage-DM74adCU.js → OverviewPage-T2WCTHpo.js} +1 -1
  18. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/PlaytestPage-CW8Xfp6b.js +11 -0
  19. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/SettingsPage-Cc9Wnj8M.css +1 -0
  20. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/SettingsPage-DcUt5qjG.js +1 -0
  21. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{StatusBadge-BhRLY0yK.js → StatusBadge-Bxe88ki2.js} +1 -1
  22. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{SyncPage-Col3nhBp.js → SyncPage-C09YF6D5.js} +1 -1
  23. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/Tabs-876h0_zB.css +1 -0
  24. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/Tabs-BNtOqYlc.js +1 -0
  25. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/TierComparison-Dyf-knpe.js +1 -0
  26. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ToolsPage-B3fMk-22.css +1 -0
  27. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ToolsPage-HKbmsKMQ.js +1 -0
  28. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{TooltipText-Bnvm1FcC.js → TooltipText-Baw38jOU.js} +1 -1
  29. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/UiStudioPage-Cbgl7xIC.js +16 -0
  30. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/UiStudioPage-DQOd5VrU.css +1 -0
  31. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{WhatsNewPage-M1EeHSH-.js → WhatsNewPage-BlOSWgSn.js} +1 -1
  32. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/index-FfT2oWAB.js +343 -0
  33. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/index-Gu7et1DX.css +1 -0
  34. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/sample-requests-Bx1zpYdG.css +1 -0
  35. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/sample-requests-X_hsWdLX.js +1 -0
  36. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ui-studio-sample-DrNTD6yi.png +0 -0
  37. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/{useLiveUptime-Dc2iJiFi.js → useLiveUptime-DhJz484L.js} +1 -1
  38. package/plugins/weppy-roblox-mcp/dashboard/dist/index.html +2 -2
  39. package/plugins/weppy-roblox-mcp/dist/index.js +450 -85
  40. package/plugins/weppy-roblox-mcp/roblox-plugin/WeppyRobloxMCP.rbxm +0 -0
  41. package/.gitattributes +0 -1
  42. package/.github/ISSUE_TEMPLATE/bug_report.yml +0 -60
  43. package/.github/ISSUE_TEMPLATE/feature_request.yml +0 -30
  44. package/.github/ISSUE_TEMPLATE/install_help.yml +0 -48
  45. package/.github/PULL_REQUEST_TEMPLATE.md +0 -16
  46. package/.github/workflows/install-test.yml +0 -140
  47. package/Dockerfile +0 -13
  48. package/docs/assets/screenshots/antigravity/antigravity_mcp_raw.png +0 -0
  49. package/docs/assets/screenshots/antigravity/antigravity_mcp_services_menu.png +0 -0
  50. package/docs/assets/screenshots/antigravity/antigravity_raw_config_menu.png +0 -0
  51. package/docs/assets/screenshots/dashboard/dashboard_changelog1.png +0 -0
  52. package/docs/assets/screenshots/dashboard/dashboard_changelog2.png +0 -0
  53. package/docs/assets/screenshots/dashboard/dashboard_connection.png +0 -0
  54. package/docs/assets/screenshots/dashboard/dashboard_overview.png +0 -0
  55. package/docs/assets/screenshots/dashboard/dashboard_playtest.png +0 -0
  56. package/docs/assets/screenshots/dashboard/dashboard_sync.png +0 -0
  57. package/docs/assets/screenshots/dashboard/dashboard_tools.png +0 -0
  58. package/docs/assets/screenshots/plugin/connection/connection-guide.png +0 -0
  59. package/docs/assets/screenshots/plugin/installation/main-screen.png +0 -0
  60. package/docs/assets/screenshots/plugin/installation/plugins-menu.png +0 -0
  61. package/docs/assets/screenshots/plugin/installation/settings-screen.png +0 -0
  62. package/docs/assets/screenshots/plugin/installation/toolbar-button.png +0 -0
  63. package/docs/assets/screenshots/plugin/license/dashboard-license-screen.png +0 -0
  64. package/docs/assets/screenshots/plugin/license/plugin-license-screen.png +0 -0
  65. package/docs/assets/screenshots/plugin/sync/sync-conflict.png +0 -0
  66. package/docs/assets/screenshots/plugin/sync/sync-main.png +0 -0
  67. package/docs/assets/screenshots/plugin/sync/sync-overview.png +0 -0
  68. package/docs/assets/screenshots/roblox-explorer/roblox-explorer-property-window.png +0 -0
  69. package/docs/assets/screenshots/roblox-explorer/roblox-explorer-screen.png +0 -0
  70. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ChangelogPage-BH87M2hn.css +0 -1
  71. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ChangelogPage-WFqQ5h8e.js +0 -1
  72. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/PlaytestPage-Dq3kV_rX.js +0 -11
  73. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/SettingsPage-DTv0NbEY.css +0 -1
  74. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/SettingsPage-QQd8aPdd.js +0 -1
  75. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/TierComparison-CYfIb0tr.js +0 -1
  76. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ToolsPage-54vIMfZg.css +0 -1
  77. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/ToolsPage-Ba_6GnUZ.js +0 -1
  78. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/index-B-nqZCE3.js +0 -380
  79. package/plugins/weppy-roblox-mcp/dashboard/dist/assets/index-COXUWuq2.css +0 -1
package/.gitattributes DELETED
@@ -1 +0,0 @@
1
- plugins/weppy-roblox-mcp/dist/index.js -linguist-generated -linguist-vendored
@@ -1,60 +0,0 @@
1
- name: Bug Report
2
- description: Something isn't working correctly
3
- labels: ["bug"]
4
- body:
5
- - type: markdown
6
- attributes:
7
- value: |
8
- Before reporting, check [Troubleshooting](https://weppyai.com/en/docs/troubleshooting/)
9
- and [Discussions](https://github.com/hope1026/weppy-roblox-mcp/discussions).
10
- - type: input
11
- id: os
12
- attributes:
13
- label: OS
14
- placeholder: "macOS 14 / Windows 11"
15
- validations:
16
- required: true
17
- - type: input
18
- id: node
19
- attributes:
20
- label: Node.js version
21
- placeholder: "node --version output"
22
- validations:
23
- required: true
24
- - type: input
25
- id: ai-client
26
- attributes:
27
- label: AI client
28
- placeholder: "Claude Code 1.x / Cursor 0.4x / Codex CLI"
29
- validations:
30
- required: true
31
- - type: input
32
- id: plugin-version
33
- attributes:
34
- label: Plugin / MCP server version
35
- placeholder: "v1.3.1"
36
- validations:
37
- required: true
38
- - type: textarea
39
- id: steps
40
- attributes:
41
- label: Steps to reproduce
42
- validations:
43
- required: true
44
- - type: textarea
45
- id: expected
46
- attributes:
47
- label: Expected behavior
48
- validations:
49
- required: true
50
- - type: textarea
51
- id: actual
52
- attributes:
53
- label: Actual behavior
54
- validations:
55
- required: true
56
- - type: textarea
57
- id: logs
58
- attributes:
59
- label: Logs (if any)
60
- render: shell
@@ -1,30 +0,0 @@
1
- name: Feature Request
2
- description: Suggest a new feature or improvement
3
- labels: ["enhancement"]
4
- body:
5
- - type: textarea
6
- id: problem
7
- attributes:
8
- label: What problem does this solve?
9
- placeholder: "e.g. I can't easily do X with the current tools"
10
- validations:
11
- required: true
12
- - type: textarea
13
- id: solution
14
- attributes:
15
- label: Proposed solution
16
- validations:
17
- required: true
18
- - type: dropdown
19
- id: tier
20
- attributes:
21
- label: Which tier would this apply to?
22
- options:
23
- - Basic
24
- - Pro
25
- - Both
26
- - Not sure
27
- - type: textarea
28
- id: context
29
- attributes:
30
- label: Additional context
@@ -1,48 +0,0 @@
1
- name: Install Help
2
- description: Having trouble installing or connecting
3
- labels: ["question", "installation"]
4
- body:
5
- - type: markdown
6
- attributes:
7
- value: |
8
- **First:** check the [Installation Guide](https://github.com/hope1026/weppy-roblox-mcp/blob/main/docs/en/installation/README.md)
9
- and [Troubleshooting](https://github.com/hope1026/weppy-roblox-mcp/blob/main/docs/en/troubleshooting.md).
10
- For general questions, use [Discussions](https://github.com/hope1026/weppy-roblox-mcp/discussions) instead.
11
- - type: dropdown
12
- id: ai-client
13
- attributes:
14
- label: AI client
15
- options:
16
- - Claude Code
17
- - Claude Desktop
18
- - Cursor
19
- - Codex CLI
20
- - Gemini CLI
21
- - Other
22
- validations:
23
- required: true
24
- - type: input
25
- id: os
26
- attributes:
27
- label: OS
28
- placeholder: "macOS 14 / Windows 11"
29
- validations:
30
- required: true
31
- - type: input
32
- id: node
33
- attributes:
34
- label: Node.js version
35
- placeholder: "node --version output"
36
- validations:
37
- required: true
38
- - type: textarea
39
- id: issue
40
- attributes:
41
- label: What's happening?
42
- placeholder: "Describe the problem and any error messages"
43
- validations:
44
- required: true
45
- - type: textarea
46
- id: tried
47
- attributes:
48
- label: What have you tried?
@@ -1,16 +0,0 @@
1
- ## What does this PR do?
2
-
3
- <!-- Brief description of the change -->
4
-
5
- ## Type of change
6
-
7
- - [ ] Documentation improvement
8
- - [ ] Example prompt or cookbook addition
9
- - [ ] Bug fix
10
- - [ ] Other
11
-
12
- ## Checklist
13
-
14
- - [ ] I've read [CONTRIBUTING.md](../CONTRIBUTING.md)
15
- - [ ] Changes are limited to docs or examples (plugin source is not in this repo)
16
- - [ ] Links and paths are correct
@@ -1,140 +0,0 @@
1
- name: Install Script E2E Test
2
-
3
- on:
4
- push:
5
- branches: [main]
6
- workflow_dispatch:
7
-
8
- jobs:
9
- test-bash:
10
- name: E2E — install.sh (ubuntu)
11
- runs-on: ubuntu-latest
12
- steps:
13
- - uses: actions/checkout@v4
14
-
15
- - uses: actions/setup-node@v4
16
- with:
17
- node-version: '24'
18
-
19
- - name: Install Claude Code CLI (app detection용)
20
- run: npm install -g @anthropic-ai/claude-code
21
-
22
- - name: Pre-seed Codex config (force is_codex_config_configured node path)
23
- run: |
24
- mkdir -p "$HOME/.codex"
25
- cat > "$HOME/.codex/config.toml" <<'EOF'
26
- [mcp_servers.dummy-server]
27
- command = "echo"
28
- args = ["hello"]
29
- EOF
30
-
31
- - name: Run install.sh (CI mode, pipe — simulates curl | bash)
32
- env:
33
- CI: true
34
- run: |
35
- cat install.sh | bash 2>&1 | tee install-output.log
36
- if grep -q 'SyntaxError' install-output.log; then
37
- echo "❌ SyntaxError detected in install output"
38
- exit 1
39
- fi
40
-
41
- - name: Verify — plugin file exists
42
- run: |
43
- PLUGIN_PATH="$HOME/Documents/Roblox/Plugins/WeppyRobloxMCP.rbxm"
44
- if [ ! -f "$PLUGIN_PATH" ]; then
45
- echo "❌ Plugin not found: $PLUGIN_PATH"
46
- exit 1
47
- fi
48
- echo "✓ Plugin found: $PLUGIN_PATH"
49
-
50
- - name: Verify — Claude Code config registered
51
- run: |
52
- result=$(claude mcp list 2>&1)
53
- if ! echo "$result" | grep -q 'weppy-roblox-mcp'; then
54
- echo "❌ weppy-roblox-mcp not found in claude mcp list"
55
- echo "Output: $result"
56
- exit 1
57
- fi
58
- echo "✓ weppy-roblox-mcp registered"
59
-
60
- - name: Verify — Codex config registered
61
- run: |
62
- if ! grep -q '\[mcp_servers.weppy-roblox-mcp\]' "$HOME/.codex/config.toml"; then
63
- echo "❌ weppy-roblox-mcp not found in ~/.codex/config.toml"
64
- cat "$HOME/.codex/config.toml"
65
- exit 1
66
- fi
67
- echo "✓ weppy-roblox-mcp registered in Codex config"
68
-
69
- test-powershell:
70
- name: E2E — install.ps1 (windows)
71
- runs-on: windows-latest
72
- steps:
73
- - uses: actions/checkout@v4
74
-
75
- - uses: actions/setup-node@v4
76
- with:
77
- node-version: '24'
78
-
79
- - name: Install Claude Code CLI (app detection용)
80
- run: npm install -g @anthropic-ai/claude-code
81
-
82
- - name: Pre-seed Codex config (force Test-CodexConfigConfigured node path)
83
- shell: pwsh
84
- run: |
85
- $codexDir = Join-Path $env:USERPROFILE '.codex'
86
- New-Item -ItemType Directory -Path $codexDir -Force | Out-Null
87
- @'
88
- [mcp_servers.dummy-server]
89
- command = "echo"
90
- args = ["hello"]
91
- '@ | Set-Content -Path (Join-Path $codexDir 'config.toml') -Encoding UTF8
92
-
93
- - name: Run install.ps1 (CI mode, pipe — simulates irm | iex)
94
- env:
95
- CI: true
96
- shell: pwsh
97
- run: |
98
- $log = Join-Path $env:RUNNER_TEMP 'install-output.log'
99
- Get-Content install.ps1 -Raw | Invoke-Expression *>&1 | Tee-Object -FilePath $log
100
- if (Select-String -Path $log -Pattern 'SyntaxError' -Quiet) {
101
- Write-Error "❌ SyntaxError detected in install output"
102
- exit 1
103
- }
104
-
105
- - name: Verify — plugin file exists
106
- shell: pwsh
107
- run: |
108
- $pluginPath = Join-Path $env:LOCALAPPDATA "Roblox\Plugins\WeppyRobloxMCP.rbxm"
109
- if (-not (Test-Path $pluginPath)) {
110
- Write-Error "❌ Plugin not found: $pluginPath"
111
- exit 1
112
- }
113
- Write-Host "✓ Plugin found: $pluginPath"
114
-
115
- - name: Verify — Claude Code config registered
116
- shell: pwsh
117
- run: |
118
- # claude mcp add는 ~/.claude.json에, 폴백은 ~/.claude/mcp.json에 씁니다
119
- $found = $false
120
- @("$env:USERPROFILE\.claude.json", "$env:USERPROFILE\.claude\mcp.json") | ForEach-Object {
121
- if ((Test-Path $_) -and ((Get-Content $_ -Raw) -match 'weppy-roblox-mcp')) {
122
- $found = $true
123
- }
124
- }
125
- if (-not $found) {
126
- Write-Error "❌ weppy-roblox-mcp not found in claude config files"
127
- exit 1
128
- }
129
- Write-Host "✓ weppy-roblox-mcp registered"
130
-
131
- - name: Verify — Codex config registered
132
- shell: pwsh
133
- run: |
134
- $codexConfig = Join-Path $env:USERPROFILE '.codex\config.toml'
135
- if (-not ((Get-Content $codexConfig -Raw) -match '\[mcp_servers\.weppy-roblox-mcp\]')) {
136
- Write-Error "❌ weppy-roblox-mcp not found in ~/.codex/config.toml"
137
- Get-Content $codexConfig
138
- exit 1
139
- }
140
- Write-Host "✓ weppy-roblox-mcp registered in Codex config"
package/Dockerfile DELETED
@@ -1,13 +0,0 @@
1
- FROM node:20-bookworm-slim
2
-
3
- WORKDIR /app
4
-
5
- COPY package.json ./package.json
6
- COPY LICENSE ./LICENSE
7
- COPY README.md ./README.md
8
- COPY plugins/weppy-roblox-mcp/dist ./plugins/weppy-roblox-mcp/dist
9
-
10
- ENV NODE_ENV=production
11
-
12
- CMD ["node", "plugins/weppy-roblox-mcp/dist/index.js"]
13
-
@@ -1 +0,0 @@
1
- ._card_1n89u_2{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:14px 18px;cursor:pointer;transition:border-color var(--transition),box-shadow var(--transition)}._card_1n89u_2:hover{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent-dim)}._header_1n89u_17{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}._statusBadge_1n89u_24{display:flex;align-items:center;gap:6px;font-family:var(--font-label);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.05em}._statusDot_1n89u_35{width:7px;height:7px;border-radius:50%}._active_1n89u_41 ._statusDot_1n89u_35{background:var(--success);box-shadow:0 0 6px var(--success)}._active_1n89u_41{color:var(--success)}._completed_1n89u_50 ._statusDot_1n89u_35{background:var(--text-muted)}._completed_1n89u_50{color:var(--text-secondary)}._timeRange_1n89u_58{font-family:var(--font-code);font-size:11px;color:var(--text-secondary)}._summaryList_1n89u_65{display:flex;flex-direction:column;gap:4px}._summaryItem_1n89u_71{display:flex;align-items:center;gap:8px;font-family:var(--font-code);font-size:12px;color:var(--text-primary)}._summaryIcon_1n89u_80{width:20px;text-align:center;flex-shrink:0}._summaryText_1n89u_86{color:var(--text-secondary)}._progressBar_1n89u_91{margin-top:10px;height:3px;background:var(--bg-secondary);border-radius:2px;overflow:hidden}._progressFill_1n89u_99{height:100%;background:var(--accent);border-radius:2px;animation:_pulse_1n89u_1 2s ease-in-out infinite}@keyframes _pulse_1n89u_1{0%,to{opacity:.6;width:30%}50%{opacity:1;width:70%}}._emptySummary_1n89u_112{font-family:var(--font-label);font-size:12px;color:var(--text-muted);text-align:center;padding:8px 0}._contextBlock_1n89u_120{margin-top:12px;padding-top:12px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:4px}._contextLabel_1n89u_129{font-family:var(--font-label);font-size:10px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-muted)}._contextValue_1n89u_137{font-family:var(--font-label);font-size:12px;color:var(--text-primary);line-height:1.5}._page_1srvj_2{display:flex;flex-direction:column;gap:16px;max-width:700px}._limitNotice_1srvj_9{padding:14px 16px;border:1px solid var(--pro-border);border-radius:var(--radius);background:linear-gradient(180deg,rgba(240,189,88,.12),transparent 58%),var(--bg-card)}._limitNoticeTitle_1srvj_18{font-family:var(--font-label);font-size:12px;color:var(--pro-text);margin-bottom:6px}._limitNoticeText_1srvj_25{font-size:12px;color:var(--text-secondary);line-height:1.5}._headerRow_1srvj_31{display:flex;align-items:center;justify-content:space-between;gap:12px}._header_1srvj_31{font-family:var(--font-label);font-size:14px;font-weight:600;color:var(--text-primary);letter-spacing:.05em;text-transform:uppercase}._clearButton_1srvj_48{border:1px solid rgba(209,84,84,.5);background:#d154541f;color:#f4c1c1;border-radius:8px;padding:6px 12px;cursor:pointer}._headerSub_1srvj_57{font-size:11px;font-weight:400;color:var(--text-muted);text-transform:none;letter-spacing:0;margin-left:8px}._filterTabs_1srvj_67{display:flex;gap:2px;border-bottom:1px solid var(--border)}._filterTab_1srvj_67{font-family:var(--font-label);font-size:12px;font-weight:500;padding:8px 16px;background:none;border:none;border-bottom:2px solid transparent;color:var(--text-secondary);cursor:pointer;transition:color var(--transition),border-color var(--transition)}._filterTab_1srvj_67:hover{color:var(--text-primary)}._filterTabActive_1srvj_90{color:var(--accent);border-bottom-color:var(--accent)}._list_1srvj_96{display:flex;flex-direction:column;gap:10px}._empty_1srvj_103{text-align:center;padding:40px 20px;color:var(--text-muted);font-family:var(--font-label);font-size:13px}._loading_1srvj_112{text-align:center;padding:40px 20px;color:var(--text-secondary);font-family:var(--font-label);font-size:12px}._pagination_1srvj_121{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:4px}._pageInfo_1srvj_129{font-family:var(--font-code);font-size:12px;color:var(--text-secondary)}._btn_1srvj_135{font-family:var(--font-label);font-size:12px;padding:4px 12px;border-radius:4px;border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;transition:background var(--transition),border-color var(--transition)}._btn_1srvj_135:hover:not(:disabled){border-color:var(--accent);background:var(--accent-dim)}._btn_1srvj_135:disabled{opacity:.4;cursor:default}
@@ -1 +0,0 @@
1
- import{r,a as E,D as O,u as D,j as t,c as P,i as V,k as G}from"./index-B-nqZCE3.js";import{C as H}from"./ConfirmModal-CM3ElkBC.js";import{T as $}from"./TooltipText-Bnvm1FcC.js";const U=10;function Z(){const[s,m]=r.useState([]),[e,a]=r.useState(0),[h,p]=r.useState(!1),[i,f]=r.useState(!0),[l,_]=r.useState(0),[g,j]=r.useState("all"),v=r.useRef(null),o=r.useCallback(async(u,x)=>{f(!0);try{const N={limit:String(U),offset:String(u)};x!=="all"&&(N.status=x);const y=await E.get("/api/dashboard/changelog",N);m(y.entries),a(y.total),p(y.hasMore)}catch{m([]),a(0),p(!1)}finally{f(!1)}},[]),T=r.useCallback(()=>{o(l,g)},[o,l,g]),b=r.useCallback(async()=>{await E.post("/api/dashboard/changelog/clear"),m([]),a(0),p(!1)},[]);return r.useEffect(()=>{o(l,g)},[o,l,g]),r.useEffect(()=>{const u=new O;v.current=u,u.connect();const x=u.on("command",()=>{o(l,g)});return()=>{x(),u.disconnect(),v.current=null}},[o,l,g]),{entries:s,total:e,hasMore:h,loading:i,offset:l,statusFilter:g,setOffset:_,setStatusFilter:j,refresh:T,clear:b}}const q="_card_1n89u_2",z="_header_1n89u_17",J="_statusBadge_1n89u_24",K="_statusDot_1n89u_35",Q="_active_1n89u_41",W="_completed_1n89u_50",X="_timeRange_1n89u_58",Y="_summaryList_1n89u_65",ee="_summaryItem_1n89u_71",te="_summaryIcon_1n89u_80",se="_summaryText_1n89u_86",ae="_progressBar_1n89u_91",ne="_progressFill_1n89u_99",oe="_emptySummary_1n89u_112",ce="_contextBlock_1n89u_120",ie="_contextLabel_1n89u_129",re="_contextValue_1n89u_137",n={card:q,header:z,statusBadge:J,statusDot:K,active:Q,completed:W,timeRange:X,summaryList:Y,summaryItem:ee,summaryIcon:te,summaryText:se,progressBar:ae,progressFill:ne,emptySummary:oe,contextBlock:ce,contextLabel:ie,contextValue:re};function F(s){if(!s)return"--:--";const m=new Date(s);return`${String(m.getHours()).padStart(2,"0")}:${String(m.getMinutes()).padStart(2,"0")}`}function le({entry:s,onClick:m}){var N,y,I,k,B,L,w,A,M,R;const{t:e}=D(),a=s.changeSummary,h=s.status==="active",p=s.isBootstrapOnly===!0,i=[],f=a.scriptsModified+a.scriptsCreated;if(f>0){const d=[];a.scriptsModified>0&&d.push(`${a.scriptsModified} ${e("changelog.card.modified","modified")}`),a.scriptsCreated>0&&d.push(`${a.scriptsCreated} ${e("changelog.card.created","created")}`);const C=`${f} ${e("changelog.card.scripts","scripts")} ${d.join(", ")}`;i.push({icon:"📝",text:C,tooltip:e("changelog.card.scripts.tooltip","Script changes made in this session.")})}const l=a.instancesCreated+a.instancesDeleted+a.instancesMoved;if(l>0){const d=[];a.instancesCreated>0&&d.push(`${a.instancesCreated} ${e("changelog.card.created","created")}`),a.instancesDeleted>0&&d.push(`${a.instancesDeleted} ${e("changelog.card.deleted","deleted")}`),a.instancesMoved>0&&d.push(`${a.instancesMoved} ${e("changelog.card.moved","moved")}`);const C=`${l} ${e("changelog.card.instances","instances")} ${d.join(", ")}`;i.push({icon:"🧱",text:C,tooltip:e("changelog.card.instances.tooltip","Instance create, delete, move, or clone changes in this session.")})}a.propertiesChanged>0&&i.push({icon:"🎨",text:`${a.propertiesChanged} ${e("changelog.card.propertiesChanged","properties changed")}`,tooltip:e("changelog.card.propertiesChanged.tooltip","Property value changes recorded for this session.")}),a.lightingChanged&&i.push({icon:"🌅",text:e("changelog.card.lightingConfigured","Lighting configured"),tooltip:e("changelog.card.lightingConfigured.tooltip","Lighting or atmosphere settings changed in this session.")}),a.terrainChanged&&i.push({icon:"⛰️",text:e("changelog.card.terrainConfigured","Terrain configured"),tooltip:e("changelog.card.terrainConfigured.tooltip","Terrain data or terrain settings changed in this session.")}),a.assetsInserted>0&&i.push({icon:"📦",text:`${a.assetsInserted} ${e("changelog.card.assetsInserted","assets inserted")}`,tooltip:e("changelog.card.assetsInserted.tooltip","Assets inserted into the place during this session.")});const _=F(s.startTime),g=h?e("changelog.card.inProgress","in progress"):s.endTime?F(s.endTime):"--:--",j=p?e("changelog.card.bootstrapStatus","Bootstrap"):h?e("changelog.card.active","Active"):e("changelog.card.completed","Completed"),v=p?e("changelog.card.bootstrapStatus.tooltip","This session only contains the initial sync bootstrap snapshot."):h?e("changelog.card.active.tooltip","This session is still receiving new game changes."):e("changelog.card.completed.tooltip","This session has ended and no more changes are expected."),o=p?e("changelog.card.bootstrapSummary","Initial sync snapshot"):e("changelog.card.noChanges","No changes yet"),T=p?e("changelog.card.bootstrapSummary.tooltip","Initial file sync writes are collapsed into a single bootstrap snapshot row."):e("changelog.card.noChanges.tooltip","No game changes have been extracted for this session yet."),b=(y=(N=s.contextSummary)==null?void 0:N.intent)==null?void 0:y.trim(),u=((L=(B=(k=(I=s.contextSummary)==null?void 0:I.affectedAreas)==null?void 0:k[0])==null?void 0:B.label)==null?void 0:L.trim())||((A=(w=s.contextSummary)==null?void 0:w.testScenario)==null?void 0:A.trim()),x=(R=(M=s.verificationSummary)==null?void 0:M.label)==null?void 0:R.trim();return t.jsxs("div",{className:n.card,onClick:m,children:[t.jsxs("div",{className:n.header,children:[t.jsx($,{text:v,children:t.jsxs("span",{className:`${n.statusBadge} ${h?n.active:n.completed}`,children:[t.jsx("span",{className:n.statusDot}),j]})}),t.jsxs("span",{className:n.timeRange,children:[_,"~",g]})]}),t.jsx("div",{className:n.summaryList,children:i.length>0?i.map((d,C)=>t.jsxs("div",{className:n.summaryItem,children:[t.jsx("span",{className:n.summaryIcon,children:d.icon}),t.jsx($,{text:d.tooltip,children:t.jsx("span",{className:n.summaryText,children:d.text})})]},C)):t.jsx($,{text:T,children:t.jsx("span",{className:n.emptySummary,style:{display:"block"},children:o})})}),b&&t.jsxs("div",{className:n.contextBlock,children:[t.jsx("span",{className:n.contextLabel,children:e("changelog.card.sessionIntent","Session intent")}),t.jsx("span",{className:n.contextValue,children:b})]}),!b&&u&&t.jsxs("div",{className:n.contextBlock,children:[t.jsx("span",{className:n.contextLabel,children:e("changelog.card.representativeArea","Representative area")}),t.jsx("span",{className:n.contextValue,children:u})]}),x&&t.jsxs("div",{className:n.contextBlock,children:[t.jsx("span",{className:n.contextLabel,children:e("changelog.card.verification","Verification")}),t.jsx("span",{className:n.contextValue,children:x})]}),h&&t.jsx("div",{className:n.progressBar,children:t.jsx("div",{className:n.progressFill})})]})}const de="_page_1srvj_2",ge="_limitNotice_1srvj_9",me="_limitNoticeTitle_1srvj_18",he="_limitNoticeText_1srvj_25",pe="_headerRow_1srvj_31",ue="_header_1srvj_31",fe="_clearButton_1srvj_48",_e="_headerSub_1srvj_57",xe="_filterTabs_1srvj_67",ve="_filterTab_1srvj_67",ye="_filterTabActive_1srvj_90",je="_list_1srvj_96",be="_empty_1srvj_103",Ne="_loading_1srvj_112",Ce="_pagination_1srvj_121",Se="_pageInfo_1srvj_129",Te="_btn_1srvj_135",c={page:de,limitNotice:ge,limitNoticeTitle:me,limitNoticeText:he,headerRow:pe,header:ue,clearButton:fe,headerSub:_e,filterTabs:xe,filterTab:ve,filterTabActive:ye,list:je,empty:be,loading:Ne,pagination:Ce,pageInfo:Se,btn:Te},S=10,$e=[{key:"all",label:"changelog.filter.all"},{key:"active",label:"changelog.filter.active"},{key:"completed",label:"changelog.filter.completed"}];function Le(){const{t:s}=D(),m=P(),e=Z(),a=V(),{show:h}=G(),[p,i]=r.useState(!1),[f,l]=r.useState(!1),_=!a.loading&&a.tier==="basic",g=_?e.entries.slice(0,3):e.entries,j=!_&&e.total>S,v=async()=>{l(!0);try{await e.clear(),h(s("toast.clearSuccess","Cleared successfully"),"success"),i(!1)}catch{h(s("toast.clearFailed","Failed to clear data"),"error")}finally{l(!1)}};return t.jsxs("div",{className:c.page,children:[t.jsxs("div",{className:c.headerRow,children:[t.jsxs("h2",{className:c.header,children:[s("sidebar.changelog","Changelog"),t.jsx("span",{className:c.headerSub,children:s("changelog.subtitle","Game Change History")})]}),t.jsx("button",{className:c.clearButton,onClick:()=>i(!0),children:s("common.clear","Clear")})]}),t.jsx("div",{className:c.filterTabs,children:$e.map(o=>t.jsx("button",{className:`${c.filterTab} ${e.statusFilter===o.key?c.filterTabActive:""}`,onClick:()=>{e.setStatusFilter(o.key),e.setOffset(0)},children:s(o.label,o.key.charAt(0).toUpperCase()+o.key.slice(1))},o.key))}),e.loading&&e.entries.length===0&&t.jsx("div",{className:c.loading,children:s("common.loading","Loading...")}),!e.loading&&e.entries.length===0?t.jsx("div",{className:c.empty,children:s("changelog.empty","No changelog entries yet")}):t.jsx("div",{className:c.list,children:g.map(o=>t.jsx(le,{entry:o,onClick:()=>m(`/changelog/${o.entryId}`)},o.entryId))}),j&&t.jsxs("div",{className:c.pagination,children:[t.jsx("button",{className:c.btn,disabled:e.offset===0,onClick:()=>e.setOffset(Math.max(0,e.offset-S)),children:s("tools.page.prev","Prev")}),t.jsxs("span",{className:c.pageInfo,children:[e.offset+1,"–",Math.min(e.offset+S,e.total)," / ",e.total]}),t.jsx("button",{className:c.btn,disabled:!e.hasMore,onClick:()=>e.setOffset(e.offset+S),children:s("tools.page.next","Next")})]}),_&&t.jsx(t.Fragment,{children:t.jsxs("div",{className:c.limitNotice,children:[t.jsx("div",{className:c.limitNoticeTitle,children:s("changelog.basic.limit.title","Basic preview shows the latest 3 sessions")}),t.jsx("div",{className:c.limitNoticeText,children:s("changelog.basic.limit.body","Upgrade to Pro to browse the full changelog timeline for this place.")})]})}),t.jsx(H,{open:p,title:s("changelog.clear.title","Clear changelog?"),message:s("changelog.clear.message","This permanently removes the stored changelog for the current place."),cancelLabel:s("common.cancel","Cancel"),confirmLabel:s("common.clear","Clear"),loading:f,onCancel:()=>!f&&i(!1),onConfirm:v})]})}export{Le as Component};
@@ -1,11 +0,0 @@
1
- import{r as n,a as v,u as S,j as e,i as A,k as H,n as D}from"./index-B-nqZCE3.js";import{D as E,T as U}from"./TierComparison-CYfIb0tr.js";import{I as P}from"./InfoLabel-CMSu30c4.js";import{T as x}from"./TooltipText-Bnvm1FcC.js";import{C as $}from"./ConfirmModal-CM3ElkBC.js";const O=5e3;function F(t){const o=(t==null?void 0:t.enabled)??!0,[d,r]=n.useState([]),[a,i]=n.useState(null),[m,l]=n.useState(o),c=n.useRef(null),p=n.useCallback(async()=>{try{const _=await v.get("/api/dashboard/playtest/history");r(_.entries??[])}catch{}},[]),u=n.useCallback(async()=>{if(!o){l(!1);return}await p(),l(!1)},[o,p]),y=n.useCallback(async()=>{o&&(await v.post("/api/dashboard/playtest/history/clear"),r([]),i(null))},[o]),w=n.useCallback(async _=>{if(o)try{const g=await v.get(`/api/dashboard/playtest/report/${_}`);i(g)}catch{i(null)}},[o]);return n.useEffect(()=>{if(!o){l(!1);return}return u(),c.current=setInterval(u,O),()=>{c.current&&clearInterval(c.current)}},[o,u]),{history:d,selectedReport:a,loading:m,loadReport:w,clearHistory:y}}function W(t){const o="2026-03-27T15:26:00.000Z",d={testScenario:t("playtest.sample.context.why","Spawn into the arena, survive the opener, and verify the HUD responds immediately."),expectedBehavior:t("playtest.sample.context.expected","The player spawns safely, the countdown UI appears within one second, and the first wave starts without errors."),observedBehavior:t("playtest.sample.context.observed","Spawn protection held, the HUD updated on time, and wave one completed with no gameplay regressions.")};return{history:[{timestamp:o,testName:t("playtest.sample.history.name","Sample Arena Smoke Test"),mode:"play",status:"passed",durationMs:4820,contextId:"sample_playtest_preview",contextSummary:d}],report:{markdown:t("playtest.sample.report.markdown",`# Sample Arena Smoke Test
2
-
3
- - Spawn flow: PASS
4
- - HUD countdown: PASS
5
- - Wave bootstrap: PASS
6
-
7
- This is a sample preview. Upgrade to Pro to save and review real automated playtest reports.`),logs:t("playtest.sample.report.logs",`[sample] boot playtest preview
8
- [sample] spawn protection active
9
- [sample] hud countdown rendered
10
- [sample] wave one completed
11
- [sample] preview report finished`),contextId:"sample_playtest_preview",contextSummary:d}}}const V="_page_wjm6d_2",Y="_sampleBanner_wjm6d_9",z="_sampleBannerRow_wjm6d_21",G="_sampleBannerMain_wjm6d_28",Z="_sampleBadge_wjm6d_35",q="_sampleTitle_wjm6d_50",J="_sampleMessage_wjm6d_57",K="_sampleActions_wjm6d_64",Q="_primaryAction_wjm6d_72",X="_secondaryAction_wjm6d_73",ee="_card_wjm6d_109",te="_cardHeader_wjm6d_116",se="_clearButton_wjm6d_128",ae="_statusRow_wjm6d_143",oe="_statusIndicator_wjm6d_150",re="_statusRunning_wjm6d_158",ne="_statusPaused_wjm6d_163",le="_statusNotRunning_wjm6d_167",ie="_statusLabel_wjm6d_171",ce="_statusMeta_wjm6d_178",de="_controlButtons_wjm6d_184",me="_btn_wjm6d_191",pe="_btnPrimary_wjm6d_213",ue="_btnDanger_wjm6d_223",he="_historyList_wjm6d_233",ye="_historyItem_wjm6d_241",_e="_historyItemSelected_wjm6d_260",xe="_historyItemHeader_wjm6d_265",je="_historyIcon_wjm6d_271",we="_historyTimestamp_wjm6d_276",ge="_historyName_wjm6d_283",ve="_historyItemMeta_wjm6d_293",Se="_historyMode_wjm6d_302",fe="_historyDuration_wjm6d_306",be="_historyStatus_wjm6d_310",Ne="_status_passed_wjm6d_317",Ce="_status_failed_wjm6d_321",Le="_status_running_wjm6d_325",Ie="_historyError_wjm6d_329",Pe="_historyContext_wjm6d_339",Re="_historyContextLine_wjm6d_348",Be="_historyContextLabel_wjm6d_354",Te="_reportContainer_wjm6d_363",Me="_reportContextPanel_wjm6d_369",ke="_reportContextRow_wjm6d_379",Ae="_reportContextLabel_wjm6d_387",He="_reportSection_wjm6d_395",De="_reportSectionHeader_wjm6d_401",Ee="_reportMarkdown_wjm6d_413",Ue="_reportLogs_wjm6d_426",$e="_emptyState_wjm6d_441",Oe="_emptyStateTitle_wjm6d_448",Fe="_emptyStateMessage_wjm6d_456",We="_upgradePanel_wjm6d_465",Ve="_upgradePanelIcon_wjm6d_473",Ye="_upgradePanelTitle_wjm6d_478",ze="_upgradePanelDesc_wjm6d_486",Ge="_benefitList_wjm6d_496",Ze="_benefitItem_wjm6d_507",qe="_upgradeActions_wjm6d_522",s={page:V,sampleBanner:Y,sampleBannerRow:z,sampleBannerMain:G,sampleBadge:Z,sampleTitle:q,sampleMessage:J,sampleActions:K,primaryAction:Q,secondaryAction:X,card:ee,cardHeader:te,clearButton:se,statusRow:ae,statusIndicator:oe,statusRunning:re,statusPaused:ne,statusNotRunning:le,statusLabel:ie,statusMeta:ce,controlButtons:de,btn:me,btnPrimary:pe,btnDanger:ue,historyList:he,historyItem:ye,historyItemSelected:_e,historyItemHeader:xe,historyIcon:je,historyTimestamp:we,historyName:ge,historyItemMeta:ve,historyMode:Se,historyDuration:fe,historyStatus:be,status_passed:Ne,status_failed:Ce,status_running:Le,historyError:Ie,historyContext:Pe,historyContextLine:Re,historyContextLabel:Be,reportContainer:Te,reportContextPanel:Me,reportContextRow:ke,reportContextLabel:Ae,reportSection:He,reportSectionHeader:De,reportMarkdown:Ee,reportLogs:Ue,emptyState:$e,emptyStateTitle:Oe,emptyStateMessage:Fe,upgradePanel:We,upgradePanelIcon:Ve,upgradePanelTitle:Ye,upgradePanelDesc:ze,benefitList:Ge,benefitItem:Ze,upgradeActions:qe};function j(t){return t.trim().toLowerCase()}function Je(t){switch(j(t)){case"passed":return"✅";case"failed":return"❌";case"running":return"⏱";default:return"❓"}}function Ke(t,o){switch(j(o)){case"run":return t("playtest.status.mode.run","Run");case"server":return t("playtest.status.mode.server","Server");case"edit":return t("playtest.status.mode.edit","Edit");case"play":return t("playtest.status.mode.play","Play");default:return o}}function Qe(t,o){switch(j(o)){case"passed":return t("playtest.history.status.passed","Passed");case"failed":return t("playtest.history.status.failed","Failed");case"running":return t("playtest.history.status.running","Running");default:return t("playtest.history.status.unknown","Unknown")}}function Xe(t){return t<1e3?`${t}ms`:`${(t/1e3).toFixed(1)}s`}function et({entries:t,onSelect:o,selectedTimestamp:d}){const{t:r}=S();return t.length===0?e.jsx("div",{className:s.emptyState,children:r("playtest.history.empty","No test results yet")}):e.jsx("div",{className:s.historyList,children:t.map(a=>{var m,l,c,p,u,y;const i=a.timestamp===d;return e.jsxs("button",{className:`${s.historyItem} ${i?s.historyItemSelected:""}`,onClick:()=>o(a.timestamp),children:[e.jsxs("div",{className:s.historyItemHeader,children:[e.jsx("span",{className:s.historyIcon,children:Je(a.status)}),e.jsx("span",{className:s.historyTimestamp,children:a.timestamp}),e.jsx("span",{className:s.historyName,children:a.testName})]}),e.jsxs("div",{className:s.historyItemMeta,children:[e.jsx(x,{text:r("playtest.history.mode.tooltip","Playtest mode used for this recorded test run."),children:e.jsxs("span",{className:s.historyMode,children:[r("playtest.history.mode","Mode"),": ",Ke(r,a.mode)]})}),e.jsx("span",{className:s.historyDuration,children:Xe(a.durationMs)}),e.jsx(x,{text:r("playtest.history.status.tooltip","Recorded result state for this automated playtest run."),children:e.jsx("span",{className:`${s.historyStatus} ${s[`status_${j(a.status)}`]??""}`,children:Qe(r,a.status)})})]}),a.errorMessage&&e.jsx("div",{className:s.historyError,children:a.errorMessage}),(a.contextId||((m=a.contextSummary)==null?void 0:m.testScenario)||((l=a.contextSummary)==null?void 0:l.expectedBehavior)||((c=a.contextSummary)==null?void 0:c.observedBehavior))&&e.jsxs("div",{className:s.historyContext,children:[a.contextId&&e.jsxs("div",{className:s.historyContextLine,children:[e.jsx("span",{className:s.historyContextLabel,children:r("playtest.context.contextId","Context ID")}),e.jsx("span",{children:a.contextId})]}),((p=a.contextSummary)==null?void 0:p.testScenario)&&e.jsxs("div",{className:s.historyContextLine,children:[e.jsx("span",{className:s.historyContextLabel,children:r("playtest.context.why","Why this test ran")}),e.jsx("span",{children:a.contextSummary.testScenario})]}),((u=a.contextSummary)==null?void 0:u.expectedBehavior)&&e.jsxs("div",{className:s.historyContextLine,children:[e.jsx("span",{className:s.historyContextLabel,children:r("playtest.context.expected","Expected")}),e.jsx("span",{children:a.contextSummary.expectedBehavior})]}),((y=a.contextSummary)==null?void 0:y.observedBehavior)&&e.jsxs("div",{className:s.historyContextLine,children:[e.jsx("span",{className:s.historyContextLabel,children:r("playtest.context.observed","Observed")}),e.jsx("span",{children:a.contextSummary.observedBehavior})]})]})]},a.timestamp)})})}function tt({report:t}){var r,a,i,m,l,c;const{t:o}=S(),d=!!((r=t.contextSummary)!=null&&r.testScenario||(a=t.contextSummary)!=null&&a.expectedBehavior||(i=t.contextSummary)!=null&&i.observedBehavior);return e.jsxs("div",{className:s.reportContainer,children:[d&&e.jsxs("div",{className:s.reportContextPanel,children:[((m=t.contextSummary)==null?void 0:m.testScenario)&&e.jsxs("div",{className:s.reportContextRow,children:[e.jsx("span",{className:s.reportContextLabel,children:o("playtest.context.why","Why this test ran")}),e.jsx("span",{children:t.contextSummary.testScenario})]}),((l=t.contextSummary)==null?void 0:l.expectedBehavior)&&e.jsxs("div",{className:s.reportContextRow,children:[e.jsx("span",{className:s.reportContextLabel,children:o("playtest.context.expected","Expected")}),e.jsx("span",{children:t.contextSummary.expectedBehavior})]}),((c=t.contextSummary)==null?void 0:c.observedBehavior)&&e.jsxs("div",{className:s.reportContextRow,children:[e.jsx("span",{className:s.reportContextLabel,children:o("playtest.context.observed","Observed")}),e.jsx("span",{children:t.contextSummary.observedBehavior})]})]}),t.markdown&&e.jsxs("div",{className:s.reportSection,children:[e.jsx("div",{className:s.reportSectionHeader,children:e.jsx(x,{text:o("playtest.report.content.tooltip","Markdown summary for the selected automated playtest run."),children:e.jsx("span",{children:o("playtest.report.content","Report")})})}),e.jsx("pre",{className:s.reportMarkdown,children:t.markdown})]}),t.logs&&e.jsxs("div",{className:s.reportSection,children:[e.jsx("div",{className:s.reportSectionHeader,children:e.jsx(x,{text:o("playtest.report.logs.tooltip","Execution logs captured for the selected automated playtest run."),children:e.jsx("span",{children:o("playtest.report.logs","Logs")})})}),e.jsx("pre",{className:s.reportLogs,children:t.logs})]}),!t.markdown&&!t.logs&&e.jsx("div",{className:s.emptyState,children:o("playtest.report.empty","No report content available")})]})}function lt(){var L;const{t}=S(),{tier:o,loading:d}=A(),r=!d&&o==="basic",a=F({enabled:!r}),{show:i}=H(),[m,l]=n.useState(null),[c,p]=n.useState(!1),[u,y]=n.useState(!1),[w,_]=n.useState(!1),{history:g,selectedReport:R,loading:B}=a,h=r?W(t):null,f=((L=h==null?void 0:h.history[0])==null?void 0:L.timestamp)??null,b=r?m??f:m,N=(h==null?void 0:h.history)??g,C=h&&b===f?h.report:R,T=r?!1:B,M=I=>{l(I),!r&&a.loadReport(I)},k=async()=>{y(!0);try{await a.clearHistory(),i(t("toast.clearSuccess","Cleared successfully"),"success"),p(!1),l(null)}catch{i(t("toast.clearFailed","Failed to clear data"),"error")}finally{y(!1)}};return e.jsxs("div",{className:s.page,children:[r&&e.jsxs("div",{className:s.sampleBanner,children:[e.jsxs("div",{className:s.sampleBannerRow,children:[e.jsxs("div",{className:s.sampleBannerMain,children:[e.jsx("div",{className:s.sampleBadge,children:t("playtest.sample.badge","Preview of the Pro playtest view")}),e.jsx("div",{className:s.sampleTitle,children:t("playtest.sample.title","You are previewing the report viewer that becomes available after upgrading to Pro.")}),e.jsx("div",{className:s.sampleMessage,children:t("playtest.sample.message","This preview uses sample data. Real playtest history management and stored reports unlock with Pro.")})]}),e.jsxs("div",{className:s.sampleActions,children:[e.jsx("button",{className:s.secondaryAction,onClick:()=>_(!0),children:t("tier.compare","Basic vs Pro")}),e.jsx("a",{className:s.primaryAction,href:D.playtest,target:"_blank",rel:"noreferrer",children:t("tier.upgrade","Upgrade to Pro")})]})]}),e.jsx(E,{variant:"centered"})]}),e.jsxs("div",{className:s.card,children:[e.jsxs("div",{className:s.cardHeader,children:[e.jsx(P,{label:t("playtest.history.title","Test History"),tooltip:t("playtest.history.title.tooltip","Recorded automated playtest runs for this project.")}),r?e.jsx(x,{text:t("playtest.sample.clearDisabled","Upgrade to Pro to clear live playtest history."),children:e.jsx("span",{children:e.jsx("button",{className:s.clearButton,disabled:!0,children:t("common.clear","Clear")})})}):e.jsx("button",{className:s.clearButton,onClick:()=>p(!0),children:t("common.clear","Clear")})]}),T?e.jsx("div",{className:s.emptyState,children:t("common.loading","Loading...")}):N.length===0?e.jsxs("div",{className:s.emptyState,children:[e.jsx("div",{className:s.emptyStateTitle,children:t("playtest.empty.title","No playtest results yet")}),e.jsxs("div",{className:s.emptyStateMessage,children:[t("playtest.empty.message.before","Test results will appear here when the AI agent runs automated tests via")," ",e.jsx(x,{text:t("playtest.empty.runTest.tooltip","WEPPY Dashboard automation entry point that runs Roblox playtest checks through the system_info tool."),children:e.jsx("span",{children:"system_info.run_test"})}),t("playtest.empty.message.after",".")]})]}):e.jsx(et,{entries:N,onSelect:M,selectedTimestamp:b??void 0})]}),C&&e.jsxs("div",{className:s.card,children:[e.jsx("div",{className:s.cardHeader,children:e.jsx(P,{label:t("playtest.report.title","Selected Report"),tooltip:t("playtest.report.title.tooltip","Detailed output for the currently selected automated playtest run.")})}),e.jsx(tt,{report:C})]}),!r&&e.jsx($,{open:c,title:t("playtest.clear.title","Clear test history?"),message:t("playtest.clear.message","This permanently removes the stored playtest reports for the current place."),cancelLabel:t("common.cancel","Cancel"),confirmLabel:t("common.clear","Clear"),loading:u,onCancel:()=>!u&&p(!1),onConfirm:k}),w&&e.jsx(U,{onClose:()=>_(!1)})]})}export{lt as Component};
@@ -1 +0,0 @@
1
- ._page_vbvzx_2{display:flex;flex-direction:column;gap:16px;max-width:820px}._card_vbvzx_10{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:16px 20px}._licenseCardPro_vbvzx_17{border-color:var(--pro-border);background:linear-gradient(180deg,var(--pro-bg-soft),transparent 28%),var(--bg-card);box-shadow:inset 0 1px #f3d46b2e,0 0 0 1px #8f6f1f24}._cardHeader_vbvzx_28{font-family:var(--font-label);font-weight:500;font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:var(--text-secondary);margin-bottom:12px;display:flex;align-items:center;justify-content:space-between}._headerBadge_vbvzx_42{font-size:10px;font-weight:400;padding:2px 8px;border-radius:4px;border:1px solid var(--border);color:var(--text-muted);text-transform:none;letter-spacing:0}._headerBadgeLive_vbvzx_53{color:var(--success);border-color:var(--success)}._licenseGrid_vbvzx_59{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-family:var(--font-code);font-size:13px}._licenseGrid_vbvzx_59 dt{color:var(--text-muted)}._licenseGrid_vbvzx_59 dd{color:var(--text-primary);margin:0}._statusDot_vbvzx_77{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:middle}._statusActive_vbvzx_86{background:var(--success);box-shadow:0 0 4px var(--success)}._statusGrace_vbvzx_91{background:var(--warning, #b7791f);box-shadow:0 0 4px color-mix(in srgb,var(--warning, #b7791f) 70%,transparent)}._statusInactive_vbvzx_96{background:var(--text-muted)}._statusError_vbvzx_100{background:var(--error)}._proBadge_vbvzx_105{color:var(--pro-badge);font-weight:500}._licenseCardPro_vbvzx_17 ._cardHeader_vbvzx_28 span:first-child{color:var(--pro-text)}._licenseCardPro_vbvzx_17 ._licenseGrid_vbvzx_59 dt{color:var(--pro-badge)}._upgradeLink_vbvzx_119{display:inline-block;margin-top:8px;font-family:var(--font-label);font-size:12px;color:var(--accent);cursor:pointer;text-decoration:underline}._upgradeLink_vbvzx_119:hover{opacity:.8}._licenseControls_vbvzx_133{display:flex;flex-direction:column;gap:10px;margin-top:14px;padding-top:14px;border-top:1px solid var(--border)}._licenseControlRow_vbvzx_142{display:flex;align-items:flex-end;gap:12px;flex-wrap:wrap}._licenseField_vbvzx_149{display:flex;flex-direction:column;gap:6px}._licenseFieldGrow_vbvzx_155{flex:1;min-width:220px}._controlLabel_vbvzx_160{font-family:var(--font-label);font-size:12px;color:var(--text-primary)}._textInput_vbvzx_166{font-family:var(--font-code);font-size:12px;padding:6px 8px;border-radius:4px;border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-primary);outline:none;transition:border-color var(--transition)}._textInput_vbvzx_166:focus{border-color:var(--accent)}._actionBtn_vbvzx_182{font-family:var(--font-label);font-size:12px;padding:6px 14px;border-radius:4px;border:1px solid var(--accent);background:transparent;color:var(--accent);cursor:pointer;transition:background var(--transition),color var(--transition),opacity var(--transition)}._actionBtn_vbvzx_182:hover{background:var(--accent);color:var(--bg-primary)}._actionBtn_vbvzx_182:disabled{opacity:.5;cursor:not-allowed}._licenseMessage_vbvzx_204{margin:0;font-family:var(--font-code);font-size:12px;color:var(--text-secondary)}._licenseNotice_vbvzx_211{margin:12px 0 0;padding:10px 12px;border-radius:8px;border:1px solid var(--border);font-family:var(--font-label);font-size:12px;line-height:1.5}._licenseNoticeInfo_vbvzx_221{color:var(--text-primary);background:color-mix(in srgb,var(--accent) 8%,transparent);border-color:color-mix(in srgb,var(--accent) 28%,var(--border))}._licenseNoticeWarning_vbvzx_227{color:var(--text-primary);background:color-mix(in srgb,var(--warning, #b7791f) 12%,transparent);border-color:color-mix(in srgb,var(--warning, #b7791f) 34%,var(--border))}._licenseNoticeMuted_vbvzx_233{color:var(--text-secondary);background:var(--bg-secondary)}._settingRow_vbvzx_239{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px solid var(--border);font-size:13px}._settingRow_vbvzx_239:last-child{border-bottom:none}._settingLabel_vbvzx_253{font-family:var(--font-label);color:var(--text-primary);flex:1}._settingControl_vbvzx_260{display:flex;align-items:center;gap:8px;justify-content:flex-end;min-width:112px}._select_vbvzx_269{font-family:var(--font-code);font-size:12px;padding:4px 8px;border-radius:4px;border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;outline:none;transition:border-color var(--transition)}._select_vbvzx_269:focus{border-color:var(--accent)}._numberInput_vbvzx_287{font-family:var(--font-code);font-size:12px;padding:4px 8px;border-radius:4px;border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-primary);width:80px;outline:none;transition:border-color var(--transition)}._numberInput_vbvzx_287:focus{border-color:var(--accent)}._toggleSwitch_vbvzx_305{position:relative;display:inline-flex;align-items:center;cursor:pointer}._toggleInput_vbvzx_312{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}._toggleTrack_vbvzx_320{position:relative;display:inline-flex;align-items:center;width:46px;height:28px;padding:3px;border-radius:999px;border:1px solid color-mix(in srgb,var(--border) 82%,transparent);background:linear-gradient(180deg,#ffffff08,#fff0),color-mix(in srgb,var(--bg-secondary) 88%,#0b1220 12%);box-shadow:inset 0 1px #ffffff0d,inset 0 0 0 1px #070a122e;transition:background var(--transition),border-color var(--transition),box-shadow var(--transition),transform var(--transition)}._toggleThumb_vbvzx_342{width:20px;height:20px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#ffffffd1,#ffffff14 45%),linear-gradient(180deg,#f7fbff,#c8d4ea);box-shadow:0 4px 10px #00000047,inset 0 1px #ffffffa6;transform:translate(0);transition:transform var(--transition),background var(--transition),box-shadow var(--transition)}._toggleInput_vbvzx_312:focus-visible+._toggleTrack_vbvzx_320{border-color:color-mix(in srgb,var(--accent) 70%,white 8%);box-shadow:0 0 0 3px color-mix(in srgb,var(--accent) 24%,transparent),inset 0 1px #ffffff0d}._toggleInput_vbvzx_312:checked+._toggleTrack_vbvzx_320{border-color:color-mix(in srgb,var(--accent) 62%,white 6%);background:linear-gradient(180deg,color-mix(in srgb,var(--accent) 36%,white 4%),color-mix(in srgb,var(--accent) 78%,#1b2640 22%)),var(--accent);box-shadow:inset 0 1px #ffffff29,0 0 16px color-mix(in srgb,var(--accent) 22%,transparent)}._toggleInput_vbvzx_312:checked+._toggleTrack_vbvzx_320 ._toggleThumb_vbvzx_342{transform:translate(18px);background:radial-gradient(circle at 30% 30%,#ffffffeb,#ffffff1f 42%),linear-gradient(180deg,#fff,#d8e5ff)}._toggleSwitch_vbvzx_305:hover ._toggleTrack_vbvzx_320{border-color:color-mix(in srgb,var(--accent) 38%,var(--border))}._toggleSwitch_vbvzx_305:hover ._toggleInput_vbvzx_312:checked+._toggleTrack_vbvzx_320{box-shadow:inset 0 1px #ffffff29,0 0 20px color-mix(in srgb,var(--accent) 28%,transparent)}._savedIndicator_vbvzx_391{font-family:var(--font-code);font-size:11px;color:var(--success);opacity:1;min-width:56px;text-align:right;white-space:nowrap;transition:opacity .3s ease}._savedIndicatorHidden_vbvzx_402{opacity:0}._coldGrid_vbvzx_407{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;font-family:var(--font-code);font-size:13px}._coldGrid_vbvzx_407 dt{color:var(--text-muted)}._coldGrid_vbvzx_407 dd{color:var(--text-primary);margin:0}._coldHint_vbvzx_425{margin-top:10px;font-family:var(--font-label);font-size:12px;color:var(--text-muted);font-style:italic}._langRow_vbvzx_434{display:flex;align-items:center;gap:12px;font-size:13px}._langRow_vbvzx_434 label{font-family:var(--font-label);color:var(--text-primary)}._loading_vbvzx_447{color:var(--text-muted);font-family:var(--font-code);font-size:13px;padding:32px 0;text-align:center}._unit_vbvzx_456{font-family:var(--font-code);font-size:11px;color:var(--text-muted)}
@@ -1 +0,0 @@
1
- import{d as w,r,f as z,D as B,e as H,g as O,h as D,a as R,u as M,j as e,A as $,S as G}from"./index-B-nqZCE3.js";import{I as c}from"./InfoLabel-CMSu30c4.js";import{T as x}from"./TooltipText-Bnvm1FcC.js";function W(){const{level:t}=w(),[l,L]=r.useState(null),[u,a]=r.useState(null),[S,v]=r.useState(!1),[b,P]=r.useState(!0),[A,_]=r.useState(!1),[k,m]=r.useState(null),g="gumroad",h=t==="disconnected",p=r.useCallback(n=>{n&&a(o=>({...o,...n,maskedKey:n.maskedKey??(o==null?void 0:o.maskedKey),provider:n.provider??(o==null?void 0:o.provider)??g}))},[g]),f=r.useCallback(n=>{if(!n){a(null);return}a({...n,provider:n.provider??g})},[g]),N=r.useCallback(async()=>{try{return await z(g)}catch{return null}},[g]);r.useEffect(()=>{let n=!1;async function o(){try{const[d,T]=await Promise.all([R.get("/api/dashboard/settings").catch(()=>null),N()]);if(n)return;d&&L(d),T&&p(T)}catch{}finally{n||P(!1)}}return o(),()=>{n=!0}},[N,p]),r.useEffect(()=>{const n=new B;n.connect();const o=n.on("license",d=>{N().then(T=>{if(T){if((d==null?void 0:d.cleared)===!0){f(T);return}p(T)}})});return()=>{o(),n.disconnect()}},[N,p,f]);const j=r.useCallback((n,o)=>{m(n??o)},[]),E=r.useCallback(async n=>{if(h)return!1;if(!n.trim())return m("License key is required."),!1;_(!0);try{const o=await H({provider:g,licenseKey:n.trim()});return p(o.license),j(o.message,o.ok?"License updated.":"License activation failed."),o.ok}catch{return m("License activation failed."),!1}finally{_(!1)}},[j,h,g,p]),y=r.useCallback(async()=>{if(!h){_(!0);try{const n=await O({provider:g});p(n.license),j(n.message,n.ok?"License updated.":"License refresh failed.")}catch{m("License refresh failed.")}finally{_(!1)}}},[j,h,g,p]),C=r.useCallback(async()=>{if(!h){_(!0);try{const n=await D({provider:g});f(n.license),j(n.message,n.ok?"License reset.":"License reset failed.")}catch{m("License reset failed.")}finally{_(!1)}}},[j,h,g,f]),i=r.useCallback(async(n,o)=>{if(l){L(d=>d&&{...d,hot:{...d.hot,[n]:o}}),v(!0);try{await R.patch("/api/dashboard/settings",{[n]:o})}catch{L(d=>d&&{...d,hot:{...d.hot,[n]:l.hot[n]}})}finally{v(!1)}}},[l]);return{settings:l,license:u,saving:S,licenseProvider:g,licenseControlsDisabled:h,licenseSubmitting:A,licenseMessage:k,activateLicense:E,refreshLicense:y,resetLicense:C,updateHotSetting:i,loading:b}}const Y="_page_vbvzx_2",F="_card_vbvzx_10",q="_licenseCardPro_vbvzx_17",U="_cardHeader_vbvzx_28",K="_headerBadge_vbvzx_42",V="_headerBadgeLive_vbvzx_53",Q="_licenseGrid_vbvzx_59",X="_statusDot_vbvzx_77",J="_statusActive_vbvzx_86",Z="_statusGrace_vbvzx_91",ee="_statusInactive_vbvzx_96",te="_statusError_vbvzx_100",se="_proBadge_vbvzx_105",ie="_upgradeLink_vbvzx_119",ne="_licenseControls_vbvzx_133",ae="_licenseControlRow_vbvzx_142",le="_licenseField_vbvzx_149",oe="_licenseFieldGrow_vbvzx_155",ce="_controlLabel_vbvzx_160",re="_textInput_vbvzx_166",de="_actionBtn_vbvzx_182",ge="_licenseMessage_vbvzx_204",ue="_licenseNotice_vbvzx_211",he="_licenseNoticeInfo_vbvzx_221",ve="_licenseNoticeWarning_vbvzx_227",pe="_licenseNoticeMuted_vbvzx_233",be="_settingRow_vbvzx_239",xe="_settingLabel_vbvzx_253",_e="_settingControl_vbvzx_260",me="_select_vbvzx_269",je="_numberInput_vbvzx_287",Le="_toggleSwitch_vbvzx_305",fe="_toggleInput_vbvzx_312",Ne="_toggleTrack_vbvzx_320",Ce="_toggleThumb_vbvzx_342",Te="_savedIndicator_vbvzx_391",Pe="_savedIndicatorHidden_vbvzx_402",Ee="_coldGrid_vbvzx_407",ye="_coldHint_vbvzx_425",Se="_langRow_vbvzx_434",Ae="_loading_vbvzx_447",ke="_unit_vbvzx_456",s={page:Y,card:F,licenseCardPro:q,cardHeader:U,headerBadge:K,headerBadgeLive:V,licenseGrid:Q,statusDot:X,statusActive:J,statusGrace:Z,statusInactive:ee,statusError:te,proBadge:se,upgradeLink:ie,licenseControls:ne,licenseControlRow:ae,licenseField:le,licenseFieldGrow:oe,controlLabel:ce,textInput:re,actionBtn:de,licenseMessage:ge,licenseNotice:ue,licenseNoticeInfo:he,licenseNoticeWarning:ve,licenseNoticeMuted:pe,settingRow:be,settingLabel:xe,settingControl:_e,select:me,numberInput:je,toggleSwitch:Le,toggleInput:fe,toggleTrack:Ne,toggleThumb:Ce,savedIndicator:Te,savedIndicatorHidden:Pe,coldGrid:Ee,coldHint:ye,langRow:Se,loading:Ae,unit:ke},Ie={en:"English",ko:"한국어",es:"Español","pt-br":"Português (BR)",ja:"日本語",id:"Bahasa Indonesia",de:"Deutsch"},Re=["debug","info","warn","error"];function we(t){return t==="active"?s.statusActive:t==="grace"?s.statusGrace:t==="invalid"||t==="revoked"?s.statusError:s.statusInactive}function ze(t,l){return t.refreshBlockedReason==="missing_session_token"?{label:l("settings.license.status.activationRequired","Activation Required"),tooltip:l("settings.license.status.activationRequired.tooltip","Manual license activation is required before WEPPY Dashboard can refresh this status."),detail:l("settings.license.detail.missingSessionToken","Refresh is blocked because the current session token is missing."),detailTone:s.licenseNoticeWarning}:t.statusDetail==="active_cancel_pending"?{label:l("settings.license.active","Active"),tooltip:l("settings.license.status.activeCancelPending.tooltip","Cancellation is pending, but Pro access remains active until the current billing period ends."),detail:l("settings.license.detail.cancelPending","Cancellation is scheduled. Pro access remains active until the current billing period ends."),detailTone:s.licenseNoticeInfo}:t.statusDetail==="grace_provider_unavailable"?{label:l("settings.license.status.grace","Grace"),tooltip:l("settings.license.status.grace.tooltip","Provider verification is temporarily unavailable, but Pro access remains active during the grace period."),detail:l("settings.license.detail.graceProviderUnavailable","Provider unavailable. Pro access remains active during grace mode."),detailTone:s.licenseNoticeInfo}:t.statusDetail==="grace_expired"||t.statusDetail==="grace_payment_failed"?{label:l("settings.license.status.grace","Grace"),tooltip:l("settings.license.status.graceBilling.tooltip","Pro access is still available during a billing-related grace period."),detail:l("settings.license.detail.graceBilling","Pro access remains available during a billing grace period."),detailTone:s.licenseNoticeInfo}:{label:l(`settings.license.${t.status}`,t.status),tooltip:l(`settings.license.${t.status}.tooltip`,"Current license activation state."),detail:t.refreshRequired?l("settings.license.detail.refreshRecommended","License verification should be refreshed soon."):null,detailTone:s.licenseNoticeMuted}}function I({checked:t,onChange:l,testId:L,ariaLabel:u}){return e.jsxs("label",{className:s.toggleSwitch,"data-testid":L,children:[e.jsx("input",{type:"checkbox",className:s.toggleInput,checked:t,"aria-label":u,onChange:a=>l(a.target.checked)}),e.jsx("span",{className:s.toggleTrack,"aria-hidden":"true",children:e.jsx("span",{className:s.toggleThumb})})]})}function De(){const{t,selectedLocale:l,setLocale:L}=M(),{settings:u,license:a,licenseProvider:S,licenseControlsDisabled:v,licenseSubmitting:b,licenseMessage:P,activateLicense:A,refreshLicense:_,resetLicense:k,updateHotSetting:m,loading:g}=W(),[h,p]=r.useState(null),[f,N]=r.useState(""),j=a?ze(a,t):null,E=(a==null?void 0:a.tier)==="pro",y=(a==null?void 0:a.tier)==="pro"?a.maskedKey:void 0,C=r.useCallback(async(i,n)=>{await m(i,n),p(i),setTimeout(()=>p(o=>o===i?null:o),2e3)},[m]);return g?e.jsx("div",{className:s.page,children:e.jsx("div",{className:s.loading,children:t("common.loading")})}):e.jsxs("div",{className:s.page,children:[e.jsxs("div",{"data-testid":"settings-license-card",className:[s.card,(a==null?void 0:a.tier)==="pro"?s.licenseCardPro:""].filter(Boolean).join(" "),children:[e.jsxs("div",{className:s.cardHeader,children:[e.jsx(c,{label:t("settings.license.title","License"),tooltip:t("settings.license.title.tooltip","Current license status and subscription tier.")}),e.jsx(x,{text:v?t("settings.license.disconnected.tooltip","Reconnect to the MCP server to manage license actions from WEPPY Dashboard."):t("settings.license.live.tooltip","License actions are sent to the MCP server immediately."),children:e.jsx("span",{className:`${s.headerBadge} ${v?"":s.headerBadgeLive}`,children:v?t("settings.license.disconnected","Disconnected"):t("settings.general.liveApply","Live Apply")})})]}),e.jsxs(e.Fragment,{children:[a?e.jsxs(e.Fragment,{children:[(()=>{const i=j;return e.jsxs(e.Fragment,{children:[e.jsxs("dl",{className:s.licenseGrid,children:[e.jsx("dt",{children:e.jsx(c,{label:t("settings.license.status","Status"),tooltip:t("settings.license.status.tooltip","Current license activation state.")})}),e.jsxs("dd",{children:[e.jsx("span",{className:`${s.statusDot} ${we(a.status)}`}),e.jsx(x,{text:(i==null?void 0:i.tooltip)??t(`settings.license.${a.status}.tooltip`,"Current license activation state."),children:(i==null?void 0:i.label)??t(`settings.license.${a.status}`,a.status)})]}),e.jsx("dt",{children:e.jsx(c,{label:t("settings.license.tier","Tier"),tooltip:t("settings.license.tier.tooltip","Current subscription tier for available WEPPY Dashboard features.")})}),e.jsx("dd",{className:a.tier==="pro"?s.proBadge:"",children:e.jsx(x,{text:t(`tier.${a.tier}.tooltip`,"Available feature set for the connected license."),children:a.tier==="pro"?t("tier.pro","Pro"):t("tier.basic","Basic")})}),y&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{children:e.jsx(c,{label:t("settings.license.key","Key"),tooltip:t("settings.license.key.tooltip","Masked license key currently loaded by the server.")})}),e.jsx("dd",{children:e.jsx(x,{text:t("settings.license.keyValue.tooltip","Masked license key currently loaded by the server."),children:y})})]}),a.provider&&e.jsxs(e.Fragment,{children:[e.jsx("dt",{children:e.jsx(c,{label:t("settings.license.provider","Provider"),tooltip:t("settings.license.provider.tooltip","License provider used to validate this key.")})}),e.jsx("dd",{children:e.jsx(x,{text:t("settings.license.providerValue.tooltip","License provider used to validate this key."),children:a.provider})})]})]}),(i==null?void 0:i.detail)&&e.jsx("p",{className:`${s.licenseNotice} ${i.detailTone}`,children:a.refreshBlockedReason==="missing_session_token"?t("settings.license.detail.manualActivation","Manual activation required to restore Pro access."):i.detail}),a.refreshBlockedReason==="missing_session_token"&&e.jsx("p",{className:`${s.licenseNotice} ${s.licenseNoticeMuted}`,children:i==null?void 0:i.detail})]})})(),a.tier==="basic"&&e.jsx("a",{className:s.upgradeLink,href:"https://gum.co/u/din5in7h",target:"_blank",rel:"noopener noreferrer",children:t("tier.upgrade")})]}):e.jsx("div",{className:s.loading,children:t("settings.license.unavailable")}),e.jsxs("div",{className:s.licenseControls,children:[e.jsxs("div",{className:s.licenseControlRow,children:[e.jsxs("label",{className:s.licenseField,children:[e.jsx("span",{className:s.controlLabel,children:e.jsx(c,{label:t("settings.license.provider","Provider"),tooltip:t("settings.license.provider.tooltip","License provider used to validate this key.")})}),e.jsx("select",{"aria-label":t("settings.license.provider","Provider"),className:s.select,value:S,disabled:v||b,onChange:()=>{},children:e.jsx("option",{value:"gumroad",children:"gumroad"})})]}),e.jsx("button",{type:"button",className:s.actionBtn,disabled:v||b||!E,onClick:()=>{_()},children:b?t("common.loading"):t("settings.license.refresh","Refresh License")}),e.jsx("button",{type:"button",className:s.actionBtn,disabled:v||b||!E,onClick:()=>{k()},children:b?t("common.loading"):t("settings.license.reset","Reset License")})]}),e.jsxs("div",{className:s.licenseControlRow,children:[e.jsxs("label",{className:`${s.licenseField} ${s.licenseFieldGrow}`,children:[e.jsx("span",{className:s.controlLabel,children:e.jsx(c,{label:t("settings.license.keyInput","License Key"),tooltip:t("settings.license.key.tooltip","Masked license key currently loaded by the server.")})}),e.jsx("input",{"aria-label":t("settings.license.keyInput","License Key"),className:s.textInput,type:"text",value:f,disabled:v||b,onChange:i=>N(i.target.value)})]}),e.jsx("button",{type:"button",className:s.actionBtn,disabled:v||b,onClick:()=>{(async()=>await A(f)&&N(""))()},children:b?t("common.loading"):t("settings.license.activate","Activate License")})]}),P&&e.jsx("p",{className:s.licenseMessage,children:P})]})]})]}),e.jsxs("div",{className:s.card,children:[e.jsxs("div",{className:s.cardHeader,children:[e.jsx(c,{label:t("settings.general.title","General Settings"),tooltip:t("settings.general.title.tooltip","Hot settings that apply immediately when changed.")}),e.jsx(x,{text:t("settings.general.liveApply.tooltip","Changes in this section are applied immediately without a separate save button."),children:e.jsx("span",{className:`${s.headerBadge} ${s.headerBadgeLive}`,children:t("settings.general.liveApply","Live Apply")})})]}),u?e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:s.settingRow,children:[e.jsx("span",{className:s.settingLabel,children:e.jsx(c,{label:t("settings.general.logLevel","Log Level"),tooltip:t("settings.general.logLevel.tooltip","Sets how much detail WEPPY Dashboard writes to its logs.")})}),e.jsxs("div",{className:s.settingControl,children:[e.jsx("select",{className:s.select,value:u.hot.LOG_LEVEL,onChange:i=>C("LOG_LEVEL",i.target.value),children:Re.map(i=>e.jsx("option",{value:i,children:i},i))}),h==="LOG_LEVEL"&&e.jsx("span",{className:s.savedIndicator,children:t("settings.general.applied")})]})]}),e.jsxs("div",{className:s.settingRow,children:[e.jsx("span",{className:s.settingLabel,children:e.jsx(c,{label:t("settings.general.localHistory","Tool History Recording"),tooltip:t("settings.general.localHistory.tooltip","Stores local tool execution history for the WEPPY Dashboard history views.")})}),e.jsxs("div",{className:s.settingControl,children:[e.jsx("span",{className:`${s.savedIndicator} ${h==="ENABLE_LOCAL_HISTORY"?"":s.savedIndicatorHidden}`,children:t("settings.general.applied","Applied")}),e.jsx(I,{checked:u.hot.ENABLE_LOCAL_HISTORY,ariaLabel:t("settings.general.localHistory","Tool History Recording"),testId:"settings-toggle-enable-local-history",onChange:i=>C("ENABLE_LOCAL_HISTORY",i)})]})]}),e.jsxs("div",{className:s.settingRow,children:[e.jsx("span",{className:s.settingLabel,children:e.jsx(c,{label:t("settings.general.localStatistics","Tool Statistics Collection"),tooltip:t("settings.general.localStatistics.tooltip","Aggregates local usage statistics for WEPPY Dashboard reporting.")})}),e.jsxs("div",{className:s.settingControl,children:[e.jsx("span",{className:`${s.savedIndicator} ${h==="ENABLE_LOCAL_STATISTICS"?"":s.savedIndicatorHidden}`,children:t("settings.general.applied","Applied")}),e.jsx(I,{checked:u.hot.ENABLE_LOCAL_STATISTICS,ariaLabel:t("settings.general.localStatistics","Tool Statistics Collection"),testId:"settings-toggle-enable-local-statistics",onChange:i=>C("ENABLE_LOCAL_STATISTICS",i)})]})]}),e.jsxs("div",{className:s.settingRow,children:[e.jsx("span",{className:s.settingLabel,children:e.jsx(c,{label:t("settings.general.contextCapture","Context Capture"),tooltip:t("settings.general.contextCapture.tooltip","When enabled, WEPPY Dashboard records structured execution context for changelog and playtest views.")})}),e.jsxs("div",{className:s.settingControl,children:[e.jsx("span",{className:`${s.savedIndicator} ${h==="ENABLE_CONTEXT_CAPTURE"?"":s.savedIndicatorHidden}`,children:t("settings.general.applied","Applied")}),e.jsx(I,{checked:u.hot.ENABLE_CONTEXT_CAPTURE,ariaLabel:t("settings.general.contextCapture","Context Capture"),testId:"settings-toggle-enable-context-capture",onChange:i=>C("ENABLE_CONTEXT_CAPTURE",i)})]})]}),e.jsxs("div",{className:s.settingRow,children:[e.jsx("span",{className:s.settingLabel,children:e.jsx(c,{label:t("settings.general.requestTimeout","Request Timeout"),tooltip:t("settings.general.requestTimeout.tooltip","Maximum time WEPPY Dashboard waits for a request before it fails.")})}),e.jsxs("div",{className:s.settingControl,children:[e.jsx("input",{type:"number",className:s.numberInput,value:u.hot.REQUEST_TIMEOUT,min:1e3,max:12e4,step:1e3,onChange:i=>{const n=parseInt(i.target.value,10);isNaN(n)||C("REQUEST_TIMEOUT",n)}}),e.jsx(x,{text:t("settings.general.requestTimeout.unit.tooltip","Request timeout is measured in milliseconds."),children:e.jsx("span",{className:s.unit,children:t("settings.general.requestTimeout.unit","ms")})}),h==="REQUEST_TIMEOUT"&&e.jsx("span",{className:s.savedIndicator,children:t("settings.general.applied","Applied")})]})]})]}):e.jsx("div",{className:s.loading,children:t("settings.unavailable")})]}),e.jsxs("div",{className:s.card,children:[e.jsxs("div",{className:s.cardHeader,children:[e.jsx(c,{label:t("settings.cold.title","Server Environment"),tooltip:t("settings.cold.title.tooltip","Read-only server environment values loaded at startup.")}),e.jsx(x,{text:t("settings.readOnly.tooltip","This section shows values that cannot be edited from WEPPY Dashboard."),children:e.jsx("span",{className:s.headerBadge,children:t("settings.readOnly","Read-only")})})]}),u?e.jsxs(e.Fragment,{children:[e.jsxs("dl",{className:s.coldGrid,children:[e.jsx("dt",{children:e.jsx(c,{label:"HTTP_PORT",tooltip:t("settings.cold.httpPort.tooltip","Port number used by the MCP WEPPY Dashboard HTTP server.")})}),e.jsx("dd",{children:u.cold.HTTP_PORT}),e.jsx("dt",{children:e.jsx(c,{label:"HTTP_HOST",tooltip:t("settings.cold.httpHost.tooltip","Host interface that the MCP WEPPY Dashboard HTTP server binds to.")})}),e.jsx("dd",{children:u.cold.HTTP_HOST}),e.jsx("dt",{children:e.jsx(c,{label:"DASHBOARD_AUTO_OPEN",tooltip:t("settings.cold.dashboardAutoOpen.tooltip","Controls whether WEPPY Dashboard opens automatically in the browser when the server starts.")})}),e.jsx("dd",{children:e.jsx(x,{text:t("settings.cold.dashboardAutoOpen.value.tooltip","Current startup behavior for opening WEPPY Dashboard in a browser."),children:String(u.cold.DASHBOARD_AUTO_OPEN)})})]}),e.jsx("p",{className:s.coldHint,children:t("settings.cold.hint","Set via environment variables to change these values.")})]}):e.jsx("div",{className:s.loading,children:t("settings.unavailable")})]}),e.jsxs("div",{className:s.card,children:[e.jsx("div",{className:s.cardHeader,children:e.jsx(c,{label:t("settings.language.title","Language"),tooltip:t("settings.language.title.tooltip","Choose how the WEPPY Dashboard interface text is localized.")})}),e.jsxs("div",{className:s.langRow,children:[e.jsx("label",{children:e.jsx(c,{label:t("settings.language.dashboard","WEPPY Dashboard Language"),tooltip:t("settings.language.dashboard.tooltip","Overrides the WEPPY Dashboard language or follows the system language when set to Auto.")})}),e.jsxs("select",{className:s.select,value:l,onChange:i=>L(i.target.value),children:[e.jsx("option",{value:$,children:t("settings.language.auto","Auto")}),G.map(i=>e.jsx("option",{value:i,children:Ie[i]??i},i))]})]})]})]})}export{De as Component};
@@ -1 +0,0 @@
1
- import{u as o,o as l,j as e}from"./index-B-nqZCE3.js";const _=[{name:"query_instances",description:"Query Roblox instances: get, children, find child/descendant, wait for child, class info, search by name/class. [PRO] file_tree, project_structure, descendants, ancestors, search by property/tag.",basic:["get","children","find_child","find_descendant","wait_for_child","class_info","search_name","search_class"],pro:["search_property","search_tag","file_tree","project_structure","descendants","ancestors"]},{name:"mutate_instances",description:"Create, delete, clone, move, rename, or pivot instances. [PRO] create_tree, mass_create, mass_delete, mass_duplicate, smart_duplicate.",basic:["create","create_with_props","delete","clone","move","rename","pivot"],pro:["create_tree","mass_create","mass_delete","mass_duplicate","smart_duplicate"]},{name:"manage_properties",description:"Get/set properties, attributes, and tags on instances. [PRO] set_calculated, set_relative, mass_set, mass_get, modify_children.",basic:["get","set","get_all","set_multiple","get_attr","set_attr","get_all_attrs","delete_attr","add_tag","remove_tag","check_tag","get_tags","get_tagged"],pro:["set_calculated","set_relative","mass_set","mass_get","modify_children"]},{name:"manage_scripts",description:"Manage script source code: read, write, create, delete, edit lines, search. [PRO] replace across scripts.",basic:["get_source","set_source","create","delete","edit_replace","edit_insert","edit_delete","search","get_dependencies"],pro:["replace"]},{name:"manage_lighting",description:"[PRO] Configure environment: lighting, atmosphere, sky, terrain properties, time of day.",basic:[],pro:["lighting","atmosphere","sky","terrain_props","time"]},{name:"manage_selection",description:"Get, set, or clear selection. [PRO] context, details, add/remove items, watch changes.",basic:["get","set","clear","cached"],pro:["context","details","add","remove","watch"]},{name:"manage_camera",description:"Camera operations: get info, focus on instance/position, suggest view, capture Edit-mode viewport screenshot (Edit mode only; not usable during playtest).",basic:["info","focus_path","focus_position","suggest"],pro:["screenshot"]},{name:"manage_tween",description:"[PRO] Tween service: create, play, pause, cancel tweens for smooth animations.",basic:[],pro:["create","play","pause","cancel"]},{name:"manage_audio",description:"[PRO] Audio management: play, stop, pause, resume sounds. Set audio listener.",basic:[],pro:["play","stop","pause","resume","set_listener"]},{name:"manage_animation",description:"[PRO] Animation: load, play, stop animations. Get animation tracks from humanoid/controller.",basic:[],pro:["load","play","stop","get_tracks"]},{name:"manage_physics",description:"[PRO] Physics collision groups: register, set collidable between groups, list groups.",basic:[],pro:["register_group","set_collidable","get_groups"]},{name:"manage_effects",description:"[PRO] Particle effects: emit particles, clear all particles, toggle effect enabled state.",basic:[],pro:["emit","clear","toggle"]},{name:"manage_terrain",description:"[PRO] Terrain operations: fill shapes, clear regions, replace materials, manage colors, read/write voxels, generate procedural terrain, smooth terrain.",basic:[],pro:["fill_block","fill_ball","fill_cylinder","fill_wedge","clear_region","clear_bounds","replace_material","colors_get","colors_set","read_voxel","read_voxels","write_voxels","generate","smooth"]},{name:"spatial_query",description:"[PRO] Spatial queries: raycast, find ground, check placement, multi-raycast, scan area, find flat areas, find spawn positions, analyze walkable, spatial map, find empty space, get bounds, snap to grid, check collision.",basic:[],pro:["raycast","find_ground","check_placement","multi_raycast","scan_area","find_flat","find_spawn","analyze_walkable","spatial_map","find_space","bounds","snap_grid","collision"]},{name:"manage_assets",description:"[PRO] Asset management: insert models by ID, get asset info, search creator store, insert free models/packages, export selection.",basic:[],pro:["insert","info","search","search_insert","insert_free","insert_package","export"]},{name:"manage_sync",description:"[PRO] Project sync management: status, history, direction settings, read/write synced files.",basic:[],pro:["status_current_place","history","directions","read_file","write_file","progress"]},{name:"workspace_state",description:"[PRO] Workspace state: full sync, snapshot, recent changes, viewport info, clear history, metadata, scripts, selection info, clear cache.",basic:[],pro:["sync","snapshot","changes","viewport","clear_history","metadata","scripts","selection_info","clear_cache"]},{name:"manage_logs",description:"Output logs: get filtered logs, poll incrementally with sinceSeq cursor, clear buffer, get recent errors.",basic:["get","clear","errors"],pro:[]},{name:"system_info",description:"System info: ping, connection status, usage tier. [PRO] place info, services list, studio settings, playtest control, automated test runner.",basic:["ping","connection","usage"],pro:["place_info","services","studio_settings","play","stop","pause","resume","play_status","run_test"]},{name:"batch_execute",description:'[PRO] Execute multiple commands in a single batch. Each command is an object with "tool" name and "args". Commands execute sequentially; optionally continue on error.',basic:[],pro:["batch_execute"]},{name:"execute_luau",description:"[PRO] Execute arbitrary Luau code in Roblox Studio sandbox. Blocked services: HttpService, DataStoreService, MessagingService. Cannot access CoreGui/CorePackages.",basic:[],pro:["execute_luau"]}],u={proOnlyTools:13,mixedTools:7,totalBasicActions:51,totalProActions:107},g={tools:_,summary:u},y="_tag_1wj0q_2",h="_label_1wj0q_17",b="_code_1wj0q_22",x="_expiry_1wj0q_31",f="_inline_1wj0q_49",j="_centered_1wj0q_54",i={tag:y,label:h,code:b,expiry:x,inline:f,centered:j};function v({variant:c}){const{t:s}=o();return l()?e.jsxs("div",{className:`${i.tag} ${c==="centered"?i.centered:i.inline}`,children:[e.jsx("span",{className:i.label,children:s("tier.promo.discount.context","🎁 Gumroad 결제 시 할인코드 입력:")}),e.jsx("span",{className:i.code,children:s("tier.comparison.discount.code","WEPPY-MCP")}),e.jsx("span",{className:i.expiry,children:s("tier.comparison.discount.expiry","Valid until April 30")})]}):null}const k="_overlay_171mk_2",P="_modal_171mk_13",w="_summaryGrid_171mk_32",N="_summaryCard_171mk_39",C="_basicCard_171mk_45",R="_proCard_171mk_49",T="_cardTitle_171mk_54",O="_summarySection_171mk_70",S="_sectionTitle_171mk_78",B="_featureList_171mk_90",L="_summary_171mk_32",A="_statBasic_171mk_116",q="_statPro_171mk_120",M="_statMixed_171mk_124",E="_detailHeader_171mk_128",G="_tableWrap_171mk_137",$="_table_171mk_137",D="_toolName_171mk_165",W="_description_171mk_171",H="_actionList_171mk_176",z="_none_171mk_184",I="_discountBanner_171mk_189",F="_closeBtn_171mk_227",t={overlay:k,modal:P,summaryGrid:w,summaryCard:N,basicCard:C,proCard:R,cardTitle:T,summarySection:O,sectionTitle:S,featureList:B,summary:L,statBasic:A,statPro:q,statMixed:M,detailHeader:E,tableWrap:G,table:$,toolName:D,description:W,actionList:H,none:z,discountBanner:I,closeBtn:F};function V({onClose:c}){const{t:s}=o(),{tools:m,summary:n}=g,d=[{title:s("tier.comparison.basic.core","Core MCP workflow"),items:[s("tier.comparison.basic.core.item1","Script create/edit"),s("tier.comparison.basic.core.item2","Instance management"),s("tier.comparison.basic.core.item3","Property control"),s("tier.comparison.basic.core.item4","Selection and search"),s("tier.comparison.basic.core.item5","Tag management"),s("tier.comparison.basic.core.item6","Camera control"),s("tier.comparison.basic.core.item7","Log monitoring")]},{title:s("tier.comparison.basic.sync","Sync (Basic)"),items:[s("tier.comparison.basic.sync.item1","Studio to Local one-way sync"),s("tier.comparison.basic.sync.item2","Manual apply as default")]}],p=[{title:s("tier.comparison.pro.all","Everything in Basic, plus"),items:[]},{title:s("tier.comparison.pro.sync","Advanced Sync workflow"),items:[s("tier.comparison.pro.sync.item1","Per-type sync direction"),s("tier.comparison.pro.sync.item2","Per-type apply mode"),s("tier.comparison.pro.sync.item3","Bidirectional and reverse sync"),s("tier.comparison.pro.sync.item4","Full sync, resync, and push to Studio"),s("tier.comparison.pro.sync.item5","Multi-place sync")]},{title:s("tier.comparison.pro.playtest","Playtest control"),items:[s("tier.comparison.pro.playtest.item1","Play, stop, pause, and resume"),s("tier.comparison.pro.playtest.item2","Playtest state inspection"),s("tier.comparison.pro.playtest.item3","Automated test execution")]},{title:s("tier.comparison.pro.creation","Advanced creation workflow"),items:[s("tier.comparison.pro.creation.item1","Bulk operations"),s("tier.comparison.pro.creation.item2","Terrain generation"),s("tier.comparison.pro.creation.item3","Asset search and insert"),s("tier.comparison.pro.creation.item4","Raycast and spatial analysis"),s("tier.comparison.pro.creation.item5","Environment control")]}];return e.jsx("div",{className:t.overlay,onClick:c,children:e.jsxs("div",{className:t.modal,onClick:a=>a.stopPropagation(),children:[l()&&e.jsx("div",{className:t.discountBanner,children:e.jsx(v,{variant:"centered"})}),e.jsx("h2",{children:s("tier.compare")}),e.jsxs("div",{className:t.summaryGrid,children:[e.jsxs("section",{className:`${t.summaryCard} ${t.basicCard}`,children:[e.jsx("h3",{className:t.cardTitle,children:s("tier.basic")}),d.map(a=>e.jsxs("div",{className:t.summarySection,children:[e.jsx("div",{className:t.sectionTitle,children:a.title}),e.jsx("ul",{className:t.featureList,children:a.items.map(r=>e.jsx("li",{children:r},r))})]},a.title))]}),e.jsxs("section",{className:`${t.summaryCard} ${t.proCard}`,children:[e.jsx("h3",{className:t.cardTitle,children:s("tier.pro")}),p.map(a=>e.jsxs("div",{className:t.summarySection,children:[e.jsx("div",{className:t.sectionTitle,children:a.title}),a.items.length>0&&e.jsx("ul",{className:t.featureList,children:a.items.map(r=>e.jsx("li",{children:r},r))})]},a.title))]})]}),e.jsxs("div",{className:t.summary,children:[e.jsxs("span",{className:t.statBasic,children:["Basic: ",n.totalBasicActions," actions"]}),e.jsxs("span",{className:t.statPro,children:["Pro: ",n.totalProActions," actions"]}),e.jsxs("span",{className:t.statMixed,children:[n.mixedTools," mixed / ",n.proOnlyTools," pro-only"]})]}),e.jsx("div",{className:t.detailHeader,children:s("tier.comparison.detailTitle","Detailed Tool Catalog")}),e.jsx("div",{className:t.tableWrap,children:e.jsxs("table",{className:t.table,children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{children:s("tools.col.tool")}),e.jsx("th",{children:s("tier.comparison.description","Description")}),e.jsx("th",{children:s("tier.basic")}),e.jsx("th",{children:s("tier.pro")})]})}),e.jsx("tbody",{children:m.map(a=>e.jsxs("tr",{children:[e.jsx("td",{className:t.toolName,children:a.name}),e.jsx("td",{className:t.description,children:s(`tier.tool.${a.name}.desc`,a.description)}),e.jsx("td",{className:t.actionList,children:a.basic.length>0?a.basic.join(", "):e.jsx("span",{className:t.none,children:"—"})}),e.jsx("td",{className:t.actionList,children:a.pro.length>0?a.pro.join(", "):e.jsx("span",{className:t.none,children:"—"})})]},a.name))})]})}),e.jsx("button",{className:t.closeBtn,onClick:c,children:s("tier.comparison.close","Close")})]})})}export{v as D,V as T};
@@ -1 +0,0 @@
1
- ._wrapper_hzgda_2{overflow-x:auto}._table_hzgda_7{width:100%;border-collapse:collapse;font-family:var(--font-code);font-size:12px}._table_hzgda_7 th{text-align:left;color:var(--text-muted);font-weight:500;padding:6px 8px;border-bottom:1px solid var(--border);background:var(--bg-secondary);white-space:nowrap;-webkit-user-select:none;user-select:none}._table_hzgda_7 td{padding:6px 8px;color:var(--text-primary);border-bottom:1px solid var(--border-dim, rgba(255, 255, 255, .04))}._sortable_hzgda_32{cursor:pointer;transition:color var(--transition)}._sortable_hzgda_32:hover{color:var(--accent)}._sortArrow_hzgda_41{margin-left:4px;font-size:10px}._table_hzgda_7 tbody tr:hover td{background:var(--accent-dim)}._clickable_hzgda_52{cursor:pointer}._empty_hzgda_57{text-align:center;color:var(--text-muted);font-style:italic;padding:24px 8px}._expandedRow_hzgda_65 td{padding:0!important;border-bottom:1px solid var(--border)}._expandedRow_hzgda_65:hover td{background:transparent!important}._expandedCell_hzgda_74{padding:0!important}._page_1wyl0_2{display:flex;flex-direction:column;gap:16px;max-width:900px}._tabs_1wyl0_10{display:flex;gap:2px;border-bottom:1px solid var(--border);margin-bottom:4px}._tab_1wyl0_10{font-family:var(--font-label);font-size:12px;font-weight:500;padding:8px 16px;background:none;border:none;border-bottom:2px solid transparent;color:var(--text-secondary);cursor:pointer;transition:color var(--transition),border-color var(--transition)}._tab_1wyl0_10:hover{color:var(--text-primary)}._tabActive_1wyl0_34{color:var(--accent);border-bottom-color:var(--accent)}._card_1wyl0_40{background:var(--bg-card);border:1px solid var(--border);border-radius:var(--radius);padding:16px 20px}._cardToolbar_1wyl0_47{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}._sectionTitle_1wyl0_55{font-family:var(--font-label);font-size:13px;color:var(--text-primary)}._dangerButton_1wyl0_61{border:1px solid rgba(209,84,84,.5);background:#d154541f;color:#f4c1c1;border-radius:8px;padding:6px 12px;cursor:pointer}._proBadge_1wyl0_71{display:inline-block;margin-left:6px;padding:1px 5px;font-size:9px;font-weight:600;letter-spacing:.05em;color:#1a1407;background:var(--pro-badge);border-radius:3px;vertical-align:middle}._statusOk_1wyl0_85{display:inline-block;padding:2px 8px;border-radius:999px;background:color-mix(in srgb,var(--success) 14%,transparent);color:var(--success);font-weight:500}._statusFallback_1wyl0_94{display:inline-block;padding:2px 8px;border-radius:999px;background:#4990e224;color:#6fb6ff;font-weight:600}._statusUnsupported_1wyl0_103{display:inline-block;padding:2px 8px;border-radius:999px;background:#f0b42826;color:#d7a43c;font-weight:600}._statusError_1wyl0_112{display:inline-block;padding:2px 8px;border-radius:999px;background:#d1545424;color:#f09c9c;font-weight:600}._tierBasic_1wyl0_122{color:var(--text-secondary)}._tierPro_1wyl0_126{color:var(--pro-badge);font-weight:500}._tierMixed_1wyl0_131{color:var(--text-primary);font-weight:500}._errorText_1wyl0_137{color:var(--error)}._filterRow_1wyl0_142{display:flex;align-items:center;gap:12px;margin-bottom:12px}._filterLabel_1wyl0_149{font-family:var(--font-label);font-size:11px;color:var(--text-secondary);display:flex;align-items:center;gap:6px}._filterSelect_1wyl0_158{font-family:var(--font-code);font-size:12px;padding:3px 8px;border:1px solid var(--border);border-radius:4px;background:var(--bg-secondary);color:var(--text-primary)}._expandedRow_1wyl0_169{background:var(--bg-secondary);padding:12px 16px}._expandedSection_1wyl0_174{margin-bottom:8px;font-size:12px;color:var(--text-secondary)}._expandedSection_1wyl0_174:last-child{margin-bottom:0}._detailList_1wyl0_184{display:flex;flex-direction:column;gap:6px}._detailItem_1wyl0_190{display:flex;flex-wrap:wrap;gap:6px}._detailLabel_1wyl0_196{font-family:var(--font-label);color:var(--text-muted)}._detailValue_1wyl0_201{color:var(--text-primary);word-break:break-word}._pre_1wyl0_206{font-family:var(--font-code);font-size:11px;color:var(--text-primary);background:var(--bg-card);border:1px solid var(--border);border-radius:4px;padding:8px;margin-top:4px;overflow-x:auto;max-height:200px;overflow-y:auto;white-space:pre-wrap;word-break:break-all}._pagination_1wyl0_223{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:12px}._pageInfo_1wyl0_231{font-family:var(--font-code);font-size:12px;color:var(--text-secondary)}._btn_1wyl0_237{font-family:var(--font-label);font-size:12px;padding:4px 12px;border-radius:4px;border:1px solid var(--border);background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;transition:background var(--transition),border-color var(--transition)}._btn_1wyl0_237:hover:not(:disabled){border-color:var(--accent);background:var(--accent-dim)}._btn_1wyl0_237:disabled{opacity:.4;cursor:default}._tierDistribution_1wyl0_260{margin-bottom:16px}._tierBarWrap_1wyl0_264{display:flex;height:12px;border-radius:6px;overflow:hidden;background:var(--bg-secondary)}._tierBarBasic_1wyl0_272{background:var(--text-secondary);transition:width .3s ease}._tierBarPro_1wyl0_277{background:var(--accent);transition:width .3s ease}._tierLabels_1wyl0_282{display:flex;justify-content:space-between;margin-top:4px;font-family:var(--font-code);font-size:11px;color:var(--text-secondary)}._statsTableWrap_1wyl0_291{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}._statsTable_1wyl0_291{width:100%;border-collapse:collapse}._statsTable_1wyl0_291 th,._statsTable_1wyl0_291 td{padding:10px 12px;font-size:12px;text-align:left;border-bottom:1px solid var(--border)}._statsTable_1wyl0_291 th{font-family:var(--font-label);font-size:11px;font-weight:500;color:var(--text-secondary);background:var(--bg-secondary)}._statsTable_1wyl0_291 tbody tr:last-child td{border-bottom:none}._sortableHeader_1wyl0_322{cursor:pointer;-webkit-user-select:none;user-select:none}._sortArrow_1wyl0_327{margin-left:4px}._statsToolRow_1wyl0_331{cursor:pointer}._statsToolRow_1wyl0_331:hover td{background:var(--bg-secondary)}._statsActionRow_1wyl0_339 td{background:color-mix(in srgb,var(--bg-secondary) 72%,transparent)}._expandButton_1wyl0_343{display:inline-flex;align-items:center;gap:8px;padding:0;border:none;background:transparent;color:inherit;font:inherit;cursor:pointer}._expandIcon_1wyl0_355{width:10px;color:var(--text-secondary)}._actionLabel_1wyl0_360{display:inline-block;padding-left:18px;font-family:var(--font-code);color:var(--text-secondary)}._emptyStats_1wyl0_367{text-align:center;color:var(--text-muted)}._summaryLine_1wyl0_373{margin-top:12px;font-family:var(--font-code);font-size:12px;color:var(--text-muted);text-align:right}