@fleetagent/pi-coding-agent 0.0.7 → 0.0.9

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 (37) hide show
  1. package/CHANGELOG.md +36 -1
  2. package/README.md +3 -3
  3. package/dist/core/agent-session.d.ts +3 -0
  4. package/dist/core/agent-session.d.ts.map +1 -1
  5. package/dist/core/agent-session.js +44 -10
  6. package/dist/core/agent-session.js.map +1 -1
  7. package/dist/index.d.ts +1 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js.map +1 -1
  10. package/dist/modes/index.d.ts +1 -1
  11. package/dist/modes/index.d.ts.map +1 -1
  12. package/dist/modes/index.js.map +1 -1
  13. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  14. package/dist/modes/interactive/interactive-mode.js +4 -3
  15. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  16. package/dist/modes/rpc/rpc-client.d.ts +5 -1
  17. package/dist/modes/rpc/rpc-client.d.ts.map +1 -1
  18. package/dist/modes/rpc/rpc-client.js +18 -0
  19. package/dist/modes/rpc/rpc-client.js.map +1 -1
  20. package/dist/modes/rpc/rpc-mode.d.ts +1 -1
  21. package/dist/modes/rpc/rpc-mode.d.ts.map +1 -1
  22. package/dist/modes/rpc/rpc-mode.js +38 -0
  23. package/dist/modes/rpc/rpc-mode.js.map +1 -1
  24. package/dist/modes/rpc/rpc-types.d.ts +26 -0
  25. package/dist/modes/rpc/rpc-types.d.ts.map +1 -1
  26. package/dist/modes/rpc/rpc-types.js.map +1 -1
  27. package/dist/utils/version-check.d.ts.map +1 -1
  28. package/dist/utils/version-check.js +10 -4
  29. package/dist/utils/version-check.js.map +1 -1
  30. package/docs/settings.md +1 -1
  31. package/docs/usage.md +1 -1
  32. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  33. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  34. package/examples/extensions/sandbox/package.json +1 -1
  35. package/examples/extensions/with-deps/package.json +1 -1
  36. package/npm-shrinkwrap.json +12 -12
  37. package/package.json +4 -4
@@ -9,7 +9,7 @@ import * as path from "node:path";
9
9
  import { getProviders, } from "@fleetagent/pi-ai";
10
10
  import { CombinedAutocompleteProvider, Container, fuzzyFilter, getCapabilities, hyperlink, Loader, Markdown, matchesKey, ProcessTerminal, Spacer, setKeybindings, Text, TruncatedText, TUI, visibleWidth, } from "@fleetagent/pi-tui";
11
11
  import { spawn, spawnSync } from "child_process";
12
- import { APP_NAME, APP_TITLE, getAgentDir, getAuthPath, getDebugLogPath, getDocsPath, getShareViewerUrl, VERSION, } from "../../config.js";
12
+ import { APP_NAME, APP_TITLE, getAgentDir, getAuthPath, getDebugLogPath, getDocsPath, getShareViewerUrl, PACKAGE_NAME, VERSION, } from "../../config.js";
13
13
  import { parseSkillBlock } from "../../core/agent-session.js";
14
14
  import { FooterDataProvider } from "../../core/footer-data-provider.js";
15
15
  import { KeybindingsManager } from "../../core/keybindings.js";
@@ -3007,8 +3007,9 @@ export class InteractiveMode {
3007
3007
  }
3008
3008
  showNewVersionNotification(release) {
3009
3009
  const action = theme.fg("accent", `${APP_NAME} update`);
3010
- const updateInstruction = theme.fg("muted", `New version ${release.version} is available. Run `) + action;
3011
- const changelogUrl = "https://pi.dev/changelog";
3010
+ const packageName = release.packageName ?? PACKAGE_NAME;
3011
+ const updateInstruction = theme.fg("muted", `New ${packageName} version ${release.version} is available. Run `) + action;
3012
+ const changelogUrl = "https://github.com/fleetagent/pi/blob/main/packages/coding-agent/CHANGELOG.md";
3012
3013
  const changelogLink = getCapabilities().hyperlinks
3013
3014
  ? hyperlink(theme.fg("accent", "open changelog"), changelogUrl)
3014
3015
  : theme.fg("accent", changelogUrl);