@codex-infinity/pi-infinity 0.60.1 → 0.60.2

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 (36) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/dist/core/agent-session.d.ts +14 -0
  3. package/dist/core/agent-session.d.ts.map +1 -1
  4. package/dist/core/agent-session.js +57 -3
  5. package/dist/core/agent-session.js.map +1 -1
  6. package/dist/core/exec.d.ts.map +1 -1
  7. package/dist/core/exec.js +7 -3
  8. package/dist/core/exec.js.map +1 -1
  9. package/dist/core/slash-commands.d.ts.map +1 -1
  10. package/dist/core/slash-commands.js +2 -1
  11. package/dist/core/slash-commands.js.map +1 -1
  12. package/dist/core/tools/bash.d.ts.map +1 -1
  13. package/dist/core/tools/bash.js +12 -10
  14. package/dist/core/tools/bash.js.map +1 -1
  15. package/dist/modes/interactive/interactive-mode.d.ts +1 -0
  16. package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
  17. package/dist/modes/interactive/interactive-mode.js +55 -5
  18. package/dist/modes/interactive/interactive-mode.js.map +1 -1
  19. package/dist/utils/child-process.d.ts +11 -0
  20. package/dist/utils/child-process.d.ts.map +1 -0
  21. package/dist/utils/child-process.js +78 -0
  22. package/dist/utils/child-process.js.map +1 -0
  23. package/dist/utils/clipboard-native.d.ts +1 -0
  24. package/dist/utils/clipboard-native.d.ts.map +1 -1
  25. package/dist/utils/clipboard-native.js.map +1 -1
  26. package/dist/utils/clipboard.d.ts +1 -1
  27. package/dist/utils/clipboard.d.ts.map +1 -1
  28. package/dist/utils/clipboard.js +11 -1
  29. package/dist/utils/clipboard.js.map +1 -1
  30. package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
  31. package/examples/extensions/custom-provider-anthropic/package.json +1 -1
  32. package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
  33. package/examples/extensions/custom-provider-qwen-cli/package.json +1 -1
  34. package/examples/extensions/with-deps/package-lock.json +2 -2
  35. package/examples/extensions/with-deps/package.json +1 -1
  36. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -5,6 +5,7 @@
5
5
  ### Fixed
6
6
 
7
7
  - Tests for session-selector-rename and tree-selector are now keybinding-agnostic, resetting editor keybindings to defaults before each test so user `keybindings.json` cannot cause failures ([#2360](https://github.com/badlogic/pi-mono/issues/2360))
8
+ - Fixed Windows bash execution hanging for commands that spawn detached descendants inheriting stdout/stderr handles, which caused `agent-browser` and similar commands to spin forever.
8
9
 
9
10
  ## [0.60.0] - 2026-03-18
10
11
 
@@ -585,6 +585,20 @@ export declare class AgentSession {
585
585
  * @returns Path to exported file
586
586
  */
587
587
  exportToHtml(outputPath?: string): Promise<string>;
588
+ /**
589
+ * Export the current session branch to a JSONL file.
590
+ * Writes the session header followed by all entries on the current branch path.
591
+ * @param outputPath Target file path. If omitted, generates a timestamped file in cwd.
592
+ * @returns The resolved output file path.
593
+ */
594
+ exportToJsonl(outputPath?: string): string;
595
+ /**
596
+ * Import a JSONL session file.
597
+ * Copies the file into the session directory and switches to it (like /resume).
598
+ * @param inputPath Path to the JSONL file to import.
599
+ * @returns true if the session was switched successfully.
600
+ */
601
+ importFromJsonl(inputPath: string): Promise<boolean>;
588
602
  /**
589
603
  * Get text content of last assistant message.
590
604
  * Useful for /copy command.