Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
4 changes: 2 additions & 2 deletions packages/igniteui-mcp/igniteui-doc-mcp/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ npm run compress:blazor

| Parameter | Description | Default |
|-----------|-------------|---------|
| `--model <name>` | OpenAI model to use | `gpt-5.4-mini` |
| `--model <name>` | OpenAI model to use | `gpt-5.6-luna` |
| `--api-base <url>` | Custom OpenAI API base URL | OpenAI default |
| `--min-size <kb>` | Skip files smaller than this (KB) | `0` |
| `--delay <seconds>` | Delay between API calls | `0.5` |
Expand Down Expand Up @@ -328,7 +328,7 @@ npm run compress:react -- --batch poll # Step 2: poll, download & va
npm run compress:react -- --batch retry # Step 3: retry failed/invalid files (optional)

# Batch with filters
npm run compress:react -- --batch submit --only grid.md --model gpt-5.4-mini
npm run compress:react -- --batch submit --only grid.md --model gpt-5.6-luna

# Incremental mode (only compress changed files from diff manifest)
npm run compress:angular -- --manifest dist/diff-manifest.json
Expand Down
Binary file modified packages/igniteui-mcp/igniteui-doc-mcp/db/igniteui-docs.db
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ import { IgxExcelModule } from "igniteui-angular-excel";
export class AppModule {}
```
```typescript
import { Component, ComponentFactoryResolver, Injector, OnInit, ViewChild, ViewContainerRef } from "@angular/core";
import { Component, OnInit, ViewChild, ViewContainerRef } from "@angular/core";
import { CellReferenceMode } from "igniteui-angular-excel";
import { WorksheetMergedCellsRegion } from "igniteui-angular-excel";
import { FormattedString } from "igniteui-angular-excel";
Expand Down Expand Up @@ -70,7 +70,7 @@ export class AppComponent implements OnInit {
public selectedRegion: string;
public cellFeatures: string[];

constructor(private resolver: ComponentFactoryResolver, private injector: Injector) {
constructor() {
}

public ngOnInit() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import { IgxExcelModule } from "igniteui-angular-excel";
export class AppModule {}
```
```typescript
import { Component, ComponentFactoryResolver, Injector, OnInit, ViewChild, ViewContainerRef } from "@angular/core";
import { Component, OnInit, ViewChild, ViewContainerRef } from "@angular/core";
import { IgxGridComponent } from "igniteui-angular";
import { TextFormatMode } from "igniteui-angular-excel";
import { Workbook } from "igniteui-angular-excel";
Expand All @@ -68,7 +68,7 @@ export class AppComponent implements OnInit {
public worksheetTables: string[];
public selectedTable: string;

constructor(private resolver: ComponentFactoryResolver, private injector: Injector) {
constructor() {
}

public ngOnInit() {
Expand Down Expand Up @@ -260,8 +260,7 @@ export class AppComponent implements OnInit {
data.push(row);
}

const gridFactory = this.resolver.resolveComponentFactory(IgxGridComponent);
const gridRef = this.gridContainerRef.createComponent(gridFactory);
const gridRef = this.gridContainerRef.createComponent(IgxGridComponent);
gridRef.instance.autoGenerate = true;
gridRef.instance.data = data;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import { IgxExcelModule } from "igniteui-angular-excel";
export class AppModule {}
```
```typescript
import { Component, ComponentFactoryResolver, Injector, OnInit } from "@angular/core";
import { Component, OnInit } from "@angular/core";
import { Workbook } from "igniteui-angular-excel";
import { WorkbookFormat } from "igniteui-angular-excel";
import { ExcelUtility } from "./ExcelUtility";
Expand All @@ -55,7 +55,7 @@ export class AppComponent implements OnInit {
public worksheetTables: string[];
public selectedTable: string;

constructor(private resolver: ComponentFactoryResolver, private injector: Injector) {
constructor() {
}

public ngOnInit() {
Expand Down
12 changes: 10 additions & 2 deletions packages/igniteui-mcp/igniteui-doc-mcp/scripts/build-db.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,16 @@ function main() {
const backendDbPath = path.resolve("../docs-backend/docs-backend/igniteui-docs.db");
const backendDir = path.dirname(backendDbPath);
if (fs.existsSync(backendDir)) {
fs.copyFileSync(DB_PATH, backendDbPath);
console.log(`Copied DB to ${backendDbPath}`);
try {
fs.copyFileSync(DB_PATH, backendDbPath);
console.log(`Copied DB to ${backendDbPath}`);
} catch (err) {
const message = err instanceof Error ? err.message : String(err);
console.warn(
`Could not copy DB to ${backendDbPath}: ${message}\n` +
`The DB was built and saved successfully — this copy is optional.`
);
}
Comment thread
Copilot marked this conversation as resolved.
} else {
console.warn(`Backend dir not found (${backendDir}), skipping copy.`);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface BatchState {
function parseArgs(): CliArgs {
const args = process.argv.slice(2);
const opts: CliArgs = {
model: "gpt-5.4-mini",
model: "gpt-5.6-luna",
minSize: 0,
Comment thread
dkalinovInfra marked this conversation as resolved.
dryRun: false,
delay: 0.5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface BatchState {
function parseArgs(): CliArgs {
const args = process.argv.slice(2);
const opts: CliArgs = {
model: "gpt-5.4-mini",
model: "gpt-5.6-luna",
minSize: 0,
Comment thread
dkalinovInfra marked this conversation as resolved.
dryRun: false,
delay: 0.5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface BatchState {
function parseArgs(): CliArgs {
const args = process.argv.slice(2);
const opts: CliArgs = {
model: "gpt-5.4-mini",
model: "gpt-5.6-luna",
minSize: 0,
Comment thread
dkalinovInfra marked this conversation as resolved.
dryRun: false,
delay: 0.5,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface BatchState {
function parseArgs(): CliArgs {
const args = process.argv.slice(2);
const opts: CliArgs = {
model: "gpt-5.4-mini",
model: "gpt-5.6-luna",
minSize: 0,
Comment thread
dkalinovInfra marked this conversation as resolved.
dryRun: false,
delay: 0.5,
Expand Down