@jx-grxf/patchpilot 0.4.0 → 1.0.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.
Files changed (72) hide show
  1. package/.env.example +17 -1
  2. package/README.md +69 -14
  3. package/SECURITY.md +7 -1
  4. package/dist/cli.js +59 -13
  5. package/dist/cli.js.map +1 -1
  6. package/dist/core/agent.d.ts +3 -0
  7. package/dist/core/agent.js +56 -12
  8. package/dist/core/agent.js.map +1 -1
  9. package/dist/core/cleanup.d.ts +3 -0
  10. package/dist/core/cleanup.js +29 -0
  11. package/dist/core/cleanup.js.map +1 -0
  12. package/dist/core/doctor.d.ts +4 -1
  13. package/dist/core/doctor.js +119 -1
  14. package/dist/core/doctor.js.map +1 -1
  15. package/dist/core/geminiWrapper.d.ts +51 -0
  16. package/dist/core/geminiWrapper.js +718 -0
  17. package/dist/core/geminiWrapper.js.map +1 -0
  18. package/dist/core/json.js +65 -1
  19. package/dist/core/json.js.map +1 -1
  20. package/dist/core/memory.d.ts +16 -0
  21. package/dist/core/memory.js +108 -0
  22. package/dist/core/memory.js.map +1 -0
  23. package/dist/core/modelClient.js +7 -0
  24. package/dist/core/modelClient.js.map +1 -1
  25. package/dist/core/nvidia.js +1 -1
  26. package/dist/core/nvidia.js.map +1 -1
  27. package/dist/core/projectInit.d.ts +6 -0
  28. package/dist/core/projectInit.js +44 -0
  29. package/dist/core/projectInit.js.map +1 -0
  30. package/dist/core/reasoning.js +3 -0
  31. package/dist/core/reasoning.js.map +1 -1
  32. package/dist/core/session.d.ts +1 -0
  33. package/dist/core/session.js +46 -0
  34. package/dist/core/session.js.map +1 -1
  35. package/dist/core/types.d.ts +9 -4
  36. package/dist/core/workspace.d.ts +8 -0
  37. package/dist/core/workspace.js +293 -21
  38. package/dist/core/workspace.js.map +1 -1
  39. package/dist/tui/App.js +536 -69
  40. package/dist/tui/App.js.map +1 -1
  41. package/dist/tui/commands.js +35 -6
  42. package/dist/tui/commands.js.map +1 -1
  43. package/dist/tui/components/CommandSuggestions.js +8 -3
  44. package/dist/tui/components/CommandSuggestions.js.map +1 -1
  45. package/dist/tui/components/Composer.js +1 -1
  46. package/dist/tui/components/Composer.js.map +1 -1
  47. package/dist/tui/components/ExperimentalPanel.d.ts +10 -0
  48. package/dist/tui/components/ExperimentalPanel.js +33 -0
  49. package/dist/tui/components/ExperimentalPanel.js.map +1 -0
  50. package/dist/tui/components/Header.js +3 -3
  51. package/dist/tui/components/Header.js.map +1 -1
  52. package/dist/tui/components/OnboardingPanel.d.ts +13 -1
  53. package/dist/tui/components/OnboardingPanel.js +23 -9
  54. package/dist/tui/components/OnboardingPanel.js.map +1 -1
  55. package/dist/tui/components/Sidebar.js +17 -13
  56. package/dist/tui/components/Sidebar.js.map +1 -1
  57. package/dist/tui/components/Transcript.js +2 -2
  58. package/dist/tui/components/Transcript.js.map +1 -1
  59. package/dist/tui/format.js +7 -7
  60. package/dist/tui/format.js.map +1 -1
  61. package/dist/tui/modes.d.ts +1 -1
  62. package/dist/tui/modes.js +8 -2
  63. package/dist/tui/modes.js.map +1 -1
  64. package/docs/gemini-wrapper.md +87 -0
  65. package/docs/releases/v0.1.1-beta.md +18 -0
  66. package/docs/releases/v0.2.1.md +1 -1
  67. package/docs/releases/v0.3.1-beta.md +4 -0
  68. package/docs/releases/v0.4.0.md +1 -1
  69. package/docs/releases/v1.0.0.md +28 -0
  70. package/docs/showcase/patchpilot-banner.png +0 -0
  71. package/docs/showcase/patchpilot-logo.png +0 -0
  72. package/package.json +5 -2
@@ -0,0 +1,28 @@
1
+ # PatchPilot v1.0.0
2
+
3
+ ## Highlights
4
+
5
+ - Promotes PatchPilot to the first stable CLI release for visible, permissioned coding-agent runs across local, remote, and cloud model routes.
6
+ - Finishes the Gemini-Wrapper provider path with explicit cookie onboarding, manual/auto model modes, pinned managed bridge installation, and clearer failure messages.
7
+ - Adds real session resume context injection, model-driven `/init`, `/cleanup`, `/doctor fix`, and opt-in `/experimental` controls for subagents, file analysis, and memory.
8
+ - Improves the TUI with readable transcript text, scrollable command and session panes, bottom-aligned transcript rendering, approval key isolation, and clearer token/cost/cache labels.
9
+
10
+ ## Fixed
11
+
12
+ - Fixed a permission escalation bug where `--apply`, `/write on`, or `/shell on` could collapse into full build+bypass mode. Partial permissions now stay partial; bypass only applies to explicitly enabled permission groups.
13
+ - Fixed shell confinement by blocking absolute shell path arguments outside the workspace and by detecting dangerous `git`/`npm` subcommands even after global options such as `git -C .` or `npm --prefix .`.
14
+ - Fixed stale `/experimental` toggles by making agent runs observe the latest file-analysis and memory settings.
15
+ - Fixed Gemini-Wrapper bridge timeout conversion so Python receives the configured seconds budget instead of a shortened fraction.
16
+ - Fixed Gemini-Wrapper startup so normal chat runs no longer install unpinned Python packages at runtime.
17
+
18
+ ## Improved
19
+
20
+ - External file analysis now requires per-path approval and still rejects sensitive paths after resolution.
21
+ - `memory_remember` is treated as a durable write and requires write approval before persisting notes in SQLite.
22
+ - `/init` now asks the selected model to inspect the repository and write project-specific `PATCHPILOT.md` guidance instead of emitting generic boilerplate.
23
+ - Gemini-Wrapper documentation and README copy now label the route as advanced, unofficial, and explicit about session-cookie risk.
24
+ - npm metadata now points to the public PatchPilot project page.
25
+
26
+ ## Pull Requests
27
+
28
+ - #20 Harden Gemini-Wrapper, TUI sessions, experimental tools, and v1 release posture.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jx-grxf/patchpilot",
3
- "version": "0.4.0",
3
+ "version": "1.0.0",
4
4
  "private": false,
5
5
  "description": "Local-first coding agent TUI for visible, permissioned repo changes.",
6
6
  "type": "module",
@@ -10,7 +10,10 @@
10
10
  "files": [
11
11
  "dist",
12
12
  ".env.example",
13
+ "docs/gemini-wrapper.md",
13
14
  "docs/releases",
15
+ "docs/showcase/patchpilot-banner.png",
16
+ "docs/showcase/patchpilot-logo.png",
14
17
  "docs/showcase/patchpilot-showcase.svg",
15
18
  "README.md",
16
19
  "SECURITY.md",
@@ -26,7 +29,7 @@
26
29
  "bugs": {
27
30
  "url": "https://github.com/jx-grxf/PatchPilot/issues"
28
31
  },
29
- "homepage": "https://github.com/jx-grxf/PatchPilot#readme",
32
+ "homepage": "https://johannesgrof.me/projects/patchpilot/",
30
33
  "scripts": {
31
34
  "clean": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
32
35
  "dev": "tsx src/cli.tsx",