mirror of
https://github.com/wu736139669/hapi.git
synced 2026-08-08 07:17:39 +00:00
fix(claude): separate skills from slash commands (#1293)
* fix(claude): separate skills from slash commands * fix(claude): make native skills ready before use * fix(claude): keep skill commands before attachments * fix(claude): align skill catalog with launch args * fix(claude): include launch plugin skills * fix(claude): use native loaded skill list * refactor(claude): remove obsolete metadata callback * fix(claude): wait for skill catalog before draining messages * fix(claude): cancel deferred startup messages * fix(claude): bound skill catalog startup probe
This commit is contained in:
@@ -297,6 +297,7 @@ export function query(config: {
|
||||
const {
|
||||
prompt,
|
||||
options: {
|
||||
additionalArgs = [],
|
||||
additionalDirectories = [],
|
||||
allowedTools = [],
|
||||
appendSystemPrompt,
|
||||
@@ -341,6 +342,7 @@ export function query(config: {
|
||||
}
|
||||
if (continueConversation) args.push('--continue')
|
||||
if (resume) args.push('--resume', resume)
|
||||
args.push(...additionalArgs)
|
||||
if (settingsPath) args.push('--settings', settingsPath)
|
||||
if (allowedTools.length > 0) args.push('--allowedTools', allowedTools.join(','))
|
||||
if (disallowedTools.length > 0) args.push('--disallowedTools', disallowedTools.join(','))
|
||||
|
||||
Reference in New Issue
Block a user