fix: define command id brand locally
This commit is contained in:
1 parent
5c3f6265c2
commit
c9856f7096
1 file changed
+1
@@ -3,6 +3,7 @@ import path from 'node:path'
|
||||
import os from 'node:os'
|
||||
import crypto from 'node:crypto'
|
||||
const createMessage = (input) => ({ ...input, id: crypto.randomUUID(), source: { kind: 'user', ...(input.source || {}) } })
|
||||
const CommandDefinitionId = (id) => id
|
||||
export const name = 'dsh-queue-steer'
|
||||
export const inject = { commands: { required: true }, webServer: { required: true }, connection: { required: true } }
|
||||
const file = path.join(process.env.DSH_PROFILE_DIR || path.join(process.env.DSH_HOME || path.join(os.homedir(), '.dsh'), 'profiles', 'web'), 'dsh-queue-steer', 'settings.json')
|
||||
|
||||
Reference in new issue
Block a user