@oh-my-pi/pi-ai 17.2.6 → 17.2.8

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 (31) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/types/auth-broker/client.d.ts +7 -0
  3. package/dist/types/auth-broker/server.d.ts +11 -0
  4. package/dist/types/auth-broker/wire-schema-resource.d.ts +1 -1
  5. package/dist/types/auth-broker/wire-schemas.d.ts +4 -2
  6. package/dist/types/index.d.ts +1 -1
  7. package/dist/types/providers/anthropic-messages-server-schema.d.ts +695 -255
  8. package/dist/types/providers/openai-chat-server-schema.d.ts +909 -293
  9. package/dist/types/providers/openai-responses-server-schema.d.ts +980 -353
  10. package/dist/types/types.d.ts +8 -5
  11. package/dist/types/usage.d.ts +152 -46
  12. package/dist/types/utils/schema/wire.d.ts +1 -1
  13. package/dist/types/utils/validation.d.ts +24 -0
  14. package/package.json +5 -5
  15. package/src/auth-broker/client.ts +2 -1
  16. package/src/auth-broker/server.ts +2 -1
  17. package/src/auth-broker/wire-schema-resource.ts +1 -6
  18. package/src/index.ts +1 -1
  19. package/src/providers/anthropic-messages-server-schema.ts +1 -1
  20. package/src/providers/anthropic-messages-server.ts +1 -1
  21. package/src/providers/cursor.ts +31 -3
  22. package/src/providers/google-gemini-cli.ts +1 -1
  23. package/src/providers/openai-chat-server-schema.ts +1 -1
  24. package/src/providers/openai-chat-server.ts +1 -1
  25. package/src/providers/openai-codex-responses.ts +1 -1
  26. package/src/providers/openai-responses-server-schema.ts +1 -1
  27. package/src/providers/openai-responses-server.ts +1 -1
  28. package/src/types.ts +9 -6
  29. package/src/usage.ts +1 -1
  30. package/src/utils/schema/wire.ts +1 -1
  31. package/src/utils/validation.ts +2 -1
@@ -22,8 +22,9 @@
22
22
  * keeps the schema in charge of acceptance — we never invent values, only
23
23
  * massage shapes the LLM almost got right.
24
24
  */
25
+
26
+ import { type Type, type } from "@oh-my-pi/omptype";
25
27
  import { structuredCloneJSON } from "@oh-my-pi/pi-utils";
26
- import { type Type, type } from "arktype";
27
28
  import type { ZodType } from "zod/v4";
28
29
  import type { $ZodIssue as ZodIssue } from "zod/v4/core";
29
30
  import * as AIError from "../error";