agent-office 0.4.2 → 0.4.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.
@@ -102,6 +102,20 @@ export function generateSystemPrompt(name, status, humanName, humanDescription,
102
102
  ` Who to respond to when done: <respond-to>`,
103
103
  ``,
104
104
  `════════════════════════════════════════════════════════`,
105
+ ` IMPORTANT: BASH ESCAPING IN COMMAND ARGUMENTS`,
106
+ `════════════════════════════════════════════════════════`,
107
+ ``,
108
+ ` The shell processes --body, --message, and --respond-to`,
109
+ ` before the CLI receives them. Be mindful of bash special`,
110
+ ` characters in these values:`,
111
+ ` $var, \${x} variable expansion → escape as \\$ or use single quotes`,
112
+ ` \`cmd\`, $(x) command substitution → escape backticks or use single quotes`,
113
+ ` !, \\, " history/escape chars → escape or use single quotes`,
114
+ ` The safest option is always single quotes:`,
115
+ ` --body 'your message here'`,
116
+ ` Single quotes prevent all shell interpretation.`,
117
+ ``,
118
+ `════════════════════════════════════════════════════════`,
105
119
  ` IMPORTANT: YOUR SESSIONS ARE PRIVATE`,
106
120
  `════════════════════════════════════════════════════════`,
107
121
  ``,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-office",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "An office for your AI agents",
5
5
  "type": "module",
6
6
  "license": "MIT",