@onpeek/nuvio 1.0.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/LICENSE +22 -0
- package/README.md +83 -0
- package/assets/nuvio-wordmark-dark.png +0 -0
- package/assets/nuvio-wordmark-light.png +0 -0
- package/dist/cli/confirmation.js +45 -0
- package/dist/cli/registry.js +14 -0
- package/dist/commands/account.js +66 -0
- package/dist/commands/addons.js +84 -0
- package/dist/commands/collections.js +147 -0
- package/dist/commands/helpers.js +186 -0
- package/dist/commands/index.js +26 -0
- package/dist/commands/library.js +105 -0
- package/dist/commands/plugins.js +58 -0
- package/dist/commands/profiles.js +126 -0
- package/dist/commands/providers.js +57 -0
- package/dist/commands/sessions.js +46 -0
- package/dist/commands/settings.js +43 -0
- package/dist/commands/trackers.js +84 -0
- package/dist/commands/undo.js +165 -0
- package/dist/config.js +60 -0
- package/dist/index.js +195 -0
- package/dist/mask.js +33 -0
- package/dist/nuvio/auth.js +123 -0
- package/dist/nuvio/call-context.js +20 -0
- package/dist/nuvio/client.js +149 -0
- package/dist/nuvio/errors.js +43 -0
- package/dist/nuvio/keys.js +23 -0
- package/dist/nuvio/ops/account.js +91 -0
- package/dist/nuvio/ops/addons.js +126 -0
- package/dist/nuvio/ops/collections.js +158 -0
- package/dist/nuvio/ops/library.js +139 -0
- package/dist/nuvio/ops/plan.js +728 -0
- package/dist/nuvio/ops/plugins.js +127 -0
- package/dist/nuvio/ops/profiles.js +383 -0
- package/dist/nuvio/ops/providers.js +103 -0
- package/dist/nuvio/ops/readers.js +57 -0
- package/dist/nuvio/ops/sessions.js +36 -0
- package/dist/nuvio/ops/settings.js +143 -0
- package/dist/nuvio/ops/trackers.js +80 -0
- package/dist/nuvio/ops/transitions.js +100 -0
- package/dist/nuvio/paths.js +74 -0
- package/dist/nuvio/safe-fetch.js +131 -0
- package/dist/nuvio/schemas.js +143 -0
- package/dist/nuvio/snapshots.js +664 -0
- package/dist/nuvio/types.js +1 -0
- package/dist/version.js +12 -0
- package/package.json +62 -0
- package/skills/nuvio/SKILL.md +19 -0
package/package.json
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@onpeek/nuvio",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "CLI and agent skill for managing a Nuvio account.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "onpeek",
|
|
8
|
+
"homepage": "https://github.com/onpeek/nuvio",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/onpeek/nuvio.git"
|
|
12
|
+
},
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/onpeek/nuvio/issues"
|
|
15
|
+
},
|
|
16
|
+
"keywords": [
|
|
17
|
+
"nuvio",
|
|
18
|
+
"cli",
|
|
19
|
+
"agent-skill",
|
|
20
|
+
"stremio",
|
|
21
|
+
"addons"
|
|
22
|
+
],
|
|
23
|
+
"bin": {
|
|
24
|
+
"nuvio": "dist/index.js"
|
|
25
|
+
},
|
|
26
|
+
"files": [
|
|
27
|
+
"dist",
|
|
28
|
+
"skills/nuvio",
|
|
29
|
+
"assets"
|
|
30
|
+
],
|
|
31
|
+
"engines": {
|
|
32
|
+
"node": ">=20"
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"build": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\" && tsc -p tsconfig.json",
|
|
36
|
+
"dev": "tsx src/index.ts",
|
|
37
|
+
"start": "node dist/index.js",
|
|
38
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
39
|
+
"lint": "eslint src test",
|
|
40
|
+
"format": "prettier --write .",
|
|
41
|
+
"format:check": "prettier --check .",
|
|
42
|
+
"prepublishOnly": "npm run build",
|
|
43
|
+
"pretest": "npm run build",
|
|
44
|
+
"test": "node --test test/cli.test.mjs test/unit.test.mjs test/refactor.test.mjs"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"zod": "^4.2.0"
|
|
48
|
+
},
|
|
49
|
+
"devDependencies": {
|
|
50
|
+
"@types/node": "^22.7.0",
|
|
51
|
+
"eslint": "^10.0.0",
|
|
52
|
+
"@eslint/js": "^10.0.0",
|
|
53
|
+
"globals": "^16.0.0",
|
|
54
|
+
"prettier": "^3.3.0",
|
|
55
|
+
"tsx": "^4.19.0",
|
|
56
|
+
"typescript": "^5.6.0",
|
|
57
|
+
"typescript-eslint": "^8.0.0"
|
|
58
|
+
},
|
|
59
|
+
"publishConfig": {
|
|
60
|
+
"access": "public"
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: nuvio
|
|
3
|
+
description: Manage a Nuvio account, including profiles, addons, plugins, settings, collections, library, watch history, providers, trackers, and sessions. Use when a user asks to inspect or change their Nuvio account through the nuvio CLI.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Nuvio CLI
|
|
7
|
+
|
|
8
|
+
Use the installed nuvio command. Discover only what the task needs:
|
|
9
|
+
|
|
10
|
+
- nuvio commands <term> lists matching commands.
|
|
11
|
+
- nuvio help <command> shows parameters for one command.
|
|
12
|
+
- Simple parameters are flags, for example: nuvio list-addons --profile-id 1.
|
|
13
|
+
- Complex or sensitive input goes in a JSON file with --input FILE, or through stdin with --input -. Never put passwords, PINs, provider keys, or backup JSON in shell arguments.
|
|
14
|
+
- Read commands return JSON. For potentially large results, pass --output FILE on the original command; stdout then gives the saved path and byte count. If a read result was truncated, repeat that read with --output FILE and inspect only the relevant portion. Do not repeat a mutation just to recover its output.
|
|
15
|
+
- Use --dry-run to preview a reversible write. Destructive reversible commands preview until --confirm is passed. When an irreversible command preview reports a change, it returns a short-lived confirmation_token; execute with the same arguments plus --confirmation-token TOKEN only after reviewing the preview.
|
|
16
|
+
- nuvio plan-operations lists commands accepted in a plan. The input JSON has an operations array of objects with a hyphenated tool name and args object. nuvio apply-plan --input FILE previews the plan; add --apply to execute it.
|
|
17
|
+
- nuvio list-undo, nuvio undo, and nuvio redo manage saved snapshots.
|
|
18
|
+
|
|
19
|
+
On errors, read the JSON on stderr and use the command's help. Do not retry a mutation blindly when the final state is uncertain.
|