feat: project verified PNCC runtime into HoloLake
This commit is contained in:
parent
1b55f3407a
commit
0c80296593
33 changed files with 1265 additions and 24 deletions
|
|
@ -426,6 +426,18 @@ function handleMoveNoteToWorkspace(args: {
|
|||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- mock handler map accepts heterogeneous arg types
|
||||
export const mockHandlers: Record<string, (args: any) => any> = {
|
||||
query_persona_code_channel_runtime: (args: {
|
||||
input: { expectedPersonaId: string; expectedRepositoryPath: string }
|
||||
}) => ({
|
||||
schema: 'hololake.pncc-runtime-query/v1',
|
||||
personaId: args.input.expectedPersonaId,
|
||||
repositoryPath: args.input.expectedRepositoryPath,
|
||||
observedGitHead: '0000000000000000000000000000000000000000',
|
||||
repositoryClean: true,
|
||||
matchingSessionCount: 0,
|
||||
returnedSessionCount: 0,
|
||||
sessions: [],
|
||||
}),
|
||||
list_vault: () => MOCK_ENTRIES,
|
||||
list_vault_folders: () => [],
|
||||
list_views: () => [],
|
||||
|
|
|
|||
Loading…
Reference in a new issue