mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-04 02:48:44 +02:00
refactor: rename app to aryx
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -145,7 +145,7 @@ export class EryxAppService extends EventEmitter<AppServiceEvents> {
|
||||
if (!this.didScheduleInitialProjectGitRefresh) {
|
||||
this.didScheduleInitialProjectGitRefresh = true;
|
||||
void this.refreshProjectGitContext().catch((error) => {
|
||||
console.error('[eryx git]', error);
|
||||
console.error('[aryx git]', error);
|
||||
});
|
||||
}
|
||||
|
||||
@@ -1348,7 +1348,7 @@ export class EryxAppService extends EventEmitter<AppServiceEvents> {
|
||||
|
||||
changed = true;
|
||||
const failedAt = nowIso();
|
||||
const error = 'Pending approval was interrupted because Eryx restarted before a decision was recorded.';
|
||||
const error = 'Pending approval was interrupted because Aryx restarted before a decision was recorded.';
|
||||
const requestIds = this.rejectPendingApprovals(session, failedAt, error);
|
||||
session.status = 'error';
|
||||
session.lastError = error;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import keytar from 'keytar';
|
||||
|
||||
const serviceName = 'eryx';
|
||||
const serviceName = 'aryx';
|
||||
|
||||
export class SecretStore {
|
||||
async get(account: string): Promise<string | null> {
|
||||
|
||||
@@ -115,7 +115,7 @@ export class SidecarClient {
|
||||
|
||||
childProcess.stderr.setEncoding('utf8');
|
||||
childProcess.stderr.on('data', (chunk: string) => {
|
||||
console.error('[eryx sidecar]', chunk.trim());
|
||||
console.error('[aryx sidecar]', chunk.trim());
|
||||
});
|
||||
|
||||
childProcess.on('exit', (code) => {
|
||||
|
||||
@@ -11,7 +11,7 @@ export function createMainWindow(): BrowserWindow {
|
||||
height: 960,
|
||||
minWidth: 1120,
|
||||
minHeight: 720,
|
||||
title: 'eryx',
|
||||
title: 'aryx',
|
||||
icon: resolveWindowIconPath({
|
||||
appPath: app.getAppPath(),
|
||||
platform: process.platform,
|
||||
|
||||
@@ -50,4 +50,4 @@ const api: ElectronApi = {
|
||||
},
|
||||
};
|
||||
|
||||
contextBridge.exposeInMainWorld('eryxApi', api);
|
||||
contextBridge.exposeInMainWorld('aryxApi', api);
|
||||
|
||||
@@ -293,7 +293,7 @@ function AppearanceSection({
|
||||
<div className="mb-1">
|
||||
<h3 className="text-[13px] font-semibold text-zinc-200">Appearance</h3>
|
||||
<p className="mt-0.5 text-[12px] text-zinc-500">
|
||||
Choose how Eryx looks on your device
|
||||
Choose how Aryx looks on your device
|
||||
</p>
|
||||
</div>
|
||||
|
||||
@@ -348,7 +348,7 @@ function ConnectionSection({
|
||||
<div className="mb-1">
|
||||
<h3 className="text-[13px] font-semibold text-zinc-200">GitHub Copilot</h3>
|
||||
<p className="mt-0.5 text-[12px] text-zinc-500">
|
||||
Eryx uses your installed GitHub Copilot CLI for AI capabilities
|
||||
Aryx uses your installed GitHub Copilot CLI for AI capabilities
|
||||
</p>
|
||||
</div>
|
||||
<div className="mt-4 rounded-xl border border-[var(--color-border)] bg-zinc-900/30 p-4">
|
||||
|
||||
@@ -524,9 +524,9 @@ export function Sidebar({
|
||||
{/* Header — extra top padding clears the title bar overlay zone */}
|
||||
<div className="drag-region flex items-center justify-between border-b border-[var(--color-border)] px-4 pb-3 pt-3">
|
||||
<div className="flex items-center gap-2.5">
|
||||
<img alt="eryx" className="size-8 rounded-xl" src={appIconUrl} />
|
||||
<img alt="aryx" className="size-8 rounded-xl" src={appIconUrl} />
|
||||
<div>
|
||||
<span className="text-sm font-semibold text-zinc-100">eryx</span>
|
||||
<span className="text-sm font-semibold text-zinc-100">aryx</span>
|
||||
<span className="ml-1.5 rounded bg-zinc-800 px-1 py-0.5 text-[9px] font-medium text-zinc-500">
|
||||
ALPHA
|
||||
</span>
|
||||
|
||||
@@ -21,7 +21,7 @@ export function WelcomePane({
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h1 className="text-base font-semibold text-zinc-100">Welcome to eryx</h1>
|
||||
<h1 className="text-base font-semibold text-zinc-100">Welcome to aryx</h1>
|
||||
<p className="mt-2 max-w-md text-[13px] leading-relaxed text-zinc-500">
|
||||
Start a scratchpad conversation for ad-hoc questions or connect a project to work with
|
||||
repo-aware Copilot agents.
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@ import type { ElectronApi } from '@shared/contracts/ipc';
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
eryxApi: ElectronApi;
|
||||
aryxApi: ElectronApi;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0"
|
||||
/>
|
||||
<title>eryx</title>
|
||||
<title>aryx</title>
|
||||
</head>
|
||||
<body class="bg-slate-950 text-slate-100">
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
export function getElectronApi() {
|
||||
if (!window.eryxApi) {
|
||||
if (!window.aryxApi) {
|
||||
throw new Error('The Electron preload API is unavailable.');
|
||||
}
|
||||
|
||||
return window.eryxApi;
|
||||
return window.aryxApi;
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ export interface MarkdownPasteInspection {
|
||||
reason: MarkdownPasteReason;
|
||||
}
|
||||
|
||||
export const markdownEditorNamespace = 'eryx-markdown-composer';
|
||||
export const markdownEditorNamespace = 'aryx-markdown-composer';
|
||||
|
||||
export const markdownEditorNodes: ReadonlyArray<Klass<LexicalNode>> = [
|
||||
HeadingNode,
|
||||
|
||||
@@ -24,7 +24,7 @@ export function applySessionEventActivity(
|
||||
if (event.kind === 'agent-activity') {
|
||||
const agentKey = resolveAgentKey(event);
|
||||
if (!agentKey) {
|
||||
console.warn('[eryx activity] Dropping agent-activity event without agentId/agentName.', event);
|
||||
console.warn('[aryx activity] Dropping agent-activity event without agentId/agentName.', event);
|
||||
return current;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user