@earendil-works/pi-coding-agent 0.80.6 → 0.80.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 +37 -0
- package/README.md +3 -1
- package/dist/core/agent-session.d.ts +1 -1
- package/dist/core/agent-session.d.ts.map +1 -1
- package/dist/core/agent-session.js +4 -4
- package/dist/core/agent-session.js.map +1 -1
- package/dist/core/compaction/branch-summarization.d.ts +1 -1
- package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
- package/dist/core/compaction/branch-summarization.js.map +1 -1
- package/dist/core/extensions/runner.d.ts +1 -0
- package/dist/core/extensions/runner.d.ts.map +1 -1
- package/dist/core/extensions/runner.js +5 -0
- package/dist/core/extensions/runner.js.map +1 -1
- package/dist/core/extensions/wrapper.d.ts.map +1 -1
- package/dist/core/extensions/wrapper.js +22 -3
- package/dist/core/extensions/wrapper.js.map +1 -1
- package/dist/core/keybindings.d.ts +8 -3
- package/dist/core/keybindings.d.ts.map +1 -1
- package/dist/core/keybindings.js +7 -3
- package/dist/core/keybindings.js.map +1 -1
- package/dist/core/model-registry.d.ts.map +1 -1
- package/dist/core/model-registry.js +18 -2
- package/dist/core/model-registry.js.map +1 -1
- package/dist/core/model-resolver.d.ts.map +1 -1
- package/dist/core/model-resolver.js +1 -0
- package/dist/core/model-resolver.js.map +1 -1
- package/dist/core/package-manager.d.ts.map +1 -1
- package/dist/core/package-manager.js +7 -2
- package/dist/core/package-manager.js.map +1 -1
- package/dist/core/provider-display-names.d.ts.map +1 -1
- package/dist/core/provider-display-names.js +1 -0
- package/dist/core/provider-display-names.js.map +1 -1
- package/dist/core/radius.d.ts +21 -0
- package/dist/core/radius.d.ts.map +1 -0
- package/dist/core/radius.js +30 -0
- package/dist/core/radius.js.map +1 -0
- package/dist/core/system-prompt.d.ts.map +1 -1
- package/dist/core/system-prompt.js +1 -11
- package/dist/core/system-prompt.js.map +1 -1
- package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
- package/dist/modes/interactive/components/custom-editor.js +1 -1
- package/dist/modes/interactive/components/custom-editor.js.map +1 -1
- package/dist/modes/interactive/components/login-dialog.d.ts +4 -0
- package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
- package/dist/modes/interactive/components/login-dialog.js +9 -2
- package/dist/modes/interactive/components/login-dialog.js.map +1 -1
- package/dist/modes/interactive/components/tree-selector.d.ts +5 -0
- package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
- package/dist/modes/interactive/components/tree-selector.js +49 -12
- package/dist/modes/interactive/components/tree-selector.js.map +1 -1
- package/dist/modes/interactive/interactive-mode.d.ts +1 -2
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +45 -41
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/dist/utils/clipboard-native.d.ts +1 -0
- package/dist/utils/clipboard-native.d.ts.map +1 -1
- package/dist/utils/clipboard-native.js.map +1 -1
- package/dist/utils/clipboard.d.ts +2 -0
- package/dist/utils/clipboard.d.ts.map +1 -1
- package/dist/utils/clipboard.js +13 -0
- package/dist/utils/clipboard.js.map +1 -1
- package/docs/custom-provider.md +2 -0
- package/docs/extensions.md +138 -0
- package/docs/keybindings.md +1 -0
- package/docs/models.md +2 -0
- package/docs/providers.md +3 -0
- package/docs/quickstart.md +1 -1
- package/docs/usage.md +1 -0
- 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/gondolin/package-lock.json +2 -2
- package/examples/extensions/gondolin/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
|
@@ -172,7 +172,7 @@ export class AgentSession {
|
|
|
172
172
|
}
|
|
173
173
|
throw new Error(formatNoApiKeyFoundMessage(model.provider));
|
|
174
174
|
}
|
|
175
|
-
async
|
|
175
|
+
async _getSummarizationRequestAuth(model) {
|
|
176
176
|
if (this.agent.streamFn === streamSimple) {
|
|
177
177
|
return this._getRequiredRequestAuth(model);
|
|
178
178
|
}
|
|
@@ -1351,7 +1351,7 @@ export class AgentSession {
|
|
|
1351
1351
|
if (!this.model) {
|
|
1352
1352
|
throw new Error(formatNoModelSelectedMessage());
|
|
1353
1353
|
}
|
|
1354
|
-
const { apiKey, headers, env } = await this.
|
|
1354
|
+
const { apiKey, headers, env } = await this._getSummarizationRequestAuth(this.model);
|
|
1355
1355
|
const pathEntries = this.sessionManager.getBranch();
|
|
1356
1356
|
const settings = this.settingsManager.getCompactionSettings();
|
|
1357
1357
|
const preparation = prepareCompaction(pathEntries, settings);
|
|
@@ -1582,7 +1582,7 @@ export class AgentSession {
|
|
|
1582
1582
|
env = authResult.env;
|
|
1583
1583
|
}
|
|
1584
1584
|
else {
|
|
1585
|
-
({ apiKey, headers, env } = await this.
|
|
1585
|
+
({ apiKey, headers, env } = await this._getSummarizationRequestAuth(this.model));
|
|
1586
1586
|
}
|
|
1587
1587
|
const pathEntries = this.sessionManager.getBranch();
|
|
1588
1588
|
const preparation = prepareCompaction(pathEntries, settings);
|
|
@@ -2302,7 +2302,7 @@ export class AgentSession {
|
|
|
2302
2302
|
let summaryDetails;
|
|
2303
2303
|
if (options.summarize && entriesToSummarize.length > 0 && !extensionSummary) {
|
|
2304
2304
|
const model = this.model;
|
|
2305
|
-
const { apiKey, headers, env } = await this.
|
|
2305
|
+
const { apiKey, headers, env } = await this._getSummarizationRequestAuth(model);
|
|
2306
2306
|
const branchSummarySettings = this.settingsManager.getBranchSummarySettings();
|
|
2307
2307
|
const result = await generateBranchSummary(entriesToSummarize, {
|
|
2308
2308
|
model,
|