Download src/tools/RemoteTriggerTool/prompt.ts from chenbhao/codev: direct link, hf CLI and curl.
- Browser
- Download file 697 Bytes
-
https://huggingface.co/chenbhao/codev/resolve/e91c8197c9918ff9e5df3140e8c36282bb30e9a2/src/tools/RemoteTriggerTool/prompt.ts
- Command line
-
hf download hf://chenbhao/codev@e91c8197c9918ff9e5df3140e8c36282bb30e9a2/src/tools/RemoteTriggerTool/prompt.ts
-
curl -L -o prompt.ts https://huggingface.co/chenbhao/codev/resolve/e91c8197c9918ff9e5df3140e8c36282bb30e9a2/src/tools/RemoteTriggerTool/prompt.ts
697 Bytes
| export const REMOTE_TRIGGER_TOOL_NAME = 'RemoteTrigger' | |
| export const DESCRIPTION = | |
| 'Manage scheduled remote Claude Code agents (triggers) via the claude.ai CCR API. Auth is handled in-process — the token never reaches the shell.' | |
| export const PROMPT = `Call the claude.ai remote-trigger API. Use this instead of curl — the OAuth token is added automatically in-process and never exposed. | |
| Actions: | |
| - list: GET /v1/code/triggers | |
| - get: GET /v1/code/triggers/{trigger_id} | |
| - create: POST /v1/code/triggers (requires body) | |
| - update: POST /v1/code/triggers/{trigger_id} (requires body, partial update) | |
| - run: POST /v1/code/triggers/{trigger_id}/run | |
| The response is the raw JSON from the API.` | |