@rolino/contracts 0.4.0 → 0.5.0-beta.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 +28 -0
- package/README.md +35 -5
- package/dist/index.cjs +750 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4833 -1249
- package/dist/index.d.ts +4833 -1249
- package/dist/index.js +666 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @rolino/contracts
|
|
2
2
|
|
|
3
|
+
## 0.5.0-beta.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
|
+
- 4a893dd: Add provider-neutral Blog publishing destinations, safe delivery inspection,
|
|
15
|
+
and exact destination binding across public agent interfaces.
|
|
16
|
+
- 843a1db: Add the exact optional `seo:read` capability and bounded read-only SEO
|
|
17
|
+
opportunity and weekly-report parity across public agent contracts, clients,
|
|
18
|
+
CLI commands, and closed-world MCP tools. SEO reads now use the version 3 task
|
|
19
|
+
contract with the exact Ready, Research, or Rejected decision, selected format,
|
|
20
|
+
complete deliverables, bounded evidence, safe URLs, limitations, and no-publish
|
|
21
|
+
rules. Public output uses readable topic names and separate topic-relevance and
|
|
22
|
+
action-readiness confidence. Research tasks compare all supported formats and
|
|
23
|
+
must validate or reject the finding before a separate draft action is allowed.
|
|
24
|
+
|
|
25
|
+
## Unreleased
|
|
26
|
+
|
|
27
|
+
### Minor Changes
|
|
28
|
+
|
|
29
|
+
- Add safe Blog publishing provider, destination, delivery-attempt, and exact destination-selection contracts.
|
|
30
|
+
|
|
3
31
|
## 0.4.0
|
|
4
32
|
|
|
5
33
|
### 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.
|
|
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,44 @@ 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
|
-
|
|
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 publication preview and execution. Provider catalog reads require
|
|
39
|
+
`blog:manage`. Destination and delivery-attempt reads require `blog:read`.
|
|
40
|
+
These DTOs omit draft content, prompts, evidence, secrets, encrypted values,
|
|
41
|
+
and raw provider responses. A contract type does not make a hidden provider
|
|
42
|
+
available; the server rollout registry remains authoritative.
|
|
43
|
+
|
|
44
|
+
Project and post DTOs intentionally omit storage credentials, upload sessions,
|
|
22
45
|
tokens, and other publishing-provider internals.
|
|
23
46
|
|
|
47
|
+
Every destination reports an explicit `deliveryMode` (`IMMEDIATE` or
|
|
48
|
+
`SCHEDULED`) and lifecycle `stage`. For YouTube, immediate delivery preserves
|
|
49
|
+
the requested Public, Unlisted, or Private visibility and never creates a
|
|
50
|
+
schedule. Scheduled delivery requires Public visibility; Rolino uploads the
|
|
51
|
+
video privately first, and `CONFIRMING_SCHEDULE` means the upload is complete
|
|
52
|
+
while YouTube acknowledges the requested future publish time.
|
|
53
|
+
|
|
24
54
|
Contract support does not imply that a deployment enabled YouTube, Bluesky, or LinkedIn,
|
|
25
55
|
or completed Google/YouTube review. Servers remain authoritative for provider
|
|
26
56
|
gates, readiness, confirmation, and reconciliation. Operators should follow the
|