@fleetagent/pi-coding-agent 0.0.7 → 0.0.8
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 +19 -1
- package/README.md +3 -3
- package/dist/core/agent-session.d.ts +3 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +44 -10
- package/dist/core/agent-session.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +4 -3
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/utils/version-check.d.ts.map +1 -1
- package/dist/utils/version-check.js +10 -4
- package/dist/utils/version-check.js.map +1 -1
- package/docs/settings.md +1 -1
- package/docs/usage.md +1 -1
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +12 -12
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.0.8](https://github.com/fleetagent/pi/compare/@fleetagent/pi-coding-agent-v0.0.7...@fleetagent/pi-coding-agent-v0.0.8) (2026-06-05)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **coding-agent:** run extension compaction between turns and check n… ([6883d4a](https://github.com/fleetagent/pi/commit/6883d4a7327c24cefac3fd0f89b76fecf1bf62ad))
|
|
9
|
+
* **coding-agent:** run extension compaction between turns and check npm for updates ([609e3a1](https://github.com/fleetagent/pi/commit/609e3a1a48cdc946f7a218beb1f0e5ba341d2442))
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
### Dependencies
|
|
13
|
+
|
|
14
|
+
* The following workspace dependencies were updated
|
|
15
|
+
* dependencies
|
|
16
|
+
* @fleetagent/pi-agent-core bumped from ^0.0.7 to ^0.0.8
|
|
17
|
+
* @fleetagent/pi-ai bumped from ^0.0.7 to ^0.0.8
|
|
18
|
+
* @fleetagent/pi-tui bumped from ^0.0.7 to ^0.0.8
|
|
19
|
+
|
|
3
20
|
## [0.0.7](https://github.com/fleetagent/pi/compare/@fleetagent/pi-coding-agent-v0.0.6...@fleetagent/pi-coding-agent-v0.0.7) (2026-06-04)
|
|
4
21
|
|
|
5
22
|
|
|
@@ -47,7 +64,8 @@
|
|
|
47
64
|
### Fixed
|
|
48
65
|
|
|
49
66
|
- Changed RPC client idle waits to use a five-minute inactivity timeout that resets when events arrive.
|
|
50
|
-
-
|
|
67
|
+
- Ran extension-triggered compaction between agent turns so queued follow-up work can continue before `agent_end`.
|
|
68
|
+
- Fixed update notifications to check and describe the `@fleetagent/pi-coding-agent` package instead of the upstream Pi release.
|
|
51
69
|
|
|
52
70
|
## [0.0.5](https://github.com/fleetagent/pi/compare/@fleetagent/pi-coding-agent-v0.0.4...@fleetagent/pi-coding-agent-v0.0.5) (2026-05-23)
|
|
53
71
|
|
package/README.md
CHANGED
|
@@ -289,8 +289,8 @@ See [docs/settings.md](docs/settings.md) for all options.
|
|
|
289
289
|
|
|
290
290
|
Pi has two separate startup features:
|
|
291
291
|
|
|
292
|
-
- **Update check:** fetches
|
|
293
|
-
- **Install/update telemetry:** after first install or a changelog-detected update, sends an anonymous version ping to `https://pi.dev/api/report-install`. Opt out by setting `enableInstallTelemetry` to `false` in `settings.json`, or by setting `PI_TELEMETRY=0`. This does not disable update checks; Pi may still contact
|
|
292
|
+
- **Update check:** fetches npm metadata for `@fleetagent/pi-coding-agent` to check whether a newer Pi version exists. Disable it with `PI_SKIP_VERSION_CHECK=1`. Disabling update checks only turns off this check.
|
|
293
|
+
- **Install/update telemetry:** after first install or a changelog-detected update, sends an anonymous version ping to `https://pi.dev/api/report-install`. Opt out by setting `enableInstallTelemetry` to `false` in `settings.json`, or by setting `PI_TELEMETRY=0`. This does not disable update checks; Pi may still contact the npm registry for the latest version unless update checks are disabled or offline mode is enabled.
|
|
294
294
|
|
|
295
295
|
Use `--offline` or `PI_OFFLINE=1` to disable all startup network operations described here, including update checks, package update checks, and install/update telemetry.
|
|
296
296
|
|
|
@@ -659,7 +659,7 @@ pi --thinking high "Solve this complex problem"
|
|
|
659
659
|
| `PI_REMOTE_PROJECT_ID` | Project id sent to remote session service (overridden by `--remote-project-id`) |
|
|
660
660
|
| `PI_PACKAGE_DIR` | Override package directory (useful for Nix/Guix where store paths tokenize poorly) |
|
|
661
661
|
| `PI_OFFLINE` | Disable startup network operations, including update checks, package update checks, and install/update telemetry |
|
|
662
|
-
| `PI_SKIP_VERSION_CHECK` | Skip the Pi version update check at startup. This prevents the
|
|
662
|
+
| `PI_SKIP_VERSION_CHECK` | Skip the Pi version update check at startup. This prevents the npm metadata request |
|
|
663
663
|
| `PI_TELEMETRY` | Override install/update telemetry. Use `1`/`true`/`yes` to enable or `0`/`false`/`no` to disable. This does not disable update checks |
|
|
664
664
|
| `PI_CACHE_RETENTION` | Set to `long` for extended prompt cache (Anthropic: 1h, OpenAI: 24h) |
|
|
665
665
|
| `VISUAL`, `EDITOR` | External editor for Ctrl+G |
|
|
@@ -238,6 +238,8 @@ export declare class AgentSession {
|
|
|
238
238
|
* happens here instead of in wrappers.
|
|
239
239
|
*/
|
|
240
240
|
private _installAgentToolHooks;
|
|
241
|
+
private _installAgentTurnPreparation;
|
|
242
|
+
private _buildCurrentAgentContext;
|
|
241
243
|
/** Emit an event to all listeners */
|
|
242
244
|
private _emit;
|
|
243
245
|
private _emitQueueUpdate;
|
|
@@ -487,6 +489,7 @@ export declare class AgentSession {
|
|
|
487
489
|
* @param customInstructions Optional instructions for the compaction summary
|
|
488
490
|
*/
|
|
489
491
|
compact(customInstructions?: string): Promise<CompactionResult>;
|
|
492
|
+
private _compactSession;
|
|
490
493
|
/**
|
|
491
494
|
* Cancel in-progress compaction (manual or auto).
|
|
492
495
|
*/
|