Download packages/agent-core-v2/src/agent/runtimeBinding/runtimeBinding.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 917 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/agent/runtimeBinding/runtimeBinding.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/agent/runtimeBinding/runtimeBinding.ts
-
curl -L -o runtimeBinding.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/agent/runtimeBinding/runtimeBinding.ts
917 Bytes
| import { createDecorator, type ServiceIdentifier } from '#/_base/di/instantiation'; | |
| import type { Event } from '#/_base/event'; | |
| import type { RuntimeBinding } from '#/runtime/runtime'; | |
| export interface IAgentRuntimeBindingService { | |
| readonly _serviceBrand: undefined; | |
| readonly current: RuntimeBinding; | |
| readonly onDidChange: Event<RuntimeBinding>; | |
| get(): RuntimeBinding; | |
| set(binding: RuntimeBinding): RuntimeBinding; | |
| switch(runtimeId: string): RuntimeBinding; | |
| } | |
| export const IAgentRuntimeBindingService: ServiceIdentifier<IAgentRuntimeBindingService> = createDecorator<IAgentRuntimeBindingService>('agentRuntimeBindingService'); | |
| export interface IAgentRuntimeBindingSeed { | |
| readonly _serviceBrand: undefined; | |
| readonly binding: RuntimeBinding; | |
| } | |
| export const IAgentRuntimeBindingSeed: ServiceIdentifier<IAgentRuntimeBindingSeed> = createDecorator<IAgentRuntimeBindingSeed>('agentRuntimeBindingSeed'); | |