Bläddra i källkod

#5406 AI Agents rewamp: add necessary libs

Aleksandr Trofimov 7 månader sedan
förälder
incheckning
6b086b4043
4 ändrade filer med 192 tillägg och 51 borttagningar
  1. 8 7
      composer.json
  2. 182 42
      composer.lock
  3. 1 1
      inc/classes/BxDolStorageS3.php
  4. 1 1
      inc/classes/BxDolStorageS3v4.php

+ 8 - 7
composer.json

@@ -1,5 +1,5 @@
 {
-    "name": "unaio/una",
+    "name": "unacms/una",
     "description": "UNA - Community Management System",
     "license": "MIT",
     "authors": [
@@ -17,12 +17,12 @@
     "repositories": [
         {
             "type": "vcs",
-            "url": "https://github.com/unaio/composer-cleanup-plugin.git",
+            "url": "https://github.com/unacms/composer-cleanup-plugin.git",
             "reference": "dev-master"
         },
         {
             "type": "vcs",
-            "url": "https://github.com/unaio/amazon-s3-php-class.git",
+            "url": "https://github.com/unacms/amazon-s3-php-class.git",
             "reference": "dev-master"
         },
         {
@@ -62,10 +62,10 @@
         {
             "type": "package",
             "package": {
-                "name": "unaio/amazon-s3-php-class-hmac-v2",
+                "name": "unacms/amazon-s3-php-class-hmac-v2",
                 "version": "0.6",
                 "source": {
-                    "url": "https://github.com/unaio/amazon-s3-php-class-hmac-v2",
+                    "url": "https://github.com/unacms/amazon-s3-php-class-hmac-v2",
                     "type": "git",
                     "reference": "3687dec0af7be2cb11f21828aa4b12d20c4c5935"
                 }
@@ -76,7 +76,7 @@
         "php": ">=8.1",
         "akeeba/s3": "dev-development",
         "achingbrain/php5-akismet": "0.5",
-        "unaio/amazon-s3-php-class-hmac-v2": "*",
+        "unacms/amazon-s3-php-class-hmac-v2": "*",
         "tpyo/amazon-s3-php-class": "dev-master",
         "snipe/banbuilder": "dev-master",
         "chargebee/chargebee-php": "^3.0",
@@ -97,7 +97,8 @@
         "mpratt/embera": "~2.0",
         "spatie/calendar-links": "^1.5",
         "pusher/pusher-php-server": "^7.2",
-        "enshrined/svg-sanitize": "^0.22.0"
+        "enshrined/svg-sanitize": "^0.22.0",
+        "neuron-core/neuron-ai": "^3.0"
     },
     "scripts": {
         "post-update-cmd": [

+ 182 - 42
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "8a32ee61ae0cfe2c507671e1337909ef",
+    "content-hash": "68b6047c0067273c8c350ae3b9f2ffa2",
     "packages": [
         {
             "name": "achingbrain/php5-akismet",
@@ -22,18 +22,18 @@
             "source": {
                 "type": "git",
                 "url": "https://github.com/akeeba/s3.git",
-                "reference": "f4f20122476b27ffa243f8a49aeaf7813cbc8932"
+                "reference": "6e251af705c5a61710b32f79bfb905483634c5fb"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/akeeba/s3/zipball/f4f20122476b27ffa243f8a49aeaf7813cbc8932",
-                "reference": "f4f20122476b27ffa243f8a49aeaf7813cbc8932",
+                "url": "https://api.github.com/repos/akeeba/s3/zipball/6e251af705c5a61710b32f79bfb905483634c5fb",
+                "reference": "6e251af705c5a61710b32f79bfb905483634c5fb",
                 "shasum": ""
             },
             "require": {
                 "ext-curl": "*",
                 "ext-simplexml": "*",
-                "php": ">=7.1.0 <8.4"
+                "php": "^7.4.0|^8.0"
             },
             "default-branch": true,
             "type": "library",
@@ -66,7 +66,7 @@
                 "issues": "https://github.com/akeeba/s3/issues",
                 "source": "https://github.com/akeeba/s3/tree/development"
             },
-            "time": "2025-01-06T14:29:07+00:00"
+            "time": "2026-01-02T10:38:05+00:00"
         },
         {
             "name": "avto-dev/composer-cleanup-plugin",
@@ -215,16 +215,16 @@
         },
         {
             "name": "chargebee/chargebee-php",
-            "version": "v3.45.0",
+            "version": "v3.51.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/chargebee/chargebee-php.git",
-                "reference": "183c1df738c3125bd8fc8dd1cb38a71a638eb433"
+                "reference": "34746cfc45f838f735c888b00803a874b821e77d"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/chargebee/chargebee-php/zipball/183c1df738c3125bd8fc8dd1cb38a71a638eb433",
-                "reference": "183c1df738c3125bd8fc8dd1cb38a71a638eb433",
+                "url": "https://api.github.com/repos/chargebee/chargebee-php/zipball/34746cfc45f838f735c888b00803a874b821e77d",
+                "reference": "34746cfc45f838f735c888b00803a874b821e77d",
                 "shasum": ""
             },
             "require": {
@@ -258,9 +258,9 @@
             ],
             "support": {
                 "issues": "https://github.com/chargebee/chargebee-php/issues",
-                "source": "https://github.com/chargebee/chargebee-php/tree/v3.45.0"
+                "source": "https://github.com/chargebee/chargebee-php/tree/v3.51.0"
             },
-            "time": "2025-07-21T13:15:39+00:00"
+            "time": "2025-12-30T09:20:13+00:00"
         },
         {
             "name": "curl/cacert",
@@ -322,20 +322,20 @@
             "source": {
                 "type": "git",
                 "url": "https://github.com/erusev/parsedown.git",
-                "reference": "5b74b74145aa14653d3285d793cf7fa817b3f7e7"
+                "reference": "4e433a8d57078645b55d21fd12c887d3ba6ca01e"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/erusev/parsedown/zipball/5b74b74145aa14653d3285d793cf7fa817b3f7e7",
-                "reference": "5b74b74145aa14653d3285d793cf7fa817b3f7e7",
+                "url": "https://api.github.com/repos/erusev/parsedown/zipball/4e433a8d57078645b55d21fd12c887d3ba6ca01e",
+                "reference": "4e433a8d57078645b55d21fd12c887d3ba6ca01e",
                 "shasum": ""
             },
             "require": {
                 "ext-mbstring": "*",
-                "php": ">=7.1"
+                "php": ">=7.2"
             },
             "require-dev": {
-                "phpunit/phpunit": "^7.5|^8.5|^9.6"
+                "phpunit/phpunit": "^8.5.52|^9.6.33"
             },
             "default-branch": true,
             "type": "library",
@@ -365,7 +365,13 @@
                 "issues": "https://github.com/erusev/parsedown/issues",
                 "source": "https://github.com/erusev/parsedown/tree/master"
             },
-            "time": "2025-06-05T05:59:58+00:00"
+            "funding": [
+                {
+                    "url": "https://github.com/erusev",
+                    "type": "github"
+                }
+            ],
+            "time": "2026-02-18T15:50:20+00:00"
         },
         {
             "name": "ezyang/htmlpurifier",
@@ -439,22 +445,22 @@
         },
         {
             "name": "guzzlehttp/guzzle",
-            "version": "7.9.3",
+            "version": "7.10.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/guzzle/guzzle.git",
-                "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77"
+                "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/guzzle/guzzle/zipball/7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
-                "reference": "7b2f29fe81dc4da0ca0ea7d42107a0845946ea77",
+                "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b51ac707cfa420b7bfd4e4d5e510ba8008e822b4",
+                "reference": "b51ac707cfa420b7bfd4e4d5e510ba8008e822b4",
                 "shasum": ""
             },
             "require": {
                 "ext-json": "*",
-                "guzzlehttp/promises": "^1.5.3 || ^2.0.3",
-                "guzzlehttp/psr7": "^2.7.0",
+                "guzzlehttp/promises": "^2.3",
+                "guzzlehttp/psr7": "^2.8",
                 "php": "^7.2.5 || ^8.0",
                 "psr/http-client": "^1.0",
                 "symfony/deprecation-contracts": "^2.2 || ^3.0"
@@ -545,7 +551,7 @@
             ],
             "support": {
                 "issues": "https://github.com/guzzle/guzzle/issues",
-                "source": "https://github.com/guzzle/guzzle/tree/7.9.3"
+                "source": "https://github.com/guzzle/guzzle/tree/7.10.0"
             },
             "funding": [
                 {
@@ -561,20 +567,20 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2025-03-27T13:37:11+00:00"
+            "time": "2025-08-23T22:36:01+00:00"
         },
         {
             "name": "guzzlehttp/promises",
-            "version": "2.2.0",
+            "version": "2.3.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/guzzle/promises.git",
-                "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c"
+                "reference": "481557b130ef3790cf82b713667b43030dc9c957"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/guzzle/promises/zipball/7c69f28996b0a6920945dd20b3857e499d9ca96c",
-                "reference": "7c69f28996b0a6920945dd20b3857e499d9ca96c",
+                "url": "https://api.github.com/repos/guzzle/promises/zipball/481557b130ef3790cf82b713667b43030dc9c957",
+                "reference": "481557b130ef3790cf82b713667b43030dc9c957",
                 "shasum": ""
             },
             "require": {
@@ -582,7 +588,7 @@
             },
             "require-dev": {
                 "bamarni/composer-bin-plugin": "^1.8.2",
-                "phpunit/phpunit": "^8.5.39 || ^9.6.20"
+                "phpunit/phpunit": "^8.5.44 || ^9.6.25"
             },
             "type": "library",
             "extra": {
@@ -628,7 +634,7 @@
             ],
             "support": {
                 "issues": "https://github.com/guzzle/promises/issues",
-                "source": "https://github.com/guzzle/promises/tree/2.2.0"
+                "source": "https://github.com/guzzle/promises/tree/2.3.0"
             },
             "funding": [
                 {
@@ -644,20 +650,20 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2025-03-27T13:27:01+00:00"
+            "time": "2025-08-22T14:34:08+00:00"
         },
         {
             "name": "guzzlehttp/psr7",
-            "version": "2.7.1",
+            "version": "2.8.0",
             "source": {
                 "type": "git",
                 "url": "https://github.com/guzzle/psr7.git",
-                "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16"
+                "reference": "21dc724a0583619cd1652f673303492272778051"
             },
             "dist": {
                 "type": "zip",
-                "url": "https://api.github.com/repos/guzzle/psr7/zipball/c2270caaabe631b3b44c85f99e5a04bbb8060d16",
-                "reference": "c2270caaabe631b3b44c85f99e5a04bbb8060d16",
+                "url": "https://api.github.com/repos/guzzle/psr7/zipball/21dc724a0583619cd1652f673303492272778051",
+                "reference": "21dc724a0583619cd1652f673303492272778051",
                 "shasum": ""
             },
             "require": {
@@ -673,7 +679,7 @@
             "require-dev": {
                 "bamarni/composer-bin-plugin": "^1.8.2",
                 "http-interop/http-factory-tests": "0.9.0",
-                "phpunit/phpunit": "^8.5.39 || ^9.6.20"
+                "phpunit/phpunit": "^8.5.44 || ^9.6.25"
             },
             "suggest": {
                 "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
@@ -744,7 +750,7 @@
             ],
             "support": {
                 "issues": "https://github.com/guzzle/psr7/issues",
-                "source": "https://github.com/guzzle/psr7/tree/2.7.1"
+                "source": "https://github.com/guzzle/psr7/tree/2.8.0"
             },
             "funding": [
                 {
@@ -760,7 +766,69 @@
                     "type": "tidelift"
                 }
             ],
-            "time": "2025-03-27T12:30:47+00:00"
+            "time": "2025-08-23T21:21:41+00:00"
+        },
+        {
+            "name": "inspector-apm/inspector-php",
+            "version": "3.16.15",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/inspector-apm/inspector-php.git",
+                "reference": "38e76f5f6883745094d641f86a09001a1d7b5eea"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/inspector-apm/inspector-php/zipball/38e76f5f6883745094d641f86a09001a1d7b5eea",
+                "reference": "38e76f5f6883745094d641f86a09001a1d7b5eea",
+                "shasum": ""
+            },
+            "require": {
+                "php": "^8.1"
+            },
+            "require-dev": {
+                "ext-curl": "*",
+                "friendsofphp/php-cs-fixer": "^3.75",
+                "neuron-core/neuron-ai": "^2.8",
+                "phpstan/phpstan": "^2.1",
+                "phpunit/phpunit": "^9.0",
+                "rector/rector": "^2.2",
+                "tomasvotruba/type-coverage": "^2.0"
+            },
+            "type": "library",
+            "extra": {
+                "branch-alias": {
+                    "dev-master": "3.16.x-dev",
+                    "dev-develop": "3.16.x-dev"
+                }
+            },
+            "autoload": {
+                "psr-4": {
+                    "Inspector\\": "src/"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Valerio Barbera",
+                    "email": "valerio@inspector.dev"
+                }
+            ],
+            "description": "Inspector monitoring for PHP applications.",
+            "keywords": [
+                "inspector",
+                "monitoring",
+                "observability",
+                "php",
+                "telemetry"
+            ],
+            "support": {
+                "issues": "https://github.com/inspector-apm/inspector-php/issues",
+                "source": "https://github.com/inspector-apm/inspector-php/tree/3.16.15"
+            },
+            "time": "2026-02-26T11:18:52+00:00"
         },
         {
             "name": "intervention/image",
@@ -1111,6 +1179,78 @@
             ],
             "time": "2025-01-04T06:07:59+00:00"
         },
+        {
+            "name": "neuron-core/neuron-ai",
+            "version": "3.0.5",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/neuron-core/neuron-ai.git",
+                "reference": "f38592320a694851fffee5280d02854ab68a4ebd"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/neuron-core/neuron-ai/zipball/f38592320a694851fffee5280d02854ab68a4ebd",
+                "reference": "f38592320a694851fffee5280d02854ab68a4ebd",
+                "shasum": ""
+            },
+            "require": {
+                "guzzlehttp/guzzle": "^7.9",
+                "inspector-apm/inspector-php": "^3.16.12",
+                "php": "^8.1",
+                "psr/http-message": "^1.0|^2.0"
+            },
+            "require-dev": {
+                "amphp/amp": "^3.1.1",
+                "amphp/http-client": "^5.3",
+                "aws/aws-sdk-php": "^3.209",
+                "elasticsearch/elasticsearch": "^8.0",
+                "ext-pdo": "*",
+                "friendsofphp/php-cs-fixer": "^3.75",
+                "google/auth": "^1.49",
+                "html2text/html2text": "^4.3",
+                "illuminate/database": "^10.0|^11.0|^12.0",
+                "laudis/neo4j-php-client": "^3.4",
+                "opensearch-project/opensearch-php": "^2.5",
+                "phpstan/phpstan": "^2.1",
+                "phpunit/phpunit": "^9.0",
+                "rector/rector": "^2.0",
+                "spatie/fork": "^1.2",
+                "tomasvotruba/type-coverage": "^2.0",
+                "typesense/typesense-php": "^5.0",
+                "vlucas/phpdotenv": "^5.6"
+            },
+            "bin": [
+                "bin/neuron"
+            ],
+            "type": "library",
+            "autoload": {
+                "psr-4": {
+                    "NeuronAI\\": "src/"
+                }
+            },
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Valerio Barbera",
+                    "email": "valerio@inspector.dev"
+                }
+            ],
+            "description": "The PHP Agentic Framework.",
+            "support": {
+                "issues": "https://github.com/neuron-core/neuron-ai/issues",
+                "source": "https://github.com/neuron-core/neuron-ai/tree/3.0.5"
+            },
+            "funding": [
+                {
+                    "url": "https://github.com/neuron-core",
+                    "type": "github"
+                }
+            ],
+            "time": "2026-02-27T17:10:31+00:00"
+        },
         {
             "name": "paragonie/sodium_compat",
             "version": "v2.5.0",
@@ -2030,11 +2170,11 @@
             "time": "2026-02-18T08:25:57+00:00"
         },
         {
-            "name": "unaio/amazon-s3-php-class-hmac-v2",
+            "name": "unacms/amazon-s3-php-class-hmac-v2",
             "version": "0.6",
             "source": {
                 "type": "git",
-                "url": "https://github.com/unaio/amazon-s3-php-class-hmac-v2",
+                "url": "https://github.com/unacms/amazon-s3-php-class-hmac-v2",
                 "reference": "3687dec0af7be2cb11f21828aa4b12d20c4c5935"
             },
             "type": "library"

+ 1 - 1
inc/classes/BxDolStorageS3.php

@@ -42,7 +42,7 @@ class BxDolStorageS3 extends BxDolStorage
 
     protected function init ($aObject)
     {
-        require_once(BX_DIRECTORY_PATH_PLUGINS . 'unaio/amazon-s3-php-class-hmac-v2/S3.php');
+        require_once(BX_DIRECTORY_PATH_PLUGINS . 'unacms/amazon-s3-php-class-hmac-v2/S3.php');
         $this->_s3 = new S3(
             getParam('sys_storage_s3_access_key'), 
             getParam('sys_storage_s3_secret_key'), 

+ 1 - 1
inc/classes/BxDolStorageS3v4.php

@@ -15,7 +15,7 @@ class BxDolStorageS3v4 extends BxDolStorageS3
 {
     protected function init ($aObject)
     {
-        require_once(BX_DIRECTORY_PATH_PLUGINS . 'unaio/amazon-s3-php-class-hmac-v2/S3.php');
+        require_once(BX_DIRECTORY_PATH_PLUGINS . 'unacms/amazon-s3-php-class-hmac-v2/S3.php');
         require_once(BX_DIRECTORY_PATH_PLUGINS . 'tpyo/amazon-s3-php-class/S3.php'); // HMAC v4
         $this->_s3 = new S3v4\S3(
             getParam('sys_storage_s3_access_key'),