mirror of
https://github.com/davidkaya/aryx.git
synced 2026-08-06 19:58:43 +02:00
refactor: rename Kopaya to Eryx
Rename the product, runtime surfaces, sidecar projects, docs, tests, and packaging outputs from Kopaya to Eryx across the repository. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -6,27 +6,27 @@ describe('resolveWindowIconPath', () => {
|
||||
test('uses the Windows ico asset from the platform-specific icon directory', () => {
|
||||
expect(
|
||||
resolveWindowIconPath({
|
||||
appPath: 'C:\\workspace\\personal\\repositories\\kopaya',
|
||||
appPath: 'C:\\workspace\\personal\\repositories\\eryx',
|
||||
platform: 'win32',
|
||||
}),
|
||||
).toBe('C:\\workspace\\personal\\repositories\\kopaya\\assets\\icons\\windows\\icon.ico');
|
||||
).toBe('C:\\workspace\\personal\\repositories\\eryx\\assets\\icons\\windows\\icon.ico');
|
||||
});
|
||||
|
||||
test('uses the macOS icns asset on Darwin', () => {
|
||||
expect(
|
||||
resolveWindowIconPath({
|
||||
appPath: '/Applications/Kopaya.app/Contents/Resources/app',
|
||||
appPath: '/Applications/Eryx.app/Contents/Resources/app',
|
||||
platform: 'darwin',
|
||||
}),
|
||||
).toBe('/Applications/Kopaya.app/Contents/Resources/app/assets/icons/macos/icon.icns');
|
||||
).toBe('/Applications/Eryx.app/Contents/Resources/app/assets/icons/macos/icon.icns');
|
||||
});
|
||||
|
||||
test('uses the Linux 512px PNG asset on Linux', () => {
|
||||
expect(
|
||||
resolveWindowIconPath({
|
||||
appPath: '/opt/kopaya/resources/app',
|
||||
appPath: '/opt/eryx/resources/app',
|
||||
platform: 'linux',
|
||||
}),
|
||||
).toBe('/opt/kopaya/resources/app/assets/icons/linux/icons/512x512.png');
|
||||
).toBe('/opt/eryx/resources/app/assets/icons/linux/icons/512x512.png');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -7,8 +7,8 @@ describe('resolveSidecarProcess', () => {
|
||||
expect(
|
||||
resolveSidecarProcess({
|
||||
isPackaged: false,
|
||||
appPath: 'C:\\workspace\\personal\\repositories\\kopaya',
|
||||
resourcesPath: 'C:\\workspace\\personal\\repositories\\kopaya\\resources',
|
||||
appPath: 'C:\\workspace\\personal\\repositories\\eryx',
|
||||
resourcesPath: 'C:\\workspace\\personal\\repositories\\eryx\\resources',
|
||||
platform: 'win32',
|
||||
}),
|
||||
).toEqual({
|
||||
@@ -16,11 +16,11 @@ describe('resolveSidecarProcess', () => {
|
||||
args: [
|
||||
'run',
|
||||
'--project',
|
||||
'C:\\workspace\\personal\\repositories\\kopaya\\sidecar\\src\\Kopaya.AgentHost\\Kopaya.AgentHost.csproj',
|
||||
'C:\\workspace\\personal\\repositories\\eryx\\sidecar\\src\\Eryx.AgentHost\\Eryx.AgentHost.csproj',
|
||||
'--',
|
||||
'--stdio',
|
||||
],
|
||||
cwd: 'C:\\workspace\\personal\\repositories\\kopaya',
|
||||
cwd: 'C:\\workspace\\personal\\repositories\\eryx',
|
||||
});
|
||||
});
|
||||
|
||||
@@ -28,14 +28,14 @@ describe('resolveSidecarProcess', () => {
|
||||
expect(
|
||||
resolveSidecarProcess({
|
||||
isPackaged: true,
|
||||
appPath: 'C:\\workspace\\personal\\repositories\\kopaya\\release\\win-unpacked\\resources\\app',
|
||||
resourcesPath: 'C:\\workspace\\personal\\repositories\\kopaya\\release\\win-unpacked\\resources',
|
||||
appPath: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources\\app',
|
||||
resourcesPath: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources',
|
||||
platform: 'win32',
|
||||
}),
|
||||
).toEqual({
|
||||
command: 'C:\\workspace\\personal\\repositories\\kopaya\\release\\win-unpacked\\resources\\sidecar\\Kopaya.AgentHost.exe',
|
||||
command: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources\\sidecar\\Eryx.AgentHost.exe',
|
||||
args: ['--stdio'],
|
||||
cwd: 'C:\\workspace\\personal\\repositories\\kopaya\\release\\win-unpacked\\resources\\sidecar',
|
||||
cwd: 'C:\\workspace\\personal\\repositories\\eryx\\release\\win-unpacked\\resources\\sidecar',
|
||||
});
|
||||
});
|
||||
|
||||
@@ -43,14 +43,14 @@ describe('resolveSidecarProcess', () => {
|
||||
expect(
|
||||
resolveSidecarProcess({
|
||||
isPackaged: true,
|
||||
appPath: '/Applications/Kopaya.app/Contents/Resources/app',
|
||||
resourcesPath: '/Applications/Kopaya.app/Contents/Resources',
|
||||
appPath: '/Applications/Eryx.app/Contents/Resources/app',
|
||||
resourcesPath: '/Applications/Eryx.app/Contents/Resources',
|
||||
platform: 'darwin',
|
||||
}),
|
||||
).toEqual({
|
||||
command: '/Applications/Kopaya.app/Contents/Resources/sidecar/Kopaya.AgentHost',
|
||||
command: '/Applications/Eryx.app/Contents/Resources/sidecar/Eryx.AgentHost',
|
||||
args: ['--stdio'],
|
||||
cwd: '/Applications/Kopaya.app/Contents/Resources/sidecar',
|
||||
cwd: '/Applications/Eryx.app/Contents/Resources/sidecar',
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
|
||||
describe('scratchpad project helpers', () => {
|
||||
test('creates a stable built-in scratchpad project', () => {
|
||||
const project = createScratchpadProject('C:\\Users\\me\\AppData\\Roaming\\kopaya\\scratchpad');
|
||||
const project = createScratchpadProject('C:\\Users\\me\\AppData\\Roaming\\eryx\\scratchpad');
|
||||
|
||||
expect(project.id).toBe(SCRATCHPAD_PROJECT_ID);
|
||||
expect(project.name).toBe(SCRATCHPAD_PROJECT_NAME);
|
||||
@@ -38,7 +38,7 @@ describe('scratchpad project helpers', () => {
|
||||
addedAt: '2026-03-23T00:00:00.000Z',
|
||||
},
|
||||
],
|
||||
'C:\\Users\\me\\AppData\\Roaming\\kopaya\\scratchpad',
|
||||
'C:\\Users\\me\\AppData\\Roaming\\eryx\\scratchpad',
|
||||
);
|
||||
|
||||
expect(merged[0].id).toBe(SCRATCHPAD_PROJECT_ID);
|
||||
@@ -69,7 +69,7 @@ describe('scratchpad project helpers', () => {
|
||||
},
|
||||
},
|
||||
],
|
||||
'C:\\Users\\me\\AppData\\Roaming\\kopaya\\scratchpad',
|
||||
'C:\\Users\\me\\AppData\\Roaming\\eryx\\scratchpad',
|
||||
);
|
||||
|
||||
expect(merged[0].git).toBeUndefined();
|
||||
|
||||
Reference in New Issue
Block a user