arkaos 3.70.0 → 3.70.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.
- package/VERSION +1 -1
- package/dashboard/app/components/Terminal.vue +2 -1
- package/dashboard/app/pages/terminal.vue +54 -45
- package/package.json +1 -1
- package/pyproject.toml +1 -1
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.70.
|
|
1
|
+
3.70.2
|
|
@@ -9,7 +9,8 @@ import { FitAddon } from '@xterm/addon-fit'
|
|
|
9
9
|
import { WebLinksAddon } from '@xterm/addon-web-links'
|
|
10
10
|
import { SearchAddon } from '@xterm/addon-search'
|
|
11
11
|
import '@xterm/xterm/css/xterm.css'
|
|
12
|
-
import type
|
|
12
|
+
import { useTerminalThemes, type XtermTheme } from '~/composables/useTerminalThemes'
|
|
13
|
+
import { useTerminalSession } from '~/composables/useTerminalSession'
|
|
13
14
|
|
|
14
15
|
interface Props {
|
|
15
16
|
session?: ReturnType<typeof useTerminalSession>
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
// PR99b v3.68.0 — Real-shell terminal (single session).
|
|
3
3
|
// PR99c v3.69.0 — Multi-session tabs + browser-local command history.
|
|
4
|
-
//
|
|
5
|
-
//
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
// v3.70.2 — explicit composable imports (auto-import was missing the
|
|
5
|
+
// newly added useTerminalThemes on dev servers that didn't restart).
|
|
6
|
+
|
|
7
|
+
import { useTerminalTabs } from '~/composables/useTerminalTabs'
|
|
8
|
+
import { useTerminalThemes } from '~/composables/useTerminalThemes'
|
|
8
9
|
|
|
9
10
|
definePageMeta({ layout: 'default' })
|
|
10
11
|
|
|
@@ -147,48 +148,54 @@ const showHistory = ref(false)
|
|
|
147
148
|
</script>
|
|
148
149
|
|
|
149
150
|
<template>
|
|
150
|
-
<
|
|
151
|
-
<header
|
|
152
|
-
<
|
|
153
|
-
<
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
151
|
+
<UDashboardPanel id="terminal">
|
|
152
|
+
<template #header>
|
|
153
|
+
<UDashboardNavbar title="Terminal">
|
|
154
|
+
<template #leading>
|
|
155
|
+
<UDashboardSidebarCollapse />
|
|
156
|
+
</template>
|
|
157
|
+
<template #right>
|
|
158
|
+
<div class="flex items-center gap-2">
|
|
159
|
+
<UBadge color="warning" variant="soft" size="sm">
|
|
160
|
+
<UIcon name="i-lucide-shield" class="size-3 mr-1" />
|
|
161
|
+
localhost only
|
|
162
|
+
</UBadge>
|
|
163
|
+
<USelect
|
|
164
|
+
:model-value="themeName"
|
|
165
|
+
:items="themeOptions"
|
|
166
|
+
size="xs"
|
|
167
|
+
class="w-40"
|
|
168
|
+
@update:model-value="setTheme($event as string)"
|
|
169
|
+
/>
|
|
170
|
+
<UButton
|
|
171
|
+
size="xs"
|
|
172
|
+
variant="ghost"
|
|
173
|
+
icon="i-lucide-search"
|
|
174
|
+
title="Ctrl+R — search history"
|
|
175
|
+
@click="openSearch"
|
|
176
|
+
>
|
|
177
|
+
⌃R
|
|
178
|
+
</UButton>
|
|
179
|
+
<UButton
|
|
180
|
+
size="xs"
|
|
181
|
+
variant="ghost"
|
|
182
|
+
:icon="showHistory ? 'i-lucide-x' : 'i-lucide-history'"
|
|
183
|
+
@click="showHistory = !showHistory"
|
|
184
|
+
>
|
|
185
|
+
History ({{ history.length }})
|
|
186
|
+
</UButton>
|
|
187
|
+
</div>
|
|
188
|
+
</template>
|
|
189
|
+
</UDashboardNavbar>
|
|
190
|
+
</template>
|
|
191
|
+
|
|
192
|
+
<template #body>
|
|
193
|
+
<div class="flex flex-col gap-3 h-full p-4">
|
|
194
|
+
<p class="text-sm text-muted -mt-1">
|
|
195
|
+
Real PTY shell — run claude, codex, git, anything. ⌘T new · ⌘W close · ⌘1–8 switch · ⌃R search.
|
|
157
196
|
</p>
|
|
158
|
-
</div>
|
|
159
|
-
<div class="flex items-center gap-2">
|
|
160
|
-
<UBadge color="warning" variant="soft" size="sm">
|
|
161
|
-
<UIcon name="i-lucide-shield" class="size-3 mr-1" />
|
|
162
|
-
localhost only
|
|
163
|
-
</UBadge>
|
|
164
|
-
<USelect
|
|
165
|
-
:model-value="themeName"
|
|
166
|
-
:items="themeOptions"
|
|
167
|
-
size="xs"
|
|
168
|
-
class="w-44"
|
|
169
|
-
@update:model-value="setTheme($event as string)"
|
|
170
|
-
/>
|
|
171
|
-
<UButton
|
|
172
|
-
size="xs"
|
|
173
|
-
variant="ghost"
|
|
174
|
-
icon="i-lucide-search"
|
|
175
|
-
title="Ctrl+R — search history"
|
|
176
|
-
@click="openSearch"
|
|
177
|
-
>
|
|
178
|
-
⌃R
|
|
179
|
-
</UButton>
|
|
180
|
-
<UButton
|
|
181
|
-
size="xs"
|
|
182
|
-
variant="ghost"
|
|
183
|
-
:icon="showHistory ? 'i-lucide-x' : 'i-lucide-history'"
|
|
184
|
-
@click="showHistory = !showHistory"
|
|
185
|
-
>
|
|
186
|
-
History ({{ history.length }})
|
|
187
|
-
</UButton>
|
|
188
|
-
</div>
|
|
189
|
-
</header>
|
|
190
197
|
|
|
191
|
-
|
|
198
|
+
<div class="flex items-center gap-1 border-b border-default pb-2 overflow-x-auto">
|
|
192
199
|
<div
|
|
193
200
|
v-for="(tab, idx) in tabs"
|
|
194
201
|
:key="tab.id"
|
|
@@ -311,5 +318,7 @@ const showHistory = ref(false)
|
|
|
311
318
|
</div>
|
|
312
319
|
</template>
|
|
313
320
|
</UModal>
|
|
314
|
-
|
|
321
|
+
</div>
|
|
322
|
+
</template>
|
|
323
|
+
</UDashboardPanel>
|
|
315
324
|
</template>
|
package/package.json
CHANGED