@vpxa/aikit 0.1.274 → 0.1.275

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 (31) hide show
  1. package/package.json +7 -1
  2. package/packages/cli/dist/index.js +14 -14
  3. package/packages/cli/dist/{init-BgelSos0.js → init-B3a2fygD.js} +1 -1
  4. package/packages/cli/dist/{scaffold-Cxjwg531.js → scaffold-BNPHP-QC.js} +1 -1
  5. package/packages/cli/dist/{templates-C92mODRl.js → templates-CDa0UuoE.js} +19 -19
  6. package/packages/core/dist/index.d.ts +45 -17
  7. package/packages/core/dist/index.js +1 -1
  8. package/packages/flows/dist/index.d.ts +23 -2
  9. package/packages/flows/dist/index.js +1 -1
  10. package/packages/server/dist/bin.js +6 -6
  11. package/packages/server/dist/config-DZ-6Zy94.js +2 -0
  12. package/packages/server/dist/config-DxWyWSb9.js +1 -0
  13. package/packages/server/dist/curated-manager-C5uOPept.js +7 -0
  14. package/packages/server/dist/index.js +1 -1
  15. package/packages/server/dist/{promotion-BNEScZVD.js → promotion-D9anNXv8.js} +1 -1
  16. package/packages/server/dist/{routes-CR3fI-HJ.js → routes-1wkXLxXe.js} +1 -1
  17. package/packages/server/dist/{routes-Afg7J7xK.js → routes-KC-D2U8n.js} +1 -1
  18. package/packages/server/dist/{server-4h0Cclv3.js → server-CkCRBlz4.js} +93 -93
  19. package/packages/server/dist/{server-DIz2FGOX.js → server-DlE6A6sd.js} +93 -93
  20. package/packages/server/dist/{version-check-gazMo-D4.js → version-check-CgfflkJX.js} +1 -1
  21. package/packages/server/dist/{version-check-BgHzxxCW.js → version-check-ruLtfyDd.js} +1 -1
  22. package/packages/server/viewers/canvas.html +2 -1
  23. package/packages/server/viewers/task-plan-static.html +2 -1
  24. package/packages/tools/dist/index.d.ts +5 -5
  25. package/packages/tools/dist/index.js +72 -72
  26. package/scaffold/dist/definitions/hooks.mjs +1 -1
  27. package/scaffold/dist/definitions/skills/c4-architecture.mjs +1 -1
  28. package/scaffold/dist/definitions/skills/session-handoff.mjs +2 -732
  29. package/packages/server/dist/config-CZuVxRpX.js +0 -1
  30. package/packages/server/dist/config-WpN5CWM7.js +0 -2
  31. package/packages/server/dist/curated-manager-CfwN96rp.js +0 -7
@@ -1 +1 @@
1
- const e={sessionStart:{description:`Run at the start of every agent session`,actions:[`status({})`,`knowledge({ action: "list" })`,`search({ query: "SESSION CHECKPOINT", origin: "curated" })`],rationale:`Resume prior work, load existing knowledge`},sessionEnd:{description:`Run at the end of every agent session with context-pressure-aware handoff behavior`,actions:["Check context pressure from the last `status({})` response before writing the checkpoint","If `contextPressure > 70` and a flow is active: load the `session-handoff` skill",'Create compact handoff: `knowledge({ action: "remember", scope: "flow", category: "session", title: "Session Handoff: <flow-topic>", content: "<compact format: State + Decisions + Next Steps + Blockers + Assumptions>" })`',"If possible, also write the full handoff file to `.flows/{flow-slug}/.handoffs/` using the skill's create protocol","If `contextPressure > 85`: this handoff is MANDATORY before ending the session, and present the handoff summary to the user for confirmation",'If `contextPressure <= 70` or no flow is active: use the standard session checkpoint `knowledge({ action: "remember", title: "Session checkpoint: <topic>", content: "Done: ... / Decisions: ... / Next: ...", category: "session" })`'],rationale:`Persist decisions for future sessions and prevent context loss when pressure is high`},beforeCodeChange:{description:`Run before modifying any code`,actions:[`search({ query: "<what you are changing>" })`,`scope_map({ task: "<description>" })`],rationale:`Check for prior decisions and understand impact`},beforeCommit:{description:`Run before committing changes`,actions:[`check({})`,`test_run({})`,`blast_radius({ changed_files: ["..."] })`],rationale:`Validate changes before they enter version control`}};export{e as HOOKS};
1
+ const e={sessionStart:{description:`Run at the start of every agent session`,actions:[`status({})`,`knowledge({ action: "list" })`,`search({ query: "SESSION CHECKPOINT", origin: "curated" })`],rationale:`Resume prior work, load existing knowledge`},sessionEnd:{description:`Run at the end of every agent session with context-pressure-aware handoff behavior`,actions:["Check context pressure from the last `status({})` response before writing the checkpoint","If `contextPressure > 70` and a flow is active: load the `session-handoff` skill",'Create compact handoff: `knowledge({ action: "remember", scope: "flow", category: "session", title: "Session Handoff: <flow-topic>", content: "<compact format: State + Decisions + Next Steps + Blockers + Assumptions>" })`',`Keep flow state in .flows/ only; write the full handoff file to ~/.aikit/workspaces/<workspace-hash>/handoffs/ using the skill's create protocol`,"If `contextPressure > 85`: this handoff is MANDATORY before ending the session, and present the handoff summary to the user for confirmation",'If `contextPressure <= 70` or no flow is active: use the standard session checkpoint `knowledge({ action: "remember", title: "Session checkpoint: <topic>", content: "Done: ... / Decisions: ... / Next: ...", category: "session" })`'],rationale:`Persist decisions for future sessions and prevent context loss when pressure is high`},beforeCodeChange:{description:`Run before modifying any code`,actions:[`search({ query: "<what you are changing>" })`,`scope_map({ task: "<description>" })`],rationale:`Check for prior decisions and understand impact`},beforeCommit:{description:`Run before committing changes`,actions:[`check({})`,`test_run({})`,`blast_radius({ changed_files: ["..."] })`],rationale:`Validate changes before they enter version control`}};export{e as HOOKS};