Download packages/agent-core-v2/src/features/notify/flag.ts from SaylorTwift/kimi-code: direct link, hf CLI and curl.
- Browser
- Download file 545 Bytes
-
https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/notify/flag.ts
- Command line
-
hf download hf://SaylorTwift/kimi-code/packages/agent-core-v2/src/features/notify/flag.ts
-
curl -L -o flag.ts https://huggingface.co/SaylorTwift/kimi-code/resolve/main/packages/agent-core-v2/src/features/notify/flag.ts
545 Bytes
| import { type FlagDefinitionInput, registerFlagDefinition } from '#/app/flag/flagRegistry'; | |
| export const NOTIFY_USER_FLAG_ID = 'notify_user'; | |
| export const NOTIFY_USER_FLAG_ENV = 'KIMI_CODE_EXPERIMENTAL_NOTIFY_USER'; | |
| export const notifyUserFlag: FlagDefinitionInput = { | |
| id: NOTIFY_USER_FLAG_ID, | |
| title: 'NotifyUser tool', | |
| description: | |
| 'Show live progress updates from the main agent and subagents in the TUI Updates panel.', | |
| env: NOTIFY_USER_FLAG_ENV, | |
| default: false, | |
| surface: 'core', | |
| }; | |
| registerFlagDefinition(notifyUserFlag); | |