Buckets:
| import { SessionV2 } from "@opencode-ai/core/session" | |
| import { LocationServiceMap } from "@opencode-ai/core/location-layer" | |
| import { PermissionSaved } from "@opencode-ai/core/permission/saved" | |
| import { Layer } from "effect" | |
| import { layer as locationLayer } from "./groups/location" | |
| import { sessionLocationLayer } from "./middleware/session-location" | |
| 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 { QuestionHandler } from "./handlers/question" | |
| import { ReferenceHandler } from "./handlers/reference" | |
| import * as SessionExecutionLocal from "@opencode-ai/core/session/execution/local" | |
| import { LocationHandler } from "./handlers/location" | |
| import { IntegrationHandler } from "./handlers/integration" | |
| import { CredentialHandler } from "./handlers/credential" | |
| import { Credential } from "@opencode-ai/core/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, | |
| QuestionHandler, | |
| ReferenceHandler, | |
| ProjectCopyHandler, | |
| ).pipe( | |
| Layer.provide(sessionLocationLayer), | |
| Layer.provide(locationLayer), | |
| Layer.provide(SessionV2.defaultLayer), | |
| Layer.provide(SessionExecutionLocal.defaultLayer), | |
| Layer.provide(PermissionSaved.defaultLayer), | |
| Layer.provide(LocationServiceMap.layer), | |
| Layer.provide(Credential.defaultLayer), | |
| ) | |
Xet Storage Details
- Size:
- 2.06 kB
- Xet hash:
- 97ad24cd8b729a6b0d5a59d078fdeab17d1f6cb87ef3b0cd0912ba8d8872ac15
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.