pi-openai-toolkit 0.14.5 → 0.14.7

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.
Files changed (35) hide show
  1. package/docs/internals.md +42 -21
  2. package/package.json +1 -1
  3. package/src/auto-mode/classifier.ts +165 -165
  4. package/src/auto-mode/policy.ts +146 -146
  5. package/src/auto-mode/prompt.ts +279 -279
  6. package/src/auto-mode/reviewer.ts +325 -325
  7. package/src/auto-mode/transcript.ts +133 -133
  8. package/src/auto-mode/types.ts +137 -137
  9. package/src/codex-astra/effort-planner.ts +175 -175
  10. package/src/codex-astra/extension.ts +122 -122
  11. package/src/context-management/codex-provider.ts +20 -20
  12. package/src/context-management/history-notes.ts +32 -0
  13. package/src/context-management/messages.ts +112 -106
  14. package/src/context-management/namespace-tools.ts +426 -426
  15. package/src/context-management/tool-contract.ts +23 -23
  16. package/src/context-management/tools.ts +279 -311
  17. package/src/context-management/types.ts +7 -0
  18. package/src/context-management/window-budget.ts +83 -83
  19. package/src/context-management/window-manager.ts +60 -51
  20. package/src/context-management/window-request.ts +125 -125
  21. package/src/debug.ts +1 -1
  22. package/src/extension-runtime.ts +34 -9
  23. package/src/image-generation/artifacts.ts +237 -237
  24. package/src/image-generation/client.ts +248 -248
  25. package/src/image-generation/eligibility.ts +18 -18
  26. package/src/image-generation/references.ts +194 -194
  27. package/src/image-generation/render.ts +252 -252
  28. package/src/model-scope.ts +17 -17
  29. package/src/provider-headers.ts +23 -23
  30. package/src/responses-headers.ts +76 -11
  31. package/src/runtime.ts +37 -1
  32. package/src/web-search/extension.ts +80 -80
  33. package/src/web-search/payload.ts +96 -96
  34. package/src/web-search/prompt.ts +20 -20
  35. 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].";