mirror of
https://github.com/wu736139669/hapi.git
synced 2026-12-04 06:57:55 +00:00
Adopt passkey login/management endpoints, attached Codex runtime gating and the generic local-session RPC registry. The fork keeps its per-flavor Claude/ DSH/Pi/OpenCode import routes and dialogs, DSH Web runtime and custom Session List/Row UI. Resolutions worth knowing: - schema is v36 with both passkey_credentials and the fork's studio/share tables; local stores remain alongside upstream PasskeyStore - server mounts passkey login before auth and passkey management after, with the fork's guest/share middleware intact - Codex root keeps local history sync/compaction and goal metadata while honoring host.attached: no bridge, read-only forks, attached refresh - generic ListLocalSessions is registered in addition to the fork's per-flavor handlers; Claude transcript conversion accepts the fork's localId shape - web keeps the local Claude/DSH import dialogs and manual upload path Validation: typecheck passes; suite 5689 pass, failures limited to the machine-specific macOS responsibility probes. via [HAPI](https://hapi.run) Co-Authored-By: HAPI <noreply@hapi.run> Co-Authored-By: Claude Code <noreply@anthropic.com>
51 lines
1.8 KiB
JSON
51 lines
1.8 KiB
JSON
{
|
|
"name": "@hapi/protocol",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./apiTypes": "./src/apiTypes.ts",
|
|
"./localTranscript": "./src/localTranscript.ts",
|
|
"./messages": "./src/messages.ts",
|
|
"./slashCommands": "./src/slashCommands.ts",
|
|
"./buildInfo": "./src/buildInfo.ts",
|
|
"./conversationHistory": "./src/conversationHistory.ts",
|
|
"./modes": "./src/modes.ts",
|
|
"./peerSpawnDefaults": "./src/peerSpawnDefaults.ts",
|
|
"./rpcMethods": "./src/rpcMethods.ts",
|
|
"./runnerCapabilities": "./src/runnerCapabilities.ts",
|
|
"./schemas": "./src/schemas.ts",
|
|
"./sessionCitation": "./src/sessionCitation.ts",
|
|
"./peerParentStamp": "./src/peerParentStamp.ts",
|
|
"./sessionExport": "./src/sessionExport.ts",
|
|
"./sessionLifecycle": "./src/sessionLifecycle.ts",
|
|
"./types": "./src/types.ts",
|
|
"./voice": "./src/voice.ts",
|
|
"./voicePickerCatalog": "./src/voicePickerCatalog.ts",
|
|
"./voice-personality": "./src/voicePersonality.ts",
|
|
"./usage": "./src/usage.ts",
|
|
"./opencodeUsage": "./src/opencodeUsage.ts",
|
|
"./usageQuery": "./src/usageQuery.ts",
|
|
"./settingsFileLock": "./src/settingsFileLock.ts",
|
|
"./agentCliSpawnLease": "./src/agentCliSpawnLease.ts"
|
|
},
|
|
"sideEffects": false,
|
|
"scripts": {
|
|
"test": "bun test"
|
|
},
|
|
"dependencies": {
|
|
"mdast-util-from-markdown": "^2.0.2",
|
|
"mdast-util-gfm": "^3.1.0",
|
|
"mdast-util-to-string": "^4.0.0",
|
|
"micromark-extension-gfm": "^3.0.0",
|
|
"proper-lockfile": "^4.1.2",
|
|
"zod": "^4.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/proper-lockfile": "^4.1.4"
|
|
}
|
|
}
|