feat(hashline): enable hashline-edit by default
🤖 Generated with assistance of [OhMyOpenCode](https://github.com/code-yeongyu/oh-my-opencode)
This commit is contained in:
parent
f9c78de171
commit
31dc6e206d
@ -96,7 +96,7 @@ export function createToolGuardHooks(args: {
|
|||||||
: null
|
: null
|
||||||
|
|
||||||
const hashlineReadEnhancer = isHookEnabled("hashline-read-enhancer")
|
const hashlineReadEnhancer = isHookEnabled("hashline-read-enhancer")
|
||||||
? safeHook("hashline-read-enhancer", () => createHashlineReadEnhancerHook(ctx, { hashline_edit: { enabled: pluginConfig.experimental?.hashline_edit ?? false } }))
|
? safeHook("hashline-read-enhancer", () => createHashlineReadEnhancerHook(ctx, { hashline_edit: { enabled: pluginConfig.experimental?.hashline_edit ?? true } }))
|
||||||
: null
|
: null
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
@ -119,7 +119,7 @@ export function createToolRegistry(args: {
|
|||||||
}
|
}
|
||||||
: {}
|
: {}
|
||||||
|
|
||||||
const hashlineEnabled = pluginConfig.experimental?.hashline_edit ?? false
|
const hashlineEnabled = pluginConfig.experimental?.hashline_edit ?? true
|
||||||
const hashlineToolsRecord: Record<string, ToolDefinition> = hashlineEnabled
|
const hashlineToolsRecord: Record<string, ToolDefinition> = hashlineEnabled
|
||||||
? { edit: createHashlineEditTool() }
|
? { edit: createHashlineEditTool() }
|
||||||
: {}
|
: {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user