pi-openai-toolkit 0.20.1 → 0.20.2
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
|
@@ -119,6 +119,7 @@ export function createContextManagementTools(
|
|
|
119
119
|
label: "new_context",
|
|
120
120
|
description: "Start a new remote Codex context window without generating a conversation summary. Requires a persisted successful notes checkpoint in the current window.",
|
|
121
121
|
parameters: NEW_CONTEXT_PARAMETERS,
|
|
122
|
+
exposure: "direct",
|
|
122
123
|
promptSnippet: "Start a new remote Codex context window without summarizing history.",
|
|
123
124
|
promptGuidelines: [
|
|
124
125
|
"Before this new_context call, checkpoint active work in notes; only a persisted successful notes append/write in the current window unlocks this rollover, and no conversation summary carries over.",
|
|
@@ -169,6 +170,7 @@ export function createContextManagementTools(
|
|
|
169
170
|
label: "get_context_remaining",
|
|
170
171
|
description: "Get the remaining tokens in the current remote Codex context window.",
|
|
171
172
|
parameters: EMPTY_PARAMETERS,
|
|
173
|
+
exposure: "direct",
|
|
172
174
|
async execute(_id, _params, _signal, _update, ctx) {
|
|
173
175
|
await assertActive(ctx);
|
|
174
176
|
const remaining = manager.remaining(ctx);
|
|
@@ -183,6 +185,7 @@ export function createContextManagementTools(
|
|
|
183
185
|
label: "history",
|
|
184
186
|
description: "Search or read prior remote Codex context-window history. Pass IDs unchanged.",
|
|
185
187
|
parameters: HISTORY_PARAMETERS,
|
|
188
|
+
exposure: "direct",
|
|
186
189
|
promptSnippet: "Search or read prior remote Codex context-window history.",
|
|
187
190
|
promptGuidelines: [
|
|
188
191
|
"When the user asks about decisions, code, or details from earlier in the conversation that are no longer in the current context window, use history first instead of relying on fragments that survived compaction.",
|
|
@@ -201,6 +204,7 @@ export function createContextManagementTools(
|
|
|
201
204
|
label: "notes",
|
|
202
205
|
description: "Read and checkpoint remote Codex notes across context windows.",
|
|
203
206
|
parameters: NOTES_PARAMETERS,
|
|
207
|
+
exposure: "direct",
|
|
204
208
|
promptSnippet: "Read and checkpoint remote Codex notes across context windows.",
|
|
205
209
|
promptGuidelines: [
|
|
206
210
|
"Before calling new_context, checkpoint the current turn's active work (unfinished tasks, decisions, open questions, references) into notes with append_to_file or write_file so it survives the window change; wait for that result to be persisted before calling new_context.",
|