feat: fix leaked source to be locally runnable
- Restore full Ink TUI startup chain (cli.tsx entry point) - Create stub .md files for verify skill (Bun text loader hang fix) - Create stub types for filePersistence and SDK modules - Fix Enter key not working (modifiers-napi missing, added try-catch) - Remove overly conservative LOCAL_RECOVERY early return - Add README with setup instructions - Add .env.example template - Add bin/claude-haha entry script and preload.ts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
export type ConnectorTextBlock = {
|
||||
type: 'connector_text';
|
||||
text?: string;
|
||||
};
|
||||
|
||||
export type ConnectorTextDelta = {
|
||||
type: 'connector_text_delta';
|
||||
text?: string;
|
||||
};
|
||||
|
||||
export function isConnectorTextBlock(
|
||||
value: unknown,
|
||||
): value is ConnectorTextBlock {
|
||||
return (
|
||||
typeof value === 'object' &&
|
||||
value !== null &&
|
||||
'type' in value &&
|
||||
(value as { type?: unknown }).type === 'connector_text'
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user