chore: add pi cache dirs to .gitignore and mobile terminal styles
This commit is contained in:
@@ -49,3 +49,10 @@ apps/web/dist/
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
/.stoneforge/.worktrees/
|
||||
|
||||
# Pi / agent cache
|
||||
.pi/
|
||||
.atl/
|
||||
.sisyphus/
|
||||
.pi-lens/
|
||||
|
||||
|
||||
@@ -190,10 +190,16 @@ export const TerminalPage: React.FC = () => {
|
||||
|
||||
if (isMobile) {
|
||||
return (
|
||||
<section className={`terminal-page mobile ${isFullscreen ? "fullscreen" : ""}`}>
|
||||
<section
|
||||
className={`terminal-page mobile ${isFullscreen ? "fullscreen" : ""}`}
|
||||
>
|
||||
{!isFullscreen && (
|
||||
<div className="terminal-page-header mobile-header">
|
||||
<button className="secondary-button" onClick={() => navigate(-1)} type="button">
|
||||
<button
|
||||
className="secondary-button"
|
||||
onClick={() => navigate(-1)}
|
||||
type="button"
|
||||
>
|
||||
Back
|
||||
</button>
|
||||
<h1>Terminal</h1>
|
||||
@@ -245,9 +251,7 @@ export const TerminalPage: React.FC = () => {
|
||||
}
|
||||
|
||||
return (
|
||||
<section
|
||||
className={`terminal-page ${isFullscreen ? "fullscreen" : ""}`}
|
||||
>
|
||||
<section className={`terminal-page ${isFullscreen ? "fullscreen" : ""}`}>
|
||||
{!isFullscreen && (
|
||||
<div className="terminal-page-header">
|
||||
<button
|
||||
@@ -278,16 +282,13 @@ export const TerminalPage: React.FC = () => {
|
||||
isMobile={false}
|
||||
/>
|
||||
<div className="terminal-page-content">
|
||||
{error && (
|
||||
<div className="terminal-error-banner">{error}</div>
|
||||
)}
|
||||
{error && <div className="terminal-error-banner">{error}</div>}
|
||||
{sessions.map((session) => (
|
||||
<div
|
||||
key={session.id}
|
||||
className={`terminal-instance ${session.id === activeSessionId ? "active" : ""}`}
|
||||
style={{
|
||||
display:
|
||||
session.id === activeSessionId ? "flex" : "none",
|
||||
display: session.id === activeSessionId ? "flex" : "none",
|
||||
}}
|
||||
>
|
||||
<TerminalComponent
|
||||
|
||||
+2502
-2475
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user