fix: address Cubic round-6 P2/P3 issues

- P2: treat unknown part types as non-content in message-builder messageHasContentFromSDK
- P3: reuse shared isRecord from record-type-guard.ts in opencode-http-api
This commit is contained in:
YeonGyu-Kim
2026-02-16 15:08:10 +09:00
parent dc5e51598e
commit 39813842de
2 changed files with 1 additions and 6 deletions
@@ -42,8 +42,6 @@ function messageHasContentFromSDK(message: SDKMessage): boolean {
}
if (TOOL_TYPES.has(type)) return true
return true
}
return false