@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.
Files changed (79) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/README.md +3 -1
  3. package/dist/core/agent-session.d.ts +1 -1
  4. package/dist/core/agent-session.d.ts.map +1 -1
  5. package/dist/core/agent-session.js +4 -4
  6. package/dist/core/agent-session.js.map +1 -1
  7. package/dist/core/compaction/branch-summarization.d.ts +1 -1
  8. package/dist/core/compaction/branch-summarization.d.ts.map +1 -1
  9. package/dist/core/compaction/branch-summarization.js.map +1 -1
  10. package/dist/core/extensions/runner.d.ts +1 -0
  11. package/dist/core/extensions/runner.d.ts.map +1 -1
  12. package/dist/core/extensions/runner.js +5 -0
  13. package/dist/core/extensions/runner.js.map +1 -1
  14. package/dist/core/extensions/wrapper.d.ts.map +1 -1
  15. package/dist/core/extensions/wrapper.js +22 -3
  16. package/dist/core/extensions/wrapper.js.map +1 -1
  17. package/dist/core/keybindings.d.ts +8 -3
  18. package/dist/core/keybindings.d.ts.map +1 -1
  19. package/dist/core/keybindings.js +7 -3
  20. package/dist/core/keybindings.js.map +1 -1
  21. package/dist/core/model-registry.d.ts.map +1 -1
  22. package/dist/core/model-registry.js +18 -2
  23. package/dist/core/model-registry.js.map +1 -1
  24. package/dist/core/model-resolver.d.ts.map +1 -1
  25. package/dist/core/model-resolver.js +1 -0
  26. package/dist/core/model-resolver.js.map +1 -1
  27. package/dist/core/package-manager.d.ts.map +1 -1
  28. package/dist/core/package-manager.js +7 -2
  29. package/dist/core/package-manager.js.map +1 -1
  30. package/dist/core/provider-display-names.d.ts.map +1 -1
  31. package/dist/core/provider-display-names.js +1 -0
  32. package/dist/core/provider-display-names.js.map +1 -1
  33. package/dist/core/radius.d.ts +21 -0
  34. package/dist/core/radius.d.ts.map +1 -0
  35. package/dist/core/radius.js +30 -0
  36. package/dist/core/radius.js.map +1 -0
  37. package/dist/core/system-prompt.d.ts.map +1 -1
  38. package/dist/core/system-prompt.js +1 -11
  39. package/dist/core/system-prompt.js.map +1 -1
  40. package/dist/modes/interactive/components/custom-editor.d.ts.map +1 -1
  41. package/dist/modes/interactive/components/custom-editor.js +1 -1
  42. package/dist/modes/interactive/components/custom-editor.js.map +1 -1
  43. package/dist/modes/interactive/components/login-dialog.d.ts +4 -0
  44. package/dist/modes/interactive/components/login-dialog.d.ts.map +1 -1
  45. package/dist/modes/interactive/components/login-dialog.js +9 -2
  46. package/dist/modes/interactive/components/login-dialog.js.map +1 -1
  47. package/dist/modes/interactive/components/tree-selector.d.ts +5 -0
  48. package/dist/modes/interactive/components/tree-selector.d.ts.map +1 -1
  49. package/dist/modes/interactive/components/tree-selector.js +49 -12
  50. package/dist/modes/interactive/components/tree-selector.js.map +1 -1
  51. package/dist/modes/interactive/interactive-mode.d.ts +1 -2
  52. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  53. package/dist/modes/interactive/interactive-mode.js +45 -41
  54. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  55. package/dist/utils/clipboard-native.d.ts +1 -0
  56. package/dist/utils/clipboard-native.d.ts.map +1 -1
  57. package/dist/utils/clipboard-native.js.map +1 -1
  58. package/dist/utils/clipboard.d.ts +2 -0
  59. package/dist/utils/clipboard.d.ts.map +1 -1
  60. package/dist/utils/clipboard.js +13 -0
  61. package/dist/utils/clipboard.js.map +1 -1
  62. package/docs/custom-provider.md +2 -0
  63. package/docs/extensions.md +138 -0
  64. package/docs/keybindings.md +1 -0
  65. package/docs/models.md +2 -0
  66. package/docs/providers.md +3 -0
  67. package/docs/quickstart.md +1 -1
  68. package/docs/usage.md +1 -0
  69. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  70. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  71. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  72. package/examples/extensions/gondolin/package-lock.json +2 -2
  73. package/examples/extensions/gondolin/package.json +1 -1
  74. package/examples/extensions/sandbox/package-lock.json +2 -2
  75. package/examples/extensions/sandbox/package.json +1 -1
  76. package/examples/extensions/with-deps/package-lock.json +2 -2
  77. package/examples/extensions/with-deps/package.json +1 -1
  78. package/npm-shrinkwrap.json +12 -12
  79. 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 _getCompactionRequestAuth(model) {
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._getCompactionRequestAuth(this.model);
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._getCompactionRequestAuth(this.model));
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._getRequiredRequestAuth(model);
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,