Download packages/agent-core-v2/src/features/btw/btwFeature.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/btw/btwFeature.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/features/btw/btwFeature.ts
-
curl -L -o btwFeature.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/btw/btwFeature.ts
493 Bytes
| import { LifecycleScope } from '#/app/scopes'; | |
| import { Feature } from '#/features/feature'; | |
| import { registerFeature } from '#/features/featureRegistry'; | |
| import { ISessionBtwService } from './btw'; | |
| import { SessionBtwService } from './btwService'; | |
| export class BtwFeature extends Feature { | |
| static override readonly name = 'btw'; | |
| constructor() { | |
| super(); | |
| this.contributeService(LifecycleScope.Session, ISessionBtwService, SessionBtwService); | |
| } | |
| } | |
| registerFeature(BtwFeature); | |