pi-loop-mode 2.5.0 → 2.5.1
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/CHANGELOG.md +6 -0
- package/DOCUMENTATION.md +2 -0
- package/GALLERY.md +34 -0
- package/README.md +2 -0
- package/assets/pi-loop-mode-demo.mp4 +0 -0
- package/assets/pi-loop-mode-preview.png +0 -0
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.5.1
|
|
4
|
+
|
|
5
|
+
- Add pi.dev gallery metadata (`pi.video` and `pi.image`) using public unpkg URLs.
|
|
6
|
+
- Add gallery assets: `assets/pi-loop-mode-demo.mp4` and `assets/pi-loop-mode-preview.png`.
|
|
7
|
+
- Add `GALLERY.md` documenting how the gallery assets are served and updated.
|
|
8
|
+
|
|
3
9
|
## 2.5.0
|
|
4
10
|
|
|
5
11
|
- **Rescue model** (`--rescue-model M`): after 3 consecutive stuck interventions, a stronger model takes over for a single cleanup turn (fix one thing, rewrite `PROGRESS.md`, update the `IMPROVEMENTS.md` backlog, leave a `NEXT:` line), then control returns to the loop model.
|
package/DOCUMENTATION.md
CHANGED
|
@@ -43,7 +43,9 @@ pi-loop-mode/
|
|
|
43
43
|
├── README.md # Übersicht (englisch)
|
|
44
44
|
├── DOCUMENTATION.md # Diese Datei
|
|
45
45
|
├── CHANGELOG.md # Versionshistorie
|
|
46
|
+
├── GALLERY.md # Hinweise zu pi.dev-Gallery-Assets
|
|
46
47
|
├── LICENSE # MIT
|
|
48
|
+
├── assets/ # pi.dev-Vorschauvideo + Posterbild
|
|
47
49
|
├── extensions/index.ts # Die Loop-Extension (gesamte Logik)
|
|
48
50
|
├── skills/loop-skill/SKILL.md # Verhaltensregeln für das Modell im Loop
|
|
49
51
|
└── prompts/loop-prompt.md # Prompt-Template
|
package/GALLERY.md
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# pi.dev Gallery Assets
|
|
2
|
+
|
|
3
|
+
This package includes static gallery assets for https://pi.dev/packages:
|
|
4
|
+
|
|
5
|
+
- `assets/pi-loop-mode-demo.mp4` — 8 second MP4 preview video (1280×720, H.264/yuv420p, faststart)
|
|
6
|
+
- `assets/pi-loop-mode-preview.png` — fallback poster image (1280×720 PNG)
|
|
7
|
+
|
|
8
|
+
The `package.json` `pi` manifest references the assets through unpkg URLs:
|
|
9
|
+
|
|
10
|
+
```json
|
|
11
|
+
"pi": {
|
|
12
|
+
"extensions": ["extensions"],
|
|
13
|
+
"skills": ["skills"],
|
|
14
|
+
"prompts": ["prompts"],
|
|
15
|
+
"video": "https://unpkg.com/pi-loop-mode@2.5.1/assets/pi-loop-mode-demo.mp4",
|
|
16
|
+
"image": "https://unpkg.com/pi-loop-mode@2.5.1/assets/pi-loop-mode-preview.png"
|
|
17
|
+
}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Why unpkg? pi.dev requires public `video`/`image` URLs. Because the assets are shipped inside the npm tarball, unpkg can serve them without separate hosting.
|
|
21
|
+
|
|
22
|
+
## Updating assets
|
|
23
|
+
|
|
24
|
+
1. Replace the files in `assets/`.
|
|
25
|
+
2. Bump the package version in `package.json`.
|
|
26
|
+
3. Update the unpkg URLs in `package.json` to the same version.
|
|
27
|
+
4. Run:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm pack --dry-run
|
|
31
|
+
npm publish
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The pi.dev package gallery indexes npm packages tagged with the `pi-package` keyword automatically. No manual submit step is required.
|
package/README.md
CHANGED
|
@@ -137,7 +137,9 @@ pi-loop-mode/
|
|
|
137
137
|
├── README.md # This file
|
|
138
138
|
├── DOCUMENTATION.md # Full documentation with examples (German)
|
|
139
139
|
├── CHANGELOG.md
|
|
140
|
+
├── GALLERY.md # pi.dev gallery asset notes
|
|
140
141
|
├── LICENSE # MIT
|
|
142
|
+
├── assets/ # pi.dev preview video + poster image
|
|
141
143
|
├── extensions/index.ts # The loop extension (all logic)
|
|
142
144
|
├── skills/loop-skill/SKILL.md # Behavior rules for the model in loop mode
|
|
143
145
|
└── prompts/loop-prompt.md # Prompt template
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-loop-mode",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Unattended loop mode for pi — separate goal/prepare/run phases with per-phase model selection, endless by default, objective goal function (--check) with score/regression tracking, error retry with backoff, layered anti-repetition defenses (near-duplicate and degenerate-generation detection, mid-stream abort, context sanitizing, sampling penalties, rescue model, auto-compaction), backlog-driven improvement mode, per-iteration JSONL stats, auto-resume, and persistence.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pi-package",
|
|
@@ -18,9 +18,11 @@
|
|
|
18
18
|
"extensions",
|
|
19
19
|
"skills",
|
|
20
20
|
"prompts",
|
|
21
|
+
"assets",
|
|
21
22
|
"README.md",
|
|
22
23
|
"DOCUMENTATION.md",
|
|
23
24
|
"CHANGELOG.md",
|
|
25
|
+
"GALLERY.md",
|
|
24
26
|
"LICENSE"
|
|
25
27
|
],
|
|
26
28
|
"peerDependencies": {
|
|
@@ -29,6 +31,8 @@
|
|
|
29
31
|
"pi": {
|
|
30
32
|
"extensions": ["extensions"],
|
|
31
33
|
"skills": ["skills"],
|
|
32
|
-
"prompts": ["prompts"]
|
|
34
|
+
"prompts": ["prompts"],
|
|
35
|
+
"video": "https://unpkg.com/pi-loop-mode@2.5.1/assets/pi-loop-mode-demo.mp4",
|
|
36
|
+
"image": "https://unpkg.com/pi-loop-mode@2.5.1/assets/pi-loop-mode-preview.png"
|
|
33
37
|
}
|
|
34
38
|
}
|