ai 4.3.15 → 5.0.0-alpha.1

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 (53) hide show
  1. package/CHANGELOG.md +375 -64
  2. package/README.md +1 -1
  3. package/dist/index.d.mts +2952 -2673
  4. package/dist/index.d.ts +2952 -2673
  5. package/dist/index.js +4773 -4394
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +5254 -4878
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/internal/index.d.mts +467 -0
  10. package/dist/internal/index.d.ts +467 -0
  11. package/dist/internal/index.js +957 -0
  12. package/dist/internal/index.js.map +1 -0
  13. package/dist/internal/index.mjs +930 -0
  14. package/dist/internal/index.mjs.map +1 -0
  15. package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.mts +14 -14
  16. package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.ts +14 -14
  17. package/{mcp-stdio/dist → dist/mcp-stdio}/index.js +1 -4
  18. package/dist/mcp-stdio/index.js.map +1 -0
  19. package/{mcp-stdio/dist → dist/mcp-stdio}/index.mjs +1 -16
  20. package/dist/mcp-stdio/index.mjs.map +1 -0
  21. package/dist/test/index.d.mts +64 -0
  22. package/dist/test/index.d.ts +64 -0
  23. package/{test/dist → dist/test}/index.js +43 -20
  24. package/dist/test/index.js.map +1 -0
  25. package/{test/dist → dist/test}/index.mjs +41 -18
  26. package/dist/test/index.mjs.map +1 -0
  27. package/internal.d.ts +1 -0
  28. package/mcp-stdio.d.ts +1 -0
  29. package/package.json +32 -58
  30. package/test.d.ts +1 -0
  31. package/mcp-stdio/dist/index.js.map +0 -1
  32. package/mcp-stdio/dist/index.mjs.map +0 -1
  33. package/react/dist/index.d.mts +0 -22
  34. package/react/dist/index.d.ts +0 -22
  35. package/react/dist/index.js +0 -42
  36. package/react/dist/index.js.map +0 -1
  37. package/react/dist/index.mjs +0 -20
  38. package/react/dist/index.mjs.map +0 -1
  39. package/rsc/dist/index.d.ts +0 -813
  40. package/rsc/dist/index.mjs +0 -18
  41. package/rsc/dist/rsc-client.d.mts +0 -1
  42. package/rsc/dist/rsc-client.mjs +0 -18
  43. package/rsc/dist/rsc-client.mjs.map +0 -1
  44. package/rsc/dist/rsc-server.d.mts +0 -748
  45. package/rsc/dist/rsc-server.mjs +0 -2174
  46. package/rsc/dist/rsc-server.mjs.map +0 -1
  47. package/rsc/dist/rsc-shared.d.mts +0 -101
  48. package/rsc/dist/rsc-shared.mjs +0 -308
  49. package/rsc/dist/rsc-shared.mjs.map +0 -1
  50. package/test/dist/index.d.mts +0 -65
  51. package/test/dist/index.d.ts +0 -65
  52. package/test/dist/index.js.map +0 -1
  53. package/test/dist/index.mjs.map +0 -1
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from === "object" || typeof from === "function") {
8
- for (let key of __getOwnPropNames(from))
9
- if (!__hasOwnProp.call(to, key) && key !== except)
10
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
- }
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
-
16
- // rsc/index.ts
17
- var rsc_exports = {};
18
- module.exports = __toCommonJS(rsc_exports);
@@ -1 +0,0 @@
1
- export { readStreamableValue, useAIState, useActions, useStreamableValue, useSyncUIState, useUIState } from './rsc-shared.mjs';
@@ -1,18 +0,0 @@
1
- // rsc/rsc-client.ts
2
- import {
3
- readStreamableValue,
4
- useStreamableValue,
5
- useUIState,
6
- useAIState,
7
- useActions,
8
- useSyncUIState
9
- } from "./rsc-shared.mjs";
10
- export {
11
- readStreamableValue,
12
- useAIState,
13
- useActions,
14
- useStreamableValue,
15
- useSyncUIState,
16
- useUIState
17
- };
18
- //# sourceMappingURL=rsc-client.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../rsc-client.ts"],"sourcesContent":["export {\n readStreamableValue,\n useStreamableValue,\n useUIState,\n useAIState,\n useActions,\n useSyncUIState,\n} from './rsc-shared.mjs';\n"],"mappings":";AAAA;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}