@rolino/contracts 0.1.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 +24 -0
- package/LICENSE +21 -0
- package/README.md +36 -0
- package/dist/index.cjs +824 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +2203 -0
- package/dist/index.d.ts +2203 -0
- package/dist/index.js +724 -0
- package/dist/index.js.map +1 -0
- package/package.json +62 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# @rolino/contracts
|
|
2
|
+
|
|
3
|
+
## 0.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- fdc916f: Add least-privilege, idempotent project creation across the public API, SDK,
|
|
8
|
+
CLI, and local stdio MCP, including atomic paired-brand creation.
|
|
9
|
+
- 2f5220f: Expose Bluesky consistently across public publishing contracts, the SDK, CLI,
|
|
10
|
+
and MCP, including 300-grapheme caption overrides, text and image readiness,
|
|
11
|
+
health reporting, scheduling, and immediate publishing. The fixed release group
|
|
12
|
+
also advances `@rolino/local-auth` even though its source does not change.
|
|
13
|
+
- edd5f2e: Validate YouTube descriptions by their 5,000-byte UTF-8 provider limit so every Rolino client rejects multibyte text that YouTube would refuse.
|
|
14
|
+
- 1b644ef: Prepare the first coordinated public release of Rolino's contracts, SDK, shared
|
|
15
|
+
local authentication, CLI, and local stdio MCP packages.
|
|
16
|
+
- 420484d: Add reusable media discovery and direct local-file uploads across the public
|
|
17
|
+
API contracts, SDK, CLI, and MCP so agents can safely prepare folder-based
|
|
18
|
+
social scheduling workflows. The fixed release group also advances
|
|
19
|
+
`@rolino/local-auth` even though its source does not change.
|
|
20
|
+
- 52373a6: Expose YouTube consistently across public contracts, the SDK, CLI, and MCP,
|
|
21
|
+
including explicit draft metadata, readiness and health, early scheduled
|
|
22
|
+
preparation, exact publish confirmation, and typed pending reconciliation.
|
|
23
|
+
The fixed release group also advances `@rolino/local-auth` even though its
|
|
24
|
+
source does not change.
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Vlad
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# `@rolino/contracts`
|
|
2
|
+
|
|
3
|
+
Zod schemas and TypeScript types for Rolino's versioned public API. This package
|
|
4
|
+
contains transport-safe DTOs only; it must not depend on Prisma, Next.js, auth
|
|
5
|
+
providers, or server implementation details.
|
|
6
|
+
|
|
7
|
+
Contract 0.9 covers discovery, identity, capabilities, project reads and
|
|
8
|
+
idempotent project creation, safe post and calendar reads, idempotent draft
|
|
9
|
+
writes, and server-confirmed Instagram, TikTok, YouTube, and Bluesky scheduling
|
|
10
|
+
and immediate publishing. YouTube additions include explicit draft settings,
|
|
11
|
+
provider readiness, early scheduled preparation, and typed pending schedule
|
|
12
|
+
reconciliation. Bluesky additions include 300-grapheme caption overrides,
|
|
13
|
+
text-only and image readiness, health, scheduling, and publishing. Project and
|
|
14
|
+
post DTOs intentionally omit storage, credentials, upload sessions, and other
|
|
15
|
+
publishing-provider internals.
|
|
16
|
+
|
|
17
|
+
Contract support does not imply that a deployment enabled YouTube or Bluesky,
|
|
18
|
+
or completed Google/YouTube review. Servers remain authoritative for provider
|
|
19
|
+
gates, readiness, confirmation, and reconciliation. Operators should follow the
|
|
20
|
+
[YouTube operations guide](https://github.com/deifos/rolino/blob/main/docs/integrations/youtube.md)
|
|
21
|
+
and
|
|
22
|
+
[Bluesky operations guide](https://github.com/deifos/rolino/blob/main/docs/integrations/bluesky.md).
|
|
23
|
+
|
|
24
|
+
This is a supported transitive dependency of the public SDK, CLI, and MCP
|
|
25
|
+
packages. Most users should install one of those entry points rather than
|
|
26
|
+
installing contracts directly.
|
|
27
|
+
|
|
28
|
+
## Support, security, and license
|
|
29
|
+
|
|
30
|
+
Stable releases are published only after the maintainer approves the release
|
|
31
|
+
gate. Report bugs through the
|
|
32
|
+
[Rolino issue tracker](https://github.com/deifos/rolino/issues) and security
|
|
33
|
+
issues through the repository's
|
|
34
|
+
[security policy](https://github.com/deifos/rolino/security/policy).
|
|
35
|
+
|
|
36
|
+
`@rolino/contracts` is available under the MIT License.
|