Download packages/agent-core-v2/src/session/sessionInstructions/instructionsProvider.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 923 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/session/sessionInstructions/instructionsProvider.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/session/sessionInstructions/instructionsProvider.ts
-
curl -L -o instructionsProvider.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/session/sessionInstructions/instructionsProvider.ts
923 Bytes
| import { createDecorator, type ServiceIdentifier } from '#/_base/di/instantiation'; | |
| import type { ScopeSeed } from '#/_base/di/scope'; | |
| import type { Event } from '#/_base/event'; | |
| import type { WatchChange } from '#human/utils/watch'; | |
| export interface ISessionInstructionsProvider { | |
| readonly _serviceBrand: undefined; | |
| readonly ready: Promise<void>; | |
| readonly agentsMd: string | undefined; | |
| readonly agentsMdWarning: string | undefined; | |
| readonly agentsMdPaths: readonly string[] | undefined; | |
| readonly onDidChange: Event<readonly WatchChange[]>; | |
| } | |
| export const ISessionInstructionsProvider: ServiceIdentifier<ISessionInstructionsProvider> = | |
| createDecorator<ISessionInstructionsProvider>('sessionInstructionsProvider'); | |
| export function sessionInstructionsProviderSeed( | |
| provider: ISessionInstructionsProvider, | |
| ): ScopeSeed { | |
| return [[ISessionInstructionsProvider as ServiceIdentifier<unknown>, provider]]; | |
| } | |