pi-rtk-optimizer 0.3.3 → 0.4.0

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/CHANGELOG.md CHANGED
@@ -1,67 +1,83 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
- and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
-
8
- ## [Unreleased]
9
-
10
- ## [0.3.3] - 2026-03-07
11
-
12
- ### Added
13
- - Added rewrite bypass rules for structured `gh` output commands and non-interactive container shell sessions.
14
- - Added dedicated runtime guard helpers and test coverage for rewrite-mode availability behavior.
15
- - Added repository lockfile plus additional command rewriter and runtime guard tests.
16
-
17
- ### Changed
18
- - Updated README documentation to reflect rewrite bypass behavior, runtime guard semantics, source filtering details, and expanded development verification commands.
19
- - Added a dedicated `typecheck` script and expanded `check` to run typecheck plus the full test suite.
20
- - Routed `pnpm dlx` commands through the RTK proxy path instead of the generic pnpm wrapper.
21
-
22
- ### Fixed
23
- - Improved command tokenization so `sed` scripts, shell separators, redirects, and background operators do not break later rewrites.
24
- - Preserved exact `read` output at the 80-line smart-truncation threshold instead of compacting boundary-sized results.
25
- - Preserved userscript metadata blocks during source filtering.
26
- - Limited RTK-missing command suppression to rewrite mode so suggest mode still produces guidance.
27
-
28
- ## [0.3.2] - 2026-03-04
29
-
30
- ### Fixed
31
- - Use absolute GitHub raw URL for README image to fix npm display
32
-
33
- ## [0.3.1] - 2026-03-04
34
-
35
- ### Changed
36
- - Rewrote README.md with professional documentation standards
37
- - Added comprehensive feature documentation, configuration reference, and usage examples
38
-
39
- ## [0.3.0] - 2026-03-02
40
-
41
- ### Changed
42
- - Renamed extension/package from `rtk-integration` to `pi-rtk-optimizer` to better reflect its full purpose: RTK command rewrite plus tool-output compaction optimization.
43
- - Updated extension identity references across config path resolution, modal UI labeling, installation commands, package metadata, and build check artifact naming.
44
-
45
- ## [0.2.0] - 2026-03-02
46
-
47
- ### Changed
48
- - Reorganized extension into a publish-ready package layout:
49
- - moved implementation modules into `src/`
50
- - kept root `index.ts` as stable Pi auto-discovery entrypoint
51
- - added `config/config.example.json` for distributable config starter
52
- - Vendored modal UI dependency as `src/zellij-modal.ts` so the package no longer depends on sibling extension paths.
53
- - Updated TypeScript project includes for the new modular layout.
54
-
55
- ### Added
56
- - Public repository scaffolding:
57
- - `README.md`
58
- - `CHANGELOG.md`
59
- - `LICENSE`
60
- - `.gitignore`
61
- - `.npmignore`
62
- - Distribution metadata in `package.json`:
63
- - `description`, `keywords`, `files`, `engines`, `publishConfig`, repository links
64
- - standard `build`, `lint`, `test`, and `check` scripts
65
- - Credits section referencing upstream inspiration projects:
66
- - `mcowger/pi-rtk`
67
- - `rtk-ai/rtk`
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ ## [Unreleased]
9
+
10
+ ## [0.4.0] - 2026-03-12
11
+
12
+ ### Added
13
+ - Command rewrite bypass system with safety patterns for dangerous operations
14
+ - `shouldBypassWholeCommandRewrite` to prevent rewriting of unsafe compound commands
15
+ - Bypass patterns for `find`, `grep`, `rg`, `ls` with action detection
16
+ - Inline command flag detection for `bash`, `powershell`, and `cmd` shells
17
+ - `path-utils` module for cross-technique path handling
18
+ - Comprehensive test coverage with shared test helpers
19
+ - Additional coverage tests for edge cases
20
+
21
+ ### Changed
22
+ - Extended `rewrite-bypass` with bypass patterns for interactive container shells
23
+ - Improved command rewriter test coverage
24
+ - Removed deprecated `compat-commands` module
25
+
26
+ ## [0.3.3] - 2026-03-07
27
+
28
+ ### Added
29
+ - Added rewrite bypass rules for structured `gh` output commands and non-interactive container shell sessions.
30
+ - Added dedicated runtime guard helpers and test coverage for rewrite-mode availability behavior.
31
+ - Added repository lockfile plus additional command rewriter and runtime guard tests.
32
+
33
+ ### Changed
34
+ - Updated README documentation to reflect rewrite bypass behavior, runtime guard semantics, source filtering details, and expanded development verification commands.
35
+ - Added a dedicated `typecheck` script and expanded `check` to run typecheck plus the full test suite.
36
+ - Routed `pnpm dlx` commands through the RTK proxy path instead of the generic pnpm wrapper.
37
+
38
+ ### Fixed
39
+ - Improved command tokenization so `sed` scripts, shell separators, redirects, and background operators do not break later rewrites.
40
+ - Preserved exact `read` output at the 80-line smart-truncation threshold instead of compacting boundary-sized results.
41
+ - Preserved userscript metadata blocks during source filtering.
42
+ - Limited RTK-missing command suppression to rewrite mode so suggest mode still produces guidance.
43
+
44
+ ## [0.3.2] - 2026-03-04
45
+
46
+ ### Fixed
47
+ - Use absolute GitHub raw URL for README image to fix npm display
48
+
49
+ ## [0.3.1] - 2026-03-04
50
+
51
+ ### Changed
52
+ - Rewrote README.md with professional documentation standards
53
+ - Added comprehensive feature documentation, configuration reference, and usage examples
54
+
55
+ ## [0.3.0] - 2026-03-02
56
+
57
+ ### Changed
58
+ - Renamed extension/package from `rtk-integration` to `pi-rtk-optimizer` to better reflect its full purpose: RTK command rewrite plus tool-output compaction optimization.
59
+ - Updated extension identity references across config path resolution, modal UI labeling, installation commands, package metadata, and build check artifact naming.
60
+
61
+ ## [0.2.0] - 2026-03-02
62
+
63
+ ### Changed
64
+ - Reorganized extension into a publish-ready package layout:
65
+ - moved implementation modules into `src/`
66
+ - kept root `index.ts` as stable Pi auto-discovery entrypoint
67
+ - added `config/config.example.json` for distributable config starter
68
+ - Vendored modal UI dependency as `src/zellij-modal.ts` so the package no longer depends on sibling extension paths.
69
+ - Updated TypeScript project includes for the new modular layout.
70
+
71
+ ### Added
72
+ - Public repository scaffolding:
73
+ - `README.md`
74
+ - `CHANGELOG.md`
75
+ - `LICENSE`
76
+ - `.gitignore`
77
+ - `.npmignore`
78
+ - Distribution metadata in `package.json`:
79
+ - `description`, `keywords`, `files`, `engines`, `publishConfig`, repository links
80
+ - standard `build`, `lint`, `test`, and `check` scripts
81
+ - Credits section referencing upstream inspiration projects:
82
+ - `mcowger/pi-rtk`
83
+ - `rtk-ai/rtk`