@openeryc/pi-coding-agent 0.75.8 → 0.75.10
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 +16 -0
- package/dist/core/agent-session.d.ts +2 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +5 -1
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/session-manager.d.ts +25 -0
- package/dist/core/session-manager.d.ts.map +1 -1
- package/dist/core/session-manager.js +156 -0
- package/dist/core/session-manager.js.map +1 -1
- package/dist/core/slash-commands.d.ts.map +1 -1
- package/dist/core/slash-commands.js +1 -0
- package/dist/core/slash-commands.js.map +1 -1
- package/dist/core/tools/read.d.ts.map +1 -1
- package/dist/core/tools/read.js +8 -1
- package/dist/core/tools/read.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +1 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +46 -2
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- 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-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- 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,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.75.10] - 2026-05-21
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- `/usage` command shows token usage and cost aggregated across all sessions, with a top-5 breakdown by cost.
|
|
8
|
+
|
|
9
|
+
## [0.75.9] - 2026-05-21
|
|
10
|
+
|
|
11
|
+
### Changed
|
|
12
|
+
|
|
13
|
+
- All read tool calls now show a compact label (just the filename) when collapsed, not only special files like SKILL.md or AGENTS.md.
|
|
14
|
+
|
|
15
|
+
### Fixed
|
|
16
|
+
|
|
17
|
+
- `/goal` command now starts the agent working on the set goal instead of only setting metadata.
|
|
18
|
+
|
|
3
19
|
## [0.75.8] - 2026-05-21
|
|
4
20
|
|
|
5
21
|
### Changed
|
|
@@ -21,7 +21,7 @@ import type { CustomMessage } from "./messages.ts";
|
|
|
21
21
|
import type { ModelRegistry } from "./model-registry.ts";
|
|
22
22
|
import { type PromptTemplate } from "./prompt-templates.ts";
|
|
23
23
|
import type { ResourceLoader } from "./resource-loader.ts";
|
|
24
|
-
import type { BranchSummaryEntry, SessionManager } from "./session-manager.ts";
|
|
24
|
+
import type { BranchSummaryEntry, SessionListProgress, SessionManager, UsageStats } from "./session-manager.ts";
|
|
25
25
|
import type { SettingsManager } from "./settings-manager.ts";
|
|
26
26
|
import { type BashOperations } from "./tools/bash.ts";
|
|
27
27
|
/** Parsed skill block from a user message */
|
|
@@ -571,6 +571,7 @@ export declare class AgentSession {
|
|
|
571
571
|
* Get session statistics.
|
|
572
572
|
*/
|
|
573
573
|
getSessionStats(): SessionStats;
|
|
574
|
+
getUsageStats(onProgress?: SessionListProgress): Promise<UsageStats>;
|
|
574
575
|
getContextUsage(): ContextUsage | undefined;
|
|
575
576
|
/**
|
|
576
577
|
* Export session to HTML.
|