@simpleplatform/sdk 1.0.2 → 1.0.4

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.
package/dist/ai.d.ts CHANGED
@@ -80,7 +80,7 @@ export interface AICommonOptions {
80
80
  prompt: string;
81
81
  /**
82
82
  * If true, forces the AI to provide a detailed, multi-step reasoning
83
- * process in the generated output. Defaults to false.
83
+ * process in the generated output. Defaults to true.
84
84
  */
85
85
  reasoning?: boolean;
86
86
  /**
package/dist/ai.js CHANGED
@@ -34,7 +34,7 @@ async function _uploadPendingFiles(obj, context) {
34
34
  * @internal
35
35
  */
36
36
  async function _executeAIOperation(operation, input, options, context) {
37
- const { model, prompt, reasoning, reasoningBudget, regenerate = false, systemPrompt, temperature, timeout, } = options;
37
+ const { model, prompt, reasoning = true, reasoningBudget, regenerate = false, systemPrompt, temperature, timeout, } = options;
38
38
  const processedInput = await _uploadPendingFiles(input, context);
39
39
  // 1. Construct the universal options payload for caching and execution.
40
40
  const universalOptions = {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Context, SimpleRequest, SimpleResponse } from './types';
2
1
  import './internal/global';
2
+ import type { Context, SimpleRequest, SimpleResponse } from './types';
3
3
  export * from './storage';
4
4
  export * from './types';
5
5
  /**
package/dist/index.js CHANGED
@@ -1,5 +1,6 @@
1
- import * as host from './host';
1
+ /* eslint-disable perfectionist/sort-imports */
2
2
  import './internal/global';
3
+ import * as host from './host';
3
4
  export * from './storage';
4
5
  export * from './types';
5
6
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simpleplatform/sdk",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "description": "Simple Platform Typescript SDK",
5
5
  "license": "Apache-2.0",
6
6
  "homepage": "https://docs.simple.dev",
@@ -64,7 +64,7 @@
64
64
  "esbuild": "0.27.2"
65
65
  },
66
66
  "devDependencies": {
67
- "@types/node": "25.0.5",
67
+ "@types/node": "25.2.0",
68
68
  "typescript": "5.9.3"
69
69
  },
70
70
  "scripts": {