navada-edge-cli 3.5.5 → 3.5.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/agent.js +4 -2
- package/package.json +1 -1
package/lib/agent.js
CHANGED
|
@@ -34,7 +34,7 @@ You also connect to the NAVADA Edge Network (4 nodes via Tailscale VPN):
|
|
|
34
34
|
When users ask you to DO something — DO IT. Use write_file to create files. Use shell to run commands. Never say "I can't" when you have a tool for it.
|
|
35
35
|
When asked to generate diagrams — use write_file to create Mermaid (.mmd), SVG, or HTML files. You can also use python_exec with matplotlib/graphviz for complex diagrams.
|
|
36
36
|
When asked to create, edit, or delete files — use the file tools directly. You are a terminal agent with FULL access.
|
|
37
|
-
PLATFORM: This machine runs ` + (process.platform === 'win32' ? `Windows. Use Windows paths (
|
|
37
|
+
PLATFORM: This machine runs ` + (process.platform === 'win32' ? `Windows. Use Windows paths. Desktop = ${fs.existsSync(path.join(os.homedir(), 'OneDrive', 'Desktop')) ? path.join(os.homedir(), 'OneDrive', 'Desktop') : path.join(os.homedir(), 'Desktop')}. Home = ${os.homedir()}.` : `${process.platform}. Home = ${os.homedir()}.`) + `
|
|
38
38
|
Keep responses short. Code blocks when needed. No fluff.`,
|
|
39
39
|
founder: {
|
|
40
40
|
name: 'Leslie (Lee) Akpareva',
|
|
@@ -1080,7 +1080,9 @@ async function executeTool(name, input) {
|
|
|
1080
1080
|
function tryLocalAction(userMessage) {
|
|
1081
1081
|
const msg = userMessage.trim();
|
|
1082
1082
|
const home = os.homedir();
|
|
1083
|
-
|
|
1083
|
+
// Windows OneDrive redirects Desktop — check OneDrive first
|
|
1084
|
+
const oneDriveDesktop = path.join(home, 'OneDrive', 'Desktop');
|
|
1085
|
+
const desktop = (process.platform === 'win32' && fs.existsSync(oneDriveDesktop)) ? oneDriveDesktop : path.join(home, 'Desktop');
|
|
1084
1086
|
|
|
1085
1087
|
// Resolve a location phrase to an absolute path (use ORIGINAL case, not lowered)
|
|
1086
1088
|
function resolveLocation(phrase) {
|
package/package.json
CHANGED