summaryrefslogtreecommitdiffhomepage
path: root/packages/system-prompt/src/catalog.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/system-prompt/src/catalog.ts')
-rw-r--r--packages/system-prompt/src/catalog.ts36
1 files changed, 18 insertions, 18 deletions
diff --git a/packages/system-prompt/src/catalog.ts b/packages/system-prompt/src/catalog.ts
index 1c825ab..f4df390 100644
--- a/packages/system-prompt/src/catalog.ts
+++ b/packages/system-prompt/src/catalog.ts
@@ -8,22 +8,22 @@
import type { SystemPromptVariable } from "@dispatch/transport-contract";
export function getVariableCatalog(): SystemPromptVariable[] {
- return [
- { type: "system", name: "time", description: "Current time in ISO 8601 format" },
- { type: "system", name: "date", description: "Current date (YYYY-MM-DD)" },
- { type: "system", name: "os", description: "Operating system platform" },
- { type: "system", name: "hostname", description: "Machine hostname" },
- { type: "prompt", name: "cwd", description: "Conversation working directory" },
- { type: "prompt", name: "model", description: "Current model name" },
- { type: "prompt", name: "conversation_id", description: "Conversation identifier" },
- { type: "prompt", name: "workspace_id", description: "Workspace identifier" },
- { type: "git", name: "branch", description: "Current git branch" },
- { type: "git", name: "status", description: "Short git status" },
- {
- type: "file",
- name: "<path>",
- description: "Contents of a file (relative to cwd, or absolute if it starts with /)",
- dynamic: true,
- },
- ];
+ return [
+ { type: "system", name: "time", description: "Current time in ISO 8601 format" },
+ { type: "system", name: "date", description: "Current date (YYYY-MM-DD)" },
+ { type: "system", name: "os", description: "Operating system platform" },
+ { type: "system", name: "hostname", description: "Machine hostname" },
+ { type: "prompt", name: "cwd", description: "Conversation working directory" },
+ { type: "prompt", name: "model", description: "Current model name" },
+ { type: "prompt", name: "conversation_id", description: "Conversation identifier" },
+ { type: "prompt", name: "workspace_id", description: "Workspace identifier" },
+ { type: "git", name: "branch", description: "Current git branch" },
+ { type: "git", name: "status", description: "Short git status" },
+ {
+ type: "file",
+ name: "<path>",
+ description: "Contents of a file (relative to cwd, or absolute if it starts with /)",
+ dynamic: true,
+ },
+ ];
}