Skip to content

Commit 9d4c952

Browse files
committed
initial agentic ai executing cmd in panel
1 parent ce50ef0 commit 9d4c952

12 files changed

Lines changed: 412 additions & 192 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
.local/
33
build/*
44
.ti/
5+
.antigravity/

docs/DIAGRAM-SELECT-BLOCK.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
#### TERMINAL INTELLIGENCE CLI Diagram (Markdown Plain Ascii)
2+
3+
┌───────────────────────────────────────────────────────────────────────────────┐ | 01010100 1001001 TERMINAL INTELLIGENCE (TI) Build: 0017 │
4+
└───────────────────────────────────────────────────────────────────────────────┘
5+
┌───────────────────────────────────────┐ ┌─────────────────────────────────────┐
6+
│ Editor: <file name> │ │ ti> │
7+
└───────────────────────────────────────┘ └─────────────────────────────────────┘
8+
┌───────────────────────────────────────┐ ┌─────────────────────────────────────┐
9+
│ 1 | │ │ Select code block to view: │
10+
│ | │ | |
11+
│ | │ │ > Block 1: pip install psutil │
12+
│ | │ │ Block 2: Import psutil │
13+
│ | │ │ Block 3: mem = ..virtual_memory() │
14+
│ | │ │ │
15+
│ | │ │[↑↓] Navigate | [Enter] View | [Esc]
16+
│ | │ └─────────────────────────────────────┘
17+
│ | │
18+
│ | │
19+
│ | │
20+
│ | │
21+
│ | │
22+
│ | │
23+
│ | │
24+
│ | │
25+
│ | │
26+
│ | │
27+
│ | │
28+
│ | │
29+
│ | │
30+
│ | │
31+
│ | │
32+
│ | │
33+
└───────────────────────────────────────────────────────────────────────────────
34+
┌───────────────────────────────────────────────────────────────────────────────┐
35+
│ Ctrl+O: Open | Ctrl+N: New | Ctrl+S: Save | Tab: Switch Pane | Ctrl+Q: Quit |
36+
└───────────────────────────────────────────────────────────────────────────────┘

docs/DIAGRAM.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
#### MINICLICODER CLI Diagram (Markdown Plain Ascii)
1+
#### TERMINAL INTELLIGENCE CLI Diagram (Markdown Plain Ascii)
22

3-
┌───────────────────────────────────────────────────────────────────────────────┐
4-
│ 01000011 │
5-
│ MINICLICODER 01001100 │
6-
│ 01001001 │
3+
┌───────────────────────────────────────────────────────────────────────────────┐ | 01010100 1001001 TERMINAL INTELLIGENCE (TI) Build: 0017 │
74
└───────────────────────────────────────────────────────────────────────────────┘
85
┌───────────────────────────────────────┐ ┌─────────────────────────────────────┐
96
│ Editor: <file name> │ │ ti> │

docs/TERMINAL-OPEN.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
#### TERMINAL INTELLIGENCE CLI Diagram (Markdown Plain Ascii)
2+
3+
┌───────────────────────────────────────────────────────────────────────────────┐ | 01010100 1001001 TERMINAL INTELLIGENCE (TI) Build: 0017 │
4+
└───────────────────────────────────────────────────────────────────────────────┘
5+
┌───────────────────────────────────────┐ ┌─────────────────────────────────────┐
6+
│ Editor: <file name> │ │ ti> │
7+
└───────────────────────────────────────┘ └─────────────────────────────────────┘
8+
┌───────────────────────────────────────┐ ┌─────────────────────────────────────┐
9+
│ 001 | │ │ AI Responses │
10+
│ │ │ └─────────────────────────────────────┘
11+
│ │ │ │ pip install psutil │
12+
│ │ │ │ │
13+
│ │ │ │[0] Install, [1] Test, [2] Return │
14+
│ │ │ │ │
15+
│ │ │ └─────────────────────────────────────┘
16+
│ │ │ │ $ │
17+
│ │ │ │ │
18+
│ │ │ │ │
19+
│ │ │ │ │
20+
│ │ │ │ │
21+
│ │ │ │ │
22+
│ │ │ │ │
23+
│ │ │ │ │
24+
│ │ │ │ │
25+
│ │ │ │ │
26+
│ │ │ │ │
27+
│ │ │ │ │
28+
│ │ │ │ │
29+
│ │ │ │ │
30+
│ │ │ │ │
31+
└───────────────────────────────────────────────────────────────────────────────┘
32+
┌───────────────────────────────────────────────────────────────────────────────┐
33+
│ Ctrl+O: Open | Ctrl+N: New | Ctrl+S: Save | Tab: Switch Pane | Ctrl+Q: Quit |
34+
└───────────────────────────────────────────────────────────────────────────────┘

docs/USAGE.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ The right pane is now split horizontally:
9898
- When in the AI pane, press **Ctrl+Enter** to send your message WITH the current editor content as context
9999
- The AI will see your code and can help you with it
100100
101+
### 6. Interacting with AI Code Blocks
102+
103+
- When the AI generates a code block, you can interact with it directly.
104+
- Press **Ctrl+Y** to enter Code Block Selection Mode.
105+
- Use **Up/Down** arrows to navigate between generated code blocks.
106+
- Press **Enter** on the selected code block to view action options:
107+
- **[0] Execute CMD**: Execute the code block in an inline terminal. (Use **Up/Down** or **PgUp/PgDn** to scroll output)
108+
- **[1] / [Ctrl+P] Insert**: Insert the code block directly into the editor pane.
109+
- **[2] / [Esc] Return**: Return to the code block selection view.
110+
101111
## Keyboard Shortcuts
102112
103113
| Shortcut | Action |
@@ -107,8 +117,9 @@ The right pane is now split horizontally:
107117
| **Ctrl+S** | Save current file |
108118
| **Tab** | Cycle between Editor, AI Input, and AI Response |
109119
| **Ctrl+Enter** | Send AI message with code context |
120+
| **Ctrl+Y** | Enter AI Code Block Selection |
110121
| **Ctrl+Q** | Quit (will prompt if unsaved changes) |
111-
| **Esc** | Cancel dialogs |
122+
| **Esc** | Cancel dialogs / Return |
112123
113124
## Example Workflow
114125

0 commit comments

Comments
 (0)