@herbertgao/pi-extensions 2026.9.3 → 2026.9.5
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 +2 -1
- package/THIRD_PARTY_NOTICES.md +25 -0
- package/node_modules/@dietrichgebert/ponytail/.qoder-plugin/plugin.json +1 -1
- package/node_modules/@dietrichgebert/ponytail/README.es.md +33 -2
- package/node_modules/@dietrichgebert/ponytail/README.ko.md +33 -2
- package/node_modules/@dietrichgebert/ponytail/README.md +49 -5
- package/node_modules/@dietrichgebert/ponytail/assets/retriever-icon.png +0 -0
- package/node_modules/@dietrichgebert/ponytail/assets/retriever-logo-dark.svg +4 -0
- package/node_modules/@dietrichgebert/ponytail/assets/retriever-logo-light.svg +4 -0
- package/node_modules/@dietrichgebert/ponytail/hooks/claude-codex-hooks.json +0 -3
- package/node_modules/@dietrichgebert/ponytail/hooks/cursor-hooks.json +17 -0
- package/node_modules/@dietrichgebert/ponytail/hooks/ponytail-activate.js +22 -3
- package/node_modules/@dietrichgebert/ponytail/hooks/ponytail-mode-tracker.js +27 -2
- package/node_modules/@dietrichgebert/ponytail/hooks/ponytail-runtime.js +61 -2
- package/node_modules/@dietrichgebert/ponytail/package.json +2 -1
- package/node_modules/@dietrichgebert/ponytail/scripts/cursor-hooks.js +135 -0
- package/node_modules/@dietrichgebert/ponytail/scripts/uninstall.js +21 -4
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/feature/reference/index.ts +33 -15
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/compact-mode.ts +3 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/default-mode.ts +16 -11
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/interaction.ts +6 -2
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/mouse/scroll.ts +23 -1
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/diff/diff-renderer.ts +88 -19
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/grouping.ts +12 -7
- package/node_modules/@herbertgao/pi-cc-extensions/extensions/renderer/tool/result.ts +98 -0
- package/node_modules/@herbertgao/pi-cc-extensions/package.json +3 -3
- package/node_modules/@herbertgao/sol-pi/src/sol-pi/extensions/online-context-compact/economics.ts +4 -4
- package/node_modules/@herbertgao/sol-pi/src/sol-pi/extensions/online-context-compact/extension.ts +41 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/ask-user-question.ts +5 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/events.ts +5 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/package.json +3 -2
- package/node_modules/@juicesharp/rpiv-ask-user-question/tool/normalize-params.ts +56 -0
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/components/option-list-view.ts +1 -1
- package/node_modules/@juicesharp/rpiv-ask-user-question/view/components/tab-bar.ts +1 -2
- package/node_modules/@pi-plugins/fast-mode/README.md +31 -44
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs +20914 -30
- package/node_modules/@pi-plugins/fast-mode/dist/index.mjs.map +1 -1
- package/node_modules/@pi-plugins/fast-mode/package.json +5 -7
- package/node_modules/@tifan/pi-copy-response/README.md +2 -2
- package/node_modules/@tifan/pi-copy-response/package.json +3 -2
- package/node_modules/@tifan/pi-inline-skills/README.md +2 -2
- package/node_modules/@tifan/pi-inline-skills/package.json +3 -2
- package/node_modules/@tifan/pi-mermaid-open/README.md +1 -1
- package/node_modules/@tifan/pi-mermaid-open/package.json +3 -2
- package/node_modules/@tifan/pi-preferred-thinking/package.json +3 -2
- package/node_modules/@tifan/pi-recap/package.json +3 -2
- package/node_modules/pi-antigravity/LICENSE +21 -0
- package/node_modules/pi-antigravity/README.md +194 -0
- package/node_modules/pi-antigravity/package.json +67 -0
- package/node_modules/pi-antigravity/src/auth/index.ts +14 -0
- package/node_modules/pi-antigravity/src/auth/oauth.ts +442 -0
- package/node_modules/pi-antigravity/src/client/client.ts +561 -0
- package/node_modules/pi-antigravity/src/client/index.ts +1 -0
- package/node_modules/pi-antigravity/src/diagnostics/diagnostics.ts +96 -0
- package/node_modules/pi-antigravity/src/diagnostics/index.ts +1 -0
- package/node_modules/pi-antigravity/src/image/image.ts +336 -0
- package/node_modules/pi-antigravity/src/image/index.ts +1 -0
- package/node_modules/pi-antigravity/src/index.ts +280 -0
- package/node_modules/pi-antigravity/src/models/discovery.ts +154 -0
- package/node_modules/pi-antigravity/src/models/grouping.ts +424 -0
- package/node_modules/pi-antigravity/src/models/index.ts +3 -0
- package/node_modules/pi-antigravity/src/models/models.ts +500 -0
- package/node_modules/pi-antigravity/src/stream/index.ts +1 -0
- package/node_modules/pi-antigravity/src/stream/stream.ts +1460 -0
- package/node_modules/pi-antigravity/src/types/enums.ts +42 -0
- package/node_modules/pi-antigravity/src/types/index.ts +2 -0
- package/node_modules/pi-antigravity/src/types/types.ts +292 -0
- package/node_modules/pi-antigravity/src/usage/index.ts +1 -0
- package/node_modules/pi-antigravity/src/usage/usage.ts +371 -0
- package/node_modules/pi-antigravity/src/utils/http.ts +91 -0
- package/node_modules/pi-antigravity/src/utils/index.ts +3 -0
- package/node_modules/pi-antigravity/src/utils/security.ts +73 -0
- package/node_modules/pi-antigravity/src/utils/util.ts +132 -0
- package/node_modules/pi-antigravity/tsconfig.json +21 -0
- package/node_modules/pi-mcp-adapter/CHANGELOG.md +78 -0
- package/node_modules/pi-mcp-adapter/README.md +125 -19
- package/node_modules/pi-mcp-adapter/agent-plugin-loader.ts +69 -30
- package/node_modules/pi-mcp-adapter/agent-plugin-provenance.ts +36 -0
- package/node_modules/pi-mcp-adapter/claude-plugin-loader.ts +365 -0
- package/node_modules/pi-mcp-adapter/commands.ts +13 -15
- package/node_modules/pi-mcp-adapter/config.ts +198 -30
- package/node_modules/pi-mcp-adapter/consent-manager.ts +40 -9
- package/node_modules/pi-mcp-adapter/direct-tool-surface.ts +250 -0
- package/node_modules/pi-mcp-adapter/direct-tools.ts +9 -228
- package/node_modules/pi-mcp-adapter/dist/agent-plugin-loader.js +74 -32
- package/node_modules/pi-mcp-adapter/dist/agent-plugin-loader.js.map +1 -1
- package/node_modules/pi-mcp-adapter/dist/agent-plugin-provenance.d.ts +1 -0
- package/node_modules/pi-mcp-adapter/dist/agent-plugin-provenance.js +31 -0
- package/node_modules/pi-mcp-adapter/dist/agent-plugin-provenance.js.map +1 -0
- package/node_modules/pi-mcp-adapter/dist/claude-plugin-loader.d.ts +9 -0
- package/node_modules/pi-mcp-adapter/dist/claude-plugin-loader.js +362 -0
- package/node_modules/pi-mcp-adapter/dist/claude-plugin-loader.js.map +1 -0
- package/node_modules/pi-mcp-adapter/dist/config.d.ts +3 -1
- package/node_modules/pi-mcp-adapter/dist/config.js +189 -27
- package/node_modules/pi-mcp-adapter/dist/config.js.map +1 -1
- package/node_modules/pi-mcp-adapter/dist/metadata-cache.js +7 -16
- package/node_modules/pi-mcp-adapter/dist/metadata-cache.js.map +1 -1
- package/node_modules/pi-mcp-adapter/dist/package-mcp-loader.js +5 -17
- package/node_modules/pi-mcp-adapter/dist/package-mcp-loader.js.map +1 -1
- package/node_modules/pi-mcp-adapter/dist/types.d.ts +30 -4
- package/node_modules/pi-mcp-adapter/dist/types.js +26 -0
- package/node_modules/pi-mcp-adapter/dist/types.js.map +1 -1
- package/node_modules/pi-mcp-adapter/dist/utils.d.ts +6 -0
- package/node_modules/pi-mcp-adapter/dist/utils.js +65 -6
- package/node_modules/pi-mcp-adapter/dist/utils.js.map +1 -1
- package/node_modules/pi-mcp-adapter/host-html-template.ts +20 -19
- package/node_modules/pi-mcp-adapter/http-ca.ts +84 -0
- package/node_modules/pi-mcp-adapter/index.ts +827 -164
- package/node_modules/pi-mcp-adapter/init.ts +48 -10
- package/node_modules/pi-mcp-adapter/lazy-loader.ts +7 -0
- package/node_modules/pi-mcp-adapter/mcp-auth-fetch.ts +113 -0
- package/node_modules/pi-mcp-adapter/mcp-auth-flow.ts +256 -77
- package/node_modules/pi-mcp-adapter/mcp-auth.ts +316 -54
- package/node_modules/pi-mcp-adapter/mcp-code.ts +45 -18
- package/node_modules/pi-mcp-adapter/mcp-install.ts +60 -0
- package/node_modules/pi-mcp-adapter/mcp-oauth-provider.ts +70 -6
- package/node_modules/pi-mcp-adapter/mcp-output-guard.ts +53 -42
- package/node_modules/pi-mcp-adapter/mcp-panel-theme.ts +104 -0
- package/node_modules/pi-mcp-adapter/mcp-panel.ts +366 -332
- package/node_modules/pi-mcp-adapter/mcp-references.ts +9 -14
- package/node_modules/pi-mcp-adapter/mcp-script-worker.mjs +3 -1
- package/node_modules/pi-mcp-adapter/mcp-setup-panel.ts +383 -341
- package/node_modules/pi-mcp-adapter/mcp-status.ts +5 -0
- package/node_modules/pi-mcp-adapter/metadata-cache.ts +7 -16
- package/node_modules/pi-mcp-adapter/namespace-tools.ts +61 -3
- package/node_modules/pi-mcp-adapter/oauth.ts +6 -2
- package/node_modules/pi-mcp-adapter/package-mcp-loader.ts +5 -17
- package/node_modules/pi-mcp-adapter/package.json +13 -3
- package/node_modules/pi-mcp-adapter/prompts.ts +35 -3
- package/node_modules/pi-mcp-adapter/proxy-modes.ts +108 -7
- package/node_modules/pi-mcp-adapter/runtime-owner.ts +16 -1
- package/node_modules/pi-mcp-adapter/sampling-handler.ts +9 -32
- package/node_modules/pi-mcp-adapter/sandbox-proxy-template.ts +20 -93
- package/node_modules/pi-mcp-adapter/server-manager.ts +227 -40
- package/node_modules/pi-mcp-adapter/session-approvals.ts +187 -0
- package/node_modules/pi-mcp-adapter/skills/mcp-scripting/SKILL.md +9 -1
- package/node_modules/pi-mcp-adapter/state.ts +10 -1
- package/node_modules/pi-mcp-adapter/tool-approval.ts +10 -22
- package/node_modules/pi-mcp-adapter/tool-metadata.ts +14 -0
- package/node_modules/pi-mcp-adapter/types.ts +57 -4
- package/node_modules/pi-mcp-adapter/ui-server.ts +36 -28
- package/node_modules/pi-mcp-adapter/utils.ts +64 -6
- package/package.json +15 -15
|
@@ -6,8 +6,7 @@ import type { StatefulView } from "../stateful-view.js";
|
|
|
6
6
|
* Per-tick projection of TabBar state. The selector
|
|
7
7
|
* (`selectTabBarProps`) hoists every render-time derivation
|
|
8
8
|
* (`allAnswered`, `answered`, `isActive`, `submitActive`) into props so
|
|
9
|
-
* `render()` is pure styling.
|
|
10
|
-
* snowflake and the inline `+ 1` magic at `props-adapter.ts:127`.
|
|
9
|
+
* `render()` is pure styling.
|
|
11
10
|
*/
|
|
12
11
|
export interface TabBarProps {
|
|
13
12
|
/** One per author-defined question, in order. */
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
# `@pi-plugins/fast-mode`
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
higher token cost.
|
|
6
|
-
|
|
7
|
-
Fast mode is a per-model opt-in: you decide which `provider/model-id` pairs it
|
|
8
|
-
applies to, and a single session toggle turns it on and off. Requests for any other
|
|
9
|
-
model are left untouched.
|
|
3
|
+
Request priority inference for selected models in
|
|
4
|
+
[pi](https://github.com/earendil-works/pi) with a session toggle.
|
|
10
5
|
|
|
11
6
|
## Install
|
|
12
7
|
|
|
@@ -14,49 +9,45 @@ model are left untouched.
|
|
|
14
9
|
pi install npm:@pi-plugins/fast-mode
|
|
15
10
|
```
|
|
16
11
|
|
|
17
|
-
|
|
12
|
+
To try it for one session without changing your settings:
|
|
18
13
|
|
|
19
14
|
```bash
|
|
20
15
|
pi -e npm:@pi-plugins/fast-mode
|
|
21
16
|
```
|
|
22
17
|
|
|
23
|
-
For local development, load it straight from this directory:
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
pi -e ./plugins/fast-mode
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Supported providers
|
|
30
|
-
|
|
31
|
-
| Provider | Mechanism |
|
|
32
|
-
| -------------- | ---------------------------------- |
|
|
33
|
-
| `openai` | `service_tier: "priority"` payload |
|
|
34
|
-
| `openai-codex` | `service_tier: "priority"` payload |
|
|
35
|
-
|
|
36
18
|
## Usage
|
|
37
19
|
|
|
38
|
-
|
|
39
|
-
/fast # toggle fast mode for this session
|
|
40
|
-
/fast on # enable
|
|
41
|
-
/fast off # disable
|
|
42
|
-
/fast status # show the current state and why it is (in)active
|
|
43
|
-
```
|
|
20
|
+
Use `/fast` to control fast mode for the current session:
|
|
44
21
|
|
|
45
|
-
|
|
22
|
+
| Command | Action |
|
|
23
|
+
| -------------- | ---------------------------------------------------------------------------- |
|
|
24
|
+
| `/fast` | Toggle fast mode. |
|
|
25
|
+
| `/fast on` | Enable fast mode. |
|
|
26
|
+
| `/fast off` | Disable fast mode. |
|
|
27
|
+
| `/fast status` | Show the current state and explain whether it applies to the selected model. |
|
|
28
|
+
|
|
29
|
+
To start a session with fast mode enabled:
|
|
46
30
|
|
|
47
31
|
```bash
|
|
48
32
|
pi --fast
|
|
49
33
|
```
|
|
50
34
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
35
|
+
Fast mode applies only to models listed in the configuration. Other models are left
|
|
36
|
+
unchanged. A `[fast mode]` indicator appears above the editor while active.
|
|
37
|
+
|
|
38
|
+
## Supported providers
|
|
39
|
+
|
|
40
|
+
| Provider | Pi provider |
|
|
41
|
+
| ------------ | -------------- |
|
|
42
|
+
| OpenAI | `openai` |
|
|
43
|
+
| OpenAI Codex | `openai-codex` |
|
|
44
|
+
|
|
45
|
+
Priority availability depends on the provider and model.
|
|
55
46
|
|
|
56
47
|
## Configuration
|
|
57
48
|
|
|
58
|
-
|
|
59
|
-
`~/.pi/agent/extensions/fast-mode.json
|
|
49
|
+
Optionally create `<agent-dir>/extensions/fast-mode.json`, typically
|
|
50
|
+
`~/.pi/agent/extensions/fast-mode.json`. The defaults are:
|
|
60
51
|
|
|
61
52
|
```json
|
|
62
53
|
{
|
|
@@ -79,16 +70,12 @@ Optional config file at `<agent-dir>/extensions/fast-mode.json` (typically
|
|
|
79
70
|
}
|
|
80
71
|
```
|
|
81
72
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
- `showStatus`: show the `[fast mode]` indicator above the editor while active.
|
|
73
|
+
| Setting | Description |
|
|
74
|
+
| ------------ | ----------------------------------------------------------------------------------------------------------- |
|
|
75
|
+
| `enabled` | Enable fast mode at session start. `/fast` changes only the current session and does not write to the file. |
|
|
76
|
+
| `models` | The exact `provider/model-id` pairs fast mode applies to. |
|
|
77
|
+
| `showStatus` | Show the status indicator while fast mode is active. |
|
|
88
78
|
|
|
89
79
|
## Notes
|
|
90
80
|
|
|
91
|
-
|
|
92
|
-
provider's pricing before leaving it enabled.
|
|
93
|
-
- If another extension already set a `service_tier` on the payload, this extension
|
|
94
|
-
leaves it alone.
|
|
81
|
+
Priority inference can cost more. Check your provider's pricing before enabling it.
|