ai 5.0.0-canary.0 → 5.0.0-canary.10

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 (52) hide show
  1. package/CHANGELOG.md +152 -0
  2. package/dist/index.d.mts +1478 -793
  3. package/dist/index.d.ts +1478 -793
  4. package/dist/index.js +2609 -780
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.mjs +2484 -692
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/internal/index.d.mts +730 -0
  9. package/dist/internal/index.d.ts +730 -0
  10. package/dist/internal/index.js +1482 -0
  11. package/dist/internal/index.js.map +1 -0
  12. package/{rsc/dist/rsc-server.mjs → dist/internal/index.mjs} +855 -1555
  13. package/dist/internal/index.mjs.map +1 -0
  14. package/{mcp-stdio/dist → dist/mcp-stdio}/index.js +1 -1
  15. package/dist/mcp-stdio/index.js.map +1 -0
  16. package/{mcp-stdio/dist → dist/mcp-stdio}/index.mjs +1 -1
  17. package/dist/mcp-stdio/index.mjs.map +1 -0
  18. package/{test/dist → dist/test}/index.d.mts +32 -30
  19. package/{test/dist → dist/test}/index.d.ts +32 -30
  20. package/{test/dist → dist/test}/index.js +32 -12
  21. package/dist/test/index.js.map +1 -0
  22. package/{test/dist → dist/test}/index.mjs +30 -10
  23. package/dist/test/index.mjs.map +1 -0
  24. package/package.json +28 -56
  25. package/mcp-stdio/create-child-process.test.ts +0 -92
  26. package/mcp-stdio/create-child-process.ts +0 -21
  27. package/mcp-stdio/dist/index.js.map +0 -1
  28. package/mcp-stdio/dist/index.mjs.map +0 -1
  29. package/mcp-stdio/get-environment.ts +0 -43
  30. package/mcp-stdio/index.ts +0 -4
  31. package/mcp-stdio/mcp-stdio-transport.test.ts +0 -262
  32. package/mcp-stdio/mcp-stdio-transport.ts +0 -157
  33. package/react/dist/index.d.mts +0 -18
  34. package/react/dist/index.d.ts +0 -18
  35. package/react/dist/index.js +0 -39
  36. package/react/dist/index.js.map +0 -1
  37. package/react/dist/index.mjs +0 -17
  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.map +0 -1
  46. package/rsc/dist/rsc-shared.d.mts +0 -101
  47. package/rsc/dist/rsc-shared.mjs +0 -308
  48. package/rsc/dist/rsc-shared.mjs.map +0 -1
  49. package/test/dist/index.js.map +0 -1
  50. package/test/dist/index.mjs.map +0 -1
  51. package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.mts +6 -6
  52. package/{mcp-stdio/dist → dist/mcp-stdio}/index.d.ts +6 -6
@@ -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":[]}