@ekkos/cli 1.3.8 → 1.3.9
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.
- package/dist/commands/gemini.js +11 -10
- package/dist/commands/run.d.ts +5 -0
- package/dist/commands/run.js +430 -21
- package/dist/index.js +81 -36
- package/dist/utils/proxy-url.d.ts +6 -1
- package/dist/utils/proxy-url.js +16 -2
- package/package.json +22 -11
- package/templates/agents/prune.md +83 -0
- package/templates/agents/rewind.md +84 -0
- package/templates/agents/scout.md +102 -0
- package/templates/agents/trace.md +99 -0
- package/templates/commands/continue.md +47 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# /continue
|
|
2
|
+
|
|
3
|
+
Restore your last 5 turns after running `/clear`.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/clear # First: free up context
|
|
9
|
+
/continue # Then: restore last 5 turns
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## What Happens
|
|
13
|
+
|
|
14
|
+
1. Hook detects `/continue`
|
|
15
|
+
2. Fetches last 5 turns from ekkOS API
|
|
16
|
+
3. Injects them as context
|
|
17
|
+
4. Claude continues seamlessly
|
|
18
|
+
|
|
19
|
+
## Why This Exists
|
|
20
|
+
|
|
21
|
+
When context gets full (90%+), you need to `/clear` but don't want to lose your work. This command restores just enough context (5 turns) to continue working without re-explaining everything.
|
|
22
|
+
|
|
23
|
+
## The Flow
|
|
24
|
+
|
|
25
|
+
```
|
|
26
|
+
Work normally until context ~90%
|
|
27
|
+
↓
|
|
28
|
+
Run: /clear (frees context)
|
|
29
|
+
↓
|
|
30
|
+
Run: /continue (restores 5 turns)
|
|
31
|
+
↓
|
|
32
|
+
Keep working
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Example
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
[Context at 92%]
|
|
39
|
+
|
|
40
|
+
You: /clear
|
|
41
|
+
Claude: Context cleared.
|
|
42
|
+
|
|
43
|
+
You: /continue
|
|
44
|
+
Hook: ✓ Session continued (5 turns restored)
|
|
45
|
+
|
|
46
|
+
Claude: ✓ **Continuing** - We were working on the /continue command...
|
|
47
|
+
```
|