mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-10-08 09:11:13 +02:00
refactor: use SDK-exported SDKAssistantMessageError instead of local type definition
This commit is contained in:
1 parent
e8e830c9f8
commit
839686c23c
3 files changed
+5
-10
No files matched your search
@@ -18,7 +18,8 @@
|
||||
*/
|
||||
|
||||
import fs from 'fs/promises';
|
||||
import { query, type SDKAssistantMessageError } from '@anthropic-ai/claude-agent-sdk';
|
||||
import { query } from '@anthropic-ai/claude-agent-sdk';
|
||||
import type { SDKAssistantMessageError } from '@anthropic-ai/claude-agent-sdk';
|
||||
import { PentestError, isRetryableError } from './error-handling.js';
|
||||
import { ErrorCode } from '../types/errors.js';
|
||||
import { type Result, ok, err } from '../types/result.js';
|
||||
|
||||
Reference in new issue
Block a user