add agent and debug macros, improve activity timeouts, migrate claude and codex to cli (#224)

This commit is contained in:
David Blass
2026-02-04 22:29:45 +00:00
committed by pullfrog[bot]
parent adc165d95f
commit 6fbff21fca
20 changed files with 5030 additions and 21553 deletions
+16
View File
@@ -0,0 +1,16 @@
// Enforce type-only imports from SDK packages
// These SDK packages should only be used for type imports (stream output parsing)
// Runtime SDK usage should be replaced with CLI invocations
// Note: This rule only catches single-specifier imports; for multi-specifier imports,
// the noUnusedImports rule will flag unused runtime imports
or {
`import { $specifiers } from "@anthropic-ai/claude-agent-sdk"`,
`import { $specifiers } from "@openai/codex-sdk"`,
`import { $specifiers } from "@opencode-ai/sdk"`
} as $import where {
register_diagnostic(
span = $import,
message = "SDK packages must use `import type` only. Use CLI invocation instead of runtime SDK usage."
)
}