From 889fe9fd3926ad8c3d18c25f35ad622bcf0c9f82 Mon Sep 17 00:00:00 2001 From: Drew Stone Date: Mon, 22 Jun 2026 17:08:34 -0600 Subject: [PATCH] refactor(fuzz)!: remove the @deprecated Proposer alias MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The fuzz proposer is `MutationProposer`. PR #278 renamed it and kept a `@deprecated export type Proposer = MutationProposer` back-compat alias; the house rule forbids compat shims, so remove it head-on. The alias and its `./fuzz` barrel re-export are deleted — `MutationProposer` is the only name. Removing a published export is breaking on 0.x: minor bump to 0.98.0 (npm + PyPI version trio kept in lock-step). --- clients/python/pyproject.toml | 2 +- clients/python/src/agent_eval_rpc/__init__.py | 2 +- package.json | 2 +- src/fuzz/index.ts | 1 - src/fuzz/types.ts | 4 ---- 5 files changed, 3 insertions(+), 8 deletions(-) diff --git a/clients/python/pyproject.toml b/clients/python/pyproject.toml index 2b88ac36..0edd4d64 100644 --- a/clients/python/pyproject.toml +++ b/clients/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "agent-eval-rpc" -version = "0.97.0" +version = "0.98.0" description = "Python RPC client for @tangle-network/agent-eval — judge content against rubrics over HTTP or stdio RPC. Eval logic runs in the Node runtime; this package is a thin wire client." readme = "README.md" requires-python = ">=3.10" diff --git a/clients/python/src/agent_eval_rpc/__init__.py b/clients/python/src/agent_eval_rpc/__init__.py index bcc76eeb..55bb8c40 100644 --- a/clients/python/src/agent_eval_rpc/__init__.py +++ b/clients/python/src/agent_eval_rpc/__init__.py @@ -58,7 +58,7 @@ try: __version__ = version("agent-eval-rpc") except PackageNotFoundError: - __version__ = "0.97.0" + __version__ = "0.98.0" __all__ = [ "Client", diff --git a/package.json b/package.json index 02ec29f4..e7507b16 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tangle-network/agent-eval", - "version": "0.97.0", + "version": "0.98.0", "description": "Evaluate and improve AI agents from runs, traces, judges, and feedback. Compare candidates, cluster failures, measure lift, and gate releases.", "homepage": "https://github.com/tangle-network/agent-eval#readme", "repository": { diff --git a/src/fuzz/index.ts b/src/fuzz/index.ts index 0a4a5dc2..f2a4944d 100644 --- a/src/fuzz/index.ts +++ b/src/fuzz/index.ts @@ -38,7 +38,6 @@ export type { Objective, ObjectiveContext, ProposeContext, - Proposer, RunCost, SpaceAxis, ValidityGates, diff --git a/src/fuzz/types.ts b/src/fuzz/types.ts index b3ad9a80..01befbe4 100644 --- a/src/fuzz/types.ts +++ b/src/fuzz/types.ts @@ -94,10 +94,6 @@ export interface ProposeContext { */ export type MutationProposer = (ctx: ProposeContext) => Promise | S[] -/** @deprecated Renamed to `MutationProposer` to disambiguate from the - * optimization `SurfaceProposer`. Kept as an alias for back-compat. */ -export type Proposer = MutationProposer - /** * What "interesting" means. `interest` in [0,1]; a candidate is notable (gate- * checked, reported) when `interest >= threshold`. `adversarialObjective` (low