@oh-my-pi/pi-agent-core 17.2.13 → 17.2.15
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/package.json +8 -8
- package/src/compaction/prompts/branch-summary-context.md +1 -1
- package/src/compaction/prompts/branch-summary-preamble.md +2 -2
- package/src/compaction/prompts/compaction-short-summary.md +3 -9
- package/src/compaction/prompts/compaction-summary-context.md +2 -1
- package/src/compaction/prompts/compaction-turn-prefix.md +4 -4
- package/src/compaction/prompts/compaction-update-summary.md +15 -16
- package/src/compaction/prompts/context-window-truncated-output.md +1 -1
- package/src/compaction/prompts/summarization-system.md +2 -2
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "@oh-my-pi/pi-agent-core",
|
|
4
|
-
"version": "17.2.
|
|
4
|
+
"version": "17.2.15",
|
|
5
5
|
"description": "General-purpose agent with transport abstraction, state management, and attachment support",
|
|
6
6
|
"homepage": "https://omp.sh",
|
|
7
7
|
"author": "Can Boluk",
|
|
@@ -35,16 +35,16 @@
|
|
|
35
35
|
"fmt": "biome format --write ."
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@oh-my-pi/pi-ai": "17.2.
|
|
39
|
-
"@oh-my-pi/pi-catalog": "17.2.
|
|
40
|
-
"@oh-my-pi/pi-natives": "17.2.
|
|
41
|
-
"@oh-my-pi/pi-utils": "17.2.
|
|
42
|
-
"@oh-my-pi/pi-wire": "17.2.
|
|
43
|
-
"@oh-my-pi/snapcompact": "17.2.
|
|
38
|
+
"@oh-my-pi/pi-ai": "17.2.15",
|
|
39
|
+
"@oh-my-pi/pi-catalog": "17.2.15",
|
|
40
|
+
"@oh-my-pi/pi-natives": "17.2.15",
|
|
41
|
+
"@oh-my-pi/pi-utils": "17.2.15",
|
|
42
|
+
"@oh-my-pi/pi-wire": "17.2.15",
|
|
43
|
+
"@oh-my-pi/snapcompact": "17.2.15",
|
|
44
44
|
"@opentelemetry/api": "^1.9.1"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@oh-my-pi/omptype": "17.2.
|
|
47
|
+
"@oh-my-pi/omptype": "17.2.15",
|
|
48
48
|
"@opentelemetry/context-async-hooks": "^2.9.0",
|
|
49
49
|
"@opentelemetry/sdk-trace-base": "^2.9.0",
|
|
50
50
|
"@types/bun": "^1.3.14"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
User explored another conversation branch, then returned here.
|
|
2
|
+
Exploration summary:
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
- MUST be 2-3 sentences max
|
|
5
|
-
- MUST describe the changes made, not the process
|
|
6
|
-
- NEVER mention running tests, builds, or other validation steps
|
|
7
|
-
- NEVER explain what the user asked for
|
|
8
|
-
- MUST write in first person (I added…, I fixed…)
|
|
9
|
-
- NEVER ask questions
|
|
1
|
+
Summarize conversation changes as a pull request description.
|
|
2
|
+
MUST 2–3 sentences; first person (`I added…`, `I fixed…`); describe changes, not process.
|
|
3
|
+
NEVER mention tests, builds, or other validation steps; explain user request; ask questions.
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
Prior model work/tool state available.
|
|
2
|
+
MUST build on prior work; NEVER duplicate prior work.
|
|
2
3
|
|
|
3
4
|
<summary>
|
|
4
5
|
{{summary}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Turn prefix too large; recent-work suffix retained.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
MUST summarize prefix for retained suffix:
|
|
4
4
|
|
|
5
5
|
## Original Request
|
|
6
6
|
|
|
@@ -12,6 +12,6 @@ You MUST summarize the prefix to provide context for the retained suffix:
|
|
|
12
12
|
## Context for Suffix
|
|
13
13
|
- [Information needed to understand the retained recent work]
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
MUST output only the structured summary; NEVER extra text.
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
MUST concise. MUST preserve exact file paths, function names, error messages, relevant tool outputs, and command results if present. MUST focus on information needed to understand the retained suffix.
|
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
Update existing handoff summary in <previous-summary> tags from new messages above for another LLM to resume.
|
|
2
|
+
|
|
3
|
+
MUST:
|
|
4
|
+
- preserve all previous-summary information; add new progress, decisions, context.
|
|
5
|
+
- Progress: move completed "In Progress" items to "Done".
|
|
6
|
+
- update "Next Steps" for completed work.
|
|
7
|
+
- preserve exact file paths, function names, error messages.
|
|
8
|
+
- MAY remove irrelevant content.
|
|
9
|
+
- If new messages end with an unanswered user question/request: add it to Critical Context; replace any previous pending question if answered.
|
|
10
|
+
- output only the structured summary; NEVER extra text.
|
|
11
|
+
- keep sections concise.
|
|
12
|
+
- preserve relevant tool outputs/command results.
|
|
13
|
+
- include mentioned repository state changes (branch, uncommitted changes).
|
|
14
|
+
|
|
15
|
+
Format (omit inapplicable sections):
|
|
13
16
|
|
|
14
17
|
## Goal
|
|
15
18
|
[Preserve existing goals; add new ones if task expanded]
|
|
@@ -39,7 +42,3 @@ You MUST use this format (omit sections if not applicable):
|
|
|
39
42
|
|
|
40
43
|
## Additional Notes
|
|
41
44
|
[Other important info not fitting above]
|
|
42
|
-
|
|
43
|
-
You MUST output only the structured summary; you NEVER include extra text.
|
|
44
|
-
|
|
45
|
-
Sections MUST be kept concise. You MUST preserve relevant tool outputs/command results. You MUST include repository state changes (branch, uncommitted changes) if mentioned.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
Output exceeded
|
|
1
|
+
Output: exceeded available model context → truncated.
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
Summarize
|
|
1
|
+
Summarize user–AI coding-assistant conversations in the exact specified structured format.
|
|
2
2
|
|
|
3
|
-
NEVER continue the conversation
|
|
3
|
+
NEVER continue the conversation or answer its questions. Output ONLY the structured summary.
|