codeep 1.0.101 → 1.0.102

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/app.js +9 -0
  2. package/package.json +1 -1
package/dist/app.js CHANGED
@@ -94,6 +94,15 @@ export const App = () => {
94
94
  const [agentDryRun, setAgentDryRun] = useState(false);
95
95
  // Track LiveCodeStream height to render placeholder after agent finishes (prevents ghost content)
96
96
  const [lastStreamHeight, setLastStreamHeight] = useState(0);
97
+ // Clear placeholder height after agent finishes (let it overwrite ghost, then disappear)
98
+ useEffect(() => {
99
+ if (agentResult && lastStreamHeight > 0) {
100
+ const timer = setTimeout(() => {
101
+ setLastStreamHeight(0);
102
+ }, 100); // Short delay to allow one render cycle to overwrite ghost
103
+ return () => clearTimeout(timer);
104
+ }
105
+ }, [agentResult, lastStreamHeight]);
97
106
  // Load API keys for ALL providers on startup and check if current provider is configured
98
107
  useEffect(() => {
99
108
  loadAllApiKeys().then(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeep",
3
- "version": "1.0.101",
3
+ "version": "1.0.102",
4
4
  "description": "AI-powered coding assistant built for the terminal. Multiple LLM providers, project-aware context, and a seamless development workflow.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",