@gotgenes/pi-subagents 6.17.0 → 6.17.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 (61) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/docs/architecture/architecture.md +588 -536
  3. package/docs/architecture/history/phase-1-api-boundary.md +8 -0
  4. package/docs/architecture/history/phase-2-remove-scheduling.md +9 -0
  5. package/docs/architecture/history/phase-3-remove-rpc-groupjoin.md +11 -0
  6. package/docs/architecture/history/phase-4-implement-service.md +8 -0
  7. package/docs/architecture/history/phase-5-decompose-index.md +42 -0
  8. package/docs/architecture/history/phase-7-encapsulation.md +173 -0
  9. package/docs/architecture/history/phase-8-testability.md +103 -0
  10. package/docs/architecture/history/phase-9-observation-ctx.md +122 -0
  11. package/docs/plans/0164-reorganize-into-domain-directories.md +409 -0
  12. package/docs/retro/0147-inject-wrap-text-into-conversation-viewer.md +40 -0
  13. package/docs/retro/0164-reorganize-into-domain-directories.md +46 -0
  14. package/package.json +5 -1
  15. package/src/{agent-types.ts → config/agent-types.ts} +2 -2
  16. package/src/{custom-agents.ts → config/custom-agents.ts} +3 -3
  17. package/src/{default-agents.ts → config/default-agents.ts} +1 -1
  18. package/src/{invocation-config.ts → config/invocation-config.ts} +1 -1
  19. package/src/handlers/index.ts +2 -2
  20. package/src/index.ts +26 -26
  21. package/src/{agent-manager.ts → lifecycle/agent-manager.ts} +11 -11
  22. package/src/{agent-record.ts → lifecycle/agent-record.ts} +6 -6
  23. package/src/{agent-runner.ts → lifecycle/agent-runner.ts} +6 -6
  24. package/src/{parent-snapshot.ts → lifecycle/parent-snapshot.ts} +1 -1
  25. package/src/{worktree-state.ts → lifecycle/worktree-state.ts} +1 -1
  26. package/src/{worktree.ts → lifecycle/worktree.ts} +1 -1
  27. package/src/{notification.ts → observation/notification.ts} +4 -4
  28. package/src/{record-observer.ts → observation/record-observer.ts} +2 -2
  29. package/src/{renderer.ts → observation/renderer.ts} +2 -2
  30. package/src/runtime.ts +2 -2
  31. package/src/{service-adapter.ts → service/service-adapter.ts} +5 -5
  32. package/src/{service.ts → service/service.ts} +1 -1
  33. package/src/{env.ts → session/env.ts} +2 -2
  34. package/src/{memory.ts → session/memory.ts} +2 -2
  35. package/src/{prompts.ts → session/prompts.ts} +2 -2
  36. package/src/{session-config.ts → session/session-config.ts} +5 -5
  37. package/src/{skill-loader.ts → session/skill-loader.ts} +2 -2
  38. package/src/tools/agent-tool.ts +11 -12
  39. package/src/tools/background-spawner.ts +8 -8
  40. package/src/tools/foreground-runner.ts +14 -14
  41. package/src/tools/get-result-tool.ts +5 -5
  42. package/src/tools/helpers.ts +4 -4
  43. package/src/tools/spawn-config.ts +6 -6
  44. package/src/tools/steer-tool.ts +3 -3
  45. package/src/types.ts +1 -1
  46. package/src/ui/agent-activity-tracker.ts +1 -1
  47. package/src/ui/agent-config-editor.ts +4 -4
  48. package/src/ui/agent-creation-wizard.ts +5 -5
  49. package/src/ui/agent-menu.ts +10 -10
  50. package/src/ui/agent-widget.ts +5 -5
  51. package/src/ui/conversation-viewer.ts +6 -6
  52. package/src/ui/display.ts +2 -2
  53. package/src/ui/ui-observer.ts +1 -1
  54. package/src/ui/widget-renderer.ts +5 -5
  55. package/vitest.config.ts +14 -0
  56. /package/src/{execution-state.ts → lifecycle/execution-state.ts} +0 -0
  57. /package/src/{usage.ts → lifecycle/usage.ts} +0 -0
  58. /package/src/{notification-state.ts → observation/notification-state.ts} +0 -0
  59. /package/src/{context.ts → session/context.ts} +0 -0
  60. /package/src/{model-resolver.ts → session/model-resolver.ts} +0 -0
  61. /package/src/{session-dir.ts → session/session-dir.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [6.17.2](https://github.com/gotgenes/pi-packages/compare/pi-subagents-v6.17.1...pi-subagents-v6.17.2) (2026-05-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add package.json imports field for #src/#test path aliases ([#157](https://github.com/gotgenes/pi-packages/issues/157)) ([75b4598](https://github.com/gotgenes/pi-packages/commit/75b45980810583452f7741678359c004900c8bd0))
14
+
15
+
16
+ ### Documentation
17
+
18
+ * plan reorganize pi-subagents source into domain directories ([#164](https://github.com/gotgenes/pi-packages/issues/164)) ([40d1214](https://github.com/gotgenes/pi-packages/commit/40d1214ea806215a5a5cda092bf24de3ebb0a195))
19
+ * **retro:** add planning stage notes for issue [#164](https://github.com/gotgenes/pi-packages/issues/164) ([947ec91](https://github.com/gotgenes/pi-packages/commit/947ec91f86de214a637e9d76348c32cb8a743dc4))
20
+ * **retro:** add TDD stage notes for issue [#164](https://github.com/gotgenes/pi-packages/issues/164) ([3f075cd](https://github.com/gotgenes/pi-packages/commit/3f075cd01c8517e6322a98bf7c51831fce861ce2))
21
+ * update architecture doc to reflect domain directory restructuring ([#164](https://github.com/gotgenes/pi-packages/issues/164)) ([a8c912d](https://github.com/gotgenes/pi-packages/commit/a8c912d065e6b3627ea617fadbaa95a470dfe1d5))
22
+
23
+ ## [6.17.1](https://github.com/gotgenes/pi-packages/compare/pi-subagents-v6.17.0...pi-subagents-v6.17.1) (2026-05-23)
24
+
25
+
26
+ ### Documentation
27
+
28
+ * **pi-subagents:** add issue numbers to Phase 10 roadmap ([d6cc622](https://github.com/gotgenes/pi-packages/commit/d6cc62275bb2bdd9dbe9b2516bac03bdadd280d6))
29
+ * **pi-subagents:** hyperlink Phase 10 issue references in architecture doc ([1e2e488](https://github.com/gotgenes/pi-packages/commit/1e2e4888779496d9988036c9cbde6b728cc91a98))
30
+ * **pi-subagents:** restructure architecture doc with domain model and diagrams ([3dcf468](https://github.com/gotgenes/pi-packages/commit/3dcf4686c636e90da6337ad5502f91450597a700))
31
+ * **retro:** add retro notes for issue [#147](https://github.com/gotgenes/pi-packages/issues/147) ([0488655](https://github.com/gotgenes/pi-packages/commit/0488655729eff841809993f34238a688ff46acda))
32
+ * **retro:** add retro notes for issue [#147](https://github.com/gotgenes/pi-packages/issues/147) ([e6b2810](https://github.com/gotgenes/pi-packages/commit/e6b2810431f8baef79412fec9aa6b8aa194ff257))
33
+ * **retro:** replace retro deterministic step with sync-with-remote ([#147](https://github.com/gotgenes/pi-packages/issues/147)) ([9e9b365](https://github.com/gotgenes/pi-packages/commit/9e9b365ca3481f42ecf97c92fd4e44a4491b7573))
34
+
8
35
  ## [6.17.0](https://github.com/gotgenes/pi-packages/compare/pi-subagents-v6.16.3...pi-subagents-v6.17.0) (2026-05-23)
9
36
 
10
37