refactor(core): simplify integration credentials (#31968)

This commit is contained in:
Dax
2026-06-12 06:15:25 +00:00
committed by GitHub
parent a9c810cbbc
commit 30aec297d8
112 changed files with 2478 additions and 47739 deletions
+6 -2
View File
@@ -19,7 +19,9 @@ 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 { ConnectorHandler } from "./handlers/connector"
import { IntegrationHandler } from "./handlers/integration"
import { CredentialHandler } from "./handlers/credential"
import { Credential } from "@opencode-ai/core/credential"
export const handlers = Layer.mergeAll(
HealthHandler,
@@ -29,7 +31,8 @@ export const handlers = Layer.mergeAll(
MessageHandler,
ModelHandler,
ProviderHandler,
ConnectorHandler,
IntegrationHandler,
CredentialHandler,
PermissionHandler,
FileSystemHandler,
CommandHandler,
@@ -44,4 +47,5 @@ export const handlers = Layer.mergeAll(
Layer.provide(SessionExecutionLocal.defaultLayer),
Layer.provide(PermissionSaved.defaultLayer),
Layer.provide(LocationServiceMap.layer),
Layer.provide(Credential.defaultLayer),
)