Conversation
…on logic for ChatGPT provider
… and tool definitions
…irectories and binary file detection
- Changed extension name from "freecode" to "freecode-chat" in package.json. - Updated activation events and view container structure for better organization. - Enhanced build scripts to include webview bundling with esbuild. - Refactored ChatView to read HTML from a file and replace script URLs with webview URIs. - Introduced ipc-stub.ts for browser compatibility in the webview. - Created index.html for the webview with a root div and script inclusion. - Added main.tsx to initialize the React app in the webview. - Updated tsconfig.json to use CommonJS module format. - Added launch.json for extension debugging configuration. - Created package-lock.json to lock dependencies.
…nd system structure
…k.yaml with esbuild 0.28.0 - Introduced a new architecture specification document for FreeCode detailing its thin-client architecture, key design principles, package structure, IPC protocol, and key design decisions. - Updated pnpm-lock.yaml to include esbuild version 0.28.0 and its associated platform-specific packages.
Add comprehensive architecture specification documenting the thin-client model (TUI/VSCode as pure UI shells, CLI as the single source of intelligence) and a phased migration plan with detailed step-by-step instructions. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add @freecode/shared package containing all core domain types (Message, MessagePart, ToolResult, ToolDef, FileChange, etc.) and IPC protocol definitions (JsonRpcRequest/Response, StreamResponse, METHODS signatures). Types are used by CLI, TUI, and VSCode to ensure type consistency across the thin-client architecture. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Move all business logic from TUI into CLI, establishing CLI as the single source of intelligence. CLI now includes: - Browser controller (Playwright + CDP) with ChatGPT provider adapter - Context collector with file tree strategy - Parser with structured, markdown, and JSON extractors - File applier for writing changes to disk - Agent loop orchestrating context → prompt → parse → apply TUI and VSCode will be refactored to thin clients communicating with CLI via JSON-RPC. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
TUI now spawns CLI and communicates via JSON-RPC. Removed all business logic: - Deleted lib/browser, lib/parser, lib/context (moved to CLI) - Deleted executor.ts, file-applier.ts, provider-mgr.ts (logic now in CLI) - Refactored commands/freecode to use IPC client - Updated IPC client to use @freecode/shared types - Removed playwright dependency (now only in CLI) Server updated to handle session.start/send/stop and providers.list. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
VSCode extension now imports types from @freecode/shared package instead of duplicating them locally. Updated IPC client to use shared types and added session management methods (session.start/stop, listProviders). All business logic delegated to CLI via IPC. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds ArchitectureDiagram, BoundaryDiagram, FlowDiagram, and FreeCodeInternalDiagram for visualizing system architecture. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Adds TabNavigation and ArchitectureExplorer for the internal architecture page. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
ayan-de added a commit
that referenced
this pull request
Sep 5, 2026
All six P1 items are closed. Each entry says what was wrong, what was built, and — where it matters more — what was deliberately not built: no shared settings loader (the three-merge-rules gap stays open and is not what made a typo invisible), no wire type for the raw config, no validation stricter than the handler it guards. Step 5 of the path to 1.0 is now the eval gate. P1 #2 and #3 both change what the model sees after a compaction, so that run is the measurement, not a formality.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.