feat(ui): open Develop artifacts in the OS editor
Develop stays read-first: each artifact whose source is a repository path gains an Open in editor action routed through a path-validated main-process handler (shell.openPath), instead of an in-app write path. Persona and prompt-assembly sources open the governing cordis.yml or source file directly.
This commit is contained in:
@@ -93,7 +93,7 @@ describe('desktop renderer chat lifecycle', () => {
|
||||
},
|
||||
trace: { read: async () => traceRead },
|
||||
feedback: { list: async () => [], add: async () => ({}) },
|
||||
dev: { status: async () => ({ git: {} }) },
|
||||
dev: { status: async () => ({ git: {} }), openPath: async () => ({}) },
|
||||
}
|
||||
|
||||
await import('../src/app.ts')
|
||||
@@ -276,7 +276,7 @@ describe('desktop renderer chat lifecycle', () => {
|
||||
},
|
||||
trace: { read: async () => traceRead },
|
||||
feedback: { list: async () => [], add: async () => ({}) },
|
||||
dev: { status: async () => ({ git: {} }) },
|
||||
dev: { status: async () => ({ git: {} }), openPath: async () => ({}) },
|
||||
}
|
||||
|
||||
await import('../src/app.ts')
|
||||
|
||||
Reference in New Issue
Block a user