dsh-agora 0.2.3 → 0.2.4
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 +26 -72
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,96 +1,50 @@
|
|
|
1
1
|
# dsh-agora
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
skill — RTC, RTM, ConvoAI, CLI, Cloud Recording, Server, Server Gateway,
|
|
5
|
-
tokens — synced **verbatim** from
|
|
6
|
-
[`AgoraIO/skills`](https://github.com/AgoraIO/skills) at a pinned release tag.
|
|
3
|
+
**A DeepSeek Harness (DSH) plugin that adds the official Agora skill to your agent.** One install gives you voice AI agents, RTC video/voice calls, RTM chat & signaling, Cloud Recording, Agora CLI acceleration, and server-side token generation — driven from natural language.
|
|
7
4
|
|
|
8
|
-
The
|
|
9
|
-
the same name and content as the Claude Code / Cursor ecosystems.
|
|
5
|
+
The skill is synced verbatim from the official [AgoraIO/skills](https://github.com/AgoraIO/skills) repository, so it always matches the Agora docs and quickstarts.
|
|
10
6
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
```sh
|
|
14
|
-
dsh plugin --profile web add dsh-agora
|
|
15
|
-
```
|
|
7
|
+
## Prerequisites
|
|
16
8
|
|
|
17
|
-
|
|
9
|
+
- DeepSeek Harness (DSH) installed and running
|
|
10
|
+
- An [Agora](https://console.agora.io) account (for tokens/App ID when you build a real app)
|
|
18
11
|
|
|
19
|
-
|
|
12
|
+
## Install
|
|
20
13
|
|
|
21
14
|
```sh
|
|
22
|
-
dsh plugin --profile web add
|
|
15
|
+
dsh plugin --profile web add dsh-agora
|
|
23
16
|
```
|
|
24
17
|
|
|
25
|
-
> **
|
|
26
|
-
>
|
|
27
|
-
> disable the check once per profile so plain `dsh plugin add` just works:
|
|
18
|
+
> **Note**: with pnpm ≥ 8.15 (e.g. 9.15) the profile workspace root rejects a
|
|
19
|
+
> bare `add` with `ERR_PNPM_ADDING_TO_ROOT`. If you hit that, pass `-w`:
|
|
28
20
|
>
|
|
29
21
|
> ```sh
|
|
30
|
-
>
|
|
31
|
-
> dsh plugin --profile web add dsh-agora
|
|
22
|
+
> dsh plugin --profile web add -w dsh-agora
|
|
32
23
|
> ```
|
|
33
|
-
>
|
|
34
|
-
> (Alternative: add `-w` to the command: `dsh plugin --profile web add -w dsh-agora`.
|
|
35
|
-
> The root cause is dsh's `plugin` subcommand forwarding verbatim to pnpm with
|
|
36
|
-
> no package-manager switch — worth an upstream issue if it bites more users.)
|
|
37
|
-
>
|
|
38
|
-
> **link: dev mode**: the profile must resolve the runtime peer
|
|
39
|
-
> `@deepseek-ai/dsh-skill`. Install it in the repo checkout first
|
|
40
|
-
> (`pnpm install`); otherwise `index.js` fails with
|
|
41
|
-
> `ERR_MODULE_NOT_FOUND` at load time (decision D-09).
|
|
42
|
-
|
|
43
|
-
## What it contains
|
|
44
24
|
|
|
45
|
-
|
|
46
|
-
dsh-agora/
|
|
47
|
-
├── package.json # dsh.bundle.patch declaration (bundle form)
|
|
48
|
-
├── cordis.patch.yml # inserts the provider row into the profile tree
|
|
49
|
-
├── index.js # Cordis entry: registers the bundled agora provider
|
|
50
|
-
├── scripts/sync-deps.sh # ★ the only automation: tag-sync from AgoraIO/skills
|
|
51
|
-
└── assets/agora/ # synced output (gitignored, not committed)
|
|
52
|
-
├── SKILL.md # upstream verbatim, zero rewrite
|
|
53
|
-
└── references/ # full reference set (54 files)
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
## How content stays in sync
|
|
57
|
-
|
|
58
|
-
`npm publish` runs `prepack` → `scripts/sync-deps.sh`, which:
|
|
59
|
-
|
|
60
|
-
1. resolves the release tag (`$TAG` env → GitHub latest release → pinned
|
|
61
|
-
fallback `v1.8.1`),
|
|
62
|
-
2. pulls the `AgoraIO/skills` tarball for that tag,
|
|
63
|
-
3. `rsync -a --delete`s `skills/agora/` → `assets/agora/` — **zero rewrite**,
|
|
64
|
-
so the two copies can never drift.
|
|
25
|
+
Restart the web profile, and the `agora` skill appears in the skill catalog.
|
|
65
26
|
|
|
66
|
-
|
|
67
|
-
gitignored and rebuilt at release time. Run it manually with
|
|
68
|
-
`npm run sync:deps`.
|
|
27
|
+
## What the skill covers
|
|
69
28
|
|
|
70
|
-
|
|
29
|
+
| Area | What you can do |
|
|
30
|
+
|---|---|
|
|
31
|
+
| **Voice AI agents** (ConvoAI) | Build voice agents / voicebots |
|
|
32
|
+
| **RTC** | Video & voice calls, live streaming, screen sharing |
|
|
33
|
+
| **RTM** | Chat, presence, signaling |
|
|
34
|
+
| **Cloud Recording** | Record calls and streams |
|
|
35
|
+
| **Server** | Generate tokens & App IDs server-side |
|
|
36
|
+
| **Server Gateway** | Cross-product server coordination |
|
|
37
|
+
| **Agora CLI** | CLI acceleration (auto-detected if installed) |
|
|
71
38
|
|
|
72
|
-
|
|
73
|
-
(voice AI agents), Agora CLI, Cloud Recording, Server (tokens), Server
|
|
74
|
-
Gateway, and cross-product coordination. ConvoAI follows the upstream
|
|
75
|
-
"proven baseline first" rule (run the official quickstart before scaffolding
|
|
76
|
-
from memory); CLI acceleration is runtime-detected (`agora` on `PATH`), never
|
|
77
|
-
bundled.
|
|
39
|
+
## Using the skill
|
|
78
40
|
|
|
79
|
-
|
|
80
|
-
under `docs/` — not committed to this public repo.
|
|
41
|
+
Describe what you want in natural language — e.g. *"set up a voice AI agent with Agora"* or *"build an RTC video call app"*. The skill routes to the official quickstarts and guides you through setup, including auth and token flows.
|
|
81
42
|
|
|
82
|
-
##
|
|
43
|
+
## FAQ
|
|
83
44
|
|
|
84
|
-
|
|
85
|
-
dsh --profile web --dump-config --patch ./cordis.patch.yml # row composes
|
|
86
|
-
```
|
|
87
|
-
|
|
88
|
-
For a real mount test, install into a throwaway profile:
|
|
45
|
+
**Does this repo contain the skill itself?** No — the skill ships inside the plugin bundle, synced from the official Agora skill repo at each release.
|
|
89
46
|
|
|
90
|
-
|
|
91
|
-
dsh plugin --profile agoratest add .
|
|
92
|
-
dsh --profile agoratest --dump-config | grep agora-skills
|
|
93
|
-
```
|
|
47
|
+
**Do I need the Agora CLI installed?** No. It's optional; if it's on your `PATH`, the skill uses it for faster workflows.
|
|
94
48
|
|
|
95
49
|
## License
|
|
96
50
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-agora",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "DSH skill bundle: the Agora skill (RTC, RTM, ConvoAI, CLI, Cloud Recording, tokens) synced verbatim from AgoraIO/skills at a pinned release tag. Install to add the `agora` skill to DeepSeek Harness.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|