@michengai/dsh-im-connect 0.1.14 → 0.1.16
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.en.md +4 -4
- package/client.js +243 -176
- package/lib/client.js +243 -176
- package/package.json +1 -1
package/README.en.md
CHANGED
|
@@ -42,7 +42,7 @@ Inbound messages are identified before commands, tool approvals, or injection.
|
|
|
42
42
|
| DM from anyone else | Appears on the settings pending list until approved |
|
|
43
43
|
| DM on credential-only channels | Telegram, and DingTalk / WeCom / QQ bound with secrets only, require approval for every DM |
|
|
44
44
|
| DM without a userId | Denied |
|
|
45
|
-
| Tool approval | Only an allowlisted user in a DM can reply
|
|
45
|
+
| Tool approval | Only an allowlisted user in a DM can reply `Approve` / `Deny` (or `批准` / `拒绝`); group replies do not grant |
|
|
46
46
|
|
|
47
47
|
WeChat is QR-only and DM-only, so the same WeChat account that scanned can talk immediately. A different WeChat account DMing the bot waits for settings approval.
|
|
48
48
|
|
|
@@ -186,7 +186,7 @@ Restart DSH Web and hard-refresh the browser. `dsh plugin ... add .` reads the p
|
|
|
186
186
|
|
|
187
187
|
## Usage
|
|
188
188
|
|
|
189
|
-
Open **Settings → IM Assistant**, choose the workspace, permission, and model, then connect a channel. The full guide is [
|
|
189
|
+
Open **Settings → IM Assistant**, choose the workspace, permission, and model, then connect a channel. The full guide is [Usage guide](docs/02-产品与业务/04-使用说明.md).
|
|
190
190
|
|
|
191
191
|
| Goal | Action | Notes |
|
|
192
192
|
| --- | --- | --- |
|
|
@@ -197,7 +197,7 @@ Open **Settings → IM Assistant**, choose the workspace, permission, and model,
|
|
|
197
197
|
| Start a new session | Send `/new` or `/clear` | Affects only the current IM chat |
|
|
198
198
|
| Status / help | Send `/status` or `/help` | Scoped to the current channel session |
|
|
199
199
|
| Approve a stranger DM | Open **Settings → IM Assistant** and approve or deny the pending request | Affects DM access only |
|
|
200
|
-
| Approve a tool | Reply
|
|
200
|
+
| Approve a tool | Reply `Approve` / `Deny` or `批准` / `拒绝` in a DM | Also accepts `yes` / `no` / `allow` / `reject`; group replies cannot grant |
|
|
201
201
|
| Review on the web | Open the workspace **Channels** tab | IM sessions never appear under **Tasks** |
|
|
202
202
|
|
|
203
203
|
DingTalk replies prefer official AI Card streaming and fall back to plain text. Do not enable Webhook on the same Telegram bot.
|
|
@@ -250,6 +250,6 @@ npm test
|
|
|
250
250
|
|
|
251
251
|
## Documentation and license
|
|
252
252
|
|
|
253
|
-
Project status, usage boundaries, architecture, and iteration records begin at the [documentation entry point](docs/00-交接入口/00-阅读导航.md). The detailed operational guide is [
|
|
253
|
+
Project status, usage boundaries, architecture, and iteration records begin at the [documentation entry point](docs/00-交接入口/00-阅读导航.md). The detailed operational guide is [Usage guide](docs/02-产品与业务/04-使用说明.md). The default security posture is in [SECURITY.md](SECURITY.md).
|
|
254
254
|
|
|
255
255
|
Licensed under [Apache License 2.0](LICENSE).
|