Download packages/agent-core-v2/src/runtime/runtimeProvider.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 565 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/runtime/runtimeProvider.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/runtime/runtimeProvider.ts
-
curl -L -o runtimeProvider.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/runtime/runtimeProvider.ts
565 Bytes
| import type { Workspace } from '#/app/workspace/workspace'; | |
| import type { RuntimeProviderHost, RuntimeUnitImports } from './runtimeUnitHost'; | |
| export interface RuntimeProviderAttachment { | |
| dispose(): void | Promise<void>; | |
| } | |
| export interface RuntimeProviderContext { | |
| readonly id: string; | |
| readonly root: string; | |
| readonly metadata: Workspace; | |
| } | |
| export interface RuntimeProviderFactory { | |
| readonly id: string; | |
| readonly imports: RuntimeUnitImports; | |
| attach(context: RuntimeProviderContext, host: RuntimeProviderHost): Promise<RuntimeProviderAttachment>; | |
| } | |