feat: project verified PNCC runtime into HoloLake

This commit is contained in:
冰朔 2026-08-11 11:56:54 +08:00
commit 0c80296593
33 changed files with 1265 additions and 24 deletions

View file

@ -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: () => [],