AgentConnect/dsh-awiki ↗★ 17

@awiki/dsh-plugin

提供AWiki身份验证与消息传递支持 适合需要在DSH中对接awiki.ai租户服务、进行身份验证和消息传递的用户。

套件
@awiki/dsh-plugin
相容性
待驗證
Harness 依賴範圍
0.1.1-rc.2
Cordis 依賴範圍
^4.0.1
版本
0.3.7
授權
MIT
最近更新
2026年9月15日

安裝

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:AgentConnect/dsh-awiki

Configuration

The plugin works against the public awiki.ai tenant without environment configuration. Set these variables only when a deployment needs an override:

VariablePurposeDefault
DSH_AWIKI_USER_SERVICE_URLAbsolute AWiki user-service URLhttps://<selected-domain>
DSH_AWIKI_USER_SERVICE_DOMAINComposition default for the tenant domainawiki.ai
DSH_AWIKI_MESSAGE_SERVICE_URLMessage-service URL called by the Hosthttps://<selected-domain>
DSH_AWIKI_MAIL_SERVICE_URLMail-service URL called by the HostResolved user-service URL
DSH_AWIKI_MESSAGE_SERVICE_DIDAuthoritative message-service DIDdid:wba:<selected-domain>
DSH_AWIKI_MESSAGE_SERVICE_PUBLIC_URLPublic endpoint written to protocol recordshttps://<selected-domain>
DSH_AWIKI_ALLOWED_ATTACHMENT_ORIGINSJSON array of extra exact HTTPS origins[]
DSH_AWIKI_STATE_ROOTPrivate 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_FILEExisting private file containing a base64/base64url 32-byte Vault root key$DSH_HOME/awiki/secret-vault/root-key.b64u
DSH_AWIKI_VAULT_WORKSPACE_IDStable non-secret Vault workspace contextdsh-awiki
DSH_AWIKI_VAULT_DEVICE_IDStable non-secret Vault device contextlocal-device
DSH_AWIKI_POLL_INTERVAL_MSOpen-dialog polling interval5000
DSH_AWIKI_ATTACHMENT_MAX_BYTESDecoded attachment limit10485760
DSH_AWIKI_MAIL_ATTACHMENT_MAX_COUNTMaximum attachments in one mail; at most the service limit10
DSH_AWIKI_MAIL_ATTACHMENT_MAX_BYTESMaximum decoded bytes in one mail attachment10485760
DSH_AWIKI_MAIL_ATTACHMENT_TOTAL_MAX_BYTESMaximum total decoded attachment bytes in one mail18874368
DSH_AWIKI_IMAGE_CACHE_MAX_BYTESPrivate verified image-preview cache budget67108864
DSH_AWIKI_LISTENER_ENABLEDEnable the Direct-to-Agent listenerfalse
DSH_AWIKI_LISTENER_ALLOWED_PEERSJSON array of exact Handles or DIDs; required when enabled[]
DSH_AWIKI_LISTENER_WORKSPACE_PATHAbsolute shared Workspace for AWiki-originated Sessions$DSH_HOME/workspaces/awiki or ~/.dsh/workspaces/awiki
DSH_AWIKI_SUMMARY_MAX_INPUT_BYTESUTF-8 cap after Host-side summary minimization32768
DSH_AWIKI_SUMMARY_TIMEOUT_MSOne-shot model deadline30000
DSH_AWIKI_SUMMARY_MAX_OUTPUT_TOKENSStructured summary output cap768

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.