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
d5386a3643
commit
27ce6c242d
8 changed files with 219 additions and 43 deletions
20
src/types/cortex.d.ts
vendored
Normal file
20
src/types/cortex.d.ts
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/**
|
||||
* Type declarations for Cortex and augmentation system
|
||||
*/
|
||||
|
||||
import { BrainyDataInterface } from './brainyDataInterface.js'
|
||||
import { Augmentation } from './augmentations.js'
|
||||
|
||||
declare module './brainyDataInterface.js' {
|
||||
interface BrainyDataInterface<T = unknown> {
|
||||
// Augmentation methods
|
||||
addAugmentation?(augmentation: Augmentation): void
|
||||
removeAugmentation?(id: string): void
|
||||
hasAugmentation?(id: string): boolean
|
||||
|
||||
// Event methods (for webhook integration)
|
||||
on?(event: string, handler: (data: any) => void): void
|
||||
off?(event: string, handler: (data: any) => void): void
|
||||
emit?(event: string, data: any): void
|
||||
}
|
||||
}
|
||||
Reference in a new issue