|
@@ -15,7 +15,7 @@ export type { ActiveAtToken } from './grammar.ts'
|
|
|
export type { FileReferenceCandidate } from './types.ts'
|
|
export type { FileReferenceCandidate } from './types.ts'
|
|
|
|
|
|
|
|
/** Model guidance for path-only references selected by a user interface. */
|
|
/** Model guidance for path-only references selected by a user interface. */
|
|
|
-export const FILE_REFERENCE_PROMPT = 'Paths prefixed with @ are files explicitly referenced by the user. Use the read tool when their contents are needed; do not claim to have inspected a file before reading it.'
|
|
|
|
|
|
|
+export const FILE_REFERENCE_PROMPT = 'Tokens prefixed with @ are workspace paths the user explicitly referenced, relative to the workspace root. A trailing slash marks a directory: list it when its contents matter. Anything else is a file: use the read tool when its contents are needed, and do not claim to have inspected it before reading. @"..." quotes a path containing spaces.'
|
|
|
|
|
|
|
|
declare module '@deepseek-ai/cordis' {
|
|
declare module '@deepseek-ai/cordis' {
|
|
|
interface Context {
|
|
interface Context {
|