@recombine-ai/engine 0.8.8 → 0.9.0

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 +1 @@
1
- {"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../src/lib/llm-adapters/openai.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAA;AAClF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIvC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,8BAA8B,EAAE,UAAU,GAAG,QAAQ,CAAC,CAAA;AAE3F,MAAM,MAAM,iBAAiB,GAAG;IAC5B,YAAY,EAAE;QAAE,QAAQ,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;KAAE,CAAA;CAC3D,CAAA;AAID,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,iBAAiB,GACxB,UAAU,CA8CZ"}
1
+ {"version":3,"file":"openai.d.ts","sourceRoot":"","sources":["../../../src/lib/llm-adapters/openai.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,8BAA8B,EAAE,MAAM,mCAAmC,CAAA;AAClF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAIvC,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,8BAA8B,EAAE,UAAU,GAAG,QAAQ,CAAC,CAAA;AAE3F,MAAM,MAAM,iBAAiB,GAAG;IAC5B,YAAY,EAAE;QAAE,QAAQ,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAAA;KAAE,CAAA;CAC3D,CAAA;AAID,wBAAgB,mBAAmB,CAC/B,OAAO,EAAE,iBAAiB,EAC1B,IAAI,EAAE,iBAAiB,GACxB,UAAU,CA+CZ"}
@@ -18,6 +18,7 @@ function createOpenAIAdapter(options, auth) {
18
18
  json_schema: {
19
19
  name: 'detector_response',
20
20
  schema: (0, zod_to_json_schema_1.default)(schema),
21
+ strict: true,
21
22
  },
22
23
  };
23
24
  }
package/changelog.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ### 0.8.8 → 0.9.0 (unstable)
4
+
5
+ - All OpenAI structured outputs calls are now strict by default
6
+
3
7
  ### 0.8.7 → 0.8.8 (unstable)
4
8
 
5
9
  - Better logging for structured response parsing errors
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@recombine-ai/engine",
3
- "version": "0.8.8",
3
+ "version": "0.9.0",
4
4
  "description": "Recombine AI engine for creating conversational AI agents",
5
5
  "repository": {
6
6
  "url": "https://github.com/recombine-ai/engine"
package/readme.md CHANGED
@@ -114,7 +114,8 @@ To contribute to this project, you'll need to set up your local development envi
114
114
  npm install
115
115
  ```
116
116
 
117
- This project uses `npm` as its package manager. If you don't have it installed, you can install it with:
117
+ This project uses `npm` as its package manager. If you don't have it installed, you can install
118
+ it with:
118
119
 
119
120
  ```sh
120
121
  npm install -g npm
@@ -122,10 +123,13 @@ To contribute to this project, you'll need to set up your local development envi
122
123
 
123
124
  2. **Set up Git hooks with Husky:**
124
125
 
125
- Git hooks are automatically installed when you run `npm install` (via the `prepare` script). The project uses Husky to manage the following Git hooks:
126
- - **`pre-commit`**: Runs `lint-staged` to format and lint only staged files using Prettier and ESLint
126
+ Git hooks are automatically installed when you run `npm install` (via the `prepare` script). The
127
+ project uses Husky to manage the following Git hooks:
128
+ - **`pre-commit`**: Runs `lint-staged` to format and lint only staged files using Prettier and
129
+ ESLint
127
130
  - **`pre-push`**: Runs TypeScript type checking to ensure no type errors before pushing
128
- - **`post-merge`**: Automatically runs `npm install` if `package.json` or `npm.yaml` changed after a merge
131
+ - **`post-merge`**: Automatically runs `npm install` if `package.json` or `npm.yaml` changed
132
+ after a merge
129
133
 
130
134
  ### Available Scripts
131
135
 
@@ -147,3 +151,16 @@ The project maintains code quality through:
147
151
  - **Prettier** for consistent code formatting
148
152
  - **Vitest** for testing
149
153
  - **Husky + lint-staged** for automated pre-commit checks
154
+
155
+ ### Publishing
156
+
157
+ To publish the package, on your machine in **main** branch run following sequence of commands:
158
+
159
+ ```sh
160
+ npm version patch # or minor, or major – this updates package.json and package-lock.json with new version
161
+ git push # push commit with new version
162
+ git push --tags # push tags, this will trigger publishing workflow
163
+ ```
164
+
165
+ > **NOTE:** To publish the package, you must be in [Recombine AI](https://github.com/recombine-ai)
166
+ > GitHub organization.