@tvbs-ai/news-rd 0.1.0 → 0.1.1
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 +5 -1
- package/dist/cli.js +2 -2
- package/package.json +8 -2
package/README.md
CHANGED
|
@@ -52,7 +52,7 @@ news-rd prompt compile 2026-03-10 0600
|
|
|
52
52
|
|
|
53
53
|
| Option | Description | Default |
|
|
54
54
|
|--------|-------------|---------|
|
|
55
|
-
| `--base-url URL` | API base URL | `
|
|
55
|
+
| `--base-url URL` | API base URL | `https://news-rundown.tvbs.ai` |
|
|
56
56
|
| `--token TOKEN` | JWT token (or `RD_TOKEN` env) | — |
|
|
57
57
|
| `--json` | Raw JSON output | — |
|
|
58
58
|
| `--help` | Show help | — |
|
|
@@ -69,6 +69,10 @@ news-rd prompt compile 2026-03-10 0600
|
|
|
69
69
|
- Node.js >= 18 (uses built-in fetch)
|
|
70
70
|
- A running TVBS News Rundown AI server
|
|
71
71
|
|
|
72
|
+
## Publishing
|
|
73
|
+
|
|
74
|
+
See [CLI 發佈指南](../../docs/cli-publishing.md) for version bumping and npm publishing workflow.
|
|
75
|
+
|
|
72
76
|
## License
|
|
73
77
|
|
|
74
78
|
UNLICENSED
|
package/dist/cli.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
var args = process.argv.slice(2);
|
|
5
5
|
function parseArgs() {
|
|
6
6
|
const options = {
|
|
7
|
-
baseUrl: process.env.RD_BASE_URL || "
|
|
7
|
+
baseUrl: process.env.RD_BASE_URL || "https://news-rundown.tvbs.ai",
|
|
8
8
|
token: process.env.RD_TOKEN || "",
|
|
9
9
|
json: false
|
|
10
10
|
};
|
|
@@ -73,7 +73,7 @@ Groups:
|
|
|
73
73
|
token JWT Token \u7BA1\u7406
|
|
74
74
|
|
|
75
75
|
Global Options:
|
|
76
|
-
--base-url URL API base URL (default:
|
|
76
|
+
--base-url URL API base URL (default: https://news-rundown.tvbs.ai)
|
|
77
77
|
--token TOKEN JWT token (or RD_TOKEN env)
|
|
78
78
|
--json Raw JSON output
|
|
79
79
|
--help, -h Show help
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tvbs-ai/news-rd",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "TVBS News Rundown AI CLI — query rundowns, candidates, trends, and prompts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -16,7 +16,13 @@
|
|
|
16
16
|
"lint": "tsc --noEmit",
|
|
17
17
|
"prepublishOnly": "pnpm build"
|
|
18
18
|
},
|
|
19
|
-
"keywords": [
|
|
19
|
+
"keywords": [
|
|
20
|
+
"tvbs",
|
|
21
|
+
"news",
|
|
22
|
+
"rundown",
|
|
23
|
+
"ai",
|
|
24
|
+
"cli"
|
|
25
|
+
],
|
|
20
26
|
"license": "UNLICENSED",
|
|
21
27
|
"engines": {
|
|
22
28
|
"node": ">=18.0.0"
|