mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-07-08 14:18:15 +02:00
refactor: use SDK-exported SDKAssistantMessageError instead of local type definition
This commit is contained in:
@@ -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