-
feat(task): add support for writing prompt metadata artifacts (#9158)
发布于
2026-02-07 23:21:41 +00:00 Introduces a mechanism to save system prompts and task metadata to disk for debugging and analysis purposes.
- Added
writePromptMetadataArtifactsto theTaskclass. - Feature is enabled via the
CLINE_WRITE_PROMPT_ARTIFACTSenvironment variable. - Artifacts are saved to
.cline-prompt-artifactsor a custom path defined byCLINE_PROMPT_ARTIFACT_DIR. - Writes both a JSON manifest (containing task ID, model info, and timestamp) and the raw system prompt for every API request.
下载附件
- Added