@hasna/terminal 1.3.3 → 1.3.4

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.
Files changed (3) hide show
  1. package/dist/ai.js +1 -0
  2. package/package.json +1 -1
  3. package/src/ai.ts +1 -0
package/dist/ai.js CHANGED
@@ -172,6 +172,7 @@ RULES:
172
172
  - For "show who changed each line" use git blame, for "show remote urls" use git remote -v
173
173
  - For text search in code, use grep -rn, NOT nm or objdump (those are for compiled binaries)
174
174
  - On macOS: for memory use vm_stat or top -l 1, for disk use df -h, for processes use ps aux
175
+ - macOS uses BSD tools, NOT GNU. Use: du -d 1 (not --max-depth), ls (not ls --color), sort -r (not sort --reverse), ps aux (not ps --sort)
175
176
  - NEVER invent commands that don't exist. Stick to standard Unix/macOS commands.
176
177
  - NEVER install packages (npx, npm install, pip install, brew install). This is a READ-ONLY terminal.
177
178
  - NEVER modify source code (sed -i, codemod, awk with redirect). Only observe, never change.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hasna/terminal",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "description": "Smart terminal wrapper for AI agents and humans — structured output, token compression, MCP server, natural language",
5
5
  "type": "module",
6
6
  "bin": {
package/src/ai.ts CHANGED
@@ -207,6 +207,7 @@ RULES:
207
207
  - For "show who changed each line" use git blame, for "show remote urls" use git remote -v
208
208
  - For text search in code, use grep -rn, NOT nm or objdump (those are for compiled binaries)
209
209
  - On macOS: for memory use vm_stat or top -l 1, for disk use df -h, for processes use ps aux
210
+ - macOS uses BSD tools, NOT GNU. Use: du -d 1 (not --max-depth), ls (not ls --color), sort -r (not sort --reverse), ps aux (not ps --sort)
210
211
  - NEVER invent commands that don't exist. Stick to standard Unix/macOS commands.
211
212
  - NEVER install packages (npx, npm install, pip install, brew install). This is a READ-ONLY terminal.
212
213
  - NEVER modify source code (sed -i, codemod, awk with redirect). Only observe, never change.