@wp-typia/project-tools 0.23.0 → 0.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/runtime/ai-feature-artifacts.js +4 -1
- package/dist/runtime/block-generator-service-spec.js +2 -1
- package/dist/runtime/built-in-block-non-ts-basic-artifacts.d.ts +9 -0
- package/dist/runtime/built-in-block-non-ts-basic-artifacts.js +84 -0
- package/dist/runtime/built-in-block-non-ts-compound-artifacts.d.ts +9 -0
- package/dist/runtime/built-in-block-non-ts-compound-artifacts.js +36 -0
- package/dist/runtime/built-in-block-non-ts-compound-templates.d.ts +23 -0
- package/dist/runtime/built-in-block-non-ts-compound-templates.js +453 -0
- package/dist/runtime/built-in-block-non-ts-family-artifacts.d.ts +8 -26
- package/dist/runtime/built-in-block-non-ts-family-artifacts.js +8 -1034
- package/dist/runtime/built-in-block-non-ts-interactivity-artifacts.d.ts +9 -0
- package/dist/runtime/built-in-block-non-ts-interactivity-artifacts.js +83 -0
- package/dist/runtime/built-in-block-non-ts-persistence-artifacts.d.ts +9 -0
- package/dist/runtime/built-in-block-non-ts-persistence-artifacts.js +33 -0
- package/dist/runtime/built-in-block-non-ts-persistence-templates.d.ts +23 -0
- package/dist/runtime/built-in-block-non-ts-persistence-templates.js +395 -0
- package/dist/runtime/cli-add-block-json.js +5 -1
- package/dist/runtime/cli-add-collision.js +8 -0
- package/dist/runtime/cli-add-help.js +14 -10
- package/dist/runtime/cli-add-kind-ids.d.ts +1 -1
- package/dist/runtime/cli-add-kind-ids.js +1 -0
- package/dist/runtime/cli-add-types.d.ts +45 -6
- package/dist/runtime/cli-add-types.js +2 -0
- package/dist/runtime/cli-add-validation.d.ts +7 -0
- package/dist/runtime/cli-add-validation.js +9 -0
- package/dist/runtime/cli-add-workspace-ability-anchors.d.ts +24 -0
- package/dist/runtime/cli-add-workspace-ability-anchors.js +294 -0
- package/dist/runtime/cli-add-workspace-ability-registry.d.ts +10 -0
- package/dist/runtime/cli-add-workspace-ability-registry.js +51 -0
- package/dist/runtime/cli-add-workspace-ability-scaffold.d.ts +1 -1
- package/dist/runtime/cli-add-workspace-ability-scaffold.js +5 -308
- package/dist/runtime/cli-add-workspace-admin-view-scaffold.js +6 -2
- package/dist/runtime/cli-add-workspace-admin-view-templates-core-data.d.ts +34 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-core-data.js +483 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-default.d.ts +30 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-default.js +310 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-rest.d.ts +25 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-rest.js +124 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-settings.d.ts +34 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-settings.js +370 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-shared.d.ts +49 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates-shared.js +259 -0
- package/dist/runtime/cli-add-workspace-admin-view-templates.d.ts +18 -27
- package/dist/runtime/cli-add-workspace-admin-view-templates.js +30 -1326
- package/dist/runtime/cli-add-workspace-ai-anchors.d.ts +4 -4
- package/dist/runtime/cli-add-workspace-ai-anchors.js +8 -233
- package/dist/runtime/cli-add-workspace-ai-scaffold.js +4 -2
- package/dist/runtime/cli-add-workspace-ai-source-emitters.d.ts +1 -4
- package/dist/runtime/cli-add-workspace-ai-source-emitters.js +1 -129
- package/dist/runtime/cli-add-workspace-ai-sync-rest-anchors.d.ts +5 -0
- package/dist/runtime/cli-add-workspace-ai-sync-rest-anchors.js +236 -0
- package/dist/runtime/cli-add-workspace-ai-sync-script-source.d.ts +4 -0
- package/dist/runtime/cli-add-workspace-ai-sync-script-source.js +145 -0
- package/dist/runtime/cli-add-workspace-assets.d.ts +6 -63
- package/dist/runtime/cli-add-workspace-assets.js +6 -950
- package/dist/runtime/cli-add-workspace-binding-source-anchors.d.ts +23 -0
- package/dist/runtime/cli-add-workspace-binding-source-anchors.js +112 -0
- package/dist/runtime/cli-add-workspace-binding-source-source-emitters.d.ts +33 -0
- package/dist/runtime/cli-add-workspace-binding-source-source-emitters.js +436 -0
- package/dist/runtime/cli-add-workspace-binding-source-types.d.ts +20 -0
- package/dist/runtime/cli-add-workspace-binding-source-types.js +1 -0
- package/dist/runtime/cli-add-workspace-binding-source.d.ts +40 -0
- package/dist/runtime/cli-add-workspace-binding-source.js +275 -0
- package/dist/runtime/cli-add-workspace-block-style.d.ts +22 -0
- package/dist/runtime/cli-add-workspace-block-style.js +148 -0
- package/dist/runtime/cli-add-workspace-block-transform.d.ts +32 -0
- package/dist/runtime/cli-add-workspace-block-transform.js +197 -0
- package/dist/runtime/cli-add-workspace-contract.js +1 -1
- package/dist/runtime/cli-add-workspace-core-variation.d.ts +20 -0
- package/dist/runtime/cli-add-workspace-core-variation.js +322 -0
- package/dist/runtime/cli-add-workspace-editor-plugin-anchors.d.ts +37 -0
- package/dist/runtime/cli-add-workspace-editor-plugin-anchors.js +206 -0
- package/dist/runtime/cli-add-workspace-editor-plugin-source-emitters.d.ts +47 -0
- package/dist/runtime/cli-add-workspace-editor-plugin-source-emitters.js +219 -0
- package/dist/runtime/cli-add-workspace-editor-plugin.d.ts +22 -0
- package/dist/runtime/cli-add-workspace-editor-plugin.js +78 -0
- package/dist/runtime/cli-add-workspace-hooked-block.d.ts +23 -0
- package/dist/runtime/cli-add-workspace-hooked-block.js +57 -0
- package/dist/runtime/cli-add-workspace-integration-env-files.d.ts +33 -0
- package/dist/runtime/cli-add-workspace-integration-env-files.js +65 -0
- package/dist/runtime/cli-add-workspace-integration-env-package-json.d.ts +38 -0
- package/dist/runtime/cli-add-workspace-integration-env-package-json.js +122 -0
- package/dist/runtime/cli-add-workspace-integration-env-source-emitters.d.ts +44 -0
- package/dist/runtime/cli-add-workspace-integration-env-source-emitters.js +262 -0
- package/dist/runtime/cli-add-workspace-integration-env.d.ts +3 -1
- package/dist/runtime/cli-add-workspace-integration-env.js +10 -313
- package/dist/runtime/cli-add-workspace-pattern-anchors.d.ts +10 -0
- package/dist/runtime/cli-add-workspace-pattern-anchors.js +95 -0
- package/dist/runtime/cli-add-workspace-pattern-options.d.ts +20 -0
- package/dist/runtime/cli-add-workspace-pattern-options.js +113 -0
- package/dist/runtime/cli-add-workspace-pattern-source-emitters.d.ts +20 -0
- package/dist/runtime/cli-add-workspace-pattern-source-emitters.js +57 -0
- package/dist/runtime/cli-add-workspace-pattern.d.ts +42 -0
- package/dist/runtime/cli-add-workspace-pattern.js +99 -0
- package/dist/runtime/cli-add-workspace-post-meta.js +1 -1
- package/dist/runtime/cli-add-workspace-registration-hooks.d.ts +50 -0
- package/dist/runtime/cli-add-workspace-registration-hooks.js +162 -0
- package/dist/runtime/cli-add-workspace-rest-anchors.d.ts +9 -4
- package/dist/runtime/cli-add-workspace-rest-anchors.js +9 -428
- package/dist/runtime/cli-add-workspace-rest-bootstrap-anchors.d.ts +17 -0
- package/dist/runtime/cli-add-workspace-rest-bootstrap-anchors.js +108 -0
- package/dist/runtime/cli-add-workspace-rest-contract-sync-anchors.d.ts +9 -0
- package/dist/runtime/cli-add-workspace-rest-contract-sync-anchors.js +142 -0
- package/dist/runtime/cli-add-workspace-rest-generated-source-emitters.d.ts +51 -0
- package/dist/runtime/cli-add-workspace-rest-generated-source-emitters.js +415 -0
- package/dist/runtime/cli-add-workspace-rest-generated.d.ts +9 -0
- package/dist/runtime/cli-add-workspace-rest-generated.js +160 -0
- package/dist/runtime/cli-add-workspace-rest-manual-source-emitters.d.ts +80 -0
- package/dist/runtime/cli-add-workspace-rest-manual-source-emitters.js +238 -0
- package/dist/runtime/cli-add-workspace-rest-manual.d.ts +8 -0
- package/dist/runtime/cli-add-workspace-rest-manual.js +266 -0
- package/dist/runtime/cli-add-workspace-rest-php-templates.d.ts +18 -0
- package/dist/runtime/cli-add-workspace-rest-php-templates.js +359 -0
- package/dist/runtime/cli-add-workspace-rest-resource-php-routing-template.d.ts +33 -0
- package/dist/runtime/cli-add-workspace-rest-resource-php-routing-template.js +145 -0
- package/dist/runtime/cli-add-workspace-rest-resource-sync-anchors.d.ts +9 -0
- package/dist/runtime/cli-add-workspace-rest-resource-sync-anchors.js +162 -0
- package/dist/runtime/cli-add-workspace-rest-schema-helper-php-template.d.ts +7 -0
- package/dist/runtime/cli-add-workspace-rest-schema-helper-php-template.js +193 -0
- package/dist/runtime/cli-add-workspace-rest-source-emitters.d.ts +5 -91
- package/dist/runtime/cli-add-workspace-rest-source-emitters.js +5 -642
- package/dist/runtime/cli-add-workspace-rest-source-utils.d.ts +17 -0
- package/dist/runtime/cli-add-workspace-rest-source-utils.js +50 -0
- package/dist/runtime/cli-add-workspace-rest-sync-script-shared.d.ts +56 -0
- package/dist/runtime/cli-add-workspace-rest-sync-script-shared.js +122 -0
- package/dist/runtime/cli-add-workspace-rest-types.d.ts +108 -0
- package/dist/runtime/cli-add-workspace-rest-types.js +1 -0
- package/dist/runtime/cli-add-workspace-rest.d.ts +3 -20
- package/dist/runtime/cli-add-workspace-rest.js +33 -788
- package/dist/runtime/cli-add-workspace-variation.d.ts +22 -0
- package/dist/runtime/cli-add-workspace-variation.js +162 -0
- package/dist/runtime/cli-add-workspace.d.ts +42 -107
- package/dist/runtime/cli-add-workspace.js +42 -674
- package/dist/runtime/cli-add.d.ts +3 -3
- package/dist/runtime/cli-add.js +2 -2
- package/dist/runtime/cli-core.d.ts +3 -2
- package/dist/runtime/cli-core.js +2 -2
- package/dist/runtime/cli-diagnostics.d.ts +3 -1
- package/dist/runtime/cli-diagnostics.js +17 -5
- package/dist/runtime/cli-doctor-workspace-bindings.js +63 -1
- package/dist/runtime/cli-doctor-workspace-block-addons.d.ts +12 -0
- package/dist/runtime/cli-doctor-workspace-block-addons.js +162 -0
- package/dist/runtime/cli-doctor-workspace-block-iframe.d.ts +9 -0
- package/dist/runtime/cli-doctor-workspace-block-iframe.js +228 -0
- package/dist/runtime/cli-doctor-workspace-block-metadata.d.ts +11 -0
- package/dist/runtime/cli-doctor-workspace-block-metadata.js +111 -0
- package/dist/runtime/cli-doctor-workspace-blocks.js +6 -424
- package/dist/runtime/cli-doctor-workspace-features-abilities.d.ts +11 -0
- package/dist/runtime/cli-doctor-workspace-features-abilities.js +112 -0
- package/dist/runtime/cli-doctor-workspace-features-admin-views.d.ts +11 -0
- package/dist/runtime/cli-doctor-workspace-features-admin-views.js +128 -0
- package/dist/runtime/cli-doctor-workspace-features-ai.d.ts +11 -0
- package/dist/runtime/cli-doctor-workspace-features-ai.js +57 -0
- package/dist/runtime/cli-doctor-workspace-features-editor-plugins.d.ts +11 -0
- package/dist/runtime/cli-doctor-workspace-features-editor-plugins.js +80 -0
- package/dist/runtime/cli-doctor-workspace-features-post-meta.d.ts +11 -0
- package/dist/runtime/cli-doctor-workspace-features-post-meta.js +77 -0
- package/dist/runtime/cli-doctor-workspace-features-rest.d.ts +11 -0
- package/dist/runtime/cli-doctor-workspace-features-rest.js +120 -0
- package/dist/runtime/cli-doctor-workspace-features.js +14 -487
- package/dist/runtime/cli-doctor.d.ts +54 -3
- package/dist/runtime/cli-doctor.js +92 -10
- package/dist/runtime/cli-help.js +12 -7
- package/dist/runtime/cli-init-package-json.js +4 -2
- package/dist/runtime/cli-prompt.d.ts +16 -2
- package/dist/runtime/cli-prompt.js +29 -12
- package/dist/runtime/cli-scaffold.d.ts +2 -1
- package/dist/runtime/cli-scaffold.js +19 -10
- package/dist/runtime/external-template-guards.js +4 -6
- package/dist/runtime/index.d.ts +6 -3
- package/dist/runtime/index.js +4 -2
- package/dist/runtime/json-utils.d.ts +62 -4
- package/dist/runtime/json-utils.js +78 -4
- package/dist/runtime/local-dev-presets.js +6 -2
- package/dist/runtime/migration-ui-capability.js +4 -1
- package/dist/runtime/migration-utils.js +4 -1
- package/dist/runtime/package-managers.js +6 -1
- package/dist/runtime/package-versions.d.ts +1 -0
- package/dist/runtime/package-versions.js +16 -3
- package/dist/runtime/pattern-catalog.d.ts +122 -0
- package/dist/runtime/pattern-catalog.js +471 -0
- package/dist/runtime/post-meta-binding-fields.d.ts +46 -0
- package/dist/runtime/post-meta-binding-fields.js +135 -0
- package/dist/runtime/scaffold-bootstrap.js +7 -2
- package/dist/runtime/scaffold-package-manager-files.js +5 -1
- package/dist/runtime/scaffold-repository-reference.js +4 -2
- package/dist/runtime/scaffold-template-variables.js +2 -1
- package/dist/runtime/scaffold.d.ts +18 -1
- package/dist/runtime/scaffold.js +55 -2
- package/dist/runtime/temp-roots.js +4 -1
- package/dist/runtime/template-layers.js +4 -1
- package/dist/runtime/template-registry.js +9 -3
- package/dist/runtime/template-source-contracts.d.ts +2 -0
- package/dist/runtime/template-source-normalization.js +2 -1
- package/dist/runtime/template-source-remote.js +18 -5
- package/dist/runtime/template-source-seeds.js +10 -3
- package/dist/runtime/typia-llm-json-schema.d.ts +24 -0
- package/dist/runtime/typia-llm-json-schema.js +33 -0
- package/dist/runtime/typia-llm-openapi-constraints.d.ts +20 -0
- package/dist/runtime/typia-llm-openapi-constraints.js +254 -0
- package/dist/runtime/typia-llm-projection.d.ts +25 -0
- package/dist/runtime/typia-llm-projection.js +58 -0
- package/dist/runtime/typia-llm-render.d.ts +21 -0
- package/dist/runtime/typia-llm-render.js +252 -0
- package/dist/runtime/typia-llm-sync.d.ts +10 -0
- package/dist/runtime/typia-llm-sync.js +63 -0
- package/dist/runtime/typia-llm-types.d.ts +197 -0
- package/dist/runtime/typia-llm-types.js +1 -0
- package/dist/runtime/typia-llm.d.ts +9 -255
- package/dist/runtime/typia-llm.js +5 -634
- package/dist/runtime/workspace-inventory-mutations.js +15 -1
- package/dist/runtime/workspace-inventory-parser-entries.d.ts +17 -0
- package/dist/runtime/workspace-inventory-parser-entries.js +157 -0
- package/dist/runtime/workspace-inventory-parser-validation.d.ts +104 -0
- package/dist/runtime/workspace-inventory-parser-validation.js +34 -0
- package/dist/runtime/workspace-inventory-parser.d.ts +3 -45
- package/dist/runtime/workspace-inventory-parser.js +3 -581
- package/dist/runtime/workspace-inventory-section-descriptors.d.ts +19 -0
- package/dist/runtime/workspace-inventory-section-descriptors.js +443 -0
- package/dist/runtime/workspace-inventory-templates.d.ts +3 -3
- package/dist/runtime/workspace-inventory-templates.js +10 -1
- package/dist/runtime/workspace-inventory-types.d.ts +10 -1
- package/dist/runtime/workspace-project.js +4 -6
- package/package.json +8 -3
- package/templates/_shared/compound/core/scripts/block-config.ts.mustache +22 -0
- package/templates/_shared/compound/core/scripts/sync-types-to-block-json.ts.mustache +103 -2
- package/templates/_shared/compound/core/src/inner-blocks-templates.ts.mustache +13 -0
- package/templates/_shared/compound/persistence/scripts/block-config.ts.mustache +22 -1
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import type { ArtifactSyncExecutionOptions, EndpointManifestDefinition, EndpointManifestEndpointDefinition } from '@wp-typia/block-runtime/metadata-core';
|
|
2
|
+
import type { ILlmFunction, ILlmSchema, ILlmStructuredOutput } from 'typia';
|
|
3
|
+
import type { EndpointAuthIntent, EndpointWordPressAuthDefinition, OpenApiDocument } from './schema-core.js';
|
|
4
|
+
/**
|
|
5
|
+
* Method-level descriptor projected from an endpoint manifest for a generated
|
|
6
|
+
* `typia.llm` controller interface.
|
|
7
|
+
*/
|
|
8
|
+
export interface TypiaLlmEndpointMethodDescriptor {
|
|
9
|
+
/** Normalized auth intent derived from the endpoint manifest. */
|
|
10
|
+
authIntent: EndpointAuthIntent;
|
|
11
|
+
/** Optional auth mode propagated from legacy manifest metadata. */
|
|
12
|
+
authMode?: EndpointManifestEndpointDefinition['authMode'];
|
|
13
|
+
/** Human-readable operation summary. */
|
|
14
|
+
description?: string;
|
|
15
|
+
/** Input type used by the generated controller method, or null for no input. */
|
|
16
|
+
inputTypeName: string | null;
|
|
17
|
+
/** Type names that must be imported when inputTypeName is an inline composite. */
|
|
18
|
+
inputTypeImportNames?: readonly string[];
|
|
19
|
+
/** HTTP method from the source endpoint manifest. */
|
|
20
|
+
method: EndpointManifestEndpointDefinition['method'];
|
|
21
|
+
/** Stable operation identifier used as the generated method name. */
|
|
22
|
+
operationId: string;
|
|
23
|
+
/** Output type used by the generated controller method. */
|
|
24
|
+
outputTypeName: string;
|
|
25
|
+
/** REST path from the source endpoint manifest. */
|
|
26
|
+
path: string;
|
|
27
|
+
/** Tags copied from the source endpoint manifest. */
|
|
28
|
+
tags: readonly string[];
|
|
29
|
+
/** Optional WordPress auth overlay preserved for downstream adapters. */
|
|
30
|
+
wordpressAuth?: EndpointWordPressAuthDefinition;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Configures the generated TypeScript module that asks `typia.llm` to derive
|
|
34
|
+
* function-calling and structured-output artifacts from canonical contracts.
|
|
35
|
+
*/
|
|
36
|
+
export interface RenderTypiaLlmModuleOptions {
|
|
37
|
+
/** Export name for the generated `typia.llm.application<...>()` value. */
|
|
38
|
+
applicationExportName: string;
|
|
39
|
+
/** Generated controller interface name. */
|
|
40
|
+
interfaceName: string;
|
|
41
|
+
/** Endpoint manifest that owns REST operation metadata and source type names. */
|
|
42
|
+
manifest: EndpointManifestDefinition;
|
|
43
|
+
/** Export name for the generated `typia.llm.structuredOutput<...>()` value. */
|
|
44
|
+
structuredOutputExportName: string;
|
|
45
|
+
/** TypeScript output type used for structured-output projection. */
|
|
46
|
+
structuredOutputTypeName: string;
|
|
47
|
+
/** Import path from the generated module to the canonical TypeScript contracts. */
|
|
48
|
+
typesImportPath: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Configures writing or checking the generated `typia.llm` adapter module.
|
|
52
|
+
*/
|
|
53
|
+
export interface SyncTypiaLlmAdapterModuleOptions extends ArtifactSyncExecutionOptions, RenderTypiaLlmModuleOptions {
|
|
54
|
+
/** Destination path for the generated TypeScript adapter module. */
|
|
55
|
+
generatedSourceFile: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Describes the generated adapter module and where it was written or checked.
|
|
59
|
+
*/
|
|
60
|
+
export interface SyncTypiaLlmAdapterModuleResult {
|
|
61
|
+
/** True when the source file was only verified, false when it was written. */
|
|
62
|
+
check: boolean;
|
|
63
|
+
/** Generated endpoint method descriptors used by the module renderer. */
|
|
64
|
+
methodDescriptors: TypiaLlmEndpointMethodDescriptor[];
|
|
65
|
+
/** Rendered TypeScript module source. */
|
|
66
|
+
source: string;
|
|
67
|
+
/** Destination path for the generated TypeScript adapter module. */
|
|
68
|
+
sourceFile: string;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Function schema shape projected from a compiled `typia.llm.application(...)`
|
|
72
|
+
* result.
|
|
73
|
+
*/
|
|
74
|
+
export interface TypiaLlmFunctionLike extends Pick<ILlmFunction, 'description' | 'name' | 'output' | 'parameters'> {
|
|
75
|
+
/** Function description generated by `typia.llm`. */
|
|
76
|
+
description?: string;
|
|
77
|
+
/** Function name generated by `typia.llm`. */
|
|
78
|
+
name: string;
|
|
79
|
+
/** Optional output schema generated by `typia.llm`. */
|
|
80
|
+
output?: ILlmSchema.IParameters;
|
|
81
|
+
/** Function parameter schema generated by `typia.llm`. */
|
|
82
|
+
parameters: ILlmSchema.IParameters;
|
|
83
|
+
/** Optional tags generated by `typia.llm`. */
|
|
84
|
+
tags?: readonly string[];
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Application shape projected from a compiled `typia.llm.application(...)`
|
|
88
|
+
* result.
|
|
89
|
+
*/
|
|
90
|
+
export interface TypiaLlmApplicationLike {
|
|
91
|
+
/** Function schemas generated by `typia.llm`. */
|
|
92
|
+
functions: readonly TypiaLlmFunctionLike[];
|
|
93
|
+
}
|
|
94
|
+
/**
|
|
95
|
+
* Structured-output shape projected from a compiled
|
|
96
|
+
* `typia.llm.structuredOutput(...)` result.
|
|
97
|
+
*/
|
|
98
|
+
export interface TypiaLlmStructuredOutputLike extends Pick<ILlmStructuredOutput, 'parameters'> {
|
|
99
|
+
/** Structured output parameters generated by `typia.llm`. */
|
|
100
|
+
parameters: ILlmStructuredOutput['parameters'];
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* JSON-friendly function artifact for downstream adapter consumers.
|
|
104
|
+
*/
|
|
105
|
+
export interface ProjectedTypiaLlmFunctionArtifact {
|
|
106
|
+
/** Function description generated by `typia.llm`. */
|
|
107
|
+
description?: string;
|
|
108
|
+
/** Function name generated by `typia.llm`. */
|
|
109
|
+
name: string;
|
|
110
|
+
/** Optional output schema generated by `typia.llm`. */
|
|
111
|
+
output?: ILlmSchema.IParameters;
|
|
112
|
+
/** Function parameter schema generated by `typia.llm`. */
|
|
113
|
+
parameters: ILlmSchema.IParameters;
|
|
114
|
+
/** Optional tags generated by `typia.llm`. */
|
|
115
|
+
tags?: string[];
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* JSON-friendly application artifact for downstream adapter consumers.
|
|
119
|
+
*/
|
|
120
|
+
export interface ProjectedTypiaLlmApplicationArtifact {
|
|
121
|
+
/** Function-calling artifacts generated by `typia.llm`. */
|
|
122
|
+
functions: ProjectedTypiaLlmFunctionArtifact[];
|
|
123
|
+
/** Source metadata that keeps the artifact tied to canonical contracts. */
|
|
124
|
+
generatedFrom: {
|
|
125
|
+
baselineOpenApiPath?: string;
|
|
126
|
+
blockSlug: string;
|
|
127
|
+
manifestSource: 'endpoint-manifest+typescript';
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* JSON-friendly structured-output artifact for downstream adapter consumers.
|
|
132
|
+
*/
|
|
133
|
+
export interface ProjectedTypiaLlmStructuredOutputArtifact {
|
|
134
|
+
/** Source metadata that keeps the artifact tied to canonical contracts. */
|
|
135
|
+
generatedFrom: {
|
|
136
|
+
aiSchemaPath?: string;
|
|
137
|
+
blockSlug: string;
|
|
138
|
+
outputTypeName: string;
|
|
139
|
+
};
|
|
140
|
+
/** Structured output parameters generated by `typia.llm`. */
|
|
141
|
+
parameters: ILlmStructuredOutput['parameters'];
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Configures optional OpenAPI-backed constraint restoration for projected
|
|
145
|
+
* `typia.llm` function artifacts.
|
|
146
|
+
*/
|
|
147
|
+
export interface ProjectTypiaLlmOpenApiProjectionOptions {
|
|
148
|
+
/** Canonical endpoint-aware OpenAPI document for the projected contracts. */
|
|
149
|
+
openApiDocument: OpenApiDocument;
|
|
150
|
+
/** Optional override for resolving one function schema to an operation id. */
|
|
151
|
+
resolveOperationId?: (functionSchema: TypiaLlmFunctionLike, functionArtifact: ProjectedTypiaLlmFunctionArtifact) => string;
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Configures projection of a compiled `typia.llm.application(...)` result into
|
|
155
|
+
* the JSON-friendly adapter artifact.
|
|
156
|
+
*/
|
|
157
|
+
export interface ProjectTypiaLlmApplicationArtifactOptions {
|
|
158
|
+
/** Compiled application value produced by `typia.llm.application(...)`. */
|
|
159
|
+
application: TypiaLlmApplicationLike;
|
|
160
|
+
/** Source metadata for the generated JSON artifact. */
|
|
161
|
+
generatedFrom: ProjectedTypiaLlmApplicationArtifact['generatedFrom'];
|
|
162
|
+
/** Optional OpenAPI projection that restores canonical schema constraints. */
|
|
163
|
+
openApiProjection?: ProjectTypiaLlmOpenApiProjectionOptions;
|
|
164
|
+
/** Optional hook for adapter-specific function schema normalization. */
|
|
165
|
+
transformFunction?: (functionArtifact: ProjectedTypiaLlmFunctionArtifact, functionSchema: TypiaLlmFunctionLike) => ProjectedTypiaLlmFunctionArtifact;
|
|
166
|
+
}
|
|
167
|
+
/**
|
|
168
|
+
* Configures direct OpenAPI-backed constraint restoration for one projected
|
|
169
|
+
* function artifact.
|
|
170
|
+
*/
|
|
171
|
+
export interface ApplyOpenApiConstraintsToTypiaLlmFunctionArtifactOptions {
|
|
172
|
+
/** Projected function artifact to enrich with canonical constraints. */
|
|
173
|
+
functionArtifact: ProjectedTypiaLlmFunctionArtifact;
|
|
174
|
+
/** Canonical endpoint-aware OpenAPI document. */
|
|
175
|
+
openApiDocument: OpenApiDocument;
|
|
176
|
+
/** Operation id that owns the request/response contract for this function. */
|
|
177
|
+
operationId: string;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Configures projection of a compiled `typia.llm.structuredOutput(...)` result
|
|
181
|
+
* into the JSON-friendly adapter artifact.
|
|
182
|
+
*/
|
|
183
|
+
export interface ProjectTypiaLlmStructuredOutputArtifactOptions {
|
|
184
|
+
/** Source metadata for the generated JSON artifact. */
|
|
185
|
+
generatedFrom: ProjectedTypiaLlmStructuredOutputArtifact['generatedFrom'];
|
|
186
|
+
/** Compiled structured-output value produced by `typia.llm.structuredOutput(...)`. */
|
|
187
|
+
structuredOutput: TypiaLlmStructuredOutputLike;
|
|
188
|
+
}
|
|
189
|
+
/**
|
|
190
|
+
* Generated Typia LLM artifact payload and destination.
|
|
191
|
+
*/
|
|
192
|
+
export type GeneratedTypiaLlmArtifactFile = {
|
|
193
|
+
/** File contents to write or compare. */
|
|
194
|
+
content: string;
|
|
195
|
+
/** Destination path for the generated artifact file. */
|
|
196
|
+
filePath: string;
|
|
197
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,258 +1,12 @@
|
|
|
1
|
-
import type { ArtifactSyncExecutionOptions, EndpointManifestDefinition, EndpointManifestEndpointDefinition } from '@wp-typia/block-runtime/metadata-core';
|
|
2
|
-
import type { ILlmFunction, ILlmSchema, ILlmStructuredOutput } from 'typia';
|
|
3
|
-
import { type EndpointAuthIntent, type EndpointWordPressAuthDefinition, type JsonSchemaObject, type OpenApiDocument } from './schema-core.js';
|
|
4
1
|
/**
|
|
5
|
-
*
|
|
6
|
-
* `typia.llm` controller interface.
|
|
7
|
-
*/
|
|
8
|
-
export interface TypiaLlmEndpointMethodDescriptor {
|
|
9
|
-
/** Normalized auth intent derived from the endpoint manifest. */
|
|
10
|
-
authIntent: EndpointAuthIntent;
|
|
11
|
-
/** Optional auth mode propagated from legacy manifest metadata. */
|
|
12
|
-
authMode?: EndpointManifestEndpointDefinition['authMode'];
|
|
13
|
-
/** Human-readable operation summary. */
|
|
14
|
-
description?: string;
|
|
15
|
-
/** Input type used by the generated controller method, or null for no input. */
|
|
16
|
-
inputTypeName: string | null;
|
|
17
|
-
/** Type names that must be imported when inputTypeName is an inline composite. */
|
|
18
|
-
inputTypeImportNames?: readonly string[];
|
|
19
|
-
/** HTTP method from the source endpoint manifest. */
|
|
20
|
-
method: EndpointManifestEndpointDefinition['method'];
|
|
21
|
-
/** Stable operation identifier used as the generated method name. */
|
|
22
|
-
operationId: string;
|
|
23
|
-
/** Output type used by the generated controller method. */
|
|
24
|
-
outputTypeName: string;
|
|
25
|
-
/** REST path from the source endpoint manifest. */
|
|
26
|
-
path: string;
|
|
27
|
-
/** Tags copied from the source endpoint manifest. */
|
|
28
|
-
tags: readonly string[];
|
|
29
|
-
/** Optional WordPress auth overlay preserved for downstream adapters. */
|
|
30
|
-
wordpressAuth?: EndpointWordPressAuthDefinition;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Configures the generated TypeScript module that asks `typia.llm` to derive
|
|
34
|
-
* function-calling and structured-output artifacts from canonical contracts.
|
|
35
|
-
*/
|
|
36
|
-
export interface RenderTypiaLlmModuleOptions {
|
|
37
|
-
/** Export name for the generated `typia.llm.application<...>()` value. */
|
|
38
|
-
applicationExportName: string;
|
|
39
|
-
/** Generated controller interface name. */
|
|
40
|
-
interfaceName: string;
|
|
41
|
-
/** Endpoint manifest that owns REST operation metadata and source type names. */
|
|
42
|
-
manifest: EndpointManifestDefinition;
|
|
43
|
-
/** Export name for the generated `typia.llm.structuredOutput<...>()` value. */
|
|
44
|
-
structuredOutputExportName: string;
|
|
45
|
-
/** TypeScript output type used for structured-output projection. */
|
|
46
|
-
structuredOutputTypeName: string;
|
|
47
|
-
/** Import path from the generated module to the canonical TypeScript contracts. */
|
|
48
|
-
typesImportPath: string;
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Configures writing or checking the generated `typia.llm` adapter module.
|
|
52
|
-
*/
|
|
53
|
-
export interface SyncTypiaLlmAdapterModuleOptions extends ArtifactSyncExecutionOptions, RenderTypiaLlmModuleOptions {
|
|
54
|
-
/** Destination path for the generated TypeScript adapter module. */
|
|
55
|
-
generatedSourceFile: string;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* Describes the generated adapter module and where it was written or checked.
|
|
59
|
-
*/
|
|
60
|
-
export interface SyncTypiaLlmAdapterModuleResult {
|
|
61
|
-
/** True when the source file was only verified, false when it was written. */
|
|
62
|
-
check: boolean;
|
|
63
|
-
/** Generated endpoint method descriptors used by the module renderer. */
|
|
64
|
-
methodDescriptors: TypiaLlmEndpointMethodDescriptor[];
|
|
65
|
-
/** Rendered TypeScript module source. */
|
|
66
|
-
source: string;
|
|
67
|
-
/** Destination path for the generated TypeScript adapter module. */
|
|
68
|
-
sourceFile: string;
|
|
69
|
-
}
|
|
70
|
-
/**
|
|
71
|
-
* Function schema shape projected from a compiled `typia.llm.application(...)`
|
|
72
|
-
* result.
|
|
73
|
-
*/
|
|
74
|
-
export interface TypiaLlmFunctionLike extends Pick<ILlmFunction, 'description' | 'name' | 'output' | 'parameters'> {
|
|
75
|
-
/** Function description generated by `typia.llm`. */
|
|
76
|
-
description?: string;
|
|
77
|
-
/** Function name generated by `typia.llm`. */
|
|
78
|
-
name: string;
|
|
79
|
-
/** Optional output schema generated by `typia.llm`. */
|
|
80
|
-
output?: ILlmSchema.IParameters;
|
|
81
|
-
/** Function parameter schema generated by `typia.llm`. */
|
|
82
|
-
parameters: ILlmSchema.IParameters;
|
|
83
|
-
/** Optional tags generated by `typia.llm`. */
|
|
84
|
-
tags?: readonly string[];
|
|
85
|
-
}
|
|
86
|
-
/**
|
|
87
|
-
* Application shape projected from a compiled `typia.llm.application(...)`
|
|
88
|
-
* result.
|
|
89
|
-
*/
|
|
90
|
-
export interface TypiaLlmApplicationLike {
|
|
91
|
-
/** Function schemas generated by `typia.llm`. */
|
|
92
|
-
functions: readonly TypiaLlmFunctionLike[];
|
|
93
|
-
}
|
|
94
|
-
/**
|
|
95
|
-
* Structured-output shape projected from a compiled
|
|
96
|
-
* `typia.llm.structuredOutput(...)` result.
|
|
97
|
-
*/
|
|
98
|
-
export interface TypiaLlmStructuredOutputLike extends Pick<ILlmStructuredOutput, 'parameters'> {
|
|
99
|
-
/** Structured output parameters generated by `typia.llm`. */
|
|
100
|
-
parameters: ILlmStructuredOutput['parameters'];
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* JSON-friendly function artifact for downstream adapter consumers.
|
|
104
|
-
*/
|
|
105
|
-
export interface ProjectedTypiaLlmFunctionArtifact {
|
|
106
|
-
/** Function description generated by `typia.llm`. */
|
|
107
|
-
description?: string;
|
|
108
|
-
/** Function name generated by `typia.llm`. */
|
|
109
|
-
name: string;
|
|
110
|
-
/** Optional output schema generated by `typia.llm`. */
|
|
111
|
-
output?: ILlmSchema.IParameters;
|
|
112
|
-
/** Function parameter schema generated by `typia.llm`. */
|
|
113
|
-
parameters: ILlmSchema.IParameters;
|
|
114
|
-
/** Optional tags generated by `typia.llm`. */
|
|
115
|
-
tags?: string[];
|
|
116
|
-
}
|
|
117
|
-
/**
|
|
118
|
-
* JSON-friendly application artifact for downstream adapter consumers.
|
|
119
|
-
*/
|
|
120
|
-
export interface ProjectedTypiaLlmApplicationArtifact {
|
|
121
|
-
/** Function-calling artifacts generated by `typia.llm`. */
|
|
122
|
-
functions: ProjectedTypiaLlmFunctionArtifact[];
|
|
123
|
-
/** Source metadata that keeps the artifact tied to canonical contracts. */
|
|
124
|
-
generatedFrom: {
|
|
125
|
-
baselineOpenApiPath?: string;
|
|
126
|
-
blockSlug: string;
|
|
127
|
-
manifestSource: 'endpoint-manifest+typescript';
|
|
128
|
-
};
|
|
129
|
-
}
|
|
130
|
-
/**
|
|
131
|
-
* JSON-friendly structured-output artifact for downstream adapter consumers.
|
|
132
|
-
*/
|
|
133
|
-
export interface ProjectedTypiaLlmStructuredOutputArtifact {
|
|
134
|
-
/** Source metadata that keeps the artifact tied to canonical contracts. */
|
|
135
|
-
generatedFrom: {
|
|
136
|
-
aiSchemaPath?: string;
|
|
137
|
-
blockSlug: string;
|
|
138
|
-
outputTypeName: string;
|
|
139
|
-
};
|
|
140
|
-
/** Structured output parameters generated by `typia.llm`. */
|
|
141
|
-
parameters: ILlmStructuredOutput['parameters'];
|
|
142
|
-
}
|
|
143
|
-
/**
|
|
144
|
-
* Configures optional OpenAPI-backed constraint restoration for projected
|
|
145
|
-
* `typia.llm` function artifacts.
|
|
146
|
-
*/
|
|
147
|
-
export interface ProjectTypiaLlmOpenApiProjectionOptions {
|
|
148
|
-
/** Canonical endpoint-aware OpenAPI document for the projected contracts. */
|
|
149
|
-
openApiDocument: OpenApiDocument;
|
|
150
|
-
/** Optional override for resolving one function schema to an operation id. */
|
|
151
|
-
resolveOperationId?: (functionSchema: TypiaLlmFunctionLike, functionArtifact: ProjectedTypiaLlmFunctionArtifact) => string;
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* Configures projection of a compiled `typia.llm.application(...)` result into
|
|
155
|
-
* the JSON-friendly adapter artifact.
|
|
156
|
-
*/
|
|
157
|
-
export interface ProjectTypiaLlmApplicationArtifactOptions {
|
|
158
|
-
/** Compiled application value produced by `typia.llm.application(...)`. */
|
|
159
|
-
application: TypiaLlmApplicationLike;
|
|
160
|
-
/** Source metadata for the generated JSON artifact. */
|
|
161
|
-
generatedFrom: ProjectedTypiaLlmApplicationArtifact['generatedFrom'];
|
|
162
|
-
/** Optional OpenAPI projection that restores canonical schema constraints. */
|
|
163
|
-
openApiProjection?: ProjectTypiaLlmOpenApiProjectionOptions;
|
|
164
|
-
/** Optional hook for adapter-specific function schema normalization. */
|
|
165
|
-
transformFunction?: (functionArtifact: ProjectedTypiaLlmFunctionArtifact, functionSchema: TypiaLlmFunctionLike) => ProjectedTypiaLlmFunctionArtifact;
|
|
166
|
-
}
|
|
167
|
-
/**
|
|
168
|
-
* Configures direct OpenAPI-backed constraint restoration for one projected
|
|
169
|
-
* function artifact.
|
|
170
|
-
*/
|
|
171
|
-
export interface ApplyOpenApiConstraintsToTypiaLlmFunctionArtifactOptions {
|
|
172
|
-
/** Projected function artifact to enrich with canonical constraints. */
|
|
173
|
-
functionArtifact: ProjectedTypiaLlmFunctionArtifact;
|
|
174
|
-
/** Canonical endpoint-aware OpenAPI document. */
|
|
175
|
-
openApiDocument: OpenApiDocument;
|
|
176
|
-
/** Operation id that owns the request/response contract for this function. */
|
|
177
|
-
operationId: string;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Configures projection of a compiled `typia.llm.structuredOutput(...)` result
|
|
181
|
-
* into the JSON-friendly adapter artifact.
|
|
182
|
-
*/
|
|
183
|
-
export interface ProjectTypiaLlmStructuredOutputArtifactOptions {
|
|
184
|
-
/** Source metadata for the generated JSON artifact. */
|
|
185
|
-
generatedFrom: ProjectedTypiaLlmStructuredOutputArtifact['generatedFrom'];
|
|
186
|
-
/** Compiled structured-output value produced by `typia.llm.structuredOutput(...)`. */
|
|
187
|
-
structuredOutput: TypiaLlmStructuredOutputLike;
|
|
188
|
-
}
|
|
189
|
-
/**
|
|
190
|
-
* Narrow a `typia.llm` artifact field before applying JSON Schema mutations.
|
|
191
|
-
*
|
|
192
|
-
* @param value Candidate schema value emitted by `typia.llm`.
|
|
193
|
-
* @param context Human-readable artifact path for diagnostics.
|
|
194
|
-
* @returns The value narrowed to the shared JSON Schema object shape.
|
|
195
|
-
*/
|
|
196
|
-
export declare function assertJsonSchemaObject(value: unknown, context: string): JsonSchemaObject;
|
|
197
|
-
/**
|
|
198
|
-
* Builds the generated controller method descriptors that bridge endpoint
|
|
199
|
-
* manifests to `typia.llm` TypeScript interfaces.
|
|
200
|
-
*
|
|
201
|
-
* @param manifest Endpoint manifest that owns operation and source type names.
|
|
202
|
-
* @returns Ordered method descriptors matching the manifest endpoints.
|
|
203
|
-
* @throws When an endpoint has ambiguous query/body input mapping.
|
|
204
|
-
* @throws When an endpoint references a missing input or output contract.
|
|
205
|
-
*/
|
|
206
|
-
export declare function buildTypiaLlmEndpointMethodDescriptors(manifest: EndpointManifestDefinition): TypiaLlmEndpointMethodDescriptor[];
|
|
207
|
-
/**
|
|
208
|
-
* Renders a build-time-only TypeScript module that invokes `typia.llm` against
|
|
209
|
-
* canonical manifest-owned contracts.
|
|
210
|
-
*
|
|
211
|
-
* @param options Render options for the generated adapter module.
|
|
212
|
-
* @returns The generated TypeScript source.
|
|
213
|
-
*/
|
|
214
|
-
export declare function renderTypiaLlmModule({ applicationExportName, interfaceName, manifest, structuredOutputExportName, structuredOutputTypeName, typesImportPath, }: RenderTypiaLlmModuleOptions): string;
|
|
215
|
-
/**
|
|
216
|
-
* Writes or verifies the generated build-time `typia.llm` adapter module. The
|
|
217
|
-
* returned TypeScript source still needs to be compiled by the consuming
|
|
218
|
-
* project's Typia transformer before JSON artifacts can be read from it.
|
|
219
|
-
*
|
|
220
|
-
* @param options Generated module destination plus render options.
|
|
221
|
-
* @returns Rendered source, method descriptors, and the checked/written file path.
|
|
222
|
-
*/
|
|
223
|
-
export declare function syncTypiaLlmAdapterModule({ check, generatedSourceFile, ...renderOptions }: SyncTypiaLlmAdapterModuleOptions): Promise<SyncTypiaLlmAdapterModuleResult>;
|
|
224
|
-
/**
|
|
225
|
-
* Projects one compiled `typia.llm` function schema into a JSON-friendly
|
|
226
|
-
* artifact record.
|
|
227
|
-
*
|
|
228
|
-
* @param functionSchema Function schema from a compiled `typia.llm.application(...)`.
|
|
229
|
-
* @returns JSON-friendly function artifact.
|
|
230
|
-
*/
|
|
231
|
-
export declare function projectTypiaLlmApplicationFunction(functionSchema: TypiaLlmFunctionLike): ProjectedTypiaLlmFunctionArtifact;
|
|
232
|
-
/**
|
|
233
|
-
* Restores canonical request and response constraints from an endpoint-aware
|
|
234
|
-
* OpenAPI document onto one projected `typia.llm` function artifact.
|
|
235
|
-
*
|
|
236
|
-
* Query-only inputs merge into the root parameter object. Mixed body/query
|
|
237
|
-
* inputs merge into the generated `body` and `query` properties.
|
|
238
|
-
*
|
|
239
|
-
* @param options Projected artifact plus the canonical OpenAPI document.
|
|
240
|
-
* @returns A cloned artifact enriched with OpenAPI-backed constraints when available.
|
|
241
|
-
*/
|
|
242
|
-
export declare function applyOpenApiConstraintsToTypiaLlmFunctionArtifact({ functionArtifact, openApiDocument, operationId, }: ApplyOpenApiConstraintsToTypiaLlmFunctionArtifactOptions): ProjectedTypiaLlmFunctionArtifact;
|
|
243
|
-
/**
|
|
244
|
-
* Projects a compiled `typia.llm.application(...)` result into a JSON-friendly
|
|
245
|
-
* downstream adapter artifact.
|
|
246
|
-
*
|
|
247
|
-
* @param options Compiled application value and source metadata.
|
|
248
|
-
* @returns JSON-friendly application artifact.
|
|
249
|
-
*/
|
|
250
|
-
export declare function projectTypiaLlmApplicationArtifact({ application, generatedFrom, openApiProjection, transformFunction, }: ProjectTypiaLlmApplicationArtifactOptions): ProjectedTypiaLlmApplicationArtifact;
|
|
251
|
-
/**
|
|
252
|
-
* Projects a compiled `typia.llm.structuredOutput(...)` result into a
|
|
253
|
-
* JSON-friendly downstream adapter artifact.
|
|
2
|
+
* Public compatibility facade for Typia LLM runtime helpers.
|
|
254
3
|
*
|
|
255
|
-
*
|
|
256
|
-
*
|
|
4
|
+
* Keep `@wp-typia/project-tools/typia-llm` stable while rendering, sync,
|
|
5
|
+
* projection, and OpenAPI constraint restoration live in focused modules.
|
|
257
6
|
*/
|
|
258
|
-
export
|
|
7
|
+
export type { ApplyOpenApiConstraintsToTypiaLlmFunctionArtifactOptions, ProjectedTypiaLlmApplicationArtifact, ProjectedTypiaLlmFunctionArtifact, ProjectedTypiaLlmStructuredOutputArtifact, ProjectTypiaLlmApplicationArtifactOptions, ProjectTypiaLlmOpenApiProjectionOptions, ProjectTypiaLlmStructuredOutputArtifactOptions, RenderTypiaLlmModuleOptions, SyncTypiaLlmAdapterModuleOptions, SyncTypiaLlmAdapterModuleResult, TypiaLlmApplicationLike, TypiaLlmEndpointMethodDescriptor, TypiaLlmFunctionLike, TypiaLlmStructuredOutputLike, } from './typia-llm-types.js';
|
|
8
|
+
export { assertJsonSchemaObject } from './typia-llm-json-schema.js';
|
|
9
|
+
export { applyOpenApiConstraintsToTypiaLlmFunctionArtifact, } from './typia-llm-openapi-constraints.js';
|
|
10
|
+
export { projectTypiaLlmApplicationArtifact, projectTypiaLlmApplicationFunction, projectTypiaLlmStructuredOutputArtifact, } from './typia-llm-projection.js';
|
|
11
|
+
export { buildTypiaLlmEndpointMethodDescriptors, renderTypiaLlmModule, } from './typia-llm-render.js';
|
|
12
|
+
export { syncTypiaLlmAdapterModule } from './typia-llm-sync.js';
|