file_path stringlengths 3 280 | file_language stringclasses 66
values | content stringlengths 1 1.04M | repo_name stringlengths 5 92 | repo_stars int64 0 154k | repo_description stringlengths 0 402 | repo_primary_language stringclasses 108
values | developer_username stringlengths 1 25 | developer_name stringlengths 0 30 | developer_company stringlengths 0 82 |
|---|---|---|---|---|---|---|---|---|---|
src/memory/types.ts | TypeScript | /**
* Working Memory Types
*
* Types for the working memory store that allows Claude to remember
* facts, decisions, and context across conversation boundaries.
*/
/**
* A single item stored in working memory
*/
export interface WorkingMemoryItem {
id: string;
key: string;
value: string;
context?: strin... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/CodexConversationParser.ts | TypeScript | /**
* Codex Conversation Parser for MCP integration.
*
* This parser reads conversation history from Codex's storage location
* (~/.codex/sessions) and converts it to the same format as ConversationParser.
*
* Codex stores conversations in a date-hierarchical structure:
* ~/.codex/sessions/YYYY/MM/DD/rollout-{ti... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/ConversationParser.ts | TypeScript | /**
* Multi-pass JSONL Conversation Parser for Claude Code history.
*
* This parser reads conversation history from Claude Code's storage locations
* (~/.claude/projects) and extracts structured data including messages, tool uses,
* file edits, and thinking blocks.
*
* The parser handles two directory structures... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/DecisionExtractor.ts | TypeScript | /**
* Decision Extractor - Identifies and extracts decisions from conversations.
*
* This extractor analyzes conversation messages and thinking blocks to identify
* technical and architectural decisions made during development. It captures:
* - What decision was made
* - Why it was made (rationale)
* - What alte... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/ExtractionValidator.ts | TypeScript | /**
* Extraction Validator
* Validates extracted decisions and mistakes to reduce false positives
*/
/**
* Validation result
*/
export interface ValidationResult {
/** Whether the extraction is valid */
isValid: boolean;
/** Confidence score (0-1) */
confidence: number;
/** Reasons for the validation ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/GitIntegrator.ts | TypeScript | /**
* Git Integrator - Links git commits to conversations based on temporal and contextual analysis.
*
* This integrator connects git repository history with conversation history by:
* - Parsing git log to extract commits
* - Matching commits to conversations using multiple signals:
* - Temporal proximity (comm... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/MethodologyExtractor.ts | TypeScript | /**
* Methodology Extractor - Identifies problem-solving approaches from conversations.
*
* This extractor analyzes conversation history to identify how AI solved problems,
* capturing the methodology, steps taken, and tools used. It helps trace:
* - Problem statement / initial understanding
* - Approach taken (e... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/MistakeExtractor.ts | TypeScript | /**
* Mistake Extractor - Identifies errors and how they were corrected.
*
* This extractor analyzes conversation messages and tool results to identify
* mistakes made during development and how they were corrected. It helps prevent
* repeating the same errors by documenting:
* - What went wrong
* - How it was c... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/RequirementsExtractor.ts | TypeScript | /**
* Requirements and Validations Extractor - Tracks constraints, dependencies, and testing context.
*
* This extractor analyzes conversation messages and tool executions to identify:
* - Requirements (dependencies, performance, compatibility, business constraints)
* - Validations (test runs, results, and perform... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/ResearchExtractor.ts | TypeScript | /**
* Research Extractor - Identifies discoveries and findings from conversations.
*
* This extractor analyzes conversation history to identify research activities
* and their discoveries. It captures:
* - What was being researched
* - Discovery / finding
* - Source of the discovery (code, docs, web, experimenta... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/parsers/SolutionPatternExtractor.ts | TypeScript | /**
* Solution Pattern Extractor - Identifies reusable solution patterns from conversations.
*
* This extractor analyzes conversation history to identify successful solutions
* that can be reused for similar problems. It captures:
* - Problem type/category
* - Solution approach
* - Code pattern or technique used... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/realtime/ConversationWatcher.ts | TypeScript | /**
* Conversation Watcher
*
* Watches Claude conversation JSONL files for changes using chokidar.
* Triggers incremental parsing and extraction when files are modified.
*/
import { watch, type FSWatcher } from "chokidar";
import { join } from "path";
import { homedir } from "os";
import { EventEmitter } from "ev... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/realtime/IncrementalParser.ts | TypeScript | /**
* Incremental Parser
*
* Parses new lines from Claude conversation JSONL files as they are appended.
* Maintains file positions to only process new content.
*/
import { readFileSync, statSync, existsSync } from "fs";
/**
* Parsed message from a JSONL file
*/
export interface ParsedMessage {
type: "user" ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/realtime/LiveExtractor.ts | TypeScript | /**
* Live Extractor
*
* Extracts decisions, file operations, and errors from parsed messages
* in real-time and stores them in working memory.
*/
import type { Database } from "better-sqlite3";
import type { ParsedMessage } from "./IncrementalParser.js";
import type { RealtimeConfig } from "../memory/types.js";
... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/search/HybridReranker.ts | TypeScript | /**
* Hybrid Re-Ranker using Reciprocal Rank Fusion (RRF)
* Combines vector search results with FTS5 results for better ranking
*/
/**
* Configuration for hybrid re-ranking
*/
export interface RerankConfig {
/** RRF constant k - higher values reduce the impact of rank differences (default: 60) */
rrfK: number... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/search/QueryExpander.ts | TypeScript | /**
* Query Expander
* Expands search queries with domain-specific synonyms
*/
/**
* Configuration for query expansion
*/
export interface QueryExpansionConfig {
/** Whether query expansion is enabled */
enabled: boolean;
/** Maximum number of expanded queries to generate */
maxVariants: number;
/** C... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/search/ResultAggregator.ts | TypeScript | /**
* Result Aggregator
* Combines chunk search results back to message level
*/
import type { ChunkSearchResult } from "../embeddings/VectorStore.js";
/**
* Match info from a single chunk
*/
export interface ChunkMatch {
chunkId: string;
chunkIndex: number;
totalChunks: number;
content: string;
startO... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/search/SemanticSearch.ts | TypeScript | /**
* Semantic Search Interface
* Combines vector store and embedding generation for conversation search
*/
import type { SQLiteManager } from "../storage/SQLiteManager.js";
import { VectorStore } from "../embeddings/VectorStore.js";
import { getEmbeddingGenerator, EmbeddingGenerator } from "../embeddings/Embedding... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/search/SnippetGenerator.ts | TypeScript | /**
* Snippet Generator
* Generates context-aware snippets with query term highlighting
*/
/**
* Configuration for snippet generation
*/
export interface SnippetConfig {
/** Target snippet length in characters */
targetLength: number;
/** Context before match (characters) */
contextBefore: number;
/**... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/search/index.ts | TypeScript | /**
* Search Module
* Exports semantic search, re-ranking, aggregation, and snippet generation
*/
export { SemanticSearch } from "./SemanticSearch.js";
export type { SearchFilter, SearchResult, DecisionSearchResult, MistakeSearchResult } from "./SemanticSearch.js";
export { ResultAggregator, getResultAggregator } ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/storage/BackupManager.ts | TypeScript | /**
* BackupManager - Create and manage backups before deletion operations
* Exports affected data to JSON for potential restoration
*/
import { writeFileSync, mkdirSync, existsSync, chmodSync } from "fs";
import { join } from "path";
import { homedir } from "os";
import type Database from "better-sqlite3";
import ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/storage/ConversationStorage.ts | TypeScript | /**
* Conversation Storage Layer - CRUD operations for all conversation-related data.
*
* This class provides the data access layer for the cccmemory system.
* It handles storing and retrieving conversations, messages, tool uses, decisions,
* mistakes, requirements, and git commits.
*
* All store operations use ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/storage/DeletionService.ts | TypeScript | /**
* DeletionService - Handle selective deletion of conversations by topic/keyword
* Uses semantic + FTS5 search to find matching conversations
*/
import type Database from "better-sqlite3";
import { BackupManager, type BackupMetadata } from "./BackupManager.js";
import type { ConversationStorage } from "./Convers... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/storage/GlobalIndex.ts | TypeScript | /**
* Global Index for Cross-Project Search (Single DB)
*
* Stores project registry inside the main database.
*/
import { getSQLiteManager, SQLiteManager } from "./SQLiteManager.js";
import { getCanonicalProjectPath } from "../utils/worktree.js";
import { safeJsonParse } from "../utils/safeJson.js";
export interf... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/storage/SQLiteManager.ts | TypeScript | /**
* SQLite Manager with optimized settings for local indexing workloads
*/
import Database from "better-sqlite3";
import { readFileSync, mkdirSync, existsSync, openSync, closeSync, renameSync } from "fs";
import { join, dirname, basename, resolve } from "path";
import { homedir } from "os";
import { fileURLToPath ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/storage/migrations.ts | TypeScript | /**
* Database migration system
* Versioned schema updates for a single database
*/
import { SQLiteManager } from "./SQLiteManager.js";
import { createHash } from "crypto";
export interface Migration {
version: number;
description: string;
up: string; // SQL to apply migration
down?: string; // SQL to roll... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/storage/schema.sql | SQL | -- CCCMemory Database Schema
-- Single-DB layout (projects + sources + scoped entities)
-- Optimized for SQLite + sqlite-vec
-- ==================================================
-- PROJECT REGISTRY
-- ==================================================
CREATE TABLE IF NOT EXISTS projects (
id INTEGER PRIMARY KEY,
... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/tools/ToolDefinitions.ts | TypeScript | /**
* MCP Tool Definitions
*/
export const TOOLS = {
index_conversations: {
name: "index_conversations",
description: "Index conversation history for the current project. This parses conversation files, extracts decisions, mistakes, and links to git commits. Can index all sessions or a specific session.",
... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/tools/ToolHandlers.ts | TypeScript | /**
* MCP Tool Handlers - Implementation of all 22 tools for the cccmemory MCP server.
*
* This class provides the implementation for all MCP (Model Context Protocol) tools
* that allow Claude to interact with conversation history and memory.
*
* Tools are organized into categories:
* - Indexing: index_conversat... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/types/ToolTypes.ts | TypeScript | /**
* Type definitions for MCP Tool arguments and responses
* Replaces 'any' types with proper interfaces for type safety
*/
// ==================== Scope Type Helpers ====================
/**
* Standard scope type used across multiple tools
*/
export type Scope = 'current' | 'all' | 'global';
/**
* Helper typ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/utils/Logger.ts | TypeScript | /**
* Logging Abstraction
*
* Centralized logging with configurable levels and formatting.
* Replaces scattered console.log/warn/error calls throughout codebase.
*/
export enum LogLevel {
DEBUG = 0,
INFO = 1,
WARN = 2,
ERROR = 3,
SILENT = 4,
}
export interface LoggerConfig {
level: LogLevel;
prefix... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/utils/McpConfig.ts | TypeScript | /**
* MCP Configuration Management Utilities
* Handles reading, writing, and managing MCP server configuration in ~/.claude.json
*/
import { readFileSync, writeFileSync, existsSync, copyFileSync } from 'fs';
import { join } from 'path';
import { homedir } from 'os';
import { execSync } from 'child_process';
const ... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/utils/ProjectMigration.ts | TypeScript | /**
* Project Migration Utility
* Handles migration of conversation history when project directories are renamed
*/
import { existsSync, readdirSync, mkdirSync, copyFileSync } from "fs";
import { basename, dirname, join } from "path";
import { homedir } from "os";
import { getSQLiteManager, type SQLiteManager } fro... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/utils/constants.ts | TypeScript | /**
* Application Constants
*
* Centralized location for magic numbers and configuration values.
* Extracted from scattered literals throughout the codebase.
*/
// Database Configuration
export const DB_CONFIG = {
// Performance settings (from SQLiteManager)
CACHE_SIZE_KB: 64000, // 64MB cache
MMAP_SIZE: 30... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/utils/safeJson.ts | TypeScript | /**
* Safe JSON parsing utilities
*
* Provides crash-safe JSON parsing with fallback values.
* Use this instead of raw JSON.parse() when parsing data from:
* - Database rows (may be corrupted)
* - User input
* - External sources
*/
/**
* Safely parse JSON with a fallback value on error.
*
* Unlike JSON.pars... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/utils/sanitization.ts | TypeScript | /**
* Input sanitization utilities for SQL LIKE queries and path validation
*/
import { normalize, sep } from 'path';
/**
* Sanitize string for use in SQL LIKE patterns
* Escapes special LIKE characters: %, _, "
*/
export function sanitizeForLike(input: string): string {
return input.replace(/[%_"\\]/g, '\\$&'... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/utils/worktree.ts | TypeScript | import { execFileSync } from "child_process";
import { basename, dirname, isAbsolute, resolve } from "path";
import { realpathSync } from "fs";
export interface WorktreeInfo {
canonicalPath: string;
worktreePaths: string[];
isGitRepo: boolean;
commonDir?: string;
}
function normalizePath(inputPath: string): s... | xiaolai/cccmemory | 21 | MCP server for indexing and searching Claude Code conversation history with decision tracking and git integration | TypeScript | xiaolai | xiaolai | inblockchain |
src/cjk_text_formatter/__init__.py | Python | """CJK Text Formatter - A CLI tool for polishing text with CJK (Chinese, Japanese, Korean) typography rules."""
__version__ = "1.1.1"
| xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
src/cjk_text_formatter/cli.py | Python | """Command-line interface for cjk-text-formatter."""
from __future__ import annotations
import sys
from pathlib import Path
import click
from . import __version__
from .config import load_config, validate_config as validate_config_file, DEFAULT_RULES, RULE_DESCRIPTIONS
from .polish import polish_text, polish_text_v... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
src/cjk_text_formatter/config.py | Python | """Configuration loading and management for text-formater."""
from __future__ import annotations
import re
import sys
from dataclasses import dataclass, field
from pathlib import Path
from typing import Any
# Try to import tomllib (Python 3.11+)
try:
import tomllib
TOMLLIB_AVAILABLE = True
except ImportError... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
src/cjk_text_formatter/polish.py | Python | """Text polishing functions for Chinese typography."""
from __future__ import annotations
import re
from dataclasses import dataclass, field
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from .config import RuleConfig
# Regular expressions
CHINESE_RE = re.compile(r"[\u4e00-\u9fff]")
HANGUL_RE = re.compile(... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
src/cjk_text_formatter/processors.py | Python | """File processors for different file types."""
from __future__ import annotations
import os
import re
from pathlib import Path
from typing import List
from .config import RuleConfig
from .polish import polish_text, EXCESSIVE_NEWLINE_PATTERN
def validate_safe_path(file_path: Path, base_dir: Path | None = None) -> ... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
tests/__init__.py | Python | """Tests for text-formater."""
| xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
tests/test_config.py | Python | """Tests for configuration loading and parsing."""
from __future__ import annotations
import json
import tempfile
from pathlib import Path
from unittest.mock import patch
import pytest
# These imports will fail initially (TDD - RED phase)
from cjk_text_formatter.config import load_config, RuleConfig
class TestCon... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
tests/test_config_validation.py | Python | """Tests for config validation functionality."""
from __future__ import annotations
import sys
from pathlib import Path
import pytest
from cjk_text_formatter.config import ValidationResult, validate_config
class TestValidConfigValidation:
"""Test validation of valid configuration files."""
def test_valid... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
tests/test_polish.py | Python | """Tests for text polishing functions."""
import pytest
from cjk_text_formatter.polish import (
polish_text,
contains_cjk,
_replace_dash,
_fix_emdash_spacing,
_fix_quotes,
_fix_single_quotes,
_space_between,
_normalize_ellipsis,
)
class TestContainsCJK:
"""Test CJK text detection ... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
tests/test_polish_with_config.py | Python | """Tests for polish functions with configuration."""
from __future__ import annotations
import pytest
from cjk_text_formatter.config import RuleConfig
from cjk_text_formatter.polish import polish_text, polish_text_verbose
class TestPolishWithDisabledRules:
"""Test that disabled rules are not applied."""
d... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
tests/test_processors.py | Python | """Tests for file processors."""
import pytest
from pathlib import Path
from cjk_text_formatter.processors import (
TextProcessor,
MarkdownProcessor,
HTMLProcessor,
process_file,
find_files,
)
class TestTextProcessor:
"""Test plain text file processing."""
def test_process_simple_text(se... | xiaolai/cjk-text-formatter | 3 | A Python CLI tool for polishing text with Chinese typography rules | Python | xiaolai | xiaolai | inblockchain |
src/extension.ts | TypeScript | /**
* CJK Text Formatter - VS Code Extension
* Main extension entry point
*/
import * as vscode from 'vscode';
import { formatText, RuleConfig } from './formatter';
import { countWords, formatWordCount } from './wordCounter';
let statusBarItem: vscode.StatusBarItem;
let wordCountStatusBarItem: vscode.StatusBarItem... | xiaolai/cjk-text-formatter-vscode | 4 | VS Code extension for formatting CJK (Chinese, Japanese, Korean) and English mixed text with proper typography rules | TypeScript | xiaolai | xiaolai | inblockchain |
src/formatter.ts | TypeScript | /**
* CJK Text Formatter - Core formatting logic
* Ported from Python cjk-text-formatter project
*/
// CJK character ranges
const HAN = '\\u4e00-\\u9fff'; // Chinese characters + Japanese Kanji
const HIRAGANA = '\\u3040-\\u309f'; // Japanese Hiragana
const KATAKANA = '\\u30a0-\\u30ff'; ... | xiaolai/cjk-text-formatter-vscode | 4 | VS Code extension for formatting CJK (Chinese, Japanese, Korean) and English mixed text with proper typography rules | TypeScript | xiaolai | xiaolai | inblockchain |
src/wordCounter.ts | TypeScript | /**
* Word Counter for Markdown Files
* Counts words in CJK/English mixed text, excluding markdown formatting
*/
// CJK character ranges (reused from formatter.ts)
const HAN = '\\u4e00-\\u9fff'; // Chinese characters + Japanese Kanji
const HIRAGANA = '\\u3040-\\u309f'; // Japanese Hiragana
cons... | xiaolai/cjk-text-formatter-vscode | 4 | VS Code extension for formatting CJK (Chinese, Japanese, Korean) and English mixed text with proper typography rules | TypeScript | xiaolai | xiaolai | inblockchain |
install.sh | Shell | #!/bin/bash
# Claude Genie Installation Script
# Copies agents and commands folders to $HOME/.claude/
set -e # Exit on any error
# Colors for output
RED='\033[0;31m'
GREEN='\033[0;32m'
YELLOW='\033[1;33m'
NC='\033[0m' # No Color
# Function to print colored messages
print_success() {
echo -e "${GREEN}✓${NC} $1"... | xiaolai/claude-genie | 20 | Claude Code Development Environment with Specialized Assistants | Shell | xiaolai | xiaolai | inblockchain |
scripts/codex-preflight.sh | Shell | #!/usr/bin/env bash
# codex-preflight.sh — Discover available Codex models by probing in parallel.
#
# Usage: bash scripts/codex-preflight.sh
# Output: JSON to stdout (human summary to stderr)
#
# Caching: Results are cached for 5 minutes in $TMPDIR/codex-preflight-cache.json.
# Set CODEX_PREFLIGHT_NO_CACHE=... | xiaolai/codex-toolkit-for-claude | 4 | OpenAI Codex MCP integration for Claude Code — audit, implement, verify, and debug via Codex | Shell | xiaolai | xiaolai | inblockchain |
background/service-worker.js | JavaScript | import { notifyMessage } from '../modules/messaging.js';
import {
saveConversation,
findConversationByConversationId
} from '../modules/history-manager.js';
import { t, initializeLanguage } from '../modules/i18n.js';
// T008 & T065: Install event - setup context menus and configure side panel
const DEFAULT_SHORTCU... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/button-finder-utils.js | JavaScript | /**
* Button Finder Utility for Content Scripts
* Provides multi-language, priority-based button finding with fallback strategies
*
* NOTE: This file must be loaded BEFORE any enter-behavior-*.js files in manifest.json
* It exports functions to window.ButtonFinderUtils
*/
(function() {
'use strict';
// Crea... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/chatgpt-history-extractor.js | JavaScript | // ChatGPT Conversation History Extractor
// Extracts current conversation from ChatGPT.com DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js to be loaded first
(function() {
'use strict';
console.log('[ChatGPT Extractor] Script loaded');
// Import shared utilities from globa... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/chatgpt-save-button.css | CSS | /* Save conversation button for ChatGPT pages */
/* Button styling is handled by ChatGPT's native classes */
#insidebar-save-conversation:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Notification styles */
.insidebar-notification {
position: fixed;
top: 24px;
right: 24px;
z-index: 10000;
padding:... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/claude-history-extractor.js | JavaScript | // Claude Conversation History Extractor
// Extracts current conversation from Claude.ai DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js to be loaded first
(function() {
'use strict';
console.log('[Claude Extractor] Script loaded');
// Import shared utilities from global na... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/claude-save-button.css | CSS | /* Claude Save Button Styles */
#insidebar-save-conversation {
/* Button matches Claude's style */
font-family: inherit;
cursor: pointer;
user-select: none;
}
#insidebar-save-conversation:disabled {
opacity: 0.5;
cursor: not-allowed;
}
#insidebar-save-conversation:hover:not(:disabled) {
transform: scal... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/conversation-extractor-utils.js | JavaScript | // Shared Utilities for Conversation Extractors
// Common functions used across all AI provider history extractors
// This module eliminates duplication across ChatGPT, Claude, Gemini, Grok, DeepSeek, and Perplexity extractors
//
// NOTE: This file must be loaded BEFORE any *-history-extractor.js files in manifest.json... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/copilot-history-extractor.js | JavaScript | // Microsoft Copilot Conversation History Extractor
// Extracts current conversation from copilot.microsoft.com and bing.com/chat DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js to be loaded first
(function() {
'use strict';
// Import shared utilities from global namespace
c... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/copilot-save-button.css | CSS | /* Save conversation button for Microsoft Copilot pages */
/* Button styling is handled by Copilot's native Tailwind utility classes */
#insidebar-save-conversation:disabled {
opacity: 0.5;
cursor: not-allowed;
}
/* Ensure safe-hover works correctly */
@media (hover: hover) {
#insidebar-save-conversation.safe-h... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/deepseek-history-extractor.js | JavaScript | // DeepSeek Conversation History Extractor
// Extracts current conversation from DeepSeek DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js and language-detector.js to be loaded first
(function() {
'use strict';
// Import shared utilities from global namespace
const {
extr... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/deepseek-save-button.css | CSS | /* DeepSeek Save Button Styles */
#insidebar-save-conversation {
/* Button matches DeepSeek's icon button style */
font-family: inherit;
cursor: pointer;
user-select: none;
}
#insidebar-save-conversation[aria-disabled="true"] {
opacity: 0.6;
cursor: not-allowed;
}
/* Match DeepSeek's hover effect */
#ins... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-chatgpt.js | JavaScript | // ChatGPT Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
return new KeyboardEvent("keydown", {
key: "Enter",
code: "Enter",
keyCode: 13,
whic... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-claude.js | JavaScript | // Claude Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
const event = new KeyboardEvent('keydown', {
key: 'Enter',
code: 'Enter',
keyCode: 13,
... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-copilot.js | JavaScript | // Microsoft Copilot Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
return new KeyboardEvent("keydown", {
key: "Enter",
code: "Enter",
keyCode: 13... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-deepseek.js | JavaScript | // DeepSeek Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
return new KeyboardEvent("keydown", {
key: "Enter",
code: "Enter",
keyCode: 13,
whi... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-gemini.js | JavaScript | // Gemini Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
return new KeyboardEvent("keydown", {
key: "Enter",
code: "Enter",
keyCode: 13,
which... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-google.js | JavaScript | // Google AI Mode Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
return new KeyboardEvent("keydown", {
key: "Enter",
code: "Enter",
keyCode: 13,
... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-grok.js | JavaScript | // Grok Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
return new KeyboardEvent("keydown", {
key: "Enter",
code: "Enter",
keyCode: 13,
which: ... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-perplexity.js | JavaScript | // Perplexity Enter/Shift+Enter behavior swap
// Supports customizable key combinations via settings
// Helper: Create a synthetic Enter KeyboardEvent with specified modifiers
function createEnterEvent(modifiers = {}) {
return new KeyboardEvent("keydown", {
key: "Enter",
code: "Enter",
keyCode: 13,
w... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/enter-behavior-utils.js | JavaScript | // Shared utilities for Enter key behavior modification
// Supports customizable key combinations for newline and send actions
let enterKeyConfig = null;
function enableEnterSwap() {
window.addEventListener("keydown", handleEnterSwap, { capture: true });
}
function disableEnterSwap() {
window.removeEventListener... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/focus-toggle.js | JavaScript | // Focus toggle content script
// Handles focus switching between sidebar and main page input
/**
* Find the AI provider's input element
* Returns the main input field for the current AI platform
*/
function findProviderInput() {
const host = window.location.hostname;
// ChatGPT
if (host.includes('chatgpt.co... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/gemini-history-extractor.js | JavaScript | // Gemini Conversation History Extractor
// Extracts current conversation from Gemini DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js to be loaded first
(function() {
'use strict';
console.log('[Gemini Extractor] Script loaded');
// Import shared utilities from global names... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/gemini-save-button.css | CSS | /* Gemini Save Button Styles */
[data-test-id="insidebar-save-container"] {
/* Match referral container spacing */
display: flex;
align-items: center;
}
#insidebar-save-conversation {
/* Button matches Gemini's referral button style */
font-family: inherit;
cursor: pointer;
user-select: none;
}
#inside... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/google-history-extractor.js | JavaScript | // Google AI Mode Conversation History Extractor
// Extracts current conversation from Google AI Mode DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js to be loaded first
(function() {
'use strict';
console.log('[Google Extractor] Script loaded');
// Import shared utilities f... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/google-save-button.css | CSS | /* Google AI Mode Save Button Styles */
[data-test-id="insidebar-google-save-container"] {
/* Match OEwhSe container spacing */
display: inline-flex;
align-items: center;
margin-left: 8px;
}
#insidebar-google-save-conversation {
/* Button matches Google AI Mode button style */
font-family: inherit;
curs... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/grok-history-extractor.js | JavaScript | // Grok Conversation History Extractor
// Extracts current conversation from Grok DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js and language-detector.js to be loaded first
(function() {
'use strict';
console.log('[Grok Extractor] Script loaded');
// Import shared utilitie... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/grok-save-button.css | CSS | /* Grok Save Button Styles */
#insidebar-save-conversation {
/* Button matches Grok's style */
font-family: inherit;
cursor: pointer;
user-select: none;
}
#insidebar-save-conversation:disabled {
opacity: 0.6;
cursor: not-allowed;
}
/* Notification animations */
@keyframes slideIn {
from {
transform... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/language-detector.js | JavaScript | /**
* Language Detector for Content Scripts
* Detects provider's UI language and provides matching text for our Save buttons
*
* NOTE: This file must be loaded BEFORE any *-history-extractor.js files in manifest.json
* It exports functions to window.LanguageDetector
*/
(function() {
'use strict';
// Create ... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/page-content-extractor.js | JavaScript | // Page Content Extractor
// Extracts clean page content using Mozilla Readability.js
// Used when context menu is invoked without text selection
//
// This content script runs on all pages and listens for extraction requests
// from the service worker (context menu handler)
(function() {
'use strict';
/**
* E... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/perplexity-history-extractor.js | JavaScript | // Perplexity Conversation History Extractor
// Extracts current conversation from Perplexity DOM and saves to extension
//
// IMPORTANT: Requires conversation-extractor-utils.js to be loaded first
(function() {
'use strict';
console.log('[Perplexity Extractor] Script loaded');
// Import shared utilities from ... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/perplexity-save-button.css | CSS | /* Perplexity Save Button Styles */
#insidebar-save-conversation {
/* Button matches Perplexity's style */
font-family: inherit;
cursor: pointer;
user-select: none;
}
#insidebar-save-conversation:disabled {
opacity: 0.6;
cursor: not-allowed;
}
/* Notification animations */
@keyframes slideIn {
from {
... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/text-injection-all-providers.js | JavaScript | // Text injection handler for all AI providers
// Self-contained script without module imports (for iframe compatibility)
(function() {
'use strict';
// Provider-specific selectors
const PROVIDER_SELECTORS = {
chatgpt: ['#prompt-textarea'],
claude: [
'.ProseMirror[role="textbox"]',
'.ProseMi... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/text-injection-chatgpt.js | JavaScript | // Text injection handler for ChatGPT
import { setupTextInjectionListener } from './text-injection-handler.js';
// ChatGPT uses #prompt-textarea
setupTextInjectionListener('#prompt-textarea', 'ChatGPT');
| xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/text-injection-claude.js | JavaScript | // Text injection handler for Claude
import { setupTextInjectionListener } from './text-injection-handler.js';
// Claude uses .ProseMirror contenteditable with role="textbox"
setupTextInjectionListener('.ProseMirror[role="textbox"]', 'Claude');
| xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/text-injection-deepseek.js | JavaScript | // Text injection handler for DeepSeek
import { setupTextInjectionListener } from './text-injection-handler.js';
// DeepSeek uses textarea with .ds-scroll-area class
setupTextInjectionListener('textarea.ds-scroll-area', 'DeepSeek');
| xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/text-injection-gemini.js | JavaScript | // Text injection handler for Gemini
import { setupTextInjectionListener } from './text-injection-handler.js';
// Gemini uses Quill editor with .ql-editor class
setupTextInjectionListener('.ql-editor', 'Gemini');
| xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/text-injection-grok.js | JavaScript | // Text injection handler for Grok
import { setupTextInjectionListener } from './text-injection-handler.js';
// Grok can use textarea, .tiptap, or .ProseMirror
setupTextInjectionListener(['textarea', '.tiptap', '.ProseMirror'], 'Grok');
| xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
content-scripts/text-injection-handler.js | JavaScript | // Common text injection handler for all AI providers
// Listens for postMessage from sidebar and injects text using the provided selector(s)
import { findTextInputElement, injectTextIntoElement } from '../modules/text-injector.js';
/**
* Create a text injection handler for a specific provider
* @param {string|stri... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
data/prompt-libraries/transform-libraries.js | JavaScript | // Transform raw JSON libraries to unified schema for import
// Run with: node transform-libraries.js
import fs from 'fs';
import path from 'path';
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
// Helper to generate title from temp... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
libs/Readability.js | JavaScript | /*
* Copyright (c) 2010 Arc90 Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
modules/history-manager.js | JavaScript | // Chat History Manager with IndexedDB operations
// Handles CRUD operations for saved conversations
import { initPromptDB } from './prompt-manager.js';
const DB_NAME = 'SmarterPanelDB';
const CONVERSATIONS_STORE = 'conversations';
// Validation constants
const MAX_TITLE_LENGTH = 200;
const MAX_CONTENT_LENGTH = 1000... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
modules/html-utils.js | JavaScript | /**
* HTML utility functions for safe template rendering
*/
/**
* Escapes HTML special characters to prevent XSS
* @param {string} text - Text to escape
* @returns {string} - Escaped HTML-safe text
*/
export function escapeHtml(text) {
if (text === null || text === undefined) {
return '';
}
const div ... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
modules/i18n.js | JavaScript | // T074: Internationalization (i18n) utility module
// Provides helper functions for Chrome i18n API
// Translation cache for custom language override
let translationCache = null;
let currentLocale = null;
/**
* Load translations from a specific locale
* @param {string} locale - Locale code (e.g., 'en', 'zh_CN', 'z... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
modules/messaging.js | JavaScript | const DEFAULT_MESSAGE_TIMEOUT_MS = 2000;
export function sendMessageWithTimeout(message, options = {}) {
const { timeout = DEFAULT_MESSAGE_TIMEOUT_MS, expectResponse = true } = options;
return new Promise((resolve, reject) => {
let completed = false;
const timer = expectResponse
? setTimeout(() => ... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
modules/prompt-manager.js | JavaScript | // T028: Prompt Manager with IndexedDB operations
// Handles CRUD operations for prompts in the Prompt Library
const DB_NAME = 'SmarterPanelDB';
const DB_VERSION = 4; // Upgraded to add modifiedAt field for conversations
const PROMPTS_STORE = 'prompts';
const CONVERSATIONS_STORE = 'conversations';
// T069: Input val... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
modules/providers.js | JavaScript | export const PROVIDERS = [
{
id: 'chatgpt',
name: 'ChatGPT',
url: 'https://chatgpt.com',
icon: '/icons/providers/chatgpt.png',
iconDark: '/icons/providers/dark/chatgpt.png',
enabled: true
},
{
id: 'claude',
name: 'Claude',
url: 'https://claude.ai',
icon: '/icons/providers/c... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
modules/settings.js | JavaScript | const DEFAULT_SETTINGS = {
enabledProviders: ['chatgpt', 'claude', 'gemini', 'grok', 'deepseek'],
defaultProvider: 'chatgpt',
lastSelectedProvider: 'chatgpt',
rememberLastProvider: true, // When true, sidebar opens last selected provider; when false, always opens default provider
theme: 'auto',
keyboardSho... | xiaolai/insidebar-ai | 216 | A browser extension for Chrome/Edge | JavaScript | xiaolai | xiaolai | inblockchain |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.