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,5 @@
|
||||
import React from 'react'
|
||||
|
||||
export function TungstenLiveMonitor(): React.JSX.Element | null {
|
||||
return null
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
import { z } from 'zod/v4'
|
||||
|
||||
const inputSchema = z.object({}).passthrough()
|
||||
|
||||
export const TungstenTool = {
|
||||
name: 'tungsten',
|
||||
aliases: [],
|
||||
maxResultSizeChars: 0,
|
||||
inputSchema,
|
||||
async description() {
|
||||
return 'Unavailable in this local recovery build.'
|
||||
},
|
||||
async prompt() {
|
||||
return 'TungstenTool is unavailable in this local recovery build.'
|
||||
},
|
||||
async call() {
|
||||
return {
|
||||
data: {
|
||||
success: false,
|
||||
error: 'TungstenTool is unavailable in this local recovery build.',
|
||||
},
|
||||
}
|
||||
},
|
||||
isConcurrencySafe() {
|
||||
return true
|
||||
},
|
||||
isEnabled() {
|
||||
return false
|
||||
},
|
||||
isReadOnly() {
|
||||
return true
|
||||
},
|
||||
async checkPermissions() {
|
||||
return {
|
||||
behavior: 'deny' as const,
|
||||
message: 'TungstenTool is unavailable in this local recovery build.',
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
export function clearSessionsWithTungstenUsage(): void {}
|
||||
|
||||
export function resetInitializationState(): void {}
|
||||
@@ -0,0 +1 @@
|
||||
export const WORKFLOW_TOOL_NAME = 'workflow'
|
||||
Reference in New Issue
Block a user