chore: remove noisy console.warn for AGENTS.md auto-disable
This commit is contained in:
parent
ca93d2f0fe
commit
0e7ee2ac30
@ -144,10 +144,6 @@ const OhMyOpenCodePlugin: Plugin = async (ctx) => {
|
|||||||
isOpenCodeVersionAtLeast(OPENCODE_NATIVE_AGENTS_INJECTION_VERSION);
|
isOpenCodeVersionAtLeast(OPENCODE_NATIVE_AGENTS_INJECTION_VERSION);
|
||||||
|
|
||||||
if (hasNativeSupport) {
|
if (hasNativeSupport) {
|
||||||
console.warn(
|
|
||||||
`[oh-my-opencode] directory-agents-injector hook auto-disabled: ` +
|
|
||||||
`OpenCode ${currentVersion} has native AGENTS.md support (>= ${OPENCODE_NATIVE_AGENTS_INJECTION_VERSION})`
|
|
||||||
);
|
|
||||||
log("directory-agents-injector auto-disabled due to native OpenCode support", {
|
log("directory-agents-injector auto-disabled due to native OpenCode support", {
|
||||||
currentVersion,
|
currentVersion,
|
||||||
nativeVersion: OPENCODE_NATIVE_AGENTS_INJECTION_VERSION,
|
nativeVersion: OPENCODE_NATIVE_AGENTS_INJECTION_VERSION,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user