@blockrun/runcode 1.6.2 → 1.6.3
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/dist/agent/context.js +14 -1
- package/package.json +1 -1
package/dist/agent/context.js
CHANGED
|
@@ -35,10 +35,23 @@ You have access to tools for reading, writing, editing files, running shell comm
|
|
|
35
35
|
- Use Bash for builds, tests, git operations, and system commands.
|
|
36
36
|
- Use WebSearch + WebFetch together to research topics.
|
|
37
37
|
|
|
38
|
+
# Safety
|
|
39
|
+
- Never write to system paths (/etc, /usr, ~/.ssh, ~/.aws).
|
|
40
|
+
- Avoid destructive git operations (force push, reset --hard) unless explicitly asked.
|
|
41
|
+
- Don't commit secrets, credentials, or .env files.
|
|
42
|
+
- When unsure about a destructive action, use AskUser to confirm.
|
|
43
|
+
|
|
38
44
|
# Communication
|
|
39
45
|
- Be concise. Lead with the answer or action.
|
|
40
46
|
- Show what you changed and why.
|
|
41
|
-
- When blocked, explain what you tried and ask for guidance
|
|
47
|
+
- When blocked, explain what you tried and ask for guidance.
|
|
48
|
+
- Use AskUser when you need clarification before proceeding with ambiguous requests.
|
|
49
|
+
|
|
50
|
+
# Slash Commands Available
|
|
51
|
+
The user can type these shortcuts: /commit, /review, /test, /fix, /debug, /explain <file>,
|
|
52
|
+
/search <query>, /find <pattern>, /refactor <desc>, /init, /todo, /deps, /diff, /status,
|
|
53
|
+
/log, /branch, /stash, /plan, /execute, /compact, /retry, /sessions, /resume, /tasks,
|
|
54
|
+
/context, /doctor, /model, /cost, /clear, /help, /exit.`;
|
|
42
55
|
/**
|
|
43
56
|
* Build the full system instructions array for a session.
|
|
44
57
|
*/
|