@narumitw/pi-subagents 0.52.0 → 0.54.0

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 (67) hide show
  1. package/README.md +154 -12
  2. package/package.json +1 -1
  3. package/src/agents/built-ins.ts +124 -0
  4. package/src/agents/catalog.ts +224 -0
  5. package/src/agents/discovery.ts +249 -0
  6. package/src/agents/types.ts +98 -0
  7. package/src/agents.ts +47 -665
  8. package/src/auto-transport.ts +2 -1
  9. package/src/automation-contract.ts +709 -0
  10. package/src/automation-planner.ts +65 -0
  11. package/src/automation.ts +585 -0
  12. package/src/capability-router.ts +1 -1
  13. package/src/completion-delivery.ts +2 -3
  14. package/src/config-status.ts +2 -2
  15. package/src/config-ui.ts +8 -8
  16. package/src/consult-resources.ts +1 -1
  17. package/src/consult.ts +9 -7
  18. package/src/create-stateful-transport.ts +2 -1
  19. package/src/cwd-policy.ts +1 -1
  20. package/src/execution/budget.ts +56 -0
  21. package/src/execution/runtime-policy.ts +19 -0
  22. package/src/execution-plan.ts +2 -2
  23. package/src/execution-profiles.ts +1 -1
  24. package/src/execution-ui.ts +1 -1
  25. package/src/execution.ts +269 -100
  26. package/src/in-process-transport.ts +3 -2
  27. package/src/inspect.ts +35 -8
  28. package/src/limits.ts +1 -0
  29. package/src/orchestration-metrics.ts +12 -5
  30. package/src/panel-execution.ts +1 -1
  31. package/src/panel-planning.ts +1 -1
  32. package/src/params.ts +3 -1
  33. package/src/persistence.ts +1 -1
  34. package/src/registry-types.ts +1 -1
  35. package/src/registry.ts +1 -1
  36. package/src/render.ts +1 -1
  37. package/src/retained-semantic-state.ts +1 -1
  38. package/src/rpc-transport-metadata.ts +1 -1
  39. package/src/rpc-transport.ts +2 -1
  40. package/src/runner.ts +6 -1
  41. package/src/settings/inspection.ts +275 -0
  42. package/src/settings/schema.ts +186 -0
  43. package/src/settings.ts +72 -420
  44. package/src/spawn-idempotency.ts +1 -1
  45. package/src/stateful-agent-view.ts +87 -0
  46. package/src/stateful-config.ts +1 -1
  47. package/src/stateful-guidance.ts +1 -1
  48. package/src/stateful-limits.ts +1 -1
  49. package/src/stateful-prompt.ts +2 -2
  50. package/src/stateful-safety.ts +2 -1
  51. package/src/stateful.ts +23 -103
  52. package/src/subagents.ts +10 -9
  53. package/src/subprocess-transport.ts +2 -6
  54. package/src/transport-types.ts +1 -1
  55. package/src/transport-ui.ts +1 -1
  56. package/src/verification-harness.ts +516 -0
  57. package/src/verification-receipt.ts +275 -0
  58. package/src/verified-execution-benchmark.ts +86 -0
  59. package/src/verified-execution-contract.ts +219 -0
  60. package/src/work-item-ledger.ts +510 -37
  61. package/src/work-item-persistence.ts +31 -0
  62. package/src/workflow-completion-controller.ts +397 -0
  63. package/src/workflow-plan-compiler.ts +618 -0
  64. package/src/workflow-plan-patch.ts +636 -0
  65. package/src/workflow-planning-benchmark.ts +95 -0
  66. package/src/workflow-planning.ts +11 -1
  67. package/src/workflow-ui.ts +3 -3
@@ -1,4 +1,5 @@
1
- import { discoverAgents, type SubagentSettings } from "./agents.js";
1
+ import { discoverAgents } from "./agents/discovery.js";
2
+ import type { SubagentSettings } from "./agents/types.js";
2
3
  import type { ManagedAgent, TurnOutcome } from "./registry.js";
3
4
  import { isWriteCapable } from "./stateful-safety.js";
4
5
  import type { SubagentTransport } from "./transport.js";