@sidecar-ai/compiler 0.1.0-alpha.6 → 0.1.0-alpha.8

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