feat: complete WorkBuddy parity and Windows release workflow
This commit is contained in:
1 parent
143516b3a8
commit
d5512df549
434 files changed
+54977
-1854
No files matched your search
@@ -64,6 +64,7 @@ async function main(): Promise<void> {
|
||||
|
||||
const outfile = join(root, 'ipc.mjs')
|
||||
await build({ entryPoints: ['src/main/ipc.ts'], outfile, bundle: true, external: ['node-pty'], platform: 'node', format: 'esm', logLevel: 'silent',
|
||||
banner: { js: `import { createRequire as createTestRequire } from 'node:module'; const require = createTestRequire(import.meta.url);` },
|
||||
plugins: [testTerminalHostPlugin, { name: 'resource-ipc-adapters', setup(builder) {
|
||||
builder.onResolve({ filter: /^electron$/ }, () => ({ path: 'electron', namespace: 'resource-test' }))
|
||||
builder.onLoad({ filter: /.*/, namespace: 'resource-test' }, () => ({ loader: 'js', contents: `
|
||||
@@ -72,6 +73,7 @@ async function main(): Promise<void> {
|
||||
export const ipcMain={handle:(name,handler)=>state.handlers.set(name,handler)};
|
||||
export const dialog={showSaveDialog:async()=>{state.dialogCalls++;return {canceled:!state.savePath,filePath:state.savePath}},showOpenDialog:async()=>({canceled:true,filePaths:[]})};
|
||||
export const shell={openPath:async()=>''};
|
||||
export const powerSaveBlocker={start:()=>1,stop:()=>{}};
|
||||
export const safeStorage={isEncryptionAvailable:()=>false};
|
||||
export class BrowserWindow{}
|
||||
export class WebContentsView{}
|
||||
@@ -81,6 +83,9 @@ async function main(): Promise<void> {
|
||||
export const getWorkspaceRoot=async()=>globalThis.__YCODE_RESOURCE_TEST__.workspace;
|
||||
export const getConfigView=async()=>({}); export const updateConfig=async()=>({});
|
||||
export const getGatewayConfig=async()=>({}); export const setWorkspaceRoot=async()=>{};
|
||||
export const getStoredAgentSettings=async()=>({}); export const setStoredAgentSettings=async()=>{};
|
||||
export const getStoredMemoryPreferences=async()=>({}); export const setStoredMemoryPreferences=async()=>{};
|
||||
export const getStoredPersonalization=async()=>({}); export const setStoredPersonalization=async()=>{};
|
||||
` }))
|
||||
} }]
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user