Download packages/agent-core-v2/src/os/interface/hostEnvironment.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 713 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/os/interface/hostEnvironment.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/os/interface/hostEnvironment.ts
-
curl -L -o hostEnvironment.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/os/interface/hostEnvironment.ts
713 Bytes
| import { createDecorator, type ServiceIdentifier } from '#/_base/di/instantiation'; | |
| import type { | |
| HostEnvironmentInfo, | |
| OsKind, | |
| PathClass, | |
| ShellName, | |
| } from '#/_base/execEnv/environmentProbe'; | |
| export type { HostEnvironmentInfo, OsKind, PathClass, ShellName }; | |
| export interface IHostEnvironment { | |
| readonly _serviceBrand: undefined; | |
| readonly osKind: OsKind; | |
| readonly osArch: string; | |
| readonly osVersion: string; | |
| readonly shellName: ShellName; | |
| readonly shellPath: string; | |
| readonly pathClass: PathClass; | |
| readonly homeDir: string; | |
| readonly ready: Promise<void>; | |
| } | |
| export const IHostEnvironment: ServiceIdentifier<IHostEnvironment> = | |
| createDecorator<IHostEnvironment>('hostEnvironment'); | |