77import { ZodRawShape } from ' zod' ;
88import { ZodTypeAny } from ' zod' ;
99
10- // @public
11- export function assertValidIdentifier(value : string , label ? : string ): void ;
12-
1310// @public
1411export interface ExecuteError {
1512 code: ExecuteErrorCode ;
@@ -79,44 +76,12 @@ export interface ExecutorRuntimeOptions {
7976 timeoutMs? : number ;
8077}
8178
82- // @public
83- export function generateTypesFromJsonSchema(providerName : string , tools : Record <string , TypegenToolDescriptor >): string ;
84-
8579// @public
8680export function isExecuteFailure(value : unknown ): value is ExecuteFailure ;
8781
88- // @public
89- export function isJsonSerializable(value : unknown , active ? : Set <object >, memo ? : WeakSet <object >): boolean ;
90-
91- // @public
92- export function isReservedWord(value : string ): boolean ;
93-
94- // @public
95- export function isValidIdentifier(value : string ): boolean ;
96-
9782// @public
9883export type JsonSchema = Record <string , unknown >;
9984
100- // @public
101- export interface ProviderManifest {
102- // (undocumented)
103- name: string ;
104- // (undocumented)
105- tools: Record <string , ProviderToolManifest >;
106- // (undocumented)
107- types: string ;
108- }
109-
110- // @public
111- export interface ProviderToolManifest {
112- // (undocumented)
113- description? : string ;
114- // (undocumented)
115- originalName: string ;
116- // (undocumented)
117- safeName: string ;
118- }
119-
12085// @public
12186export interface ResolvedToolDescriptor {
12287 description? : string ;
@@ -139,34 +104,6 @@ export interface ResolvedToolProvider {
139104// @public
140105export function resolveProvider(provider : ToolProvider ): ResolvedToolProvider ;
141106
142- // @public
143- export function sanitizeIdentifier(value : string ): string ;
144-
145- // @public
146- export function sanitizeToolName(name : string ): string ;
147-
148- // @public
149- export function serializePropertyName(name : string ): string ;
150-
151- // @public
152- export interface ToolCall {
153- // (undocumented)
154- input: unknown ;
155- // (undocumented)
156- providerName: string ;
157- // (undocumented)
158- safeToolName: string ;
159- }
160-
161- // @public
162- export type ToolCallResult = {
163- ok: true ;
164- result: unknown ;
165- } | {
166- error: ExecuteError ;
167- ok: false ;
168- };
169-
170107// @public
171108export interface ToolDescriptor {
172109 description? : string ;
@@ -193,7 +130,4 @@ export interface ToolProvider {
193130// @public
194131export type ToolSchema = JsonSchema | ZodTypeAny | ZodRawShape ;
195132
196- // @public
197- export type TypegenToolDescriptor = Pick <ResolvedToolDescriptor , " description" | " inputSchema" | " outputSchema" > & Partial <Pick <ResolvedToolDescriptor , " execute" >>;
198-
199133```
0 commit comments