Download packages/agent-core-v2/src/os/interface/hostClock.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 294 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/os/interface/hostClock.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/os/interface/hostClock.ts
-
curl -L -o hostClock.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/os/interface/hostClock.ts
294 Bytes
| import { createDecorator, type ServiceIdentifier } from '#/_base/di/instantiation'; | |
| export interface IHostClock { | |
| readonly _serviceBrand: undefined; | |
| now(): Date; | |
| timeZone(): string; | |
| } | |
| export const IHostClock: ServiceIdentifier<IHostClock> = | |
| createDecorator<IHostClock>('hostClock'); | |