osdy-pi 0.1.1 → 0.1.3

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/README.md +62 -52
  2. package/mapche1.png +0 -0
  3. package/package.json +5 -3
package/README.md CHANGED
@@ -1,97 +1,107 @@
1
- # osdy-pi
1
+ # Osdy Pi
2
2
 
3
- Pi package for the Osdy terminal experience.
3
+ ![Osdy Pi preview](https://raw.githubusercontent.com/OsdyOrtiz/Osdy-Pi/main/mapche1.png)
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
17
+ ## Install in Pi
22
18
 
23
- After publishing this package to npm:
19
+ Install the package directly from GitHub:
24
20
 
25
21
  ```bash
26
- pi install npm:osdy-pi
22
+ pi install git:github.com/OsdyOrtiz/Osdy-Pi
27
23
  ```
28
24
 
29
- ### From GitHub
30
-
31
- After pushing this package to a GitHub repository:
25
+ Then start Pi normally:
32
26
 
33
27
  ```bash
34
- pi install git:github.com/<owner>/osdy-pi
28
+ pi
35
29
  ```
36
30
 
37
- You can also pin a tag or branch:
31
+ Osdy Pi enables the `osdy-pi-dark` theme and custom UI automatically on `session_start`.
38
32
 
39
- ```bash
40
- pi install git:github.com/<owner>/osdy-pi@v0.1.0
41
- ```
33
+ ## Choose the theme manually
34
+
35
+ If you only want to switch themes, open Pi settings:
42
36
 
43
- ### Local development
37
+ ```text
38
+ /settings
39
+ ```
44
40
 
45
- To test this package from this repository without installing it permanently:
41
+ Then select one of these theme names:
46
42
 
47
- ```bash
48
- pi -e .
43
+ ```text
44
+ osdy-pi-dark
45
+ osdy-pi-light
49
46
  ```
50
47
 
51
- To install it from a local path:
48
+ You can also set it in your Pi `settings.json`:
52
49
 
53
- ```bash
54
- pi install /absolute/path/to/osdy-pi
50
+ ```json
51
+ {
52
+ "theme": "osdy-pi-dark"
53
+ }
55
54
  ```
56
55
 
57
- ## Publishing
56
+ Use `osdy-pi-light` instead if you prefer the light version.
57
+
58
+ ## Commands
58
59
 
59
- ### npm
60
+ Osdy Pi includes a small command group:
60
61
 
61
- ```bash
62
- npm login
63
- npm pack --dry-run
64
- npm publish
62
+ ```text
63
+ /osdy-pi enable
64
+ /osdy-pi disable
65
+ /osdy-pi status
65
66
  ```
66
67
 
67
- Then verify with:
68
+ - `enable` applies the dark Osdy theme, custom header, custom editor, and clean layout.
69
+ - `disable` restores Pi's built-in header, editor, footer, and working visibility, then switches back to the previous theme or `dark`.
70
+ - `status` shows whether the Osdy Pi UI is currently enabled.
71
+
72
+ ## Local install
73
+
74
+ If you cloned this repository and want to test it locally:
68
75
 
69
76
  ```bash
70
- pi install npm:osdy-pi
77
+ pi -e .
71
78
  ```
72
79
 
73
- ### GitHub
80
+ To install it from a local path:
74
81
 
75
- Initialize the repository, commit the package, push it to GitHub, then install it with the `git:` source shown above.
82
+ ```bash
83
+ pi install /absolute/path/to/Osdy-Pi
84
+ ```
76
85
 
77
- ## Commands
86
+ ## Package contents
78
87
 
79
88
  ```text
80
- /osdy-pi enable
81
- /osdy-pi disable
82
- /osdy-pi status
89
+ themes/osdy-pi-dark.json
90
+ themes/osdy-pi-light.json
91
+ extensions/osdy-pi.ts
83
92
  ```
84
93
 
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.
94
+ 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
95
 
87
- `disable` restores the built-in header, editor, footer, and working visibility, then switches back to the previously captured theme or `dark`.
96
+ ## Uninstall or turn off
88
97
 
89
- ## Package resources
98
+ To temporarily turn off the custom UI inside Pi:
90
99
 
91
- The Pi manifest is declared in `package.json`:
100
+ ```text
101
+ /osdy-pi disable
102
+ ```
92
103
 
93
- - themes: `themes/osdy-pi-dark.json`, `themes/osdy-pi-light.json`
94
- - extension: `extensions/osdy-pi.ts`
104
+ To remove the package completely, use Pi's package management command for installed packages.
95
105
 
96
106
  ## License
97
107
 
package/mapche1.png ADDED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osdy-pi",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Osdy Pi package: themes, header, and custom editor for Pi.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,7 +14,8 @@
14
14
  "README.md",
15
15
  "LICENSE",
16
16
  "themes",
17
- "extensions"
17
+ "extensions",
18
+ "mapche1.png"
18
19
  ],
19
20
  "pi": {
20
21
  "themes": [
@@ -23,7 +24,8 @@
23
24
  ],
24
25
  "extensions": [
25
26
  "./extensions/osdy-pi.ts"
26
- ]
27
+ ],
28
+ "image": "https://raw.githubusercontent.com/OsdyOrtiz/Osdy-Pi/main/mapche1.png"
27
29
  },
28
30
  "peerDependencies": {
29
31
  "@earendil-works/pi-coding-agent": "*",