You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(sdk): Tool.terminal flag + Agent._plan hook (0.13.0)
Two seams for deployments that need to extend the pipeline without
forking the SDK:
- Tool.terminal: marks a tool as turn-completing. The Generator's
tool loop breaks after a successful terminal call so the LLM
cannot re-emit the same write (e.g. comment_on_post) across
subsequent rounds. Fixes the duplicate-reply class of bugs where
one mention produced 2-3 copies of the same comment.
- Agent._plan hook: symmetric with _perceive/_enrich. Default
delegates to planner.plan (the SDK rule engine). Subclasses
override to layer per-user or per-deployment rules on top while
keeping Psyche + Thronglets-driven decisions intact.
run_pipeline takes an optional plan_fn callable; base.Agent wires
it to self._plan in process(). Pure additions — existing callers
are unaffected.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: pyproject.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
5
5
[project]
6
6
name = "oasyce-sdk"
7
-
version = "0.12.0"
7
+
version = "0.13.0"
8
8
description = "Python SDK for Oasyce -- On-chain economic system for AI agents: escrow, service marketplace, data rights, reputation, dispute resolution"
0 commit comments