@awiki/dsh-plugin
AWiki identity and messaging plugin for DeepSeek Harness 适合需要在DSH中对接awiki.ai租户服务、进行身份验证和消息传递的用户。
インストール
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AgentConnect/dsh-awikiドキュメント
README 全文を読む ↗Configuration
The plugin works against the public awiki.ai tenant without environment configuration. Set these variables only when a deployment needs an override:
| Variable | Purpose | Default |
|---|---|---|
DSH_AWIKI_USER_SERVICE_URL | Absolute AWiki user-service URL | https://<selected-domain> |
DSH_AWIKI_USER_SERVICE_DOMAIN | Composition default for the tenant domain | awiki.ai |
DSH_AWIKI_MESSAGE_SERVICE_URL | Message-service URL called by the Host | https://<selected-domain> |
DSH_AWIKI_MAIL_SERVICE_URL | Mail-service URL called by the Host | Resolved user-service URL |
DSH_AWIKI_MESSAGE_SERVICE_DID | Authoritative message-service DID | did:wba:<selected-domain> |
DSH_AWIKI_MESSAGE_SERVICE_PUBLIC_URL | Public endpoint written to protocol records | https://<selected-domain> |
DSH_AWIKI_ALLOWED_ATTACHMENT_ORIGINS | JSON array of extra exact HTTPS origins | [] |
DSH_AWIKI_STATE_ROOT | Private Rust IM Core state directory; an explicit value overrides profile isolation | `$DSH_HOME/awiki/ |
/im-coreor~/.dsh/awiki/ | ||
/im-core; legacy awiki/im-core` when no profile can be proven | ||
DSH_AWIKI_VAULT_ROOT_KEY_FILE | Existing private file containing a base64/base64url 32-byte Vault root key | $DSH_HOME/awiki/secret-vault/root-key.b64u |
DSH_AWIKI_VAULT_WORKSPACE_ID | Stable non-secret Vault workspace context | dsh-awiki |
DSH_AWIKI_VAULT_DEVICE_ID | Stable non-secret Vault device context | local-device |
DSH_AWIKI_POLL_INTERVAL_MS | Open-dialog polling interval | 5000 |
DSH_AWIKI_ATTACHMENT_MAX_BYTES | Decoded attachment limit | 10485760 |
DSH_AWIKI_MAIL_ATTACHMENT_MAX_COUNT | Maximum attachments in one mail; at most the service limit | 10 |
DSH_AWIKI_MAIL_ATTACHMENT_MAX_BYTES | Maximum decoded bytes in one mail attachment | 10485760 |
DSH_AWIKI_MAIL_ATTACHMENT_TOTAL_MAX_BYTES | Maximum total decoded attachment bytes in one mail | 18874368 |
DSH_AWIKI_IMAGE_CACHE_MAX_BYTES | Private verified image-preview cache budget | 67108864 |
DSH_AWIKI_LISTENER_ENABLED | Enable the Direct-to-Agent listener | false |
DSH_AWIKI_LISTENER_ALLOWED_PEERS | JSON array of exact Handles or DIDs; required when enabled | [] |
DSH_AWIKI_LISTENER_WORKSPACE_PATH | Absolute shared Workspace for AWiki-originated Sessions | $DSH_HOME/workspaces/awiki or ~/.dsh/workspaces/awiki |
DSH_AWIKI_SUMMARY_MAX_INPUT_BYTES | UTF-8 cap after Host-side summary minimization | 32768 |
DSH_AWIKI_SUMMARY_TIMEOUT_MS | One-shot model deadline | 30000 |
DSH_AWIKI_SUMMARY_MAX_OUTPUT_TOKENS | Structured summary output cap | 768 |
The default state directory is isolated by DSH profile. Desktop uses the Host's
desktopProfiles.current.name; ordinary dsh --profile accepts the name only when the Loader
root exactly matches $DSH_HOME/profiles/. The plugin does not guess from argv, ports, or
process type, and does not copy a legacy database automatically. The old shared awiki/im-core
directory remains untouched. When it is detected, the identity screen explains the isolation and
guides the user to recover with the original Handle and phone as a separate device.