Download packages/server/src/handlers.ts from SaylorTwift/opencode: direct link, hf CLI and curl.
- Browser
- Download file 1.35 kB
-
https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/server/src/handlers.ts
- Command line
-
hf download hf://SaylorTwift/opencode/packages/server/src/handlers.ts
-
curl -L -o handlers.ts https://huggingface.co/SaylorTwift/opencode/resolve/main/packages/server/src/handlers.ts
1.35 kB
| import { Layer } from "effect" | |
| import { MessageHandler } from "./handlers/message" | |
| import { ModelHandler } from "./handlers/model" | |
| import { ProviderHandler } from "./handlers/provider" | |
| import { SessionHandler } from "./handlers/session" | |
| import { PermissionHandler } from "./handlers/permission" | |
| import { FileSystemHandler } from "./handlers/fs" | |
| import { CommandHandler } from "./handlers/command" | |
| import { SkillHandler } from "./handlers/skill" | |
| import { EventHandler } from "./handlers/event" | |
| import { AgentHandler } from "./handlers/agent" | |
| import { HealthHandler } from "./handlers/health" | |
| import { PtyHandler } from "./handlers/pty" | |
| import { QuestionHandler } from "./handlers/question" | |
| import { ReferenceHandler } from "./handlers/reference" | |
| import { LocationHandler } from "./handlers/location" | |
| import { IntegrationHandler } from "./handlers/integration" | |
| import { CredentialHandler } from "./handlers/credential" | |
| import { ProjectCopyHandler } from "./handlers/project-copy" | |
| export const handlers = Layer.mergeAll( | |
| HealthHandler, | |
| LocationHandler, | |
| AgentHandler, | |
| SessionHandler, | |
| MessageHandler, | |
| ModelHandler, | |
| ProviderHandler, | |
| IntegrationHandler, | |
| CredentialHandler, | |
| PermissionHandler, | |
| FileSystemHandler, | |
| CommandHandler, | |
| SkillHandler, | |
| EventHandler, | |
| PtyHandler, | |
| QuestionHandler, | |
| ReferenceHandler, | |
| ProjectCopyHandler, | |
| ) | |