feat: release v0.56.0 - Cortex CLI complete implementation & TypeScript fixes
- Complete Cortex CLI command center with all features - Fix all TypeScript compilation errors for clean build - Add Neural Import as default SENSE augmentation (awaiting full integration) - Update CHANGELOG with comprehensive v0.56.0 notes - Add cortex.d.ts type definitions - Fix error handling for unknown error types - Fix emoji and color properties in terminal output - Published to npm and created GitHub release
This commit is contained in:
parent
0fef72aa24
commit
1d4d2289d7
8 changed files with 219 additions and 43 deletions
|
|
@ -180,7 +180,8 @@ export class WebhookSystem extends EventEmitter {
|
|||
throw new Error(response.error || `HTTP ${response.statusCode}`)
|
||||
}
|
||||
} catch (error) {
|
||||
console.error(`❌ Webhook failed: ${id} → ${error.message}`)
|
||||
const errorMessage = error instanceof Error ? error.message : String(error)
|
||||
console.error(`❌ Webhook failed: ${id} → ${errorMessage}`)
|
||||
|
||||
// Retry logic
|
||||
if (retryCount < config.retryPolicy!.maxRetries) {
|
||||
|
|
@ -196,7 +197,7 @@ export class WebhookSystem extends EventEmitter {
|
|||
}, backoff)
|
||||
} else {
|
||||
console.error(`❌ Webhook ${id} failed after ${retryCount} retries`)
|
||||
this.emit('webhook:failed', { id, payload, error: error.message })
|
||||
this.emit('webhook:failed', { id, payload, error: errorMessage })
|
||||
|
||||
// Add to dead letter queue
|
||||
this.retryQueues.get(id)?.push({ payload, failedAt: new Date() })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue