Skip to content

Commit dd85454

Browse files
committed
Fixes in composer.json
1 parent 8243ace commit dd85454

File tree

6 files changed

+16
-218
lines changed

6 files changed

+16
-218
lines changed

bin/composer-update-all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ set -e # stops script on first error
44
for dir in packages/*; do
55
if [ -f "$dir/composer.json" ]; then
66
echo "🔍 Updating dependencies in $dir"
7-
composer --working-dir="$dir" update --no-scripts --no-progress
7+
composer --working-dir="$dir" update --no-scripts --no-progress -W
88
fi
99
done

docs/release-notes/v1.0.0-RC6.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
- Corrected dependencies in composer.json files.
2+
- Corrected naming scheme for the release candidate (rc -> RC) to make Packagist happy.

packages/addons/composer.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,12 @@
3131
"php": "^8.2",
3232
"ext-fileinfo": "*",
3333
"ext-libxml": "*",
34-
"cognesy/instructor-utils": "^1.0",
35-
"cognesy/instructor-struct": "^1.0"
34+
"cognesy/instructor-utils": "^1.0"
3635
},
3736
"require-dev": {
37+
"cognesy/instructor-polyglot": "^1.0",
38+
"cognesy/instructor-schema": "^1.0",
39+
"cognesy/instructor-struct": "^1.0",
3840
"roave/security-advisories": "dev-latest",
3941
"icanhazstring/composer-unused": "^0.9.0",
4042
"jetbrains/phpstorm-attributes": "^1.2",
@@ -49,8 +51,10 @@
4951
"psalm": "@php vendor/bin/psalm"
5052
},
5153
"suggest": {
52-
"cognesy/instructor-struct": "Some addons need Instructor core library - e.g. Image class",
53-
"cognesy/instructor-polyglot": "Some addones can be used with Instructor Polyglot library - e.g. Chat, Evals, FunctionCall, ToolUse"
54+
"cognesy/instructor-schema": "Support for Instructor Schema - default",
55+
"cognesy/instructor-schema-v6": "Support for Instructor Schema - if you need Symfony 6 compatibility",
56+
"cognesy/instructor-struct": "Some addons need Instructor structured outputs package - e.g. Image class",
57+
"cognesy/instructor-polyglot": "Some addones should be used with Polyglot package - e.g. Chat, Evals, FunctionCall, ToolUse"
5458
},
5559
"config": {
5660
"allow-plugins": {

packages/http-client/composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"cognesy/instructor-config": "^1.0",
1919
"cognesy/instructor-events": "^1.0",
2020
"cognesy/instructor-utils": "^1.0",
21-
"cognesy/setup": "^0.17"
21+
"cognesy/instructor-setup": "^1.0"
2222
},
2323
"require-dev": {
2424
"roave/security-advisories": "dev-latest",

packages/instructor/composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@
5050
},
5151
"require": {
5252
"php": "^8.2",
53-
"cognesy/instructor-addons": "^1.0",
5453
"cognesy/instructor-config": "^1.0",
54+
"cognesy/instructor-events": "^1.0",
5555
"cognesy/instructor-polyglot": "^1.0",
5656
"cognesy/instructor-setup": "^1.0",
5757
"cognesy/instructor-templates": "^1.0",
@@ -64,6 +64,8 @@
6464
"symfony/validator": "^6.4 || ^7.0"
6565
},
6666
"require-dev": {
67+
"cognesy/instructor-addons": "^1.0",
68+
"cognesy/instructor-schema": "^1.0",
6769
"roave/security-advisories": "dev-latest",
6870
"mockery/mockery": "^1.6",
6971
"icanhazstring/composer-unused": "^0.9.0",
@@ -74,6 +76,7 @@
7476
"vimeo/psalm": "^6.0"
7577
},
7678
"suggest": {
79+
"cognesy/instructor-addons": "Extra capabilities for Instructor and Polyglot packages",
7780
"cognesy/instructor-schema": "For Symfony 7+ schema validation and management",
7881
"cognesy/instructor-schema-v6": "For Symfony 6 schema validation and management"
7982
},

packages/polyglot/src/Inference/InferenceStream.php.bak

Lines changed: 0 additions & 211 deletions
This file was deleted.

0 commit comments

Comments
 (0)