From bc1b7e780e57a6976ffd486ceb6393efb38244d2 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 17 Feb 2026 22:24:19 +0000 Subject: [PATCH] chore: version packages --- .changeset/sdk-v2-rebuild.md | 47 ----------------------------------- CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++ package.json | 2 +- 3 files changed, 49 insertions(+), 48 deletions(-) delete mode 100644 .changeset/sdk-v2-rebuild.md diff --git a/.changeset/sdk-v2-rebuild.md b/.changeset/sdk-v2-rebuild.md deleted file mode 100644 index ce7bf3e..0000000 --- a/.changeset/sdk-v2-rebuild.md +++ /dev/null @@ -1,47 +0,0 @@ ---- -"scope3": major ---- - -Persona-based API architecture for Agentic Platform v2 - -Complete rebuild of the Scope3 SDK with persona-based design for the Agentic Platform v2 API. - -**New Features:** -- Unified `Scope3Client` with `persona` parameter: `buyer` or `partner` -- Full CLI with `scope3` command for all API operations -- REST and MCP adapter support -- Buyer resources: advertisers, campaigns (discovery/performance/audience), bundles, signals, reporting, sales agents, conversion events, creative sets -- Partner resources: partners, agents (with OAuth flows) - -**CLI Highlights:** -- `scope3 config set apiKey ` - persistent configuration -- `scope3 commands` - list all available commands by persona -- Table, JSON, and YAML output formats -- Environment support: production and staging - -**Breaking Changes:** -- Removed `Scope3AgenticClient` - use `Scope3Client` with `persona` parameter -- Removed `brand` persona - brands are now integrated into advertisers via `brandDomain` -- Campaign type `bundle` renamed to `discovery` -- Reporting moved from advertiser sub-resource to top-level `client.reporting` -- Removed auto-generated types from OpenAPI (now manually maintained) -- Auth uses `Authorization: Bearer` header (was `x-scope3-api-key`) -- Response envelope: `{ data, pagination, error }` (was flat) -- MCP uses single `api_call` tool (was per-resource tools) - -**Migration Guide:** - -```typescript -// Before (v1): -import { Scope3AgenticClient } from 'scope3'; -const client = new Scope3AgenticClient({ apiKey: '...' }); - -// After (v2): -import { Scope3Client } from 'scope3'; - -// For buyers (advertisers, campaigns, bundles): -const buyerClient = new Scope3Client({ apiKey: '...', persona: 'buyer' }); - -// For partners (agent registration, OAuth): -const partnerClient = new Scope3Client({ apiKey: '...', persona: 'partner' }); -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 06fa189..c194222 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,53 @@ # @scope3/agentic-client +## 2.0.0 + +### Major Changes + +- [#114](https://github.com/scope3data/agentic-client/pull/114) [`7110b25`](https://github.com/scope3data/agentic-client/commit/7110b258b4f3078df5beed13b19c5064f51ac434) Thanks [@EmmaLouise2018](https://github.com/EmmaLouise2018)! - Persona-based API architecture for Agentic Platform v2 + + Complete rebuild of the Scope3 SDK with persona-based design for the Agentic Platform v2 API. + + **New Features:** + - Unified `Scope3Client` with `persona` parameter: `buyer` or `partner` + - Full CLI with `scope3` command for all API operations + - REST and MCP adapter support + - Buyer resources: advertisers, campaigns (discovery/performance/audience), bundles, signals, reporting, sales agents, conversion events, creative sets + - Partner resources: partners, agents (with OAuth flows) + + **CLI Highlights:** + - `scope3 config set apiKey ` - persistent configuration + - `scope3 commands` - list all available commands by persona + - Table, JSON, and YAML output formats + - Environment support: production and staging + + **Breaking Changes:** + - Removed `Scope3AgenticClient` - use `Scope3Client` with `persona` parameter + - Removed `brand` persona - brands are now integrated into advertisers via `brandDomain` + - Campaign type `bundle` renamed to `discovery` + - Reporting moved from advertiser sub-resource to top-level `client.reporting` + - Removed auto-generated types from OpenAPI (now manually maintained) + - Auth uses `Authorization: Bearer` header (was `x-scope3-api-key`) + - Response envelope: `{ data, pagination, error }` (was flat) + - MCP uses single `api_call` tool (was per-resource tools) + + **Migration Guide:** + + ```typescript + // Before (v1): + import { Scope3AgenticClient } from 'scope3'; + const client = new Scope3AgenticClient({ apiKey: '...' }); + + // After (v2): + import { Scope3Client } from 'scope3'; + + // For buyers (advertisers, campaigns, bundles): + const buyerClient = new Scope3Client({ apiKey: '...', persona: 'buyer' }); + + // For partners (agent registration, OAuth): + const partnerClient = new Scope3Client({ apiKey: '...', persona: 'partner' }); + ``` + ## 1.1.0 ### Minor Changes diff --git a/package.json b/package.json index 60ad514..a9a7adf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "scope3", - "version": "1.1.0", + "version": "2.0.0", "description": "Scope3 SDK - REST and MCP client for the Agentic Platform", "engines": { "node": ">=18"