Download packages/agent-core-v2/src/features/debugEvents/debugEventsFeature.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 646 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/debugEvents/debugEventsFeature.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/features/debugEvents/debugEventsFeature.ts
-
curl -L -o debugEventsFeature.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/debugEvents/debugEventsFeature.ts
646 Bytes
| import { ScopeActivation } from '#/_base/di/instantiation'; | |
| import { LifecycleScope } from '#/app/scopes'; | |
| import { Feature } from '#/features/feature'; | |
| import { registerFeature } from '#/features/featureRegistry'; | |
| import { IDebugEventsService } from './debugEvents'; | |
| import { DebugEventsService } from './debugEventsService'; | |
| export class DebugEventsFeature extends Feature { | |
| static override readonly name = 'debugEvents'; | |
| constructor() { | |
| super(); | |
| this.contributeService(LifecycleScope.App, IDebugEventsService, DebugEventsService, { | |
| activation: ScopeActivation.OnDemand, | |
| }); | |
| } | |
| } | |
| registerFeature(DebugEventsFeature); | |