mirror of
https://github.com/yexi-by/dsh-unrestricted.git
synced 2026-11-28 02:30:22 +08:00
准备公开发布 dsh-unrestricted 0.1.0
This commit is contained in:
1 parent
aceb93ccd4
commit
4e68568fa8
19 files changed
+252
-80
No files matched your search
@@ -52,7 +52,7 @@ async function rpc(method, payload) {
|
||||
|
||||
async function createSession(preset, title) {
|
||||
const value = await rpc('session.create', {
|
||||
cwd: 'D:\\work\\dsh\\plugin\\unrestricted',
|
||||
cwd: pluginDir,
|
||||
agentPreset: preset,
|
||||
})
|
||||
const sessionId = value.sessionId ?? value.id ?? value
|
||||
|
||||
Reference in new issue
Block a user