@sidecar-ai/compiler 0.1.0-alpha.10 → 0.1.0-alpha.5
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/index.d.ts +1 -5
- package/dist/index.js +290 -605
- package/dist/index.js.map +1 -1
- package/package.json +3 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BuildHost, BuildTarget, WidgetBuildConfig, JsonSchema, ToolAnnotations, ToolVisibility, ToolWidgetOptions, McpToolDescriptor, ResourceAnnotations, McpResourceDescriptor, McpResourceTemplateDescriptor, PromptArgsDefinition, McpPromptDescriptor } from '@sidecar-ai/core';
|
|
2
1
|
import { SourceFile } from 'ts-morph';
|
|
2
|
+
import { BuildHost, BuildTarget, JsonSchema, ToolAnnotations, ToolVisibility, ToolWidgetOptions, McpToolDescriptor, ResourceAnnotations, McpResourceDescriptor, McpResourceTemplateDescriptor, PromptArgsDefinition, McpPromptDescriptor } from '@sidecar-ai/core';
|
|
3
3
|
|
|
4
4
|
/** Diagnostic severity surfaced by the CLI and future editor integrations. */
|
|
5
5
|
type DiagnosticSeverity = "warning" | "error";
|
|
@@ -97,7 +97,6 @@ type SidecarCompilerConfig = {
|
|
|
97
97
|
host?: SidecarHost;
|
|
98
98
|
outDir?: string;
|
|
99
99
|
plugins?: boolean;
|
|
100
|
-
widgets?: WidgetBuildConfig;
|
|
101
100
|
};
|
|
102
101
|
resources: {
|
|
103
102
|
subscribe: boolean;
|
|
@@ -145,8 +144,6 @@ type ProjectIdentity = {
|
|
|
145
144
|
description: string;
|
|
146
145
|
};
|
|
147
146
|
|
|
148
|
-
/** Static analysis for reserved server tool files. */
|
|
149
|
-
|
|
150
147
|
type AuthScopeCatalog = Record<string, {
|
|
151
148
|
id: string;
|
|
152
149
|
description: string;
|
|
@@ -160,7 +157,6 @@ declare function analyzeToolFile(sourceFile: SourceFile, rootDir: string, option
|
|
|
160
157
|
target?: SidecarTarget;
|
|
161
158
|
variant?: SidecarSourceVariant;
|
|
162
159
|
authScopes?: AuthScopeCatalog;
|
|
163
|
-
inputSchema?: JsonSchema;
|
|
164
160
|
}): SidecarToolManifestEntry;
|
|
165
161
|
|
|
166
162
|
/** Builds the MCP output, generated types, and optional plugin packages. */
|