Download packages/acp-server/src/index.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 2.91 kB
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/acp-server/src/index.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/acp-server/src/index.ts
-
curl -L -o index.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/acp-server/src/index.ts
2.91 kB
| export type { Implementation } from '@agentclientprotocol/sdk'; | |
| export { AcpServer, createAcpAgentApp } from './server'; | |
| export type { | |
| AcpServerOptions, | |
| SetSessionModelParams, | |
| SlashCommandsResolver, | |
| SlashCommandsSnapshot, | |
| } from './server'; | |
| export { acpClientFromContext } from './acp-client'; | |
| export type { AcpClient } from './acp-client'; | |
| export { AcpSession } from './session'; | |
| export { runAcpServer, runAcpServerWithStream } from './start'; | |
| export type { RunAcpServerOptions, RunningAcpServer } from './start'; | |
| export { | |
| acpToolCallId, | |
| assistantDeltaToSessionUpdate, | |
| availableCommandsUpdateNotification, | |
| configOptionUpdateNotification, | |
| inferToolKind, | |
| planFromDisplayBlock, | |
| stringifyArgs, | |
| thinkingDeltaToSessionUpdate, | |
| todoListToSessionUpdate, | |
| toolCallDeltaToSessionUpdate, | |
| toolCallLazyCreateToSessionUpdate, | |
| toolCallStartedUpgradeToSessionUpdate, | |
| toolCallStartToSessionUpdate, | |
| toolProgressToSessionUpdate, | |
| toolResultToSessionUpdate, | |
| turnEndReasonToStopReason, | |
| } from './events-map'; | |
| export { | |
| acpBlocksToContentParts, | |
| displayBlockToAcpContent, | |
| toolResultToAcpContent, | |
| } from './convert'; | |
| export { | |
| buildModeOption, | |
| buildModelOption, | |
| buildSessionConfigOptions, | |
| buildThinkingOption, | |
| } from './config-options'; | |
| export { | |
| deriveAlwaysThinking, | |
| deriveDefaultThinkingEffort, | |
| deriveThinkingSupported, | |
| projectModelCatalog, | |
| } from './model-catalog'; | |
| export type { AcpModelEntry } from './model-catalog'; | |
| export { | |
| ACP_MODES, | |
| acpModeToToggles, | |
| DEFAULT_MODE_ID, | |
| isAcpModeId, | |
| } from './modes'; | |
| export type { AcpModeId, AcpModeToggles } from './modes'; | |
| export type { AcpStopReason, AcpToolCallStatus, AcpToolKind } from './types'; | |
| export { HideOutputMarker, isHideOutputMarker } from './marker'; | |
| export { | |
| ACP_BUILTIN_SLASH_COMMAND_NAMES, | |
| ACP_BUILTIN_SLASH_COMMANDS, | |
| isAcpBuiltinSlashCommand, | |
| } from './builtin-commands'; | |
| export type { AcpBuiltinSlashCommandName } from './builtin-commands'; | |
| export { detectSlashIntent, parseSlashInput, resolveSkillCommand } from './slash'; | |
| export type { ParsedSlashInput, SlashIntent } from './slash'; | |
| export { AcpInteractionBridge } from './interaction-bridge'; | |
| export { | |
| APPROVE_ALWAYS_OPTION_ID, | |
| APPROVE_ONCE_OPTION_ID, | |
| approvalRequestToPermissionOptions, | |
| attachSelectedLabel, | |
| buildPermissionToolCallUpdate, | |
| permissionResponseToApprovalResponse, | |
| PLAN_APPROVE_OPTION_ID, | |
| PLAN_REJECT_AND_EXIT_OPTION_ID, | |
| PLAN_REVISE_OPTION_ID, | |
| REJECT_OPTION_ID, | |
| } from './approval'; | |
| export { | |
| elicitationResponseToQuestionAnswers, | |
| outcomeToQuestionAnswer, | |
| questionItemToPermissionOptions, | |
| questionRequestToElicitationParams, | |
| } from './question'; | |
| export { projectHistoryToSessionUpdates } from './replay'; | |
| export { AcpRuntimeProviderFactory } from './acp-terminal'; | |
| export type { | |
| AcpTerminalCreatedEvent, | |
| AcpTerminalCreatedListener, | |
| IAcpTerminalClient, | |
| IAcpTerminalHandle, | |
| } from './acp-fs'; | |