osdy-pi 0.1.1 → 0.1.2

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 (2) hide show
  1. package/README.md +63 -52
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -1,97 +1,108 @@
1
- # osdy-pi
1
+ # Osdy Pi
2
2
 
3
- Pi package for the Osdy terminal experience.
3
+ <img width="1857" height="847" alt="image" src="https://github.com/user-attachments/assets/84907a2b-4913-41a1-bc6e-1840490d5404" />
4
4
 
5
- ## Features
5
+ Theme package for [Pi](https://github.com/earendil-works/pi) with the Osdy terminal style: neon pink/purple colors, a custom ASCII header, and a framed editor experience.
6
6
 
7
- - `osdy-pi-dark` neon pink/purple theme enabled by default on `session_start`.
8
- - `osdy-pi-light` neon pink/purple companion theme included.
9
- - Centered custom Osdy-Pi ASCII header with responsive Git, path, MCP, plugins, AGENTS, extensions, Pi version, and tools status.
10
- - Custom editor with four internal lines by default and smaller responsive fallback.
11
- - Full-width Osdy editor frame with complete top, bottom, and side borders in normal terminal widths.
12
- - Editor border status:
13
- - top-right: current model and thinking level;
14
- - bottom-left: input/output/cache tokens, accumulated cost, and context percentage/window.
15
- - Animation disabled.
7
+ ## What you get
16
8
 
17
- ## Install
9
+ - **Dark theme:** `osdy-pi-dark`, enabled by default when the package starts.
10
+ - **Light theme:** `osdy-pi-light`, with the same Osdy palette adapted for light terminals.
11
+ - **Custom header:** centered Osdy-Pi ASCII branding with responsive status metadata.
12
+ - **Custom editor:** full-width framed input area with model, thinking, token, cost, and context status.
13
+ - **Clean layout:** the built-in footer/working row is hidden while Osdy Pi is enabled to avoid duplicated UI.
18
14
 
19
- Pi packages are not uploaded to a separate Pi registry. They are shared through npm, git, or a local path.
15
+ <img width="1280" height="433" alt="image" src="https://github.com/user-attachments/assets/20c7624d-9ad8-4494-97fb-6b6d81aaf328" />
20
16
 
21
- ### From npm
22
17
 
23
- After publishing this package to npm:
18
+ ## Install in Pi
19
+
20
+ Install the package directly from GitHub:
24
21
 
25
22
  ```bash
26
- pi install npm:osdy-pi
23
+ pi install git:github.com/OsdyOrtiz/Osdy-Pi
27
24
  ```
28
25
 
29
- ### From GitHub
30
-
31
- After pushing this package to a GitHub repository:
26
+ Then start Pi normally:
32
27
 
33
28
  ```bash
34
- pi install git:github.com/<owner>/osdy-pi
29
+ pi
35
30
  ```
36
31
 
37
- You can also pin a tag or branch:
32
+ Osdy Pi enables the `osdy-pi-dark` theme and custom UI automatically on `session_start`.
38
33
 
39
- ```bash
40
- pi install git:github.com/<owner>/osdy-pi@v0.1.0
41
- ```
34
+ ## Choose the theme manually
42
35
 
43
- ### Local development
36
+ If you only want to switch themes, open Pi settings:
44
37
 
45
- To test this package from this repository without installing it permanently:
38
+ ```text
39
+ /settings
40
+ ```
46
41
 
47
- ```bash
48
- pi -e .
42
+ Then select one of these theme names:
43
+
44
+ ```text
45
+ osdy-pi-dark
46
+ osdy-pi-light
49
47
  ```
50
48
 
51
- To install it from a local path:
49
+ You can also set it in your Pi `settings.json`:
52
50
 
53
- ```bash
54
- pi install /absolute/path/to/osdy-pi
51
+ ```json
52
+ {
53
+ "theme": "osdy-pi-dark"
54
+ }
55
55
  ```
56
56
 
57
- ## Publishing
57
+ Use `osdy-pi-light` instead if you prefer the light version.
58
58
 
59
- ### npm
59
+ ## Commands
60
60
 
61
- ```bash
62
- npm login
63
- npm pack --dry-run
64
- npm publish
61
+ Osdy Pi includes a small command group:
62
+
63
+ ```text
64
+ /osdy-pi enable
65
+ /osdy-pi disable
66
+ /osdy-pi status
65
67
  ```
66
68
 
67
- Then verify with:
69
+ - `enable` applies the dark Osdy theme, custom header, custom editor, and clean layout.
70
+ - `disable` restores Pi's built-in header, editor, footer, and working visibility, then switches back to the previous theme or `dark`.
71
+ - `status` shows whether the Osdy Pi UI is currently enabled.
72
+
73
+ ## Local install
74
+
75
+ If you cloned this repository and want to test it locally:
68
76
 
69
77
  ```bash
70
- pi install npm:osdy-pi
78
+ pi -e .
71
79
  ```
72
80
 
73
- ### GitHub
81
+ To install it from a local path:
74
82
 
75
- Initialize the repository, commit the package, push it to GitHub, then install it with the `git:` source shown above.
83
+ ```bash
84
+ pi install /absolute/path/to/Osdy-Pi
85
+ ```
76
86
 
77
- ## Commands
87
+ ## Package contents
78
88
 
79
89
  ```text
80
- /osdy-pi enable
81
- /osdy-pi disable
82
- /osdy-pi status
90
+ themes/osdy-pi-dark.json
91
+ themes/osdy-pi-light.json
92
+ extensions/osdy-pi.ts
83
93
  ```
84
94
 
85
- `enable` applies the `osdy-pi-dark` theme, custom header, custom editor, and hides the built-in footer/working row to avoid duplicate status UI.
95
+ The Pi manifest is declared in `package.json` through `pi.themes` and `pi.extensions`, so Pi can discover the themes and extension after installation.
86
96
 
87
- `disable` restores the built-in header, editor, footer, and working visibility, then switches back to the previously captured theme or `dark`.
97
+ ## Uninstall or turn off
88
98
 
89
- ## Package resources
99
+ To temporarily turn off the custom UI inside Pi:
90
100
 
91
- The Pi manifest is declared in `package.json`:
101
+ ```text
102
+ /osdy-pi disable
103
+ ```
92
104
 
93
- - themes: `themes/osdy-pi-dark.json`, `themes/osdy-pi-light.json`
94
- - extension: `extensions/osdy-pi.ts`
105
+ To remove the package completely, use Pi's package management command for installed packages.
95
106
 
96
107
  ## License
97
108
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osdy-pi",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Osdy Pi package: themes, header, and custom editor for Pi.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -23,7 +23,8 @@
23
23
  ],
24
24
  "extensions": [
25
25
  "./extensions/osdy-pi.ts"
26
- ]
26
+ ],
27
+ "image": "https://raw.githubusercontent.com/OsdyOrtiz/Osdy-Pi/main/mapche1.png"
27
28
  },
28
29
  "peerDependencies": {
29
30
  "@earendil-works/pi-coding-agent": "*",