pi-service-tier 0.1.2 โ†’ 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.
package/README.md CHANGED
@@ -1,19 +1,14 @@
1
1
  # โšก pi-service-tier
2
2
 
3
- A [pi](https://github.com/badlogic/pi-mono/tree/main/packages/coding-agent)
3
+ A [pi](https://github.com/earendil-works/pi-mono/tree/main/packages/coding-agent)
4
4
  extension that toggles fast mode and applies provider service tiers.
5
5
 
6
- ## ๐Ÿ“ฆ Install
6
+ ## ๐Ÿš€ Installation
7
7
 
8
- ```bash
8
+ ```sh
9
9
  pi install npm:pi-service-tier
10
10
  ```
11
11
 
12
- If you use [pi-fancy-footer](https://github.com/mavam/pi-fancy-footer), you'll
13
- get a service tier widget in the footer:
14
-
15
- ![pi-fancy-footer screenshot](screenshot.png)
16
-
17
12
  ## โœจ What it does
18
13
 
19
14
  - Adds service tier parameters to supported provider requests when a tier is
@@ -32,7 +27,7 @@ get a service tier widget in the footer:
32
27
  appears first, followed by the remaining supported providers. Press Enter or
33
28
  Space to cycle through `off` and the provider-specific tiers.
34
29
 
35
- ## โš™๏ธ Configure
30
+ ## โš™๏ธ Configuration
36
31
 
37
32
  Run `/service-tier` or create `~/.pi/agent/service-tier.json`:
38
33
 
@@ -66,6 +61,8 @@ When [pi-fancy-footer](https://github.com/mavam/pi-fancy-footer) is installed,
66
61
  the widget appears only when the active model uses a supported provider/API pair
67
62
  and that provider has a configured tier.
68
63
 
64
+ ![pi-fancy-footer screenshot](screenshot.png)
65
+
69
66
  The widget id is `pi-service-tier.service-tier`. It uses the current
70
67
  `pi-fancy-footer` extension widget API, with row `1`, order `8`, right
71
68
  alignment, and no grow behavior by default.
@@ -78,6 +75,12 @@ alignment, and no grow behavior by default.
78
75
  first-class extension path for that option, displayed usage costs can omit
79
76
  flex or priority multipliers.
80
77
 
78
+ ## ๐Ÿงน Uninstall
79
+
80
+ ```sh
81
+ pi remove npm:pi-service-tier
82
+ ```
83
+
81
84
  ## ๐Ÿ“„ License
82
85
 
83
86
  [MIT](LICENSE)
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "pi-service-tier",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Fast mode and provider service-tier controls for pi",
5
5
  "type": "module",
6
6
  "peerDependencies": {
7
- "@mariozechner/pi-coding-agent": "*",
8
- "@mariozechner/pi-tui": "*",
7
+ "@earendil-works/pi-coding-agent": "*",
8
+ "@earendil-works/pi-tui": "*",
9
9
  "typebox": "*"
10
10
  },
11
11
  "files": [
package/service-tier.ts CHANGED
@@ -3,13 +3,13 @@ import {
3
3
  type ExtensionAPI,
4
4
  type ExtensionCommandContext,
5
5
  type ExtensionContext,
6
- } from "@mariozechner/pi-coding-agent";
6
+ } from "@earendil-works/pi-coding-agent";
7
7
  import {
8
8
  Container,
9
9
  SettingsList,
10
10
  Text,
11
11
  type SettingItem,
12
- } from "@mariozechner/pi-tui";
12
+ } from "@earendil-works/pi-tui";
13
13
  import {
14
14
  DEFAULT_SERVICE_TIER_CONFIG,
15
15
  SERVICE_TIER_PROVIDER_DEFINITIONS,