@howaboua/pi-codex-conversion 1.5.6-dev.28.300a94c → 1.5.6
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
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const COMPACTION_ITEM_TYPES = new Set(["compaction", "compaction_summary"]);
|
|
1
|
+
const COMPACTION_ITEM_TYPES = new Set(["compaction", "compaction_summary", "context_compaction"]);
|
|
2
2
|
|
|
3
3
|
function isRecord(value: unknown): value is Record<string, unknown> {
|
|
4
4
|
return !!value && typeof value === "object" && !Array.isArray(value);
|
package/src/index.ts
CHANGED
|
@@ -139,7 +139,7 @@ export default function codexConversion(pi: ExtensionAPI) {
|
|
|
139
139
|
if (!shouldUseCodexAdapter(ctx, state.config)) {
|
|
140
140
|
return undefined;
|
|
141
141
|
}
|
|
142
|
-
const skills = hasNoSkillsFlag() ? [] :
|
|
142
|
+
const skills = resolvePromptSkills(event.systemPromptOptions?.skills, hasNoSkillsFlag() ? [] : state.promptSkills);
|
|
143
143
|
return {
|
|
144
144
|
systemPrompt: buildCodexSystemPrompt(event.systemPrompt, {
|
|
145
145
|
skills,
|
|
Binary file
|
|
Binary file
|