refactor: re-export js shims from ts sources
This commit is contained in:
@@ -1,42 +1,6 @@
|
||||
import { buildTool } from '../../Tool.js'
|
||||
import { z } from 'zod/v4'
|
||||
|
||||
const inputSchema = z.strictObject({})
|
||||
|
||||
const outputSchema = z.strictObject({})
|
||||
|
||||
export const TungstenTool = buildTool({
|
||||
name: 'tungsten',
|
||||
searchHint: 'manage tmux-based tasks',
|
||||
maxResultSizeChars: 1024,
|
||||
strict: true,
|
||||
async description() {
|
||||
return 'Tungsten integration is unavailable in this restored source snapshot.'
|
||||
},
|
||||
async prompt() {
|
||||
return 'Tungsten is unavailable in this build environment.'
|
||||
},
|
||||
get inputSchema() {
|
||||
return inputSchema
|
||||
},
|
||||
get outputSchema() {
|
||||
return outputSchema
|
||||
},
|
||||
isEnabled() {
|
||||
return false
|
||||
},
|
||||
userFacingName() {
|
||||
return 'Tungsten'
|
||||
},
|
||||
async call() {
|
||||
return {
|
||||
data: {},
|
||||
isError: true,
|
||||
content: 'Tungsten tool is not available in this environment.',
|
||||
}
|
||||
},
|
||||
})
|
||||
|
||||
export function clearSessionsWithTungstenUsage() {}
|
||||
|
||||
export function resetInitializationState() {}
|
||||
export {
|
||||
TUNGSTEN_TOOL_NAME,
|
||||
TungstenTool,
|
||||
clearSessionsWithTungstenUsage,
|
||||
resetInitializationState,
|
||||
} from './TungstenTool.ts'
|
||||
|
||||
@@ -1 +1 @@
|
||||
export const WORKFLOW_TOOL_NAME = 'workflow';
|
||||
export { WORKFLOW_TOOL_NAME } from './constants.ts'
|
||||
|
||||
Reference in New Issue
Block a user