@rolino/contracts 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,62 @@
1
1
  # @rolino/contracts
2
2
 
3
+ ## 0.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4f9e790: Add the optional `blog:manage` capability and synchronized agent-first Blog
8
+ setup, import, cadence planning, plan review, article creation, confirmed
9
+ connection provisioning, and safe verification operations.
10
+ - 1edd1e7: Add published Blog Studio delivery contracts and the server-only Next.js 16 Blog Studio package.
11
+ - 74a13ea: Expose immediate versus scheduled delivery and destination lifecycle stages,
12
+ preserve YouTube visibility for immediate publishing, and clarify remote
13
+ schedule confirmation across public clients.
14
+ - 4af607d: Add independent exact-bundle Blog approval, reviewed image upload and generation,
15
+ confirmed publication scheduling and cancellation, and the complete authorized
16
+ agent workflow without widening existing credentials.
17
+ - 4a893dd: Add provider-neutral Blog publishing destinations, safe delivery inspection,
18
+ and exact destination binding across public agent interfaces.
19
+ - 843a1db: Add the exact optional `seo:read` capability and bounded read-only SEO
20
+ opportunity and weekly-report parity across public agent contracts, clients,
21
+ CLI commands, and closed-world MCP tools. SEO reads now use the version 3 task
22
+ contract with the exact Ready, Research, or Rejected decision, selected format,
23
+ complete deliverables, bounded evidence, safe URLs, limitations, and no-publish
24
+ rules. Public output uses readable topic names and separate topic-relevance and
25
+ action-readiness confidence. Research tasks compare all supported formats and
26
+ must validate or reject the finding before a separate draft action is allowed.
27
+
28
+ ## 0.5.0-beta.0
29
+
30
+ ### Minor Changes
31
+
32
+ - 4f9e790: Add the optional `blog:manage` capability and synchronized agent-first Blog
33
+ setup, import, cadence planning, plan review, article creation, confirmed
34
+ connection provisioning, and safe verification operations.
35
+ - 1edd1e7: Add published Blog Studio delivery contracts and the server-only Next.js 16 Blog Studio package.
36
+ - 74a13ea: Expose immediate versus scheduled delivery and destination lifecycle stages,
37
+ preserve YouTube visibility for immediate publishing, and clarify remote
38
+ schedule confirmation across public clients.
39
+ - 4a893dd: Add provider-neutral Blog publishing destinations, safe delivery inspection,
40
+ and exact destination binding across public agent interfaces.
41
+ - 843a1db: Add the exact optional `seo:read` capability and bounded read-only SEO
42
+ opportunity and weekly-report parity across public agent contracts, clients,
43
+ CLI commands, and closed-world MCP tools. SEO reads now use the version 3 task
44
+ contract with the exact Ready, Research, or Rejected decision, selected format,
45
+ complete deliverables, bounded evidence, safe URLs, limitations, and no-publish
46
+ rules. Public output uses readable topic names and separate topic-relevance and
47
+ action-readiness confidence. Research tasks compare all supported formats and
48
+ must validate or reject the finding before a separate draft action is allowed.
49
+
50
+ ## Unreleased
51
+
52
+ ### Minor Changes
53
+
54
+ - Add exact Blog image, approval-bundle, scheduling, cancellation, provenance,
55
+ idempotency, and safe public-state contracts while keeping `blog:write`,
56
+ `blog:approve`, and `blog:publish` independent.
57
+ - Add the independent optional `blog:approve` capability without widening existing Blog credentials or combining draft, approval, and publication access.
58
+ - Add safe Blog publishing provider, destination, delivery-attempt, and exact destination-selection contracts.
59
+
3
60
  ## 0.4.0
4
61
 
5
62
  ### Minor Changes
package/README.md CHANGED
@@ -4,7 +4,7 @@ Zod schemas and TypeScript types for Rolino's versioned public API. This package
4
4
  contains transport-safe DTOs only; it must not depend on Prisma, Next.js, auth
5
5
  providers, or server implementation details.
6
6
 
7
- Contract 0.14 covers discovery, identity, capabilities, project reads and
7
+ Contract 0.15 covers discovery, identity, capabilities, project reads and
8
8
  idempotent project creation, safe post and calendar reads, idempotent draft
9
9
  writes, and server-confirmed Instagram, TikTok, YouTube, Bluesky, and LinkedIn scheduling
10
10
  and immediate publishing. YouTube additions include explicit draft settings,
@@ -13,14 +13,57 @@ reconciliation. Bluesky additions include 300-grapheme caption overrides,
13
13
  text-only and image readiness, health, scheduling, and publishing. TikTok
14
14
  additions include separately reviewed draft choices, secret-safe account-level
15
15
  delivery options, server-stamped review time, and exact interaction enforcement.
16
- LinkedIn additions include a 3,000-character destination override, text,
17
- single/multi-image, and single-video readiness, plus a strict member-delivery-options
18
- variant that exposes JPEG/PNG and native MP4 limits without credentials.
16
+ LinkedIn additions include a 3,000-character destination override, text,
17
+ single/multi-image, and single-video readiness, plus a strict member-delivery-options
18
+ variant that exposes JPEG/PNG and native MP4 limits without credentials.
19
19
  Draft updates are partial, and post reads expose reusable asset IDs plus
20
20
  provider-keyed sanitized settings so future provider variants remain additive.
21
+ It also adds the exact optional `seo:read` capability plus bounded read-only
22
+ opportunity and weekly-report DTOs. These SEO DTOs contain canonical versioned tasks,
23
+ safe evidence, neutral provenance, separate topic-relevance and action-readiness
24
+ confidence, and recommended actions. They
25
+ exclude credentials, provider names, raw responses, provider request IDs, cost
26
+ data, signal IDs, and integration IDs.
27
+ The additive task has an exact `READY`, `NEEDS_REVIEW`, or `REJECTED` decision,
28
+ selected format, unbiased format options for Research, keyword target, exact deliverables, research, safe URLs,
29
+ evidence, limitations, success metric, and execution boundaries. Accepted
30
+ opportunities expose `READY` or `NEEDS_REVIEW`; a rejected finding has no active
31
+ task. A Research task selects only `RESEARCH_TASK`, names no preferred final
32
+ format, and returns `VALIDATED` with a complete next task or `REJECTED` with
33
+ evidence before any separate draft action. Older stored reports receive a review-only compatibility task
34
+ when read; their saved snapshots are not changed.
35
+
36
+ Blog Studio contracts include provider catalog entries, safe publishing
37
+ destination readiness, delivery-attempt summaries, and exact destination
38
+ selection for approval, publication, scheduling, and cancellation preview and
39
+ execution. The independent `blog:approve` capability binds one immutable
40
+ revision and reviewed-image snapshot. `blog:publish` does not grant approval,
41
+ and `blog:write` cannot approve or publish. Existing credentials do not gain a
42
+ new capability. Provider catalog reads require
43
+ `blog:manage`. Destination and delivery-attempt reads require `blog:read`.
44
+ These DTOs omit draft content, prompts, evidence, secrets, encrypted values,
45
+ and raw provider responses. A contract type does not make a hidden provider
46
+ available; the server rollout registry remains authoritative.
47
+
48
+ Clients must read current setup and article or plan state, resolve missing
49
+ website, cadence, destination, and access-level choices, poll import and plan
50
+ jobs, present evidence, create one immutable revision with catalog-backed
51
+ links, review one generated or approved uploaded image and its alt text, stop
52
+ when approval or publication scope is missing, use confirmation-bound and
53
+ idempotent approval before publication, verify live delivery, and restart from
54
+ approval preview after any content or image change. A queued delivery is not a
55
+ published delivery.
56
+
21
57
  Project and post DTOs intentionally omit storage credentials, upload sessions,
22
58
  tokens, and other publishing-provider internals.
23
59
 
60
+ Every destination reports an explicit `deliveryMode` (`IMMEDIATE` or
61
+ `SCHEDULED`) and lifecycle `stage`. For YouTube, immediate delivery preserves
62
+ the requested Public, Unlisted, or Private visibility and never creates a
63
+ schedule. Scheduled delivery requires Public visibility; Rolino uploads the
64
+ video privately first, and `CONFIRMING_SCHEDULE` means the upload is complete
65
+ while YouTube acknowledges the requested future publish time.
66
+
24
67
  Contract support does not imply that a deployment enabled YouTube, Bluesky, or LinkedIn,
25
68
  or completed Google/YouTube review. Servers remain authoritative for provider
26
69
  gates, readiness, confirmation, and reconciliation. Operators should follow the