@mastra/client-js 0.10.1-alpha.1 → 0.10.1-alpha.2

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @mastra/client-js@0.10.1-alpha.1 build /home/runner/work/mastra/mastra/client-sdks/client-js
2
+ > @mastra/client-js@0.10.1-alpha.2 build /home/runner/work/mastra/mastra/client-sdks/client-js
3
3
  > tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -9,11 +9,11 @@
9
9
  CLI Cleaning output folder
10
10
  ESM Build start
11
11
  CJS Build start
12
- CJS dist/index.cjs 43.59 KB
13
- CJS ⚡️ Build success in 2008ms
14
12
  ESM dist/index.js 43.30 KB
15
- ESM ⚡️ Build success in 2014ms
13
+ ESM ⚡️ Build success in 1577ms
14
+ CJS dist/index.cjs 43.59 KB
15
+ CJS ⚡️ Build success in 1577ms
16
16
  DTS Build start
17
- DTS ⚡️ Build success in 15432ms
18
- DTS dist/index.d.ts 31.52 KB
19
- DTS dist/index.d.cts 31.52 KB
17
+ DTS ⚡️ Build success in 14357ms
18
+ DTS dist/index.d.ts 31.64 KB
19
+ DTS dist/index.d.cts 31.64 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @mastra/client-js
2
2
 
3
+ ## 0.10.1-alpha.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 6015bdf: Leverage defaultAgentStreamOption, defaultAgentGenerateOption in playground
8
+ - Updated dependencies [6015bdf]
9
+ - @mastra/core@0.10.1-alpha.2
10
+
3
11
  ## 0.10.1-alpha.1
4
12
 
5
13
  ### Patch Changes
package/dist/index.d.cts CHANGED
@@ -43,6 +43,8 @@ interface GetAgentResponse {
43
43
  workflows: Record<string, GetWorkflowResponse>;
44
44
  provider: string;
45
45
  modelId: string;
46
+ defaultGenerateOptions: WithoutMethods<AgentGenerateOptions>;
47
+ defaultStreamOptions: WithoutMethods<AgentStreamOptions>;
46
48
  }
47
49
  type GenerateParams<T extends JSONSchema7 | ZodSchema | undefined = undefined> = {
48
50
  messages: string | string[] | CoreMessage[] | AiMessageType[];
package/dist/index.d.ts CHANGED
@@ -43,6 +43,8 @@ interface GetAgentResponse {
43
43
  workflows: Record<string, GetWorkflowResponse>;
44
44
  provider: string;
45
45
  modelId: string;
46
+ defaultGenerateOptions: WithoutMethods<AgentGenerateOptions>;
47
+ defaultStreamOptions: WithoutMethods<AgentStreamOptions>;
46
48
  }
47
49
  type GenerateParams<T extends JSONSchema7 | ZodSchema | undefined = undefined> = {
48
50
  messages: string | string[] | CoreMessage[] | AiMessageType[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mastra/client-js",
3
- "version": "0.10.1-alpha.1",
3
+ "version": "0.10.1-alpha.2",
4
4
  "description": "The official TypeScript library for the Mastra Client API",
5
5
  "author": "",
6
6
  "type": "module",
@@ -43,7 +43,7 @@
43
43
  "typescript": "^5.8.2",
44
44
  "vitest": "^3.1.2",
45
45
  "@internal/lint": "0.0.6",
46
- "@mastra/core": "0.10.1-alpha.1"
46
+ "@mastra/core": "0.10.1-alpha.3"
47
47
  },
48
48
  "scripts": {
49
49
  "build": "tsup src/index.ts --format esm,cjs --dts --clean --treeshake=smallest --splitting",
package/src/types.ts CHANGED
@@ -60,6 +60,8 @@ export interface GetAgentResponse {
60
60
  workflows: Record<string, GetWorkflowResponse>;
61
61
  provider: string;
62
62
  modelId: string;
63
+ defaultGenerateOptions: WithoutMethods<AgentGenerateOptions>;
64
+ defaultStreamOptions: WithoutMethods<AgentStreamOptions>;
63
65
  }
64
66
 
65
67
  export type GenerateParams<T extends JSONSchema7 | ZodSchema | undefined = undefined> = {