@@ -4,7 +4,6 @@ import { semanticClientCommands } from './semantic-client-commands.ts';
44import type { JsonSchema } from './semantic-contract.ts' ;
55import { bootSemanticCommand } from './semantic-device.ts' ;
66import { interactionSemanticCommands } from './semantic-interactions.ts' ;
7- import { semanticLocalCommands } from './semantic-local-commands.ts' ;
87import {
98 isSemanticBatchCommand as isSemanticGrammarBatchCommand ,
109 semanticBatchCommandNames ,
@@ -23,7 +22,6 @@ type CommandSurfaceEntry<TDefinition extends AnySemanticCommandDefinition> = {
2322 definition : TDefinition ;
2423 batch : boolean ;
2524 genericCli : boolean ;
26- mcp : 'tool' | 'local-boundary' ;
2725} ;
2826
2927function commandSurfaceEntry <
@@ -100,13 +98,6 @@ const baseCommandSurface = [
10098 ...semanticClientCommands . map ( ( definition ) =>
10199 commandSurfaceEntry ( definition , commandMetadata ( definition . name ) ) ,
102100 ) ,
103- ...semanticLocalCommands . map ( ( definition ) =>
104- commandSurfaceEntry ( definition , {
105- batch : false ,
106- genericCli : false ,
107- mcp : 'local-boundary' ,
108- } ) ,
109- ) ,
110101] as const ;
111102
112103const batchSemanticCommand = createBatchSemanticCommand ( semanticBatchCommandNames ) ;
@@ -116,7 +107,6 @@ const semanticCommandSurface = [
116107 commandSurfaceEntry ( batchSemanticCommand , {
117108 batch : false ,
118109 genericCli : true ,
119- mcp : 'tool' ,
120110 } ) ,
121111] as const ;
122112
@@ -134,14 +124,11 @@ function commandMetadata(
134124 return {
135125 batch : isSemanticGrammarBatchCommand ( name ) ,
136126 genericCli : genericCliNames . has ( name ) ,
137- mcp : 'tool' ,
138127 } ;
139128}
140129
141130export function listSemanticMcpToolDefinitions ( ) : AnySemanticCommandDefinition [ ] {
142- return semanticCommandSurface
143- . filter ( ( entry ) => entry . mcp === 'tool' || entry . mcp === 'local-boundary' )
144- . map ( ( entry ) => entry . definition ) ;
131+ return semanticCommandSurface . map ( ( entry ) => entry . definition ) ;
145132}
146133
147134export function listSemanticGenericCliCommands ( ) : SemanticCliCommand [ ] {
0 commit comments