pi-openai-toolkit 0.14.5 → 0.14.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/docs/internals.md +42 -21
- package/package.json +1 -1
- package/src/auto-mode/classifier.ts +165 -165
- package/src/auto-mode/policy.ts +146 -146
- package/src/auto-mode/prompt.ts +279 -279
- package/src/auto-mode/reviewer.ts +325 -325
- package/src/auto-mode/transcript.ts +133 -133
- package/src/auto-mode/types.ts +137 -137
- package/src/codex-astra/effort-planner.ts +175 -175
- package/src/codex-astra/extension.ts +122 -122
- package/src/context-management/codex-provider.ts +20 -20
- package/src/context-management/history-notes.ts +32 -0
- package/src/context-management/messages.ts +112 -106
- package/src/context-management/namespace-tools.ts +426 -426
- package/src/context-management/tool-contract.ts +23 -23
- package/src/context-management/tools.ts +306 -311
- package/src/context-management/types.ts +7 -0
- package/src/context-management/window-budget.ts +83 -83
- package/src/context-management/window-manager.ts +60 -51
- package/src/context-management/window-request.ts +125 -125
- package/src/debug.ts +1 -1
- package/src/extension-runtime.ts +34 -9
- package/src/image-generation/artifacts.ts +237 -237
- package/src/image-generation/client.ts +248 -248
- package/src/image-generation/eligibility.ts +18 -18
- package/src/image-generation/references.ts +194 -194
- package/src/image-generation/render.ts +252 -252
- package/src/model-scope.ts +17 -17
- package/src/provider-headers.ts +23 -23
- package/src/responses-headers.ts +76 -11
- package/src/runtime.ts +37 -1
- package/src/web-search/extension.ts +80 -80
- package/src/web-search/payload.ts +96 -96
- package/src/web-search/prompt.ts +20 -20
- package/src/web-search/types.ts +45 -45
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export const HISTORY_ACTIONS = [
|
|
2
|
-
"list_windows",
|
|
3
|
-
"list_items",
|
|
4
|
-
"read_item",
|
|
5
|
-
"search_contents",
|
|
6
|
-
] as const;
|
|
7
|
-
|
|
8
|
-
export const NOTES_ACTIONS = [
|
|
9
|
-
"list_files_by_prefix",
|
|
10
|
-
"read_file",
|
|
11
|
-
"search_contents",
|
|
12
|
-
"append_to_file",
|
|
13
|
-
"write_file",
|
|
14
|
-
] as const;
|
|
15
|
-
|
|
16
|
-
export type HistoryAction = (typeof HISTORY_ACTIONS)[number];
|
|
17
|
-
export type NotesAction = (typeof NOTES_ACTIONS)[number];
|
|
18
|
-
|
|
19
|
-
export const HISTORY_DESCRIPTION =
|
|
20
|
-
"Prior-window detail. Pass IDs unchanged. Search, never browse.";
|
|
21
|
-
|
|
22
|
-
export const NOTES_DESCRIPTION =
|
|
23
|
-
"Cross-window checkpoints on virtual paths. Relative uses current agent; cross-agent uses <agent>/notes[/path].";
|
|
1
|
+
export const HISTORY_ACTIONS = [
|
|
2
|
+
"list_windows",
|
|
3
|
+
"list_items",
|
|
4
|
+
"read_item",
|
|
5
|
+
"search_contents",
|
|
6
|
+
] as const;
|
|
7
|
+
|
|
8
|
+
export const NOTES_ACTIONS = [
|
|
9
|
+
"list_files_by_prefix",
|
|
10
|
+
"read_file",
|
|
11
|
+
"search_contents",
|
|
12
|
+
"append_to_file",
|
|
13
|
+
"write_file",
|
|
14
|
+
] as const;
|
|
15
|
+
|
|
16
|
+
export type HistoryAction = (typeof HISTORY_ACTIONS)[number];
|
|
17
|
+
export type NotesAction = (typeof NOTES_ACTIONS)[number];
|
|
18
|
+
|
|
19
|
+
export const HISTORY_DESCRIPTION =
|
|
20
|
+
"Prior-window detail. Pass IDs unchanged. Search, never browse.";
|
|
21
|
+
|
|
22
|
+
export const NOTES_DESCRIPTION =
|
|
23
|
+
"Cross-window checkpoints on virtual paths. Relative uses current agent; cross-agent uses <agent>/notes[/path].";
|