Skip to content

[Fix] oclite uses mock LiteApp instead of real App with SDK integration #141

Closed

Description

@randomm

Problem

oclite currently renders LiteApp which is a mock component that just echoes input.

Current behavior:

You: hello
Assistant: I received "hello"

This is NOT connected to the actual LLM backend.

Root Cause

index.tsx was changed to render LiteApp instead of the real App component:

import LiteApp from "./LiteApp"
render(<LiteApp />)

Fix

Change back to use the real App component:

import App from "./App"
render(<App />)

The real App.tsx has:

  • Session initialization
  • SDK event integration via useSDKEvents
  • Proper message handling

Files

  • packages/opencode/src/cli/ink/index.tsx - change LiteApp to App

Activity

  1. randomm commented on Feb 5, 2026

    @randomm
    OwnerAuthor

    ✅ Fixed in PR #140 - now uses real App with SDK integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions