@averyyy/pi-coding-agent 0.80.3-piclient.5 → 0.80.3-piclient.6
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 +1 -0
- package/dist/core/agent-session.d.ts +12 -0
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +225 -18
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/compaction/compaction.d.ts +4 -1
- package/dist/core/compaction/compaction.d.ts.map +1 -1
- package/dist/core/compaction/compaction.js +27 -2
- package/dist/core/compaction/compaction.js.map +1 -1
- package/dist/core/pi-server-client.d.ts +2 -1
- package/dist/core/pi-server-client.d.ts.map +1 -1
- package/dist/core/pi-server-client.js +1 -0
- package/dist/core/pi-server-client.js.map +1 -1
- package/dist/core/pi-server-request.d.ts.map +1 -1
- package/dist/core/pi-server-request.js +13 -107
- package/dist/core/pi-server-request.js.map +1 -1
- package/dist/core/tools/bash.d.ts.map +1 -1
- package/dist/core/tools/bash.js +1 -0
- package/dist/core/tools/bash.js.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
|
|
12
12
|
### Fixed
|
|
13
13
|
|
|
14
|
+
- Fixed bash tool execution to run as a scheduler barrier so validation commands do not overlap with sibling tool calls.
|
|
14
15
|
- Fixed oversized bash tool timeouts to fail with a clear validation error instead of being clamped to an immediate timeout ([#6181](https://github.com/earendil-works/pi/issues/6181)).
|
|
15
16
|
|
|
16
17
|
## [0.80.3] - 2026-06-30
|
|
@@ -187,6 +187,8 @@ export declare class AgentSession {
|
|
|
187
187
|
private _retryAttempt;
|
|
188
188
|
private _bashAbortController;
|
|
189
189
|
private _pendingBashMessages;
|
|
190
|
+
private _validationModifiedFiles;
|
|
191
|
+
private _validationFailure;
|
|
190
192
|
private _extensionRunner;
|
|
191
193
|
private _turnIndex;
|
|
192
194
|
private _resourceLoader;
|
|
@@ -220,6 +222,10 @@ export declare class AgentSession {
|
|
|
220
222
|
reconcilePiServerHistory(snapshot: PiServerHistorySnapshot): void;
|
|
221
223
|
private _getRequiredRequestAuth;
|
|
222
224
|
private _getCompactionRequestAuth;
|
|
225
|
+
private _resetValidationHintState;
|
|
226
|
+
private _recordValidationToolResult;
|
|
227
|
+
private _createValidationHintMessage;
|
|
228
|
+
private _withValidationHint;
|
|
223
229
|
/**
|
|
224
230
|
* Install tool hooks once on the Agent instance.
|
|
225
231
|
*
|
|
@@ -242,8 +248,10 @@ export declare class AgentSession {
|
|
|
242
248
|
/** Find the last assistant message in agent state (including aborted ones) */
|
|
243
249
|
private _findLastAssistantMessage;
|
|
244
250
|
private _isTerminalAssistantFailure;
|
|
251
|
+
private _isPostAssistantPiServerSyncFailure;
|
|
245
252
|
private _detachTerminalAssistantFailure;
|
|
246
253
|
private _detachPiServerTerminalAssistantFailure;
|
|
254
|
+
private _restoreSessionLeaf;
|
|
247
255
|
private _replaceMessageInPlace;
|
|
248
256
|
private _emitExtensionEvent;
|
|
249
257
|
/**
|
|
@@ -486,6 +494,10 @@ export declare class AgentSession {
|
|
|
486
494
|
setAutoCompactionEnabled(enabled: boolean): void;
|
|
487
495
|
/** Whether auto-compaction is enabled */
|
|
488
496
|
get autoCompactionEnabled(): boolean;
|
|
497
|
+
private _shouldCompactBeforeNextProviderRequest;
|
|
498
|
+
private _appendIntraTurnCompactionMarker;
|
|
499
|
+
private _currentAgentContext;
|
|
500
|
+
private _compactBeforeNextProviderRequest;
|
|
489
501
|
bindExtensions(bindings: ExtensionBindings): Promise<void>;
|
|
490
502
|
private extendResourcesFromExtensions;
|
|
491
503
|
private buildExtensionResourcePaths;
|