@codex-infinity/pi-infinity 0.62.1 → 0.62.3

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 (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +65 -65
  3. package/dist/config.d.ts +1 -0
  4. package/dist/config.d.ts.map +1 -1
  5. package/dist/config.js +2 -1
  6. package/dist/config.js.map +1 -1
  7. package/dist/core/agent-session.d.ts +1 -0
  8. package/dist/core/agent-session.d.ts.map +1 -1
  9. package/dist/core/agent-session.js +1 -0
  10. package/dist/core/agent-session.js.map +1 -1
  11. package/dist/core/export-html/index.d.ts.map +1 -1
  12. package/dist/core/export-html/index.js +5 -4
  13. package/dist/core/export-html/index.js.map +1 -1
  14. package/dist/core/package-manager.d.ts.map +1 -1
  15. package/dist/core/package-manager.js +54 -6
  16. package/dist/core/package-manager.js.map +1 -1
  17. package/dist/main.d.ts.map +1 -1
  18. package/dist/main.js +4 -1
  19. package/dist/main.js.map +1 -1
  20. package/dist/modes/interactive/components/bash-execution.d.ts +0 -1
  21. package/dist/modes/interactive/components/bash-execution.d.ts.map +1 -1
  22. package/dist/modes/interactive/components/bash-execution.js +18 -4
  23. package/dist/modes/interactive/components/bash-execution.js.map +1 -1
  24. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  25. package/dist/modes/interactive/interactive-mode.js +4 -4
  26. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  27. package/dist/modes/print-mode.d.ts +1 -1
  28. package/dist/modes/print-mode.d.ts.map +1 -1
  29. package/dist/modes/print-mode.js +83 -71
  30. package/dist/modes/print-mode.js.map +1 -1
  31. package/docs/rpc.md +11 -2
  32. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  33. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  34. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  35. package/examples/extensions/custom-provider-qwen-cli/package.json +1 -1
  36. package/examples/extensions/with-deps/package-lock.json +2 -2
  37. package/examples/extensions/with-deps/package.json +1 -1
  38. package/package.json +4 -4
@@ -8,7 +8,7 @@ import * as os from "node:os";
8
8
  import * as path from "node:path";
9
9
  import { CombinedAutocompleteProvider, Container, fuzzyFilter, Loader, Markdown, matchesKey, ProcessTerminal, Spacer, setKeybindings, Text, TruncatedText, TUI, visibleWidth, } from "@mariozechner/pi-tui";
10
10
  import { spawn, spawnSync } from "child_process";
11
- import { APP_NAME, getAgentDir, getAuthPath, getDebugLogPath, getShareViewerUrl, getUpdateInstruction, VERSION, } from "../../config.js";
11
+ import { APP_NAME, getAgentDir, getAuthPath, getDebugLogPath, getShareViewerUrl, getUpdateInstruction, PACKAGE_NAME, VERSION, } from "../../config.js";
12
12
  import { parseSkillBlock } from "../../core/agent-session.js";
13
13
  import { FooterDataProvider } from "../../core/footer-data-provider.js";
14
14
  import { KeybindingsManager } from "../../core/keybindings.js";
@@ -452,7 +452,7 @@ export class InteractiveMode {
452
452
  if (process.env.PI_SKIP_VERSION_CHECK || process.env.PI_OFFLINE)
453
453
  return undefined;
454
454
  try {
455
- const response = await fetch("https://registry.npmjs.org/@mariozechner/pi-coding-agent/latest", {
455
+ const response = await fetch(`https://registry.npmjs.org/${PACKAGE_NAME}/latest`, {
456
456
  signal: AbortSignal.timeout(10000),
457
457
  });
458
458
  if (!response.ok)
@@ -2462,9 +2462,9 @@ export class InteractiveMode {
2462
2462
  this.ui.requestRender();
2463
2463
  }
2464
2464
  showNewVersionNotification(newVersion) {
2465
- const action = theme.fg("accent", getUpdateInstruction("@mariozechner/pi-coding-agent"));
2465
+ const action = theme.fg("accent", getUpdateInstruction(PACKAGE_NAME));
2466
2466
  const updateInstruction = theme.fg("muted", `New version ${newVersion} is available. `) + action;
2467
- const changelogUrl = theme.fg("accent", "https://github.com/badlogic/pi-mono/blob/main/packages/coding-agent/CHANGELOG.md");
2467
+ const changelogUrl = theme.fg("accent", "https://github.com/lee101/pi-infinity/blob/main/packages/coding-agent/CHANGELOG.md");
2468
2468
  const changelogLine = theme.fg("muted", "Changelog: ") + changelogUrl;
2469
2469
  this.chatContainer.addChild(new Spacer(1));
2470
2470
  this.chatContainer.addChild(new DynamicBorder((text) => theme.fg("warning", text)));