@maxmo74/pi-coding-agent 1.4.0-max.3 → 1.4.0-max.4
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/CHANGELOG.md +0 -32
- package/dist/bundle/chunks/anthropic-messages-5FHV3XZG.js +6 -0
- package/dist/bundle/chunks/azure-openai-responses-KLTRI2FU.js +2 -0
- package/dist/bundle/chunks/bedrock-converse-stream.js +4 -7
- package/dist/bundle/chunks/chunk-3V45WARH.js +7 -0
- package/dist/bundle/chunks/chunk-4GGCU36O.js +11 -0
- package/dist/bundle/chunks/{chunk-V4LJ5IY6.js → chunk-A45IWOC6.js} +2 -2
- package/dist/bundle/chunks/{chunk-UH6VPJL7.js → chunk-A4UDE7GM.js} +59 -69
- package/dist/bundle/chunks/{chunk-RFUP4YGP.js → chunk-EGE5YVUM.js} +2 -2
- package/dist/bundle/chunks/chunk-H76KZMOI.js +2 -0
- package/dist/bundle/chunks/{chunk-KFM2CJ7Q.js → chunk-INGZIYBC.js} +1 -1
- package/dist/bundle/chunks/{chunk-AFNTYPTW.js → chunk-IUWY2KTF.js} +6 -7
- package/dist/bundle/chunks/{chunk-HQBQWHLD.js → chunk-N43LRJ4N.js} +2 -2
- package/dist/bundle/chunks/chunk-NFLURVK3.js +2 -0
- package/dist/bundle/chunks/{chunk-XPUTTZLN.js → chunk-QSDU2SDK.js} +4 -4
- package/dist/bundle/chunks/{chunk-HODJBMOY.js → chunk-RISAW7OQ.js} +1 -1
- package/dist/bundle/chunks/{chunk-ZN2R65UF.js → chunk-RWO6Q3KK.js} +1 -1
- package/dist/bundle/chunks/{chunk-N6ZHTIEL.js → chunk-S3C5CJSN.js} +1 -1
- package/dist/bundle/chunks/{chunk-LAMEVJ4W.js → chunk-T726RZZU.js} +13 -14
- package/dist/bundle/chunks/chunk-TEPMHNKQ.js +2 -0
- package/dist/bundle/chunks/{chunk-M3LEVT3X.js → chunk-TRERZKRC.js} +1 -1
- package/dist/bundle/chunks/{chunk-QTM7S6TH.js → chunk-Z6I32PHA.js} +1 -1
- package/dist/bundle/chunks/{cli-QUXYJ5RR.js → cli-MIMUTM5L.js} +1 -1
- package/dist/bundle/chunks/{cloudflare-workers-ai-system-one-QPZQRBK5.js → cloudflare-workers-ai-system-one-7J6REGDV.js} +1 -1
- package/dist/bundle/chunks/{easter-egg-3d-RD5RBYI2.js → easter-egg-3d-RMLF7AC4.js} +1 -1
- package/dist/bundle/chunks/{execute-XTJDRV75.js → execute-MT7QEDSI.js} +1 -1
- package/dist/bundle/chunks/github-copilot.js +1 -1
- package/dist/bundle/chunks/{google-generative-ai-J3K3YPN3.js → google-generative-ai-VPNFZDHO.js} +1 -1
- package/dist/bundle/chunks/{google-vertex-VFXOTBVP.js → google-vertex-ZFM23MQ4.js} +1 -1
- package/dist/bundle/chunks/kimi-coding.js +1 -1
- package/dist/bundle/chunks/{llama-cpp-classify-4KFSGAMH.js → llama-cpp-classify-U4EH6TAM.js} +1 -1
- package/dist/bundle/chunks/meta.js +1 -1
- package/dist/bundle/chunks/mistral-conversations-WCAJTBXO.js +5 -0
- package/dist/bundle/chunks/{openai-codex-responses-H2UJSVV3.js → openai-codex-responses-JQR3IK2C.js} +1 -1
- package/dist/bundle/chunks/openai-completions-27RKPL37.js +7 -0
- package/dist/bundle/chunks/{openai-decisions-O6PHBSCB.js → openai-decisions-MJYPUCLX.js} +1 -1
- package/dist/bundle/chunks/{openai-responses-JOYMWKMB.js → openai-responses-I2TBW7OL.js} +1 -1
- package/dist/bundle/chunks/{openrouter-images-4WG6OOLH.js → openrouter-images-WBAVKHHY.js} +1 -1
- package/dist/bundle/chunks/pi-messages-S7RKCD5K.js +8 -0
- package/dist/bundle/chunks/radius.js +1 -1
- package/dist/bundle/chunks/{runtime-YKR6KZPS.js → runtime-GJOZRI5I.js} +1 -1
- package/dist/bundle/chunks/{typesafe-system-one-X3JT6ECA.js → typesafe-system-one-4C7ULOVP.js} +1 -1
- package/dist/bundle/chunks/{virtual-modules-TW6KBQM5.js → virtual-modules-S75NU3SZ.js} +1 -1
- package/dist/bundle/cli-runtime.js +1 -1
- package/dist/bundle/index.js +1 -1
- package/dist/bundle/rpc-entry.js +1 -1
- package/dist/cli/args.js +2 -2
- package/dist/cli/args.js.map +1 -1
- package/dist/core/agent-session.d.ts +1 -6
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +1 -19
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +1 -3
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js +1 -4
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/exec.d.ts +1 -9
- package/dist/core/exec.d.ts.map +1 -1
- package/dist/core/exec.js +60 -104
- package/dist/core/exec.js.map +1 -1
- package/dist/core/export-html/template.css +0 -9
- package/dist/core/export-html/template.js +45 -165
- package/dist/core/extensions/types.d.ts +1 -13
- package/dist/core/extensions/types.d.ts.map +1 -1
- package/dist/core/extensions/types.js.map +1 -1
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +10 -16
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/package-manager.d.ts +0 -9
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +21 -72
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/pi-manifest.d.ts +0 -1
- package/dist/core/pi-manifest.d.ts.map +1 -1
- package/dist/core/pi-manifest.js +0 -4
- package/dist/core/pi-manifest.js.map +1 -1
- package/dist/core/resource-loader.d.ts +1 -3
- package/dist/core/resource-loader.d.ts.map +1 -1
- package/dist/core/resource-loader.js +4 -20
- package/dist/core/resource-loader.js.map +1 -1
- package/dist/core/sdk.d.ts.map +1 -1
- package/dist/core/sdk.js +1 -3
- package/dist/core/sdk.js.map +1 -1
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +6 -23
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/settings-manager.d.ts +0 -2
- package/dist/core/settings-manager.d.ts.map +1 -1
- package/dist/core/settings-manager.js +0 -11
- package/dist/core/settings-manager.js.map +1 -1
- package/dist/core/settings-schema.d.ts +0 -1
- package/dist/core/settings-schema.d.ts.map +1 -1
- package/dist/core/settings-schema.js +0 -3
- package/dist/core/settings-schema.js.map +1 -1
- package/dist/core/source-info.d.ts +0 -7
- package/dist/core/source-info.d.ts.map +1 -1
- package/dist/core/source-info.js +0 -8
- package/dist/core/source-info.js.map +1 -1
- package/dist/core/tools/grep.js +1 -1
- package/dist/core/tools/grep.js.map +1 -1
- package/dist/core/usage-totals.d.ts.map +1 -1
- package/dist/core/usage-totals.js +0 -2
- package/dist/core/usage-totals.js.map +1 -1
- package/dist/extensions/codemode/tool.d.ts.map +1 -1
- package/dist/extensions/codemode/tool.js +8 -33
- package/dist/extensions/codemode/tool.js.map +1 -1
- package/dist/extensions/llama/ui.d.ts.map +1 -1
- package/dist/extensions/llama/ui.js +4 -16
- package/dist/extensions/llama/ui.js.map +1 -1
- package/dist/extensions/mcp/ui.d.ts +0 -1
- package/dist/extensions/mcp/ui.d.ts.map +1 -1
- package/dist/extensions/mcp/ui.js +24 -33
- package/dist/extensions/mcp/ui.js.map +1 -1
- package/dist/extensions/tool-search/tool.d.ts +1 -5
- package/dist/extensions/tool-search/tool.d.ts.map +1 -1
- package/dist/extensions/tool-search/tool.js +3 -26
- package/dist/extensions/tool-search/tool.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js +5 -14
- package/dist/main.js.map +1 -1
- package/dist/modes/interactive/components/assistant-message.d.ts +1 -3
- package/dist/modes/interactive/components/assistant-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/assistant-message.js +18 -28
- package/dist/modes/interactive/components/assistant-message.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +0 -7
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts +0 -5
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +10 -105
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/markdown-transform.d.ts +1 -1
- package/dist/modes/interactive/components/markdown-transform.d.ts.map +1 -1
- package/dist/modes/interactive/components/markdown-transform.js +2 -2
- package/dist/modes/interactive/components/markdown-transform.js.map +1 -1
- package/dist/modes/interactive/components/model-selector.d.ts +0 -1
- package/dist/modes/interactive/components/model-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/model-selector.js +6 -17
- package/dist/modes/interactive/components/model-selector.js.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts +0 -1
- package/dist/modes/interactive/components/oauth-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/oauth-selector.js +4 -13
- package/dist/modes/interactive/components/oauth-selector.js.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.d.ts +0 -1
- package/dist/modes/interactive/components/scoped-models-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/scoped-models-selector.js +3 -14
- package/dist/modes/interactive/components/scoped-models-selector.js.map +1 -1
- package/dist/modes/interactive/components/session-selector-search.d.ts +0 -4
- package/dist/modes/interactive/components/session-selector-search.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector-search.js +22 -86
- package/dist/modes/interactive/components/session-selector-search.js.map +1 -1
- package/dist/modes/interactive/components/session-selector.d.ts +0 -1
- package/dist/modes/interactive/components/session-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/session-selector.js +0 -3
- package/dist/modes/interactive/components/session-selector.js.map +1 -1
- package/dist/modes/interactive/components/settings-submenu.d.ts.map +1 -1
- package/dist/modes/interactive/components/settings-submenu.js +0 -2
- package/dist/modes/interactive/components/settings-submenu.js.map +1 -1
- package/dist/modes/interactive/components/tool-execution.d.ts +0 -6
- package/dist/modes/interactive/components/tool-execution.d.ts.map +1 -1
- package/dist/modes/interactive/components/tool-execution.js +1 -11
- package/dist/modes/interactive/components/tool-execution.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector.d.ts +0 -1
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector.js +0 -3
- package/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.d.ts +0 -1
- package/dist/modes/interactive/components/user-message-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/user-message-selector.js +1 -9
- package/dist/modes/interactive/components/user-message-selector.js.map +1 -1
- package/dist/modes/interactive/components/user-message.d.ts +1 -3
- package/dist/modes/interactive/components/user-message.d.ts.map +1 -1
- package/dist/modes/interactive/components/user-message.js +2 -6
- package/dist/modes/interactive/components/user-message.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +0 -5
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +36 -148
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/modes/interactive/model-search.d.ts +0 -10
- package/dist/modes/interactive/model-search.d.ts.map +1 -1
- package/dist/modes/interactive/model-search.js +0 -21
- package/dist/modes/interactive/model-search.js.map +1 -1
- package/dist/package-manager-cli.d.ts.map +1 -1
- package/dist/package-manager-cli.js +2 -7
- package/dist/package-manager-cli.js.map +1 -1
- package/dist/utils/ansi.d.ts.map +1 -1
- package/dist/utils/ansi.js +2 -5
- package/dist/utils/ansi.js.map +1 -1
- package/dist/utils/shell.d.ts.map +1 -1
- package/dist/utils/shell.js +0 -14
- package/dist/utils/shell.js.map +1 -1
- package/dist/utils/tools-manager.d.ts.map +1 -1
- package/dist/utils/tools-manager.js +35 -30
- package/dist/utils/tools-manager.js.map +1 -1
- package/docs/cli.md +3 -3
- package/docs/custom-provider.md +0 -2
- package/docs/environment-variables.md +0 -1
- package/docs/extensions.md +225 -3158
- package/docs/keybindings.md +1 -1
- package/docs/llama-cpp.md +12 -23
- package/docs/message-types.md +1 -1
- package/docs/packages.md +0 -22
- package/docs/quickstart.md +3 -7
- package/docs/settings.md +4 -4
- package/docs/slash-commands.md +0 -1
- package/docs/tui.md +0 -2
- package/examples/extensions/custom-provider-anthropic/index.ts +31 -27
- package/examples/extensions/gondolin/package-lock.json +27 -17
- package/examples/extensions/gondolin/package.json +1 -1
- package/examples/extensions/preset.ts +0 -2
- package/examples/extensions/reload-runtime.ts +5 -17
- package/examples/extensions/todo.ts +0 -7
- package/examples/extensions/tools.ts +0 -2
- package/package.json +5 -5
- package/schemas/settings.schema.json +0 -9
- package/dist/bundle/chunks/anthropic-messages-KRX3GRGV.js +0 -6
- package/dist/bundle/chunks/azure-openai-responses-YWTDZRIJ.js +0 -2
- package/dist/bundle/chunks/chunk-4UNN5OGR.js +0 -4
- package/dist/bundle/chunks/chunk-BPHHHEET.js +0 -9
- package/dist/bundle/chunks/chunk-CPKYLLPC.js +0 -2
- package/dist/bundle/chunks/chunk-FFMDRXC4.js +0 -10
- package/dist/bundle/chunks/chunk-HQJBN2MC.js +0 -2
- package/dist/bundle/chunks/chunk-P7FPUEYA.js +0 -2
- package/dist/bundle/chunks/mistral-conversations-C2QQGYVC.js +0 -5
- package/dist/bundle/chunks/openai-completions-QPD4B26I.js +0 -7
- package/dist/bundle/chunks/pi-messages-EZXKVRR6.js +0 -8
package/docs/keybindings.md
CHANGED
|
@@ -98,7 +98,7 @@ The dedicated history actions browse prompt history regardless of cursor positio
|
|
|
98
98
|
|
|
99
99
|
#### Fullscreen
|
|
100
100
|
|
|
101
|
-
In fullscreen mode, these actions control the transcript and take precedence over editor actions using the same key.
|
|
101
|
+
In fullscreen mode, these actions control the transcript and take precedence over editor actions using the same key.
|
|
102
102
|
|
|
103
103
|
| Keybinding id | Default | Description |
|
|
104
104
|
|---|---|---|
|
package/docs/llama-cpp.md
CHANGED
|
@@ -1,42 +1,31 @@
|
|
|
1
1
|
# Local Models with llama.cpp
|
|
2
2
|
|
|
3
|
-
Pi supports the [llama.cpp](https://llama.
|
|
3
|
+
Pi supports the [llama.cpp](https://github.com/ggml-org/llama.cpp) router server. The router discovers multiple GGUF models and loads or unloads them on demand.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Install llama.cpp with the [official installer](https://llama.app/docs/installation):
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
curl -LsSf https://llama.app/install.sh | sh
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Verify the installation:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
llama cli --version
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
See [llama.app](https://llama.app) for other installation methods, including package managers and building from source.
|
|
5
|
+
Use a current llama.cpp build with router support. Follow the [build instructions](https://github.com/ggml-org/llama.cpp/blob/master/docs/build.md) or install a [prebuilt release](https://github.com/ggml-org/llama.cpp/releases) for your platform.
|
|
20
6
|
|
|
21
7
|
## Start the router
|
|
22
8
|
|
|
23
|
-
Start `llama
|
|
9
|
+
Start `llama-server` without `--model` or `-m`. Passing a model starts single-model mode instead of router mode.
|
|
24
10
|
|
|
25
11
|
```bash
|
|
26
|
-
llama
|
|
12
|
+
llama-server \
|
|
13
|
+
--models-dir ~/models \
|
|
27
14
|
--no-models-autoload \
|
|
15
|
+
--jinja \
|
|
28
16
|
--host 127.0.0.1 \
|
|
29
17
|
--port 8080 \
|
|
30
|
-
-ngl
|
|
18
|
+
-ngl 999 \
|
|
31
19
|
-c 32768
|
|
32
20
|
```
|
|
33
21
|
|
|
34
22
|
Important options:
|
|
35
23
|
|
|
24
|
+
- `--models-dir ~/models` discovers local GGUF files.
|
|
36
25
|
- `--no-models-autoload` keeps loading explicit through `/llama`.
|
|
37
26
|
- `--jinja` enables compatible chat templates and tool calling.
|
|
38
|
-
- `-ngl
|
|
39
|
-
- `-c 32768` sets the context
|
|
27
|
+
- `-ngl 999` offloads as many layers as possible to the GPU.
|
|
28
|
+
- `-c 32768` sets the context window for each loaded model. Omit it to use the model's native context, which may require substantially more memory.
|
|
40
29
|
|
|
41
30
|
A single-file model can sit directly in the model directory. Put multimodal and multi-shard models in separate subdirectories:
|
|
42
31
|
|
|
@@ -52,7 +41,7 @@ A single-file model can sit directly in the model directory. Put multimodal and
|
|
|
52
41
|
└── large-model-Q4_K_M-00003-of-00003.gguf
|
|
53
42
|
```
|
|
54
43
|
|
|
55
|
-
Restart the router after manually adding files.
|
|
44
|
+
Restart the router after manually adding files. For per-model context sizes and other options, use [llama.cpp model presets](https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md#model-presets). For settings tuned to a specific NVIDIA GPU and model, see [Run Pi with NVIDIA RTX and llama.cpp](nvidia-rtx-llama-cpp.md).
|
|
56
45
|
|
|
57
46
|
## Configure Pi
|
|
58
47
|
|
|
@@ -74,7 +63,7 @@ export LLAMA_API_KEY=optional-secret
|
|
|
74
63
|
pi
|
|
75
64
|
```
|
|
76
65
|
|
|
77
|
-
If the server uses an API key, start `llama
|
|
66
|
+
If the server uses an API key, start `llama-server` with the matching `--api-key` value. Keep `--host 127.0.0.1` for local-only access.
|
|
78
67
|
|
|
79
68
|
## Manage models
|
|
80
69
|
|
package/docs/message-types.md
CHANGED
|
@@ -140,7 +140,7 @@ interface AssistantMessage {
|
|
|
140
140
|
}
|
|
141
141
|
```
|
|
142
142
|
|
|
143
|
-
`responseModel` records
|
|
143
|
+
`responseModel` records a concrete provider response model when it differs from the requested model. `responseId`, `providerThinkingLevel`, `thinkingLevel`, `diagnostics`, and `rawStopReason` preserve provider or runtime details.
|
|
144
144
|
|
|
145
145
|
`"pending"` is used for a partial assistant message while it streams. The completed message in `message_end` has a terminal stop reason, and Pi does not persist `"pending"` assistant messages in session JSONL.
|
|
146
146
|
|
package/docs/packages.md
CHANGED
|
@@ -16,8 +16,6 @@ pi install ./local-package
|
|
|
16
16
|
|
|
17
17
|
`pi list` shows configured packages. Use `pi remove <source>` to remove one and `pi update --extensions` to reconcile package installations. See [Command Line](cli.md#package-commands) for every package command and option.
|
|
18
18
|
|
|
19
|
-
If a configured package fails to install at startup, for example because npm cannot reach the registry, Pi warns about it, skips that package's resources, and keeps running. Pi tries to install it again on the next start or `/reload`. `pi install` and `pi update --extensions` still report the failure and exit non-zero.
|
|
20
|
-
|
|
21
19
|
Personal installs are written to `~/.pi/agent/settings.json`. Add `--local` or `-l` to write the package declaration to `.pi/settings.json`. Pi reads declarations from that file only after project trust is granted.
|
|
22
20
|
|
|
23
21
|
Project packages are installed and loaded only after project trust is resolved. Packages can execute extension code and can include skills that instruct the model to run programs. Review third-party package source before installing it. Review project package declarations before granting project trust.
|
|
@@ -75,26 +73,6 @@ Paths are relative to the package root. Arrays accept glob patterns and exclusio
|
|
|
75
73
|
|
|
76
74
|
The `pi-package` keyword makes an npm package eligible for discovery in the [Pi package gallery](https://pi.dev/packages). Optional `pi.image` and `pi.video` fields add gallery previews.
|
|
77
75
|
|
|
78
|
-
## Show a changelog
|
|
79
|
-
|
|
80
|
-
After a package update, Pi can show what changed. On the next fresh launch, Pi reads the package changelog and shows entries newer than the last seen version under "Extension Updates", the same way it shows its own changelog. The first time Pi sees a package, it records the version without showing anything.
|
|
81
|
-
|
|
82
|
-
This applies to packages that load at least one extension. Packages that only provide skills, prompt templates, or themes do not show a changelog.
|
|
83
|
-
|
|
84
|
-
By default Pi reads `CHANGELOG.md` from the package root. Point `pi.changelogPath` at another file inside the package, or set it to `""` to disable the changelog:
|
|
85
|
-
|
|
86
|
-
```json
|
|
87
|
-
{
|
|
88
|
-
"name": "my-pi-package",
|
|
89
|
-
"version": "1.2.0",
|
|
90
|
-
"pi": {
|
|
91
|
-
"changelogPath": "./docs/CHANGELOG.md"
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
```
|
|
95
|
-
|
|
96
|
-
Use version headings in the same format as Pi's changelog, such as `## [1.2.0]` or `## 1.2.0 - 2026-01-01`. Entries are matched against the `version` field in `package.json`, so a git package only shows a changelog when that field increases. The `collapseChangelog` setting condenses the section to one line per package, such as `Updated my-pi-package to v1.2.0.` Unlike Pi's own changelog, `/changelog` does not show package changelogs, so read the package's changelog file or repository for details.
|
|
97
|
-
|
|
98
76
|
## Declare dependencies
|
|
99
77
|
|
|
100
78
|
Put runtime packages imported by extensions in `dependencies`. Pi installs package dependencies when it installs an npm or git source.
|
package/docs/quickstart.md
CHANGED
|
@@ -6,17 +6,13 @@ For native Windows setup, read [Windows Setup](windows.md). For Android, read [T
|
|
|
6
6
|
|
|
7
7
|
## 1. Install Pi
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
On macOS or Linux, you can use the installer:
|
|
10
10
|
|
|
11
|
-
```bash
|
|
11
|
+
```bash
|
|
12
12
|
curl -fsSL https://pi.dev/install.sh | sh
|
|
13
13
|
```
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
powershell -c "irm https://pi.dev/install.ps1 | iex"
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
Both installers pin all dependencies and update Pi with `pi update`. Alternatively, install Pi from npm, which does not pin transitive dependencies. This requires Node.js 22.19 or newer:
|
|
15
|
+
The installer pins all dependencies and updates Pi with `pi update`. Alternatively, install Pi from npm, which does not pin transitive dependencies. This requires Node.js 22.19 or newer:
|
|
20
16
|
|
|
21
17
|
```bash
|
|
22
18
|
npm install -g --ignore-scripts @earendil-works/pi-coding-agent
|
package/docs/settings.md
CHANGED
|
@@ -105,7 +105,7 @@ See [Compaction Reference](compaction.md) for trigger, summarization, and valida
|
|
|
105
105
|
| `showHardwareCursor` | boolean | `false` | Use the terminal cursor instead of Pi's drawn cursor. Pi still positions it for input methods. |
|
|
106
106
|
| `terminal.showImages` | boolean | `true` | Display inline images when supported. |
|
|
107
107
|
| `terminal.imageWidthCells` | number | `60` | Preferred inline image width in terminal cells. |
|
|
108
|
-
| `terminal.clearOnShrink` | boolean | `false` | Clear empty rows when rendered content shrinks.
|
|
108
|
+
| `terminal.clearOnShrink` | boolean | `false` | Clear empty rows when rendered content shrinks. |
|
|
109
109
|
| `terminal.showTerminalProgress` | boolean | `false` | Show OSC 9;4 progress in the terminal tab. |
|
|
110
110
|
| `terminal.hyperlinks` | `boolean \| "auto"` | `"auto"` | Override OSC 8 hyperlink detection. |
|
|
111
111
|
| `terminal.images` | `"kitty" \| "iterm2" \| "auto" \| false` | `"auto"` | Override inline-image protocol detection. |
|
|
@@ -123,8 +123,8 @@ See [Themes](themes.md) and [Terminal Setup](terminal-setup.md) for format and p
|
|
|
123
123
|
|---|---|---|---|
|
|
124
124
|
| `transport` | `"auto" \| "sse" \| "websocket" \| "websocket-cached"` | `"auto"` | Preferred transport for AI providers that support multiple transports. |
|
|
125
125
|
| `httpProxy` | string | None | Proxy URL applied as `HTTP_PROXY` and `HTTPS_PROXY` for Pi-managed HTTP clients. **Can only be set in agent-directory settings.** |
|
|
126
|
-
| `httpIdleTimeoutMs` | number
|
|
127
|
-
| `websocketConnectTimeoutMs` | number
|
|
126
|
+
| `httpIdleTimeoutMs` | number | `300000` | HTTP header and body idle timeout in milliseconds. Set to `0` to disable. |
|
|
127
|
+
| `websocketConnectTimeoutMs` | number | `15000` | WebSocket connection timeout in milliseconds. Set to `0` to disable. |
|
|
128
128
|
| `retry.enabled` | boolean | `true` | Enable automatic agent-level retry for transient failures. |
|
|
129
129
|
| `retry.maxRetries` | number | `3` | Maximum agent-level retry attempts. |
|
|
130
130
|
| `retry.baseDelayMs` | number | `2000` | Initial exponential-backoff delay in milliseconds. |
|
|
@@ -166,7 +166,7 @@ The built-in extensions are named `builtin:mcp`, `builtin:llama.cpp`, `builtin:c
|
|
|
166
166
|
|
|
167
167
|
| Setting | Type | Default | Description |
|
|
168
168
|
|---|---|---|---|
|
|
169
|
-
| `collapseChangelog` | boolean | `false` | Show a condensed changelog after an update.
|
|
169
|
+
| `collapseChangelog` | boolean | `false` | Show a condensed changelog after an update. |
|
|
170
170
|
| `enableInstallTelemetry` | boolean | `true` | Enable anonymous install/update reporting and selected provider attribution headers. Does not control update checks. |
|
|
171
171
|
| `enableAnalytics` | boolean | `false` | Opt in to analytics data sharing. Currently used only by the experimental first-run setup. |
|
|
172
172
|
| `warnings.anthropicExtraUsage` | boolean | `true` | Warn when Anthropic subscription authentication may use paid extra usage. |
|
package/docs/slash-commands.md
CHANGED
|
@@ -46,7 +46,6 @@ Review a session before exporting or sharing it. Sessions can contain prompts, t
|
|
|
46
46
|
| Command | Description |
|
|
47
47
|
|---|---|
|
|
48
48
|
| `/trust` | Save a project trust decision for future Pi processes |
|
|
49
|
-
| `/mcp` | Manage MCP servers: sign in, reconnect, enable or disable, and change exposure |
|
|
50
49
|
| `/reload` | Reload keybindings, extensions, skills, templates, themes, and context files |
|
|
51
50
|
| `/hotkeys` | Show active keyboard shortcuts |
|
|
52
51
|
| `/changelog` | Show changelog entries |
|
package/docs/tui.md
CHANGED
|
@@ -135,8 +135,6 @@ export default function (pi: ExtensionAPI) {
|
|
|
135
135
|
|
|
136
136
|
This component does not display a text cursor, so it does not need `Focusable`. A component containing `Input` or `Editor` must implement `Focusable` and propagate its `focused` value to that child.
|
|
137
137
|
|
|
138
|
-
Custom components do not report pi as waiting for the user, because `ctx.ui.custom()` also hosts loaders and other non-blocking UI. When an inline component waits for an answer, pass `blocked: { kind: "question", message: "Pick a color" }` so terminals that support [program status](terminal-setup.md#program-status) show pi as blocked while the component is visible. `kind` is `"question"`, `"permission"`, or `"auth"`. Overlays ignore this option.
|
|
139
|
-
|
|
140
138
|
Pass `overlay: true` to draw above existing content. Overlay options control size, anchors, offsets, margins, and responsive visibility. An overlay handle can change focus or temporarily hide and show the overlay with `setHidden()` while the interaction remains active.
|
|
141
139
|
|
|
142
140
|
Focused overlays retain input ownership across ordinary renders. If another component should receive input while an overlay remains visible, explicitly release or redirect focus through the handle.
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
type TextContent,
|
|
43
43
|
type ThinkingContent,
|
|
44
44
|
type Tool,
|
|
45
|
-
|
|
45
|
+
type ToolCall,
|
|
46
46
|
type ToolResultMessage,
|
|
47
47
|
type TranscriptContext,
|
|
48
48
|
} from "@earendil-works/pi-ai";
|
|
@@ -454,9 +454,8 @@ function streamCustomAnthropic(
|
|
|
454
454
|
const anthropicStream = client.messages.stream({ ...params }, { signal: options?.signal });
|
|
455
455
|
stream.push({ type: "start", partial: output });
|
|
456
456
|
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
const openBlocks = new Map<number, { contentIndex: number; arguments?: ToolCallArgumentsStream }>();
|
|
457
|
+
type Block = (ThinkingContent | TextContent | (ToolCall & { partialJson: string })) & { index: number };
|
|
458
|
+
const blocks = output.content as Block[];
|
|
460
459
|
|
|
461
460
|
for await (const event of anthropicStream) {
|
|
462
461
|
if (event.type === "message_start") {
|
|
@@ -469,12 +468,15 @@ function streamCustomAnthropic(
|
|
|
469
468
|
calculateCost(model, output.usage);
|
|
470
469
|
} else if (event.type === "content_block_start") {
|
|
471
470
|
if (event.content_block.type === "text") {
|
|
472
|
-
output.content.push({ type: "text", text: "" });
|
|
473
|
-
openBlocks.set(event.index, { contentIndex: output.content.length - 1 });
|
|
471
|
+
output.content.push({ type: "text", text: "", index: event.index } as any);
|
|
474
472
|
stream.push({ type: "text_start", contentIndex: output.content.length - 1, partial: output });
|
|
475
473
|
} else if (event.content_block.type === "thinking") {
|
|
476
|
-
output.content.push({
|
|
477
|
-
|
|
474
|
+
output.content.push({
|
|
475
|
+
type: "thinking",
|
|
476
|
+
thinking: "",
|
|
477
|
+
thinkingSignature: "",
|
|
478
|
+
index: event.index,
|
|
479
|
+
} as any);
|
|
478
480
|
stream.push({ type: "thinking_start", contentIndex: output.content.length - 1, partial: output });
|
|
479
481
|
} else if (event.content_block.type === "tool_use") {
|
|
480
482
|
output.content.push({
|
|
@@ -482,18 +484,15 @@ function streamCustomAnthropic(
|
|
|
482
484
|
id: event.content_block.id,
|
|
483
485
|
name: isOAuth ? fromClaudeCodeName(event.content_block.name, tools) : event.content_block.name,
|
|
484
486
|
arguments: {},
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
arguments: new ToolCallArgumentsStream(),
|
|
489
|
-
});
|
|
487
|
+
partialJson: "",
|
|
488
|
+
index: event.index,
|
|
489
|
+
} as any);
|
|
490
490
|
stream.push({ type: "toolcall_start", contentIndex: output.content.length - 1, partial: output });
|
|
491
491
|
}
|
|
492
492
|
} else if (event.type === "content_block_delta") {
|
|
493
|
-
const
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
const block = output.content[index]!;
|
|
493
|
+
const index = blocks.findIndex((b) => b.index === event.index);
|
|
494
|
+
const block = blocks[index];
|
|
495
|
+
if (!block) continue;
|
|
497
496
|
|
|
498
497
|
if (event.delta.type === "text_delta" && block.type === "text") {
|
|
499
498
|
block.text += event.delta.text;
|
|
@@ -506,8 +505,11 @@ function streamCustomAnthropic(
|
|
|
506
505
|
delta: event.delta.thinking,
|
|
507
506
|
partial: output,
|
|
508
507
|
});
|
|
509
|
-
} else if (event.delta.type === "input_json_delta" && block.type === "toolCall"
|
|
510
|
-
block.
|
|
508
|
+
} else if (event.delta.type === "input_json_delta" && block.type === "toolCall") {
|
|
509
|
+
(block as any).partialJson += event.delta.partial_json;
|
|
510
|
+
try {
|
|
511
|
+
block.arguments = JSON.parse((block as any).partialJson);
|
|
512
|
+
} catch {}
|
|
511
513
|
stream.push({
|
|
512
514
|
type: "toolcall_delta",
|
|
513
515
|
contentIndex: index,
|
|
@@ -518,19 +520,20 @@ function streamCustomAnthropic(
|
|
|
518
520
|
block.thinkingSignature = (block.thinkingSignature || "") + (event.delta as any).signature;
|
|
519
521
|
}
|
|
520
522
|
} else if (event.type === "content_block_stop") {
|
|
521
|
-
const
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
const index = open.contentIndex;
|
|
525
|
-
const block = output.content[index]!;
|
|
523
|
+
const index = blocks.findIndex((b) => b.index === event.index);
|
|
524
|
+
const block = blocks[index];
|
|
525
|
+
if (!block) continue;
|
|
526
526
|
|
|
527
|
+
delete (block as any).index;
|
|
527
528
|
if (block.type === "text") {
|
|
528
529
|
stream.push({ type: "text_end", contentIndex: index, content: block.text, partial: output });
|
|
529
530
|
} else if (block.type === "thinking") {
|
|
530
531
|
stream.push({ type: "thinking_end", contentIndex: index, content: block.thinking, partial: output });
|
|
531
|
-
} else if (block.type === "toolCall"
|
|
532
|
-
|
|
533
|
-
|
|
532
|
+
} else if (block.type === "toolCall") {
|
|
533
|
+
try {
|
|
534
|
+
block.arguments = JSON.parse((block as any).partialJson);
|
|
535
|
+
} catch {}
|
|
536
|
+
delete (block as any).partialJson;
|
|
534
537
|
stream.push({ type: "toolcall_end", contentIndex: index, toolCall: block, partial: output });
|
|
535
538
|
}
|
|
536
539
|
} else if (event.type === "message_delta") {
|
|
@@ -560,6 +563,7 @@ function streamCustomAnthropic(
|
|
|
560
563
|
stream.push({ type: "done", reason: output.stopReason, message: output });
|
|
561
564
|
stream.end();
|
|
562
565
|
} catch (error) {
|
|
566
|
+
for (const block of output.content) delete (block as any).index;
|
|
563
567
|
output.stopReason = options?.signal?.aborted ? "aborted" : "error";
|
|
564
568
|
output.errorMessage = error instanceof Error ? error.message : JSON.stringify(error);
|
|
565
569
|
stream.push({ type: "error", reason: output.stopReason, error: output });
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "pi-extension-gondolin",
|
|
9
9
|
"version": "1.4.0",
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"@earendil-works/gondolin": "0.
|
|
11
|
+
"@earendil-works/gondolin": "0.12.0"
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
14
|
"node_modules/@cto.af/wtf8": {
|
|
@@ -21,30 +21,31 @@
|
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
"node_modules/@earendil-works/gondolin": {
|
|
24
|
-
"version": "0.
|
|
25
|
-
"resolved": "https://registry.npmjs.org/@earendil-works/gondolin/-/gondolin-0.
|
|
26
|
-
"integrity": "sha512-
|
|
24
|
+
"version": "0.12.0",
|
|
25
|
+
"resolved": "https://registry.npmjs.org/@earendil-works/gondolin/-/gondolin-0.12.0.tgz",
|
|
26
|
+
"integrity": "sha512-BXbvzQKb5QmxY5NtthRDONJTu7+IDKbzqWGrJyyNXMP7N681Tx0Q9TK8pK1ba8nUvYQTipNJyGZOsJfYiZll1A==",
|
|
27
27
|
"license": "Apache-2.0",
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"cbor2": "^2.3.0",
|
|
30
|
+
"node-forge": "^1.3.3",
|
|
30
31
|
"ssh2": "^1.17.0",
|
|
31
|
-
"undici": "^6.
|
|
32
|
+
"undici": "^6.21.0"
|
|
32
33
|
},
|
|
33
34
|
"bin": {
|
|
34
35
|
"gondolin": "dist/bin/gondolin.js"
|
|
35
36
|
},
|
|
36
37
|
"engines": {
|
|
37
|
-
"node": ">=
|
|
38
|
+
"node": ">=23.6.0"
|
|
38
39
|
},
|
|
39
40
|
"optionalDependencies": {
|
|
40
|
-
"@earendil-works/gondolin-krun-runner-darwin-arm64": "0.
|
|
41
|
-
"@earendil-works/gondolin-krun-runner-linux-x64": "0.
|
|
41
|
+
"@earendil-works/gondolin-krun-runner-darwin-arm64": "0.12.0",
|
|
42
|
+
"@earendil-works/gondolin-krun-runner-linux-x64": "0.12.0"
|
|
42
43
|
}
|
|
43
44
|
},
|
|
44
45
|
"node_modules/@earendil-works/gondolin-krun-runner-darwin-arm64": {
|
|
45
|
-
"version": "0.
|
|
46
|
-
"resolved": "https://registry.npmjs.org/@earendil-works/gondolin-krun-runner-darwin-arm64/-/gondolin-krun-runner-darwin-arm64-0.
|
|
47
|
-
"integrity": "sha512-
|
|
46
|
+
"version": "0.12.0",
|
|
47
|
+
"resolved": "https://registry.npmjs.org/@earendil-works/gondolin-krun-runner-darwin-arm64/-/gondolin-krun-runner-darwin-arm64-0.12.0.tgz",
|
|
48
|
+
"integrity": "sha512-ftDlusht4PcT7Y3TuPrZIKrCXy3isiBTVMvlXYK0pcud2uXY6uwFTGeunYgP+8ND/60ddb+MImqbfmkcK8B84A==",
|
|
48
49
|
"cpu": [
|
|
49
50
|
"arm64"
|
|
50
51
|
],
|
|
@@ -58,9 +59,9 @@
|
|
|
58
59
|
}
|
|
59
60
|
},
|
|
60
61
|
"node_modules/@earendil-works/gondolin-krun-runner-linux-x64": {
|
|
61
|
-
"version": "0.
|
|
62
|
-
"resolved": "https://registry.npmjs.org/@earendil-works/gondolin-krun-runner-linux-x64/-/gondolin-krun-runner-linux-x64-0.
|
|
63
|
-
"integrity": "sha512-
|
|
62
|
+
"version": "0.12.0",
|
|
63
|
+
"resolved": "https://registry.npmjs.org/@earendil-works/gondolin-krun-runner-linux-x64/-/gondolin-krun-runner-linux-x64-0.12.0.tgz",
|
|
64
|
+
"integrity": "sha512-RRYsgwe2r5ApKmFNy469QgwnyjAHpAs9XANdWpTd9ol4iUYOY3sX7e0xIooAKxd+ktxGI4N/xRWicwGen3D/Ow==",
|
|
64
65
|
"cpu": [
|
|
65
66
|
"x64"
|
|
66
67
|
],
|
|
@@ -133,6 +134,15 @@
|
|
|
133
134
|
"license": "MIT",
|
|
134
135
|
"optional": true
|
|
135
136
|
},
|
|
137
|
+
"node_modules/node-forge": {
|
|
138
|
+
"version": "1.4.0",
|
|
139
|
+
"resolved": "https://registry.npmjs.org/node-forge/-/node-forge-1.4.0.tgz",
|
|
140
|
+
"integrity": "sha512-LarFH0+6VfriEhqMMcLX2F7SwSXeWwnEAJEsYm5QKWchiVYVvJyV9v7UDvUv+w5HO23ZpQTXDv/GxdDdMyOuoQ==",
|
|
141
|
+
"license": "(BSD-3-Clause OR GPL-2.0)",
|
|
142
|
+
"engines": {
|
|
143
|
+
"node": ">= 6.13.0"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
136
146
|
"node_modules/safer-buffer": {
|
|
137
147
|
"version": "2.1.2",
|
|
138
148
|
"resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz",
|
|
@@ -163,9 +173,9 @@
|
|
|
163
173
|
"license": "Unlicense"
|
|
164
174
|
},
|
|
165
175
|
"node_modules/undici": {
|
|
166
|
-
"version": "6.
|
|
167
|
-
"resolved": "https://registry.npmjs.org/undici/-/undici-6.
|
|
168
|
-
"integrity": "sha512-
|
|
176
|
+
"version": "6.26.0",
|
|
177
|
+
"resolved": "https://registry.npmjs.org/undici/-/undici-6.26.0.tgz",
|
|
178
|
+
"integrity": "sha512-4yqz8a3n5HmGTlsbADNtr/dJlhkh/55Rq798G6ibiULcXbDtaLpTl1pvdqcbFfeoj3iSi52lePFM7h9H21cw/A==",
|
|
169
179
|
"license": "MIT",
|
|
170
180
|
"engines": {
|
|
171
181
|
"node": ">=18.17"
|
|
@@ -252,8 +252,6 @@ export default function presetExtension(pi: ExtensionAPI) {
|
|
|
252
252
|
container.addChild(new DynamicBorder((str) => theme.fg("accent", str)));
|
|
253
253
|
|
|
254
254
|
return {
|
|
255
|
-
// Let PageUp/PageDown page the list instead of scrolling the fullscreen transcript.
|
|
256
|
-
capturesViewportInput: selectList.capturesViewportInput,
|
|
257
255
|
render(width: number) {
|
|
258
256
|
return container.render(width);
|
|
259
257
|
},
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Reload Runtime Extension
|
|
3
3
|
*
|
|
4
4
|
* Demonstrates ctx.reload() from ExtensionCommandContext and an LLM-callable
|
|
5
|
-
* tool that
|
|
5
|
+
* tool that queues a follow-up command to trigger reload.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import type { ExtensionAPI } from "@earendil-works/pi-coding-agent";
|
|
@@ -19,31 +19,19 @@ export default function (pi: ExtensionAPI) {
|
|
|
19
19
|
},
|
|
20
20
|
});
|
|
21
21
|
|
|
22
|
-
// LLM-callable tool. Tools
|
|
23
|
-
//
|
|
24
|
-
// request and ends the run; the agent_settled handler then runs the command above.
|
|
25
|
-
let reloadRequested = false;
|
|
26
|
-
|
|
22
|
+
// LLM-callable tool. Tools get ExtensionContext, so they cannot call ctx.reload() directly.
|
|
23
|
+
// Instead, queue a follow-up user command that executes the command above.
|
|
27
24
|
pi.registerTool({
|
|
28
25
|
name: "reload_runtime",
|
|
29
26
|
label: "Reload Runtime",
|
|
30
27
|
description: "Reload extensions, skills, prompts, themes, and context files",
|
|
31
28
|
parameters: Type.Object({}),
|
|
32
29
|
async execute() {
|
|
33
|
-
|
|
30
|
+
pi.sendUserMessage("/reload-runtime", { deliverAs: "followUp" });
|
|
34
31
|
return {
|
|
35
|
-
content: [{ type: "text", text: "
|
|
32
|
+
content: [{ type: "text", text: "Queued /reload-runtime as a follow-up command." }],
|
|
36
33
|
details: {},
|
|
37
|
-
terminate: true,
|
|
38
34
|
};
|
|
39
35
|
},
|
|
40
36
|
});
|
|
41
|
-
|
|
42
|
-
pi.on("agent_settled", () => {
|
|
43
|
-
if (!reloadRequested) return;
|
|
44
|
-
reloadRequested = false;
|
|
45
|
-
// Sent from agent_settled, the command runs after every settled handler finishes, while
|
|
46
|
-
// the agent is idle. expandPromptTemplates dispatches it as a command, not as model input.
|
|
47
|
-
pi.sendUserMessage("/reload-runtime", { expandPromptTemplates: true });
|
|
48
|
-
});
|
|
49
37
|
}
|
|
@@ -276,13 +276,6 @@ export default function (pi: ExtensionAPI) {
|
|
|
276
276
|
|
|
277
277
|
case "clear":
|
|
278
278
|
return new Text(theme.fg("success", "✓ ") + theme.fg("muted", "Cleared all todos"), 0, 0);
|
|
279
|
-
|
|
280
|
-
default:
|
|
281
|
-
return new Text(
|
|
282
|
-
result.content[0]?.type === "text" ? theme.fg("error", result.content[0].text) : "",
|
|
283
|
-
0,
|
|
284
|
-
0,
|
|
285
|
-
);
|
|
286
279
|
}
|
|
287
280
|
},
|
|
288
281
|
});
|
|
@@ -117,8 +117,6 @@ export default function toolsExtension(pi: ExtensionAPI) {
|
|
|
117
117
|
container.addChild(settingsList);
|
|
118
118
|
|
|
119
119
|
const component = {
|
|
120
|
-
// Let PageUp/PageDown page the list instead of scrolling the fullscreen transcript.
|
|
121
|
-
capturesViewportInput: settingsList.capturesViewportInput,
|
|
122
120
|
render(width: number) {
|
|
123
121
|
return container.render(width);
|
|
124
122
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxmo74/pi-coding-agent",
|
|
3
|
-
"version": "1.4.0-max.
|
|
3
|
+
"version": "1.4.0-max.4",
|
|
4
4
|
"description": "Unofficial pi fork by maxmo74: session moves in the /resume picker, plus selective fixes. Independent of and not affiliated with pi.dev.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"piConfig": {
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"quickjs-wasi": "3.6.2",
|
|
51
51
|
"semver": "7.8.5",
|
|
52
52
|
"typebox": "1.3.27",
|
|
53
|
-
"undici": "8.
|
|
53
|
+
"undici": "8.10.2",
|
|
54
54
|
"yaml": "2.9.0"
|
|
55
55
|
},
|
|
56
56
|
"overrides": {
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"@types/semver": "7.7.1",
|
|
65
65
|
"marked": "18.0.11",
|
|
66
66
|
"shx": "0.3.4",
|
|
67
|
-
"vitest": "4.1.
|
|
67
|
+
"vitest": "4.1.11"
|
|
68
68
|
},
|
|
69
69
|
"keywords": [
|
|
70
70
|
"coding-agent",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
},
|
|
90
90
|
"piFork": {
|
|
91
91
|
"upstreamVersion": "1.4.0",
|
|
92
|
-
"sourceCommit": "
|
|
93
|
-
"builtAt": "2026-11-
|
|
92
|
+
"sourceCommit": "f39d5d3361c661e6b38af71cf1e6551aa069a6c8",
|
|
93
|
+
"builtAt": "2026-11-01T16:19:48.698Z"
|
|
94
94
|
}
|
|
95
95
|
}
|
|
@@ -11,15 +11,6 @@
|
|
|
11
11
|
"lastChangelogVersion": {
|
|
12
12
|
"type": "string"
|
|
13
13
|
},
|
|
14
|
-
"extensionChangelogVersions": {
|
|
15
|
-
"type": "object",
|
|
16
|
-
"patternProperties": {
|
|
17
|
-
"^.*$": {
|
|
18
|
-
"type": "string"
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
"description": "Last seen changelog version per extension package."
|
|
22
|
-
},
|
|
23
14
|
"defaultProvider": {
|
|
24
15
|
"type": "string"
|
|
25
16
|
},
|