Skip to content

Update @mariozechner/pi-ai and @mariozechner/pi-coding-agent to v0.65.0 #6

Description

@github-actions

Pi AI Libraries Update

Both pi-ai packages have updates available with breaking changes:

  • @mariozechner/pi-ai: v0.57.1 → v0.65.0
  • @mariozechner/pi-coding-agent: v0.57.1 → v0.65.0

Breaking Changes in v0.65.0

Session Runtime API Changes

  • Removed extension events session_switch and session_fork
  • Use session_start with event.reason instead
  • Removed session-replacement methods from AgentSession
  • Use new AgentSessionRuntime for session management

Migration Required

Before:

pi.on("session_switch", async (event, ctx) => { ... });
await session.newSession();

After:

pi.on("session_start", async (event, ctx) => {
  // event.reason: "startup" | "reload" | "new" | "resume" | "fork"
});

const runtime = await createAgentSessionRuntime(...);
await runtime.newSession();

Impact Assessment

This repo imports from both packages in the core agent framework. The breaking changes affect session management APIs that may be used in the quartermaster missions.

Review needed:

  1. Check usage of session events in missions/
  2. Verify agent initialization code
  3. Test mission execution with new APIs

New Features

  • New defineTool() helper for custom tools
  • Label timestamps in /tree
  • Unified diagnostics model
  • Session runtime API improvements

Full changelog

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions