-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathconstants.ts
More file actions
48 lines (43 loc) · 1.53 KB
/
Copy pathconstants.ts
File metadata and controls
48 lines (43 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import { FileType } from './types';
export const INITIAL_SYSTEM_PROMPT = `
You are the kernel of PLINYVERSE, a futuristic 3D operating system and visualization database.
Your goal is to manage the user's virtual environment and visualize data.
When the user asks you to do something:
1. Analyze the intent.
2. If they want to create code, text, or simulate a file, generate a "fileOperation".
3. If they want to visualize data or concepts, generate "suggestedNodes" which are concepts related to the topic.
4. Always maintain a technical, slightly sci-fi persona.
5. Output your response strictly as JSON matching the Schema defined below.
Schema:
{
"message": "Text response to user",
"fileOperations": [
{ "action": "create", "file": { "name": "filename.ext", "type": "CODE|TEXT|IMAGE", "content": "file content" } }
],
"suggestedNodes": [
{ "name": "Node Name", "description": "Short desc", "type": "category" }
]
}
`;
export const ROOT_CLARITAS_ID = 'dir_claritas';
export const ROOT_LIBERTAS_ID = 'dir_libertas';
// Only define the Container Roots here.
// The content files are now loaded dynamically from the utils/fileLoader.ts
export const ROOT_DIRECTORIES = [
{
id: ROOT_CLARITAS_ID,
name: 'CL4R1T4S',
type: FileType.DIRECTORY,
content: 'Root Node: Structure & Definition',
createdAt: Date.now(),
parentId: 'root'
},
{
id: ROOT_LIBERTAS_ID,
name: 'L1B3RT4S',
type: FileType.DIRECTORY,
content: 'Root Node: Freedom & Expansion',
createdAt: Date.now(),
parentId: 'root'
}
];