Skip to content

chore(driver)!: remove the deprecated AgentDriver surface in the next major (extracted from agent-runtime#694) #618

Description

@drewstone

Extracted from tangle-network/agent-runtime#694. The legacy persona-driver surface is deprecated with a warn-once fence, not deleted. Removal is a breaking change and waits for the next major.

What remains on 0.145.15 (src/driver.ts)

  • AgentDriver (class, line 49) — the second driver family; a driver profile whose directive is the persona supersedes it.
  • buildDriverSystemPrompt (line 245) and decideNextUserTurn (line 323) — role-as-function; the knowledge moved to directive seed prompts.
  • buildWorkerDriverSystemPrompt is already gone.
  • src/deprecation.test.ts locks the warn-once behavior.

On removal

  • The deprecation strings in src/driver.ts cite agent-runtime#694, which is closed. Repoint them at this issue on the next touch of that file; do not ship a release only for the pointer.
  • Delete the class and both functions in the next major; keep what they know as registry prompt seeds where a consumer still needs it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions