Fix unimplemented login route with # prefix

Fix IDE service routing and path normalization
Refactor IDE services and add session rotation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-22 15:59:42 +00:00
parent fe2ef1b35b
commit e678b987c2
39 changed files with 2028 additions and 522 deletions

View File

@@ -44,6 +44,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
Object.defineProperty(exports, "__esModule", { value: true });
exports.JqhtmlComponentIndex = void 0;
const vscode = __importStar(require("vscode"));
const path = __importStar(require("path"));
/**
* JQHTML Component Indexer
*
@@ -97,6 +98,11 @@ class JqhtmlComponentIndex {
const files = yield vscode.workspace.findFiles(new vscode.RelativePattern(folder, '**/*.jqhtml'), new vscode.RelativePattern(folder, '**/node_modules/**'));
allFiles.push(...files);
}
// Debug: Log all discovered files
console.log(`JQHTML: Found ${allFiles.length} .jqhtml files to index:`);
allFiles.forEach(uri => {
console.log(` - ${uri.fsPath}`);
});
// Index each file
const promises = allFiles.map(uri => this.indexFile(uri));
yield Promise.all(promises);
@@ -155,8 +161,8 @@ class JqhtmlComponentIndex {
position: new vscode.Position(lineNum, charPos),
line: line.trim()
});
// Debug: Log each component as it's indexed (commented out - too verbose)
// console.log(`JQHTML Index: Indexed "${componentName}" from ${path.basename(uri.fsPath)}:${lineNum + 1}`);
// Debug: Log each component as it's indexed
console.log(`JQHTML Index: Indexed "${componentName}" from ${path.basename(uri.fsPath)}:${lineNum + 1}`);
}
}
}