@pikaa-ai/pikaa 0.3.21 → 0.3.22

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/cli.js CHANGED
@@ -1084,6 +1084,9 @@ class EphemeralWorkspaceManager {
1084
1084
  /^scratch_/i,
1085
1085
  /^temp_/i,
1086
1086
  /^preview_.*\.html$/i,
1087
+ /.*_log\.txt$/i,
1088
+ /\.log$/i,
1089
+ /^check\.(ps1|bat|cmd|sh)$/i,
1087
1090
  /\.tmp$/i,
1088
1091
  /\.bak$/i,
1089
1092
  /~$/i
@@ -6632,7 +6635,7 @@ function parsePatch(oldSrc, newSrc, contextLines = 3) {
6632
6635
  // package.json
6633
6636
  var package_default = {
6634
6637
  name: "@pikaa-ai/pikaa",
6635
- version: "0.3.21",
6638
+ version: "0.3.22",
6636
6639
  description: "PIKAA CLI - AI coding agent that runs locally in your terminal.",
6637
6640
  main: "./dist/index.js",
6638
6641
  module: "./dist/index.js",
package/dist/index.js CHANGED
@@ -2367,6 +2367,9 @@ class EphemeralWorkspaceManager {
2367
2367
  /^scratch_/i,
2368
2368
  /^temp_/i,
2369
2369
  /^preview_.*\.html$/i,
2370
+ /.*_log\.txt$/i,
2371
+ /\.log$/i,
2372
+ /^check\.(ps1|bat|cmd|sh)$/i,
2370
2373
  /\.tmp$/i,
2371
2374
  /\.bak$/i,
2372
2375
  /~$/i
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pikaa-ai/pikaa",
3
- "version": "0.3.21",
3
+ "version": "0.3.22",
4
4
  "description": "PIKAA CLI - AI coding agent that runs locally in your terminal.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -17,12 +17,13 @@ All AI agents, sub-agents, and domain skills must adhere to these non-negotiable
17
17
  NEVER DUMP TEMPORARY, SCRATCH, OR DRAFT FILES INTO THE WORKSPACE ROOT OR RANDOM FOLDERS.
18
18
  ```
19
19
 
20
- * ❌ **Forbidden Patterns**:
21
- * `temp_*`, `tmp_*`, `scratch_*`, `draft_*`, `sandbox_*`
22
- * `test_preview.html`, `design_draft.tsx`, `preview.html`, `mock_*.json`
23
- * One-off scripts dumped into root directory (`test.js`, `run.py`, `script.sh`)
20
+ * ❌ **Forbidden Anti-Patterns**:
21
+ * Temporary scripts or logs in project root: `build_log.txt`, `dev_log.txt`, `output.log`, `*.log`, `*_log.txt`, `check.ps1`, `test.ps1`, `script.sh`
22
+ * Command output redirection to files (e.g. `npm run build > build_log.txt 2>&1`)
23
+ * `temp_*`, `tmp_*`, `scratch_*`, `draft_*`, `sandbox_*`, `test_preview.html`, `preview.html`, `mock_*.json`
24
24
  * ✅ **Mandatory Practice**:
25
- * Implement code **in-place** directly within the project's real directory architecture (e.g., `src/components/`, `src/pages/`, `lib/`, `tests/`).
25
+ * **Direct Command Execution**: Run build, test, and verification commands directly via the `shell` tool and inspect standard output / standard error directly from the returned tool output. Never dump stdout/stderr into `.txt` or `.log` files.
26
+ * **In-Place Architecture**: Implement code directly within the project's real directory architecture (e.g., `components/`, `src/components/`, `app/`, `lib/`, `tests/`).
26
27
  * If a file path is ambiguous, inspect existing project structure (`list_dir`, `find_files`) to locate the correct directory before writing.
27
28
 
28
29
  ---
@@ -12,9 +12,10 @@ You are Groupy, an expert autonomous AI coding assistant. You are running as a c
12
12
 
13
13
  ## Global Guardian Rails (Zero-Pollution & Workspace Integrity)
14
14
 
15
- - **ABSOLUTE BAN ON TEMPORARY / SCRATCH FILES**:
15
+ - **ABSOLUTE BAN ON TEMPORARY / SCRATCH / LOG FILES**:
16
16
  * **NEVER** create temporary, draft, or scratch files in the workspace root or arbitrary subfolders (e.g., `temp_*`, `tmp_*`, `scratch_*`, `draft_*`, `preview.html`, `test_design.*`, `sandbox_*`, `mock_*.json`).
17
- * **MANDATORY IN-PLACE EDITING**: All new code, UI components, styles, or scripts must be written directly into the actual project's intended architecture (e.g. `src/components/`, `src/views/`, `app/`, `lib/`, `tests/`).
17
+ * **NO LOG DUMPING & NO SCRIPT WRAPPERS**: Do NOT redirect command output to log files (e.g. `npm run build > build_log.txt`) or create temporary helper scripts in root (e.g. `check.ps1`, `test.bat`, `run.sh`). Run all commands directly via the `shell` tool and read stdout/stderr directly from the tool output.
18
+ * **MANDATORY IN-PLACE EDITING**: All new code, UI components, styles, or scripts must be written directly into the actual project's intended architecture (e.g. `src/components/`, `components/`, `app/`, `lib/`, `tests/`).
18
19
  * **FRONTEND & DESIGN RULE**: When asked to design UI or pages, implement production-grade components directly inside the project's source tree matching existing framework patterns. Do NOT dump standalone preview HTML/JSX files in root.
19
20
  * **SELF-CLEANUP PROTOCOL**: If any transient test script/artifact is absolutely required for a one-off sanity run, it MUST be removed before concluding the turn.
20
21
  * **NO TRASH LEFT BEHIND**: Before reporting completion, ensure the workspace is clean and unpolluted (`git status`).