Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified bun.lockb
Binary file not shown.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"vue-cookie-next": "^1.3.0",
"vue-gtag-next": "^1.14.0",
"vue-native-websocket-vue3": "3.1.8",
"vue-web-terminal": "3.2.2"
"vue-web-terminal": "3.4.1"
},
"devDependencies": {
"@vitejs/plugin-vue": "6.0.1",
Expand Down
Binary file added public/fonts/PATRON.ttf
Binary file not shown.
Binary file added public/fonts/PATRON.woff
Binary file not shown.
Binary file added public/fonts/PATRON.woff2
Binary file not shown.
Binary file added src/assets/fonts/PATRON.ttf
Binary file not shown.
Binary file added src/assets/fonts/PATRON.woff
Binary file not shown.
Binary file added src/assets/fonts/PATRON.woff2
Binary file not shown.
16 changes: 11 additions & 5 deletions src/components/PromptExecutionLogo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -61,17 +61,23 @@ onUnmounted(() => {

<style scoped>

/* Font imports for logo text */
@import url('https://db.onlinewebfonts.com/c/3bc7046035df293d6486e481022b043e?family=Patron');

/* Font imports for logo text - using local licensed fonts */
@font-face {
font-family: 'Patron-PersonalUse-Regular';
src: url('https://db.onlinewebfonts.com/c/3bc7046035df293d6486e481022b043e?family=Patron') format('truetype');
src: url('/fonts/PATRON.woff2') format('woff2'),
url('/fonts/PATRON.woff') format('woff'),
url('/fonts/PATRON.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Patron - Personal Use';
src: url('https://db.onlinewebfonts.com/c/3bc7046035df293d6486e481022b043e?family=Patron') format('truetype');
src: url('/fonts/PATRON.woff2') format('woff2'),
url('/fonts/PATRON.woff') format('woff'),
url('/fonts/PATRON.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
Expand Down
12 changes: 8 additions & 4 deletions src/components/TheXTerm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ FILE: src/components/TheXTerm.vue
@init-before="onInitBefore" @init-after="onInitAfter"
@before-execute-command="onBeforeExecuteCommand"
@exec-cmd="onExecCmd"
:show-header="false" :enable-example-hint="false" title="👋🏻">
:show-header="false"
:enable-example-hint="false"
title="👋🏻"
theme="dark">
</Terminal>
</div>
</template>
Expand All @@ -30,9 +33,10 @@ import { getCurrentInstance, ComponentInternalInstance } from "vue";
// In any module where you want to emit an event
import { emitter } from "@/eventBus";

import Terminal, { Command, TerminalApi } from "vue-web-terminal"
// This style needs to be introduced in versions after 3.1.8 and 2.1.12.
import 'vue-web-terminal/lib/theme/dark.css'
import Terminal from "vue-web-terminal"
import { TerminalApi } from "vue-web-terminal"
import type { Command } from "vue-web-terminal"
// Theme is now controlled via component prop (v3.3.1+)


let idleTimer: number | undefined;
Expand Down
5 changes: 5 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import App from './App.vue'
import VueGtag from "vue-gtag-next";
import { VueCookieNext } from 'vue-cookie-next';
import VueNativeSock from "vue-native-websocket-vue3";
// @ts-ignore - TypeScript can't resolve the export but it exists at runtime
import { createTerminal } from 'vue-web-terminal';
Comment on lines +10 to +11
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using // @ts-ignore here hides all TypeScript checking for this import and diverges from the way other untyped dependencies are handled (for example src/vue-native-websocket-vue3.d.ts declares a module instead). To keep type safety and stay consistent with the rest of the codebase, consider adding or extending a .d.ts declaration for vue-web-terminal (including createTerminal) instead of suppressing the error at the usage site.

Copilot uses AI. Check for mistakes.

import { useSocketStoreWithOut } from "./store/pinia/useSocketStore";

Expand All @@ -28,6 +30,9 @@ app.use(VueGtag, {
isEnabled: false,
});

// Register vue-web-terminal (required for TerminalApi to work)
app.use(createTerminal());

app.mount('#app');

app.use(VueNativeSock,"ws://fung1.lan:8080",{
Expand Down