@averyyy/pi-coding-agent 0.80.3-piclient.5 → 0.80.3-piclient.7

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 CHANGED
@@ -8,9 +8,11 @@
8
8
  - Added chunked `pi-server` request upload support controlled by `PI_CLIENT_MAX_REQUEST_KB`.
9
9
  - Added a `pi-client` CLI entrypoint that preserves the original Pi config, extension, skill, prompt, and theme loading path.
10
10
  - Reused matching `pi-server` tree hashes to avoid repeating full tree sync when the server already has the same persisted session tree.
11
+ - Added automatic first-turn session naming with the current model when no session name is set.
11
12
 
12
13
  ### Fixed
13
14
 
15
+ - Fixed bash tool execution to run as a scheduler barrier so validation commands do not overlap with sibling tool calls.
14
16
  - 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
17
 
16
18
  ## [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;
@@ -206,6 +208,7 @@ export declare class AgentSession {
206
208
  private _extensionShutdownHandler?;
207
209
  private _extensionErrorListener?;
208
210
  private _extensionErrorUnsubscriber?;
211
+ private _autoSessionNameAttempted;
209
212
  private _modelRegistry;
210
213
  private _toolRegistry;
211
214
  private _toolDefinitions;
@@ -220,6 +223,10 @@ export declare class AgentSession {
220
223
  reconcilePiServerHistory(snapshot: PiServerHistorySnapshot): void;
221
224
  private _getRequiredRequestAuth;
222
225
  private _getCompactionRequestAuth;
226
+ private _resetValidationHintState;
227
+ private _recordValidationToolResult;
228
+ private _createValidationHintMessage;
229
+ private _withValidationHint;
223
230
  /**
224
231
  * Install tool hooks once on the Agent instance.
225
232
  *
@@ -242,8 +249,10 @@ export declare class AgentSession {
242
249
  /** Find the last assistant message in agent state (including aborted ones) */
243
250
  private _findLastAssistantMessage;
244
251
  private _isTerminalAssistantFailure;
252
+ private _isPostAssistantPiServerSyncFailure;
245
253
  private _detachTerminalAssistantFailure;
246
254
  private _detachPiServerTerminalAssistantFailure;
255
+ private _restoreSessionLeaf;
247
256
  private _replaceMessageInPlace;
248
257
  private _emitExtensionEvent;
249
258
  /**
@@ -327,6 +336,10 @@ export declare class AgentSession {
327
336
  private _normalizePromptGuidelines;
328
337
  private _rebuildSystemPrompt;
329
338
  private _runAgentPrompt;
339
+ private _sessionHasInfoEntry;
340
+ private _buildSessionNameTranscript;
341
+ private _shouldGenerateSessionName;
342
+ private _maybeGenerateSessionName;
330
343
  private _handlePostAgentRun;
331
344
  /**
332
345
  * Send a prompt to the agent.
@@ -486,6 +499,10 @@ export declare class AgentSession {
486
499
  setAutoCompactionEnabled(enabled: boolean): void;
487
500
  /** Whether auto-compaction is enabled */
488
501
  get autoCompactionEnabled(): boolean;
502
+ private _shouldCompactBeforeNextProviderRequest;
503
+ private _appendIntraTurnCompactionMarker;
504
+ private _currentAgentContext;
505
+ private _compactBeforeNextProviderRequest;
489
506
  bindExtensions(bindings: ExtensionBindings): Promise<void>;
490
507
  private extendResourcesFromExtensions;
491
508
  private buildExtensionResourcePaths;