@kinetune/cli 0.8.0 → 0.9.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/README.md +2 -0
- package/dist/kinetune.mjs +27 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,6 +21,8 @@ kinetune auth status # the workspace, its plan and credi
|
|
|
21
21
|
|
|
22
22
|
A new account sets up its workspace in the browser first: an artist's (one artist) or a label's (a roster),
|
|
23
23
|
and a plan. Uploading and making videos need an active plan; without one they answer `plan_required`.
|
|
24
|
+
Each plan has storage (`kinetune account` shows `storage`); an upload or video that wouldn't fit answers
|
|
25
|
+
`storage_full`: delete videos or archive songs you no longer need, or move up a plan.
|
|
24
26
|
|
|
25
27
|
A sign-in acts for the workspace you picked (an "organization" in commands and fields). To work in another
|
|
26
28
|
one, sign in again and pick it:
|
package/dist/kinetune.mjs
CHANGED
|
@@ -20526,7 +20526,7 @@ var search = (q) => ({
|
|
|
20526
20526
|
});
|
|
20527
20527
|
var httpsUrl = (what) => external_exports.string().url().max(2e3).describe(`A public https URL of ${what}`);
|
|
20528
20528
|
var LYRICS = "The song\u2019s lyrics as text: plain (Suno-style [Verse]/[Chorus] tags and (x2) marks are fine), or the contents of an SRT, WebVTT or LRC file. Every word is still timed from the audio: your text fixes misheard words and sets where lines break in videos. A part sung again (a chorus) can be written once; lyrics that don\u2019t match what\u2019s sung, or cover only part of it, are refused";
|
|
20529
|
-
var NEEDS_PLAN = "Needs an active plan (402 plan_required without one; get_account: plan.active).";
|
|
20529
|
+
var NEEDS_PLAN = "Needs an active plan (402 plan_required without one; get_account: plan.active) and room in its storage (402 storage_full when it would not fit; get_account: storage).";
|
|
20530
20530
|
var COVER_SIZES = "cover_art.url is the cover at up to 1536 px (JPEG; width and height describe it), preview_url a 640 px and thumbnail_url a 160 px WebP. Image links are signed for 7 days and stay the same all day, so they can be cached.";
|
|
20531
20531
|
var { type: _lyricType, quote_id: _lyricQuote, ...lyricShape } = LyricVideoRequestSchema.shape;
|
|
20532
20532
|
var { type: _canvasType, quote_id: _canvasQuote, ...canvasShape } = CanvasRequestSchema.shape;
|
|
@@ -20610,7 +20610,7 @@ var OPERATIONS = [
|
|
|
20610
20610
|
group: "account",
|
|
20611
20611
|
title: "Get the account",
|
|
20612
20612
|
summary: "Who you are signed in as, the organization (workspace) and its credit balance",
|
|
20613
|
-
description: "Returns the organization the credentials act for (the workspace, as the app calls it; type artist holds one artist, label a roster), how they authenticate and their scopes, the credit balance (available, monthly, top-ups) and its plan, if any: active says whether it lets the workspace create (without an active plan, creating answers 402 plan_required: tell the person to choose a plan in the app), where it is billed, when the period ends, and a downgrade or interval switch waiting for the renewal as scheduled_change. Monthly credits reset every month; top-ups never expire. Check it before creating anything.",
|
|
20613
|
+
description: "Returns the organization the credentials act for (the workspace, as the app calls it; type artist holds one artist, label a roster), how they authenticate and their scopes, the credit balance (available, monthly, top-ups) and its plan, if any: active says whether it lets the workspace create (without an active plan, creating answers 402 plan_required: tell the person to choose a plan in the app), storage (used_bytes against limit_bytes, what the plan allows: an upload or new video that does not fit answers 402 storage_full, and deleting videos or archiving songs frees space at once), where it is billed, when the period ends, and a downgrade or interval switch waiting for the renewal as scheduled_change. Monthly credits reset every month; top-ups never expire. Check it before creating anything.",
|
|
20614
20614
|
method: "GET",
|
|
20615
20615
|
path: "/api/v1/account",
|
|
20616
20616
|
scopes: ["videos:read", "music:read", "library:read"],
|
|
@@ -20626,7 +20626,7 @@ var OPERATIONS = [
|
|
|
20626
20626
|
group: "account",
|
|
20627
20627
|
title: "List the options",
|
|
20628
20628
|
summary: "Video types, Look categories, background sources, formats and the current credit prices",
|
|
20629
|
-
description: "Everything a request can choose from, with the credit table. Use it to pick a category or source and to explain prices.",
|
|
20629
|
+
description: "Everything a request can choose from, with the credit table, and what's on sale (plans: each plan's monthly and yearly price in cents, monthly credits, limits and features, the recommended one marked highlighted; credit_packs: each pack's credits and price in cents). The catalog is set by Kinetune's admins and can change; a subscription keeps what it was bought with. Use it to pick a category or source and to explain prices.",
|
|
20630
20630
|
method: "GET",
|
|
20631
20631
|
path: "/api/v1/options",
|
|
20632
20632
|
scopes: ["videos:read", "music:read", "library:read"],
|
|
@@ -21294,6 +21294,28 @@ var OPERATIONS = [
|
|
|
21294
21294
|
idempotent: true,
|
|
21295
21295
|
cli: ["videos", "delete"],
|
|
21296
21296
|
mcp: "delete_video"
|
|
21297
|
+
},
|
|
21298
|
+
/* Community */
|
|
21299
|
+
{
|
|
21300
|
+
id: "ideas.suggest",
|
|
21301
|
+
group: "community",
|
|
21302
|
+
title: "Suggest an idea",
|
|
21303
|
+
summary: "Suggest a feature or change to Kinetune for others to vote on",
|
|
21304
|
+
description: `Posts an idea to the Community board in the app, where everyone signed in can vote and comment, and Kinetune says what is planned and what shipped. Use it when the person asks for something the product can't do yet ("I wish it could\u2026"): say it in their words, one line, with how they would use it in body. It is public to Kinetune's users under the person's name, so leave out private links and contact details, and ask before posting. Suggesting votes for the idea and follows it: the person hears by email when it ships. At most 5 a day.`,
|
|
21305
|
+
method: "POST",
|
|
21306
|
+
path: "/api/v1/ideas",
|
|
21307
|
+
scopes: ["videos:write", "music:write", "library:write"],
|
|
21308
|
+
input: external_exports.object({
|
|
21309
|
+
title: external_exports.string().trim().min(6).max(120).describe("The idea in one line, in the person's words"),
|
|
21310
|
+
body: external_exports.string().trim().max(2e3).optional().describe("How they would use it: their release, the platform, why it matters"),
|
|
21311
|
+
area: external_exports.enum(["lyric-video", "canvas", "music-video", "everything"]).default("everything").describe("What it is about: lyric-video, canvas, music-video, or everything (the whole app)")
|
|
21312
|
+
}),
|
|
21313
|
+
readOnly: false,
|
|
21314
|
+
destructive: false,
|
|
21315
|
+
idempotent: false,
|
|
21316
|
+
cli: ["ideas", "suggest"],
|
|
21317
|
+
mcp: "suggest_idea",
|
|
21318
|
+
example: { title: "Export a 15-second cut of the hook for TikTok", area: "lyric-video" }
|
|
21297
21319
|
}
|
|
21298
21320
|
];
|
|
21299
21321
|
var operation = (opId) => {
|
|
@@ -21374,7 +21396,7 @@ function openApiDocument(input2) {
|
|
|
21374
21396
|
"201": { description: "Created" },
|
|
21375
21397
|
"400": { description: "Invalid request" },
|
|
21376
21398
|
"401": { description: "Missing or invalid credentials" },
|
|
21377
|
-
"402": { description: "Not enough credits,
|
|
21399
|
+
"402": { description: "Not enough credits, no active plan (code plan_required), or storage full (code storage_full)" },
|
|
21378
21400
|
"403": { description: "Missing scope" },
|
|
21379
21401
|
"404": { description: "Not found" },
|
|
21380
21402
|
"409": { description: "Conflict" },
|
|
@@ -24938,7 +24960,7 @@ async function revoke(config2) {
|
|
|
24938
24960
|
// package.json
|
|
24939
24961
|
var package_default = {
|
|
24940
24962
|
name: "@kinetune/cli",
|
|
24941
|
-
version: "0.
|
|
24963
|
+
version: "0.9.0",
|
|
24942
24964
|
description: "Command line for Kinetune: lyric videos and Spotify Canvas loops from your songs, for people and AI agents.",
|
|
24943
24965
|
license: "MIT",
|
|
24944
24966
|
homepage: "https://kinetune.com/developers#cli",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kinetune/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Command line for Kinetune: lyric videos and Spotify Canvas loops from your songs, for people and AI agents.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://kinetune.com/developers#cli",
|