nixamp 0.48.0 → 0.49.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/dist/ai-keys.d.ts +1 -1
- package/dist/ai-keys.js +2 -0
- package/dist/ai-label.d.ts +210 -0
- package/dist/ai-label.js +725 -0
- package/dist/ai-radio.d.ts +11 -5
- package/dist/ai-radio.js +27 -11
- package/dist/ai-text.d.ts +2 -0
- package/dist/ai-text.js +4 -2
- package/dist/label-routes.d.ts +15 -0
- package/dist/label-routes.js +255 -0
- package/dist/server.d.ts +3 -0
- package/dist/server.js +28 -1
- package/dist/station-cli.js +109 -0
- package/dist/station-guide.d.ts +1 -1
- package/dist/station-guide.js +8 -3
- package/dist/station-mcp.d.ts +247 -20
- package/dist/station-mcp.js +36 -0
- package/dist/station-metering.js +2 -2
- package/dist/station-usage.d.ts +1 -1
- package/dist/station-usage.js +15 -1
- package/package.json +1 -1
- package/src/ai-keys.ts +2 -0
- package/src/ai-label.ts +826 -0
- package/src/ai-radio.ts +30 -13
- package/src/ai-text.ts +6 -2
- package/src/label-routes.ts +268 -0
- package/src/server.ts +30 -1
- package/src/station-cli.ts +102 -0
- package/src/station-guide.ts +8 -3
- package/src/station-mcp.ts +34 -0
- package/src/station-metering.ts +2 -2
- package/src/station-usage.ts +15 -1
- package/web/dist/assets/{ar-ropwGSSV.js → ar-BEVjqkqM.js} +1 -1
- package/web/dist/assets/{cs-Bi7uRYjd.js → cs-DjazXQ15.js} +1 -1
- package/web/dist/assets/{da-B8OELPch.js → da-DnyF6SYK.js} +1 -1
- package/web/dist/assets/{de-DJOTeXET.js → de--q1ph9Ez.js} +1 -1
- package/web/dist/assets/{es-BIupzuzS.js → es-Do3DkBwD.js} +1 -1
- package/web/dist/assets/{fi-A6MoWkzZ.js → fi-B7sJTx1N.js} +1 -1
- package/web/dist/assets/{fr-DerIDIwl.js → fr-Dy7f5rGi.js} +1 -1
- package/web/dist/assets/{hi-CyUtRBH4.js → hi-C9vSnTQ4.js} +1 -1
- package/web/dist/assets/{hu-DD1vrIhY.js → hu-h-eueQE8.js} +1 -1
- package/web/dist/assets/{id-C6OAMzii.js → id-D8Ffd-Pc.js} +1 -1
- package/web/dist/assets/{it-Xy86vmU7.js → it-BKM_2rj1.js} +1 -1
- package/web/dist/assets/main-Dl_uRj22.js +22 -0
- package/web/dist/assets/{nl-4Q-K2Jf1.js → nl-Cj3ETrcl.js} +1 -1
- package/web/dist/assets/radio-zPgyISLf.js +1 -0
- package/web/dist/assets/{ru-CpxwOhC4.js → ru-B5zmGSnG.js} +1 -1
- package/web/dist/assets/{sv-aRvu7MWa.js → sv-BMtjA1uI.js} +1 -1
- package/web/dist/assets/{uk-BCwwfngg.js → uk-B2vuB6Un.js} +1 -1
- package/web/dist/assets/{vi-tvWPiAH_.js → vi-CXam3lDh.js} +1 -1
- package/web/dist/assets/{zh-Bp2aLEyX.js → zh-DnYhyzqb.js} +1 -1
- package/web/dist/index.html +1 -1
- package/web/dist/radio.html +33 -1
- package/web/dist/sw.js +20 -20
- package/web/dist/assets/main-CuG8-ADK.js +0 -22
- package/web/dist/assets/radio-DI0H8flN.js +0 -1
package/dist/station-usage.js
CHANGED
|
@@ -33,7 +33,21 @@ export const USAGE = `nixamp station — make a collection into a station
|
|
|
33
33
|
nixamp station ai budget SECONDS seconds of music a month across AI stations (0: no cap)
|
|
34
34
|
nixamp station ai resume after the provider ran out of credit
|
|
35
35
|
nixamp station ai key NAME ELEVENLABS_API_KEY | GEMINI_API_KEY | OPENAI_API_KEY | ANTHROPIC_API_KEY,
|
|
36
|
-
NIXAMP_OPENAI_URL | NIXAMP_OPENAI_MODEL (an OpenAI-compatible stand-in),
|
|
36
|
+
NIXAMP_OPENAI_URL | NIXAMP_OPENAI_MODEL (an OpenAI-compatible stand-in),
|
|
37
|
+
NIXAMP_MUSIC_MODEL (music_v1|music_v2|music_v2_5), from stdin
|
|
38
|
+
|
|
39
|
+
AI label (AI artists who release albums on their own; a station per genre; the catalogue at /label):
|
|
40
|
+
nixamp station label artists, albums, this month's seconds, what it is waiting for
|
|
41
|
+
nixamp station label sign --roster the first roster: velvet-ruckus, juno-kincaid, chrome-orchard, delta-wren,
|
|
42
|
+
ashen-cartography, lumi-kestrel
|
|
43
|
+
nixamp station label sign (--preset KEY | --name NAME --genre GENRE --sound TEXT [--voice TEXT] [--bio TEXT] [--themes TEXT])
|
|
44
|
+
nixamp station label album KEY plan the artist's next album now and record it
|
|
45
|
+
nixamp station label set KEY [--sound TEXT] [--voice TEXT] [--bio TEXT] [--themes TEXT] [--off|--on]
|
|
46
|
+
nixamp station label drop KEY [--files]
|
|
47
|
+
nixamp station label config [--holder "Profullstack, Inc."] [--budget SECONDS] [--every-days 30] [--seed-albums 2]
|
|
48
|
+
[--songs 8] [--seconds 150] [--on|--off] [--public|--unlisted]
|
|
49
|
+
nixamp station label run record whatever is due now
|
|
50
|
+
nixamp station label resume after the provider ran out of credit
|
|
37
51
|
|
|
38
52
|
Listener shares (anybody shares an MP3 link or file from the guide; AI files and checks it):
|
|
39
53
|
nixamp station shares the setting and what is waiting
|
package/package.json
CHANGED
package/src/ai-keys.ts
CHANGED
|
@@ -14,6 +14,8 @@ export const AI_KEY_NAMES = [
|
|
|
14
14
|
"ELEVENLABS_API_KEY", "GEMINI_API_KEY", "OPENAI_API_KEY", "ANTHROPIC_API_KEY",
|
|
15
15
|
// Any OpenAI-compatible endpoint in OpenAI's place (Cloudflare Workers AI, Ollama, ...) and its model.
|
|
16
16
|
"NIXAMP_OPENAI_URL", "NIXAMP_OPENAI_MODEL",
|
|
17
|
+
// Which ElevenLabs music model composes: music_v1, music_v2 or music_v2_5 (the default).
|
|
18
|
+
"NIXAMP_MUSIC_MODEL",
|
|
17
19
|
// nichedb.dev's key for publishing our own songs' words (lyrics-publish.ts).
|
|
18
20
|
"NIXAMP_LYRICS_KEY",
|
|
19
21
|
] as const;
|